	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function closePrivData
_closePrivData:                         ## @closePrivData
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_15
## %bb.1:
	leaq	56(%r12), %rdi
	callq	_hb_buffer_list_close
	cmpq	$0, 48(%r12)
	je	LBB0_5
## %bb.2:
	movq	16(%r12), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%rax), %esi
	movl	36(%r12), %ecx
	movl	40(%r12), %edx
	leaq	L_.str(%rip), %rdi
	callq	_hb_log
LBB0_5:
	leaq	32(%r12), %rdi
	callq	_av_frame_free
	movq	%r12, %rdi
	callq	_close_video_filters
	movq	24(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_av_parser_close
LBB0_7:
	movq	16(%r12), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	leaq	16(%r12), %r15
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	callq	_hb_avcodec_free_context
	cmpq	$0, (%r15)
	je	LBB0_11
LBB0_10:
	movq	%r15, %rdi
	callq	_hb_avcodec_free_context
LBB0_11:
	movl	8(%r12), %edi
	callq	_hb_audio_resample_free
	movq	_REORDERED_HASH_SZ@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_14
## %bb.12:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_free
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_13
LBB0_14:
	movq	%r12, %rdi
	callq	_free
LBB0_15:
	movq	$0, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s-decoder done: %u frames, %u decoder errors"

	.comm	_REORDERED_HASH_SZ,4,2          ## @REORDERED_HASH_SZ
	.no_dead_strip	_closePrivData
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function closePrivData
_closePrivData:                         ; @closePrivData
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x20, [x0]
	cbz	x20, LBB0_15
; %bb.1:
	add	x0, x20, #56
	bl	_hb_buffer_list_close
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w1, [x8]
	ldp	w3, w2, [x20, #36]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hb_log
LBB0_5:
	add	x0, x20, #32
	bl	_av_frame_free
	mov	x0, x20
	bl	_close_video_filters
	ldr	x0, [x20, #24]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_av_parser_close
LBB0_7:
	mov	x21, x20
	ldr	x8, [x21, #16]!
	cbz	x8, LBB0_11
; %bb.8:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.9:
	mov	x0, x21
	bl	_hb_avcodec_free_context
	ldr	x8, [x21]
	cbz	x8, LBB0_11
LBB0_10:
	mov	x0, x21
	bl	_hb_avcodec_free_context
LBB0_11:
	ldr	w0, [x20, #8]
	bl	_hb_audio_resample_free
Lloh2:
	adrp	x21, _REORDERED_HASH_SZ@GOTPAGE
Lloh3:
	ldr	x21, [x21, _REORDERED_HASH_SZ@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.12:
	mov	x22, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x0, [x8, x22, lsl #3]
	bl	_free
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_13
LBB0_14:
	mov	x0, x20
	bl	_free
LBB0_15:
	str	xzr, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-decoder done: %u frames, %u decoder errors"

	.comm	_REORDERED_HASH_SZ,4,2          ; @REORDERED_HASH_SZ
	.no_dead_strip	_closePrivData
.subsections_via_symbols
