	.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	0x3fe0000000000000              ## double 0.5
LCPI0_1:
	.quad	0x3fe147ae147ae148              ## double 0.54000000000000004
LCPI0_2:
	.quad	0x3ff570a3d70a3d71              ## double 1.3400000000000001
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	movl	(%rdi), %r15d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	4(%rdi), %edi
	movl	$16, %esi
	callq	_av_calloc
	movq	%rax, 24(%r13)
	testq	%rax, %rax
	je	LBB0_19
## %bb.1:
	movl	(%r13), %eax
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$2, %eax
	je	LBB0_6
## %bb.4:
                                        ## implicit-def: $xmm0
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.5:
	movq	_M_SQRT1_2@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movl	$2, %eax
	jmp	LBB0_7
LBB0_19:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_2:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movl	$1, %eax
	jmp	LBB0_7
LBB0_6:
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	movl	$4, %eax
LBB0_7:
	movl	%eax, 4(%r13)
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_18
## %bb.9:
	movl	8(%r13), %eax
	xorl	%r14d, %r14d
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %ecx
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r14
	movslq	%ecx, %rdx
	cmpq	%rdx, %r14
	jge	LBB0_18
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	testl	%eax, %eax
	js	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	$-1, %rbx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=2
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movl	%r15d, %edx
	callq	_set_lp
	movl	$1, %edi
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	16(%r13), %rax
	movq	24(%r13), %rcx
	movq	(%rcx,%r12), %rcx
	shlq	$2, %rdi
	addq	8(%rcx,%rbx,8), %rdi
	movl	4(%rax,%rbx,4), %esi
	movl	%r15d, %edx
	callq	_set_hp
	movslq	8(%r13), %rax
	incq	%rbx
	cmpq	%rax, %rbx
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	jge	LBB0_16
LBB0_12:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r13), %rax
	movq	24(%r13), %rcx
	movq	%r14, %r12
	shlq	$4, %r12
	movq	8(%rcx,%r12), %rcx
	movq	8(%rcx,%rbx,8), %rdi
	movl	4(%rax,%rbx,4), %esi
	movl	%r15d, %edx
	callq	_set_lp
	movq	16(%r13), %rax
	movq	24(%r13), %rcx
	movq	(%rcx,%r12), %rcx
	movq	8(%rcx,%rbx,8), %rdi
	movl	4(%rax,%rbx,4), %esi
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movl	%r15d, %edx
	callq	_set_hp
	movq	24(%r13), %rax
	movq	8(%rax,%r12), %rax
	movq	8(%rax,%rbx,8), %rdi
	addq	$4, %rdi
	cmpl	$2, (%r13)
	movq	16(%r13), %rax
	movl	4(%rax,%rbx,4), %esi
	jl	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movsd	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero
	movl	%r15d, %edx
	callq	_set_lp
	movq	16(%r13), %rax
	movq	24(%r13), %rcx
	movq	(%rcx,%r12), %rcx
	movq	8(%rcx,%rbx,8), %rdi
	addq	$4, %rdi
	movl	4(%rax,%rbx,4), %esi
	movsd	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero
	movl	%r15d, %edx
	callq	_set_hp
	movq	16(%r13), %rax
	movq	24(%r13), %rcx
	movq	8(%rcx,%r12), %rcx
	movq	8(%rcx,%rbx,8), %rdi
	addq	$8, %rdi
	movl	4(%rax,%rbx,4), %esi
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movl	%r15d, %edx
	callq	_set_lp
	movq	16(%r13), %rax
	movq	24(%r13), %rcx
	movq	(%rcx,%r12), %rcx
	movq	8(%rcx,%rbx,8), %rdi
	addq	$8, %rdi
	movl	4(%rax,%rbx,4), %esi
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movl	%r15d, %edx
	callq	_set_hp
	movq	16(%r13), %rax
	movq	24(%r13), %rcx
	movq	8(%rcx,%r12), %rcx
	movq	8(%rcx,%rbx,8), %rdi
	addq	$12, %rdi
	movl	4(%rax,%rbx,4), %esi
	movsd	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero
	movl	%r15d, %edx
	callq	_set_lp
	movl	$3, %edi
	movsd	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero
	jmp	LBB0_15
LBB0_18:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_M_SQRT1_2,8,3                  ## @M_SQRT1_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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x21, [x8]
	ldp	w20, w0, [x0]
	mov	w1, #16
	bl	_av_calloc
	str	x0, [x21, #24]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x21]
	cbz	w8, LBB0_6
; %bb.2:
	cmp	w8, #2
	b.eq	LBB0_7
; %bb.3:
                                        ; implicit-def: $d8
	cmp	w8, #1
	b.ne	LBB0_9
; %bb.4:
Lloh0:
	adrp	x8, _M_SQRT1_2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_SQRT1_2@GOTPAGEOFF]
Lloh2:
	ldr	d8, [x8]
	mov	w8, #2
	b	LBB0_8
LBB0_5:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	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_6:
	fmov	d8, #0.50000000
	mov	w8, #1
	b	LBB0_8
LBB0_7:
	mov	w8, #4
	mov	x9, #57672
	movk	x9, #5242, lsl #16
	movk	x9, #18350, lsl #32
	movk	x9, #16353, lsl #48
	fmov	d8, x9
LBB0_8:
	str	w8, [x21, #4]
LBB0_9:
	ldr	w9, [x19, #4]
	cmp	w9, #1
	b.lt	LBB0_19
; %bb.10:
	mov	x22, #0
	ldr	w8, [x21, #8]
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w9, [x19, #4]
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x22, x22, #1
	cmp	x22, w9, sxtw
	b.ge	LBB0_19
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	tbnz	w8, #31, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x23, #0
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=2
	fmov	d0, d8
	mov	x2, x20
	bl	_set_lp
	mov	w8, #1
	fmov	d9, d8
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	ldp	x10, x9, [x21, #16]
	ldr	x9, [x9, x24]
	ldr	x9, [x9, x23, lsl #3]
	add	x0, x9, x8, lsl #2
	ldr	w1, [x10, x23, lsl #2]
	fmov	d0, d9
	mov	x2, x20
	bl	_set_hp
	add	x9, x23, #1
	ldrsw	x8, [x21, #8]
	cmp	x23, x8
	mov	x23, x9
	b.ge	LBB0_11
LBB0_17:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x24, x22, #4
	ldp	x9, x8, [x21, #16]
	add	x8, x8, x24
	ldr	x8, [x8, #8]
	lsl	x25, x23, #3
	ldr	x0, [x8, x25]
	lsl	x26, x23, #2
	ldr	w1, [x9, x26]
	fmov	d0, d8
	mov	x2, x20
	bl	_set_lp
	ldp	x9, x8, [x21, #16]
	ldr	x8, [x8, x24]
	ldr	x0, [x8, x25]
	ldr	w1, [x9, x26]
	fmov	d0, d8
	mov	x2, x20
	bl	_set_hp
	ldr	w8, [x21]
	ldp	x10, x9, [x21, #16]
	add	x9, x9, x24
	ldr	x9, [x9, #8]
	ldr	x9, [x9, x25]
	add	x0, x9, #4
	ldr	w1, [x10, x26]
	cmp	w8, #2
	b.lt	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	x8, #15729
	movk	x8, #55050, lsl #16
	movk	x8, #28835, lsl #32
	movk	x8, #16373, lsl #48
	fmov	d9, x8
	fmov	d0, d9
	mov	x2, x20
	bl	_set_lp
	ldp	x9, x8, [x21, #16]
	ldr	x8, [x8, x24]
	ldr	x8, [x8, x25]
	add	x0, x8, #4
	ldr	w1, [x9, x26]
	fmov	d0, d9
	mov	x2, x20
	bl	_set_hp
	ldp	x9, x8, [x21, #16]
	add	x8, x8, x24
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x25]
	add	x0, x8, #8
	ldr	w1, [x9, x26]
	fmov	d0, d8
	mov	x2, x20
	bl	_set_lp
	ldp	x9, x8, [x21, #16]
	ldr	x8, [x8, x24]
	ldr	x8, [x8, x25]
	add	x0, x8, #8
	ldr	w1, [x9, x26]
	fmov	d0, d8
	mov	x2, x20
	bl	_set_hp
	ldp	x9, x8, [x21, #16]
	add	x8, x8, x24
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x25]
	add	x0, x8, #12
	ldr	w1, [x9, x26]
	fmov	d0, d9
	mov	x2, x20
	bl	_set_lp
	mov	w8, #3
	b	LBB0_16
LBB0_19:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_M_SQRT1_2,8,3                  ; @M_SQRT1_2
	.no_dead_strip	_config_input
.subsections_via_symbols
