	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_inlink_consume_samples      ## -- Begin function ff_inlink_consume_samples
	.p2align	4, 0x90
_ff_inlink_consume_samples:             ## @ff_inlink_consume_samples
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	%esi, %edi
	callq	_av_assert1
	movq	$0, (%r14)
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_ff_inlink_check_available_samples
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpq	$0, 8(%r12)
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_ff_framequeue_queued_samples
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_FFMIN
	movl	%eax, %ebx
LBB0_4:
	leaq	-40(%rbp), %rcx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_take_samples
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	movq	-40(%rbp), %rsi
	movq	%r12, %rdi
	callq	_consume_update
	movq	-40(%rbp), %rax
	movq	%rax, (%r14)
	movl	$1, %eax
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	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_inlink_consume_samples      ; -- Begin function ff_inlink_consume_samples
	.p2align	2
_ff_inlink_consume_samples:             ; @ff_inlink_consume_samples
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x1
	bl	_av_assert1
	str	xzr, [x19]
	mov	x0, x20
	mov	x1, x22
	bl	_ff_inlink_check_available_samples
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_ff_framequeue_queued_samples
	mov	x1, x0
	mov	x0, x22
	bl	_FFMIN
	mov	x22, x0
LBB0_3:
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_take_samples
	tbnz	w0, #31, LBB0_5
; %bb.4:
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_consume_update
	ldr	x8, [sp, #8]
	str	x8, [x19]
	mov	w0, #1
LBB0_5:
	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
