	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	(%rbx), %rcx
	movq	(%rcx), %rbx
	movq	(%rax), %rax
	movl	(%rax), %ecx
	cmpl	$8, %ecx
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdi
	addq	16(%rbx), %rdi
	callq	_av_clip_uint8
	movq	%rax, 32(%rbx)
	movq	16(%rbx), %rdi
	subq	8(%rbx), %rdi
	callq	_av_clip_uint8
	movq	_do_lumakey_slice8@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movl	$-1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	notl	%edx
	movl	%edx, (%rbx)
	movq	8(%rbx), %rdi
	addq	16(%rbx), %rdi
	xorl	%esi, %esi
	callq	_av_clip
	movq	%rax, 32(%rbx)
	movq	16(%rbx), %rdi
	subq	8(%rbx), %rdi
	movl	(%rbx), %edx
	xorl	%esi, %esi
	callq	_av_clip
	movq	_do_lumakey_slice16@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movq	%rax, 24(%rbx)
	movl	%ecx, 4(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_do_lumakey_slice8,4,2          ## @do_lumakey_slice8
	.comm	_do_lumakey_slice16,4,2         ## @do_lumakey_slice16
	.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	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_av_pix_fmt_desc_get
	ldr	x8, [x19]
	ldr	x19, [x8]
	ldr	x8, [x0]
	ldr	w8, [x8]
	cmp	w8, #8
	b.ne	LBB0_2
; %bb.1:
	ldp	x9, x8, [x19, #8]
	add	x0, x9, x8
	bl	_av_clip_uint8
	str	x0, [x19, #32]
	ldp	x9, x8, [x19, #8]
	sub	x0, x8, x9
	bl	_av_clip_uint8
Lloh0:
	adrp	x8, _do_lumakey_slice8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _do_lumakey_slice8@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	w9, #-1
	lsl	w8, w9, w8
	mvn	w2, w8
	str	w2, [x19]
	ldp	x9, x8, [x19, #8]
	add	x0, x9, x8
	mov	w1, #0
	bl	_av_clip
	str	x0, [x19, #32]
	ldp	x9, x8, [x19, #8]
	sub	x0, x8, x9
	ldr	w2, [x19]
	mov	w1, #0
	bl	_av_clip
Lloh2:
	adrp	x8, _do_lumakey_slice16@GOTPAGE
Lloh3:
	ldr	x8, [x8, _do_lumakey_slice16@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	str	x0, [x19, #24]
	str	w8, [x19, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_do_lumakey_slice8,4,2          ; @do_lumakey_slice8
	.comm	_do_lumakey_slice16,4,2         ; @do_lumakey_slice16
	.no_dead_strip	_config_input
.subsections_via_symbols
