	.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	0x4059000000000000              ## double 100
LCPI0_1:
	.quad	0x3fb999999999999a              ## double 0.10000000000000001
	.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
	cvtsi2sdl	4(%r15), %xmm0
	cvtsi2sdl	8(%r15), %xmm1
	mulsd	LCPI0_0(%rip), %xmm0
	addsd	%xmm1, %xmm0
	movsd	16(%r15), %xmm1                 ## xmm1 = mem[0],zero
	mulsd	LCPI0_1(%rip), %xmm1
	addsd	%xmm0, %xmm1
	movsd	%xmm1, -32(%rbp)                ## 8-byte Spill
	movl	40(%r15), %edi
	callq	_COMP_DELAY_SOUND_FRONT_DELAY
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	mulsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	movl	(%r14), %eax
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	mulsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %ecx
	movl	%ecx, (%r15)
	movq	_COMP_DELAY_MAX_DELAY@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %ebx
	leal	(%rbx,%rbx), %ecx
	cmpl	%eax, %ebx
	jb	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_av_frame_alloc
	movq	%rax, 32(%r15)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	%ebx, 24(%r15)
	movl	8(%r14), %ecx
	movl	%ecx, 8(%rax)
	movl	%ebx, (%rax)
	movl	4(%r14), %ecx
	movl	%ecx, 4(%rax)
	movq	%rax, %rdi
	movl	$32, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_frame_get_buffer            ## TAILCALL
LBB0_3:
	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	_COMP_DELAY_MAX_DELAY,4,2       ## @COMP_DELAY_MAX_DELAY
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.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, #-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	x8, [x0, #16]
	ldr	x20, [x8]
	ldp	s0, s1, [x20, #4]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	mov	x8, #4636737291354636288
	fmov	d2, x8
	fmadd	d0, d0, d2, d1
	ldr	d1, [x20, #16]
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16313, lsl #48
	fmov	d2, x8
	fmadd	d8, d1, d2, d0
	ldr	w0, [x20, #40]
	bl	_COMP_DELAY_SOUND_FRONT_DELAY
	scvtf	d0, w0
	fmul	d0, d8, d0
	ldr	w8, [x19]
	scvtf	d1, w8
	fmul	d0, d0, d1
	fcvtzs	w9, d0
	str	w9, [x20]
Lloh0:
	adrp	x9, _COMP_DELAY_MAX_DELAY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _COMP_DELAY_MAX_DELAY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mul	w8, w9, w8
	mov	w9, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x9
	lsl	w9, w9, #1
	cmp	w21, w8
	b.lo	LBB0_1
; %bb.2:
	bl	_av_frame_alloc
	str	x0, [x20, #32]
	cbz	x0, LBB0_4
; %bb.3:
	str	w21, [x20, #24]
	str	w21, [x0]
	ldur	d0, [x19, #4]
	stur	d0, [x0, #4]
	mov	w1, #32
	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	_av_frame_get_buffer
LBB0_4:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP_DELAY_MAX_DELAY,4,2       ; @COMP_DELAY_MAX_DELAY
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_config_input
.subsections_via_symbols
