	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_header_trees
_decode_header_trees:                   ## @decode_header_trees
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	40(%rdi), %rax
	movq	8(%rax), %rdi
	callq	_AV_RL32
	movl	%eax, %r13d
	movq	40(%rbx), %rax
	movq	8(%rax), %rdi
	addq	$4, %rdi
	callq	_AV_RL32
	movl	%eax, %r12d
	movq	40(%rbx), %rax
	movq	8(%rax), %rdi
	addq	$8, %rdi
	callq	_AV_RL32
	movl	%eax, %r15d
	movq	40(%rbx), %rax
	movq	8(%rax), %rdi
	addq	$12, %rdi
	callq	_AV_RL32
	movl	%eax, %r14d
	movq	40(%rbx), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rsi
	addq	$16, %rsi
	addq	$-16, %rdx
	leaq	-44(%rbp), %rdi
	callq	_init_get_bits8
	testl	%eax, %eax
	js	LBB0_20
## %bb.1:
	leaq	-44(%rbp), %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	leaq	64(%rbx), %rdx
	movq	(%rbx), %rcx
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %r8d
	callq	_smacker_decode_header_tree
	xorl	%r13d, %r13d
	testl	%eax, %eax
	jns	LBB0_6
	jmp	LBB0_20
LBB0_2:
	movq	40(%rbx), %rdi
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movl	$8, %edi
	callq	_av_malloc
	movq	%rax, 64(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	$0, (%rax)
	movq	(%rbx), %rax
	movl	$1, 8(%rax)
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, (%rax)
	movl	$1, %r13d
LBB0_6:
	leaq	-44(%rbp), %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_7
## %bb.9:
	leaq	56(%rbx), %rdx
	movq	8(%rbx), %rcx
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %r8d
	callq	_smacker_decode_header_tree
	testl	%eax, %eax
	jns	LBB0_10
	jmp	LBB0_20
LBB0_7:
	movq	40(%rbx), %rdi
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_av_log
	movl	$8, %edi
	callq	_av_malloc
	movq	%rax, 56(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	incl	%r13d
	movq	$0, (%rax)
	movq	8(%rbx), %rax
	movl	$1, 8(%rax)
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, (%rax)
LBB0_10:
	leaq	-44(%rbp), %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_11
## %bb.13:
	leaq	48(%rbx), %rdx
	movq	16(%rbx), %rcx
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %r8d
	callq	_smacker_decode_header_tree
	testl	%eax, %eax
	jns	LBB0_14
	jmp	LBB0_20
LBB0_11:
	movq	40(%rbx), %rdi
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	callq	_av_log
	movl	$8, %edi
	callq	_av_malloc
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.12:
	incl	%r13d
	movq	$0, (%rax)
	movq	16(%rbx), %rax
	movl	$1, 8(%rax)
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, (%rax)
LBB0_14:
	leaq	-44(%rbp), %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_15
## %bb.17:
	leaq	32(%rbx), %rdx
	movq	24(%rbx), %rcx
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %r8d
	callq	_smacker_decode_header_tree
	testl	%eax, %eax
	jns	LBB0_18
	jmp	LBB0_20
LBB0_15:
	movq	40(%rbx), %rdi
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	callq	_av_log
	movl	$8, %edi
	callq	_av_malloc
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.16:
	incl	%r13d
	movq	$0, (%rax)
	movq	24(%rbx), %rax
	movl	$1, 8(%rax)
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, (%rax)
LBB0_18:
	xorl	%eax, %eax
	cmpl	$4, %r13d
	jne	LBB0_20
## %bb.19:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_20
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Skipping MMAP tree\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Skipping MCLR tree\n"

L_.str.2:                               ## @.str.2
	.asciz	"Skipping FULL tree\n"

L_.str.3:                               ## @.str.3
	.asciz	"Skipping TYPE tree\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_decode_header_trees
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_header_trees
_decode_header_trees:                   ; @decode_header_trees
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x8, [x0, #40]
	ldr	x0, [x8, #8]
	bl	_AV_RL32
	mov	x23, x0
	ldr	x8, [x19, #40]
	ldr	x8, [x8, #8]
	add	x0, x8, #4
	bl	_AV_RL32
	mov	x22, x0
	ldr	x8, [x19, #40]
	ldr	x8, [x8, #8]
	add	x0, x8, #8
	bl	_AV_RL32
	mov	x21, x0
	ldr	x8, [x19, #40]
	ldr	x8, [x8, #8]
	add	x0, x8, #12
	bl	_AV_RL32
	mov	x20, x0
	ldr	x8, [x19, #40]
	ldp	x8, x9, [x8]
	add	x1, x9, #16
	sub	x2, x8, #16
	add	x0, sp, #12
	bl	_init_get_bits8
	tbnz	w0, #31, LBB0_20
; %bb.1:
	add	x0, sp, #12
	bl	_get_bits1
	cbz	w0, LBB0_4
; %bb.2:
	mov	x2, x19
	ldr	x3, [x2], #64
	add	x1, sp, #12
	mov	x0, x19
	mov	x4, x23
	bl	_smacker_decode_header_tree
	tbnz	w0, #31, LBB0_20
; %bb.3:
	mov	w23, #0
	b	LBB0_6
LBB0_4:
	ldr	x0, [x19, #40]
Lloh0:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	mov	w0, #8
	bl	_av_malloc
	str	x0, [x19, #64]
	cbz	x0, LBB0_19
; %bb.5:
	str	xzr, [x0]
	ldr	x8, [x19]
	mov	w23, #1
	str	w23, [x8, #8]
	movi.2s	v0, #1
	str	d0, [x8]
LBB0_6:
	add	x0, sp, #12
	bl	_get_bits1
	cbz	w0, LBB0_8
; %bb.7:
	add	x2, x19, #56
	ldr	x3, [x19, #8]
	add	x1, sp, #12
	mov	x0, x19
	mov	x4, x22
	bl	_smacker_decode_header_tree
	tbz	w0, #31, LBB0_10
	b	LBB0_20
LBB0_8:
	ldr	x0, [x19, #40]
Lloh5:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_av_log
	mov	w0, #8
	bl	_av_malloc
	str	x0, [x19, #56]
	cbz	x0, LBB0_19
; %bb.9:
	add	w23, w23, #1
	str	xzr, [x0]
	ldr	x8, [x19, #8]
	mov	w9, #1
	str	w9, [x8, #8]
	movi.2s	v0, #1
	str	d0, [x8]
LBB0_10:
	add	x0, sp, #12
	bl	_get_bits1
	cbz	w0, LBB0_12
; %bb.11:
	add	x2, x19, #48
	ldr	x3, [x19, #16]
	add	x1, sp, #12
	mov	x0, x19
	mov	x4, x21
	bl	_smacker_decode_header_tree
	tbz	w0, #31, LBB0_14
	b	LBB0_20
LBB0_12:
	ldr	x0, [x19, #40]
Lloh10:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_av_log
	mov	w0, #8
	bl	_av_malloc
	str	x0, [x19, #48]
	cbz	x0, LBB0_19
; %bb.13:
	add	w23, w23, #1
	str	xzr, [x0]
	ldr	x8, [x19, #16]
	mov	w9, #1
	str	w9, [x8, #8]
	movi.2s	v0, #1
	str	d0, [x8]
LBB0_14:
	add	x0, sp, #12
	bl	_get_bits1
	cbz	w0, LBB0_16
; %bb.15:
	add	x2, x19, #32
	ldr	x3, [x19, #24]
	add	x1, sp, #12
	mov	x0, x19
	mov	x4, x20
	bl	_smacker_decode_header_tree
	tbz	w0, #31, LBB0_18
	b	LBB0_20
LBB0_16:
	ldr	x0, [x19, #40]
Lloh15:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str.3@PAGE
Lloh19:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_av_log
	mov	w0, #8
	bl	_av_malloc
	str	x0, [x19, #32]
	cbz	x0, LBB0_19
; %bb.17:
	add	w23, w23, #1
	str	xzr, [x0]
	ldr	x8, [x19, #24]
	mov	w9, #1
	str	w9, [x8, #8]
	movi.2s	v0, #1
	str	d0, [x8]
LBB0_18:
Lloh20:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w23, #4
	csel	w0, w8, wzr, eq
	b	LBB0_20
LBB0_19:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Skipping MMAP tree\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Skipping MCLR tree\n"

l_.str.2:                               ; @.str.2
	.asciz	"Skipping FULL tree\n"

l_.str.3:                               ; @.str.3
	.asciz	"Skipping TYPE tree\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_decode_header_trees
.subsections_via_symbols
