	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_hevc_unref_frame            ## -- Begin function ff_hevc_unref_frame
	.p2align	4, 0x90
_ff_hevc_unref_frame:                   ## @ff_hevc_unref_frame
	.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
	movq	72(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	%rsi, %rbx
	notl	%edx
	andl	%edx, (%rsi)
	jne	LBB0_4
## %bb.3:
	movl	(%rdi), %edi
	leaq	68(%rbx), %rsi
	callq	_ff_thread_release_buffer
	leaq	64(%rbx), %rdi
	callq	_av_buffer_unref
	movq	$0, 56(%rbx)
	leaq	52(%rbx), %rdi
	callq	_av_buffer_unref
	leaq	48(%rbx), %rdi
	callq	_av_buffer_unref
	leaq	16(%rbx), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movq	$0, 40(%rbx)
	callq	_av_buffer_unref
	movq	$0, 8(%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	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_hevc_unref_frame            ; -- Begin function ff_hevc_unref_frame
	.p2align	2
_ff_hevc_unref_frame:                   ; @ff_hevc_unref_frame
	.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	x8, [x1, #72]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x19, x1
	ldr	w8, [x1]
	bics	w8, w8, w2
	str	w8, [x1]
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x0]
	add	x1, x19, #68
	bl	_ff_thread_release_buffer
	add	x0, x19, #64
	bl	_av_buffer_unref
	str	xzr, [x19, #56]
	add	x0, x19, #52
	bl	_av_buffer_unref
	add	x0, x19, #48
	bl	_av_buffer_unref
	add	x0, x19, #16
	stp	xzr, xzr, [x19, #32]
	str	xzr, [x19, #24]
	bl	_av_buffer_unref
	str	xzr, [x19, #8]
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
.subsections_via_symbols
