	.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, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	movl	12(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r15
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	xorl	%edx, %edx
	callq	_av_image_get_linesize
	movq	32(%r14), %rcx
	movl	%eax, (%rcx)
	movl	(%rbx), %eax
	movq	8(%r14), %rcx
	movl	%eax, (%rcx)
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	movl	$1, %edx
	callq	_av_image_get_linesize
	movq	32(%r14), %rcx
	movl	%eax, 4(%rcx)
	movl	(%rbx), %eax
	movb	(%r14), %cl
	sarl	%cl, %eax
	movq	8(%r14), %rcx
	movl	%eax, 4(%rcx)
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	movl	$2, %edx
	callq	_av_image_get_linesize
	movq	32(%r14), %rcx
	movl	%eax, 8(%rcx)
	movl	(%rbx), %eax
	movb	(%r14), %cl
	sarl	%cl, %eax
	movq	8(%r14), %rcx
	movl	%eax, 8(%rcx)
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	movl	$3, %edx
	callq	_av_image_get_linesize
	movq	32(%r14), %rcx
	movl	%eax, 12(%rcx)
	movl	(%rbx), %eax
	movq	8(%r14), %rcx
	movl	%eax, 12(%rcx)
	movq	8(%r15), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	xorl	%ecx, %ecx
	cmpl	$8, %eax
	setne	%cl
	leal	8(,%rcx,8), %edi
	callq	_ff_scene_sad_get_fn
	movl	%eax, 24(%r14)
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %eax
	movl	%eax, 20(%r14)
	movq	%r14, %rdi
	callq	_ff_framerate_init
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.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	x20, x0
	ldr	x8, [x0, #16]
	ldr	x19, [x8]
	ldr	w0, [x0, #12]
	bl	_av_pix_fmt_desc_get
	mov	x21, x0
	ldr	w8, [x0]
	str	w8, [x19]
	ldp	w1, w0, [x20, #8]
	mov	w2, #0
	bl	_av_image_get_linesize
	ldr	x8, [x19, #32]
	str	w0, [x8]
	ldr	w8, [x20]
	ldr	x9, [x19, #8]
	str	w8, [x9]
	ldp	w1, w0, [x20, #8]
	mov	w2, #1
	bl	_av_image_get_linesize
	ldr	x8, [x19, #32]
	str	w0, [x8, #4]
	ldr	w8, [x20]
	ldr	w9, [x19]
	asr	w8, w8, w9
	ldr	x9, [x19, #8]
	str	w8, [x9, #4]
	ldp	w1, w0, [x20, #8]
	mov	w2, #2
	bl	_av_image_get_linesize
	ldr	x8, [x19, #32]
	str	w0, [x8, #8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	asr	w8, w8, w9
	ldr	x9, [x19, #8]
	str	w8, [x9, #8]
	ldp	w1, w0, [x20, #8]
	mov	w2, #3
	bl	_av_image_get_linesize
	ldr	x8, [x19, #32]
	str	w0, [x8, #12]
	ldr	w8, [x20]
	ldr	x9, [x19, #8]
	str	w8, [x9, #12]
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	str	w8, [x19, #16]
	mov	w9, #16
	cmp	w8, #8
	csel	w0, w8, w9, eq
	bl	_ff_scene_sad_get_fn
	str	w0, [x19, #24]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w8, [x20, #4]
	str	w8, [x19, #20]
	mov	x0, x19
	bl	_ff_framerate_init
	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
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_config_input
.subsections_via_symbols
