	.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, %r14
	movl	16(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r15
	movq	8(%r14), %rax
	movq	(%rax), %r12
	movq	8(%r15), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movl	(%r14), %edi
	movl	4(%r15), %esi
	callq	_AV_CEIL_RSHIFT
	movq	8(%r12), %rcx
	movl	%eax, 8(%rcx)
	movl	%eax, 4(%rcx)
	movl	(%r14), %eax
	movl	%eax, 12(%rcx)
	movl	%eax, (%rcx)
	movl	4(%r14), %edi
	movl	(%r15), %esi
	callq	_AV_CEIL_RSHIFT
	movq	16(%r12), %rcx
	movl	%eax, 8(%rcx)
	movl	%eax, 4(%rcx)
	movl	4(%r14), %eax
	movl	%eax, 12(%rcx)
	movl	%eax, (%rcx)
	movl	24(%r12), %eax
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	28(%r12), %eax
LBB0_2:
	movl	%eax, 24(%r12)
	movl	16(%r14), %edi
	callq	_av_pix_fmt_count_planes
	movl	%eax, 32(%r12)
	movl	24(%r12), %esi
	movl	28(%r12), %ecx
	leal	(%rcx,%rcx), %r9d
	movl	%r9d, %edx
	imull	%esi, %edx
	leal	(%rdx,%rcx,2), %ecx
	movl	%ecx, 36(%r12)
	testl	%eax, %eax
	jle	LBB0_11
## %bb.3:
	movl	40(%r12), %edx
	orl	$1, %r9d
	leal	(%rsi,%rsi), %r10d
	incl	%r10d
	movl	%eax, %eax
	xorl	%ecx, %ecx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	je	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	btl	%ecx, %edx
	jae	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rdi
	movl	(%rdi,%rcx,4), %r8d
	cmpl	%r9d, %r8d
	jl	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r12), %rdi
	movl	(%rdi,%rcx,4), %r8d
	cmpl	%r10d, %r8d
	jge	LBB0_10
## %bb.9:
	movq	8(%r14), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r10d, %r9d
	jmp	LBB0_7
LBB0_11:
	movq	16(%r12), %rax
	movl	4(%rax), %eax
	incl	%esi
	cltd
	idivl	%esi
	movl	%eax, %r15d
	movq	8(%r14), %rdi
	callq	_ff_filter_get_nb_threads
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_FFMIN
	movl	$1, %ebx
	movl	$1, %edi
	movl	%eax, %esi
	callq	_FFMAX
	movl	%eax, 44(%r12)
	movl	(%r12), %ecx
	movl	%ecx, %edx
	incl	%edx
	shrl	$31, %edx
	addl	%edx, %ecx
	incl	%ecx
	shrl	%ecx
	shll	%cl, %ebx
	movl	%ebx, 48(%r12)
	shll	%cl, %ebx
	movl	(%r14), %edx
	imull	%edx, %ebx
	movl	%ebx, 52(%r12)
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movl	%edx, 56(%r12)
	movl	%eax, %edi
	movl	$8, %esi
	callq	_av_calloc
	movq	%rax, 88(%r12)
	movl	44(%r12), %edi
	movl	$8, %esi
	callq	_av_calloc
	movq	%rax, 80(%r12)
	cmpq	$0, 88(%r12)
	je	LBB0_15
## %bb.12:
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	cmpl	$0, 44(%r12)
	jle	LBB0_20
## %bb.14:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	56(%r12), %edi
	movl	$1, %esi
	callq	_av_malloc_array
	movq	88(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movl	52(%r12), %edi
	movl	$1, %esi
	callq	_av_malloc_array
	movq	80(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	88(%r12), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_15
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	80(%r12), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_18 Depth=1
	incq	%rbx
	movslq	44(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_18
LBB0_20:
	movq	_hadd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r12)
	movq	_hsub@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%r12)
	movq	_hmuladd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r12)
	movl	(%r12), %eax
	addl	$-8, %eax
	cmpl	$8, %eax
	ja	LBB0_29
## %bb.21:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_22:
	movq	_filter_plane_8@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_15:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_6:
	movq	8(%r14), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
LBB0_7:
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_23:
	movq	_filter_plane_9@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_24:
	movq	_filter_plane_10@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_25:
	movq	_filter_plane_12@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_26:
	movq	_filter_plane_14@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_27:
	movq	_filter_plane_16@GOTPCREL(%rip), %rax
LBB0_28:
	movl	(%rax), %eax
	movl	%eax, 60(%r12)
LBB0_29:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_23
	.long	L0_0_set_24
	.long	L0_0_set_29
	.long	L0_0_set_25
	.long	L0_0_set_29
	.long	L0_0_set_26
	.long	L0_0_set_29
	.long	L0_0_set_27
	.end_data_region
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"The %d plane width %d must be not less than %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"The %d plane height %d must be not less than %d\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_hadd,4,2                       ## @hadd
	.comm	_hsub,4,2                       ## @hsub
	.comm	_hmuladd,4,2                    ## @hmuladd
	.comm	_filter_plane_8,4,2             ## @filter_plane_8
	.comm	_filter_plane_9,4,2             ## @filter_plane_9
	.comm	_filter_plane_10,4,2            ## @filter_plane_10
	.comm	_filter_plane_12,4,2            ## @filter_plane_12
	.comm	_filter_plane_14,4,2            ## @filter_plane_14
	.comm	_filter_plane_16,4,2            ## @filter_plane_16
	.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	w0, [x0, #16]
	bl	_av_pix_fmt_desc_get
	mov	x20, x0
	ldr	x8, [x19, #8]
	ldr	x21, [x8]
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	str	w8, [x21]
	ldr	w0, [x19]
	ldr	w1, [x20, #4]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x21, #8]
	stp	w0, w0, [x8, #4]
	ldr	w9, [x19]
	str	w9, [x8, #12]
	str	w9, [x8]
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x21, #16]
	stp	w0, w0, [x8, #4]
	ldr	w9, [x19, #4]
	str	w9, [x8, #12]
	str	w9, [x8]
	ldr	w8, [x21, #24]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w8, [x21, #28]
LBB0_2:
	str	w8, [x21, #24]
	ldr	w0, [x19, #16]
	bl	_av_pix_fmt_count_planes
	ldp	w9, w8, [x21, #24]
	lsl	w8, w8, #1
	madd	w10, w8, w9, w8
	stp	w0, w10, [x21, #32]
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x3, #0
	ldr	w10, [x21, #40]
	orr	w5, w8, #0x1
	mov	w8, #1
	bfi	w8, w9, #1, #31
	mov	w11, w0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x3, x3, #1
	cmp	x11, x3
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w12, w10, w3
	tbz	w12, #0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x12, [x21, #8]
	ldr	w4, [x12, x3, lsl #2]
	cmp	w4, w5
	b.lt	LBB0_20
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x12, [x21, #16]
	ldr	w4, [x12, x3, lsl #2]
	cmp	w4, w8
	b.ge	LBB0_4
; %bb.8:
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	x5, x8
	b	LBB0_21
LBB0_9:
	ldr	x8, [x21, #16]
	ldr	w8, [x8, #4]
	add	w9, w9, #1
	ldr	x0, [x19, #8]
	sdiv	w20, w8, w9
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x20
	bl	_FFMIN
	mov	x1, x0
	mov	w20, #1
	mov	w0, #1
	bl	_FFMAX
	ldr	w8, [x21]
	add	w9, w8, #1
	add	w10, w8, #2
	cmp	w9, #0
	csinc	w8, w10, w8, lt
	asr	w8, w8, #1
	lsl	w9, w20, w8
	stp	w0, w9, [x21, #44]
	lsl	w9, w9, w8
	ldr	w10, [x19]
	mul	w9, w9, w10
	lsl	w8, w10, w8
	stp	w9, w8, [x21, #52]
	mov	w1, #8
	bl	_av_calloc
	str	x0, [x21, #88]
	ldr	w0, [x21, #44]
	mov	w1, #8
	bl	_av_calloc
	str	x0, [x21, #80]
	ldr	x8, [x21, #88]
	cbz	x8, LBB0_19
; %bb.10:
	cbz	x0, LBB0_19
; %bb.11:
	ldr	w8, [x21, #44]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.12:
	mov	x19, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, #56]
	mov	w1, #1
	bl	_av_malloc_array
	ldr	x8, [x21, #88]
	lsl	x20, x19, #3
	str	x0, [x8, x20]
	ldr	w0, [x21, #52]
	mov	w1, #1
	bl	_av_malloc_array
	ldr	x8, [x21, #80]
	str	x0, [x8, x20]
	ldr	x8, [x21, #88]
	ldr	x8, [x8, x20]
	cbz	x8, LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x21, #80]
	ldr	x8, [x8, x19, lsl #3]
	cbz	x8, LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x19, x19, #1
	ldrsw	x8, [x21, #44]
	cmp	x19, x8
	b.lt	LBB0_13
LBB0_16:
Lloh5:
	adrp	x8, _hadd@GOTPAGE
Lloh6:
	ldr	x8, [x8, _hadd@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x21, #72]
Lloh8:
	adrp	x8, _hsub@GOTPAGE
Lloh9:
	ldr	x8, [x8, _hsub@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _hmuladd@GOTPAGE
Lloh12:
	ldr	x9, [x9, _hmuladd@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #64]
	ldr	w8, [x21]
	sub	w8, w8, #8
	cmp	w8, #8
	b.hi	LBB0_29
; %bb.17:
Lloh14:
	adrp	x9, lJTI0_0@PAGE
Lloh15:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_18
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_18:
Lloh16:
	adrp	x8, _filter_plane_8@GOTPAGE
Lloh17:
	ldr	x8, [x8, _filter_plane_8@GOTPAGEOFF]
	b	LBB0_28
LBB0_19:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_22
LBB0_20:
	ldr	x0, [x19, #8]
Lloh20:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x2, l_.str@PAGE
Lloh24:
	add	x2, x2, l_.str@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
LBB0_21:
	bl	_av_log
Lloh25:
	adrp	x8, _EINVAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_22:
	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
LBB0_23:
Lloh27:
	adrp	x8, _filter_plane_9@GOTPAGE
Lloh28:
	ldr	x8, [x8, _filter_plane_9@GOTPAGEOFF]
	b	LBB0_28
LBB0_24:
Lloh29:
	adrp	x8, _filter_plane_10@GOTPAGE
Lloh30:
	ldr	x8, [x8, _filter_plane_10@GOTPAGEOFF]
	b	LBB0_28
LBB0_25:
Lloh31:
	adrp	x8, _filter_plane_12@GOTPAGE
Lloh32:
	ldr	x8, [x8, _filter_plane_12@GOTPAGEOFF]
	b	LBB0_28
LBB0_26:
Lloh33:
	adrp	x8, _filter_plane_14@GOTPAGE
Lloh34:
	ldr	x8, [x8, _filter_plane_14@GOTPAGEOFF]
	b	LBB0_28
LBB0_27:
Lloh35:
	adrp	x8, _filter_plane_16@GOTPAGE
Lloh36:
	ldr	x8, [x8, _filter_plane_16@GOTPAGEOFF]
LBB0_28:
	ldr	w8, [x8]
	str	w8, [x21, #60]
LBB0_29:
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_23-LBB0_18)>>2
	.byte	(LBB0_24-LBB0_18)>>2
	.byte	(LBB0_29-LBB0_18)>>2
	.byte	(LBB0_25-LBB0_18)>>2
	.byte	(LBB0_29-LBB0_18)>>2
	.byte	(LBB0_26-LBB0_18)>>2
	.byte	(LBB0_29-LBB0_18)>>2
	.byte	(LBB0_27-LBB0_18)>>2
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"The %d plane width %d must be not less than %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"The %d plane height %d must be not less than %d\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_hadd,4,2                       ; @hadd
	.comm	_hsub,4,2                       ; @hsub
	.comm	_hmuladd,4,2                    ; @hmuladd
	.comm	_filter_plane_8,4,2             ; @filter_plane_8
	.comm	_filter_plane_9,4,2             ; @filter_plane_9
	.comm	_filter_plane_10,4,2            ; @filter_plane_10
	.comm	_filter_plane_12,4,2            ; @filter_plane_12
	.comm	_filter_plane_14,4,2            ; @filter_plane_14
	.comm	_filter_plane_16,4,2            ; @filter_plane_16
	.no_dead_strip	_config_input
.subsections_via_symbols
