	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	movq	(%rax), %rbx
	movl	(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, 40(%rbx)
	movl	16(%rax), %ecx
	movl	%ecx, 56(%rbx)
	movq	8(%rax), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	leal	255(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	movl	%eax, (%rbx)
	sarl	$8, %ecx
	movl	%ecx, 4(%rbx)
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	movq	8(%rbx), %rdi
	movq	_black_yuva_color@GOTPCREL(%rip), %rax
	cmovbq	_black_gbrp_color@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_white_yuva_color@GOTPCREL(%rip), %r15
	cmovbq	_white_gbrp_color@GOTPCREL(%rip), %r15
	movl	$4, %edx
	callq	_memcpy
	movq	16(%rbx), %rdi
	movl	(%r15), %esi
	movl	$4, %edx
	callq	_memcpy
	movl	24(%rbx), %eax
	movl	%eax, %ecx
	shll	$8, %ecx
	subl	%eax, %ecx
	movq	16(%rbx), %rax
	movl	%ecx, 12(%rax)
	movl	28(%rbx), %eax
	movl	%eax, %ecx
	shll	$8, %ecx
	subl	%eax, %ecx
	movq	8(%rbx), %rax
	movl	%ecx, 12(%rax)
	movq	16(%r14), %rdi
	movq	40(%rbx), %rax
	movl	4(%rax), %esi
	callq	_AV_CEIL_RSHIFT
	movq	48(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	48(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	16(%r14), %rax
	movq	48(%rbx), %rcx
	movq	%rax, 24(%rcx)
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	8(%r14), %rdi
	movq	40(%rbx), %rax
	movl	(%rax), %esi
	callq	_AV_CEIL_RSHIFT
	movq	32(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	32(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	8(%r14), %rax
	movq	32(%rbx), %rcx
	movq	%rax, 24(%rcx)
	movq	32(%rbx), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_black_gbrp_color,4,2           ## @black_gbrp_color
	.comm	_white_gbrp_color,4,2           ## @white_gbrp_color
	.comm	_black_yuva_color,4,2           ## @black_yuva_color
	.comm	_white_yuva_color,4,2           ## @white_yuva_color
	.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	x20, [x8]
	ldr	w0, [x0]
	bl	_av_pix_fmt_desc_get
	str	x0, [x20, #40]
	ldr	w8, [x0, #16]
	str	w8, [x20, #56]
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	add	w9, w8, #255
	cmp	w8, #0
	csel	w9, w9, w8, lt
	asr	w9, w9, #8
	stp	w8, w9, [x20]
	ldr	w8, [x19]
	sub	w8, w8, #128
Lloh0:
	adrp	x9, _black_gbrp_color@GOTPAGE
Lloh1:
	ldr	x9, [x9, _black_gbrp_color@GOTPAGEOFF]
	ldr	x0, [x20, #8]
Lloh2:
	adrp	x10, _black_yuva_color@GOTPAGE
Lloh3:
	ldr	x10, [x10, _black_yuva_color@GOTPAGEOFF]
	cmp	w8, #7
	csel	x8, x9, x10, lo
	ldr	w1, [x8]
Lloh4:
	adrp	x8, _white_gbrp_color@GOTPAGE
Lloh5:
	ldr	x8, [x8, _white_gbrp_color@GOTPAGEOFF]
Lloh6:
	adrp	x9, _white_yuva_color@GOTPAGE
Lloh7:
	ldr	x9, [x9, _white_yuva_color@GOTPAGEOFF]
	csel	x21, x8, x9, lo
	mov	w2, #4
	bl	_memcpy
	ldr	x0, [x20, #16]
	ldr	w1, [x21]
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x20, #24]
	lsl	w9, w8, #8
	sub	w8, w9, w8
	ldp	x10, x9, [x20, #8]
	str	w8, [x9, #12]
	ldr	w8, [x20, #28]
	lsl	w9, w8, #8
	sub	w8, w9, w8
	str	w8, [x10, #12]
	ldr	x0, [x19, #16]
	ldr	x8, [x20, #40]
	ldr	w1, [x8, #4]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x20, #48]
	str	x0, [x8, #16]
	ldr	x8, [x20, #48]
	str	x0, [x8, #8]
	ldr	x8, [x19, #16]
	ldr	x9, [x20, #48]
	str	x8, [x9, #24]
	ldr	x9, [x20, #48]
	str	x8, [x9]
	ldr	x0, [x19, #8]
	ldr	x8, [x20, #40]
	ldr	w1, [x8]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x20, #32]
	str	x0, [x8, #16]
	ldr	x8, [x20, #32]
	str	x0, [x8, #8]
	ldr	x8, [x19, #8]
	ldr	x9, [x20, #32]
	str	x8, [x9, #24]
	ldr	x9, [x20, #32]
	str	x8, [x9]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_black_gbrp_color,4,2           ; @black_gbrp_color
	.comm	_white_gbrp_color,4,2           ; @white_gbrp_color
	.comm	_black_yuva_color,4,2           ; @black_yuva_color
	.comm	_white_yuva_color,4,2           ; @white_yuva_color
	.no_dead_strip	_config_input
.subsections_via_symbols
