	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_mod                     ## -- Begin function mp_int_mod
	.p2align	4, 0x90
_mp_int_mod:                            ## @mp_int_mod
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movl	%edi, %r12d
	movl	$1, %edi
	callq	_DECLARE_TEMP
	movl	%r15d, %ebx
	cmpl	%r15d, %r14d
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	callq	_TEMP
	movl	%eax, %ebx
LBB0_2:
	movl	%r12d, %edi
	movl	%r14d, %esi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_mp_int_div
	movl	%eax, %edi
	callq	_REQUIRE
	movl	%ebx, %edi
	callq	_CMPZ
	movl	%ebx, %edi
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movl	%r15d, %esi
	callq	_mp_int_copy
	jmp	LBB0_5
LBB0_3:
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_mp_int_add
LBB0_5:
	movl	%eax, %edi
	callq	_REQUIRE
	xorl	%eax, %eax
	callq	_CLEANUP_TEMP
	movq	_MP_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MP_OK,4,2                      ## @MP_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_mod                     ; -- Begin function mp_int_mod
	.p2align	2
_mp_int_mod:                            ; @mp_int_mod
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	mov	w0, #1
	bl	_DECLARE_TEMP
	mov	x21, x19
	cmp	w20, w19
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	bl	_TEMP
	mov	x21, x0
LBB0_2:
	mov	x0, x22
	mov	x1, x20
	mov	x2, #0
	mov	x3, x21
	bl	_mp_int_div
	bl	_REQUIRE
	mov	x0, x21
	bl	_CMPZ
	tbnz	x0, #63, LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x19
	bl	_mp_int_copy
	b	LBB0_5
LBB0_4:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_mp_int_add
LBB0_5:
	bl	_REQUIRE
	bl	_CLEANUP_TEMP
Lloh0:
	adrp	x8, _MP_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MP_OK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MP_OK,4,2                      ; @MP_OK
.subsections_via_symbols
