	.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, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	movl	(%rdi), %edi
	addl	$16, %edi
	movl	$16, %esi
	callq	_FFALIGN
	movq	%rax, %r15
	movl	8(%rbx), %edi
	callq	_av_pix_fmt_desc_get
	movl	4(%rax), %ecx
	movl	%ecx, 28(%r14)
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movl	4(%rbx), %edi
	addl	$16, %edi
	movl	$16, %esi
	callq	_FFALIGN
	movq	%rax, 16(%r14)
	shlq	$32, %r15
	movabsq	$34359738368, %rsi              ## imm = 0x800000000
	addq	%r15, %rsi
	shrq	$30, %rsi
	movq	%rax, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_av_malloc_array
	movl	%eax, 12(%r14)
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	%r14, %rdi
	callq	_init_thres2
	movl	(%r14), %ecx
	cmpl	$1, %ecx
	jne	LBB0_2
## %bb.3:
	movq	_softthresh_c@GOTPCREL(%rip), %rax
	testl	%ecx, %ecx
	je	LBB0_5
	jmp	LBB0_6
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_2:
	movq	_mediumthresh_c@GOTPCREL(%rip), %rax
	testl	%ecx, %ecx
	jne	LBB0_6
LBB0_5:
	movq	_hardthresh_c@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_dctB_c@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_ARCH_X86@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_ff_pp7_init_x86
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_hardthresh_c,4,2               ## @hardthresh_c
	.comm	_softthresh_c,4,2               ## @softthresh_c
	.comm	_mediumthresh_c,4,2             ## @mediumthresh_c
	.comm	_dctB_c,4,2                     ## @dctB_c
	.comm	_ARCH_X86,8,3                   ## @ARCH_X86
	.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	x20, x0
	ldr	x8, [x0, #16]
	ldr	x19, [x8]
	ldr	w8, [x0]
	add	w0, w8, #16
	mov	w1, #16
	bl	_FFALIGN
	mov	x21, x0
	ldr	w0, [x20, #8]
	bl	_av_pix_fmt_desc_get
	ldr	d0, [x0]
	str	d0, [x19, #24]
	ldr	w8, [x20, #4]
	add	w0, w8, #16
	mov	w1, #16
	bl	_FFALIGN
	str	x0, [x19, #16]
	mov	x8, #34359738368
	add	x8, x8, x21, lsl #32
	lsr	x1, x8, #30
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_av_malloc_array
	str	w0, [x19, #12]
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_init_thres2
Lloh0:
	adrp	x8, _hardthresh_c@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hardthresh_c@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh2:
	adrp	x10, _softthresh_c@GOTPAGE
Lloh3:
	ldr	x10, [x10, _softthresh_c@GOTPAGEOFF]
Lloh4:
	adrp	x11, _mediumthresh_c@GOTPAGE
Lloh5:
	ldr	x11, [x11, _mediumthresh_c@GOTPAGEOFF]
	cmp	w9, #1
	csel	x10, x10, x11, eq
	cmp	w9, #0
	csel	x8, x8, x10, eq
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _dctB_c@GOTPAGE
Lloh7:
	ldr	x9, [x9, _dctB_c@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #4]
Lloh9:
	adrp	x8, _ARCH_X86@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ARCH_X86@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_ff_pp7_init_x86
LBB0_3:
	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_4:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_hardthresh_c,4,2               ; @hardthresh_c
	.comm	_softthresh_c,4,2               ; @softthresh_c
	.comm	_mediumthresh_c,4,2             ; @mediumthresh_c
	.comm	_dctB_c,4,2                     ; @dctB_c
	.comm	_ARCH_X86,8,3                   ; @ARCH_X86
	.no_dead_strip	_config_input
.subsections_via_symbols
