1#------------------------------------------------------------------------------ 2# 3# Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> 4# 5# SPDX-License-Identifier: BSD-2-Clause-Patent 6# 7#------------------------------------------------------------------------------ 8 9#include <AsmMacroIoLib.h> 10 11ASM_FUNC(__umoddi3) 12 stmfd sp!, {r7, lr} 13 add r7, sp, #0 14 sub sp, sp, #16 15 add ip, sp, #8 16 str ip, [sp, #0] 17 bl ASM_PFX(__udivmoddi4) 18 ldrd r0, [sp, #8] 19 sub sp, r7, #0 20 ldmfd sp!, {r7, pc} 21 22