	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function config_input
LCPI0_0:
	.quad	0x40c3880000000000              ## double 1.0E+4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_config_input:                          ## @config_input
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movl	(%rdi), %edi
	movl	40(%rbx), %edx
	movl	44(%rbx), %esi
	callq	_av_rescale
	movl	$1, %edi
	movl	%eax, %esi
	callq	_FFMAX
	movq	%rax, 80(%rbx)
	movq	_VAR_VARS_NB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	imull	4(%r15), %edi
	movl	$8, %esi
	callq	_av_calloc
	movq	%rax, 72(%rbx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movl	(%rbx), %edi
	movl	4(%r15), %esi
	callq	_av_calloc
	movq	%rax, 64(%rbx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movl	4(%r15), %edi
	movl	$1, %esi
	callq	_av_calloc
	movq	%rax, 56(%rbx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	cvtsi2sdl	(%r15), %xmm0
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %eax
	movl	%eax, 4(%rbx)
	movl	8(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.6:
	movq	_find_rms@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_4:
	movq	_find_peak@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	xorl	%r14d, %r14d
	cmpl	$0, 12(%rbx)
	jle	LBB0_9
## %bb.8:
	movq	40(%rbx), %rdi
	callq	_av_q2d
	imull	12(%rbx), %eax
	movl	%eax, %edi
	movl	$1, %esi
	callq	_FFMAX
	movl	%eax, 16(%rbx)
	imull	4(%r15), %eax
	movl	%eax, %edi
	movl	$1, %esi
	callq	_av_calloc
	movq	%rax, 32(%rbx)
	movl	16(%rbx), %edi
	imull	4(%r15), %edi
	movl	$1, %esi
	callq	_av_calloc
	movq	%rax, 24(%rbx)
	jmp	LBB0_9
LBB0_11:
	movq	_AVERROR_BUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VAR_VARS_NB,4,2                ## @VAR_VARS_NB
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_find_peak,4,2                  ## @find_peak
	.comm	_find_rms,4,2                   ## @find_rms
	.comm	_AVERROR_BUG,4,2                ## @AVERROR_BUG
	.no_dead_strip	_config_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function config_input
_config_input:                          ; @config_input
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	ldr	w0, [x0]
	ldp	w2, w1, [x20, #40]
	bl	_av_rescale
	mov	x1, x0
	mov	w0, #1
	bl	_FFMAX
	str	x0, [x20, #80]
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x9, _VAR_VARS_NB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VAR_VARS_NB@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mul	w0, w9, w8
	mov	w1, #8
	bl	_av_calloc
	str	x0, [x20, #72]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	w0, [x20]
	ldr	w1, [x19, #4]
	bl	_av_calloc
	str	x0, [x20, #64]
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w0, [x19, #4]
	mov	w1, #1
	bl	_av_calloc
	str	x0, [x20, #56]
	cbz	x0, LBB0_6
; %bb.3:
	ldr	s0, [x19]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	mov	x8, #149533581377536
	movk	x8, #16579, lsl #48
	fmov	d1, x8
	fdiv	d0, d1, d0
	fcvtzs	w8, d0
	str	w8, [x20, #4]
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_7
; %bb.4:
	cmp	w8, #1
	b.ne	LBB0_10
; %bb.5:
Lloh3:
	adrp	x8, _find_rms@GOTPAGE
Lloh4:
	ldr	x8, [x8, _find_rms@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_7:
Lloh8:
	adrp	x8, _find_peak@GOTPAGE
Lloh9:
	ldr	x8, [x8, _find_peak@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	str	w8, [x20, #48]
	ldr	w8, [x20, #12]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	ldr	x0, [x20, #40]
	bl	_av_q2d
	ldr	w8, [x20, #12]
	mul	w0, w8, w0
	mov	w1, #1
	bl	_FFMAX
	str	w0, [x20, #16]
	ldr	w8, [x19, #4]
	mul	w0, w8, w0
	mov	w1, #1
	bl	_av_calloc
	str	x0, [x20, #32]
	ldr	w8, [x19, #4]
	ldr	w9, [x20, #16]
	mul	w0, w9, w8
	mov	w1, #1
	bl	_av_calloc
	mov	x8, x0
	mov	w0, #0
	str	x8, [x20, #24]
	b	LBB0_12
LBB0_10:
Lloh10:
	adrp	x8, _AVERROR_BUG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVERROR_BUG@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_VAR_VARS_NB,4,2                ; @VAR_VARS_NB
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_find_peak,4,2                  ; @find_peak
	.comm	_find_rms,4,2                   ; @find_rms
	.comm	_AVERROR_BUG,4,2                ; @AVERROR_BUG
	.no_dead_strip	_config_input
.subsections_via_symbols
