	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function config_output
_config_output:                         ## @config_output
	.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	8(%rdi), %rax
	movq	(%rax), %r15
	movl	(%rdi), %edi
	movl	$4, %esi
	callq	_av_calloc
	movq	%rax, 80(%r15)
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	(%r14), %edi
	testl	%edi, %edi
	jle	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	movq	_IDFT_C2R@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_ff_log2
	movl	(%r12), %esi
	movl	%eax, %edi
	callq	_av_rdft_init
	movq	80(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	(%r14), %rdi
	cmpq	%rdi, %rbx
	jl	LBB0_4
LBB0_6:
	movl	%edi, 4(%r15)
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$4, %esi
	callq	_av_malloc_array
	movq	%rax, 32(%r15)
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	cmpl	$0, 4(%r15)
	jle	LBB0_10
## %bb.8:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	72(%r15), %edx
	movl	%edx, (%rax,%rcx,4)
	incq	%rcx
	movslq	4(%r15), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_9
LBB0_10:
	movl	4(%r14), %edi
	movq	_AV_CH_FRONT_CENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_av_get_channel_layout_channel_index
	testl	%eax, %eax
	js	LBB0_12
## %bb.11:
	movq	32(%r15), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edx
	imull	68(%r15), %edx
	movl	%edx, (%rcx,%rax,4)
LBB0_12:
	movl	4(%r14), %edi
	movq	_AV_CH_FRONT_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_av_get_channel_layout_channel_index
	testl	%eax, %eax
	js	LBB0_14
## %bb.13:
	movq	32(%r15), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edx
	imull	64(%r15), %edx
	movl	%edx, (%rcx,%rax,4)
LBB0_14:
	movl	4(%r14), %edi
	movq	_AV_CH_FRONT_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_av_get_channel_layout_channel_index
	testl	%eax, %eax
	js	LBB0_16
## %bb.15:
	movq	32(%r15), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edx
	imull	60(%r15), %edx
	movl	%edx, (%rcx,%rax,4)
LBB0_16:
	movl	4(%r14), %edi
	movq	_AV_CH_SIDE_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_av_get_channel_layout_channel_index
	testl	%eax, %eax
	js	LBB0_18
## %bb.17:
	movq	32(%r15), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edx
	imull	56(%r15), %edx
	movl	%edx, (%rcx,%rax,4)
LBB0_18:
	movl	4(%r14), %edi
	movq	_AV_CH_SIDE_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_av_get_channel_layout_channel_index
	testl	%eax, %eax
	js	LBB0_20
## %bb.19:
	movq	32(%r15), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edx
	imull	52(%r15), %edx
	movl	%edx, (%rcx,%rax,4)
LBB0_20:
	movl	4(%r14), %edi
	movq	_AV_CH_BACK_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_av_get_channel_layout_channel_index
	testl	%eax, %eax
	js	LBB0_22
## %bb.21:
	movq	32(%r15), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edx
	imull	48(%r15), %edx
	movl	%edx, (%rcx,%rax,4)
LBB0_22:
	movl	4(%r14), %edi
	movq	_AV_CH_BACK_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_av_get_channel_layout_channel_index
	testl	%eax, %eax
	js	LBB0_24
## %bb.23:
	movq	32(%r15), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edx
	imull	44(%r15), %edx
	movl	%edx, (%rcx,%rax,4)
LBB0_24:
	movl	4(%r14), %edi
	movq	_AV_CH_BACK_CENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_av_get_channel_layout_channel_index
	testl	%eax, %eax
	js	LBB0_26
## %bb.25:
	movq	32(%r15), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edx
	imull	40(%r15), %edx
	movl	%edx, (%rcx,%rax,4)
LBB0_26:
	movl	4(%r14), %edi
	movq	_AV_CH_LOW_FREQUENCY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_av_get_channel_layout_channel_index
	testl	%eax, %eax
	js	LBB0_28
## %bb.27:
	movq	32(%r15), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edx
	imull	24(%r15), %edx
	movl	%edx, (%rcx,%rax,4)
LBB0_28:
	movl	(%r15), %esi
	addl	%esi, %esi
	movq	%r14, %rdi
	callq	_ff_get_audio_buffer
	movq	%rax, 8(%r15)
	movl	(%r15), %esi
	addl	%esi, %esi
	movq	%r14, %rdi
	callq	_ff_get_audio_buffer
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_5
## %bb.29:
	cmpq	$0, 8(%r15)
	je	LBB0_5
## %bb.30:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IDFT_C2R,4,2                   ## @IDFT_C2R
	.comm	_AV_CH_FRONT_CENTER,4,2         ## @AV_CH_FRONT_CENTER
	.comm	_AV_CH_FRONT_LEFT,4,2           ## @AV_CH_FRONT_LEFT
	.comm	_AV_CH_FRONT_RIGHT,4,2          ## @AV_CH_FRONT_RIGHT
	.comm	_AV_CH_SIDE_LEFT,4,2            ## @AV_CH_SIDE_LEFT
	.comm	_AV_CH_SIDE_RIGHT,4,2           ## @AV_CH_SIDE_RIGHT
	.comm	_AV_CH_BACK_LEFT,4,2            ## @AV_CH_BACK_LEFT
	.comm	_AV_CH_BACK_RIGHT,4,2           ## @AV_CH_BACK_RIGHT
	.comm	_AV_CH_BACK_CENTER,4,2          ## @AV_CH_BACK_CENTER
	.comm	_AV_CH_LOW_FREQUENCY,4,2        ## @AV_CH_LOW_FREQUENCY
	.no_dead_strip	_config_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function config_output
_config_output:                         ; @config_output
	.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	x8, [x0, #8]
	ldr	x20, [x8]
	ldr	w0, [x0]
	mov	w1, #4
	bl	_av_calloc
	str	x0, [x20, #80]
	cbz	x0, LBB0_30
; %bb.1:
	ldr	w0, [x19]
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x21, #0
Lloh0:
	adrp	x22, _IDFT_C2R@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IDFT_C2R@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_ff_log2
	ldr	w1, [x22]
	bl	_av_rdft_init
	ldr	x8, [x20, #80]
	str	w0, [x8, x21, lsl #2]
	cbz	w0, LBB0_30
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldrsw	x0, [x19]
	cmp	x21, x0
	b.lt	LBB0_3
LBB0_5:
	str	w0, [x20, #4]
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #4
	bl	_av_malloc_array
	str	x0, [x20, #32]
	cbz	x0, LBB0_30
; %bb.6:
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x8, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20, #72]
	str	w9, [x0, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x9, [x20, #4]
	cmp	x8, x9
	b.lt	LBB0_8
LBB0_9:
	ldr	w0, [x19, #4]
Lloh2:
	adrp	x8, _AV_CH_FRONT_CENTER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_CH_FRONT_CENTER@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_av_get_channel_layout_channel_index
	tbnz	w0, #31, LBB0_11
; %bb.10:
	ldr	w8, [x20, #68]
	ldr	x9, [x20, #32]
	mov	w10, w0
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	mul	w8, w11, w8
	str	w8, [x9, x10]
LBB0_11:
	ldr	w0, [x19, #4]
Lloh5:
	adrp	x8, _AV_CH_FRONT_LEFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_CH_FRONT_LEFT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_av_get_channel_layout_channel_index
	tbnz	w0, #31, LBB0_13
; %bb.12:
	ldr	w8, [x20, #64]
	ldr	x9, [x20, #32]
	mov	w10, w0
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	mul	w8, w11, w8
	str	w8, [x9, x10]
LBB0_13:
	ldr	w0, [x19, #4]
Lloh8:
	adrp	x8, _AV_CH_FRONT_RIGHT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_CH_FRONT_RIGHT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_av_get_channel_layout_channel_index
	tbnz	w0, #31, LBB0_15
; %bb.14:
	ldr	w8, [x20, #60]
	ldr	x9, [x20, #32]
	mov	w10, w0
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	mul	w8, w11, w8
	str	w8, [x9, x10]
LBB0_15:
	ldr	w0, [x19, #4]
Lloh11:
	adrp	x8, _AV_CH_SIDE_LEFT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_CH_SIDE_LEFT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_av_get_channel_layout_channel_index
	tbnz	w0, #31, LBB0_17
; %bb.16:
	ldr	w8, [x20, #56]
	ldr	x9, [x20, #32]
	mov	w10, w0
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	mul	w8, w11, w8
	str	w8, [x9, x10]
LBB0_17:
	ldr	w0, [x19, #4]
Lloh14:
	adrp	x8, _AV_CH_SIDE_RIGHT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AV_CH_SIDE_RIGHT@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_av_get_channel_layout_channel_index
	tbnz	w0, #31, LBB0_19
; %bb.18:
	ldr	w8, [x20, #52]
	ldr	x9, [x20, #32]
	mov	w10, w0
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	mul	w8, w11, w8
	str	w8, [x9, x10]
LBB0_19:
	ldr	w0, [x19, #4]
Lloh17:
	adrp	x8, _AV_CH_BACK_LEFT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AV_CH_BACK_LEFT@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_av_get_channel_layout_channel_index
	tbnz	w0, #31, LBB0_21
; %bb.20:
	ldr	w8, [x20, #48]
	ldr	x9, [x20, #32]
	mov	w10, w0
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	mul	w8, w11, w8
	str	w8, [x9, x10]
LBB0_21:
	ldr	w0, [x19, #4]
Lloh20:
	adrp	x8, _AV_CH_BACK_RIGHT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AV_CH_BACK_RIGHT@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_av_get_channel_layout_channel_index
	tbnz	w0, #31, LBB0_23
; %bb.22:
	ldr	w8, [x20, #44]
	ldr	x9, [x20, #32]
	mov	w10, w0
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	mul	w8, w11, w8
	str	w8, [x9, x10]
LBB0_23:
	ldr	w0, [x19, #4]
Lloh23:
	adrp	x8, _AV_CH_BACK_CENTER@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AV_CH_BACK_CENTER@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_av_get_channel_layout_channel_index
	tbnz	w0, #31, LBB0_25
; %bb.24:
	ldr	w8, [x20, #40]
	ldr	x9, [x20, #32]
	mov	w10, w0
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	mul	w8, w11, w8
	str	w8, [x9, x10]
LBB0_25:
	ldr	w0, [x19, #4]
Lloh26:
	adrp	x8, _AV_CH_LOW_FREQUENCY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AV_CH_LOW_FREQUENCY@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_av_get_channel_layout_channel_index
	tbnz	w0, #31, LBB0_27
; %bb.26:
	ldr	w8, [x20, #24]
	ldr	x9, [x20, #32]
	mov	w10, w0
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	mul	w8, w11, w8
	str	w8, [x9, x10]
LBB0_27:
	ldr	w8, [x20]
	lsl	w1, w8, #1
	mov	x0, x19
	bl	_ff_get_audio_buffer
	str	x0, [x20, #8]
	ldr	w8, [x20]
	lsl	w1, w8, #1
	mov	x0, x19
	bl	_ff_get_audio_buffer
	str	x0, [x20, #16]
	cbz	x0, LBB0_30
; %bb.28:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_30
; %bb.29:
	mov	w0, #0
	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
LBB0_30:
Lloh29:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	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
	b	_AVERROR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IDFT_C2R,4,2                   ; @IDFT_C2R
	.comm	_AV_CH_FRONT_CENTER,4,2         ; @AV_CH_FRONT_CENTER
	.comm	_AV_CH_FRONT_LEFT,4,2           ; @AV_CH_FRONT_LEFT
	.comm	_AV_CH_FRONT_RIGHT,4,2          ; @AV_CH_FRONT_RIGHT
	.comm	_AV_CH_SIDE_LEFT,4,2            ; @AV_CH_SIDE_LEFT
	.comm	_AV_CH_SIDE_RIGHT,4,2           ; @AV_CH_SIDE_RIGHT
	.comm	_AV_CH_BACK_LEFT,4,2            ; @AV_CH_BACK_LEFT
	.comm	_AV_CH_BACK_RIGHT,4,2           ; @AV_CH_BACK_RIGHT
	.comm	_AV_CH_BACK_CENTER,4,2          ; @AV_CH_BACK_CENTER
	.comm	_AV_CH_LOW_FREQUENCY,4,2        ; @AV_CH_LOW_FREQUENCY
	.no_dead_strip	_config_output
.subsections_via_symbols
