	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function config_input_main
_config_input_main:                     ## @config_input_main
	.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, %r15
	movq	16(%rdi), %rax
	movq	(%rax), %r12
	movl	8(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r14
	movl	(%r15), %edi
	movl	20(%rax), %esi
	callq	_AV_CEIL_RSHIFT
	movq	(%r12), %rcx
	movl	%eax, 8(%rcx)
	movl	%eax, 4(%rcx)
	movl	(%r15), %eax
	movl	%eax, 12(%rcx)
	movl	%eax, (%rcx)
	movl	4(%r15), %edi
	movl	16(%r14), %esi
	callq	_AV_CEIL_RSHIFT
	movq	8(%r12), %rcx
	movl	%eax, 8(%rcx)
	movl	%eax, 4(%rcx)
	movl	4(%r15), %eax
	movl	%eax, 12(%rcx)
	movl	%eax, (%rcx)
	movl	(%r14), %eax
	movl	%eax, 16(%r12)
	movq	8(%r14), %rdx
	movl	(%rdx), %edx
	movl	%edx, 72(%r12)
	testl	%eax, %eax
	jle	LBB0_11
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%rcx,%rbx,4), %esi
	callq	_FFMAX
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%ecx
	movl	$1, %edi
	shll	%cl, %edi
	cmpl	%eax, %edi
	jl	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r12), %rax
	movl	%ecx, (%rax,%rbx,4)
	movq	32(%r12), %rax
	movl	%edi, (%rax,%rbx,4)
	leal	(,%rdi,4), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_av_calloc
	movq	64(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	32(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	leal	(,%rdi,4), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_av_calloc
	movq	56(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	32(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	leal	(,%rdi,4), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_av_calloc
	movq	48(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	32(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	leal	(,%rdi,4), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_av_calloc
	movq	40(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	16(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rcx
	jmp	LBB0_4
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_11:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_config_input_main
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function config_input_main
_config_input_main:                     ; @config_input_main
	.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, #16]
	ldr	x21, [x8]
	ldr	w0, [x0, #8]
	bl	_av_pix_fmt_desc_get
	mov	x20, x0
	ldr	w0, [x19]
	ldr	w1, [x20, #20]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x21]
	stp	w0, w0, [x8, #4]
	ldr	w9, [x19]
	str	w9, [x8, #12]
	str	w9, [x8]
	ldr	w0, [x19, #4]
	ldr	w1, [x20, #16]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x21, #8]
	stp	w0, w0, [x8, #4]
	ldr	w9, [x19, #4]
	str	w9, [x8, #12]
	str	w9, [x8]
	ldr	w9, [x20]
	str	w9, [x21, #16]
	ldr	x10, [x20, #8]
	ldr	w10, [x10]
	str	w10, [x21, #72]
	cmp	w9, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x19, #0
	mov	w20, #1
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	ldr	x9, [x21]
	lsl	x22, x19, #2
	ldr	w0, [x9, x22]
	ldr	w1, [x8, x22]
	bl	_FFMAX
	mov	x8, x0
	mov	w9, #0
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w9, w9, #1
	lsl	w0, w20, w9
	cmp	w0, w8
	b.lt	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x8, x10, [x21, #24]
	str	w9, [x8, x22]
	str	w0, [x10, x22]
	lsl	w1, w0, #2
	bl	_av_calloc
	ldr	x8, [x21, #64]
	str	x0, [x8, x19, lsl #3]
	cbz	x0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21, #32]
	ldr	w0, [x8, x19, lsl #2]
	lsl	w1, w0, #2
	bl	_av_calloc
	ldr	x8, [x21, #56]
	str	x0, [x8, x19, lsl #3]
	cbz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21, #32]
	ldr	w0, [x8, x19, lsl #2]
	lsl	w1, w0, #2
	bl	_av_calloc
	ldr	x8, [x21, #48]
	str	x0, [x8, x19, lsl #3]
	cbz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21, #32]
	ldr	w0, [x8, x19, lsl #2]
	lsl	w1, w0, #2
	bl	_av_calloc
	ldr	x8, [x21, #40]
	str	x0, [x8, x19, lsl #3]
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x19, #1
	ldrsw	x8, [x21, #16]
	cmp	x19, x8
	b.ge	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21, #8]
	b	LBB0_2
LBB0_10:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@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
LBB0_11:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_config_input_main
.subsections_via_symbols
