	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function packet_queue_flush
_packet_queue_flush:                    ## @packet_queue_flush
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_SDL_LockMutex
	movq	32(%r14), %rdi
	movq	%rdi, -32(%rbp)
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	leaq	-32(%rbp), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdi), %rbx
	callq	_av_packet_unref
	movq	%r15, %rdi
	callq	_av_freep
	movq	%rbx, -32(%rbp)
	movq	%rbx, %rdi
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_3:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r14)
	movups	%xmm0, 8(%r14)
	movq	$0, 40(%r14)
	movl	(%r14), %edi
	callq	_SDL_UnlockMutex
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_packet_queue_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function packet_queue_flush
_packet_queue_flush:                    ; @packet_queue_flush
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
	bl	_SDL_LockMutex
	ldr	x0, [x19, #32]
	str	x0, [sp, #8]
	cbz	x0, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x0, #8]
	bl	_av_packet_unref
	add	x0, sp, #8
	bl	_av_freep
	str	x20, [sp, #8]
	mov	x0, x20
	cbnz	x20, LBB0_1
LBB0_2:
	str	xzr, [x19, #40]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #24]
	stur	q0, [x19, #8]
	ldr	w0, [x19]
	bl	_SDL_UnlockMutex
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_packet_queue_flush
.subsections_via_symbols
