	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function af9035_tuner_attach
_af9035_tuner_attach:                   ## @af9035_tuner_attach
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_adap_to_priv
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_adap_to_d
	movq	%rax, %r15
	movq	(%rax), %r14
	movl	(%r12), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	movq	16(%rbx), %rcx
	movslq	(%r12), %r8
	movl	(%rcx,%r8,8), %eax
	leal	-128(%rax), %edx
	cmpl	$11, %edx
	ja	LBB0_28
## %bb.1:
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_2:
	movq	8(%r12), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, -72(%rbp)
	movl	4(%rcx,%r8,8), %ecx
	movl	%ecx, -64(%rbp)
	addl	$-131, %eax
	cmpl	$5, %eax
	ja	LBB0_28
## %bb.3:
	cltq
	leaq	l_reltable.af9035_tuner_attach(%rip), %rcx
	movslq	(%rcx,%rax,4), %r13
	addq	%rcx, %r13
	cmpl	$0, 8(%rbx)
	je	LBB0_6
## %bb.4:
	testl	%r8d, %r8d
	je	LBB0_26
## %bb.5:
	movq	_IT913X_ROLE_DUAL_SLAVE@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_6:
	movq	_IT913X_ROLE_SINGLE@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_7:
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movq	%r15, %rdi
	movl	$55532, %esi                    ## imm = 0xD8EC
	movl	$1, %edx
	movl	$1, %ecx
	callq	_af9035_wr_reg_mask
	testl	%eax, %eax
	js	LBB0_36
## %bb.8:
	movq	%r15, %rdi
	movl	$55533, %esi                    ## imm = 0xD8ED
	movl	$1, %edx
	movl	$1, %ecx
	callq	_af9035_wr_reg_mask
	testl	%eax, %eax
	js	LBB0_36
## %bb.9:
	movq	%r15, %rdi
	movl	$55528, %esi                    ## imm = 0xD8E8
	movl	$1, %edx
	movl	$1, %ecx
	callq	_af9035_wr_reg_mask
	testl	%eax, %eax
	js	LBB0_36
## %bb.10:
	movq	%r15, %rdi
	movl	$55529, %esi                    ## imm = 0xD8E9
	movl	$1, %edx
	movl	$1, %ecx
	callq	_af9035_wr_reg_mask
	testl	%eax, %eax
	js	LBB0_36
## %bb.11:
	movq	%r15, %r8
	addq	$8, %r8
	leaq	L_.str.1(%rip), %rsi
	leaq	-80(%rbp), %rcx
	movq	%r15, %rdi
	movl	$96, %edx
	jmp	LBB0_19
LBB0_12:
	movq	_tda18218_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r12), %rax
	movq	(%rax), %rsi
	addq	$8, %r15
	movl	_af9035_tda18218_config@GOTPCREL(%rip), %ecx
	jmp	LBB0_24
LBB0_13:
	movl	$224, %ecx
	testl	%r8d, %r8d
	je	LBB0_37
LBB0_14:
	movq	_mxl5007t_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r12), %rax
	movq	(%rax), %rsi
	addq	$8, %r15
	movq	_af9035_mxl5007t_config@GOTPCREL(%rip), %rax
	shlq	$2, %r8
	addq	(%rax), %r8
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_dvb_attach
	jmp	LBB0_25
LBB0_15:
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movq	%r15, %rdi
	movl	$55531, %esi                    ## imm = 0xD8EB
	movl	$1, %edx
	movl	$1, %ecx
	callq	_af9035_wr_reg_mask
	testl	%eax, %eax
	js	LBB0_36
## %bb.16:
	movq	%r15, %rdi
	movl	$55532, %esi                    ## imm = 0xD8EC
	movl	$1, %edx
	movl	$1, %ecx
	callq	_af9035_wr_reg_mask
	testl	%eax, %eax
	js	LBB0_36
## %bb.17:
	movq	%r15, %rdi
	movl	$55533, %esi                    ## imm = 0xD8ED
	movl	$1, %edx
	movl	$1, %ecx
	callq	_af9035_wr_reg_mask
	testl	%eax, %eax
	js	LBB0_36
## %bb.18:
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$50000, %esi                    ## imm = 0xC350
	callq	_usleep_range
	movq	%r15, %r8
	addq	$8, %r8
	leaq	L_.str.2(%rip), %rsi
	leaq	-80(%rbp), %rcx
	movq	%r15, %rdi
	movl	$86, %edx
LBB0_19:
	callq	_af9035_add_i2c_dev
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_29
	jmp	LBB0_35
LBB0_20:
	testl	%r8d, %r8d
	je	LBB0_49
## %bb.21:
	movabsq	$8589934691, %rax               ## imm = 0x200000063
	movq	%rax, -80(%rbp)
	movl	$0, -64(%rbp)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -72(%rbp)
	leaq	8(%r15), %rdi
	leaq	-80(%rbp), %rsi
	movl	$1, %edx
	callq	_i2c_transfer
	testl	%eax, %eax
	js	LBB0_36
LBB0_22:
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$50000, %esi                    ## imm = 0xC350
	callq	_usleep_range
	movq	_fc0012_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r12), %rax
	movq	(%rax), %rsi
	addq	$8, %r15
	movq	_af9035_fc0012_config@GOTPCREL(%rip), %rax
	movl	(%r12), %ecx
	shll	$2, %ecx
	addl	(%rax), %ecx
	jmp	LBB0_24
LBB0_23:
	movq	_fc0011_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r12), %rax
	movq	(%rax), %rsi
	addq	$8, %r15
	movl	_af9035_fc0011_config@GOTPCREL(%rip), %ecx
LBB0_24:
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_dvb_attach
LBB0_25:
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_30
	jmp	LBB0_28
LBB0_26:
	movq	_IT913X_ROLE_DUAL_MASTER@GOTPCREL(%rip), %rax
LBB0_27:
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_request_module
	movq	(%r15), %rdi
	movq	_PLATFORM_DEVID_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rcx
	movq	%r13, %rsi
	movl	$24, %r8d
	callq	_platform_device_register_data
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_32
LBB0_28:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_29
LBB0_32:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_28
## %bb.33:
	movl	(%rax), %edi
	callq	_try_module_get
	testl	%eax, %eax
	je	LBB0_53
## %bb.34:
	movq	(%rbx), %rax
	movslq	(%r12), %rcx
	movq	%r15, (%rax,%rcx,8)
LBB0_35:
	movq	8(%r12), %rax
	movq	(%rax), %rax
	jmp	LBB0_25
LBB0_37:
	movq	%r15, %rdi
	movl	$55520, %esi                    ## imm = 0xD8E0
	movl	$1, %edx
	callq	_af9035_wr_reg
	testl	%eax, %eax
	js	LBB0_36
## %bb.38:
	movq	%r15, %rdi
	movl	$55521, %esi                    ## imm = 0xD8E1
	movl	$1, %edx
	callq	_af9035_wr_reg
	testl	%eax, %eax
	js	LBB0_36
## %bb.39:
	movq	%r15, %rdi
	movl	$55519, %esi                    ## imm = 0xD8DF
	xorl	%edx, %edx
	callq	_af9035_wr_reg
	testl	%eax, %eax
	js	LBB0_36
## %bb.40:
	movl	$30, %edi
	callq	_msleep
	movq	%r15, %rdi
	movl	$55519, %esi                    ## imm = 0xD8DF
	movl	$1, %edx
	callq	_af9035_wr_reg
	testl	%eax, %eax
	js	LBB0_36
## %bb.41:
	movl	$300, %edi                      ## imm = 0x12C
	callq	_msleep
	movq	%r15, %rdi
	movl	$55488, %esi                    ## imm = 0xD8C0
	movl	$1, %edx
	callq	_af9035_wr_reg
	testl	%eax, %eax
	js	LBB0_36
## %bb.42:
	movq	%r15, %rdi
	movl	$55489, %esi                    ## imm = 0xD8C1
	movl	$1, %edx
	callq	_af9035_wr_reg
	testl	%eax, %eax
	js	LBB0_36
## %bb.43:
	movq	%r15, %rdi
	movl	$55487, %esi                    ## imm = 0xD8BF
	xorl	%edx, %edx
	callq	_af9035_wr_reg
	testl	%eax, %eax
	js	LBB0_36
## %bb.44:
	movq	%r15, %rdi
	movl	$55476, %esi                    ## imm = 0xD8B4
	movl	$1, %edx
	callq	_af9035_wr_reg
	testl	%eax, %eax
	js	LBB0_36
## %bb.45:
	movq	%r15, %rdi
	movl	$55477, %esi                    ## imm = 0xD8B5
	movl	$1, %edx
	callq	_af9035_wr_reg
	testl	%eax, %eax
	js	LBB0_36
## %bb.46:
	movq	%r15, %rdi
	movl	$55475, %esi                    ## imm = 0xD8B3
	movl	$1, %edx
	callq	_af9035_wr_reg
	testl	%eax, %eax
	js	LBB0_36
## %bb.47:
	movslq	(%r12), %r8
	movl	$96, %ecx
	jmp	LBB0_14
LBB0_49:
	movq	%r15, %rdi
	movl	$55531, %esi                    ## imm = 0xD8EB
	movl	$1, %edx
	movl	$1, %ecx
	callq	_af9035_wr_reg_mask
	testl	%eax, %eax
	js	LBB0_36
## %bb.50:
	movq	%r15, %rdi
	movl	$55532, %esi                    ## imm = 0xD8EC
	movl	$1, %edx
	movl	$1, %ecx
	callq	_af9035_wr_reg_mask
	testl	%eax, %eax
	js	LBB0_36
## %bb.51:
	movq	%r15, %rdi
	movl	$55533, %esi                    ## imm = 0xD8ED
	movl	$1, %edx
	movl	$1, %ecx
	callq	_af9035_wr_reg_mask
	testl	%eax, %eax
	jns	LBB0_22
LBB0_36:
	movl	%eax, %ebx
LBB0_29:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_dbg
LBB0_30:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_72
## %bb.31:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_53:
	movq	%r15, %rdi
	callq	_platform_device_unregister
	jmp	LBB0_28
LBB0_72:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_15
	.long	L0_0_set_20
	.long	L0_0_set_23
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"adap->id=%d\n"

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

	.comm	_fc0011_attach,4,2              ## @fc0011_attach
	.comm	_af9035_fc0011_config,4,2       ## @af9035_fc0011_config
	.comm	_mxl5007t_attach,4,2            ## @mxl5007t_attach
	.comm	_af9035_mxl5007t_config,8,3     ## @af9035_mxl5007t_config
	.comm	_tda18218_attach,4,2            ## @tda18218_attach
	.comm	_af9035_tda18218_config,4,2     ## @af9035_tda18218_config
L_.str.2:                               ## @.str.2
	.asciz	"fc2580"

L_.str.3:                               ## @.str.3
	.asciz	"\r\002"

	.comm	_fc0012_attach,4,2              ## @fc0012_attach
	.comm	_af9035_fc0012_config,8,3       ## @af9035_fc0012_config
L_.str.4:                               ## @.str.4
	.asciz	"it9133ax-tuner"

L_.str.5:                               ## @.str.5
	.asciz	"it9133bx-tuner"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_IT913X_ROLE_DUAL_MASTER,4,2    ## @IT913X_ROLE_DUAL_MASTER
	.comm	_IT913X_ROLE_DUAL_SLAVE,4,2     ## @IT913X_ROLE_DUAL_SLAVE
	.comm	_IT913X_ROLE_SINGLE,4,2         ## @IT913X_ROLE_SINGLE
L_.str.6:                               ## @.str.6
	.asciz	"%s"

L_.str.7:                               ## @.str.7
	.asciz	"it913x"

	.comm	_PLATFORM_DEVID_AUTO,4,2        ## @PLATFORM_DEVID_AUTO
L_.str.8:                               ## @.str.8
	.asciz	"failed=%d\n"

	.no_dead_strip	_af9035_tuner_attach
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.af9035_tuner_attach
l_reltable.af9035_tuner_attach:
	.long	L_.str.5-l_reltable.af9035_tuner_attach
	.long	L_.str.5-l_reltable.af9035_tuner_attach
	.long	L_.str.5-l_reltable.af9035_tuner_attach
	.long	L_.str.4-l_reltable.af9035_tuner_attach
	.long	L_.str.4-l_reltable.af9035_tuner_attach
	.long	L_.str.4-l_reltable.af9035_tuner_attach

.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 af9035_tuner_attach
lCPI0_0:
	.long	99                              ; 0x63
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_af9035_tuner_attach:                   ; @af9035_tuner_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	bl	_adap_to_priv
	mov	x22, x0
	mov	x0, x20
	bl	_adap_to_d
	mov	x21, x0
	ldr	x19, [x0]
	ldr	w2, [x20]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x9, [x22, #16]
	ldrsw	x8, [x20]
	lsl	x10, x8, #3
	ldr	w10, [x9, x10]
	sub	w11, w10, #128
	cmp	w11, #11
	b.hi	LBB0_28
; %bb.1:
Lloh5:
	adrp	x12, lJTI0_0@PAGE
Lloh6:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x13, LBB0_2
	ldrb	w14, [x12, x11]
	add	x13, x13, x14, lsl #2
	br	x13
LBB0_2:
	ldr	x11, [x20, #8]
	ldr	x11, [x11]
	str	x11, [sp, #24]
	add	x9, x9, x8, lsl #3
	ldr	w9, [x9, #4]
	str	w9, [sp, #32]
	sub	w9, w10, #131
	cmp	w9, #5
	b.hi	LBB0_28
; %bb.3:
Lloh7:
	adrp	x10, l_switch.table.af9035_tuner_attach@PAGE
Lloh8:
	add	x10, x10, l_switch.table.af9035_tuner_attach@PAGEOFF
	ldr	x23, [x10, w9, sxtw #3]
	ldr	w9, [x22, #8]
	cbz	w9, LBB0_6
; %bb.4:
	cbz	w8, LBB0_26
; %bb.5:
Lloh9:
	adrp	x8, _IT913X_ROLE_DUAL_SLAVE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IT913X_ROLE_DUAL_SLAVE@GOTPAGEOFF]
	b	LBB0_27
LBB0_6:
Lloh11:
	adrp	x8, _IT913X_ROLE_SINGLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IT913X_ROLE_SINGLE@GOTPAGEOFF]
	b	LBB0_27
LBB0_7:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	str	x8, [sp, #16]
	mov	x0, x21
	mov	w1, #55532
	mov	w2, #1
	mov	w3, #1
	bl	_af9035_wr_reg_mask
	tbnz	w0, #31, LBB0_48
; %bb.8:
	mov	x0, x21
	mov	w1, #55533
	mov	w2, #1
	mov	w3, #1
	bl	_af9035_wr_reg_mask
	tbnz	w0, #31, LBB0_48
; %bb.9:
	mov	x0, x21
	mov	w1, #55528
	mov	w2, #1
	mov	w3, #1
	bl	_af9035_wr_reg_mask
	tbnz	w0, #31, LBB0_48
; %bb.10:
	mov	x0, x21
	mov	w1, #55529
	mov	w2, #1
	mov	w3, #1
	bl	_af9035_wr_reg_mask
	tbnz	w0, #31, LBB0_48
; %bb.11:
	add	x4, x21, #8
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x3, sp, #16
	mov	x0, x21
	mov	w2, #96
	b	LBB0_20
LBB0_12:
Lloh15:
	adrp	x8, _tda18218_attach@GOTPAGE
Lloh16:
	ldr	x8, [x8, _tda18218_attach@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	ldr	x1, [x8]
	add	x2, x21, #8
Lloh18:
	adrp	x3, _af9035_tda18218_config@GOTPAGE
Lloh19:
	ldr	x3, [x3, _af9035_tda18218_config@GOTPAGEOFF]
	b	LBB0_25
LBB0_13:
	cbz	w8, LBB0_34
; %bb.14:
	mov	w3, #224
LBB0_15:
Lloh20:
	adrp	x9, _mxl5007t_attach@GOTPAGE
Lloh21:
	ldr	x9, [x9, _mxl5007t_attach@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x9]
	ldr	x9, [x20, #8]
	ldr	x1, [x9]
	add	x2, x21, #8
Lloh23:
	adrp	x9, _af9035_mxl5007t_config@GOTPAGE
Lloh24:
	ldr	x9, [x9, _af9035_mxl5007t_config@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	add	x8, x9, x8, lsl #2
	str	x8, [sp]
	bl	_dvb_attach
	cbnz	x0, LBB0_33
	b	LBB0_28
LBB0_16:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	str	x8, [sp, #16]
	mov	x0, x21
	mov	w1, #55531
	mov	w2, #1
	mov	w3, #1
	bl	_af9035_wr_reg_mask
	tbnz	w0, #31, LBB0_48
; %bb.17:
	mov	x0, x21
	mov	w1, #55532
	mov	w2, #1
	mov	w3, #1
	bl	_af9035_wr_reg_mask
	tbnz	w0, #31, LBB0_48
; %bb.18:
	mov	x0, x21
	mov	w1, #55533
	mov	w2, #1
	mov	w3, #1
	bl	_af9035_wr_reg_mask
	tbnz	w0, #31, LBB0_48
; %bb.19:
	mov	w0, #10000
	mov	w1, #50000
	bl	_usleep_range
	add	x4, x21, #8
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x3, sp, #16
	mov	x0, x21
	mov	w2, #86
LBB0_20:
	bl	_af9035_add_i2c_dev
	mov	x22, x0
	cbnz	w0, LBB0_49
	b	LBB0_32
LBB0_21:
	cbz	w8, LBB0_45
; %bb.22:
	str	wzr, [sp, #32]
Lloh28:
	adrp	x8, lCPI0_0@PAGE
Lloh29:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #16]
Lloh30:
	adrp	x8, l_.str.3@PAGE
Lloh31:
	add	x8, x8, l_.str.3@PAGEOFF
	str	x8, [sp, #24]
	add	x0, x21, #8
	add	x1, sp, #16
	mov	w2, #1
	bl	_i2c_transfer
	tbnz	w0, #31, LBB0_48
LBB0_23:
	mov	w0, #10000
	mov	w1, #50000
	bl	_usleep_range
Lloh32:
	adrp	x8, _fc0012_attach@GOTPAGE
Lloh33:
	ldr	x8, [x8, _fc0012_attach@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	ldr	x1, [x8]
	add	x2, x21, #8
Lloh35:
	adrp	x8, _af9035_fc0012_config@GOTPAGE
Lloh36:
	ldr	x8, [x8, _af9035_fc0012_config@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	ldr	w9, [x20]
	add	w3, w8, w9, lsl #2
	bl	_dvb_attach
	cbnz	x0, LBB0_33
	b	LBB0_28
LBB0_24:
Lloh38:
	adrp	x8, _fc0011_attach@GOTPAGE
Lloh39:
	ldr	x8, [x8, _fc0011_attach@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	ldr	x1, [x8]
	add	x2, x21, #8
Lloh41:
	adrp	x3, _af9035_fc0011_config@GOTPAGE
Lloh42:
	ldr	x3, [x3, _af9035_fc0011_config@GOTPAGEOFF]
LBB0_25:
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_dvb_attach
	cbnz	x0, LBB0_33
	b	LBB0_28
LBB0_26:
Lloh43:
	adrp	x8, _IT913X_ROLE_DUAL_MASTER@GOTPAGE
Lloh44:
	ldr	x8, [x8, _IT913X_ROLE_DUAL_MASTER@GOTPAGEOFF]
LBB0_27:
	ldr	w8, [x8]
	str	w8, [sp, #16]
Lloh45:
	adrp	x0, l_.str.6@PAGE
Lloh46:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh47:
	adrp	x1, l_.str.7@PAGE
Lloh48:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_request_module
	ldr	x0, [x21]
Lloh49:
	adrp	x8, _PLATFORM_DEVID_AUTO@GOTPAGE
Lloh50:
	ldr	x8, [x8, _PLATFORM_DEVID_AUTO@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
	add	x3, sp, #16
	mov	x1, x23
	mov	w4, #24
	bl	_platform_device_register_data
	mov	x21, x0
	bl	_IS_ERR
	cbz	w0, LBB0_29
LBB0_28:
Lloh52:
	adrp	x8, _ENODEV@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_49
LBB0_29:
	ldr	x8, [x21]
	cbz	x8, LBB0_28
; %bb.30:
	ldr	w0, [x8]
	bl	_try_module_get
	cbz	w0, LBB0_52
; %bb.31:
	ldr	x8, [x22]
	ldrsw	x9, [x20]
	str	x21, [x8, x9, lsl #3]
LBB0_32:
	ldr	x8, [x20, #8]
	ldr	x0, [x8]
	cbz	x0, LBB0_28
LBB0_33:
	mov	w22, #0
	b	LBB0_50
LBB0_34:
	mov	x0, x21
	mov	w1, #55520
	mov	w2, #1
	bl	_af9035_wr_reg
	tbnz	w0, #31, LBB0_48
; %bb.35:
	mov	x0, x21
	mov	w1, #55521
	mov	w2, #1
	bl	_af9035_wr_reg
	tbnz	w0, #31, LBB0_48
; %bb.36:
	mov	x0, x21
	mov	w1, #55519
	mov	w2, #0
	bl	_af9035_wr_reg
	tbnz	w0, #31, LBB0_48
; %bb.37:
	mov	w0, #30
	bl	_msleep
	mov	x0, x21
	mov	w1, #55519
	mov	w2, #1
	bl	_af9035_wr_reg
	tbnz	w0, #31, LBB0_48
; %bb.38:
	mov	w0, #300
	bl	_msleep
	mov	x0, x21
	mov	w1, #55488
	mov	w2, #1
	bl	_af9035_wr_reg
	tbnz	w0, #31, LBB0_48
; %bb.39:
	mov	x0, x21
	mov	w1, #55489
	mov	w2, #1
	bl	_af9035_wr_reg
	tbnz	w0, #31, LBB0_48
; %bb.40:
	mov	x0, x21
	mov	w1, #55487
	mov	w2, #0
	bl	_af9035_wr_reg
	tbnz	w0, #31, LBB0_48
; %bb.41:
	mov	x0, x21
	mov	w1, #55476
	mov	w2, #1
	bl	_af9035_wr_reg
	tbnz	w0, #31, LBB0_48
; %bb.42:
	mov	x0, x21
	mov	w1, #55477
	mov	w2, #1
	bl	_af9035_wr_reg
	tbnz	w0, #31, LBB0_48
; %bb.43:
	mov	x0, x21
	mov	w1, #55475
	mov	w2, #1
	bl	_af9035_wr_reg
	tbnz	w0, #31, LBB0_48
; %bb.44:
	ldrsw	x8, [x20]
	mov	w3, #96
	b	LBB0_15
LBB0_45:
	mov	x0, x21
	mov	w1, #55531
	mov	w2, #1
	mov	w3, #1
	bl	_af9035_wr_reg_mask
	tbnz	w0, #31, LBB0_48
; %bb.46:
	mov	x0, x21
	mov	w1, #55532
	mov	w2, #1
	mov	w3, #1
	bl	_af9035_wr_reg_mask
	tbnz	w0, #31, LBB0_48
; %bb.47:
	mov	x0, x21
	mov	w1, #55533
	mov	w2, #1
	mov	w3, #1
	bl	_af9035_wr_reg_mask
	tbz	w0, #31, LBB0_23
LBB0_48:
	mov	x22, x0
LBB0_49:
Lloh55:
	adrp	x1, l_.str.8@PAGE
Lloh56:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_dbg
LBB0_50:
	ldr	x8, [sp, #40]
Lloh57:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh58:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_53
; %bb.51:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_52:
	mov	x0, x21
	bl	_platform_device_unregister
	b	LBB0_28
LBB0_53:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdrp	Lloh28, Lloh30
	.loh AdrpLdr	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_24-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"adap->id=%d\n"

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

	.comm	_fc0011_attach,4,2              ; @fc0011_attach
	.comm	_af9035_fc0011_config,4,2       ; @af9035_fc0011_config
	.comm	_mxl5007t_attach,4,2            ; @mxl5007t_attach
	.comm	_af9035_mxl5007t_config,8,3     ; @af9035_mxl5007t_config
	.comm	_tda18218_attach,4,2            ; @tda18218_attach
	.comm	_af9035_tda18218_config,4,2     ; @af9035_tda18218_config
l_.str.2:                               ; @.str.2
	.asciz	"fc2580"

l_.str.3:                               ; @.str.3
	.asciz	"\r\002"

	.comm	_fc0012_attach,4,2              ; @fc0012_attach
	.comm	_af9035_fc0012_config,8,3       ; @af9035_fc0012_config
l_.str.4:                               ; @.str.4
	.asciz	"it9133ax-tuner"

l_.str.5:                               ; @.str.5
	.asciz	"it9133bx-tuner"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_IT913X_ROLE_DUAL_MASTER,4,2    ; @IT913X_ROLE_DUAL_MASTER
	.comm	_IT913X_ROLE_DUAL_SLAVE,4,2     ; @IT913X_ROLE_DUAL_SLAVE
	.comm	_IT913X_ROLE_SINGLE,4,2         ; @IT913X_ROLE_SINGLE
l_.str.6:                               ; @.str.6
	.asciz	"%s"

l_.str.7:                               ; @.str.7
	.asciz	"it913x"

	.comm	_PLATFORM_DEVID_AUTO,4,2        ; @PLATFORM_DEVID_AUTO
l_.str.8:                               ; @.str.8
	.asciz	"failed=%d\n"

	.no_dead_strip	_af9035_tuner_attach
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.af9035_tuner_attach
l_switch.table.af9035_tuner_attach:
	.quad	l_.str.5
	.quad	l_.str.5
	.quad	l_.str.5
	.quad	l_.str.4
	.quad	l_.str.4
	.quad	l_.str.4

.subsections_via_symbols
