	.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	0x3f747ae147ae147b              ## double 0.0050000000000000001
LCPI0_1:
	.quad	0xbff0000000000000              ## double -1
LCPI0_2:
	.quad	0x4008000000000000              ## double 3
	.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, %r14
	movq	16(%rdi), %rax
	movq	(%rax), %r15
	movl	(%rdi), %edi
	movl	%edi, (%r15)
	movl	$8, %esi
	callq	_av_calloc
	movq	%rax, 48(%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movsd	8(%r14), %xmm1                  ## xmm1 = mem[0],zero
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, 8(%r15)
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.2:
	movl	$1, %edi
	callq	_av_malloc_array
	movq	48(%r15), %rcx
	movq	%rax, (%rcx)
	movq	48(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.3:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movsd	8(%r15), %xmm0                  ## xmm0 = mem[0],zero
	movl	$1, %edi
	callq	_av_malloc_array
	movq	48(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	48(%r15), %rax
	cmpq	$0, (%rax,%rbx,8)
	leaq	1(%rbx), %rbx
	jne	LBB0_4
	jmp	LBB0_6
LBB0_7:
	movsd	8(%r14), %xmm1                  ## xmm1 = mem[0],zero
LBB0_8:
	movq	$0, 40(%r15)
	xorps	%xmm0, %xmm0
	cvtsi2sdl	20(%r15), %xmm0
	divsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %eax
	movl	%eax, 16(%r15)
	cvttpd2dq	%xmm1, %xmm0
	cvtdq2pd	%xmm0, %xmm0
	movl	$1, %edi
	callq	_av_malloc_array
	movq	%rax, 32(%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:
	movq	_WAVE_SIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_AV_SAMPLE_FMT_DBL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorps	%xmm0, %xmm0
	cvtsi2sdl	16(%r15), %xmm0
	movsd	8(%r15), %xmm1                  ## xmm1 = mem[0],zero
	addsd	LCPI0_1(%rip), %xmm1
	cvttsd2si	%xmm1, %ecx
	movq	_M_PI_2@GOTPCREL(%rip), %rdx
	movsd	(%rdx), %xmm2                   ## xmm2 = mem[0],zero
	mulsd	LCPI0_2(%rip), %xmm2
	xorpd	%xmm1, %xmm1
	movq	%rax, %rdx
	callq	_ff_generate_wave_table
	movq	$0, 24(%r15)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_WAVE_SIN,4,2                   ## @WAVE_SIN
	.comm	_AV_SAMPLE_FMT_DBL,4,2          ## @AV_SAMPLE_FMT_DBL
	.comm	_M_PI_2,8,3                     ## @M_PI_2
	.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	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, #16]
	ldr	x20, [x8]
	ldr	w0, [x0]
	str	w0, [x20]
	mov	w1, #8
	bl	_av_calloc
	str	x0, [x20, #48]
	cbz	x0, LBB0_9
; %bb.1:
	ldr	d1, [x19, #8]
	mov	x8, #5243
	movk	x8, #18350, lsl #16
	movk	x8, #31457, lsl #32
	movk	x8, #16244, lsl #48
	fmov	d0, x8
	fmul	d0, d1, d0
	str	d0, [x20, #8]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	w0, #1
	bl	_av_malloc_array
	ldr	x8, [x20, #48]
	str	x0, [x8]
	ldr	x8, [x20, #48]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.3:
	mov	w21, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	d0, [x20, #8]
	mov	w0, #1
	bl	_av_malloc_array
	ldr	x8, [x20, #48]
	lsl	x9, x21, #3
	str	x0, [x8, x9]
	ldr	x8, [x20, #48]
	ldr	x8, [x8, x9]
	add	x21, x21, #1
	cbnz	x8, LBB0_4
	b	LBB0_9
LBB0_6:
	ldr	d1, [x19, #8]
LBB0_7:
	str	xzr, [x20, #40]
	ldr	s0, [x20, #20]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fdiv	d0, d1, d0
	fcvtzs	w8, d0
	str	w8, [x20, #16]
	scvtf	d0, w8
	mov	w0, #1
	bl	_av_malloc_array
	str	x0, [x20, #32]
	cbz	x0, LBB0_9
; %bb.8:
	mov	x2, x0
Lloh0:
	adrp	x8, _WAVE_SIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WAVE_SIN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _AV_SAMPLE_FMT_DBL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_SAMPLE_FMT_DBL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	s0, [x20, #16]
	sshll.2d	v0, v0, #0
	ldr	d1, [x20, #8]
	fmov	d2, #-1.00000000
	fadd	d1, d1, d2
	fcvtzs	w3, d1
	scvtf	d0, d0
Lloh6:
	adrp	x8, _M_PI_2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_PI_2@GOTPAGEOFF]
Lloh8:
	ldr	d1, [x8]
	fmov	d2, #3.00000000
	fmul	d2, d1, d2
	movi	d1, #0000000000000000
	bl	_ff_generate_wave_table
	str	xzr, [x20, #24]
	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_9:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_WAVE_SIN,4,2                   ; @WAVE_SIN
	.comm	_AV_SAMPLE_FMT_DBL,4,2          ; @AV_SAMPLE_FMT_DBL
	.comm	_M_PI_2,8,3                     ; @M_PI_2
	.no_dead_strip	_config_input
.subsections_via_symbols
