	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp_reduce_2k_l
_mp_reduce_2k_l:                        ## @mp_reduce_2k_l
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r13
	leaq	-44(%rbp), %rdi
	callq	_mp_init
	movl	%eax, %ebx
	movq	_MP_OKAY@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_9
## %bb.1:
	movq	%r15, %rdi
	callq	_mp_count_bits
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	movq	%r13, %rcx
	callq	_mp_div_2d
	movl	%eax, %ebx
	cmpl	(%r12), %eax
	jne	LBB0_8
## %bb.2:
	leaq	-44(%rbp), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_mp_mul
	cmpl	(%r12), %eax
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_s_mp_add
	movl	%eax, %ebx
	cmpl	(%r12), %eax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_mp_cmp_mag
	movq	_MP_LT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_s_mp_sub
	movq	%r13, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_mp_div_2d
	cmpl	(%r12), %eax
	je	LBB0_3
LBB0_7:
	movl	%eax, %ebx
LBB0_8:
	leaq	-44(%rbp), %rdi
	callq	_mp_clear
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MP_OKAY,4,2                    ## @MP_OKAY
	.comm	_MP_LT,8,3                      ## @MP_LT
	.no_dead_strip	_mp_reduce_2k_l
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp_reduce_2k_l
_mp_reduce_2k_l:                        ; @mp_reduce_2k_l
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x0, sp, #12
	bl	_mp_init
	mov	x23, x0
Lloh0:
	adrp	x24, _MP_OKAY@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MP_OKAY@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.1:
	mov	x0, x20
	bl	_mp_count_bits
	mov	x22, x0
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x22
	mov	x3, x21
	bl	_mp_div_2d
	mov	x23, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.2:
Lloh2:
	adrp	x25, _MP_LT@GOTPAGE
Lloh3:
	ldr	x25, [x25, _MP_LT@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	add	x2, sp, #12
	mov	x1, x19
	bl	_mp_mul
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #12
	mov	x0, x21
	mov	x2, x21
	bl	_s_mp_add
	mov	x23, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_mp_cmp_mag
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x21
	bl	_s_mp_sub
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x22
	mov	x3, x21
	bl	_mp_div_2d
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_3
LBB0_7:
	mov	x23, x0
LBB0_8:
	add	x0, sp, #12
	bl	_mp_clear
LBB0_9:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MP_OKAY,4,2                    ; @MP_OKAY
	.comm	_MP_LT,8,3                      ; @MP_LT
	.no_dead_strip	_mp_reduce_2k_l
.subsections_via_symbols
