	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpDivide
_mpDivide:                              ## @mpDivide
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%r8, %r14
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movl	%ecx, %esi
	callq	_mpSetZero
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r12, %rbx
	movl	%r13d, %esi
	callq	_mpSetZero
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_mpSizeof
	movq	%rax, %r12
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_mpSizeof
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.1:
	cmpl	$1, %r12d
	jne	LBB0_4
## %bb.2:
	movl	(%r14), %edx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r13d, %ecx
	callq	_mpShortDiv
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	jmp	LBB0_30
LBB0_3:
	movl	$-1, %eax
	jmp	LBB0_31
LBB0_4:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	subl	%r12d, %r14d
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	js	LBB0_13
## %bb.5:
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	jne	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_mpCompare
	testl	%eax, %eax
	js	LBB0_13
## %bb.7:
	je	LBB0_33
LBB0_8:
	movq	%rbx, %r15
	movabsq	$-4294967296, %r13              ## imm = 0xFFFFFFFF00000000
	movq	_BITS_PER_DIGIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testl	%edi, %edi
	je	LBB0_14
## %bb.9:
	movq	%r12, %rdx
	shlq	$32, %rdx
	addq	%r13, %rdx
	sarq	$30, %rdx
	movq	_HIBITMASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi,%rdx), %edx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	testl	%ecx, %edx
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	sarl	%ecx
	incl	%ebx
	cmpl	%ebx, %edi
	jne	LBB0_10
## %bb.12:
	movl	%edi, %ebx
	jmp	LBB0_15
LBB0_13:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_mpSetEqual
	jmp	LBB0_30
LBB0_14:
	xorl	%ebx, %ebx
LBB0_15:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rsi
	movl	%ebx, %edx
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movl	%r12d, %ecx
	callq	_mpShiftLeft
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%ebx, -100(%rbp)                ## 4-byte Spill
	movl	%ebx, %edx
	movq	-112(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_mpShiftLeft
	movl	%eax, -56(%rbp)
	testl	%r14d, %r14d
	js	LBB0_27
## %bb.16:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	shlq	$32, %rcx
	addq	%rcx, %r13
	sarq	$32, %r13
	movabsq	$-8589934592, %rdx              ## imm = 0xFFFFFFFE00000000
	addq	%rcx, %rdx
	sarq	$32, %rdx
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movl	%r14d, %r15d
	sarq	$30, %rcx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rcx,%rdx), %rbx
	addq	$-4, %rbx
	movq	%r13, -136(%rbp)                ## 8-byte Spill
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movl	(%rbx,%r15,4), %eax
	movl	%eax, -56(%rbp)
	leaq	-1(%r15), %rcx
	testq	%r15, %r15
	movq	%rcx, %r15
	movq	-136(%rbp), %r13                ## 8-byte Reload
	jle	LBB0_27
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, -52(%rbp)
	movl	(%rbx,%r15,4), %eax
	movl	%eax, -56(%rbp)
	movl	(%r12,%r13,4), %ecx
	leaq	-60(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_spDivide
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	_MAX_DIGIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, -60(%rbp)
	movl	(%rbx,%r15,4), %eax
	movl	(%r12,%r13,4), %esi
	addl	%eax, %esi
	movl	%esi, -64(%rbp)
	testl	%eax, %eax
	jns	LBB0_21
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	-60(%rbp), %edi
	movl	-64(%rbp), %esi
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%r12,%rax,4), %edx
	movl	-4(%rbx,%r15,4), %ecx
	callq	_QhatTooBig
	testq	%rax, %rax
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	-60(%rbp), %edi
	decl	%edi
	movl	%edi, -60(%rbp)
	movl	-64(%rbp), %eax
	movl	(%r12,%r13,4), %esi
	addl	%eax, %esi
	movl	%esi, -64(%rbp)
	testl	%eax, %eax
	js	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%r12,%rax,4), %edx
	movl	-4(%rbx,%r15,4), %ecx
	callq	_QhatTooBig
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_18 Depth=1
	decl	-60(%rbp)
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	%r15d, %r13d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13,4), %rbx
	movl	-52(%rbp), %edi
	movl	-60(%rbp), %ecx
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movl	%r14d, %r8d
	callq	_mpMultSub
	movl	-60(%rbp), %ecx
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, (%rdx,%r13,4)
	testl	%eax, %eax
	je	LBB0_17
## %bb.26:                              ##   in Loop: Header=BB0_18 Depth=1
	decl	%ecx
	movl	%ecx, (%rdx,%r13,4)
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movl	%r14d, %ecx
	callq	_mpAdd
	jmp	LBB0_17
LBB0_27:
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	cmpl	%r14d, %edx
	jle	LBB0_29
## %bb.28:
	movslq	%r14d, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdi
	notl	%eax
	addl	%eax, %edx
	leaq	4(,%rdx,4), %rsi
	callq	___bzero
LBB0_29:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rsi
	movl	-100(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r14d, %ecx
	callq	_mpShiftRight
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	callq	_mpShiftRight
LBB0_30:
	xorl	%eax, %eax
LBB0_31:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_34
## %bb.32:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%r13d, %edx
	callq	_mpSetDigit
	jmp	LBB0_30
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HIBITMASK,4,2                  ## @HIBITMASK
	.comm	_BITS_PER_DIGIT,4,2             ## @BITS_PER_DIGIT
	.comm	_MAX_DIGIT,4,2                  ## @MAX_DIGIT
	.no_dead_strip	_mpDivide
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpDivide
_mpDivide:                              ; @mpDivide
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x21, x5
	mov	x20, x4
	mov	x24, x3
	mov	x25, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	mov	x1, x3
	bl	_mpSetZero
	str	x19, [sp, #32]                  ; 8-byte Folded Spill
	mov	x0, x19
	mov	x1, x24
	bl	_mpSetZero
	mov	x0, x20
	mov	x1, x21
	bl	_mpSizeof
	mov	x21, x0
	mov	x0, x25
	mov	x1, x24
	bl	_mpSizeof
	cbz	w21, LBB0_3
; %bb.1:
	cmp	w21, #1
	b.ne	LBB0_4
; %bb.2:
	ldr	w2, [x20]
	mov	x0, x22
	mov	x1, x25
	mov	x3, x24
	bl	_mpShortDiv
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	str	w8, [x9]
	b	LBB0_31
LBB0_3:
	mov	w0, #-1
	b	LBB0_31
LBB0_4:
	mov	x19, x0
	sub	w26, w19, w21
	tbnz	w26, #31, LBB0_13
; %bb.5:
	cmp	w19, w21
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x25
	mov	x1, x20
	mov	x2, x21
	bl	_mpCompare
	tbnz	w0, #31, LBB0_13
; %bb.7:
	cbz	w0, LBB0_33
LBB0_8:
Lloh3:
	adrp	x8, _BITS_PER_DIGIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BITS_PER_DIGIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbz	w8, LBB0_14
; %bb.9:
	mov	w24, #0
	mov	x9, #-4294967296
	add	x9, x9, x21, lsl #32
	asr	x10, x9, #30
Lloh6:
	adrp	x9, _HIBITMASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HIBITMASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldr	w10, [x20, x10]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	tst	w10, w9
	b.ne	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	asr	w9, w9, #1
	add	w24, w24, #1
	cmp	w8, w24
	b.ne	LBB0_10
; %bb.12:
	mov	x24, x8
	b	LBB0_15
LBB0_13:
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x25
	mov	x2, x24
	bl	_mpSetEqual
	b	LBB0_30
LBB0_14:
	mov	w24, #0
LBB0_15:
	mov	x0, x20
	mov	x1, x20
	mov	x2, x24
	mov	x3, x21
	bl	_mpShiftLeft
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x25
	mov	x2, x24
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	x3, x19
	bl	_mpShiftLeft
	str	w0, [sp, #48]
	lsl	x8, x21, #32
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	tbnz	w26, #31, LBB0_27
; %bb.16:
	mov	x8, #-4294967296
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	add	x8, x9, x8
	asr	x28, x8, #32
	mov	x8, #-8589934592
	add	x8, x9, x8
	asr	x8, x8, #32
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	add	x8, x26, w21, sxtw
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x8, x9, x8, lsl #2
	sub	x23, x8, #4
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w0, [x23], #-4
	str	w0, [sp, #48]
	sub	x8, x26, #1
	cmp	x26, #0
	mov	x26, x8
	b.le	LBB0_27
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	stp	w8, w0, [sp, #48]
	ldr	w3, [x20, x28, lsl #2]
	add	x0, sp, #44
	add	x1, sp, #40
	add	x2, sp, #48
	bl	_spDivide
	cbz	w0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
Lloh9:
	adrp	x8, _MAX_DIGIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAX_DIGIT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w8, [x23]
	ldr	w9, [x20, x28, lsl #2]
	add	w1, w9, w8
	stp	w1, w0, [sp, #40]
	tbz	w8, #31, LBB0_21
	b	LBB0_25
LBB0_20:                                ;   in Loop: Header=BB0_18 Depth=1
	ldp	w1, w0, [sp, #40]
LBB0_21:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w2, [x20, x8, lsl #2]
	ldur	w3, [x23, #-4]
	bl	_QhatTooBig
	cbz	x0, LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
	ldp	w9, w8, [sp, #40]
	sub	w0, w8, #1
	ldr	w8, [x20, x28, lsl #2]
	add	w1, w9, w8
	stp	w1, w0, [sp, #40]
	tbnz	w9, #31, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w2, [x20, x8, lsl #2]
	ldur	w3, [x23, #-4]
	bl	_QhatTooBig
	cbz	x0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	w8, [sp, #44]
	sub	w8, w8, #1
	str	w8, [sp, #44]
LBB0_25:                                ;   in Loop: Header=BB0_18 Depth=1
	and	x19, x26, #0xffffffff
	lsl	x27, x19, #2
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x25, x8, x27
	ldr	w0, [sp, #52]
	ldr	w3, [sp, #44]
	mov	x1, x25
	mov	x2, x20
	mov	x4, x21
	bl	_mpMultSub
	ldr	w8, [sp, #44]
	str	w8, [x22, x27]
	cbz	w0, LBB0_17
; %bb.26:                               ;   in Loop: Header=BB0_18 Depth=1
	sub	w8, w8, #1
	str	w8, [x22, x19, lsl #2]
	mov	x0, x25
	mov	x1, x25
	mov	x2, x20
	mov	x3, x21
	bl	_mpAdd
	b	LBB0_17
LBB0_27:
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	cmp	w9, w21
	b.le	LBB0_29
; %bb.28:
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	add	x0, x8, x10, asr #30
	mvn	w8, w21
	add	w8, w9, w8
	ubfiz	x8, x8, #2, #32
	add	x1, x8, #4
	bl	_bzero
LBB0_29:
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x0
	mov	x2, x24
	mov	x3, x21
	bl	_mpShiftRight
	mov	x0, x20
	mov	x1, x20
	mov	x2, x24
	mov	x3, x21
	bl	_mpShiftRight
LBB0_30:
	mov	w0, #0
LBB0_31:
	ldr	x8, [sp, #56]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.32:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_33:
	mov	x0, x22
	mov	w1, #1
	mov	x2, x24
	bl	_mpSetDigit
	b	LBB0_30
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_HIBITMASK,4,2                  ; @HIBITMASK
	.comm	_BITS_PER_DIGIT,4,2             ; @BITS_PER_DIGIT
	.comm	_MAX_DIGIT,4,2                  ; @MAX_DIGIT
	.no_dead_strip	_mpDivide
.subsections_via_symbols
