	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bdivmod
_bdivmod:                               ## @bdivmod
	.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
	xorl	%eax, %eax
	callq	_pop_number
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_pop_number
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_new_number
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_new_number
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_new_number
	movq	%rax, %r13
	movq	8(%r12), %rdi
	movq	8(%r14), %rsi
	callq	_max
	movq	$0, 8(%r15)
	movq	%rax, 8(%r13)
	movq	_bmachine@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, 8(%rbx)
	movq	8(%r12), %rdi
	movq	8(%r14), %rsi
	callq	_max
	movq	%rax, %rbx
	movl	(%r12), %edi
	callq	_BN_is_zero
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_warnx
	jmp	LBB0_5
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_push_number                    ## TAILCALL
LBB0_4:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_normalize
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_normalize
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	%rax, %rdi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rbx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_bn_checkp
	movl	(%r15), %edi
	movl	(%r13), %esi
	movl	(%r14), %edx
	movl	(%r12), %ecx
	movq	%rbx, %r8
	callq	_BN_div
	movl	%eax, %edi
	callq	_bn_check
	movq	_bmachine@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_div_number
	movq	%rax, %rbx
	movq	_bmachine@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_normalize
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_normalize
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	(%r15), %esi
	movl	(%rbx), %edx
	callq	_BN_add
	movl	%eax, %edi
	callq	_bn_check
	movq	%rbx, %rdi
	callq	_free_number
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_CTX_free
LBB0_5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_push_number
	movq	%r13, %rdi
	callq	_push_number
	movq	%r15, %rdi
	callq	_free_number
	movq	%r12, %rdi
	callq	_free_number
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free_number                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bmachine,8,3                   ## @bmachine
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"divide by zero"

	.no_dead_strip	_bdivmod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bdivmod
_bdivmod:                               ; @bdivmod
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	_pop_number
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_pop_number
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	bl	_new_number
	mov	x21, x0
	bl	_new_number
	mov	x22, x0
	bl	_new_number
	mov	x23, x0
	ldr	x0, [x19, #8]
	ldr	x1, [x20, #8]
	bl	_max
	str	xzr, [x21, #8]
	str	x0, [x23, #8]
Lloh0:
	adrp	x27, _bmachine@GOTPAGE
Lloh1:
	ldr	x27, [x27, _bmachine@GOTPAGEOFF]
	ldr	x8, [x27]
	str	x8, [x22, #8]
	ldr	x0, [x19, #8]
	ldr	x1, [x20, #8]
	bl	_max
	mov	x24, x0
	ldr	w0, [x19]
	bl	_BN_is_zero
	cbz	x0, LBB0_6
; %bb.3:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
	b	LBB0_7
LBB0_4:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_push_number
LBB0_6:
	mov	x0, x19
	mov	x1, x24
	bl	_normalize
	mov	x0, x20
	mov	x1, x24
	bl	_normalize
	bl	_BN_CTX_new
	mov	x25, x0
	bl	_bn_checkp
	ldr	w0, [x21]
	ldr	w1, [x23]
	ldr	w2, [x20]
	ldr	w3, [x19]
	mov	x4, x25
	bl	_BN_div
	bl	_bn_check
	ldr	x2, [x27]
	mov	x0, x23
	mov	x1, x19
	bl	_div_number
	mov	x26, x0
	ldr	x1, [x27]
	mov	x0, x21
	bl	_normalize
	mov	x0, x23
	mov	x1, x24
	bl	_normalize
	ldr	w0, [x22]
	ldr	w1, [x21]
	ldr	w2, [x26]
	bl	_BN_add
	bl	_bn_check
	mov	x0, x26
	bl	_free_number
	mov	x0, x25
	bl	_BN_CTX_free
LBB0_7:
	mov	x0, x22
	bl	_push_number
	mov	x0, x23
	bl	_push_number
	mov	x0, x21
	bl	_free_number
	mov	x0, x19
	bl	_free_number
	mov	x0, x20
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_free_number
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_bmachine,8,3                   ; @bmachine
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"divide by zero"

	.no_dead_strip	_bdivmod
.subsections_via_symbols
