	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tveeprom_hauppauge_analog      ## -- Begin function tveeprom_hauppauge_analog
	.p2align	4, 0x90
_tveeprom_hauppauge_analog:             ## @tveeprom_hauppauge_analog
	.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
	subq	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rdi, -200(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movaps	l___const.tveeprom_hauppauge_analog.t_fmt_name2+48(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	l___const.tveeprom_hauppauge_analog.t_fmt_name2+32(%rip), %xmm1
	movaps	%xmm1, -80(%rbp)
	movaps	l___const.tveeprom_hauppauge_analog.t_fmt_name2+16(%rip), %xmm2
	movaps	%xmm2, -96(%rbp)
	movaps	l___const.tveeprom_hauppauge_analog.t_fmt_name2(%rip), %xmm3
	movaps	%xmm3, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm1, -144(%rbp)
	movaps	%xmm2, -160(%rbp)
	movaps	%xmm3, -176(%rbp)
	xorl	%esi, %esi
	movl	$88, %edx
	callq	_memset
	movq	_TUNER_ABSENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%r14)
	movq	%rax, 64(%r14)
	movb	(%rbx), %cl
	cmpb	$26, %cl
	jne	LBB0_4
## %bb.1:
	movb	1(%rbx), %al
	cmpb	$-21, %al
	jne	LBB0_7
## %bb.2:
	cmpb	$103, 2(%rbx)
	jne	LBB0_11
## %bb.3:
	movl	$160, %r15d
	cmpb	$-107, 3(%rbx)
	jne	LBB0_11
	jmp	LBB0_12
LBB0_4:
	andb	$-31, %cl
	movb	1(%rbx), %al
	cmpb	$1, %cl
	jne	LBB0_7
## %bb.5:
	testb	%al, %al
	jne	LBB0_7
## %bb.6:
	cmpb	$0, 2(%rbx)
	jne	LBB0_11
	jmp	LBB0_10
LBB0_7:
	cmpb	$112, %al
	jne	LBB0_11
## %bb.8:
	cmpb	$0, 2(%rbx)
	jne	LBB0_11
## %bb.9:
	cmpb	$116, 4(%rbx)
	jne	LBB0_11
LBB0_10:
	movl	$8, %r15d
	cmpb	$-124, 8(%rbx)
	je	LBB0_12
LBB0_11:
	xorl	%r15d, %r15d
LBB0_12:
	movl	$-1, %eax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movl	$0, -180(%rbp)                  ## 4-byte Folded Spill
	movl	$0, -204(%rbp)                  ## 4-byte Folded Spill
	movl	$0, -184(%rbp)                  ## 4-byte Folded Spill
	movl	$0, -188(%rbp)                  ## 4-byte Folded Spill
	movl	$0, -208(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_13
LBB0_41:                                ##   in Loop: Header=BB0_13 Depth=1
	leaq	L_.str.4(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_pr_debug
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_13 Depth=1
	addl	%r12d, %r15d
	cmpl	$256, %r15d                     ## imm = 0x100
	jge	LBB0_43
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movslq	%r15d, %rax
	movzbl	(%rbx,%rax), %r12d
	cmpl	$132, %r12d
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movzwl	1(%rax,%rbx), %r12d
	movl	$3, %eax
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	%r12d, %eax
	andl	$-16, %eax
	cmpl	$112, %eax
	jne	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	testb	$8, %r12b
	jne	LBB0_45
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	andl	$7, %r12d
	movl	$1, %eax
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	addl	%eax, %r15d
	movslq	%r15d, %r13
	leaq	(%rbx,%r13), %r8
	movzbl	(%rbx,%r13), %esi
	leal	-1(%r12), %r14d
	leaq	L_.str.3(%rip), %rdi
	movl	%r14d, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_pr_debug
	movzbl	(%rbx,%r13), %esi
	cmpq	$15, %rsi
	ja	LBB0_41
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=1
	movzbl	6(%r13,%rbx), %eax
	movl	%eax, -188(%rbp)                ## 4-byte Spill
	movzbl	5(%r13,%rbx), %eax
	movl	%eax, -184(%rbp)                ## 4-byte Spill
	addl	%r13d, %r14d
	movslq	%r14d, %rax
	movzbl	(%rbx,%rax), %eax
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	movb	%al, (%rcx)
	movl	$0, 4(%rcx)
	movzbl	8(%r13,%rbx), %eax
	movb	%al, 8(%rcx)
	movzbl	10(%r13,%rbx), %eax
	movb	%al, 9(%rcx)
	jmp	LBB0_42
LBB0_23:                                ##   in Loop: Header=BB0_13 Depth=1
	movzbl	6(%r13,%rbx), %eax
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	movb	%al, 10(%rcx)
	jmp	LBB0_42
LBB0_24:                                ##   in Loop: Header=BB0_13 Depth=1
	movzbl	2(%r13,%rbx), %r14d
	jmp	LBB0_25
LBB0_29:                                ##   in Loop: Header=BB0_13 Depth=1
	movzbl	5(%r13,%rbx), %eax
	movq	-200(%rbp), %rdx                ## 8-byte Reload
	movb	%al, 10(%rdx)
	cmpb	$-16, 8(%r13,%rbx)
	jne	LBB0_42
## %bb.30:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	16(%rdx), %rax
	movabsq	$55834574848, %rcx              ## imm = 0xD00000000
	movq	%rcx, (%rax)
	movl	$254, 8(%rax)
	movzbl	7(%r13,%rbx), %ecx
	movl	%ecx, 12(%rax)
	movzbl	6(%r13,%rbx), %ecx
	movl	%ecx, 16(%rax)
	movzbl	5(%rbx,%r13), %ecx
	movl	%ecx, 20(%rax)
	movl	$1, 24(%rdx)
	jmp	LBB0_42
LBB0_31:                                ##   in Loop: Header=BB0_13 Depth=1
	movzbl	1(%r13,%rbx), %r14d
LBB0_25:                                ##   in Loop: Header=BB0_13 Depth=1
	andl	$127, %r14d
	movq	_audio_ic@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cmpl	%r14d, %eax
	movq	%r14, -216(%rbp)                ## 8-byte Spill
	jle	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	(%r13), %rax
	movq	%r14, %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rax
	jmp	LBB0_28
LBB0_32:                                ##   in Loop: Header=BB0_13 Depth=1
	movzbl	1(%r13,%rbx), %eax
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	movb	%al, 8(%rcx)
	movzbl	5(%r13,%rbx), %eax
	movb	%al, 9(%rcx)
	jmp	LBB0_42
LBB0_33:                                ##   in Loop: Header=BB0_13 Depth=1
	movzbl	1(%r13,%rbx), %eax
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, 48(%rcx)
	jmp	LBB0_42
LBB0_34:                                ##   in Loop: Header=BB0_13 Depth=1
	movzbl	2(%r13,%rbx), %eax
	movzbl	1(%r13,%rbx), %ecx
	cmpl	$0, -208(%rbp)                  ## 4-byte Folded Reload
	movl	$1, -208(%rbp)                  ## 4-byte Folded Spill
	je	LBB0_35
## %bb.36:                              ##   in Loop: Header=BB0_13 Depth=1
	testl	%ecx, %ecx
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%eax, -204(%rbp)                ## 4-byte Spill
	movl	%ecx, -180(%rbp)                ## 4-byte Spill
	jmp	LBB0_42
LBB0_39:                                ##   in Loop: Header=BB0_13 Depth=1
	movzbl	1(%r13,%rbx), %eax
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	movb	%al, (%rcx)
	jmp	LBB0_42
LBB0_40:                                ##   in Loop: Header=BB0_13 Depth=1
	movzbl	1(%r13,%rbx), %eax
	addl	%eax, %eax
	incl	%eax
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, 4(%rcx)
	jmp	LBB0_42
LBB0_27:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_TVEEPROM_AUDPROC_OTHER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_28:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, 56(%rcx)
	jmp	LBB0_42
LBB0_35:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	%eax, -188(%rbp)                ## 4-byte Spill
	movl	%ecx, -184(%rbp)                ## 4-byte Spill
	jmp	LBB0_42
LBB0_38:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	movb	$1, (%rcx)
	movl	$0, -180(%rbp)                  ## 4-byte Folded Spill
	movl	%eax, -204(%rbp)                ## 4-byte Spill
	jmp	LBB0_42
LBB0_43:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_104
## %bb.44:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_warn                        ## TAILCALL
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_104
## %bb.21:
	leaq	L_.str.2(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_warn                        ## TAILCALL
LBB0_45:
	movq	-200(%rbp), %rbx                ## 8-byte Reload
	movzbl	9(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_47
## %bb.46:
	movq	32(%rbx), %rcx
	movabsq	$137438953504, %rdx             ## imm = 0x2000000020
	movq	%rdx, (%rcx)
	movl	%eax, %edx
	shrl	$6, %edx
	orl	$32, %edx
	movl	%edx, 8(%rcx)
	andb	$63, %al
	addb	$32, %al
	movzbl	%al, %eax
	movl	%eax, 12(%rcx)
	movl	$0, 16(%rcx)
LBB0_47:
	movl	-188(%rbp), %edi                ## 4-byte Reload
	callq	_hasRadioTuner
	testq	%rax, %rax
	movq	_audio_ic@GOTPCREL(%rip), %r12
	je	LBB0_50
## %bb.48:
	cmpb	$0, (%rbx)
	jne	LBB0_50
## %bb.49:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	movb	$1, (%rbx)
LBB0_50:
	movq	_hauppauge_tuner@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movq	(%r15), %rdi
	leaq	L_.str.8(%rip), %r14
	movq	%r14, %r13
	cmpl	%eax, -188(%rbp)                ## 4-byte Folded Reload
	jge	LBB0_52
## %bb.51:
	movl	-188(%rbp), %eax                ## 4-byte Reload
	shlq	$4, %rax
	movq	8(%rdi,%rax), %rcx
	movq	%rcx, 72(%rbx)
	movq	(%rdi,%rax), %r13
LBB0_52:
	callq	_ARRAY_SIZE
	movl	-204(%rbp), %ecx                ## 4-byte Reload
	cmpl	%eax, %ecx
	movl	%ecx, %eax
	jge	LBB0_54
## %bb.53:
	movq	(%r15), %rax
	movl	-204(%rbp), %ecx                ## 4-byte Reload
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rdx
	movq	%rdx, 64(%rbx)
	movq	(%rax,%rcx), %r14
	movl	-204(%rbp), %eax                ## 4-byte Reload
LBB0_54:
	movl	-188(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, 40(%rbx)
	movl	%eax, 44(%rbx)
	movq	$0, 80(%rbx)
	movq	_hauppauge_tuner_fmt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	movl	$0, %edx
	testb	$1, -184(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_56
## %bb.55:
	movl	8(%rax), %ecx
	movl	%ecx, 84(%rbx)
	movq	(%rax), %rdx
	movq	%rdx, -112(%rbp)
	movl	$1, %edx
LBB0_56:
	testb	$2, -184(%rbp)                  ## 1-byte Folded Reload
	movq	-216(%rbp), %r15                ## 8-byte Reload
	jne	LBB0_57
## %bb.58:
	testb	$4, -184(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_59
LBB0_60:
	testb	$8, -184(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_61
LBB0_62:
	testb	$16, -184(%rbp)                 ## 1-byte Folded Reload
	jne	LBB0_63
LBB0_64:
	testb	$32, -184(%rbp)                 ## 1-byte Folded Reload
	jne	LBB0_65
LBB0_66:
	testb	$64, -184(%rbp)                 ## 1-byte Folded Reload
	jne	LBB0_67
LBB0_68:
	testb	$-128, -184(%rbp)               ## 1-byte Folded Reload
	je	LBB0_70
LBB0_69:
	orl	120(%rax), %ecx
	movl	%ecx, 84(%rbx)
	movq	112(%rax), %rcx
	movl	%edx, %edx
	movq	%rcx, -112(%rbp,%rdx,8)
LBB0_70:
	xorl	%ecx, %ecx
	movl	$0, %edx
	testb	$1, -180(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_71
## %bb.72:
	testb	$2, -180(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_73
LBB0_74:
	testb	$4, -180(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_75
LBB0_76:
	testb	$8, -180(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_77
LBB0_78:
	testb	$16, -180(%rbp)                 ## 1-byte Folded Reload
	jne	LBB0_79
LBB0_80:
	testb	$32, -180(%rbp)                 ## 1-byte Folded Reload
	jne	LBB0_81
LBB0_82:
	testb	$64, -180(%rbp)                 ## 1-byte Folded Reload
	jne	LBB0_83
LBB0_84:
	testb	$-128, -180(%rbp)               ## 1-byte Folded Reload
	je	LBB0_86
LBB0_85:
	orl	120(%rax), %ecx
	movl	%ecx, 80(%rbx)
	movq	112(%rax), %rax
	movl	%edx, %ecx
	movq	%rax, -176(%rbp,%rcx,8)
LBB0_86:
	movzbl	8(%rbx), %esi
	movq	32(%rbx), %rdx
	movzbl	10(%rbx), %ecx
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	cmpl	$1, 24(%rbx)
	jne	LBB0_88
## %bb.87:
	movq	16(%rbx), %rsi
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
LBB0_88:
	movq	72(%rbx), %rcx
	leaq	L_.str.11(%rip), %rdi
	movq	%r13, %rsi
	movl	-188(%rbp), %edx                ## 4-byte Reload
	xorl	%eax, %eax
	callq	_pr_info
	movq	-112(%rbp), %rsi
	movq	-104(%rbp), %rdx
	movq	-96(%rbp), %rcx
	movq	-88(%rbp), %r8
	movq	-80(%rbp), %r9
	movups	-72(%rbp), %xmm0
	movq	-56(%rbp), %rax
	movl	-184(%rbp), %edi                ## 4-byte Reload
	movl	%edi, 24(%rsp)
	movq	%rax, 16(%rsp)
	movups	%xmm0, (%rsp)
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	movl	-204(%rbp), %edx                ## 4-byte Reload
	testl	%edx, %edx
	je	LBB0_90
## %bb.89:
	movq	64(%rbx), %rcx
	leaq	L_.str.13(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_pr_info
LBB0_90:
	movl	-180(%rbp), %eax                ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_92
## %bb.91:
	movq	-176(%rbp), %rsi
	movq	-168(%rbp), %rdx
	movq	-160(%rbp), %rcx
	movq	-152(%rbp), %r8
	movq	-144(%rbp), %r9
	movups	-136(%rbp), %xmm0
	movl	%eax, %edi
	movq	-120(%rbp), %rax
	movl	%edi, 24(%rsp)
	movq	%rax, 16(%rsp)
	movups	%xmm0, (%rsp)
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
LBB0_92:
	testl	%r15d, %r15d
	js	LBB0_93
## %bb.94:
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r15d
	jge	LBB0_96
## %bb.95:
	movq	(%r12), %rax
	movl	%r15d, %ecx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rsi
	leaq	L_.str.15(%rip), %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_pr_info
	jmp	LBB0_97
LBB0_57:
	orl	24(%rax), %ecx
	movl	%ecx, 84(%rbx)
	movq	16(%rax), %rsi
	movl	%edx, %edi
	incl	%edx
	movq	%rsi, -112(%rbp,%rdi,8)
	testb	$4, -184(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_60
LBB0_59:
	orl	40(%rax), %ecx
	movl	%ecx, 84(%rbx)
	movq	32(%rax), %rsi
	movl	%edx, %edi
	incl	%edx
	movq	%rsi, -112(%rbp,%rdi,8)
	testb	$8, -184(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_62
LBB0_61:
	orl	56(%rax), %ecx
	movl	%ecx, 84(%rbx)
	movq	48(%rax), %rsi
	movl	%edx, %edi
	incl	%edx
	movq	%rsi, -112(%rbp,%rdi,8)
	testb	$16, -184(%rbp)                 ## 1-byte Folded Reload
	je	LBB0_64
LBB0_63:
	orl	72(%rax), %ecx
	movl	%ecx, 84(%rbx)
	movq	64(%rax), %rsi
	movl	%edx, %edi
	incl	%edx
	movq	%rsi, -112(%rbp,%rdi,8)
	testb	$32, -184(%rbp)                 ## 1-byte Folded Reload
	je	LBB0_66
LBB0_65:
	orl	88(%rax), %ecx
	movl	%ecx, 84(%rbx)
	movq	80(%rax), %rsi
	movl	%edx, %edi
	incl	%edx
	movq	%rsi, -112(%rbp,%rdi,8)
	testb	$64, -184(%rbp)                 ## 1-byte Folded Reload
	je	LBB0_68
LBB0_67:
	orl	104(%rax), %ecx
	movl	%ecx, 84(%rbx)
	movq	96(%rax), %rsi
	movl	%edx, %edi
	incl	%edx
	movq	%rsi, -112(%rbp,%rdi,8)
	testb	$-128, -184(%rbp)               ## 1-byte Folded Reload
	jne	LBB0_69
	jmp	LBB0_70
LBB0_71:
	movl	8(%rax), %ecx
	movl	%ecx, 80(%rbx)
	movq	(%rax), %rdx
	movq	%rdx, -176(%rbp)
	movl	$1, %edx
	testb	$2, -180(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_74
LBB0_73:
	orl	24(%rax), %ecx
	movl	%ecx, 80(%rbx)
	movq	16(%rax), %rsi
	movl	%edx, %edi
	incl	%edx
	movq	%rsi, -176(%rbp,%rdi,8)
	testb	$4, -180(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_76
LBB0_75:
	orl	40(%rax), %ecx
	movl	%ecx, 80(%rbx)
	movq	32(%rax), %rsi
	movl	%edx, %edi
	incl	%edx
	movq	%rsi, -176(%rbp,%rdi,8)
	testb	$8, -180(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_78
LBB0_77:
	orl	56(%rax), %ecx
	movl	%ecx, 80(%rbx)
	movq	48(%rax), %rsi
	movl	%edx, %edi
	incl	%edx
	movq	%rsi, -176(%rbp,%rdi,8)
	testb	$16, -180(%rbp)                 ## 1-byte Folded Reload
	je	LBB0_80
LBB0_79:
	orl	72(%rax), %ecx
	movl	%ecx, 80(%rbx)
	movq	64(%rax), %rsi
	movl	%edx, %edi
	incl	%edx
	movq	%rsi, -176(%rbp,%rdi,8)
	testb	$32, -180(%rbp)                 ## 1-byte Folded Reload
	je	LBB0_82
LBB0_81:
	orl	88(%rax), %ecx
	movl	%ecx, 80(%rbx)
	movq	80(%rax), %rsi
	movl	%edx, %edi
	incl	%edx
	movq	%rsi, -176(%rbp,%rdi,8)
	testb	$64, -180(%rbp)                 ## 1-byte Folded Reload
	je	LBB0_84
LBB0_83:
	orl	104(%rax), %ecx
	movl	%ecx, 80(%rbx)
	movq	96(%rax), %rsi
	movl	%edx, %edi
	incl	%edx
	movq	%rsi, -176(%rbp,%rdi,8)
	testb	$-128, -180(%rbp)               ## 1-byte Folded Reload
	jne	LBB0_85
	jmp	LBB0_86
LBB0_93:
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	movq	_TVEEPROM_AUDPROC_OTHER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%rbx)
	jmp	LBB0_97
LBB0_96:
	leaq	L_.str.16(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_pr_info
LBB0_97:
	movl	48(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_99
## %bb.98:
	movq	_decoderIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_STRM
	movl	48(%rbx), %edx
	leaq	L_.str.17(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_info
LBB0_99:
	movl	4(%rbx), %eax
	cmpb	$0, (%rbx)
	leaq	L_.str.19(%rip), %rdi
	leaq	L_.str.1(%rip), %rcx
	movq	%rcx, %rsi
	cmoveq	%rdi, %rsi
	testl	%eax, %eax
	je	LBB0_102
## %bb.100:
	testb	$2, %al
	movq	%rcx, %rdx
	cmoveq	%rdi, %rdx
	testb	$4, %al
	cmoveq	%rdi, %rcx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_104
## %bb.101:
	leaq	L_.str.18(%rip), %rdi
	xorl	%eax, %eax
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_info                        ## TAILCALL
LBB0_102:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_104
## %bb.103:
	leaq	L_.str.20(%rip), %rdi
	xorl	%eax, %eax
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_info                        ## TAILCALL
LBB0_104:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_23
	.long	L0_0_set_24
	.long	L0_0_set_41
	.long	L0_0_set_29
	.long	L0_0_set_31
	.long	L0_0_set_32
	.long	L0_0_set_42
	.long	L0_0_set_41
	.long	L0_0_set_33
	.long	L0_0_set_34
	.long	L0_0_set_42
	.long	L0_0_set_41
	.long	L0_0_set_41
	.long	L0_0_set_39
	.long	L0_0_set_40
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" none"

L_.str.1:                               ## @.str.1
	.space	1

	.section	__DATA,__const
	.p2align	4                               ## @__const.tveeprom_hauppauge_analog.t_fmt_name2
l___const.tveeprom_hauppauge_analog.t_fmt_name2:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.1
	.quad	L_.str.1
	.quad	L_.str.1
	.quad	L_.str.1
	.quad	L_.str.1
	.quad	L_.str.1

	.comm	_TUNER_ABSENT,8,3               ## @TUNER_ABSENT
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"Encountered bad packet header [%02x]. Corrupt or not a Hauppauge eeprom.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Tag [%02x] + %d bytes: %*ph\n"

	.comm	_audio_ic,8,3                   ## @audio_ic
	.comm	_TVEEPROM_AUDPROC_OTHER,8,3     ## @TVEEPROM_AUDPROC_OTHER
L_.str.4:                               ## @.str.4
	.asciz	"Not sure what to do with tag [%02x]\n"

L_.str.5:                               ## @.str.5
	.asciz	"Ran out of data!\n"

L_.str.6:                               ## @.str.6
	.asciz	"The eeprom says no radio is present, but the tuner type\n"

L_.str.7:                               ## @.str.7
	.asciz	"indicates otherwise. I will assume that radio is present.\n"

	.comm	_hauppauge_tuner,8,3            ## @hauppauge_tuner
L_.str.8:                               ## @.str.8
	.asciz	"unknown"

	.comm	_hauppauge_tuner_fmt,8,3        ## @hauppauge_tuner_fmt
L_.str.9:                               ## @.str.9
	.asciz	"Hauppauge model %d, rev %s, serial# %u\n"

L_.str.10:                              ## @.str.10
	.asciz	"MAC address is %pM\n"

L_.str.11:                              ## @.str.11
	.asciz	"tuner model is %s (idx %d, type %d)\n"

L_.str.12:                              ## @.str.12
	.asciz	"TV standards%s%s%s%s%s%s%s%s (eeprom 0x%02x)\n"

L_.str.13:                              ## @.str.13
	.asciz	"second tuner model is %s (idx %d, type %d)\n"

L_.str.14:                              ## @.str.14
	.asciz	"audio processor is unknown (no idx)\n"

L_.str.15:                              ## @.str.15
	.asciz	"audio processor is %s (idx %d)\n"

L_.str.16:                              ## @.str.16
	.asciz	"audio processor is unknown (idx %d)\n"

L_.str.17:                              ## @.str.17
	.asciz	"decoder processor is %s (idx %d)\n"

	.comm	_decoderIC,4,2                  ## @decoderIC
L_.str.18:                              ## @.str.18
	.asciz	"has %sradio, has %sIR receiver, has %sIR transmitter\n"

L_.str.19:                              ## @.str.19
	.asciz	"no "

L_.str.20:                              ## @.str.20
	.asciz	"has %sradio\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function tveeprom_hauppauge_analog
lCPI0_0:
	.long	0                               ; 0x0
	.long	13                              ; 0xd
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_tveeprom_hauppauge_analog
	.p2align	2
_tveeprom_hauppauge_analog:             ; @tveeprom_hauppauge_analog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	d9, d8, [sp, #240]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #256]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #272]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
Lloh3:
	adrp	x8, l___const.tveeprom_hauppauge_analog.t_fmt_name2@PAGE
Lloh4:
	add	x8, x8, l___const.tveeprom_hauppauge_analog.t_fmt_name2@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #160]
	ldp	q2, q3, [x8, #32]
	stp	q2, q3, [sp, #192]
	stp	q0, q1, [sp, #96]
	stp	q2, q3, [sp, #128]
	mov	w1, #0
	mov	w2, #88
	bl	_memset
Lloh5:
	adrp	x8, _TUNER_ABSENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TUNER_ABSENT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #64]
	ldrb	w8, [x21]
	cmp	w8, #26
	b.ne	LBB0_5
; %bb.1:
	ldrb	w8, [x21, #1]
	cmp	w8, #235
	b.ne	LBB0_8
; %bb.2:
	ldrb	w8, [x21, #2]
	cmp	w8, #103
	b.ne	LBB0_13
; %bb.3:
	ldrb	w8, [x21, #3]
	cmp	w8, #149
	b.ne	LBB0_13
; %bb.4:
	mov	w8, #160
	b	LBB0_14
LBB0_5:
	and	w9, w8, #0xffffffe1
	ldrb	w8, [x21, #1]
	cmp	w9, #1
	b.ne	LBB0_8
; %bb.6:
	cbnz	w8, LBB0_8
; %bb.7:
	ldrb	w8, [x21, #2]
	cbnz	w8, LBB0_13
	b	LBB0_11
LBB0_8:
	cmp	w8, #112
	b.ne	LBB0_13
; %bb.9:
	ldrb	w8, [x21, #2]
	cbnz	w8, LBB0_13
; %bb.10:
	ldrb	w8, [x21, #4]
	cmp	w8, #116
	b.ne	LBB0_13
LBB0_11:
	ldrb	w8, [x21, #8]
	cmp	w8, #132
	b.ne	LBB0_13
; %bb.12:
	mov	w8, #8
	b	LBB0_14
LBB0_13:
	mov	w8, #0
LBB0_14:
	stp	xzr, xzr, [sp, #72]             ; 16-byte Folded Spill
	mov	w25, #0
	str	xzr, [sp, #88]                  ; 8-byte Folded Spill
	mov	w24, #0
	mov	w26, #-1
Lloh8:
	adrp	x22, l_.str.3@PAGE
Lloh9:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh10:
	adrp	x9, lCPI0_0@PAGE
Lloh11:
	ldr	d8, [x9, lCPI0_0@PAGEOFF]
Lloh12:
	adrp	x23, lJTI0_0@PAGE
Lloh13:
	add	x23, x23, lJTI0_0@PAGEOFF
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_pr_debug
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	w8, w20, w28
	cmp	w8, #256
	b.ge	LBB0_44
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x8, w8
	ldrb	w9, [x21, x8]
	cmp	w9, #132
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x9, x8, x21
	ldurh	w28, [x9, #1]
	mov	w9, #3
	b	LBB0_22
LBB0_19:                                ;   in Loop: Header=BB0_17 Depth=1
	and	w10, w9, #0xf0
	cmp	w10, #112
	b.ne	LBB0_46
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	tbnz	w9, #3, LBB0_47
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=1
	and	w28, w9, #0x7
	mov	w9, #1
LBB0_22:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x20, x8, w9, uxtw
	add	x8, x21, x20
	ldrb	w1, [x8]
	sub	w27, w28, #1
	stp	x28, x8, [sp, #8]
	str	x27, [sp]
	mov	x0, x22
	bl	_pr_debug
	ldrb	w1, [x21, x20]
	cmp	w1, #15
	b.hi	LBB0_15
; %bb.23:                               ;   in Loop: Header=BB0_17 Depth=1
	adr	x8, LBB0_15
	ldrb	w9, [x23, x1]
	add	x8, x8, x9, lsl #2
	br	x8
LBB0_24:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x8, x21, w20, sxtw
	ldrb	w9, [x8, #6]
	str	x9, [sp, #88]                   ; 8-byte Folded Spill
	ldrb	w25, [x8, #5]
	add	w9, w27, w20
	ldrb	w9, [x21, w9, sxtw]
	strb	w9, [x19]
	str	wzr, [x19, #4]
	ldrb	w9, [x8, #8]
	strb	w9, [x19, #8]
	ldrb	w8, [x8, #10]
	strb	w8, [x19, #9]
	b	LBB0_16
LBB0_25:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x8, x21, w20, sxtw
	ldrb	w8, [x8, #6]
	strb	w8, [x19, #10]
	b	LBB0_16
LBB0_26:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x8, x21, w20, sxtw
	ldrb	w8, [x8, #2]
	and	x26, x8, #0x7f
Lloh16:
	adrp	x27, _audio_ic@GOTPAGE
Lloh17:
	ldr	x27, [x27, _audio_ic@GOTPAGEOFF]
	ldr	x0, [x27]
	bl	_ARRAY_SIZE
	cmp	w0, w26
	b.le	LBB0_39
; %bb.27:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x27]
	add	x8, x8, x26, lsl #4
	ldr	x8, [x8, #8]
	str	x8, [x19, #56]
	b	LBB0_16
LBB0_28:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x8, x20
	sxtw	x9, w8
	add	x8, x9, #5
	ldrb	w10, [x21, x8]
	add	x9, x9, x21
	strb	w10, [x19, #10]
	ldrb	w10, [x9, #8]
	cmp	w10, #240
	b.ne	LBB0_16
; %bb.29:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x10, [x19, #16]
	str	d8, [x10]
	mov	w11, #254
	str	w11, [x10, #8]
	ldrb	w11, [x9, #7]
	str	w11, [x10, #12]
	ldrb	w9, [x9, #6]
	str	w9, [x10, #16]
	ldrb	w8, [x21, x8]
	str	w8, [x10, #20]
	mov	w8, #1
	str	w8, [x19, #24]
	b	LBB0_16
LBB0_30:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x8, x21, w20, sxtw
	ldrb	w8, [x8, #1]
	and	x26, x8, #0x7f
Lloh18:
	adrp	x27, _audio_ic@GOTPAGE
Lloh19:
	ldr	x27, [x27, _audio_ic@GOTPAGEOFF]
	ldr	x0, [x27]
	bl	_ARRAY_SIZE
	cmp	w0, w26
	b.le	LBB0_40
; %bb.31:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x27]
	add	x8, x8, x26, lsl #4
	ldr	x8, [x8, #8]
	b	LBB0_41
LBB0_32:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x8, x21, w20, sxtw
	ldrb	w9, [x8, #1]
	strb	w9, [x19, #8]
	ldrb	w8, [x8, #5]
	strb	w8, [x19, #9]
	b	LBB0_16
LBB0_33:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x8, x21, w20, sxtw
	ldrb	w8, [x8, #1]
	str	w8, [x19, #48]
	b	LBB0_16
LBB0_34:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x9, x21, w20, sxtw
	ldrb	w8, [x9, #2]
	ldrb	w9, [x9, #1]
	cbz	w24, LBB0_42
; %bb.35:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	w24, #1
	cbz	w9, LBB0_43
; %bb.36:                               ;   in Loop: Header=BB0_17 Depth=1
                                        ; kill: def $w8 killed $w8 def $x8
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	mov	x8, x9
	str	x8, [sp, #80]                   ; 8-byte Folded Spill
	b	LBB0_16
LBB0_37:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x8, x21, w20, sxtw
	ldrb	w8, [x8, #1]
	strb	w8, [x19]
	b	LBB0_16
LBB0_38:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x8, x21, w20, sxtw
	ldrb	w8, [x8, #1]
	mov	w9, #1
	bfi	w9, w8, #1, #8
	str	w9, [x19, #4]
	b	LBB0_16
LBB0_39:                                ;   in Loop: Header=BB0_17 Depth=1
Lloh20:
	adrp	x8, _TVEEPROM_AUDPROC_OTHER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TVEEPROM_AUDPROC_OTHER@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	str	x8, [x19, #56]
	b	LBB0_16
LBB0_40:                                ;   in Loop: Header=BB0_17 Depth=1
Lloh23:
	adrp	x8, _TVEEPROM_AUDPROC_OTHER@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TVEEPROM_AUDPROC_OTHER@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
LBB0_41:                                ;   in Loop: Header=BB0_17 Depth=1
	str	x8, [x19, #56]
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	b	LBB0_16
LBB0_42:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	w24, #1
                                        ; kill: def $w8 killed $w8 def $x8
	str	x8, [sp, #88]                   ; 8-byte Folded Spill
	mov	x25, x9
	b	LBB0_16
LBB0_43:                                ;   in Loop: Header=BB0_17 Depth=1
	strb	w24, [x19]
                                        ; kill: def $w8 killed $w8 def $x8
	stp	x8, xzr, [sp, #72]              ; 16-byte Folded Spill
	b	LBB0_16
LBB0_44:
	ldur	x8, [x29, #-112]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_109
; %bb.45:
Lloh29:
	adrp	x0, l_.str.5@PAGE
Lloh30:
	add	x0, x0, l_.str.5@PAGEOFF
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #272]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #256]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #240]              ; 16-byte Folded Reload
	add	sp, sp, #352
	b	_pr_warn
LBB0_46:
	str	x9, [sp]
Lloh31:
	adrp	x0, l_.str.2@PAGE
Lloh32:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_warn
	b	LBB0_107
LBB0_47:
	ldrb	w8, [x19, #9]
	cbz	w8, LBB0_49
; %bb.48:
	ldr	x9, [x19, #32]
	movi.2s	v0, #32
	str	d0, [x9]
	lsr	w10, w8, #6
	orr	w10, w10, #0x20
	and	w8, w8, #0x3f
	add	w8, w8, #32
	stp	w10, w8, [x9, #8]
	str	wzr, [x9, #16]
LBB0_49:
	ldr	x21, [sp, #88]                  ; 8-byte Folded Reload
	mov	x0, x21
	bl	_hasRadioTuner
	ldp	x24, x23, [sp, #72]             ; 16-byte Folded Reload
	cbz	x0, LBB0_52
; %bb.50:
	ldrb	w8, [x19]
	cbnz	w8, LBB0_52
; %bb.51:
Lloh33:
	adrp	x0, l_.str.6@PAGE
Lloh34:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_info
Lloh35:
	adrp	x0, l_.str.7@PAGE
Lloh36:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pr_info
	mov	w8, #1
	strb	w8, [x19]
LBB0_52:
Lloh37:
	adrp	x20, _hauppauge_tuner@GOTPAGE
Lloh38:
	ldr	x20, [x20, _hauppauge_tuner@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	mov	x8, x0
	ldr	x0, [x20]
	cmp	w21, w8
	b.ge	LBB0_54
; %bb.53:
	add	x8, x0, w21, uxtw #4
	ldr	x9, [x8, #8]
	str	x9, [x19, #72]
	ldr	x22, [x8]
	b	LBB0_55
LBB0_54:
Lloh39:
	adrp	x22, l_.str.8@PAGE
Lloh40:
	add	x22, x22, l_.str.8@PAGEOFF
LBB0_55:
	bl	_ARRAY_SIZE
	cmp	w24, w0
	b.ge	LBB0_57
; %bb.56:
	ldr	x8, [x20]
	add	x8, x8, w24, uxtw #4
	ldr	x9, [x8, #8]
	str	x9, [x19, #64]
	ldr	x21, [x8]
	b	LBB0_58
LBB0_57:
Lloh41:
	adrp	x21, l_.str.8@PAGE
Lloh42:
	add	x21, x21, l_.str.8@PAGEOFF
LBB0_58:
	mov	w9, #0
	mov	w10, #0
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	stp	w8, w24, [x19, #40]
	str	xzr, [x19, #80]
Lloh43:
	adrp	x8, _hauppauge_tuner_fmt@GOTPAGE
Lloh44:
	ldr	x8, [x8, _hauppauge_tuner_fmt@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	tbnz	w25, #0, LBB0_68
; %bb.59:
	tbnz	w25, #1, LBB0_69
LBB0_60:
	tbnz	w25, #2, LBB0_70
LBB0_61:
	tbnz	w25, #3, LBB0_71
LBB0_62:
	tbnz	w25, #4, LBB0_72
LBB0_63:
	tbnz	w25, #5, LBB0_73
LBB0_64:
	tbnz	w25, #6, LBB0_74
LBB0_65:
	tbnz	w25, #7, LBB0_75
LBB0_66:
	tbnz	w23, #0, LBB0_76
LBB0_67:
	mov	w9, #0
	mov	w10, #0
	tbnz	w23, #1, LBB0_77
	b	LBB0_78
LBB0_68:
	ldr	w9, [x8, #8]
	str	w9, [x19, #84]
	ldr	x10, [x8]
	str	x10, [sp, #160]
	mov	w10, #1
	tbz	w25, #1, LBB0_60
LBB0_69:
	ldr	w11, [x8, #24]
	orr	w9, w9, w11
	str	w9, [x19, #84]
	ldr	x11, [x8, #16]
	mov	w12, w10
	add	w10, w10, #1
	add	x13, sp, #160
	bfi	x13, x12, #3, #1
	str	x11, [x13]
	tbz	w25, #2, LBB0_61
LBB0_70:
	ldr	w11, [x8, #40]
	orr	w9, w9, w11
	str	w9, [x19, #84]
	ldr	x11, [x8, #32]
	add	x12, sp, #160
	str	x11, [x12, w10, uxtw #3]
	add	w10, w10, #1
	tbz	w25, #3, LBB0_62
LBB0_71:
	ldr	w11, [x8, #56]
	orr	w9, w9, w11
	str	w9, [x19, #84]
	ldr	x11, [x8, #48]
	add	x12, sp, #160
	str	x11, [x12, w10, uxtw #3]
	add	w10, w10, #1
	tbz	w25, #4, LBB0_63
LBB0_72:
	ldr	w11, [x8, #72]
	orr	w9, w9, w11
	str	w9, [x19, #84]
	ldr	x11, [x8, #64]
	add	x12, sp, #160
	str	x11, [x12, w10, uxtw #3]
	add	w10, w10, #1
	tbz	w25, #5, LBB0_64
LBB0_73:
	ldr	w11, [x8, #88]
	orr	w9, w9, w11
	str	w9, [x19, #84]
	ldr	x11, [x8, #80]
	add	x12, sp, #160
	str	x11, [x12, w10, uxtw #3]
	add	w10, w10, #1
	tbz	w25, #6, LBB0_65
LBB0_74:
	ldr	w11, [x8, #104]
	orr	w9, w9, w11
	str	w9, [x19, #84]
	ldr	x11, [x8, #96]
	add	x12, sp, #160
	str	x11, [x12, w10, uxtw #3]
	add	w10, w10, #1
	tbz	w25, #7, LBB0_66
LBB0_75:
	ldr	w11, [x8, #120]
	orr	w9, w9, w11
	str	w9, [x19, #84]
	ldr	x9, [x8, #112]
	add	x11, sp, #160
	str	x9, [x11, w10, uxtw #3]
	tbz	w23, #0, LBB0_67
LBB0_76:
	ldr	w9, [x8, #8]
	str	w9, [x19, #80]
	ldr	x10, [x8]
	str	x10, [sp, #96]
	mov	w10, #1
	tbz	w23, #1, LBB0_78
LBB0_77:
	ldr	w11, [x8, #24]
	orr	w9, w9, w11
	str	w9, [x19, #80]
	ldr	x11, [x8, #16]
	mov	w12, w10
	add	w10, w10, #1
	add	x13, sp, #96
	bfi	x13, x12, #3, #1
	str	x11, [x13]
LBB0_78:
	tbnz	w23, #2, LBB0_94
; %bb.79:
	tbnz	w23, #3, LBB0_95
LBB0_80:
	tbnz	w23, #4, LBB0_96
LBB0_81:
	tbnz	w23, #5, LBB0_97
LBB0_82:
	tbnz	w23, #6, LBB0_98
LBB0_83:
	tbz	w23, #7, LBB0_85
LBB0_84:
	ldr	w11, [x8, #120]
	orr	w9, w9, w11
	str	w9, [x19, #80]
	ldr	x8, [x8, #112]
	add	x9, sp, #96
	str	x8, [x9, w10, uxtw #3]
LBB0_85:
	ldrb	w8, [x19, #8]
	ldr	x9, [x19, #32]
	ldrb	w10, [x19, #10]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh46:
	adrp	x0, l_.str.9@PAGE
Lloh47:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_pr_info
	ldr	w8, [x19, #24]
	cmp	w8, #1
	b.ne	LBB0_87
; %bb.86:
	ldr	x8, [x19, #16]
	str	x8, [sp]
Lloh48:
	adrp	x0, l_.str.10@PAGE
Lloh49:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_pr_info
LBB0_87:
	ldr	x9, [x19, #72]
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	stp	x8, x9, [sp, #8]
	str	x22, [sp]
Lloh50:
	adrp	x0, l_.str.11@PAGE
Lloh51:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_pr_info
	ldp	q0, q1, [sp, #160]
	ldr	q2, [sp, #192]
	ldp	x8, x9, [sp, #208]
	stp	x9, x25, [sp, #56]
	str	x8, [sp, #48]
	stp	q1, q2, [sp, #16]
	str	q0, [sp]
Lloh52:
	adrp	x0, l_.str.12@PAGE
Lloh53:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_pr_info
	cbz	w24, LBB0_89
; %bb.88:
	ldr	x8, [x19, #64]
	stp	x24, x8, [sp, #8]
	str	x21, [sp]
Lloh54:
	adrp	x0, l_.str.13@PAGE
Lloh55:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_pr_info
LBB0_89:
	cbz	w23, LBB0_91
; %bb.90:
	ldp	q0, q1, [sp, #96]
	ldr	q2, [sp, #128]
	ldp	x8, x9, [sp, #144]
	stp	x9, x23, [sp, #56]
	str	x8, [sp, #48]
	stp	q1, q2, [sp, #16]
	str	q0, [sp]
Lloh56:
	adrp	x0, l_.str.12@PAGE
Lloh57:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_pr_info
LBB0_91:
Lloh58:
	adrp	x20, _audio_ic@GOTPAGE
Lloh59:
	ldr	x20, [x20, _audio_ic@GOTPAGEOFF]
	tbnz	w26, #31, LBB0_99
; %bb.92:
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w26, w0
	b.ge	LBB0_100
; %bb.93:
	ldr	x8, [x20]
	mov	w9, w26
	lsl	x9, x9, #4
	ldr	x8, [x8, x9]
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	stp	x8, x26, [sp]
Lloh60:
	adrp	x0, l_.str.15@PAGE
Lloh61:
	add	x0, x0, l_.str.15@PAGEOFF
	b	LBB0_101
LBB0_94:
	ldr	w11, [x8, #40]
	orr	w9, w9, w11
	str	w9, [x19, #80]
	ldr	x11, [x8, #32]
	add	x12, sp, #96
	str	x11, [x12, w10, uxtw #3]
	add	w10, w10, #1
	tbz	w23, #3, LBB0_80
LBB0_95:
	ldr	w11, [x8, #56]
	orr	w9, w9, w11
	str	w9, [x19, #80]
	ldr	x11, [x8, #48]
	add	x12, sp, #96
	str	x11, [x12, w10, uxtw #3]
	add	w10, w10, #1
	tbz	w23, #4, LBB0_81
LBB0_96:
	ldr	w11, [x8, #72]
	orr	w9, w9, w11
	str	w9, [x19, #80]
	ldr	x11, [x8, #64]
	add	x12, sp, #96
	str	x11, [x12, w10, uxtw #3]
	add	w10, w10, #1
	tbz	w23, #5, LBB0_82
LBB0_97:
	ldr	w11, [x8, #88]
	orr	w9, w9, w11
	str	w9, [x19, #80]
	ldr	x11, [x8, #80]
	add	x12, sp, #96
	str	x11, [x12, w10, uxtw #3]
	add	w10, w10, #1
	tbz	w23, #6, LBB0_83
LBB0_98:
	ldr	w11, [x8, #104]
	orr	w9, w9, w11
	str	w9, [x19, #80]
	ldr	x11, [x8, #96]
	add	x12, sp, #96
	str	x11, [x12, w10, uxtw #3]
	add	w10, w10, #1
	tbnz	w23, #7, LBB0_84
	b	LBB0_85
LBB0_99:
Lloh62:
	adrp	x0, l_.str.14@PAGE
Lloh63:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_pr_info
Lloh64:
	adrp	x8, _TVEEPROM_AUDPROC_OTHER@GOTPAGE
Lloh65:
	ldr	x8, [x8, _TVEEPROM_AUDPROC_OTHER@GOTPAGEOFF]
Lloh66:
	ldr	x8, [x8]
	str	x8, [x19, #56]
	ldr	w1, [x19, #48]
	cbnz	w1, LBB0_102
	b	LBB0_103
LBB0_100:
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	str	x26, [sp]
Lloh67:
	adrp	x0, l_.str.16@PAGE
Lloh68:
	add	x0, x0, l_.str.16@PAGEOFF
LBB0_101:
	bl	_pr_info
	ldr	w1, [x19, #48]
	cbz	w1, LBB0_103
LBB0_102:
Lloh69:
	adrp	x8, _decoderIC@GOTPAGE
Lloh70:
	ldr	x8, [x8, _decoderIC@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x8]
	bl	_STRM
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x19, #48]
	stp	x0, x8, [sp]
Lloh72:
	adrp	x0, l_.str.17@PAGE
Lloh73:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_pr_info
LBB0_103:
	ldr	w9, [x19, #4]
	ldrb	w8, [x19]
Lloh74:
	adrp	x10, l_.str.1@PAGE
Lloh75:
	add	x10, x10, l_.str.1@PAGEOFF
Lloh76:
	adrp	x11, l_.str.19@PAGE
Lloh77:
	add	x11, x11, l_.str.19@PAGEOFF
	cmp	w8, #0
	csel	x8, x11, x10, eq
	cbz	w9, LBB0_105
; %bb.104:
	tst	w9, #0x2
	csel	x12, x11, x10, eq
	tst	w9, #0x4
	csel	x9, x11, x10, eq
	stp	x12, x9, [sp, #8]
	str	x8, [sp]
Lloh78:
	adrp	x0, l_.str.18@PAGE
Lloh79:
	add	x0, x0, l_.str.18@PAGEOFF
	b	LBB0_106
LBB0_105:
	str	x8, [sp]
Lloh80:
	adrp	x0, l_.str.20@PAGE
Lloh81:
	add	x0, x0, l_.str.20@PAGEOFF
LBB0_106:
	bl	_pr_info
LBB0_107:
	ldur	x8, [x29, #-112]
Lloh82:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh83:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh84:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_109
; %bb.108:
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #272]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #256]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #240]              ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_109:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_24-LBB0_15)>>2
	.byte	(LBB0_25-LBB0_15)>>2
	.byte	(LBB0_26-LBB0_15)>>2
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_28-LBB0_15)>>2
	.byte	(LBB0_30-LBB0_15)>>2
	.byte	(LBB0_32-LBB0_15)>>2
	.byte	(LBB0_16-LBB0_15)>>2
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_33-LBB0_15)>>2
	.byte	(LBB0_34-LBB0_15)>>2
	.byte	(LBB0_16-LBB0_15)>>2
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_37-LBB0_15)>>2
	.byte	(LBB0_38-LBB0_15)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" none"

l_.str.1:                               ; @.str.1
	.space	1

	.section	__DATA,__const
	.p2align	3                               ; @__const.tveeprom_hauppauge_analog.t_fmt_name2
l___const.tveeprom_hauppauge_analog.t_fmt_name2:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.1
	.quad	l_.str.1
	.quad	l_.str.1
	.quad	l_.str.1
	.quad	l_.str.1
	.quad	l_.str.1

	.comm	_TUNER_ABSENT,8,3               ; @TUNER_ABSENT
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"Encountered bad packet header [%02x]. Corrupt or not a Hauppauge eeprom.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Tag [%02x] + %d bytes: %*ph\n"

	.comm	_audio_ic,8,3                   ; @audio_ic
	.comm	_TVEEPROM_AUDPROC_OTHER,8,3     ; @TVEEPROM_AUDPROC_OTHER
l_.str.4:                               ; @.str.4
	.asciz	"Not sure what to do with tag [%02x]\n"

l_.str.5:                               ; @.str.5
	.asciz	"Ran out of data!\n"

l_.str.6:                               ; @.str.6
	.asciz	"The eeprom says no radio is present, but the tuner type\n"

l_.str.7:                               ; @.str.7
	.asciz	"indicates otherwise. I will assume that radio is present.\n"

	.comm	_hauppauge_tuner,8,3            ; @hauppauge_tuner
l_.str.8:                               ; @.str.8
	.asciz	"unknown"

	.comm	_hauppauge_tuner_fmt,8,3        ; @hauppauge_tuner_fmt
l_.str.9:                               ; @.str.9
	.asciz	"Hauppauge model %d, rev %s, serial# %u\n"

l_.str.10:                              ; @.str.10
	.asciz	"MAC address is %pM\n"

l_.str.11:                              ; @.str.11
	.asciz	"tuner model is %s (idx %d, type %d)\n"

l_.str.12:                              ; @.str.12
	.asciz	"TV standards%s%s%s%s%s%s%s%s (eeprom 0x%02x)\n"

l_.str.13:                              ; @.str.13
	.asciz	"second tuner model is %s (idx %d, type %d)\n"

l_.str.14:                              ; @.str.14
	.asciz	"audio processor is unknown (no idx)\n"

l_.str.15:                              ; @.str.15
	.asciz	"audio processor is %s (idx %d)\n"

l_.str.16:                              ; @.str.16
	.asciz	"audio processor is unknown (idx %d)\n"

l_.str.17:                              ; @.str.17
	.asciz	"decoder processor is %s (idx %d)\n"

	.comm	_decoderIC,4,2                  ; @decoderIC
l_.str.18:                              ; @.str.18
	.asciz	"has %sradio, has %sIR receiver, has %sIR transmitter\n"

l_.str.19:                              ; @.str.19
	.asciz	"no "

l_.str.20:                              ; @.str.20
	.asciz	"has %sradio\n"

.subsections_via_symbols
