	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function decavcodecaInit
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_decavcodecaInit:                       ## @decavcodecaInit
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	$1, %edi
	movl	$80, %esi
	callq	_calloc
	movq	%rax, %r14
	movq	%rax, 24(%r12)
	movq	%rbx, 72(%rax)
	movq	8(%r12), %rax
	movq	%rax, 8(%r14)
	movl	36(%rax), %eax
	movl	%eax, 64(%r14)
	leaq	16(%r12), %rax
	testq	%rbx, %rbx
	cmovneq	%rbx, %rax
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 56(%r14)
	movq	(%rax), %rax
	movq	%rax, 40(%r14)
	leaq	48(%r14), %rdi
	callq	_hb_buffer_list_clear
	movl	(%r12), %edi
	callq	_avcodec_find_decoder
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_avcodec_alloc_context3
	movq	%rax, 16(%r14)
	movq	40(%r14), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	(%rcx), %rcx
	movq	8(%r12), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_avcodec_parameters_to_context
	movl	(%r12), %eax
	movq	16(%r14), %rdi
	movl	%eax, (%rdi)
	jmp	LBB0_3
LBB0_2:
	movl	(%r12), %edi
	callq	_av_parser_init
	movl	%eax, 32(%r14)
	movq	16(%r14), %rdi
LBB0_3:
	movq	_AV_SAMPLE_FMT_FLT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rsi
	callq	_hb_ff_set_sample_fmt
	movq	8(%r12), %rax
	movq	_HB_ACODEC_PASS_FLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 40(%rax)
	je	LBB0_4
LBB0_17:
	cmpl	$130, (%r12)
	jne	LBB0_20
## %bb.18:
	movq	8(%r12), %rax
	movq	8(%rax), %rax
	movq	_AV_CH_LAYOUT_MONO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.19:
	movq	_AV_CH_LAYOUT_STEREO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%r14), %rcx
	movl	%eax, 12(%rcx)
LBB0_20:
	movq	$0, -48(%rbp)
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	leaq	-48(%rbp), %rdi
	xorl	%ecx, %ecx
	callq	_av_dict_set
	movq	8(%r12), %rax
	movss	48(%rax), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	jb	LBB0_29
## %bb.21:
	movl	24(%rax), %esi
	movl	28(%rax), %edi
	xorl	%edx, %edx
	callq	_hb_audio_can_apply_drc
	testq	%rax, %rax
	je	LBB0_29
## %bb.22:
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	testq	%r15, %r15
	je	LBB0_26
## %bb.23:
	cmpq	$0, (%r15)
	je	LBB0_26
## %bb.24:
	movq	_AV_OPT_FLAG_DECODING_PARAM@GOTPCREL(%rip), %rax
	movq	_AV_OPT_FLAG_AUDIO_PARAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_AV_OPT_SEARCH_FAKE_OBJ@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	callq	_av_opt_find2
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
LBB0_26:
	movq	8(%r12), %rax
	movss	48(%rax), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_28
## %bb.27:
	movl	52(%rax), %esi
	cvtss2sd	%xmm0, %xmm0
	movss	%xmm1, -52(%rbp)                ## 4-byte Spill
	movss	-52(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	cvtss2sd	%xmm1, %xmm1
	leaq	L_.str.4(%rip), %rdi
	movb	$2, %al
	callq	_hb_log
	movss	-52(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movq	8(%r12), %rax
	movss	%xmm0, 48(%rax)
LBB0_28:
	leaq	L_.str.5(%rip), %rdx
	leaq	-57(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_snprintf
	leaq	L_.str.3(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
LBB0_29:
	movq	16(%r14), %rdi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_hb_avcodec_open
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	leaq	-48(%rbp), %rdi
	callq	_av_dict_free
	leaq	L_.str.6(%rip), %rdi
LBB0_36:
	xorl	%eax, %eax
	callq	_hb_log
LBB0_37:
	movl	$1, %eax
	jmp	LBB0_38
LBB0_4:
	movl	(%rbx), %edi
	movl	32(%rax), %esi
	movl	44(%rax), %edx
	movl	56(%rax), %ecx
	callq	_hb_audio_resample_init
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	$-130, %eax
	addl	(%r12), %eax
	cmpl	$3, %eax
	ja	LBB0_20
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	8(%r12), %rax
	cmpl	$0, 56(%rax)
	jne	LBB0_13
	jmp	LBB0_17
LBB0_31:
	movq	8(%r14), %rax
	movq	16(%r14), %rcx
	movl	20(%rax), %edx
	movl	%edx, 8(%rcx)
	movl	16(%rax), %eax
	movl	%eax, 4(%rcx)
	movq	-48(%rbp), %rdi
	movq	_AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	leaq	L_.str.7(%rip), %rsi
	xorl	%edx, %edx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_34
## %bb.32:
	movq	%rax, %rbx
	leaq	L_.str.8(%rip), %r12
	leaq	L_.str.7(%rip), %r13
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_hb_log
	movq	-48(%rbp), %rdi
	movl	(%r15), %ecx
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_av_dict_get
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_33
LBB0_34:
	leaq	-48(%rbp), %rdi
	callq	_av_dict_free
	xorl	%eax, %eax
	callq	_av_frame_alloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	movl	$0, %eax
	je	LBB0_35
LBB0_38:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_hb_error
	jmp	LBB0_37
LBB0_35:
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_36
LBB0_10:
	movq	8(%r12), %rax
	cmpl	$0, 56(%rax)
	je	LBB0_13
## %bb.11:
	movl	44(%rax), %ecx
	movq	_HB_AMIXDOWN_MONO@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_13
## %bb.12:
	andl	$-2, %ecx
	cmpl	$128, %ecx
	jne	LBB0_17
	jmp	LBB0_13
LBB0_9:
	movq	8(%r12), %rax
	cmpl	$0, 56(%rax)
	jne	LBB0_17
LBB0_13:
	movl	44(%rax), %edi
	movl	%edi, %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_15
## %bb.14:
	movq	_AV_CH_LAYOUT_5POINT1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_16
LBB0_15:
	xorl	%esi, %esi
	callq	_hb_ff_mixdown_xlat
LBB0_16:
	movq	16(%r14), %rcx
	movl	%eax, 12(%rcx)
	jmp	LBB0_17
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_AV_SAMPLE_FMT_FLT,4,2          ## @AV_SAMPLE_FMT_FLT
	.comm	_HB_ACODEC_PASS_FLAG,4,2        ## @HB_ACODEC_PASS_FLAG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"decavcodecaInit: hb_audio_resample_init() failed"

	.comm	_HB_AMIXDOWN_MONO,4,2           ## @HB_AMIXDOWN_MONO
	.comm	_AV_CH_LAYOUT_5POINT1,4,2       ## @AV_CH_LAYOUT_5POINT1
	.comm	_AV_CH_LAYOUT_MONO,8,3          ## @AV_CH_LAYOUT_MONO
	.comm	_AV_CH_LAYOUT_STEREO,4,2        ## @AV_CH_LAYOUT_STEREO
L_.str.1:                               ## @.str.1
	.asciz	"refcounted_frames"

L_.str.2:                               ## @.str.2
	.asciz	"1"

L_.str.3:                               ## @.str.3
	.asciz	"drc_scale"

	.comm	_AV_OPT_FLAG_DECODING_PARAM,4,2 ## @AV_OPT_FLAG_DECODING_PARAM
	.comm	_AV_OPT_FLAG_AUDIO_PARAM,4,2    ## @AV_OPT_FLAG_AUDIO_PARAM
	.comm	_AV_OPT_SEARCH_FAKE_OBJ,4,2     ## @AV_OPT_SEARCH_FAKE_OBJ
L_.str.4:                               ## @.str.4
	.asciz	"decavcodecaInit: track %d, sanitizing out-of-range DRC %.2f to %.2f"

L_.str.5:                               ## @.str.5
	.asciz	"%.2f"

L_.str.6:                               ## @.str.6
	.asciz	"decavcodecaInit: avcodec_open failed"

L_.str.7:                               ## @.str.7
	.space	1

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ## @AV_DICT_IGNORE_SUFFIX
L_.str.8:                               ## @.str.8
	.asciz	"decavcodecaInit: unknown option '%s'"

L_.str.9:                               ## @.str.9
	.asciz	"decavcodecaInit: av_frame_alloc failed"

	.no_dead_strip	_decavcodecaInit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decavcodecaInit
_decavcodecaInit:                       ; @decavcodecaInit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	mov	x20, x1
	mov	x21, x0
	mov	w0, #1
	mov	w1, #80
	bl	_calloc
	mov	x19, x0
	str	x0, [x21, #24]
	str	x20, [x0, #72]
	ldr	x8, [x21, #8]
	str	x8, [x0, #8]
	ldr	w8, [x8, #36]
	str	w8, [x0, #64]
Lloh0:
	adrp	x8, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x0, #56]
	add	x8, x21, #16
	cmp	x20, #0
	csel	x8, x8, x20, eq
	ldr	x8, [x8]
	str	x8, [x0, #40]
	add	x0, x0, #48
	bl	_hb_buffer_list_clear
	ldr	w0, [x21]
	bl	_avcodec_find_decoder
	mov	x20, x0
	bl	_avcodec_alloc_context3
	str	x0, [x19, #16]
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x8]
	ldr	x9, [x21, #8]
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w1, [x8]
	bl	_avcodec_parameters_to_context
	ldr	w8, [x21]
	ldr	x0, [x19, #16]
	str	w8, [x0]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x21]
	bl	_av_parser_init
	str	w0, [x19, #32]
	ldr	x0, [x19, #16]
LBB0_3:
Lloh3:
	adrp	x22, _AV_SAMPLE_FMT_FLT@GOTPAGE
Lloh4:
	ldr	x22, [x22, _AV_SAMPLE_FMT_FLT@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x1, x20
	bl	_hb_ff_set_sample_fmt
	ldr	x8, [x21, #8]
	ldr	w9, [x8, #40]
Lloh5:
	adrp	x10, _HB_ACODEC_PASS_FLAG@GOTPAGE
Lloh6:
	ldr	x10, [x10, _HB_ACODEC_PASS_FLAG@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_15
LBB0_4:
	ldr	w8, [x21]
	cmp	w8, #130
	b.ne	LBB0_7
; %bb.5:
	ldr	x8, [x21, #8]
	ldr	x8, [x8, #8]
Lloh8:
	adrp	x9, _AV_CH_LAYOUT_MONO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AV_CH_LAYOUT_MONO@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh11:
	adrp	x8, _AV_CH_LAYOUT_STEREO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_CH_LAYOUT_STEREO@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	x9, [x19, #16]
	str	w8, [x9, #12]
LBB0_7:
	str	xzr, [sp, #40]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #40
	mov	w3, #0
	bl	_av_dict_set
	ldr	x8, [x21, #8]
	ldr	s0, [x8, #48]
	fcmp	s0, #0.0
	b.lt	LBB0_22
; %bb.8:
	ldp	w1, w0, [x8, #24]
	mov	w2, #0
	bl	_hb_audio_can_apply_drc
	cbz	x0, LBB0_22
; %bb.9:
	fmov	s8, #1.00000000
	cbz	x20, LBB0_13
; %bb.10:
	ldr	x8, [x20]
	cbz	x8, LBB0_13
; %bb.11:
Lloh18:
	adrp	x8, _AV_OPT_FLAG_DECODING_PARAM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AV_OPT_FLAG_DECODING_PARAM@GOTPAGEOFF]
Lloh20:
	adrp	x9, _AV_OPT_FLAG_AUDIO_PARAM@GOTPAGE
Lloh21:
	ldr	x9, [x9, _AV_OPT_FLAG_AUDIO_PARAM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh24:
	adrp	x8, _AV_OPT_SEARCH_FAKE_OBJ@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AV_OPT_SEARCH_FAKE_OBJ@GOTPAGEOFF]
Lloh26:
	ldr	w4, [x8]
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, #0
	mov	x5, #0
	bl	_av_opt_find2
	cbz	x0, LBB0_13
; %bb.12:
	ldr	s8, [x0]
LBB0_13:
	ldr	x8, [x21, #8]
	ldr	s0, [x8, #48]
	fcmp	s0, s8
	b.le	LBB0_20
; %bb.14:
	fcvt	d0, s0
	fcvt	d1, s8
	ldr	w8, [x8, #52]
	str	d1, [sp, #16]
	str	d0, [sp, #8]
	str	x8, [sp]
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_hb_log
	ldr	x8, [x21, #8]
	str	s8, [x8, #48]
	b	LBB0_21
LBB0_15:
	ldr	w0, [x22]
	ldr	w1, [x8, #32]
	ldr	w2, [x8, #44]
	ldr	w3, [x8, #56]
	bl	_hb_audio_resample_init
	str	x0, [x19, #24]
	cbz	x0, LBB0_19
; %bb.16:
	ldr	w8, [x21]
	sub	w8, w8, #130
	cmp	w8, #3
	b.hi	LBB0_7
; %bb.17:
Lloh31:
	adrp	x9, lJTI0_0@PAGE
Lloh32:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_18
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_18:
	ldr	x8, [x21, #8]
	ldr	w9, [x8, #56]
	cbnz	w9, LBB0_37
	b	LBB0_4
LBB0_19:
Lloh33:
	adrp	x0, l_.str@PAGE
Lloh34:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hb_error
	b	LBB0_25
LBB0_20:
	fmov	s8, s0
LBB0_21:
Lloh35:
	adrp	x2, l_.str.5@PAGE
Lloh36:
	add	x2, x2, l_.str.5@PAGEOFF
	add	x0, sp, #35
	mov	w1, #5
	fmov	s0, s8
	bl	_snprintf
Lloh37:
	adrp	x1, l_.str.3@PAGE
Lloh38:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #40
	add	x2, sp, #35
	mov	w3, #0
	bl	_av_dict_set
LBB0_22:
	ldr	x0, [x19, #16]
	add	x2, sp, #40
	mov	x1, x20
	mov	w3, #0
	bl	_hb_avcodec_open
	cbz	x0, LBB0_26
; %bb.23:
	add	x0, sp, #40
	bl	_av_dict_free
Lloh39:
	adrp	x0, l_.str.6@PAGE
Lloh40:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_24:
	bl	_hb_log
LBB0_25:
	mov	w0, #1
	b	LBB0_31
LBB0_26:
	ldp	x8, x9, [x19, #8]
	ldr	d0, [x8, #16]
	stur	d0, [x9, #4]
	ldr	x0, [sp, #40]
Lloh41:
	adrp	x23, _AV_DICT_IGNORE_SUFFIX@GOTPAGE
Lloh42:
	ldr	x23, [x23, _AV_DICT_IGNORE_SUFFIX@GOTPAGEOFF]
	ldr	w3, [x23]
Lloh43:
	adrp	x1, l_.str.7@PAGE
Lloh44:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, #0
	bl	_av_dict_get
	cbz	x0, LBB0_29
; %bb.27:
	mov	x20, x0
Lloh45:
	adrp	x21, l_.str.8@PAGE
Lloh46:
	add	x21, x21, l_.str.8@PAGEOFF
Lloh47:
	adrp	x22, l_.str.7@PAGE
Lloh48:
	add	x22, x22, l_.str.7@PAGEOFF
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	str	x8, [sp]
	mov	x0, x21
	bl	_hb_log
	ldr	x0, [sp, #40]
	ldr	w3, [x23]
	mov	x1, x22
	mov	x2, x20
	bl	_av_dict_get
	mov	x20, x0
	cbnz	x0, LBB0_28
LBB0_29:
	add	x0, sp, #40
	bl	_av_dict_free
	bl	_av_frame_alloc
	str	x0, [x19]
	cbz	x0, LBB0_32
; %bb.30:
	mov	w0, #0
LBB0_31:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_32:
Lloh49:
	adrp	x0, l_.str.9@PAGE
Lloh50:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_24
LBB0_33:
	ldr	x8, [x21, #8]
	ldr	w9, [x8, #56]
	cbz	w9, LBB0_37
; %bb.34:
	ldr	w9, [x8, #44]
Lloh51:
	adrp	x10, _HB_AMIXDOWN_MONO@GOTPAGE
Lloh52:
	ldr	x10, [x10, _HB_AMIXDOWN_MONO@GOTPAGEOFF]
Lloh53:
	ldr	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_37
; %bb.35:
	and	w9, w9, #0xfffffffe
	cmp	w9, #128
	b.ne	LBB0_4
	b	LBB0_37
LBB0_36:
	ldr	x8, [x21, #8]
	ldr	w9, [x8, #56]
	cbnz	w9, LBB0_4
LBB0_37:
	ldr	w0, [x8, #44]
	and	w8, w0, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_39
; %bb.38:
Lloh54:
	adrp	x8, _AV_CH_LAYOUT_5POINT1@GOTPAGE
Lloh55:
	ldr	x8, [x8, _AV_CH_LAYOUT_5POINT1@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
	b	LBB0_40
LBB0_39:
	mov	x1, #0
	bl	_hb_ff_mixdown_xlat
LBB0_40:
	ldr	x8, [x19, #16]
	str	w0, [x8, #12]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_33-LBB0_18)>>2
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_36-LBB0_18)>>2
	.byte	(LBB0_18-LBB0_18)>>2
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_AV_SAMPLE_FMT_FLT,4,2          ; @AV_SAMPLE_FMT_FLT
	.comm	_HB_ACODEC_PASS_FLAG,4,2        ; @HB_ACODEC_PASS_FLAG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"decavcodecaInit: hb_audio_resample_init() failed"

	.comm	_HB_AMIXDOWN_MONO,4,2           ; @HB_AMIXDOWN_MONO
	.comm	_AV_CH_LAYOUT_5POINT1,4,2       ; @AV_CH_LAYOUT_5POINT1
	.comm	_AV_CH_LAYOUT_MONO,8,3          ; @AV_CH_LAYOUT_MONO
	.comm	_AV_CH_LAYOUT_STEREO,4,2        ; @AV_CH_LAYOUT_STEREO
l_.str.1:                               ; @.str.1
	.asciz	"refcounted_frames"

l_.str.2:                               ; @.str.2
	.asciz	"1"

l_.str.3:                               ; @.str.3
	.asciz	"drc_scale"

	.comm	_AV_OPT_FLAG_DECODING_PARAM,4,2 ; @AV_OPT_FLAG_DECODING_PARAM
	.comm	_AV_OPT_FLAG_AUDIO_PARAM,4,2    ; @AV_OPT_FLAG_AUDIO_PARAM
	.comm	_AV_OPT_SEARCH_FAKE_OBJ,4,2     ; @AV_OPT_SEARCH_FAKE_OBJ
l_.str.4:                               ; @.str.4
	.asciz	"decavcodecaInit: track %d, sanitizing out-of-range DRC %.2f to %.2f"

l_.str.5:                               ; @.str.5
	.asciz	"%.2f"

l_.str.6:                               ; @.str.6
	.asciz	"decavcodecaInit: avcodec_open failed"

l_.str.7:                               ; @.str.7
	.space	1

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ; @AV_DICT_IGNORE_SUFFIX
l_.str.8:                               ; @.str.8
	.asciz	"decavcodecaInit: unknown option '%s'"

l_.str.9:                               ; @.str.9
	.asciz	"decavcodecaInit: av_frame_alloc failed"

	.no_dead_strip	_decavcodecaInit
.subsections_via_symbols
