	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mqc_flush_to                ## -- Begin function ff_mqc_flush_to
	.p2align	4, 0x90
_ff_mqc_flush_to:                       ## @ff_mqc_flush_to
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, -32(%rbp)
	movq	%rsi, -40(%rbp)
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, (%rsi)
	leaq	-40(%rbp), %rdi
	callq	_ff_mqc_flush
	movq	-32(%rbp), %rcx
	subq	%rbx, %rcx
	shrq	$3, %rcx
	movl	%ecx, (%r14)
	movq	(%r15), %rdx
	movq	8(%r15), %rsi
	movq	%rsi, %rax
	subq	%rdx, %rax
	jae	LBB0_4
## %bb.1:
	subq	%rsi, %rdx
	xorl	%edi, %edi
	cmpq	$8, %rdx
	sete	%dil
	callq	_av_assert1
	xorl	%edi, %edi
	cmpl	$0, (%r14)
	setg	%dil
	callq	_av_assert1
	movq	8(%r15), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
LBB0_3:
	callq	_av_assert1
	movl	(%r14), %edx
	decl	%edx
	movl	%edx, (%r14)
	leaq	8(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_memmove
	movq	8(%r15), %rax
	subq	(%r15), %rax
	sarq	$3, %rax
	movl	(%r14), %ecx
	addq	%rcx, %rax
	incq	%rax
	jmp	LBB0_5
LBB0_4:
	shrq	$3, %rax
	addq	%rcx, %rax
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mqc_flush_to                ; -- Begin function ff_mqc_flush_to
	.p2align	2
_ff_mqc_flush_to:                       ; @ff_mqc_flush_to
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	stp	x1, x1, [sp]
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	str	x8, [x1]
	mov	x0, sp
	bl	_ff_mqc_flush
	ldr	x8, [sp, #8]
	sub	x8, x8, x21
	lsr	x8, x8, #3
	str	w8, [x19]
	ldp	x10, x9, [x20]
	subs	x11, x9, x10
	b.hs	LBB0_3
; %bb.1:
	sub	x8, x10, x9
	cmp	x8, #8
	cset	w0, eq
	bl	_av_assert1
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, gt
	bl	_av_assert1
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	add	x0, x8, x11, lsr #3
	b	LBB0_6
LBB0_4:
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w0, eq
LBB0_5:
	bl	_av_assert1
	ldr	w8, [x19]
	sub	w2, w8, #1
	str	w2, [x19]
	add	x1, x21, #8
	mov	x0, x21
	bl	_memmove
	ldp	x9, x8, [x20]
	sub	x8, x8, x9
	ldr	w9, [x19]
	add	x8, x9, x8, asr #3
	add	x0, x8, #1
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
