	.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, %r15
	movq	16(%rdi), %rax
	movq	(%rax), %rbx
	movl	(%rdi), %edi
	addl	$16, %edi
	movl	$16, %esi
	callq	_FFALIGN
	movq	%rax, %r14
	movl	8(%r15), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r12
	movq	8(%rax), %rax
	movl	(%rax), %edx
	movl	32(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ecx, %ecx
	callq	_av_opt_set_int
	movl	32(%rbx), %edi
	callq	_avcodec_dct_init
	movq	_ARCH_X86@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_ff_spp_init_x86
LBB0_2:
	movl	4(%r12), %eax
	movl	%eax, 28(%rbx)
	movl	(%r12), %eax
	movl	%eax, 24(%rbx)
	movl	4(%r15), %edi
	addl	$16, %edi
	movl	$16, %esi
	callq	_FFALIGN
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_av_malloc_array
	movq	%rax, 8(%rbx)
	movq	16(%rbx), %rdi
	addl	%r14d, %r14d
	movl	%r14d, %esi
	callq	_av_malloc_array
	movq	%rax, (%rbx)
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.3:
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bits_per_sample"

	.comm	_ARCH_X86,8,3                   ## @ARCH_X86
	.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	x21, x0
	ldr	x8, [x0, #16]
	ldr	x19, [x8]
	ldr	w8, [x0]
	add	w0, w8, #16
	mov	w1, #16
	bl	_FFALIGN
	mov	x20, x0
	ldr	w0, [x21, #8]
	bl	_av_pix_fmt_desc_get
	mov	x22, x0
	ldr	x8, [x0, #8]
	ldr	w2, [x8]
	ldr	w0, [x19, #32]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w3, #0
	bl	_av_opt_set_int
	ldr	w0, [x19, #32]
	bl	_avcodec_dct_init
Lloh2:
	adrp	x8, _ARCH_X86@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ARCH_X86@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_ff_spp_init_x86
LBB0_2:
	ldr	d0, [x22]
	str	d0, [x19, #24]
	ldr	w8, [x21, #4]
	add	w0, w8, #16
	mov	w1, #16
	bl	_FFALIGN
	str	x0, [x19, #16]
	mov	x1, x20
	bl	_av_malloc_array
	str	x0, [x19, #8]
	ldr	x0, [x19, #16]
	lsl	w1, w20, #1
	bl	_av_malloc_array
	str	x0, [x19]
	ldr	x8, [x19, #8]
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	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_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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bits_per_sample"

	.comm	_ARCH_X86,8,3                   ; @ARCH_X86
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_config_input
.subsections_via_symbols
