	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	(%r14), %r15
	movl	8(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r12
	movslq	(%r15), %r13
	movl	8(%rbx), %edi
	callq	_av_pix_fmt_count_planes
	movl	%eax, 4(%r15)
	cmpl	%eax, %r13d
	jge	LBB0_1
## %bb.2:
	movl	(%rbx), %edi
	movl	4(%r12), %esi
	callq	_AV_CEIL_RSHIFT
	movq	8(%r15), %rcx
	movl	%eax, 8(%rcx)
	movl	%eax, 4(%rcx)
	movl	(%rbx), %eax
	movl	%eax, 12(%rcx)
	movl	%eax, (%rcx)
	movl	4(%rbx), %edi
	movl	(%r12), %esi
	callq	_AV_CEIL_RSHIFT
	movq	16(%r15), %rdx
	movl	%eax, 8(%rdx)
	movl	%eax, 4(%rdx)
	movl	4(%rbx), %eax
	movl	%eax, 12(%rdx)
	movl	%eax, (%rdx)
	movl	(%rdx,%r13,4), %ecx
	movl	28(%r15), %eax
	movl	32(%r15), %esi
	addl	%eax, %esi
	shll	$3, %esi
	subl	%esi, %ecx
	sarl	$3, %ecx
	movl	%ecx, 24(%r15)
	movq	8(%r15), %rsi
	movl	(%rsi,%r13,4), %r8d
	movl	40(%r15), %esi
	movl	44(%r15), %edi
	addl	%esi, %edi
	addl	%edi, %edi
	subl	%edi, %r8d
	sarl	$3, %r8d
	movl	%r8d, 36(%r15)
	shll	$3, %eax
	imull	(%rdx,%r13,4), %esi
	leal	(%rax,%rsi,2), %eax
	movl	%eax, 48(%r15)
	movl	%r8d, %eax
	imull	%ecx, %eax
	movl	%eax, 52(%r15)
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movl	(%rbx), %esi
	movl	48(%r15), %ecx
	movl	52(%r15), %r8d
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_make_field_queue
	movl	%eax, 68(%r15)
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movq	_diff_c@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r15)
	movq	_comb_c@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r15)
	movq	_var_c@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r15)
	movq	_ARCH_X86@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_ff_pullup_init_x86
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"input format does not have such plane\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"w: %d h: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"offset: %d length: %d\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_diff_c,4,2                     ## @diff_c
	.comm	_comb_c,4,2                     ## @comb_c
	.comm	_var_c,4,2                      ## @var_c
	.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:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x0
	ldr	x20, [x0, #16]
	ldr	x19, [x20]
	ldr	w0, [x0, #8]
	bl	_av_pix_fmt_desc_get
	mov	x22, x0
	ldrsw	x23, [x19]
	ldr	w0, [x21, #8]
	bl	_av_pix_fmt_count_planes
	str	w0, [x19, #4]
	cmp	w23, w0
	b.ge	LBB0_5
; %bb.1:
	ldr	w0, [x21]
	ldr	w1, [x22, #4]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x19, #8]
	stp	w0, w0, [x8, #4]
	ldr	w9, [x21]
	str	w9, [x8, #12]
	str	w9, [x8]
	ldr	w0, [x21, #4]
	ldr	w1, [x22]
	bl	_AV_CEIL_RSHIFT
	ldp	x9, x8, [x19, #8]
	stp	w0, w0, [x8, #4]
	ldr	w10, [x21, #4]
	str	w10, [x8, #12]
	str	w10, [x8]
	lsl	x10, x23, #2
	ldr	w11, [x8, x10]
	ldp	w12, w13, [x19, #28]
	add	w13, w13, w12
	sub	w11, w11, w13, lsl #3
	asr	w11, w11, #3
	str	w11, [x19, #24]
	ldr	w9, [x9, x10]
	ldp	w13, w14, [x19, #40]
	add	w14, w14, w13
	sub	w9, w9, w14, lsl #1
	asr	w9, w9, #3
	str	w9, [x19, #36]
	ldr	w8, [x8, x10]
	mul	w8, w13, w8
	lsl	w8, w8, #1
	add	w8, w8, w12, lsl #3
	mul	w10, w9, w11
	stp	w8, w10, [x19, #48]
Lloh0:
	adrp	x21, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AV_LOG_DEBUG@GOTPAGEOFF]
	ldr	w1, [x21]
	stp	x11, x9, [sp]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_av_log
	ldr	w1, [x21]
	ldp	w8, w9, [x19, #48]
	stp	x8, x9, [sp]
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_av_log
	mov	x0, x19
	mov	w1, #8
	bl	_make_field_queue
	str	w0, [x19, #68]
	cbz	w0, LBB0_6
; %bb.2:
Lloh6:
	adrp	x8, _diff_c@GOTPAGE
Lloh7:
	ldr	x8, [x8, _diff_c@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #64]
Lloh9:
	adrp	x8, _comb_c@GOTPAGE
Lloh10:
	ldr	x8, [x8, _comb_c@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _var_c@GOTPAGE
Lloh13:
	ldr	x9, [x9, _var_c@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #56]
Lloh15:
	adrp	x8, _ARCH_X86@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ARCH_X86@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_ff_pullup_init_x86
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
Lloh18:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x2, l_.str@PAGE
Lloh22:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_av_log
Lloh23:
	adrp	x8, _EINVAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_AVERROR
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"input format does not have such plane\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"w: %d h: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"offset: %d length: %d\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_diff_c,4,2                     ; @diff_c
	.comm	_comb_c,4,2                     ; @comb_c
	.comm	_var_c,4,2                      ; @var_c
	.comm	_ARCH_X86,8,3                   ; @ARCH_X86
	.no_dead_strip	_config_input
.subsections_via_symbols
