	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	16(%rdi), %rbx
	movq	(%rbx), %rax
	movq	8(%rbx), %r12
	movq	_AV_LOG_VERBOSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpq	$0, (%rax)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	(%r13), %rdi
	movq	_AV_SAMPLE_FMT_S16@GOTPCREL(%rip), %rax
	movl	(%r12), %r15d
	cmpq	(%rax), %rdi
	je	LBB0_5
## %bb.1:
	movq	_AV_SAMPLE_FMT_S16P@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_5
## %bb.2:
	movl	%r15d, %r14d
	jmp	LBB0_3
LBB0_5:
	movl	$16, %r14d
	cmpl	$16, %r15d
	jne	LBB0_6
LBB0_3:
	movq	_AV_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	callq	_av_get_sample_fmt_name
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_av_log
	cmpl	$16, (%r12)
	je	LBB0_7
## %bb.4:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_av_log
LBB0_7:
	cmpl	$44100, 8(%r13)                 ## imm = 0xAC44
	je	LBB0_9
LBB0_8:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_av_log
LBB0_9:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leaq	48(%r12), %rdi
	callq	_hdcd_detect_reset
	movq	_HDCD_MAX_CHANNELS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_12
## %bb.10:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r12), %rdi
	addq	%rbx, %rdi
	movl	8(%r13), %esi
	movq	8(%r12), %rdx
	callq	_hdcd_reset
	incq	%r14
	movslq	(%r15), %rax
	addq	$4, %rbx
	cmpq	%rax, %r14
	jl	LBB0_11
LBB0_12:
	movq	_AV_LOG_VERBOSE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	8(%r12), %rcx
	movq	40(%r12), %rax
	movl	(%rax), %r8d
	leaq	L_.str.7(%rip), %rdx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movl	12(%r13), %ecx
	movq	32(%r12), %rax
	cmpl	$2, %ecx
	jne	LBB0_14
## %bb.13:
	testq	%rax, %rax
	leaq	L_.str.11(%rip), %rax
	leaq	L_.str.10(%rip), %r15
	cmoveq	%rax, %r15
	jmp	LBB0_16
LBB0_14:
	leaq	L_.str.11(%rip), %r15
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.8(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	$0, 32(%r12)
LBB0_16:
	movl	(%r14), %esi
	leaq	L_.str.9(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_av_log
	movl	(%r14), %esi
	cmpq	$0, 24(%r12)
	leaq	L_.str.14(%rip), %rax
	leaq	L_.str.13(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.12(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movl	(%r14), %esi
	movq	16(%r12), %rcx
	movq	_ana_mode_str@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %r8d
	leaq	L_.str.15(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_av_log
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_av_get_sample_fmt_name
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_av_log
	movl	$16, (%r12)
	cmpl	$44100, 8(%r13)                 ## imm = 0xAC44
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_VERBOSE,4,2             ## @AV_LOG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Auto-convert: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"disabled"

L_.str.2:                               ## @.str.2
	.asciz	"enabled"

	.comm	_AV_SAMPLE_FMT_S16,8,3          ## @AV_SAMPLE_FMT_S16
	.comm	_AV_SAMPLE_FMT_S16P,8,3         ## @AV_SAMPLE_FMT_S16P
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.3:                               ## @.str.3
	.asciz	"bits_per_sample %d does not fit into sample format %s, falling back to 16\n"

L_.str.4:                               ## @.str.4
	.asciz	"Looking for %d-bit HDCD in sample format %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"20 and 24-bit HDCD decoding is experimental\n"

L_.str.6:                               ## @.str.6
	.asciz	"HDCD decoding for sample rates other than 44100 is experimental\n"

	.comm	_HDCD_MAX_CHANNELS,4,2          ## @HDCD_MAX_CHANNELS
L_.str.7:                               ## @.str.7
	.asciz	"CDT period: %dms (%u samples @44100Hz)\n"

L_.str.8:                               ## @.str.8
	.asciz	"process_stereo disabled (channels = %d)\n"

L_.str.9:                               ## @.str.9
	.asciz	"Process mode: %s\n"

L_.str.10:                              ## @.str.10
	.asciz	"process stereo channels together"

L_.str.11:                              ## @.str.11
	.asciz	"process each channel separately"

L_.str.12:                              ## @.str.12
	.asciz	"Force PE: %s\n"

L_.str.13:                              ## @.str.13
	.asciz	"on"

L_.str.14:                              ## @.str.14
	.asciz	"off"

L_.str.15:                              ## @.str.15
	.asciz	"Analyze mode: [%d] %s\n"

	.comm	_ana_mode_str,8,3               ## @ana_mode_str
	.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:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	ldr	x19, [x0, #16]
Lloh0:
	adrp	x22, _AV_LOG_VERBOSE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AV_LOG_VERBOSE@GOTPAGEOFF]
	ldr	w1, [x22]
	ldp	x8, x23, [x19]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh4:
	adrp	x10, l_.str.2@PAGE
Lloh5:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
	ldr	x0, [x20]
Lloh8:
	adrp	x8, _AV_SAMPLE_FMT_S16@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_SAMPLE_FMT_S16@GOTPAGEOFF]
Lloh10:
	adrp	x9, _AV_SAMPLE_FMT_S16P@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AV_SAMPLE_FMT_S16P@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	ldr	x9, [x9]
	ldr	w25, [x23]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	mov	x24, x25
	b.ne	LBB0_2
; %bb.1:
	mov	w24, #16
	cmp	w25, #16
	b.ne	LBB0_4
LBB0_2:
	ldr	w21, [x22]
	bl	_av_get_sample_fmt_name
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp]
Lloh14:
	adrp	x2, l_.str.4@PAGE
Lloh15:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_av_log
	ldr	w8, [x23]
	cmp	w8, #16
	b.eq	LBB0_5
; %bb.3:
Lloh16:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x2, l_.str.5@PAGE
Lloh20:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_av_log
	b	LBB0_5
LBB0_4:
Lloh21:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh23:
	ldr	w21, [x8]
	bl	_av_get_sample_fmt_name
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x25, x0, [sp]
Lloh24:
	adrp	x2, l_.str.3@PAGE
Lloh25:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_av_log
	str	w24, [x23]
LBB0_5:
	ldr	w8, [x20, #8]
	mov	w9, #44100
	cmp	w8, w9
	b.eq	LBB0_7
; %bb.6:
Lloh26:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x2, l_.str.6@PAGE
Lloh30:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_av_log
LBB0_7:
	add	x0, x23, #48
	bl	_hdcd_detect_reset
Lloh31:
	adrp	x21, _HDCD_MAX_CHANNELS@GOTPAGE
Lloh32:
	ldr	x21, [x21, _HDCD_MAX_CHANNELS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x24, #0
	mov	x25, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #40]
	add	x0, x8, x24
	ldr	w1, [x20, #8]
	ldr	x2, [x23, #8]
	bl	_hdcd_reset
	add	x25, x25, #1
	ldrsw	x8, [x21]
	add	x24, x24, #4
	cmp	x25, x8
	b.lt	LBB0_9
LBB0_10:
	ldr	w1, [x22]
	ldr	x8, [x23, #8]
	ldr	x9, [x23, #40]
	ldr	w9, [x9]
	stp	x8, x9, [sp]
Lloh33:
	adrp	x2, l_.str.7@PAGE
Lloh34:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_av_log
	ldr	w8, [x20, #12]
	ldr	x9, [x23, #32]
	cmp	w8, #2
	b.ne	LBB0_12
; %bb.11:
Lloh35:
	adrp	x8, l_.str.10@PAGE
Lloh36:
	add	x8, x8, l_.str.10@PAGEOFF
Lloh37:
	adrp	x10, l_.str.11@PAGE
Lloh38:
	add	x10, x10, l_.str.11@PAGEOFF
	cmp	x9, #0
	csel	x8, x10, x8, eq
	b	LBB0_15
LBB0_12:
	cbz	x9, LBB0_14
; %bb.13:
Lloh39:
	adrp	x9, _AV_LOG_WARNING@GOTPAGE
Lloh40:
	ldr	x9, [x9, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh42:
	adrp	x2, l_.str.8@PAGE
Lloh43:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_av_log
	str	xzr, [x23, #32]
LBB0_14:
Lloh44:
	adrp	x8, l_.str.11@PAGE
Lloh45:
	add	x8, x8, l_.str.11@PAGEOFF
LBB0_15:
	ldr	w1, [x22]
	str	x8, [sp]
Lloh46:
	adrp	x2, l_.str.9@PAGE
Lloh47:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_av_log
	ldr	w1, [x22]
	ldr	x8, [x23, #24]
Lloh48:
	adrp	x9, l_.str.13@PAGE
Lloh49:
	add	x9, x9, l_.str.13@PAGEOFF
Lloh50:
	adrp	x10, l_.str.14@PAGE
Lloh51:
	add	x10, x10, l_.str.14@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh52:
	adrp	x2, l_.str.12@PAGE
Lloh53:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_av_log
	ldr	w1, [x22]
	ldr	x8, [x23, #16]
Lloh54:
	adrp	x9, _ana_mode_str@GOTPAGE
Lloh55:
	ldr	x9, [x9, _ana_mode_str@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	ldr	w9, [x9, x8, lsl #2]
	stp	x8, x9, [sp]
Lloh57:
	adrp	x2, l_.str.15@PAGE
Lloh58:
	add	x2, x2, l_.str.15@PAGEOFF
	mov	x0, x19
	bl	_av_log
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_VERBOSE,4,2             ; @AV_LOG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Auto-convert: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"disabled"

l_.str.2:                               ; @.str.2
	.asciz	"enabled"

	.comm	_AV_SAMPLE_FMT_S16,8,3          ; @AV_SAMPLE_FMT_S16
	.comm	_AV_SAMPLE_FMT_S16P,8,3         ; @AV_SAMPLE_FMT_S16P
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.3:                               ; @.str.3
	.asciz	"bits_per_sample %d does not fit into sample format %s, falling back to 16\n"

l_.str.4:                               ; @.str.4
	.asciz	"Looking for %d-bit HDCD in sample format %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"20 and 24-bit HDCD decoding is experimental\n"

l_.str.6:                               ; @.str.6
	.asciz	"HDCD decoding for sample rates other than 44100 is experimental\n"

	.comm	_HDCD_MAX_CHANNELS,4,2          ; @HDCD_MAX_CHANNELS
l_.str.7:                               ; @.str.7
	.asciz	"CDT period: %dms (%u samples @44100Hz)\n"

l_.str.8:                               ; @.str.8
	.asciz	"process_stereo disabled (channels = %d)\n"

l_.str.9:                               ; @.str.9
	.asciz	"Process mode: %s\n"

l_.str.10:                              ; @.str.10
	.asciz	"process stereo channels together"

l_.str.11:                              ; @.str.11
	.asciz	"process each channel separately"

l_.str.12:                              ; @.str.12
	.asciz	"Force PE: %s\n"

l_.str.13:                              ; @.str.13
	.asciz	"on"

l_.str.14:                              ; @.str.14
	.asciz	"off"

l_.str.15:                              ; @.str.15
	.asciz	"Analyze mode: [%d] %s\n"

	.comm	_ana_mode_str,8,3               ; @ana_mode_str
	.no_dead_strip	_config_input
.subsections_via_symbols
