	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function bttv_init_card2
LCPI0_0:
	.long	5                               ## 0x5
	.long	6                               ## 0x6
	.long	3                               ## 0x3
	.long	4                               ## 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_bttv_init_card2
	.p2align	4, 0x90
_bttv_init_card2:                       ## @bttv_init_card2
	.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	_UNSET@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, (%rdi)
	movq	_BTTV_BOARD_UNKNOWN@GOTPCREL(%rip), %rcx
	movl	40(%rdi), %eax
	cmpl	%eax, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_eeprom_data@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	movl	$160, %edx
	callq	_bttv_readee
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_identify_by_eeprom
	movl	40(%r13), %eax
LBB0_2:
	addl	$-132, %eax
	cmpl	$44, %eax
	ja	LBB0_23
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:
	movq	_eeprom_data@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	movl	$160, %edx
	callq	_bttv_readee
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_osprey_eeprom
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
	jmp	LBB0_26
LBB0_5:
	movq	%r13, %rdi
	callq	_flyvideo_gpio
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
	jmp	LBB0_26
LBB0_4:
	movq	%r13, %rdi
	callq	_miro_pinnacle_gpio
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
	jmp	LBB0_26
LBB0_6:
	movq	_eeprom_data@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$160, %edx
	callq	_bttv_readee
	movq	%r13, %rdi
	callq	_hauppauge_eeprom
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
	jmp	LBB0_26
LBB0_11:
	movq	%r13, %rdi
	callq	_terratec_active_radio_upgrade
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
	jmp	LBB0_26
LBB0_7:
	movq	_eeprom_data@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$160, %edx
	callq	_bttv_readee
	movq	%r13, %rdi
	callq	_avermedia_eeprom
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
	jmp	LBB0_26
LBB0_10:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 8(%r13)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [5,6,3,4]
	movups	%xmm0, 152(%r13)
	movq	%r13, %rdi
	callq	_tea575x_init
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
	jmp	LBB0_26
LBB0_20:
	movq	%r13, %rdi
	callq	_tibetCS16_init
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
	jmp	LBB0_26
LBB0_14:
	cmpl	$811602458, 16(%r13)            ## imm = 0x3060121A
	jne	LBB0_23
## %bb.15:
	movl	$0, 8(%r13)
	movq	_TUNER_TEMIC_NTSC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
	jmp	LBB0_26
LBB0_8:
	movq	%r13, %rdi
	callq	_init_PXC200
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
	jmp	LBB0_26
LBB0_18:
	movq	_eeprom_data@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$160, %edx
	callq	_bttv_readee
	movq	%r13, %rdi
	callq	_modtec_eeprom
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
	jmp	LBB0_26
LBB0_12:
	cmpl	$805442639, 16(%r13)            ## imm = 0x3002144F
	jne	LBB0_23
## %bb.13:
	movl	$1, 8(%r13)
	movq	48(%r13), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
	jmp	LBB0_26
LBB0_19:
	movq	%r13, %rdi
	callq	_init_lmlbt4x
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
	jmp	LBB0_26
LBB0_21:
	movq	%r13, %rdi
	callq	_kodicom4400r_init
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
	jmp	LBB0_26
LBB0_9:
	movq	%r13, %rdi
	callq	_picolo_tetra_init
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
	jmp	LBB0_26
LBB0_17:
	movq	%r13, %rdi
	callq	_init_ids_eagle
LBB0_23:
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	jne	LBB0_26
LBB0_24:
	cmpl	$17, 24(%r13)
	jne	LBB0_26
## %bb.25:
	movq	_bttv_tvcards@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	40(%r13), %rcx
	jmp	LBB0_40
LBB0_22:
	movq	%r13, %rdi
	callq	_gv800s_init
	cmpl	$848, 20(%r13)                  ## imm = 0x350
	je	LBB0_24
LBB0_26:
	movq	_PLL_28@GOTPCREL(%rip), %rsi
	movq	_bttv_tvcards@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	40(%r13), %rcx
	imulq	$104, %rcx, %rdx
	movq	(%rax,%rdx), %rdx
	cmpq	%rdx, (%rsi)
	jne	LBB0_28
## %bb.27:
	movl	$28636363, 128(%r13)            ## imm = 0x1B4F4CB
	movq	_BT848_IFORM_XT0@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rsi, 136(%r13)
LBB0_28:
	movq	_PLL_35@GOTPCREL(%rip), %rsi
	cmpq	%rdx, (%rsi)
	jne	LBB0_30
## %bb.29:
	movl	$35468950, 128(%r13)            ## imm = 0x21D3696
	movq	_BT848_IFORM_XT1@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rsi, 136(%r13)
LBB0_30:
	movq	_PLL_14@GOTPCREL(%rip), %rsi
	cmpq	%rdx, (%rsi)
	jne	LBB0_32
## %bb.31:
	movl	$14318181, 128(%r13)            ## imm = 0xDA7A65
	movq	_BT848_IFORM_XT0@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, 136(%r13)
LBB0_32:
	movq	_pll@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	48(%r13), %rsi
	movl	(%rdx,%rsi,4), %edx
	cmpq	$35, %rdx
	ja	LBB0_40
## %bb.33:
	leaq	LJTI0_1(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_35:
	movl	$28636363, 128(%r13)            ## imm = 0x1B4F4CB
	jmp	LBB0_38
LBB0_37:
	movl	$14318181, 128(%r13)            ## imm = 0xDA7A65
LBB0_38:
	movl	$0, 144(%r13)
	movq	_BT848_IFORM_XT0@GOTPCREL(%rip), %rdx
	jmp	LBB0_39
LBB0_36:
	movl	$35468950, 128(%r13)            ## imm = 0x21D3696
	movl	$0, 144(%r13)
	movq	_BT848_IFORM_XT1@GOTPCREL(%rip), %rdx
LBB0_39:
	movq	(%rdx), %rdx
	movq	%rdx, 136(%r13)
LBB0_40:
	movl	$-1, 132(%r13)
	movq	(%r14), %rdi
	imulq	$104, %rcx, %rcx
	movq	8(%rax,%rcx), %rax
	cmpq	%rax, %rdi
	je	LBB0_43
## %bb.41:
	cmpq	(%r13), %rdi
	jne	LBB0_43
## %bb.42:
	movq	%rax, (%r13)
	movq	(%r14), %rdi
LBB0_43:
	movq	_tuner@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	48(%r13), %rsi
	movq	(%rax,%rsi,8), %rdx
	cmpq	%rdx, %rdi
	jne	LBB0_45
## %bb.44:
	movq	(%r13), %rdx
	jmp	LBB0_46
LBB0_45:
	movq	%rdx, (%r13)
LBB0_46:
	movq	_TUNER_ABSENT@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rdx
	jne	LBB0_48
## %bb.47:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	jmp	LBB0_51
LBB0_48:
	cmpq	(%r14), %rdx
	jne	LBB0_50
## %bb.49:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_warn
	jmp	LBB0_51
LBB0_50:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
LBB0_51:
	movq	_autoload@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	(%r14), %rcx
	je	LBB0_53
## %bb.52:
	movq	48(%r13), %rsi
	leaq	L_.str.4(%rip), %rdi
	callq	_pr_warn
	movq	48(%r13), %rsi
	leaq	L_.str.5(%rip), %rdi
	callq	_pr_warn
	movq	(%r14), %rcx
LBB0_53:
	movq	(%r13), %r8
	cmpq	%r8, %rcx
	jne	LBB0_55
## %bb.54:
	movq	(%r15), %r8
	movq	%r8, (%r13)
LBB0_55:
	movq	_bttv_tvcards@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movslq	40(%r13), %rax
	imulq	$104, %rax, %rdx
	cmpq	$0, 96(%rcx,%rdx)
	je	LBB0_57
## %bb.56:
	movq	16(%rcx,%rdx), %rsi
	decq	%rsi
	movq	(%r14), %rdi
	jmp	LBB0_58
LBB0_57:
	movq	(%r14), %rdi
	movq	%rdi, %rsi
LBB0_58:
	movq	%rsi, 120(%r13)
	movq	24(%rcx,%rdx), %rax
	movq	_NO_SVHS@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	cmoveq	%rdi, %rax
	movq	%rax, 112(%r13)
	movq	_svhs@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rbx
	movq	48(%r13), %rsi
	movq	(%rbx,%rsi,8), %rbx
	cmpq	%rdi, %rbx
	cmovneq	%rbx, %rax
	movq	%rax, 112(%r13)
	movq	_remote@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rsi,8), %rax
	cmpq	%rdi, %rax
	je	LBB0_60
## %bb.59:
	movl	%eax, 28(%r13)
LBB0_60:
	cmpq	$0, 88(%rcx,%rdx)
	je	LBB0_62
## %bb.61:
	movl	$1, 8(%r13)
LBB0_62:
	cmpq	$0, 80(%rcx,%rdx)
	je	LBB0_64
## %bb.63:
	movl	$1, 28(%r13)
LBB0_64:
	cmpl	$0, 72(%rcx,%rdx)
	jne	LBB0_66
## %bb.65:
	movl	$1, 32(%r13)
LBB0_66:
	movq	64(%rcx,%rdx), %rax
	testq	%rax, %rax
	je	LBB0_68
## %bb.67:
	movq	%rax, 104(%r13)
LBB0_68:
	movq	56(%rcx,%rdx), %rax
	testq	%rax, %rax
	je	LBB0_70
## %bb.69:
	movq	%rax, 96(%r13)
LBB0_70:
	cmpq	(%r15), %r8
	je	LBB0_79
## %bb.71:
	cmpq	$0, 88(%r13)
	jne	LBB0_73
## %bb.72:
	movq	_saa6588@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax,%rsi,8)
	je	LBB0_74
LBB0_73:
	leaq	60(%r13), %rdi
	leaq	56(%r13), %rsi
	leaq	L_.str.6(%rip), %rdx
	leaq	_bttv_init_card2.addrs(%rip), %r8
	xorl	%ecx, %ecx
	callq	_v4l2_i2c_new_subdev
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movq	%rcx, 88(%r13)
	movq	48(%r13), %rsi
LBB0_74:
	movq	_audiodev@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rsi,4), %eax
	incl	%eax
	cmpl	$4, %eax
	ja	LBB0_81
## %bb.75:
	leaq	LJTI0_2(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_83:
	movq	(%r12), %rax
	movslq	40(%r13), %rcx
	imulq	$104, %rcx, %rcx
	cmpl	$0, 48(%rax,%rcx)
	je	LBB0_86
## %bb.84:
	cmpq	$0, 40(%rax,%rcx)
	je	LBB0_85
LBB0_86:
	leaq	60(%r13), %r14
	leaq	56(%r13), %r15
	movl	$65, %edi
	callq	_I2C_ADDRS
	leaq	L_.str.8(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movq	%rax, %r8
	callq	_v4l2_i2c_new_subdev
	movq	%rax, 80(%r13)
	testq	%rax, %rax
	jne	LBB0_79
	jmp	LBB0_88
LBB0_34:
	movq	$0, 136(%r13)
	movl	$0, 128(%r13)
	movl	$0, 144(%r13)
	jmp	LBB0_40
LBB0_81:
	leaq	L_.str.12(%rip), %rdi
	jmp	LBB0_82
LBB0_76:
	leaq	60(%r13), %rdi
	leaq	56(%r13), %rsi
	leaq	L_.str.8(%rip), %rdx
	leaq	_bttv_init_card2.addrs.7(%rip), %r8
	xorl	%ecx, %ecx
	callq	_v4l2_i2c_new_subdev
	movq	%rax, 80(%r13)
	testq	%rax, %rax
	jne	LBB0_79
	jmp	LBB0_93
LBB0_77:
	leaq	60(%r13), %rdi
	leaq	56(%r13), %rsi
	leaq	L_.str.10(%rip), %rdx
	leaq	_bttv_init_card2.addrs.9(%rip), %r8
	xorl	%ecx, %ecx
	callq	_v4l2_i2c_new_subdev
	testq	%rax, %rax
	jne	LBB0_79
	jmp	LBB0_93
LBB0_80:
	leaq	60(%r13), %r14
	leaq	56(%r13), %r15
	xorl	%eax, %eax
	callq	_tvaudio_addrs
	leaq	L_.str.11(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movq	%rax, %r8
	callq	_v4l2_i2c_new_subdev
	movq	%rax, 64(%r13)
	testq	%rax, %rax
	jne	LBB0_79
	jmp	LBB0_93
LBB0_85:
	movq	80(%r13), %rax
	testq	%rax, %rax
	jne	LBB0_79
LBB0_88:
	leaq	60(%r13), %r14
	leaq	56(%r13), %r15
	xorl	%eax, %eax
	callq	_tvaudio_addrs
	leaq	L_.str.11(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movq	%rax, %r8
	callq	_v4l2_i2c_new_subdev
	movq	%rax, 64(%r13)
	testq	%rax, %rax
	je	LBB0_90
## %bb.89:
	xorl	%eax, %eax
	callq	_tvaudio_addrs
	leaq	L_.str.11(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movq	%rax, %r8
	callq	_v4l2_i2c_new_subdev
LBB0_90:
	movq	(%r12), %rax
	movslq	40(%r13), %rcx
	imulq	$104, %rcx, %rcx
	cmpl	$0, 32(%rax,%rcx)
	jne	LBB0_92
## %bb.91:
	leaq	L_.str.10(%rip), %rdx
	leaq	_bttv_init_card2.addrs.13(%rip), %r8
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_v4l2_i2c_new_subdev
	movq	%rax, 72(%r13)
	testq	%rax, %rax
	jne	LBB0_79
LBB0_92:
	cmpq	$0, 64(%r13)
	je	LBB0_93
LBB0_79:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_93:
	movq	48(%r13), %rsi
	leaq	L_.str.14(%rip), %rdi
LBB0_82:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_warn                        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_5
	.long	L0_0_set_20
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_18
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_12
	.long	L0_0_set_19
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_21
	.long	L0_0_set_17
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_22
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_7
.set L0_1_set_34, LBB0_34-LJTI0_1
.set L0_1_set_35, LBB0_35-LJTI0_1
.set L0_1_set_36, LBB0_36-LJTI0_1
.set L0_1_set_37, LBB0_37-LJTI0_1
.set L0_1_set_40, LBB0_40-LJTI0_1
LJTI0_1:
	.long	L0_1_set_34
	.long	L0_1_set_35
	.long	L0_1_set_36
	.long	L0_1_set_37
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_37
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_35
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_40
	.long	L0_1_set_36
.set L0_2_set_79, LBB0_79-LJTI0_2
.set L0_2_set_83, LBB0_83-LJTI0_2
.set L0_2_set_76, LBB0_76-LJTI0_2
.set L0_2_set_77, LBB0_77-LJTI0_2
.set L0_2_set_80, LBB0_80-LJTI0_2
LJTI0_2:
	.long	L0_2_set_79
	.long	L0_2_set_83
	.long	L0_2_set_76
	.long	L0_2_set_77
	.long	L0_2_set_80
	.end_data_region
                                        ## -- End function
	.comm	_UNSET,8,3                      ## @UNSET
	.comm	_BTTV_BOARD_UNKNOWN,4,2         ## @BTTV_BOARD_UNKNOWN
	.comm	_eeprom_data,4,2                ## @eeprom_data
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d: radio detected by subsystem id (CPH05x)\n"

	.comm	_TUNER_TEMIC_NTSC,8,3           ## @TUNER_TEMIC_NTSC
	.comm	_PLL_28,8,3                     ## @PLL_28
	.comm	_bttv_tvcards,8,3               ## @bttv_tvcards
	.comm	_BT848_IFORM_XT0,8,3            ## @BT848_IFORM_XT0
	.comm	_PLL_35,8,3                     ## @PLL_35
	.comm	_BT848_IFORM_XT1,8,3            ## @BT848_IFORM_XT1
	.comm	_PLL_14,8,3                     ## @PLL_14
	.comm	_pll,8,3                        ## @pll
	.comm	_tuner,8,3                      ## @tuner
	.comm	_TUNER_ABSENT,8,3               ## @TUNER_ABSENT
L_.str.1:                               ## @.str.1
	.asciz	"%d: tuner absent\n"

L_.str.2:                               ## @.str.2
	.asciz	"%d: tuner type unset\n"

L_.str.3:                               ## @.str.3
	.asciz	"%d: tuner type=%d\n"

	.comm	_autoload,8,3                   ## @autoload
L_.str.4:                               ## @.str.4
	.asciz	"%d: the autoload option is obsolete\n"

L_.str.5:                               ## @.str.5
	.asciz	"%d: use option msp3400, tda7432 or tvaudio to override which audio module should be used\n"

	.comm	_NO_SVHS,8,3                    ## @NO_SVHS
	.comm	_svhs,8,3                       ## @svhs
	.comm	_remote,8,3                     ## @remote
	.comm	_saa6588,8,3                    ## @saa6588
	.section	__TEXT,__const
	.p2align	1                               ## @bttv_init_card2.addrs
_bttv_init_card2.addrs:
	.short	16                              ## 0x10
	.short	17                              ## 0x11
	.short	128                             ## 0x80

	.section	__TEXT,__cstring,cstring_literals
L_.str.6:                               ## @.str.6
	.asciz	"saa6588"

	.comm	_audiodev,8,3                   ## @audiodev
	.section	__TEXT,__const
	.p2align	1                               ## @bttv_init_card2.addrs.7
_bttv_init_card2.addrs.7:
	.short	65                              ## 0x41
	.short	65                              ## 0x41
	.short	128                             ## 0x80

	.section	__TEXT,__cstring,cstring_literals
L_.str.8:                               ## @.str.8
	.asciz	"msp3400"

	.section	__TEXT,__const
	.p2align	1                               ## @bttv_init_card2.addrs.9
_bttv_init_card2.addrs.9:
	.short	64                              ## 0x40
	.short	128                             ## 0x80

	.section	__TEXT,__cstring,cstring_literals
L_.str.10:                              ## @.str.10
	.asciz	"tda7432"

L_.str.11:                              ## @.str.11
	.asciz	"tvaudio"

L_.str.12:                              ## @.str.12
	.asciz	"%d: unknown audiodev value!\n"

	.section	__TEXT,__const
	.p2align	1                               ## @bttv_init_card2.addrs.13
_bttv_init_card2.addrs.13:
	.short	64                              ## 0x40
	.short	128                             ## 0x80

	.section	__TEXT,__cstring,cstring_literals
L_.str.14:                              ## @.str.14
	.asciz	"%d: audio absent, no audio device found!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function bttv_init_card2
lCPI0_0:
	.long	5                               ; 0x5
	.long	6                               ; 0x6
	.long	3                               ; 0x3
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_bttv_init_card2
	.p2align	2
_bttv_init_card2:                       ; @bttv_init_card2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x20, _UNSET@GOTPAGE
Lloh1:
	ldr	x20, [x20, _UNSET@GOTPAGEOFF]
	ldr	x8, [x20]
	str	x8, [x0]
Lloh2:
	adrp	x8, _BTTV_BOARD_UNKNOWN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BTTV_BOARD_UNKNOWN@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x8]
	ldr	w8, [x0, #40]
	cmp	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x21, _eeprom_data@GOTPAGE
Lloh6:
	ldr	x21, [x21, _eeprom_data@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #160
	bl	_bttv_readee
	ldr	w1, [x21]
	mov	x0, x19
	bl	_identify_by_eeprom
	ldr	w8, [x19, #40]
LBB0_2:
	sub	w8, w8, #132
	cmp	w8, #44
	b.hi	LBB0_23
; %bb.3:
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh9:
	adrp	x21, _eeprom_data@GOTPAGE
Lloh10:
	ldr	x21, [x21, _eeprom_data@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #160
	bl	_bttv_readee
	ldr	w1, [x21]
	mov	x0, x19
	bl	_osprey_eeprom
	b	LBB0_23
LBB0_5:
	mov	x0, x19
	bl	_flyvideo_gpio
	b	LBB0_23
LBB0_6:
	mov	x0, x19
	bl	_miro_pinnacle_gpio
	b	LBB0_23
LBB0_7:
Lloh11:
	adrp	x8, _eeprom_data@GOTPAGE
Lloh12:
	ldr	x8, [x8, _eeprom_data@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #160
	bl	_bttv_readee
	mov	x0, x19
	bl	_hauppauge_eeprom
	b	LBB0_23
LBB0_8:
	mov	x0, x19
	bl	_terratec_active_radio_upgrade
	b	LBB0_23
LBB0_9:
Lloh14:
	adrp	x8, _eeprom_data@GOTPAGE
Lloh15:
	ldr	x8, [x8, _eeprom_data@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #160
	bl	_bttv_readee
	mov	x0, x19
	bl	_avermedia_eeprom
	b	LBB0_23
LBB0_10:
	movi.2s	v0, #1
	str	d0, [x19, #8]
Lloh17:
	adrp	x8, lCPI0_0@PAGE
Lloh18:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x19, #152]
	mov	x0, x19
	bl	_tea575x_init
	b	LBB0_23
LBB0_11:
	mov	x0, x19
	bl	_tibetCS16_init
	b	LBB0_23
LBB0_12:
	ldr	w8, [x19, #16]
	mov	w9, #4634
	movk	w9, #12384, lsl #16
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.13:
	str	wzr, [x19, #8]
Lloh19:
	adrp	x8, _TUNER_TEMIC_NTSC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TUNER_TEMIC_NTSC@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_23
LBB0_14:
	mov	x0, x19
	bl	_init_PXC200
	b	LBB0_23
LBB0_15:
Lloh22:
	adrp	x8, _eeprom_data@GOTPAGE
Lloh23:
	ldr	x8, [x8, _eeprom_data@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #160
	bl	_bttv_readee
	mov	x0, x19
	bl	_modtec_eeprom
	b	LBB0_23
LBB0_16:
	ldr	w8, [x19, #16]
	mov	w9, #5199
	movk	w9, #12290, lsl #16
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.17:
	mov	w8, #1
	str	w8, [x19, #8]
	ldr	x1, [x19, #48]
Lloh25:
	adrp	x0, l_.str@PAGE
Lloh26:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	b	LBB0_23
LBB0_18:
	mov	x0, x19
	bl	_init_lmlbt4x
	b	LBB0_23
LBB0_19:
	mov	x0, x19
	bl	_kodicom4400r_init
	b	LBB0_23
LBB0_20:
	mov	x0, x19
	bl	_picolo_tetra_init
	b	LBB0_23
LBB0_21:
	mov	x0, x19
	bl	_init_ids_eagle
	b	LBB0_23
LBB0_22:
	mov	x0, x19
	bl	_gv800s_init
LBB0_23:
	ldr	w8, [x19, #20]
Lloh27:
	adrp	x22, _bttv_tvcards@GOTPAGE
Lloh28:
	ldr	x22, [x22, _bttv_tvcards@GOTPAGEOFF]
	cmp	w8, #848
	b.ne	LBB0_26
; %bb.24:
	ldr	w8, [x19, #24]
	cmp	w8, #17
	b.ne	LBB0_26
; %bb.25:
	ldr	x8, [x22]
	ldrsw	x9, [x19, #40]
	b	LBB0_39
LBB0_26:
Lloh29:
	adrp	x8, _PLL_28@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PLL_28@GOTPAGEOFF]
Lloh31:
	ldr	x11, [x8]
	ldr	x8, [x22]
	ldrsw	x9, [x19, #40]
	mov	w10, #104
	mul	x10, x9, x10
	ldr	x10, [x8, x10]
	cmp	x11, x10
	b.ne	LBB0_28
; %bb.27:
	mov	w11, #62667
	movk	w11, #436, lsl #16
	str	w11, [x19, #128]
Lloh32:
	adrp	x11, _BT848_IFORM_XT0@GOTPAGE
Lloh33:
	ldr	x11, [x11, _BT848_IFORM_XT0@GOTPAGEOFF]
Lloh34:
	ldr	x11, [x11]
	str	x11, [x19, #136]
LBB0_28:
Lloh35:
	adrp	x11, _PLL_35@GOTPAGE
Lloh36:
	ldr	x11, [x11, _PLL_35@GOTPAGEOFF]
Lloh37:
	ldr	x11, [x11]
	cmp	x11, x10
	b.ne	LBB0_30
; %bb.29:
	mov	w11, #13974
	movk	w11, #541, lsl #16
	str	w11, [x19, #128]
Lloh38:
	adrp	x11, _BT848_IFORM_XT1@GOTPAGE
Lloh39:
	ldr	x11, [x11, _BT848_IFORM_XT1@GOTPAGEOFF]
Lloh40:
	ldr	x11, [x11]
	str	x11, [x19, #136]
LBB0_30:
Lloh41:
	adrp	x11, _PLL_14@GOTPAGE
Lloh42:
	ldr	x11, [x11, _PLL_14@GOTPAGEOFF]
Lloh43:
	ldr	x11, [x11]
	cmp	x11, x10
	b.ne	LBB0_32
; %bb.31:
	mov	w10, #31333
	movk	w10, #218, lsl #16
	str	w10, [x19, #128]
Lloh44:
	adrp	x10, _BT848_IFORM_XT0@GOTPAGE
Lloh45:
	ldr	x10, [x10, _BT848_IFORM_XT0@GOTPAGEOFF]
Lloh46:
	ldr	x10, [x10]
	str	x10, [x19, #136]
LBB0_32:
Lloh47:
	adrp	x10, _pll@GOTPAGE
Lloh48:
	ldr	x10, [x10, _pll@GOTPAGEOFF]
Lloh49:
	ldr	x10, [x10]
	ldr	x11, [x19, #48]
	ldr	w10, [x10, x11, lsl #2]
	cmp	w10, #35
	b.hi	LBB0_39
; %bb.33:
Lloh50:
	adrp	x11, lJTI0_1@PAGE
Lloh51:
	add	x11, x11, lJTI0_1@PAGEOFF
	adr	x12, LBB0_34
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_34:
	mov	w10, #62667
	movk	w10, #436, lsl #16
	b	LBB0_36
LBB0_35:
	mov	w10, #31333
	movk	w10, #218, lsl #16
LBB0_36:
	str	w10, [x19, #128]
	str	wzr, [x19, #144]
Lloh52:
	adrp	x10, _BT848_IFORM_XT0@GOTPAGE
Lloh53:
	ldr	x10, [x10, _BT848_IFORM_XT0@GOTPAGEOFF]
	b	LBB0_38
LBB0_37:
	mov	w10, #13974
	movk	w10, #541, lsl #16
	str	w10, [x19, #128]
	str	wzr, [x19, #144]
Lloh54:
	adrp	x10, _BT848_IFORM_XT1@GOTPAGE
Lloh55:
	ldr	x10, [x10, _BT848_IFORM_XT1@GOTPAGEOFF]
LBB0_38:
	ldr	x10, [x10]
	str	x10, [x19, #136]
LBB0_39:
	mov	w10, #-1
	str	w10, [x19, #132]
	ldr	x10, [x20]
	mov	w11, #104
	madd	x8, x9, x11, x8
	ldr	x8, [x8, #8]
	cmp	x10, x8
	b.eq	LBB0_42
; %bb.40:
	ldr	x9, [x19]
	cmp	x10, x9
	b.ne	LBB0_42
; %bb.41:
	str	x8, [x19]
	ldr	x10, [x20]
LBB0_42:
Lloh56:
	adrp	x8, _tuner@GOTPAGE
Lloh57:
	ldr	x8, [x8, _tuner@GOTPAGEOFF]
Lloh58:
	ldr	x8, [x8]
	ldr	x1, [x19, #48]
	ldr	x8, [x8, x1, lsl #3]
	cmp	x10, x8
	b.ne	LBB0_44
; %bb.43:
	ldr	x8, [x19]
	b	LBB0_45
LBB0_44:
	str	x8, [x19]
LBB0_45:
Lloh59:
	adrp	x21, _TUNER_ABSENT@GOTPAGE
Lloh60:
	ldr	x21, [x21, _TUNER_ABSENT@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_47
; %bb.46:
Lloh61:
	adrp	x0, l_.str.1@PAGE
Lloh62:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_50
LBB0_47:
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_49
; %bb.48:
Lloh63:
	adrp	x0, l_.str.2@PAGE
Lloh64:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_warn
	b	LBB0_51
LBB0_49:
	str	x8, [sp]
Lloh65:
	adrp	x0, l_.str.3@PAGE
Lloh66:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_50:
	bl	_pr_info
LBB0_51:
Lloh67:
	adrp	x8, _autoload@GOTPAGE
Lloh68:
	ldr	x8, [x8, _autoload@GOTPAGEOFF]
Lloh69:
	ldr	x9, [x8]
	ldr	x8, [x20]
	cmp	x9, x8
	b.eq	LBB0_53
; %bb.52:
	ldr	x1, [x19, #48]
Lloh70:
	adrp	x0, l_.str.4@PAGE
Lloh71:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_warn
	ldr	x1, [x19, #48]
Lloh72:
	adrp	x0, l_.str.5@PAGE
Lloh73:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_warn
	ldr	x9, [x20]
LBB0_53:
	ldr	x8, [x19]
	cmp	x9, x8
	b.ne	LBB0_55
; %bb.54:
	ldr	x8, [x21]
	str	x8, [x19]
LBB0_55:
	ldr	x9, [x22]
	ldrsw	x10, [x19, #40]
	mov	w11, #104
	madd	x11, x10, x11, x9
	ldr	x11, [x11, #96]
	cbz	x11, LBB0_57
; %bb.56:
	mov	w11, #104
	madd	x11, x10, x11, x9
	ldr	x11, [x11, #16]
	sub	x12, x11, #1
	ldr	x11, [x20]
	b	LBB0_58
LBB0_57:
	ldr	x11, [x20]
	mov	x12, x11
LBB0_58:
	mov	w13, #104
	madd	x13, x10, x13, x9
	ldr	x13, [x13, #24]
Lloh74:
	adrp	x14, _NO_SVHS@GOTPAGE
Lloh75:
	ldr	x14, [x14, _NO_SVHS@GOTPAGEOFF]
Lloh76:
	ldr	x14, [x14]
	cmp	x13, x14
	csel	x13, x11, x13, eq
	stp	x13, x12, [x19, #112]
Lloh77:
	adrp	x12, _svhs@GOTPAGE
Lloh78:
	ldr	x12, [x12, _svhs@GOTPAGEOFF]
Lloh79:
	ldr	x12, [x12]
	ldr	x1, [x19, #48]
	lsl	x14, x1, #3
	ldr	x12, [x12, x14]
	cmp	x12, x11
	csel	x12, x13, x12, eq
	str	x12, [x19, #112]
Lloh80:
	adrp	x12, _remote@GOTPAGE
Lloh81:
	ldr	x12, [x12, _remote@GOTPAGEOFF]
Lloh82:
	ldr	x12, [x12]
	ldr	x12, [x12, x14]
	cmp	x12, x11
	b.eq	LBB0_60
; %bb.59:
	str	w12, [x19, #28]
LBB0_60:
	mov	w11, #104
	madd	x11, x10, x11, x9
	ldr	x11, [x11, #88]
	cbz	x11, LBB0_62
; %bb.61:
	mov	w11, #1
	str	w11, [x19, #8]
LBB0_62:
	mov	w11, #104
	madd	x11, x10, x11, x9
	ldr	x11, [x11, #80]
	cbz	x11, LBB0_64
; %bb.63:
	mov	w11, #1
	str	w11, [x19, #28]
LBB0_64:
	mov	w11, #104
	madd	x11, x10, x11, x9
	ldr	w11, [x11, #72]
	cbnz	w11, LBB0_66
; %bb.65:
	mov	w11, #1
	str	w11, [x19, #32]
LBB0_66:
	mov	w11, #104
	madd	x11, x10, x11, x9
	ldr	x11, [x11, #64]
	cbz	x11, LBB0_68
; %bb.67:
	str	x11, [x19, #104]
LBB0_68:
	mov	w11, #104
	madd	x9, x10, x11, x9
	ldr	x9, [x9, #56]
	cbz	x9, LBB0_70
; %bb.69:
	str	x9, [x19, #96]
LBB0_70:
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_72
LBB0_71:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_72:
	ldr	x8, [x19, #88]
	cbnz	x8, LBB0_74
; %bb.73:
Lloh83:
	adrp	x8, _saa6588@GOTPAGE
Lloh84:
	ldr	x8, [x8, _saa6588@GOTPAGEOFF]
Lloh85:
	ldr	x8, [x8]
	ldr	x8, [x8, x1, lsl #3]
	cbz	x8, LBB0_75
LBB0_74:
	add	x0, x19, #60
	add	x1, x19, #56
Lloh86:
	adrp	x2, l_.str.6@PAGE
Lloh87:
	add	x2, x2, l_.str.6@PAGEOFF
Lloh88:
	adrp	x4, _bttv_init_card2.addrs@PAGE
Lloh89:
	add	x4, x4, _bttv_init_card2.addrs@PAGEOFF
	mov	w3, #0
	bl	_v4l2_i2c_new_subdev
	cmp	x0, #0
	cset	w8, ne
	str	x8, [x19, #88]
	ldr	x1, [x19, #48]
LBB0_75:
Lloh90:
	adrp	x8, _audiodev@GOTPAGE
Lloh91:
	ldr	x8, [x8, _audiodev@GOTPAGEOFF]
Lloh92:
	ldr	x8, [x8]
	ldr	w8, [x8, x1, lsl #2]
	add	w8, w8, #1
	cmp	w8, #4
	b.hi	LBB0_81
; %bb.76:
Lloh93:
	adrp	x9, lJTI0_2@PAGE
Lloh94:
	add	x9, x9, lJTI0_2@PAGEOFF
	adr	x10, LBB0_71
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_77:
	ldr	x8, [x22]
	ldrsw	x9, [x19, #40]
	mov	w10, #104
	madd	x10, x9, x10, x8
	ldr	w10, [x10, #48]
	cbz	w10, LBB0_79
; %bb.78:
	mov	w10, #104
	madd	x8, x9, x10, x8
	ldr	x8, [x8, #40]
	cbz	x8, LBB0_85
LBB0_79:
	add	x20, x19, #60
	add	x21, x19, #56
	mov	w0, #65
	bl	_I2C_ADDRS
	mov	x4, x0
Lloh95:
	adrp	x2, l_.str.8@PAGE
Lloh96:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	bl	_v4l2_i2c_new_subdev
	str	x0, [x19, #80]
	cbnz	x0, LBB0_71
	b	LBB0_86
LBB0_80:
	str	xzr, [x19, #136]
	str	wzr, [x19, #128]
	str	wzr, [x19, #144]
	b	LBB0_39
LBB0_81:
Lloh97:
	adrp	x0, l_.str.12@PAGE
Lloh98:
	add	x0, x0, l_.str.12@PAGEOFF
	b	LBB0_92
LBB0_82:
	add	x0, x19, #60
	add	x1, x19, #56
Lloh99:
	adrp	x2, l_.str.8@PAGE
Lloh100:
	add	x2, x2, l_.str.8@PAGEOFF
Lloh101:
	adrp	x4, _bttv_init_card2.addrs.7@PAGE
Lloh102:
	add	x4, x4, _bttv_init_card2.addrs.7@PAGEOFF
	mov	w3, #0
	bl	_v4l2_i2c_new_subdev
	str	x0, [x19, #80]
	cbnz	x0, LBB0_71
	b	LBB0_91
LBB0_83:
	add	x0, x19, #60
	add	x1, x19, #56
Lloh103:
	adrp	x2, l_.str.10@PAGE
Lloh104:
	add	x2, x2, l_.str.10@PAGEOFF
Lloh105:
	adrp	x4, _bttv_init_card2.addrs.9@PAGE
Lloh106:
	add	x4, x4, _bttv_init_card2.addrs.9@PAGEOFF
	mov	w3, #0
	bl	_v4l2_i2c_new_subdev
	cbnz	x0, LBB0_71
	b	LBB0_91
LBB0_84:
	add	x20, x19, #60
	add	x21, x19, #56
	bl	_tvaudio_addrs
	mov	x4, x0
Lloh107:
	adrp	x2, l_.str.11@PAGE
Lloh108:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	bl	_v4l2_i2c_new_subdev
	str	x0, [x19, #64]
	cbnz	x0, LBB0_71
	b	LBB0_91
LBB0_85:
	ldr	x0, [x19, #80]
	cbnz	x0, LBB0_71
LBB0_86:
	add	x20, x19, #60
	add	x21, x19, #56
	bl	_tvaudio_addrs
	mov	x4, x0
Lloh109:
	adrp	x2, l_.str.11@PAGE
Lloh110:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	bl	_v4l2_i2c_new_subdev
	str	x0, [x19, #64]
	cbz	x0, LBB0_88
; %bb.87:
	bl	_tvaudio_addrs
	mov	x4, x0
Lloh111:
	adrp	x2, l_.str.11@PAGE
Lloh112:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	bl	_v4l2_i2c_new_subdev
LBB0_88:
	ldr	x8, [x22]
	ldrsw	x9, [x19, #40]
	mov	w10, #104
	madd	x8, x9, x10, x8
	ldr	w8, [x8, #32]
	cbnz	w8, LBB0_90
; %bb.89:
Lloh113:
	adrp	x2, l_.str.10@PAGE
Lloh114:
	add	x2, x2, l_.str.10@PAGEOFF
Lloh115:
	adrp	x4, _bttv_init_card2.addrs.13@PAGE
Lloh116:
	add	x4, x4, _bttv_init_card2.addrs.13@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	bl	_v4l2_i2c_new_subdev
	str	x0, [x19, #72]
	cbnz	x0, LBB0_71
LBB0_90:
	ldr	x8, [x19, #64]
	cbnz	x8, LBB0_71
LBB0_91:
	ldr	x1, [x19, #48]
Lloh117:
	adrp	x0, l_.str.14@PAGE
Lloh118:
	add	x0, x0, l_.str.14@PAGEOFF
LBB0_92:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_pr_warn
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpAdd	Lloh105, Lloh106
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpAdd	Lloh111, Lloh112
	.loh AdrpAdd	Lloh115, Lloh116
	.loh AdrpAdd	Lloh113, Lloh114
	.loh AdrpAdd	Lloh117, Lloh118
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_20-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_18-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_19-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_22-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
lJTI0_1:
	.byte	(LBB0_80-LBB0_34)>>2
	.byte	(LBB0_34-LBB0_34)>>2
	.byte	(LBB0_37-LBB0_34)>>2
	.byte	(LBB0_35-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_35-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_34-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_39-LBB0_34)>>2
	.byte	(LBB0_37-LBB0_34)>>2
lJTI0_2:
	.byte	(LBB0_71-LBB0_71)>>2
	.byte	(LBB0_77-LBB0_71)>>2
	.byte	(LBB0_82-LBB0_71)>>2
	.byte	(LBB0_83-LBB0_71)>>2
	.byte	(LBB0_84-LBB0_71)>>2
                                        ; -- End function
	.comm	_UNSET,8,3                      ; @UNSET
	.comm	_BTTV_BOARD_UNKNOWN,4,2         ; @BTTV_BOARD_UNKNOWN
	.comm	_eeprom_data,4,2                ; @eeprom_data
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d: radio detected by subsystem id (CPH05x)\n"

	.comm	_TUNER_TEMIC_NTSC,8,3           ; @TUNER_TEMIC_NTSC
	.comm	_PLL_28,8,3                     ; @PLL_28
	.comm	_bttv_tvcards,8,3               ; @bttv_tvcards
	.comm	_BT848_IFORM_XT0,8,3            ; @BT848_IFORM_XT0
	.comm	_PLL_35,8,3                     ; @PLL_35
	.comm	_BT848_IFORM_XT1,8,3            ; @BT848_IFORM_XT1
	.comm	_PLL_14,8,3                     ; @PLL_14
	.comm	_pll,8,3                        ; @pll
	.comm	_tuner,8,3                      ; @tuner
	.comm	_TUNER_ABSENT,8,3               ; @TUNER_ABSENT
l_.str.1:                               ; @.str.1
	.asciz	"%d: tuner absent\n"

l_.str.2:                               ; @.str.2
	.asciz	"%d: tuner type unset\n"

l_.str.3:                               ; @.str.3
	.asciz	"%d: tuner type=%d\n"

	.comm	_autoload,8,3                   ; @autoload
l_.str.4:                               ; @.str.4
	.asciz	"%d: the autoload option is obsolete\n"

l_.str.5:                               ; @.str.5
	.asciz	"%d: use option msp3400, tda7432 or tvaudio to override which audio module should be used\n"

	.comm	_NO_SVHS,8,3                    ; @NO_SVHS
	.comm	_svhs,8,3                       ; @svhs
	.comm	_remote,8,3                     ; @remote
	.comm	_saa6588,8,3                    ; @saa6588
	.section	__TEXT,__const
	.p2align	1                               ; @bttv_init_card2.addrs
_bttv_init_card2.addrs:
	.short	16                              ; 0x10
	.short	17                              ; 0x11
	.short	128                             ; 0x80

	.section	__TEXT,__cstring,cstring_literals
l_.str.6:                               ; @.str.6
	.asciz	"saa6588"

	.comm	_audiodev,8,3                   ; @audiodev
	.section	__TEXT,__const
	.p2align	1                               ; @bttv_init_card2.addrs.7
_bttv_init_card2.addrs.7:
	.short	65                              ; 0x41
	.short	65                              ; 0x41
	.short	128                             ; 0x80

	.section	__TEXT,__cstring,cstring_literals
l_.str.8:                               ; @.str.8
	.asciz	"msp3400"

	.section	__TEXT,__const
	.p2align	1                               ; @bttv_init_card2.addrs.9
_bttv_init_card2.addrs.9:
	.short	64                              ; 0x40
	.short	128                             ; 0x80

	.section	__TEXT,__cstring,cstring_literals
l_.str.10:                              ; @.str.10
	.asciz	"tda7432"

l_.str.11:                              ; @.str.11
	.asciz	"tvaudio"

l_.str.12:                              ; @.str.12
	.asciz	"%d: unknown audiodev value!\n"

	.section	__TEXT,__const
	.p2align	1                               ; @bttv_init_card2.addrs.13
_bttv_init_card2.addrs.13:
	.short	64                              ; 0x40
	.short	128                             ; 0x80

	.section	__TEXT,__cstring,cstring_literals
l_.str.14:                              ; @.str.14
	.asciz	"%d: audio absent, no audio device found!\n"

.subsections_via_symbols
