	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function config_input
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_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), %r15
	movq	(%r15), %r12
	movl	8(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r14
	movq	8(%rax), %rax
	movl	(%rax), %esi
	movl	%esi, (%r12)
	cmpl	$8, %esi
	jg	LBB0_2
## %bb.1:
	movq	_import_row8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_export_row8@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	jmp	LBB0_3
LBB0_2:
	movq	_import_row16@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_export_row16@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	addl	$-8, %esi
	movl	8(%r12), %ecx
	movl	12(%r12), %edi
	addl	%edi, %ecx
	incl	%ecx
	imull	%esi, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, 4(%r12)
LBB0_3:
	movl	%eax, 44(%r12)
	movl	%edx, 40(%r12)
	movl	(%rbx), %edi
	movl	4(%r14), %esi
	callq	_AV_CEIL_RSHIFT
	movq	32(%r12), %rcx
	movl	%eax, 128(%rcx)
	movl	%eax, 64(%rcx)
	movl	(%rbx), %eax
	movl	%eax, 192(%rcx)
	movl	%eax, (%rcx)
	movl	4(%rbx), %edi
	movl	(%r14), %esi
	callq	_AV_CEIL_RSHIFT
	movq	32(%r12), %rcx
	movl	%eax, 132(%rcx)
	movl	%eax, 68(%rcx)
	movl	4(%rbx), %eax
	movl	%eax, 196(%rcx)
	movl	%eax, 4(%rcx)
	movl	8(%rbx), %edi
	callq	_av_pix_fmt_count_planes
	movl	%eax, 16(%r12)
	testl	%eax, %eax
	jle	LBB0_14
## %bb.4:
	movl	$56, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	20(%r12), %ecx
	movl	$1, %r9d
	shll	%cl, %r9d
	movl	%r9d, %eax
	shll	%cl, %eax
	cvtsi2ss	%eax, %xmm0
	movq	32(%r12), %r14
	movl	%r9d, -48(%r14,%rbx)
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	movss	%xmm1, -44(%r14,%rbx)
	movl	24(%r12), %eax
	shll	%cl, %eax
	movl	%eax, -40(%r14,%rbx)
	subl	%eax, %r9d
	leal	-1(%r9), %ecx
	movl	-56(%r14,%rbx), %eax
	addl	%ecx, %eax
	cltd
	idivl	%r9d
	movl	%eax, %r8d
	movl	%eax, -36(%r14,%rbx)
	addl	-52(%r14,%rbx), %ecx
	movl	%ecx, %eax
	cltd
	idivl	%r9d
	movl	%eax, -32(%r14,%rbx)
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rdx
	movl	%r8d, %ecx
	movl	%eax, %r8d
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_av_log
	movl	-48(%r14,%rbx), %edi
	movl	-36(%r14,%rbx), %esi
	imull	%edi, %esi
	shll	$2, %esi
	movl	%esi, -28(%r14,%rbx)
	imull	-32(%r14,%rbx), %edi
	callq	_av_calloc
	movq	(%r14,%rbx), %rcx
	movq	_CURRENT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	(%r14,%rbx), %rax
	cmpq	$0, (%rax,%rdx,8)
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, 8(%r12)
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-32(%r14,%rbx), %edi
	movl	-28(%r14,%rbx), %esi
	imull	-48(%r14,%rbx), %edi
	callq	_av_calloc
	movq	(%r14,%rbx), %rcx
	movq	_PREV@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	(%r14,%rbx), %rax
	cmpq	$0, (%rax,%rdx,8)
	je	LBB0_13
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, 12(%r12)
	jle	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-32(%r14,%rbx), %edi
	movl	-28(%r14,%rbx), %esi
	imull	-48(%r14,%rbx), %edi
	callq	_av_calloc
	movq	(%r14,%rbx), %rcx
	movq	_NEXT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	(%r14,%rbx), %rax
	cmpq	$0, (%rax,%rdx,8)
	je	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-48(%r14,%rbx), %edi
	leal	(,%rdi,8), %esi
	movl	%esi, -24(%r14,%rbx)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_av_calloc
	movq	%rax, -8(%r14,%rbx)
	movl	-48(%r14,%rbx), %edi
	movl	-24(%r14,%rbx), %esi
	callq	_av_calloc
	movq	%rax, -16(%r14,%rbx)
	cmpq	$0, -8(%r14,%rbx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%r13
	movslq	16(%r12), %rax
	addq	$64, %rbx
	cmpq	%rax, %r13
	jl	LBB0_6
LBB0_14:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	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	_import_row8,4,2                ## @import_row8
	.comm	_export_row8,4,2                ## @export_row8
	.comm	_import_row16,4,2               ## @import_row16
	.comm	_export_row16,4,2               ## @export_row16
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nox:%d noy:%d size:%d\n"

	.comm	_CURRENT,8,3                    ## @CURRENT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PREV,8,3                       ## @PREV
	.comm	_NEXT,8,3                       ## @NEXT
	.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	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldr	x22, [x19]
	ldr	w0, [x0, #8]
	bl	_av_pix_fmt_desc_get
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	str	w8, [x22]
	subs	w10, w8, #8
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _import_row8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _import_row8@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _export_row8@GOTPAGE
Lloh4:
	ldr	x9, [x9, _export_row8@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _import_row16@GOTPAGE
Lloh7:
	ldr	x8, [x8, _import_row16@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _export_row16@GOTPAGE
Lloh10:
	ldr	x9, [x9, _export_row16@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldp	w12, w11, [x22, #8]
	ldr	w13, [x22, #4]
	add	w11, w12, w11
	madd	w10, w10, w11, w10
	lsl	w10, w13, w10
	str	w10, [x22, #4]
LBB0_3:
	stp	w9, w8, [x22, #40]
	ldr	w0, [x20]
	ldr	w1, [x21, #4]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x22, #32]
	str	w0, [x8, #128]
	str	w0, [x8, #64]
	ldp	w9, w0, [x20]
	str	w9, [x8, #192]
	str	w9, [x8]
	ldr	w1, [x21]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x22, #32]
	str	w0, [x8, #132]
	str	w0, [x8, #68]
	ldp	w9, w0, [x20, #4]
	str	w9, [x8, #196]
	str	w9, [x8, #4]
	bl	_av_pix_fmt_count_planes
	str	w0, [x22, #16]
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.4:
	mov	x21, #0
	mov	w23, #28
	mov	w24, #1
	fmov	s8, #1.00000000
Lloh12:
	adrp	x25, _AV_LOG_DEBUG@GOTPAGE
Lloh13:
	ldr	x25, [x25, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh14:
	adrp	x26, _CURRENT@GOTPAGE
Lloh15:
	ldr	x26, [x26, _CURRENT@GOTPAGEOFF]
Lloh16:
	adrp	x20, l_.str@PAGE
Lloh17:
	add	x20, x20, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x28, [x22, #32]
	ldp	w8, w9, [x22, #20]
	lsl	w10, w24, w8
	add	x27, x28, x23
	stur	w10, [x27, #-20]
	lsl	w11, w10, w8
	scvtf	s0, w11
	fdiv	s0, s8, s0
	stur	s0, [x27, #-16]
	lsl	w8, w9, w8
	sub	w5, w10, w8
	sub	w9, w5, #1
	ldp	w10, w11, [x27, #-28]
	add	w10, w9, w10
	sdiv	w3, w10, w5
	stp	w8, w3, [x27, #-12]
	add	w8, w11, w9
	sdiv	w4, w8, w5
	stur	w4, [x27, #-4]
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x20
	bl	_av_log
	ldur	w8, [x27, #-20]
	ldp	w9, w10, [x27, #-8]
	mul	w9, w8, w9
	lsl	w1, w9, #2
	str	w1, [x27]
	mul	w0, w10, w8
	bl	_av_calloc
	ldur	x8, [x27, #28]
	ldr	x9, [x26]
	lsl	x9, x9, #3
	str	x0, [x8, x9]
	ldur	x8, [x27, #28]
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x22, #8]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	w8, [x27, #-20]
	ldur	w9, [x27, #-4]
	mul	w0, w9, w8
	ldr	w1, [x28, x23]
	bl	_av_calloc
	ldur	x8, [x27, #28]
Lloh18:
	adrp	x9, _PREV@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PREV@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	lsl	x9, x9, #3
	str	x0, [x8, x9]
	ldur	x8, [x27, #28]
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_14
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x22, #12]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	w8, [x27, #-20]
	ldur	w9, [x27, #-4]
	mul	w0, w9, w8
	ldr	w1, [x28, x23]
	bl	_av_calloc
	ldur	x8, [x27, #28]
Lloh21:
	adrp	x9, _NEXT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _NEXT@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	lsl	x9, x9, #3
	str	x0, [x8, x9]
	ldur	x8, [x27, #28]
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_14
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	w0, [x27, #-20]
	lsl	w1, w0, #3
	add	x28, x28, x23
	str	w1, [x28, #4]
	bl	_av_calloc
	stur	x0, [x28, #20]
	ldur	w0, [x27, #-20]
	ldr	w1, [x28, #4]
	bl	_av_calloc
	stur	x0, [x28, #12]
	ldur	x8, [x28, #20]
	cbz	x8, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	cbz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x22, #16]
	add	x23, x23, #64
	cmp	x21, x8
	b.lt	LBB0_5
LBB0_13:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_import_row8,4,2                ; @import_row8
	.comm	_export_row8,4,2                ; @export_row8
	.comm	_import_row16,4,2               ; @import_row16
	.comm	_export_row16,4,2               ; @export_row16
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nox:%d noy:%d size:%d\n"

	.comm	_CURRENT,8,3                    ; @CURRENT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PREV,8,3                       ; @PREV
	.comm	_NEXT,8,3                       ; @NEXT
	.no_dead_strip	_config_input
.subsections_via_symbols
