	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ff_bufqueue_get
_ff_bufqueue_get:                       ## @ff_bufqueue_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx,%rax,8), %r14
	movl	16(%rdi), %edi
	callq	_av_assert0
	decl	16(%rbx)
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	$0, (%rcx,%rax,8)
	incq	%rax
	movq	_FF_BUFQUEUE_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	movq	%rdx, (%rbx)
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_BUFQUEUE_SIZE,4,2           ## @FF_BUFQUEUE_SIZE
	.no_dead_strip	_ff_bufqueue_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ff_bufqueue_get
_ff_bufqueue_get:                       ; @ff_bufqueue_get
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldp	x9, x8, [x0]
	ldr	x20, [x8, x9, lsl #3]
	ldr	w0, [x0, #16]
	bl	_av_assert0
	ldr	w8, [x19, #16]
	sub	w8, w8, #1
	str	w8, [x19, #16]
	ldp	x9, x8, [x19]
	str	xzr, [x8, x9, lsl #3]
Lloh0:
	adrp	x8, _FF_BUFQUEUE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FF_BUFQUEUE_SIZE@GOTPAGEOFF]
	add	x9, x9, #1
Lloh2:
	ldrsw	x8, [x8]
	udiv	x10, x9, x8
	msub	x8, x10, x8, x9
	str	x8, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_BUFQUEUE_SIZE,4,2           ; @FF_BUFQUEUE_SIZE
	.no_dead_strip	_ff_bufqueue_get
.subsections_via_symbols
