	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sample_queue_pop
_sample_queue_pop:                      ## @sample_queue_pop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	cmpq	$0, 8(%rdi)
	je	LBB0_3
## %bb.2:
	callq	_av_freep
	movl	(%rbx), %eax
	movq	8(%rbx), %rdi
LBB0_3:
	leal	-1(%rax), %ecx
	movl	%ecx, (%rbx)
	leaq	16(%rdi), %rsi
	leal	-4(,%rax,4), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_memmove                        ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sample_queue_pop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sample_queue_pop
_sample_queue_pop:                      ; @sample_queue_pop
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #8]
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_3
; %bb.2:
	bl	_av_freep
	ldr	w8, [x19]
	ldr	x0, [x19, #8]
LBB0_3:
	sub	w8, w8, #1
	str	w8, [x19]
	add	x1, x0, #16
	lsl	w2, w8, #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memmove
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sample_queue_pop
.subsections_via_symbols
