	.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	0x408f400000000000              ## double 1000
LCPI0_1:
	.quad	0x4059000000000000              ## double 100
LCPI0_2:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_3:
	.quad	0xc059000000000000              ## double -100
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%r14)
	movl	4(%r14), %eax
	imull	(%rdi), %eax
	cvtsi2sd	%eax, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %eax
	movl	%eax, (%r14)
	movq	_EINVAL@GOTPCREL(%rip), %rbx
	cmpl	$100, %eax
	jl	LBB0_29
## %bb.1:
	movq	%rdi, %r13
	imull	12(%r14), %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	divsd	LCPI0_1(%rip), %xmm0
	cvttsd2si	%xmm0, %edi
	movl	$1, %esi
	callq	_FFMAX
	movl	%eax, 8(%r14)
	movl	(%r14), %edi
	movl	20(%r14), %eax
	imull	%edi, %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %eax
	movl	%eax, 16(%r14)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%edi, %xmm0
	cvtsi2sdl	28(%r14), %xmm1
	divsd	LCPI0_1(%rip), %xmm1
	movsd	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero
	subsd	%xmm1, %xmm2
	mulsd	%xmm0, %xmm2
	cvttsd2si	%xmm2, %eax
	movl	%eax, 24(%r14)
	testl	%eax, %eax
	jle	LBB0_29
## %bb.2:
	movl	$4, %esi
	callq	_av_calloc
	movq	%rax, 32(%r14)
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_29
## %bb.3:
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	movq	_M_PI@GOTPCREL(%rip), %r15
	movq	_M_PI_2@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	imull	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %edi
	callq	_sin
	movsd	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero
	xorps	%xmm0, %xmm0
	cvtsi2sdl	28(%r14), %xmm0
	divsd	LCPI0_3(%rip), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	addsd	%xmm2, %xmm0
	xorps	%xmm2, %xmm2
	cvtsi2sdl	(%r12), %xmm2
	mulsd	%xmm1, %xmm0
	mulsd	%xmm0, %xmm2
	movq	32(%r14), %rax
	cvttsd2si	%xmm2, %ecx
	movl	%ecx, (%rax,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_5
LBB0_6:
	leaq	56(%r14), %rbx
	movq	%rbx, %rdi
	callq	_av_frame_free
	leaq	96(%r14), %r15
	movq	%r15, %rdi
	callq	_av_frame_free
	leaq	88(%r14), %r12
	movq	%r12, %rdi
	callq	_av_frame_free
	leaq	80(%r14), %rdi
	callq	_av_frame_free
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_ff_get_audio_buffer
	movq	%rax, 56(%r14)
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_ff_get_audio_buffer
	movq	%rax, 96(%r14)
	movl	(%r14), %esi
	addl	%esi, %esi
	movq	%r13, %rdi
	callq	_ff_get_audio_buffer
	movq	%rax, 88(%r14)
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_ff_get_audio_buffer
	movq	%rax, 80(%r14)
	cmpq	$0, 56(%r14)
	je	LBB0_7
## %bb.8:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%r15)
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
	je	LBB0_29
## %bb.9:
	cmpq	$0, (%r12)
	je	LBB0_29
## %bb.10:
	testq	%rax, %rax
	je	LBB0_29
## %bb.11:
	movl	4(%r13), %esi
	movl	8(%r13), %edi
	movl	(%r14), %edx
	callq	_av_audio_fifo_alloc
	movl	%eax, 64(%r14)
	testl	%eax, %eax
	je	LBB0_29
## %bb.12:
	cmpq	$0, 72(%r14)
	je	LBB0_13
## %bb.14:
	movl	(%r14), %ecx
	subl	24(%r14), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	movl	%edx, 40(%r14)
	cmpl	$2, %ecx
	jl	LBB0_16
## %bb.15:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	(%rcx), %rsi
	movl	%eax, %edi
	callq	_av_audio_fifo_write
	jmp	LBB0_16
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
LBB0_29:
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_13:
	movl	$0, 40(%r14)
LBB0_16:
	movl	4(%r13), %edi
	movl	%edi, 44(%r14)
	movl	$64, %esi
	callq	_av_calloc
	movq	%rax, 48(%r14)
	testq	%rax, %rax
	je	LBB0_29
## %bb.17:
	cmpl	$0, 4(%r13)
	jle	LBB0_30
## %bb.18:
	movq	%rax, %r15
	movl	$56, %r12d
	movl	$1, %eax
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_av_calloc
	movq	%rax, -16(%r15,%r12)
	movl	8(%r14), %edi
	incl	%edi
	movl	$1, %esi
	callq	_av_calloc
	movq	%rax, (%r15,%r12)
	movl	8(%r14), %edi
	incl	%edi
	movl	$1, %esi
	callq	_av_calloc
	movq	%rax, -8(%r15,%r12)
	movl	8(%r14), %edi
	incl	%edi
	movl	$1, %esi
	callq	_av_calloc
	movq	%rax, -48(%r15,%r12)
	movl	8(%r14), %edi
	movl	$1, %esi
	callq	_av_calloc
	movq	%rax, -56(%r15,%r12)
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_av_calloc
	movq	%rax, -24(%r15,%r12)
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_av_calloc
	movq	%rax, -32(%r15,%r12)
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_av_calloc
	movq	%rax, -40(%r15,%r12)
	cmpq	$0, (%r15,%r12)
	je	LBB0_29
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpq	$0, -8(%r15,%r12)
	je	LBB0_29
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpq	$0, -16(%r15,%r12)
	je	LBB0_29
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpq	$0, -24(%r15,%r12)
	je	LBB0_29
## %bb.25:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpq	$0, -32(%r15,%r12)
	je	LBB0_29
## %bb.26:                              ##   in Loop: Header=BB0_21 Depth=1
	testq	%rax, %rax
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpq	$0, -48(%r15,%r12)
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpq	$0, -56(%r15,%r12)
	je	LBB0_29
## %bb.19:                              ##   in Loop: Header=BB0_21 Depth=1
	movslq	4(%r13), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rax, %rcx
	jge	LBB0_30
## %bb.20:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%rcx, %rax
	movq	48(%r14), %r15
	addq	$64, %r12
	incq	%rax
	jmp	LBB0_21
LBB0_30:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,4,2             ## @AV_NOPTS_VALUE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_M_PI,4,2                       ## @M_PI
	.comm	_M_PI_2,4,2                     ## @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	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	ldr	x8, [x0, #16]
	ldr	x23, [x8]
Lloh0:
	adrp	x8, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x23, #104]
	ldr	w8, [x0]
	ldr	w9, [x23, #4]
	mul	w8, w9, w8
	scvtf	d0, w8
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	fcvtzs	w8, d0
	str	w8, [x23]
	cmp	w8, #100
	b.lt	LBB0_14
; %bb.1:
	mov	x19, x0
	ldr	w9, [x23, #12]
	mul	w8, w9, w8
	scvtf	d0, w8
	mov	x8, #4636737291354636288
	fmov	d8, x8
	fdiv	d0, d0, d8
	fcvtzs	w0, d0
	mov	w1, #1
	bl	_FFMAX
	str	w0, [x23, #8]
	ldr	w0, [x23]
	ldr	w8, [x23, #20]
	mul	w8, w8, w0
	scvtf	d0, w8
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	fcvtzs	w8, d0
	scvtf	d0, w0
	str	w8, [x23, #16]
	ldr	s1, [x23, #28]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fdiv	d1, d1, d8
	fmov	d2, #1.00000000
	fsub	d1, d2, d1
	fmul	d0, d1, d0
	fcvtzs	w8, d0
	str	w8, [x23, #24]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.2:
	mov	w1, #4
	bl	_av_calloc
	str	x0, [x23, #32]
	cbz	x0, LBB0_29
; %bb.3:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x20, #0
Lloh3:
	adrp	x21, _M_PI@GOTPAGE
Lloh4:
	ldr	x21, [x21, _M_PI@GOTPAGEOFF]
	mov	x22, #-4586634745500139520
	fmov	d8, #1.00000000
Lloh5:
	adrp	x24, _M_PI_2@GOTPAGE
Lloh6:
	ldr	x24, [x24, _M_PI_2@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21]
	mul	w9, w9, w20
	sdiv	w0, w9, w8
	bl	_sin
	ldr	s0, [x23, #28]
	scvtf	d1, w0
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fmov	d2, x22
	fdiv	d0, d0, d2
	fadd	d0, d0, d8
	fmul	d0, d0, d1
	ldr	s1, [x24]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fmul	d0, d0, d1
	fcvtzs	w8, d0
	ldr	x9, [x23, #32]
	str	w8, [x9, x20, lsl #2]
	add	x20, x20, #1
	ldrsw	x8, [x23]
	cmp	x20, x8
	b.lt	LBB0_5
LBB0_6:
	add	x20, x23, #56
	mov	x0, x20
	bl	_av_frame_free
	add	x21, x23, #96
	mov	x0, x21
	bl	_av_frame_free
	add	x22, x23, #88
	mov	x0, x22
	bl	_av_frame_free
	add	x0, x23, #80
	bl	_av_frame_free
	ldr	w1, [x23]
	mov	x0, x19
	bl	_ff_get_audio_buffer
	str	x0, [x23, #56]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_ff_get_audio_buffer
	str	x0, [x23, #96]
	ldr	w8, [x23]
	lsl	w1, w8, #1
	mov	x0, x19
	bl	_ff_get_audio_buffer
	str	x0, [x23, #88]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_ff_get_audio_buffer
	str	x0, [x23, #80]
	ldr	x8, [x23, #56]
	cbz	x8, LBB0_29
; %bb.7:
	ldr	x8, [x21]
	cbz	x8, LBB0_29
; %bb.8:
	ldr	x8, [x22]
Lloh7:
	adrp	x21, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x21, [x21, _ENOMEM@GOTPAGEOFF]
	cbz	x8, LBB0_30
; %bb.9:
	cbz	x0, LBB0_30
; %bb.10:
	ldp	w1, w0, [x19, #4]
	ldr	w2, [x23]
	bl	_av_audio_fifo_alloc
	str	w0, [x23, #64]
	cbz	w0, LBB0_29
; %bb.11:
	ldr	x8, [x23, #72]
	cbz	x8, LBB0_15
; %bb.12:
	ldr	w8, [x23]
	ldr	w9, [x23, #24]
	sub	w8, w8, w9
	cmp	w8, #0
	cinc	w9, w8, lt
	asr	w2, w9, #1
	str	w2, [x23, #40]
	cmp	w8, #2
	b.lt	LBB0_16
; %bb.13:
	ldr	x8, [x20]
	ldr	x1, [x8]
	bl	_av_audio_fifo_write
	b	LBB0_16
LBB0_14:
Lloh9:
	adrp	x21, _EINVAL@GOTPAGE
Lloh10:
	ldr	x21, [x21, _EINVAL@GOTPAGEOFF]
	b	LBB0_30
LBB0_15:
	str	wzr, [x23, #40]
LBB0_16:
	ldr	w0, [x19, #4]
	str	w0, [x23, #44]
	mov	w1, #64
	bl	_av_calloc
	str	x0, [x23, #48]
	cbz	x0, LBB0_29
; %bb.17:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.18:
	mov	x20, x0
	mov	x22, #0
	mov	w24, #1
Lloh11:
	adrp	x21, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x21, [x21, _ENOMEM@GOTPAGEOFF]
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	mov	w1, #1
	bl	_av_calloc
	add	x25, x20, x22
	str	x0, [x25, #40]
	ldr	w8, [x23, #8]
	add	w0, w8, #1
	mov	w1, #1
	bl	_av_calloc
	str	x0, [x25, #56]
	ldr	w8, [x23, #8]
	add	w0, w8, #1
	mov	w1, #1
	bl	_av_calloc
	str	x0, [x25, #48]
	ldr	w8, [x23, #8]
	add	w0, w8, #1
	mov	w1, #1
	bl	_av_calloc
	str	x0, [x25, #8]
	ldr	w0, [x23, #8]
	mov	w1, #1
	bl	_av_calloc
	str	x0, [x25]
	ldr	w0, [x23]
	mov	w1, #1
	bl	_av_calloc
	str	x0, [x25, #32]
	ldr	w0, [x23]
	mov	w1, #1
	bl	_av_calloc
	str	x0, [x25, #24]
	ldr	w0, [x23]
	mov	w1, #1
	bl	_av_calloc
	str	x0, [x25, #16]
	ldr	x8, [x25, #56]
	cbz	x8, LBB0_30
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x25, #48]
	cbz	x8, LBB0_30
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x25, #40]
	cbz	x8, LBB0_30
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x25, #32]
	cbz	x8, LBB0_30
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x25, #24]
	cbz	x8, LBB0_30
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=1
	cbz	x0, LBB0_30
; %bb.25:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_30
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x20, x22]
	cbz	x8, LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_19 Depth=1
	ldrsw	x8, [x19, #4]
	cmp	x24, x8
	b.ge	LBB0_31
; %bb.28:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x20, [x23, #48]
	add	x22, x22, #64
	add	x24, x24, #1
	b	LBB0_19
LBB0_29:
Lloh13:
	adrp	x21, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x21, [x21, _ENOMEM@GOTPAGEOFF]
LBB0_30:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	b	_AVERROR
LBB0_31:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,4,2             ; @AV_NOPTS_VALUE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_M_PI,4,2                       ; @M_PI
	.comm	_M_PI_2,4,2                     ; @M_PI_2
	.no_dead_strip	_config_input
.subsections_via_symbols
