	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _sdiv
__sdiv:                                 ## @_sdiv
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, %r15d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
LBB0_2:
	movq	%r12, %rdi
	callq	__bnerr
	xorl	%ebx, %ebx
LBB0_3:
	movswl	%r15w, %esi
	movq	%r12, %rdi
	callq	__itom
	movq	%rbx, %r15
	movq	%rax, %rbx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	__itom
	movq	%rax, %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ecx
	movq	%r15, %rbx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_BN_div
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_BN_ERRCHECK
	movq	%r12, %rdi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	__moveb
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	__moveb
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	__mtox
	movq	%rax, %r15
	movq	_errno@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_strtol
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movw	%ax, (%rcx)
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	_MPERR
LBB0_5:
	movq	%r15, %rdi
	callq	_free
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	__mfree
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	__mfree
	movq	%rbx, %rdi
	callq	_BN_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BN_free                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.no_dead_strip	__sdiv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _sdiv
__sdiv:                                 ; @_sdiv
	.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
	mov	x26, x5
	mov	x22, x4
	mov	x25, x3
	mov	x23, x2
	mov	x27, x1
	mov	x20, x0
	bl	_BN_new
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	bl	_BN_new
	mov	x21, x0
	cbnz	x0, LBB0_3
LBB0_2:
	mov	x0, x20
	bl	__bnerr
	mov	x21, #0
LBB0_3:
	mov	x0, x20
	mov	x1, x23
	bl	__itom
	mov	x23, x0
	mov	x0, x20
	mov	w1, #0
	bl	__itom
	mov	x24, x0
	ldr	w2, [x27]
	ldr	w3, [x23]
	mov	x0, x19
	mov	x1, x21
	mov	x4, x26
	bl	_BN_div
	mov	x1, x0
	mov	x0, x20
	bl	_BN_ERRCHECK
	mov	x0, x20
	mov	x1, x19
	mov	x2, x25
	bl	__moveb
	mov	x0, x20
	mov	x1, x21
	mov	x2, x24
	bl	__moveb
	mov	x0, x20
	mov	x1, x24
	bl	__mtox
	mov	x25, x0
Lloh0:
	adrp	x26, _errno@GOTPAGE
Lloh1:
	ldr	x26, [x26, _errno@GOTPAGEOFF]
	str	xzr, [x26]
	mov	x1, #0
	mov	w2, #16
	bl	_strtol
	strh	w0, [x22]
	ldr	x8, [x26]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_MPERR
LBB0_5:
	mov	x0, x25
	bl	_free
	mov	x0, x20
	mov	x1, x23
	bl	__mfree
	mov	x0, x20
	mov	x1, x24
	bl	__mfree
	mov	x0, x21
	bl	_BN_free
	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	_BN_free
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.no_dead_strip	__sdiv
.subsections_via_symbols
