	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function config_output
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	16(%rdi), %r15
	movq	(%r15), %r12
	movl	72(%r12), %edi
	movl	8(%r14), %esi
	movq	_AV_TIME_BASE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_av_rescale
	movl	%eax, (%r12)
	movl	68(%r12), %edi
	movl	8(%r14), %esi
	movl	(%rbx), %edx
	callq	_av_rescale
	movl	%eax, 4(%r12)
	movl	$-1, 8(%r12)
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 64(%r12)
	movl	(%r12), %ecx
	leal	(%rcx,%rcx), %r9d
	incl	%r9d
	movl	%r9d, 12(%r12)
	leal	(%rcx,%rax), %edx
	addl	%edx, %edx
	leal	(%rdx,%rcx,2), %edx
	incl	%edx
	movl	%edx, 16(%r12)
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%edx, (%rsp)
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%eax, %r8d
	callq	_av_log
	leaq	40(%r12), %rdi
	callq	_av_frame_free
	leaq	56(%r12), %rdi
	callq	_av_frame_free
	movl	16(%r12), %esi
	movq	%r14, %rdi
	callq	_ff_get_audio_buffer
	movq	%rax, 40(%r12)
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movl	4(%r12), %esi
	addl	%esi, %esi
	movq	%r14, %rdi
	callq	_ff_get_audio_buffer
	movq	%rax, 56(%r12)
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movl	(%r14), %esi
	movl	4(%r14), %edi
	movl	16(%r12), %edx
	callq	_av_audio_fifo_alloc
	movl	%eax, 48(%r12)
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	movq	40(%r12), %rcx
	movq	(%rcx), %rsi
	movl	4(%r12), %edx
	addl	(%r12), %edx
	movl	%eax, %edi
	callq	_av_audio_fifo_write
	testl	%eax, %eax
	js	LBB0_9
## %bb.4:
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	divss	24(%r12), %xmm1
	movq	_WEIGHT_LUT_SIZE@GOTPCREL(%rip), %r14
	movss	(%r14), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm1
	movss	%xmm1, 20(%r12)
	xorps	%xmm0, %xmm0
	ucomiss	%xmm0, %xmm2
	jbe	LBB0_8
## %bb.5:
	divss	%xmm1, %xmm0
	callq	_expf
	movq	32(%r12), %rcx
	movl	%eax, (%rcx)
	movss	(%r14), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	ucomiss	LCPI0_0(%rip), %xmm0
	jbe	LBB0_8
## %bb.6:
	movl	$1, %ebx
	movl	$-1, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r15d, %xmm0
	divss	20(%r12), %xmm0
	callq	_expf
	movq	32(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%ebx, %xmm0
	movss	(%r14), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	decl	%r15d
	ucomiss	%xmm0, %xmm1
	ja	LBB0_7
LBB0_8:
	addq	$28, %r12
	movq	%r12, %rdi
	callq	_ff_anlmdn_init
	xorl	%eax, %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_TIME_BASE,4,2               ## @AV_TIME_BASE
	.comm	_AV_NOPTS_VALUE,4,2             ## @AV_NOPTS_VALUE
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"K:%d S:%d H:%d N:%d\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_WEIGHT_LUT_SIZE,4,2            ## @WEIGHT_LUT_SIZE
	.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	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 b8, -56
	.cfi_offset b9, -64
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	x21, [x20]
	ldr	w0, [x21, #72]
	ldr	w1, [x19, #8]
Lloh0:
	adrp	x22, _AV_TIME_BASE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AV_TIME_BASE@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_av_rescale
	str	w0, [x21]
	ldr	w0, [x21, #68]
	ldr	w1, [x19, #8]
	ldr	w2, [x22]
	bl	_av_rescale
	mov	x4, x0
	mov	w8, #-1
	stp	w4, w8, [x21, #4]
Lloh2:
	adrp	x8, _AV_NOPTS_VALUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x21, #64]
	ldr	w3, [x21]
	mov	w5, #1
	bfi	w5, w3, #1, #31
	add	w8, w3, w4
	add	w6, w5, w8, lsl #1
	stp	w5, w6, [x21, #12]
Lloh5:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_av_log
	add	x0, x21, #40
	bl	_av_frame_free
	add	x0, x21, #56
	bl	_av_frame_free
	ldr	w1, [x21, #16]
	mov	x0, x19
	bl	_ff_get_audio_buffer
	str	x0, [x21, #40]
	cbz	x0, LBB0_10
; %bb.1:
	ldr	w8, [x21, #4]
	lsl	w1, w8, #1
	mov	x0, x19
	bl	_ff_get_audio_buffer
	str	x0, [x21, #56]
	cbz	x0, LBB0_10
; %bb.2:
	ldp	w1, w0, [x19]
	ldr	w2, [x21, #16]
	bl	_av_audio_fifo_alloc
	str	w0, [x21, #48]
	cbz	w0, LBB0_10
; %bb.3:
	ldr	x8, [x21, #40]
	ldr	x1, [x8]
	ldp	w8, w9, [x21]
	add	w2, w9, w8
	bl	_av_audio_fifo_write
	tbnz	w0, #31, LBB0_9
; %bb.4:
	ldr	s0, [x21, #24]
	fmov	s8, #1.00000000
	fdiv	s0, s8, s0
Lloh10:
	adrp	x19, _WEIGHT_LUT_SIZE@GOTPAGE
Lloh11:
	ldr	x19, [x19, _WEIGHT_LUT_SIZE@GOTPAGEOFF]
	ldr	s1, [x19]
	fmul	s0, s0, s1
	str	s0, [x21, #20]
	fcmp	s1, #0.0
	b.le	LBB0_8
; %bb.5:
	movi	d1, #0000000000000000
	fdiv	s0, s1, s0
	bl	_expf
	ldr	x8, [x21, #32]
	str	w0, [x8]
	ldr	s0, [x19]
	fcmp	s0, s8
	b.le	LBB0_8
; %bb.6:
	mov	w20, #-1
	mov	w22, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x21, #20]
	scvtf	s1, w20
	fdiv	s0, s1, s0
	bl	_expf
	ldr	x8, [x21, #32]
	str	w0, [x8, x22, lsl #2]
	add	x22, x22, #1
	scvtf	s0, w22
	ldr	s1, [x19]
	sub	w20, w20, #1
	fcmp	s1, s0
	b.gt	LBB0_7
LBB0_8:
	add	x0, x21, #28
	bl	_ff_anlmdn_init
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_TIME_BASE,4,2               ; @AV_TIME_BASE
	.comm	_AV_NOPTS_VALUE,4,2             ; @AV_NOPTS_VALUE
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"K:%d S:%d H:%d N:%d\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_WEIGHT_LUT_SIZE,4,2            ; @WEIGHT_LUT_SIZE
	.no_dead_strip	_config_output
.subsections_via_symbols
