	.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, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movl	(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r14
	movl	44(%rbx), %edi
	movl	(%r15), %esi
	callq	_ff_fill_rgba_map
	movl	(%r14), %eax
	movl	%eax, 40(%rbx)
	movq	%r14, %rdi
	callq	_av_get_padded_bits_per_pixel
	sarl	$3, %eax
	movl	%eax, (%rbx)
	movl	8(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 4(%rbx)
	addl	%eax, %eax
	addl	$2, %eax
	leal	(%rax,%rax,2), %edi
	callq	_av_malloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movslq	4(%rbx), %rcx
	movq	24(%rbx), %rdx
	movq	32(%rbx), %rsi
	movq	%rax, (%rsi)
	leaq	(%rax,%rcx,4), %rdi
	movq	%rdi, (%rdx)
	leaq	(%rax,%rcx,8), %rdi
	movq	%rdi, 8(%rsi)
	leaq	(%rcx,%rcx,2), %rdi
	leaq	(%rax,%rdi,4), %rdi
	movq	%rdi, 8(%rdx)
	leaq	(%rcx,%rcx,4), %rdi
	shlq	$4, %rcx
	addq	%rax, %rcx
	movq	%rcx, 16(%rsi)
	leaq	(%rax,%rdi,4), %rax
	movq	%rax, 16(%rdx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_ENOMEM@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	_ENOMEM,4,2                     ## @ENOMEM
	.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	x8, [x0, #8]
	ldr	x21, [x8]
	ldr	w0, [x0]
	bl	_av_pix_fmt_desc_get
	mov	x20, x0
	ldr	w0, [x21, #44]
	ldr	w1, [x19]
	bl	_ff_fill_rgba_map
	ldr	w8, [x20]
	str	w8, [x21, #40]
	mov	x0, x20
	bl	_av_get_padded_bits_per_pixel
	asr	w8, w0, #3
	ldr	w9, [x21, #8]
	add	w9, w9, #1
	stp	w8, w9, [x21]
	add	w8, w9, w9, lsl #1
	lsl	w0, w8, #1
	bl	_av_malloc
	str	x0, [x21, #16]
	cbz	x0, LBB0_2
; %bb.1:
	ldrsw	x8, [x21, #4]
	ldp	x10, x9, [x21, #24]
	add	x11, x0, x8, lsl #2
	add	x12, x0, x8, lsl #3
	stp	x0, x12, [x9]
	mov	w12, #12
	madd	x12, x8, x12, x0
	stp	x11, x12, [x10]
	add	x11, x0, x8, lsl #4
	str	x11, [x9, #16]
	mov	w9, #20
	madd	x8, x8, x9, x0
	str	x8, [x10, #16]
	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, _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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_config_input
.subsections_via_symbols
