	.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), %r12
	movl	16(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r14
	movl	16(%rbx), %edi
	callq	_av_pix_fmt_count_planes
	movl	%eax, 44(%r12)
	movl	40(%r12), %edi
	movl	16(%rbx), %esi
	movq	(%rbx), %rdx
	callq	_av_image_fill_linesizes
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	(%r14), %r15d
	movl	4(%r14), %esi
	movq	8(%rbx), %rdi
	callq	_AV_CEIL_RSHIFT
	movq	32(%r12), %rcx
	movq	%rax, 16(%rcx)
	movq	32(%r12), %rcx
	movq	%rax, 8(%rcx)
	movq	8(%rbx), %rax
	movq	32(%r12), %rcx
	movq	%rax, 24(%rcx)
	movq	32(%r12), %rcx
	movq	%rax, (%rcx)
	movq	(%rbx), %rdi
	movl	%r15d, %esi
	callq	_AV_CEIL_RSHIFT
	movq	24(%r12), %rcx
	movq	%rax, 16(%rcx)
	movq	24(%r12), %rcx
	movq	%rax, 8(%rcx)
	movq	(%rbx), %rax
	movq	24(%r12), %rcx
	movq	%rax, 24(%rcx)
	movq	24(%r12), %rcx
	movq	%rax, (%rcx)
	movq	8(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	cmpl	$8, %eax
	movq	_maskedmin16@GOTPCREL(%rip), %rax
	cmoveq	_maskedmin8@GOTPCREL(%rip), %rax
	movq	_maskedmax16@GOTPCREL(%rip), %rcx
	cmoveq	_maskedmax8@GOTPCREL(%rip), %rcx
	cmpq	$0, 8(%r12)
	cmovneq	%rax, %rcx
	movl	(%rcx), %eax
	movl	%eax, 16(%r12)
	xorl	%eax, %eax
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_maskedmin8,4,2                 ## @maskedmin8
	.comm	_maskedmax8,4,2                 ## @maskedmax8
	.comm	_maskedmin16,4,2                ## @maskedmin16
	.comm	_maskedmax16,4,2                ## @maskedmax16
	.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_2
; %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
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x22, #24]
	str	x8, [x9, #16]
	ldr	x9, [x22, #24]
	str	x8, [x9, #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]
Lloh0:
	adrp	x9, _maskedmin8@GOTPAGE
Lloh1:
	ldr	x9, [x9, _maskedmin8@GOTPAGEOFF]
Lloh2:
	adrp	x10, _maskedmin16@GOTPAGE
Lloh3:
	ldr	x10, [x10, _maskedmin16@GOTPAGEOFF]
	cmp	w8, #8
	csel	x8, x9, x10, eq
Lloh4:
	adrp	x9, _maskedmax8@GOTPAGE
Lloh5:
	ldr	x9, [x9, _maskedmax8@GOTPAGEOFF]
Lloh6:
	adrp	x10, _maskedmax16@GOTPAGE
Lloh7:
	ldr	x10, [x10, _maskedmax16@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	x10, [x22, #8]
	cmp	x10, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [x22, #16]
LBB0_2:
	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	_maskedmin8,4,2                 ; @maskedmin8
	.comm	_maskedmax8,4,2                 ; @maskedmax8
	.comm	_maskedmin16,4,2                ; @maskedmin16
	.comm	_maskedmax16,4,2                ; @maskedmax16
	.no_dead_strip	_config_input
.subsections_via_symbols
