	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp_div
_mp_div:                                ## @mp_div
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_mp_iszero
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.1:
	movq	_MP_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_33
LBB0_2:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_mp_cmp_mag
	movq	_MP_LT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.3:
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_mp_copy
	movl	%eax, %ebx
	testq	%r15, %r15
	jne	LBB0_7
	jmp	LBB0_33
LBB0_8:
	leaq	-64(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	xorl	%r8d, %r8d
	callq	_mp_init_multi
	movl	%eax, %ebx
	movq	_MP_OKAY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_33
## %bb.9:
	leaq	-56(%rbp), %rdi
	movl	$1, %esi
	callq	_mp_set
	movq	%r12, %rdi
	callq	_mp_count_bits
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_mp_count_bits
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	callq	_mp_abs
	movl	%eax, %ebx
	movq	_MP_OKAY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_32
## %bb.10:
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_mp_abs
	movl	%eax, %ebx
	movq	_MP_OKAY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_32
## %bb.11:
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	subl	-80(%rbp), %esi                 ## 4-byte Folded Reload
	leaq	-48(%rbp), %rdi
	movl	%esi, -76(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rdx
	callq	_mp_mul_2d
	movl	%eax, %ebx
	movq	_MP_OKAY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_32
## %bb.12:
	leaq	-56(%rbp), %rdi
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	movq	%rdi, %rdx
	callq	_mp_mul_2d
	movl	%eax, %ebx
	movq	_MP_OKAY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_32
## %bb.13:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_22
## %bb.14:
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	notl	%eax
	addl	-80(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	leaq	-48(%rbp), %rdi
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	leaq	-64(%rbp), %rsi
	movq	%rdi, %r14
	callq	_mp_cmp
	movq	_MP_GT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	-64(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rdi, %rdx
	callq	_mp_sub
	movl	%eax, %ebx
	movq	_MP_OKAY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_32
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	-72(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movq	%rdi, %rdx
	movq	%rax, %r14
	callq	_mp_add
	cmpl	(%r14), %eax
	leaq	-48(%rbp), %r14
	jne	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_mp_div_2d
	movl	%eax, %ebx
	movq	_MP_OKAY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_32
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	-56(%rbp), %rdi
	movl	$1, %esi
	movq	%rdi, %rdx
	xorl	%ecx, %ecx
	callq	_mp_div_2d
	movl	%eax, %ebx
	movq	_MP_OKAY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_32
## %bb.15:                              ##   in Loop: Header=BB0_16 Depth=1
	incl	-68(%rbp)                       ## 4-byte Folded Spill
	leaq	-48(%rbp), %rdi
	jne	LBB0_16
LBB0_22:
	movl	(%r12), %r12d
	testq	%r15, %r15
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_28
## %bb.23:
	movq	_MP_ZPOS@GOTPCREL(%rip), %rax
	cmpl	(%r13), %r12d
	je	LBB0_25
## %bb.24:
	movq	_MP_NEG@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %r13d
	leaq	-72(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mp_exch
	movq	%r15, %rdi
	callq	_mp_iszero
	movq	_MP_YES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_27
## %bb.26:
	movq	_MP_ZPOS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_27:
	movl	%r13d, (%r15)
LBB0_28:
	testq	%r14, %r14
	je	LBB0_32
## %bb.29:
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	callq	_mp_exch
	movq	%r14, %rdi
	callq	_mp_iszero
	movq	_MP_YES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_31
## %bb.30:
	movq	_MP_ZPOS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_31:
	movl	%r12d, (%r14)
	jmp	LBB0_32
LBB0_5:
	movq	_MP_OKAY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testq	%r15, %r15
	je	LBB0_33
LBB0_7:
	movq	%r15, %rdi
	callq	_mp_zero
	jmp	LBB0_33
LBB0_19:
	movl	%eax, %ebx
LBB0_32:
	leaq	-64(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	xorl	%r8d, %r8d
	callq	_mp_clear_multi
LBB0_33:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MP_VAL,4,2                     ## @MP_VAL
	.comm	_MP_LT,8,3                      ## @MP_LT
	.comm	_MP_OKAY,4,2                    ## @MP_OKAY
	.comm	_MP_GT,8,3                      ## @MP_GT
	.comm	_MP_ZPOS,4,2                    ## @MP_ZPOS
	.comm	_MP_NEG,4,2                     ## @MP_NEG
	.comm	_MP_YES,4,2                     ## @MP_YES
	.no_dead_strip	_mp_div
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp_div
_mp_div:                                ; @mp_div
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_mp_iszero
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MP_VAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MP_VAL@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	b	LBB0_26
LBB0_2:
	mov	x0, x22
	mov	x1, x21
	bl	_mp_cmp_mag
Lloh3:
	adrp	x8, _MP_LT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MP_LT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.3:
	cbz	x19, LBB0_22
; %bb.4:
	mov	x0, x22
	mov	x1, x19
	bl	_mp_copy
	mov	x23, x0
	cbnz	x20, LBB0_23
	b	LBB0_26
LBB0_5:
	add	x0, sp, #24
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x3, sp
	mov	x4, #0
	bl	_mp_init_multi
	mov	x23, x0
Lloh6:
	adrp	x27, _MP_OKAY@GOTPAGE
Lloh7:
	ldr	x27, [x27, _MP_OKAY@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_26
; %bb.6:
	add	x0, sp, #8
	mov	w1, #1
	bl	_mp_set
	mov	x0, x22
	bl	_mp_count_bits
	mov	x24, x0
	mov	x0, x21
	bl	_mp_count_bits
	mov	x25, x0
	add	x1, sp, #24
	mov	x0, x22
	bl	_mp_abs
	mov	x23, x0
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_25
; %bb.7:
	add	x1, sp, #16
	mov	x0, x21
	bl	_mp_abs
	mov	x23, x0
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_25
; %bb.8:
	sub	w26, w24, w25
	add	x0, sp, #16
	add	x2, sp, #16
	mov	x1, x26
	bl	_mp_mul_2d
	mov	x23, x0
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_25
; %bb.9:
	add	x0, sp, #8
	add	x2, sp, #8
	mov	x1, x26
	bl	_mp_mul_2d
	mov	x23, x0
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_25
; %bb.10:
	tbnz	w26, #31, LBB0_18
; %bb.11:
	mvn	w8, w24
	add	w24, w8, w25
Lloh8:
	adrp	x25, _MP_GT@GOTPAGE
Lloh9:
	ldr	x25, [x25, _MP_GT@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #16
	add	x1, sp, #24
	bl	_mp_cmp
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x0, sp, #24
	add	x1, sp, #16
	add	x2, sp, #24
	bl	_mp_sub
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_24
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, sp
	add	x1, sp, #8
	mov	x2, sp
	bl	_mp_add
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_24
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x0, sp, #16
	add	x2, sp, #16
	mov	w1, #1
	mov	x3, #0
	bl	_mp_div_2d
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_24
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x0, sp, #8
	add	x2, sp, #8
	mov	w1, #1
	mov	x3, #0
	bl	_mp_div_2d
	mov	x23, x0
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_25
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	adds	w24, w24, #1
	b.lo	LBB0_12
LBB0_18:
	ldr	w22, [x22]
Lloh10:
	adrp	x24, _MP_YES@GOTPAGE
Lloh11:
	ldr	x24, [x24, _MP_YES@GOTPAGEOFF]
Lloh12:
	adrp	x25, _MP_ZPOS@GOTPAGE
Lloh13:
	ldr	x25, [x25, _MP_ZPOS@GOTPAGEOFF]
	cbz	x20, LBB0_20
; %bb.19:
	ldr	w8, [x21]
Lloh14:
	adrp	x9, _MP_NEG@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MP_NEG@GOTPAGEOFF]
	cmp	w22, w8
	csel	x8, x25, x9, eq
	ldr	w21, [x8]
	mov	x1, sp
	mov	x0, x20
	bl	_mp_exch
	mov	x0, x20
	bl	_mp_iszero
	ldr	w8, [x24]
	ldr	w9, [x25]
	cmp	w0, w8
	csel	w8, w9, w21, eq
	str	w8, [x20]
LBB0_20:
	cbz	x19, LBB0_25
; %bb.21:
	add	x1, sp, #24
	mov	x0, x19
	bl	_mp_exch
	mov	x0, x19
	bl	_mp_iszero
	ldr	w8, [x24]
	ldr	w9, [x25]
	cmp	w0, w8
	csel	w8, w9, w22, eq
	str	w8, [x19]
	b	LBB0_25
LBB0_22:
Lloh16:
	adrp	x8, _MP_OKAY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MP_OKAY@GOTPAGEOFF]
Lloh18:
	ldr	w23, [x8]
	cbz	x20, LBB0_26
LBB0_23:
	mov	x0, x20
	bl	_mp_zero
	b	LBB0_26
LBB0_24:
	mov	x23, x0
LBB0_25:
	add	x0, sp, #24
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x3, sp
	mov	x4, #0
	bl	_mp_clear_multi
LBB0_26:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MP_VAL,4,2                     ; @MP_VAL
	.comm	_MP_LT,8,3                      ; @MP_LT
	.comm	_MP_OKAY,4,2                    ; @MP_OKAY
	.comm	_MP_GT,8,3                      ; @MP_GT
	.comm	_MP_ZPOS,4,2                    ; @MP_ZPOS
	.comm	_MP_NEG,4,2                     ; @MP_NEG
	.comm	_MP_YES,4,2                     ; @MP_YES
	.no_dead_strip	_mp_div
.subsections_via_symbols
