	.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	0x0000000000000000              ## double 0
	.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	%rdi, %r15
	movq	16(%rdi), %rax
	movq	(%rax), %rbx
	movl	24(%rbx), %edi
	callq	_av_strdup
	movq	$0, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_18
## %bb.1:
	movq	%rax, %r14
	movl	(%r15), %edi
	movl	%edi, %eax
	shll	$5, %eax
	movl	%eax, (%rbx)
	movl	$1024, %esi                     ## imm = 0x400
	callq	_av_calloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_17
## %bb.2:
	xorl	%r12d, %r12d
	cmpq	$0, 8(%rbx)
	movl	$0, %edi
	cmoveq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdx
	callq	_av_strtok
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	movq	%rax, %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	16(%rbx), %rsi
	shlq	$5, %rax
	leaq	(%rsi,%rax), %rdx
	leaq	(%rsi,%rax), %rdi
	addq	$20, %rdi
	movl	$0, 20(%rsi,%rax)
	leaq	8(%rsi,%rax), %rcx
	leaq	28(%rsi,%rax), %r8
	leaq	24(%rsi,%rax), %r9
	movq	%rdi, (%rsp)
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$5, %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rax
	movq	16(%rbx), %rsi
	shlq	$5, %rax
	leaq	(%rsi,%rax), %rdx
	leaq	(%rsi,%rax), %rcx
	addq	$8, %rcx
	leaq	28(%rsi,%rax), %r8
	leaq	(%rsi,%rax), %r9
	addq	$24, %r9
	movq	%r13, %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$4, %eax
	jne	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	shlq	$5, %rax
	movsd	8(%rcx,%rax), %xmm0             ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	ja	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movsd	8(%r15), %xmm1                  ## xmm1 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm1
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, 16(%rcx,%rax)
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rcx,%rax), %edx
	testl	%edx, %edx
	js	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	(%r15), %edx
	jl	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, 16(%rcx,%rax)
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	20(%rcx,%rax), %edi
	movq	_NB_TYPES@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	decq	%rdx
	xorl	%esi, %esi
	callq	_av_clip
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	shlq	$5, %rcx
	movl	%eax, 20(%rdx,%rcx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_add_filter
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, 8(%rbx)
	movl	$0, %edi
	cmoveq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdx
	callq	_av_strtok
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_5
LBB0_15:
	movq	%r14, %rdi
	callq	_av_free
LBB0_16:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movl	$0, (%rbx)
	movq	%r14, %rdi
	callq	_av_free
LBB0_18:
	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_7:
	movq	%r14, %rdi
	callq	_av_free
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %r12d
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"|"

L_.str.1:                               ## @.str.1
	.asciz	"c%d f=%lf w=%lf g=%lf t=%d"

L_.str.2:                               ## @.str.2
	.asciz	"c%d f=%lf w=%lf g=%lf"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NB_TYPES,8,3                   ## @NB_TYPES
	.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:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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 w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x21, x0
	ldr	x8, [x0, #16]
	ldr	x20, [x8]
	ldr	w0, [x20, #24]
	bl	_av_strdup
	str	xzr, [sp, #8]
	cbz	x0, LBB0_15
; %bb.1:
	mov	x19, x0
	ldr	w0, [x21]
	lsl	w8, w0, #5
	str	w8, [x20]
	mov	w1, #1024
	bl	_av_calloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_14
; %bb.2:
	ldr	x8, [x20, #8]
	cmp	x8, #0
	csel	x0, x19, xzr, eq
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_av_strtok
	cbz	x0, LBB0_16
; %bb.3:
	mov	x25, x0
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh4:
	adrp	x27, _NB_TYPES@GOTPAGE
Lloh5:
	ldr	x27, [x27, _NB_TYPES@GOTPAGEOFF]
	mov	w28, #1
Lloh6:
	adrp	x23, l_.str@PAGE
Lloh7:
	add	x23, x23, l_.str@PAGEOFF
	fmov	d8, #0.50000000
Lloh8:
	adrp	x24, l_.str.2@PAGE
Lloh9:
	add	x24, x24, l_.str.2@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x20, #8]
	add	x2, x8, x9, lsl #5
	mov	x8, x2
	str	wzr, [x8, #20]!
	add	x3, x2, #8
	add	x4, x2, #28
	add	x5, x2, #24
	str	x8, [sp]
	mov	x0, x25
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #5
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x9, x8, [x20, #8]
	add	x2, x8, x9, lsl #5
	add	x3, x2, #8
	add	x4, x2, #28
	add	x5, x2, #24
	mov	x0, x25
	mov	x1, x24
	bl	_sscanf
	cmp	w0, #4
	b.ne	LBB0_19
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	x9, x8, [x20, #8]
	add	x10, x8, x9, lsl #5
	ldr	d0, [x10, #8]
	fcmp	d0, #0.0
	b.mi	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	d1, [x21, #8]
	fmul	d1, d1, d8
	fcmp	d0, d1
	b.le	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w28, [x10, #16]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	x10, x9, #5
	ldr	w10, [x8, x10]
	tbnz	w10, #31, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x21]
	cmp	w10, w11
	b.lt	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x8, x9, lsl #5
	str	w28, [x10, #16]
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, x9, lsl #5
	ldr	w0, [x8, #20]
	ldr	x8, [x27]
	sub	x2, x8, #1
	mov	w1, #0
	bl	_av_clip
	ldp	x9, x8, [x20, #8]
	add	x8, x8, x9, lsl #5
	str	w0, [x8, #20]
	mov	x0, x20
	mov	x1, x21
	bl	_add_filter
	mov	x26, x0
	tbnz	w0, #31, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	cmp	x8, #0
	csel	x0, x19, xzr, eq
	add	x2, sp, #8
	mov	x1, x23
	bl	_av_strtok
	mov	x25, x0
	cbnz	x0, LBB0_4
	b	LBB0_17
LBB0_14:
	str	wzr, [x20]
	mov	x0, x19
	bl	_av_free
LBB0_15:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_AVERROR
LBB0_16:
	mov	w26, #0
LBB0_17:
	mov	x0, x19
	bl	_av_free
LBB0_18:
	mov	x0, x26
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_19:
	mov	x0, x19
	bl	_av_free
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x26, x0
	b	LBB0_18
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"|"

l_.str.1:                               ; @.str.1
	.asciz	"c%d f=%lf w=%lf g=%lf t=%d"

l_.str.2:                               ; @.str.2
	.asciz	"c%d f=%lf w=%lf g=%lf"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NB_TYPES,8,3                   ; @NB_TYPES
	.no_dead_strip	_config_input
.subsections_via_symbols
