	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_fdiv_qr                    ## -- Begin function mpi_fdiv_qr
	.p2align	4, 0x90
_mpi_fdiv_qr:                           ## @mpi_fdiv_qr
	.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	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rcx), %r13d
	movq	$0, -48(%rbp)
	cmpq	%rcx, %rdi
	je	LBB0_2
## %bb.1:
	cmpq	%rbx, %r14
	jne	LBB0_4
LBB0_2:
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_mpi_copy
	testq	%rax, %rax
	js	LBB0_12
## %bb.3:
	movq	-48(%rbp), %rbx
LBB0_4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_mpi_tdiv_qr
	testq	%rax, %rax
	js	LBB0_11
## %bb.5:
	cmpl	(%r12), %r13d
	je	LBB0_9
## %bb.6:
	cmpq	$0, 8(%r14)
	je	LBB0_9
## %bb.7:
	movq	%r15, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_mpi_sub_ui
	testq	%rax, %rax
	js	LBB0_11
## %bb.8:
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_mpi_add
	testq	%rax, %rax
	js	LBB0_11
LBB0_9:
	movq	-48(%rbp), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.10:
	callq	_mpi_free
	jmp	LBB0_13
LBB0_11:
	movq	-48(%rbp), %rdi
	callq	_mpi_free
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %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_qr                    ; -- Begin function mpi_fdiv_qr
	.p2align	2
_mpi_fdiv_qr:                           ; @mpi_fdiv_qr
	.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	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w23, [x3]
	str	xzr, [sp, #8]
	cmp	x0, x3
	b.eq	LBB0_2
; %bb.1:
	cmp	x19, x20
	b.ne	LBB0_4
LBB0_2:
	add	x0, sp, #8
	mov	x1, x20
	bl	_mpi_copy
	tbnz	x0, #63, LBB0_12
; %bb.3:
	ldr	x20, [sp, #8]
LBB0_4:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	mov	x3, x20
	bl	_mpi_tdiv_qr
	tbnz	x0, #63, LBB0_11
; %bb.5:
	ldr	w8, [x22]
	cmp	w23, w8
	b.eq	LBB0_9
; %bb.6:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_9
; %bb.7:
	mov	x0, x21
	mov	x1, x21
	mov	w2, #1
	bl	_mpi_sub_ui
	tbnz	x0, #63, LBB0_11
; %bb.8:
	mov	x0, x19
	mov	x1, x19
	mov	x2, x20
	bl	_mpi_add
	tbnz	x0, #63, LBB0_11
LBB0_9:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_13
; %bb.10:
	bl	_mpi_free
	mov	w0, #0
	b	LBB0_13
LBB0_11:
	ldr	x0, [sp, #8]
	bl	_mpi_free
LBB0_12:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	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
