	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvdec_unmap_mapped_frame
_nvdec_unmap_mapped_frame:              ## @nvdec_unmap_mapped_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rax
	movl	24(%rbx), %edi
	callq	*8(%rax)
	movl	%eax, %edi
	callq	_CHECK_CU
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	16(%rbx), %rax
	movl	8(%rbx), %edi
	movl	%r14d, %esi
	callq	*(%rax)
	movl	%eax, %edi
	callq	_CHECK_CU
	movq	(%rbx), %rax
	leaq	-28(%rbp), %rdi
	callq	*(%rax)
	movl	%eax, %edi
	callq	_CHECK_CU
LBB0_2:
	leaq	8(%r15), %rdi
	callq	_av_buffer_unref
	movq	%r15, %rdi
	callq	_av_buffer_unref
	movq	%r15, %rdi
	callq	_av_free
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nvdec_unmap_mapped_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvdec_unmap_mapped_frame
_nvdec_unmap_mapped_frame:              ; @nvdec_unmap_mapped_frame
	.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, x1
	mov	x20, x0
	ldr	x8, [x1]
	ldr	x21, [x8]
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldr	w0, [x21, #24]
	blr	x8
	bl	_CHECK_CU
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	ldr	w0, [x21, #8]
	mov	x1, x20
	blr	x8
	bl	_CHECK_CU
	ldr	x8, [x21]
	ldr	x8, [x8]
	add	x0, sp, #12
	blr	x8
	bl	_CHECK_CU
LBB0_2:
	add	x0, x19, #8
	bl	_av_buffer_unref
	mov	x0, x19
	bl	_av_buffer_unref
	mov	x0, x19
	bl	_av_free
	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
	.no_dead_strip	_nvdec_unmap_mapped_frame
.subsections_via_symbols
