	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvdec_decoder_free
_nvdec_decoder_free:                    ## @nvdec_decoder_free
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	%rsi, -16(%rbp)
	cmpq	$0, 24(%rsi)
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rax
	movl	32(%rbx), %edi
	callq	*8(%rax)
	movl	%eax, %edi
	callq	_CHECK_CU
	movq	(%rbx), %rax
	movq	24(%rbx), %rdi
	callq	*(%rax)
	movl	%eax, %edi
	callq	_CHECK_CU
	movq	16(%rbx), %rax
	leaq	-20(%rbp), %rdi
	callq	*(%rax)
	movl	%eax, %edi
	callq	_CHECK_CU
LBB0_2:
	leaq	8(%rbx), %rdi
	callq	_av_buffer_unref
	movq	%rbx, %rdi
	callq	_cuvid_free_functions
	leaq	-16(%rbp), %rdi
	callq	_av_freep
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nvdec_decoder_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvdec_decoder_free
_nvdec_decoder_free:                    ; @nvdec_decoder_free
	.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, x1
	str	x1, [sp, #8]
	ldr	x8, [x1, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	ldr	w0, [x19, #32]
	blr	x8
	bl	_CHECK_CU
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x0, [x19, #24]
	blr	x8
	bl	_CHECK_CU
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	add	x0, sp, #4
	blr	x8
	bl	_CHECK_CU
LBB0_2:
	add	x0, x19, #8
	bl	_av_buffer_unref
	mov	x0, x19
	bl	_cuvid_free_functions
	add	x0, sp, #8
	bl	_av_freep
	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	_nvdec_decoder_free
.subsections_via_symbols
