	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function config_input
_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r13
	movq	$0, -80(%rbp)
	movl	16(%rdi), %edi
	movl	20(%r13), %edx
	movl	24(%r13), %esi
	callq	_av_rescale
	movl	$1, %edi
	movl	%eax, %esi
	callq	_FFMAX
	movl	%eax, 28(%r13)
	movl	(%rbx), %edi
	movl	%edi, (%r13)
	movq	8(%rbx), %rax
	movq	_AV_SAMPLE_FMT_S16P@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	setne	%dl
	shll	$4, %edx
	addl	$16, %edx
	movl	%edx, 4(%r13)
	movl	$16, %esi
	callq	_av_malloc_array
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movl	16(%r13), %edi
	callq	_av_strdup
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %rbx
	cmpl	$0, (%r13)
	jle	LBB0_9
## %bb.5:
	movl	$3, %r14d
	xorl	%r15d, %r15d
	leaq	-80(%rbp), %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	-64(%rbp), %eax
	movq	8(%r13), %rcx
	leal	-3(%r14), %edx
	movl	%eax, (%rcx,%rdx,4)
	movl	-60(%rbp), %eax
	leal	-2(%r14), %edx
	movl	%eax, (%rcx,%rdx,4)
	movl	-56(%rbp), %eax
	leal	-1(%r14), %edx
	movl	%eax, (%rcx,%rdx,4)
	movl	-52(%rbp), %eax
	movl	%r14d, %edx
	movl	%eax, (%rcx,%rdx,4)
	incq	%r15
	movslq	(%r13), %rax
	addl	$4, %r14d
	cmpq	%rax, %r15
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movaps	L___const.config_input.fg(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	testq	%r15, %r15
	movl	$0, %edi
	cmoveq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	callq	_av_strtok
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	-64(%rbp), %rdi
	movq	%rax, %rsi
	movl	$-1, %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_av_parse_color
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.2:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_9:
	movq	%rbx, %rdi
	callq	_av_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_SAMPLE_FMT_S16P,8,3         ## @AV_SAMPLE_FMT_S16P
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.config_input.fg
L___const.config_input.fg:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" |"

	.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	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
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	x19, [x0, #24]
	ldr	x22, [x19]
	str	xzr, [sp, #24]
	ldr	w0, [x0, #16]
	ldp	w2, w1, [x22, #20]
	bl	_av_rescale
	mov	x1, x0
	mov	w0, #1
	bl	_FFMAX
	str	w0, [x22, #28]
	ldr	w0, [x20]
	str	w0, [x22]
	ldr	x8, [x20, #8]
Lloh3:
	adrp	x9, _AV_SAMPLE_FMT_S16P@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AV_SAMPLE_FMT_S16P@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #32
	mov	w9, #16
	csel	w8, w9, w8, eq
	str	w8, [x22, #4]
	mov	w1, #16
	bl	_av_malloc_array
	str	x0, [x22, #8]
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w0, [x22, #16]
	bl	_av_strdup
	cbz	x0, LBB0_7
; %bb.2:
	mov	x20, x0
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x23, #0
	mov	w24, #3
Lloh6:
	adrp	x8, l___const.config_input.fg@PAGE
Lloh7:
	add	x8, x8, l___const.config_input.fg@PAGEOFF
Lloh8:
	ldr	q0, [x8]
	str	q0, [sp]                        ; 16-byte Folded Spill
Lloh9:
	adrp	x21, l_.str@PAGE
Lloh10:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #32]
	ldr	x9, [x22, #8]
	sub	w10, w24, #3
	str	w8, [x9, w10, uxtw #2]
	ldr	w8, [sp, #36]
	sub	w10, w24, #2
	str	w8, [x9, w10, uxtw #2]
	ldr	w8, [sp, #40]
	sub	w10, w24, #1
	str	w8, [x9, w10, uxtw #2]
	ldr	w8, [sp, #44]
	str	w8, [x9, w24, uxtw #2]
	add	x23, x23, #1
	ldrsw	x8, [x22]
	add	w24, w24, #4
	cmp	x23, x8
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	q0, [sp]                        ; 16-byte Folded Reload
	str	q0, [sp, #32]
	cmp	x23, #0
	csel	x0, x20, xzr, eq
	add	x2, sp, #24
	mov	x1, x21
	bl	_av_strtok
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x0
	add	x0, sp, #32
	mov	w2, #-1
	mov	x3, x19
	bl	_av_parse_color
	b	LBB0_4
LBB0_7:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	x8, [sp, #56]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.8:
	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
	add	sp, sp, #128
	b	_AVERROR
LBB0_9:
	mov	x0, x20
	bl	_av_free
	ldr	x8, [sp, #56]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	w0, #0
	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
	add	sp, sp, #128
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAddLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_SAMPLE_FMT_S16P,8,3         ; @AV_SAMPLE_FMT_S16P
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.config_input.fg
l___const.config_input.fg:
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" |"

	.no_dead_strip	_config_input
.subsections_via_symbols
