	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spDivide
_spDivide:                              ## @spDivide
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_HIBITMASK@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movl	%ecx, %edi
	callq	_LOHALF
	movl	%eax, %r13d
	movl	%r14d, %edi
	callq	_HIHALF
	movl	%eax, %ebx
	movl	(%r15), %edi
	callq	_LOHALF
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	(%r15), %edi
	callq	_HIHALF
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	4(%r15), %edi
	callq	_LOHALF
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	4(%r15), %edi
	callq	_HIHALF
	cltd
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	idivl	%ebx
	movl	%eax, %r12d
	testl	%eax, %eax
	movl	%r14d, -76(%rbp)                ## 4-byte Spill
	movl	%r13d, -64(%rbp)                ## 4-byte Spill
	jle	LBB0_3
## %bb.4:
	movl	%edx, %edi
	callq	_TOHIGH
	orl	-60(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%r12d, %ecx
	imull	%r13d, %ecx
	cmpl	%eax, %ecx
	movl	%r13d, %ecx
	jle	LBB0_5
## %bb.8:
	movl	$0, -52(%rbp)
	movl	4(%r15), %eax
	movl	%eax, -56(%rbp)
	decl	%r12d
	movl	-68(%rbp), %r13d                ## 4-byte Reload
	jne	LBB0_6
## %bb.9:
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_11
LBB0_1:
	movl	$0, (%rsi)
	movl	$0, (%rdi)
	movq	_MAX_DIGIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_24
LBB0_3:
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movl	$0, -52(%rbp)
	movl	4(%r15), %eax
	movl	%eax, -56(%rbp)
	movl	-68(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_11
LBB0_5:
	movl	$0, -52(%rbp)
	movl	4(%r15), %eax
	movl	%eax, -56(%rbp)
	movl	-68(%rbp), %r13d                ## 4-byte Reload
LBB0_6:
	leaq	-56(%rbp), %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	callq	_spMultSub
	movl	-52(%rbp), %edi
	callq	_HIHALF
	testl	%eax, %eax
	je	LBB0_7
## %bb.10:
	decl	%r12d
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movl	-56(%rbp), %eax
	addl	%r14d, %eax
	movl	%eax, -56(%rbp)
	movl	$0, -52(%rbp)
	jmp	LBB0_11
LBB0_7:
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movl	-56(%rbp), %eax
LBB0_11:
	cltd
	idivl	%r13d
	movl	%edx, %r12d
	movl	%eax, %ebx
	movl	%edx, %edi
	callq	_TOHIGH
	movq	_B_J@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	movl	-80(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_13
## %bb.12:
	orl	-72(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%ebx, %ecx
	imull	-64(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	%ebx, %r15d
	cmpl	%eax, %ecx
	jle	LBB0_15
LBB0_13:
	leal	-1(%rbx), %r15d
	addl	%r13d, %r12d
	movl	%r12d, %edi
	callq	_TOHIGH
	movq	_B_J@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	jge	LBB0_15
## %bb.14:
	orl	-72(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%r15d, %ecx
	imull	-64(%rbp), %ecx                 ## 4-byte Folded Reload
	addl	$-2, %ebx
	cmpl	%eax, %ecx
	cmovlel	%r15d, %ebx
	movl	%ebx, %r15d
LBB0_15:
	movl	-56(%rbp), %edi
	callq	_HIHALF
	movl	%eax, -52(%rbp)
	movl	-56(%rbp), %edi
	callq	_LOHALF
	movl	%eax, %edi
	callq	_TOHIGH
	orl	-72(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, -56(%rbp)
	leaq	-56(%rbp), %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	callq	_spMultSub
	movl	-52(%rbp), %edi
	callq	_HIHALF
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	decl	%r15d
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, -56(%rbp)
	movl	$0, -52(%rbp)
LBB0_17:
	movl	%r15d, %edi
	callq	_TOHIGH
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	-56(%rbp), %eax
	cltd
	idivl	%r13d
	movl	%edx, %ebx
	movl	%eax, %r12d
	movl	%edx, %edi
	callq	_TOHIGH
	movq	_B_J@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	je	LBB0_19
## %bb.18:
	orl	%r14d, %eax
	movl	%r12d, %ecx
	imull	-64(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	%r12d, %r15d
	cmpl	%eax, %ecx
	jle	LBB0_21
LBB0_19:
	leal	-1(%r12), %r15d
	addl	%r13d, %ebx
	movl	%ebx, %edi
	callq	_TOHIGH
	movq	_B_J@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jge	LBB0_21
## %bb.20:
	orl	%r14d, %eax
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	imull	%r15d, %ecx
	addl	$-2, %r12d
	cmpl	%eax, %ecx
	cmovlel	%r15d, %r12d
	movl	%r12d, %r15d
LBB0_21:
	movl	-56(%rbp), %edi
	callq	_HIHALF
	movl	%eax, -52(%rbp)
	movl	-56(%rbp), %edi
	callq	_LOHALF
	movl	%eax, %edi
	callq	_TOHIGH
	orl	%r14d, %eax
	movl	%eax, -56(%rbp)
	leaq	-56(%rbp), %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	callq	_spMultSub
	movl	-52(%rbp), %edi
	callq	_HIHALF
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:
	decl	%r15d
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, -56(%rbp)
	movl	$0, -52(%rbp)
LBB0_23:
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movl	%r15d, %edi
	callq	_LOHALF
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	movl	-56(%rbp), %eax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HIBITMASK,4,2                  ## @HIBITMASK
	.comm	_MAX_DIGIT,4,2                  ## @MAX_DIGIT
	.comm	_B_J,4,2                        ## @B_J
	.no_dead_strip	_spDivide
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spDivide
_spDivide:                              ; @spDivide
	.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	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _HIBITMASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HIBITMASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_4
; %bb.1:
	mov	x21, x3
	mov	x27, x2
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	mov	x0, x3
	bl	_LOHALF
	mov	x23, x0
	mov	x0, x21
	bl	_HIHALF
	mov	x24, x0
	ldr	w0, [x27]
	bl	_LOHALF
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	ldr	w0, [x27]
	bl	_HIHALF
	mov	x26, x0
	ldr	w0, [x27, #4]
	bl	_LOHALF
	mov	x28, x0
	ldr	w0, [x27, #4]
	bl	_HIHALF
	sdiv	w22, w0, w24
	cmp	w22, #0
	b.le	LBB0_5
; %bb.2:
	msub	w0, w22, w24, w0
	bl	_TOHIGH
	orr	w8, w0, w28
	mul	w9, w22, w23
	cmp	w9, w8
	b.le	LBB0_6
; %bb.3:
	ldr	w8, [x27, #4]
	stp	w8, wzr, [sp, #16]
	subs	w22, w22, #1
	b.ne	LBB0_7
	b	LBB0_10
LBB0_4:
	str	wzr, [x1]
	str	wzr, [x20]
Lloh6:
	adrp	x8, _MAX_DIGIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_DIGIT@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	b	LBB0_23
LBB0_5:
	ldr	w8, [x27, #4]
	stp	w8, wzr, [sp, #16]
	b	LBB0_10
LBB0_6:
	ldr	w8, [x27, #4]
	stp	w8, wzr, [sp, #16]
LBB0_7:
	add	x0, sp, #16
	mov	x1, x22
	mov	x2, x24
	mov	x3, x23
	bl	_spMultSub
	ldr	w0, [sp, #20]
	bl	_HIHALF
	cbz	w0, LBB0_9
; %bb.8:
	sub	w22, w22, #1
	ldr	w8, [sp, #16]
	add	w8, w8, w21
	stp	w8, wzr, [sp, #16]
	b	LBB0_10
LBB0_9:
	ldr	w8, [sp, #16]
LBB0_10:
	sdiv	w27, w8, w24
	msub	w28, w27, w24, w8
	mov	x0, x28
	bl	_TOHIGH
Lloh9:
	adrp	x19, _B_J@GOTPAGE
Lloh10:
	ldr	x19, [x19, _B_J@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w27, w8
	b.eq	LBB0_12
; %bb.11:
	orr	w8, w0, w26
	mul	w9, w27, w23
	mov	x25, x27
	cmp	w9, w8
	b.le	LBB0_14
LBB0_12:
	sub	w25, w27, #1
	add	w28, w28, w24
	mov	x0, x28
	bl	_TOHIGH
	ldr	w8, [x19]
	cmp	w28, w8
	b.ge	LBB0_14
; %bb.13:
	orr	w8, w0, w26
	mul	w9, w25, w23
	sub	w10, w27, #2
	cmp	w9, w8
	csel	w25, w10, w25, gt
LBB0_14:
	ldr	w0, [sp, #16]
	bl	_HIHALF
	str	w0, [sp, #20]
	ldr	w0, [sp, #16]
	bl	_LOHALF
	bl	_TOHIGH
	orr	w8, w0, w26
	str	w8, [sp, #16]
	add	x0, sp, #16
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	bl	_spMultSub
	ldr	w0, [sp, #20]
	bl	_HIHALF
	cbz	w0, LBB0_16
; %bb.15:
	sub	w25, w25, #1
	ldr	w8, [sp, #16]
	add	w8, w8, w21
	stp	w8, wzr, [sp, #16]
LBB0_16:
	ldr	w28, [sp, #4]                   ; 4-byte Folded Reload
	mov	x0, x25
	bl	_TOHIGH
	str	w0, [x20]
	ldr	w8, [sp, #16]
	sdiv	w25, w8, w24
	msub	w27, w25, w24, w8
	mov	x0, x27
	bl	_TOHIGH
	ldr	w8, [x19]
	cmp	w25, w8
	b.eq	LBB0_18
; %bb.17:
	orr	w8, w0, w28
	mul	w9, w25, w23
	mov	x26, x25
	cmp	w9, w8
	b.le	LBB0_20
LBB0_18:
	sub	w26, w25, #1
	add	w27, w27, w24
	mov	x0, x27
	bl	_TOHIGH
	ldr	w8, [x19]
	cmp	w27, w8
	b.ge	LBB0_20
; %bb.19:
	orr	w8, w0, w28
	mul	w9, w26, w23
	sub	w10, w25, #2
	cmp	w9, w8
	csel	w26, w10, w26, gt
LBB0_20:
	ldr	w0, [sp, #16]
	bl	_HIHALF
	str	w0, [sp, #20]
	ldr	w0, [sp, #16]
	bl	_LOHALF
	bl	_TOHIGH
	orr	w8, w0, w28
	str	w8, [sp, #16]
	add	x0, sp, #16
	mov	x1, x26
	mov	x2, x24
	mov	x3, x23
	bl	_spMultSub
	ldr	w0, [sp, #20]
	bl	_HIHALF
	cbz	w0, LBB0_22
; %bb.21:
	sub	w26, w26, #1
	ldr	w8, [sp, #16]
	add	w8, w8, w21
	stp	w8, wzr, [sp, #16]
LBB0_22:
	mov	x0, x26
	bl	_LOHALF
	ldr	w8, [x20]
	orr	w8, w8, w0
	str	w8, [x20]
	ldr	w8, [sp, #16]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	str	w8, [x9]
LBB0_23:
	ldr	x8, [sp, #24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_25
; %bb.24:
	mov	x0, x22
	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
LBB0_25:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_HIBITMASK,4,2                  ; @HIBITMASK
	.comm	_MAX_DIGIT,4,2                  ; @MAX_DIGIT
	.comm	_B_J,4,2                        ; @B_J
	.no_dead_strip	_spDivide
.subsections_via_symbols
