	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_fdiv_r                     ## -- Begin function mpi_fdiv_r
	.p2align	4, 0x90
_mpi_fdiv_r:                            ## @mpi_fdiv_r
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	(%rdx), %r13d
	movq	$0, -48(%rbp)
	cmpq	%rdx, %rdi
	jne	LBB0_3
## %bb.1:
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_mpi_copy
	testq	%rax, %rax
	js	LBB0_8
## %bb.2:
	movq	-48(%rbp), %rbx
LBB0_3:
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_mpi_tdiv_qr
	testq	%rax, %rax
	js	LBB0_8
## %bb.4:
	testl	%r13d, %r13d
	setne	%al
	cmpl	$0, (%r12)
	setne	%cl
	cmpb	%cl, %al
	je	LBB0_7
## %bb.5:
	cmpq	$0, 8(%r15)
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_mpi_add
	testq	%rax, %rax
	js	LBB0_8
LBB0_7:
	xorl	%r14d, %r14d
LBB0_8:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_mpi_free
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_fdiv_r                     ; -- Begin function mpi_fdiv_r
	.p2align	2
_mpi_fdiv_r:                            ; @mpi_fdiv_r
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	ldr	w23, [x2]
	str	xzr, [sp, #8]
	cmp	x0, x2
	b.ne	LBB0_3
; %bb.1:
	add	x0, sp, #8
	mov	x1, x21
	bl	_mpi_copy
	tbnz	x0, #63, LBB0_8
; %bb.2:
	ldr	x21, [sp, #8]
LBB0_3:
	mov	x0, #0
	mov	x1, x20
	mov	x2, x22
	mov	x3, x21
	bl	_mpi_tdiv_qr
	tbnz	x0, #63, LBB0_8
; %bb.4:
	cmp	w23, #0
	cset	w8, ne
	ldr	w9, [x22]
	cmp	w9, #0
	cset	w9, ne
	cmp	w8, w9
	b.eq	LBB0_7
; %bb.5:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	x1, x20
	mov	x2, x21
	bl	_mpi_add
	tbnz	x0, #63, LBB0_8
LBB0_7:
	mov	w19, #0
LBB0_8:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_mpi_free
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
