	.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, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rbx
	movq	(%rbx), %r12
	movl	(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r14
	movl	(%rax), %eax
	movq	_AV_PIX_FMT_FLAG_RGB@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	je	LBB0_2
## %bb.1:
	movq	_PLANE_R@GOTPCREL(%rip), %rdx
	movq	_PLANE_G@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movq	_PLANE_B@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	jmp	LBB0_3
LBB0_2:
	movq	_PLANE_U@GOTPCREL(%rip), %rcx
	movq	_PLANE_V@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_PLANE_Y@GOTPCREL(%rip), %rsi
	xorl	%ecx, %ecx
	cmpl	$3, 4(%r14)
	cmovgel	%edx, %ecx
	orl	(%rsi), %ecx
LBB0_3:
	movq	_AV_PIX_FMT_FLAG_ALPHA@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	je	LBB0_5
## %bb.4:
	movq	_PLANE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	orl	%ecx, %eax
	notl	%eax
	testl	%eax, (%r12)
	je	LBB0_8
## %bb.6:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_8:
	movl	24(%r12), %edi
	movl	(%r15), %esi
	movl	4(%r15), %edx
	callq	_av_image_fill_linesizes
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	movq	8(%r14), %rax
	movl	(%rax), %eax
	sarl	$3, %eax
	movl	%eax, 4(%r12)
	movq	%r14, %rdi
	callq	_av_get_padded_bits_per_pixel
	sarl	$3, %eax
	movl	%eax, 8(%r12)
	movl	(%r14), %eax
	movq	_AV_PIX_FMT_FLAG_PLANAR@GOTPCREL(%rip), %rdx
	xorl	%ebx, %ebx
	movl	$0, %ecx
	testl	%eax, (%rdx)
	jne	LBB0_12
## %bb.11:
	xorl	%ecx, %ecx
	cmpl	$2, 4(%r14)
	setge	%cl
LBB0_12:
	movl	%ecx, 12(%r12)
	testl	%eax, (%r13)
	je	LBB0_14
## %bb.13:
	movl	(%r15), %esi
	leaq	-80(%rbp), %rdi
	callq	_ff_fill_rgba_map
	movq	16(%r12), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rdx
	movq	-80(%rbp,%rcx,8), %rcx
	movq	%rcx, (%rax)
	movq	-80(%rbp,%rdx,8), %rcx
	movq	%rcx, 8(%rax)
	movq	16(%rax), %rcx
	movq	-80(%rbp,%rcx,8), %rcx
	movq	%rcx, 16(%rax)
	movq	24(%rax), %rcx
	movq	-80(%rbp,%rcx,8), %rcx
	movq	%rcx, 24(%rax)
	jmp	LBB0_14
LBB0_9:
	movl	%eax, %ebx
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_FLAG_RGB,4,2        ## @AV_PIX_FMT_FLAG_RGB
	.comm	_PLANE_R,4,2                    ## @PLANE_R
	.comm	_PLANE_G,4,2                    ## @PLANE_G
	.comm	_PLANE_B,4,2                    ## @PLANE_B
	.comm	_PLANE_Y,4,2                    ## @PLANE_Y
	.comm	_PLANE_U,4,2                    ## @PLANE_U
	.comm	_PLANE_V,4,2                    ## @PLANE_V
	.comm	_AV_PIX_FMT_FLAG_ALPHA,4,2      ## @AV_PIX_FMT_FLAG_ALPHA
	.comm	_PLANE_A,4,2                    ## @PLANE_A
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Requested planes not available.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AV_PIX_FMT_FLAG_PLANAR,4,2     ## @AV_PIX_FMT_FLAG_PLANAR
	.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, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x21, [x0, #8]
	ldr	x22, [x21]
	ldr	w0, [x0]
	bl	_av_pix_fmt_desc_get
	mov	x20, x0
	ldr	w8, [x0]
Lloh3:
	adrp	x23, _AV_PIX_FMT_FLAG_RGB@GOTPAGE
Lloh4:
	ldr	x23, [x23, _AV_PIX_FMT_FLAG_RGB@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x9, _PLANE_R@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PLANE_R@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _PLANE_G@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PLANE_G@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh11:
	adrp	x10, _PLANE_B@GOTPAGE
Lloh12:
	ldr	x10, [x10, _PLANE_B@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	orr	w9, w9, w10
	b	LBB0_3
LBB0_2:
Lloh14:
	adrp	x9, _PLANE_Y@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PLANE_Y@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	ldr	w10, [x20, #4]
Lloh17:
	adrp	x11, _PLANE_U@GOTPAGE
Lloh18:
	ldr	x11, [x11, _PLANE_U@GOTPAGEOFF]
Lloh19:
	adrp	x12, _PLANE_V@GOTPAGE
Lloh20:
	ldr	x12, [x12, _PLANE_V@GOTPAGEOFF]
Lloh21:
	ldr	w11, [x11]
Lloh22:
	ldr	w12, [x12]
	orr	w11, w12, w11
	cmp	w10, #2
	csel	w10, w11, wzr, gt
	orr	w9, w10, w9
LBB0_3:
Lloh23:
	adrp	x10, _AV_PIX_FMT_FLAG_ALPHA@GOTPAGE
Lloh24:
	ldr	x10, [x10, _AV_PIX_FMT_FLAG_ALPHA@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
Lloh26:
	adrp	x11, _PLANE_A@GOTPAGE
Lloh27:
	ldr	x11, [x11, _PLANE_A@GOTPAGEOFF]
Lloh28:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w8, wzr, w11, eq
	orr	w8, w8, w9
	ldr	w9, [x22]
	bics	wzr, w9, w8
	b.eq	LBB0_6
; %bb.4:
Lloh29:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x2, l_.str@PAGE
Lloh33:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_av_log
Lloh34:
	adrp	x8, _EINVAL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldr	x8, [sp, #40]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_AVERROR
LBB0_6:
	ldr	w0, [x22, #24]
	ldp	w1, w2, [x19]
	bl	_av_image_fill_linesizes
	tbnz	w0, #31, LBB0_13
; %bb.7:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	asr	w8, w8, #3
	str	w8, [x22, #4]
	mov	x0, x20
	bl	_av_get_padded_bits_per_pixel
	asr	w8, w0, #3
	str	w8, [x22, #8]
	ldr	w8, [x20]
Lloh40:
	adrp	x9, _AV_PIX_FMT_FLAG_PLANAR@GOTPAGE
Lloh41:
	ldr	x9, [x9, _AV_PIX_FMT_FLAG_PLANAR@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	mov	w9, #0
	b	LBB0_10
LBB0_9:
	ldr	w9, [x20, #4]
	cmp	w9, #1
	cset	w9, gt
LBB0_10:
	str	w9, [x22, #12]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	ldr	w1, [x19]
	add	x19, sp, #8
	add	x0, sp, #8
	bl	_ff_fill_rgba_map
	mov	w0, #0
	ldr	x8, [x22, #16]
	ldp	x9, x10, [x8]
	ldr	x9, [x19, x9, lsl #3]
	str	x9, [x8]
	ldr	x9, [x19, x10, lsl #3]
	str	x9, [x8, #8]
	ldp	x9, x10, [x8, #16]
	ldr	x9, [x19, x9, lsl #3]
	str	x9, [x8, #16]
	ldr	x9, [x19, x10, lsl #3]
	str	x9, [x8, #24]
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldr	x8, [sp, #40]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh21
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_FLAG_RGB,4,2        ; @AV_PIX_FMT_FLAG_RGB
	.comm	_PLANE_R,4,2                    ; @PLANE_R
	.comm	_PLANE_G,4,2                    ; @PLANE_G
	.comm	_PLANE_B,4,2                    ; @PLANE_B
	.comm	_PLANE_Y,4,2                    ; @PLANE_Y
	.comm	_PLANE_U,4,2                    ; @PLANE_U
	.comm	_PLANE_V,4,2                    ; @PLANE_V
	.comm	_AV_PIX_FMT_FLAG_ALPHA,4,2      ; @AV_PIX_FMT_FLAG_ALPHA
	.comm	_PLANE_A,4,2                    ; @PLANE_A
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Requested planes not available.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AV_PIX_FMT_FLAG_PLANAR,4,2     ; @AV_PIX_FMT_FLAG_PLANAR
	.no_dead_strip	_config_input
.subsections_via_symbols
