	.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, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movl	4(%rdi), %edi
	movl	40(%rbx), %edx
	movl	44(%rbx), %esi
	callq	_av_rescale
	movl	$1, %r15d
	movl	$1, %edi
	movl	%eax, %esi
	callq	_FFMAX
	movl	%eax, 48(%rbx)
	movq	8(%rbx), %rax
	movq	_SINGLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %r15d
LBB0_2:
	movl	%r15d, (%rbx)
	movl	24(%rbx), %edi
	movl	%r15d, %esi
	callq	_av_calloc
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%rbx), %esi
	movl	24(%rbx), %edi
	callq	_av_calloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	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	_SINGLE,8,3                     ## @SINGLE
	.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, #4]
	ldp	w2, w1, [x21, #40]
	bl	_av_rescale
	mov	x1, x0
	mov	w20, #1
	mov	w0, #1
	bl	_FFMAX
	str	w0, [x21, #48]
	ldr	x8, [x21, #8]
Lloh0:
	adrp	x9, _SINGLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SINGLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	ldr	w20, [x19]
LBB0_2:
	str	w20, [x21]
	ldr	w0, [x21, #24]
	mov	x1, x20
	bl	_av_calloc
	str	x0, [x21, #32]
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x21, #24]
	ldr	w1, [x21]
	bl	_av_calloc
	str	x0, [x21, #16]
	cbz	x0, LBB0_5
; %bb.4:
	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_5:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SINGLE,8,3                     ; @SINGLE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_config_input
.subsections_via_symbols
