	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	movq	(%rax), %r14
	movl	16(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r15
	movl	16(%rbx), %edi
	callq	_av_pix_fmt_count_planes
	movl	%eax, 44(%r14)
	movl	40(%r14), %edi
	movl	16(%rbx), %esi
	movq	(%rbx), %rdx
	callq	_av_image_fill_linesizes
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	(%r15), %r12d
	movl	4(%r15), %esi
	movq	8(%rbx), %rdi
	callq	_AV_CEIL_RSHIFT
	movq	32(%r14), %rcx
	movq	%rax, 16(%rcx)
	movq	32(%r14), %rcx
	movq	%rax, 8(%rcx)
	movq	8(%rbx), %rax
	movq	32(%r14), %rcx
	movq	%rax, 24(%rcx)
	movq	32(%r14), %rcx
	movq	%rax, (%rcx)
	movq	(%rbx), %rdi
	movl	%r12d, %esi
	callq	_AV_CEIL_RSHIFT
	movq	24(%r14), %rcx
	movq	%rax, 16(%rcx)
	movq	24(%r14), %rcx
	movq	%rax, 8(%rcx)
	movq	(%rbx), %rax
	movq	24(%r14), %rcx
	movq	%rax, 24(%rcx)
	movq	24(%r14), %rcx
	movq	%rax, (%rcx)
	movq	8(%r15), %rax
	movl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	16(%r14), %rdi
	movl	$-1, %ebx
	movl	$-1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	notl	%esi
	callq	_FFMIN
	movq	%rax, 16(%r14)
	movq	8(%r14), %rdi
	movb	(%r14), %cl
	shll	%cl, %ebx
	notl	%ebx
	movl	%ebx, %esi
	callq	_FFMIN
	movq	%rax, 8(%r14)
	movl	(%r14), %esi
	cmpl	$9, %esi
	jge	LBB0_3
## %bb.4:
	movq	_maskedclamp8@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movl	%eax, %r12d
	jmp	LBB0_7
LBB0_3:
	movq	_maskedclamp16@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_ARCH_X86@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_ff_maskedclamp_init_x86
LBB0_7:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_maskedclamp8,4,2               ## @maskedclamp8
	.comm	_maskedclamp16,4,2              ## @maskedclamp16
	.comm	_ARCH_X86,8,3                   ## @ARCH_X86
	.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	x22, [x8]
	ldr	w0, [x0, #16]
	bl	_av_pix_fmt_desc_get
	mov	x20, x0
	ldr	w0, [x19, #16]
	bl	_av_pix_fmt_count_planes
	str	w0, [x22, #44]
	ldr	w0, [x22, #40]
	ldr	w1, [x19, #16]
	ldr	x2, [x19]
	bl	_av_image_fill_linesizes
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldp	w21, w1, [x20]
	ldr	x0, [x19, #8]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x22, #32]
	str	x0, [x8, #16]
	ldr	x8, [x22, #32]
	str	x0, [x8, #8]
	ldr	x8, [x19, #8]
	ldr	x9, [x22, #32]
	str	x8, [x9, #24]
	ldr	x9, [x22, #32]
	str	x8, [x9]
	ldr	x0, [x19]
	mov	x1, x21
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x22, #24]
	str	x0, [x8, #16]
	ldr	x8, [x22, #24]
	str	x0, [x8, #8]
	ldr	x8, [x19]
	ldr	x9, [x22, #24]
	str	x8, [x9, #24]
	ldr	x9, [x22, #24]
	str	x8, [x9]
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	str	w8, [x22]
	ldr	x0, [x22, #16]
	mov	w19, #-1
	lsl	w8, w19, w8
	mvn	w1, w8
	bl	_FFMIN
	str	x0, [x22, #16]
	ldr	x0, [x22, #8]
	ldr	w8, [x22]
	lsl	w8, w19, w8
	mvn	w1, w8
	bl	_FFMIN
	str	x0, [x22, #8]
	ldr	w1, [x22]
Lloh0:
	adrp	x8, _maskedclamp8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _maskedclamp8@GOTPAGEOFF]
Lloh2:
	adrp	x9, _maskedclamp16@GOTPAGE
Lloh3:
	ldr	x9, [x9, _maskedclamp16@GOTPAGEOFF]
	cmp	w1, #9
	csel	x8, x8, x9, lt
	ldr	w8, [x8]
	str	w8, [x22, #4]
Lloh4:
	adrp	x8, _ARCH_X86@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ARCH_X86@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, x22, #4
	bl	_ff_maskedclamp_init_x86
LBB0_3:
	mov	w0, #0
LBB0_4:
	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 AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_maskedclamp8,4,2               ; @maskedclamp8
	.comm	_maskedclamp16,4,2              ; @maskedclamp16
	.comm	_ARCH_X86,8,3                   ; @ARCH_X86
	.no_dead_strip	_config_input
.subsections_via_symbols
