	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl2832u_tuner_attach
_rtl2832u_tuner_attach:                 ## @rtl2832u_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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_adap_to_d
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_d_to_priv
	movq	%rax, %r13
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	leaq	-200(%rbp), %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	leaq	-256(%rbp), %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movl	(%r13), %edx
	leal	-128(%rdx), %eax
	cmpl	$7, %eax
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movq	$0, -112(%rbp)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -120(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movq	_SYS_GPIO_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$18, %ecx
	callq	_rtl28xxu_wr_reg_mask
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.3:
	movq	_SYS_GPIO_OUT_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$18, %edx
	movl	$18, %ecx
	callq	_rtl28xxu_wr_reg_mask
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.4:
	movq	_I2C_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rbx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_strscpy
	movl	$96, -96(%rbp)
	leaq	-144(%rbp), %rax
	movq	%rax, -48(%rbp)
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_request_module
	movq	32(%r13), %rdi
	leaq	-96(%rbp), %rsi
	callq	_i2c_new_device
	testq	%rax, %rax
	je	LBB0_35
## %bb.5:
	movq	%rax, %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_35
## %bb.6:
	movl	(%rax), %edi
	callq	_try_module_get
	testl	%eax, %eax
	je	LBB0_33
## %bb.7:
	movq	%rbx, 24(%r13)
	jmp	LBB0_35
LBB0_9:
	movq	(%r14), %rdi
	leaq	L_.str.5(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_err
	jmp	LBB0_35
LBB0_10:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movq	$0, -64(%rbp)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movl	-160(%rbp), %edi
	movq	_I2C_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rsi
	callq	_strscpy
	movl	$96, -200(%rbp)
	leaq	-96(%rbp), %rax
	movq	%rax, -152(%rbp)
	movslq	-160(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_request_module
	movq	%r14, %rdi
	addq	$8, %rdi
	leaq	-200(%rbp), %rsi
	callq	_i2c_new_device
	testq	%rax, %rax
	je	LBB0_37
## %bb.11:
	movq	%rax, %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_35
## %bb.12:
	movl	(%rax), %edi
	callq	_try_module_get
	testl	%eax, %eax
	je	LBB0_33
## %bb.13:
	movq	%rbx, 24(%r13)
	movq	%rbx, %rdi
	callq	_i2c_get_clientdata
	movq	%rax, %r12
	movq	(%r15), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_37
## %bb.14:
	movq	(%rax), %rsi
	movl	8(%rsi), %eax
	movl	%eax, 8(%rdi)
	movl	$4, %edx
	callq	_memcpy
	cmpq	$0, 24(%r13)
	jne	LBB0_38
	jmp	LBB0_44
LBB0_15:
	movq	_r820t_attach@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movq	32(%r13), %rdx
	movl	_rtl2832u_r828d_config@GOTPCREL(%rip), %ecx
	xorl	%eax, %eax
	callq	_dvb_attach
	movq	(%r15), %rcx
	movq	(%rcx), %rdx
	movl	(%rdx), %esi
	movl	%esi, 4(%rdx)
	movq	8(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_27
## %bb.16:
	movl	(%rbx), %edi
	movq	32(%r13), %rdx
	movl	_rtl2832u_r828d_config@GOTPCREL(%rip), %ecx
	xorl	%eax, %eax
	callq	_dvb_attach
	movq	(%r15), %rcx
	addq	$8, %rcx
	jmp	LBB0_26
LBB0_17:
	movq	_r820t_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movq	32(%r13), %rdx
	movl	_rtl2832u_r820t_config@GOTPCREL(%rip), %ecx
	jmp	LBB0_24
LBB0_18:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movq	$0, -112(%rbp)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -120(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movq	_I2C_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rbx
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_strscpy
	movl	$86, -96(%rbp)
	leaq	-144(%rbp), %rax
	movq	%rax, -48(%rbp)
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_request_module
	movq	32(%r13), %rdi
	leaq	-96(%rbp), %rsi
	callq	_i2c_new_device
	testq	%rax, %rax
	je	LBB0_37
## %bb.19:
	movq	%rax, %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_35
## %bb.20:
	movl	(%rax), %edi
	callq	_try_module_get
	testl	%eax, %eax
	je	LBB0_33
## %bb.21:
	movq	%rbx, 24(%r13)
	movq	%rbx, %rdi
	callq	*-112(%rbp)
	jmp	LBB0_32
LBB0_22:
	movq	_fc0013_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movq	32(%r13), %rdx
	movq	_FC_XTAL_28_8_MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$99, %ecx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_dvb_attach
	jmp	LBB0_25
LBB0_23:
	movq	_fc0012_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movq	32(%r13), %rdx
	movl	_rtl2832u_fc0012_config@GOTPCREL(%rip), %ecx
LBB0_24:
	xorl	%eax, %eax
	callq	_dvb_attach
LBB0_25:
	movq	(%r15), %rcx
LBB0_26:
	movq	(%rcx), %rcx
	movl	(%rcx), %edx
	movl	%edx, 4(%rcx)
LBB0_27:
	xorl	%r12d, %r12d
	testq	%rax, %rax
	jne	LBB0_38
LBB0_37:
	cmpq	$0, 24(%r13)
	je	LBB0_44
LBB0_38:
	movl	(%r13), %edx
	leal	-130(%rdx), %eax
	cmpl	$5, %eax
	ja	LBB0_42
## %bb.39:
	movl	20(%r13), %eax
	movl	%eax, -220(%rbp)
	movl	%edx, -252(%rbp)
	movl	16(%r13), %eax
	movl	%eax, -224(%rbp)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -232(%rbp)
	movq	%r14, -240(%rbp)
	movq	%r12, -248(%rbp)
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.7(%rip), %r15
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_request_module
	movq	(%r14), %rdi
	movq	_PLATFORM_DEVID_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-256(%rbp), %rcx
	movq	%r15, %rsi
	movl	$56, %r8d
	callq	_platform_device_register_data
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_47
## %bb.40:
	cmpq	$0, (%r14)
	je	LBB0_47
## %bb.41:
	movq	%r14, 8(%r13)
	jmp	LBB0_47
LBB0_42:
	movq	(%r14), %rdi
	leaq	L_.str.8(%rip), %rsi
	xorl	%ebx, %ebx
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_46
LBB0_28:
	movq	$28800000, -96(%rbp)            ## imm = 0x1B77400
	movl	$0, -88(%rbp)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -72(%rbp)
	movl	-160(%rbp), %edi
	movq	_I2C_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_strscpy
	movl	$100, -200(%rbp)
	leaq	-96(%rbp), %rax
	movq	%rax, -152(%rbp)
	movslq	-160(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_request_module
	movq	32(%r13), %rdi
	leaq	-200(%rbp), %rsi
	callq	_i2c_new_device
	testq	%rax, %rax
	je	LBB0_37
## %bb.29:
	movq	%rax, %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_36
## %bb.30:
	movl	(%rax), %edi
	callq	_try_module_get
	testl	%eax, %eax
	je	LBB0_33
## %bb.31:
	movq	%rbx, 24(%r13)
	movq	%rbx, %rdi
	callq	_i2c_get_clientdata
LBB0_32:
	movq	%rax, %r12
	cmpq	$0, 24(%r13)
	jne	LBB0_38
	jmp	LBB0_44
LBB0_33:
	movq	%rbx, %rdi
	callq	_i2c_unregister_device
LBB0_35:
	xorl	%r12d, %r12d
	cmpq	$0, 24(%r13)
	jne	LBB0_38
LBB0_44:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_45:
	movq	(%r14), %rdi
	leaq	L_.str.9(%rip), %rsi
	movl	%ebx, %edx
LBB0_46:
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_47:
	movl	%ebx, %eax
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	xorl	%r12d, %r12d
	jmp	LBB0_37
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_10
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_22
	.long	L0_0_set_23
	.long	L0_0_set_28
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_fc0012_attach,4,2              ## @fc0012_attach
	.comm	_rtl2832u_fc0012_config,4,2     ## @rtl2832u_fc0012_config
	.comm	_fc0013_attach,4,2              ## @fc0013_attach
	.comm	_FC_XTAL_28_8_MHZ,4,2           ## @FC_XTAL_28_8_MHZ
L_.str.1:                               ## @.str.1
	.asciz	"e4000"

	.comm	_I2C_NAME_SIZE,4,2              ## @I2C_NAME_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"fc2580"

	.comm	_SYS_GPIO_DIR,4,2               ## @SYS_GPIO_DIR
	.comm	_SYS_GPIO_OUT_EN,4,2            ## @SYS_GPIO_OUT_EN
L_.str.3:                               ## @.str.3
	.asciz	"tua9001"

	.comm	_r820t_attach,4,2               ## @r820t_attach
	.comm	_rtl2832u_r820t_config,4,2      ## @rtl2832u_r820t_config
	.comm	_rtl2832u_r828d_config,4,2      ## @rtl2832u_r828d_config
L_.str.4:                               ## @.str.4
	.asciz	"si2157"

L_.str.5:                               ## @.str.5
	.asciz	"unknown tuner %d\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.6:                               ## @.str.6
	.asciz	"%s"

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

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

L_.str.9:                               ## @.str.9
	.asciz	"failed=%d\n"

	.no_dead_strip	_rtl2832u_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 rtl2832u_tuner_attach
lCPI0_0:
	.long	28800000                        ; 0x1b77400
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rtl2832u_tuner_attach:                 ; @rtl2832u_tuner_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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 w27, -56
	.cfi_offset w28, -64
	mov	x21, x0
	bl	_adap_to_d
	mov	x20, x0
	bl	_d_to_priv
	mov	x19, x0
	ldr	x0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	sub	x0, x29, #104
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	add	x0, sp, #128
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	ldr	w2, [x19]
	sub	w8, w2, #128
	cmp	w8, #7
	b.hi	LBB0_8
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	str	xzr, [sp, #112]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #80]
	ldr	x8, [x21]
	ldr	x8, [x8]
	str	x8, [sp, #104]
	stp	q0, q0, [sp, #32]
	str	q0, [sp, #16]
Lloh4:
	adrp	x8, _SYS_GPIO_DIR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SYS_GPIO_DIR@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #18
	bl	_rtl28xxu_wr_reg_mask
	mov	x22, x0
	cbnz	w0, LBB0_41
; %bb.3:
Lloh7:
	adrp	x8, _SYS_GPIO_OUT_EN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SYS_GPIO_OUT_EN@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #18
	mov	w3, #18
	bl	_rtl28xxu_wr_reg_mask
	mov	x22, x0
	cbnz	w0, LBB0_41
; %bb.4:
Lloh10:
	adrp	x8, _I2C_NAME_SIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _I2C_NAME_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x22, l_.str.3@PAGE
Lloh14:
	add	x22, x22, l_.str.3@PAGEOFF
	mov	x1, x22
	bl	_strscpy
	mov	w8, #96
	str	w8, [sp, #16]
	add	x8, sp, #80
	str	x8, [sp, #64]
	mov	x0, x22
	bl	_request_module
	ldr	x0, [x19, #32]
	add	x1, sp, #16
	bl	_i2c_new_device
	cbz	x0, LBB0_32
; %bb.5:
	mov	x22, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_32
; %bb.6:
	ldr	w0, [x8]
	bl	_try_module_get
	cbz	w0, LBB0_31
; %bb.7:
	str	x22, [x19, #24]
	b	LBB0_32
LBB0_8:
	ldr	x0, [x20]
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_err
	b	LBB0_32
LBB0_9:
	str	xzr, [sp, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	ldr	x8, [x21]
	ldr	x8, [x8]
	str	x8, [sp, #32]
	ldur	w0, [x29, #-64]
Lloh17:
	adrp	x8, _I2C_NAME_SIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _I2C_NAME_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strscpy
	mov	w8, #96
	stur	w8, [x29, #-104]
	add	x8, sp, #16
	stur	x8, [x29, #-56]
	ldursw	x0, [x29, #-64]
	bl	_request_module
	add	x0, x20, #8
	sub	x1, x29, #104
	bl	_i2c_new_device
	mov	x22, x0
	cbz	x0, LBB0_33
; %bb.10:
	ldr	x8, [x22]
	cbz	x8, LBB0_32
; %bb.11:
	ldr	w0, [x8]
	bl	_try_module_get
	cbz	w0, LBB0_31
; %bb.12:
	str	x22, [x19, #24]
	mov	x0, x22
	bl	_i2c_get_clientdata
	mov	x22, x0
	ldr	x8, [x21]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_33
; %bb.13:
	ldr	x1, [x8]
	ldr	w8, [x1, #8]
	str	w8, [x0, #8]
	mov	w2, #4
	bl	_memcpy
	b	LBB0_33
LBB0_14:
Lloh22:
	adrp	x22, _r820t_attach@GOTPAGE
Lloh23:
	ldr	x22, [x22, _r820t_attach@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	x8, [x21]
	ldr	x1, [x8]
	ldr	x2, [x19, #32]
Lloh24:
	adrp	x3, _rtl2832u_r828d_config@GOTPAGE
Lloh25:
	ldr	x3, [x3, _rtl2832u_r828d_config@GOTPAGEOFF]
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_dvb_attach
	ldr	x8, [x21]
	ldr	x9, [x8]
	ldr	w10, [x9]
	str	w10, [x9, #4]
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_26
; %bb.15:
	ldr	w0, [x22]
	ldr	x2, [x19, #32]
Lloh26:
	adrp	x3, _rtl2832u_r828d_config@GOTPAGE
Lloh27:
	ldr	x3, [x3, _rtl2832u_r828d_config@GOTPAGEOFF]
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_dvb_attach
	ldr	x8, [x21]
	add	x8, x8, #8
	b	LBB0_25
LBB0_16:
Lloh28:
	adrp	x8, _r820t_attach@GOTPAGE
Lloh29:
	ldr	x8, [x8, _r820t_attach@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	ldr	x8, [x21]
	ldr	x1, [x8]
	ldr	x2, [x19, #32]
Lloh31:
	adrp	x3, _rtl2832u_r820t_config@GOTPAGE
Lloh32:
	ldr	x3, [x3, _rtl2832u_r820t_config@GOTPAGEOFF]
	b	LBB0_23
LBB0_17:
	str	xzr, [sp, #112]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #80]
	ldr	x8, [x21]
	ldr	x8, [x8]
	str	x8, [sp, #104]
	stp	q0, q0, [sp, #32]
	str	q0, [sp, #16]
Lloh33:
	adrp	x8, _I2C_NAME_SIZE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _I2C_NAME_SIZE@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
Lloh36:
	adrp	x22, l_.str.2@PAGE
Lloh37:
	add	x22, x22, l_.str.2@PAGEOFF
	mov	w0, #0
	mov	x1, x22
	bl	_strscpy
	mov	w8, #86
	str	w8, [sp, #16]
	add	x8, sp, #80
	str	x8, [sp, #64]
	mov	x0, x22
	bl	_request_module
	ldr	x0, [x19, #32]
	add	x1, sp, #16
	bl	_i2c_new_device
	mov	x22, x0
	cbz	x0, LBB0_33
; %bb.18:
	ldr	x8, [x22]
	cbz	x8, LBB0_32
; %bb.19:
	ldr	w0, [x8]
	bl	_try_module_get
	cbz	w0, LBB0_31
; %bb.20:
	str	x22, [x19, #24]
	ldr	x8, [sp, #112]
	mov	x0, x22
	blr	x8
	mov	x22, x0
	b	LBB0_33
LBB0_21:
Lloh38:
	adrp	x8, _fc0013_attach@GOTPAGE
Lloh39:
	ldr	x8, [x8, _fc0013_attach@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	ldr	x8, [x21]
	ldr	x1, [x8]
	ldr	x2, [x19, #32]
Lloh41:
	adrp	x8, _FC_XTAL_28_8_MHZ@GOTPAGE
Lloh42:
	ldr	x8, [x8, _FC_XTAL_28_8_MHZ@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	stp	xzr, x8, [sp]
	mov	w3, #99
	b	LBB0_24
LBB0_22:
Lloh44:
	adrp	x8, _fc0012_attach@GOTPAGE
Lloh45:
	ldr	x8, [x8, _fc0012_attach@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	ldr	x8, [x21]
	ldr	x1, [x8]
	ldr	x2, [x19, #32]
Lloh47:
	adrp	x3, _rtl2832u_fc0012_config@GOTPAGE
Lloh48:
	ldr	x3, [x3, _rtl2832u_fc0012_config@GOTPAGEOFF]
LBB0_23:
                                        ; kill: def $w3 killed $w3 killed $x3
LBB0_24:
	bl	_dvb_attach
	ldr	x8, [x21]
LBB0_25:
	ldr	x8, [x8]
	ldr	w9, [x8]
	str	w9, [x8, #4]
LBB0_26:
	mov	x22, #0
	cbnz	x0, LBB0_34
	b	LBB0_33
LBB0_27:
Lloh49:
	adrp	x8, lCPI0_0@PAGE
Lloh50:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #16]
	str	wzr, [sp, #24]
	ldr	x8, [x21]
	ldr	x8, [x8]
	stp	x8, xzr, [sp, #32]
	str	xzr, [sp, #48]
	ldur	w0, [x29, #-64]
Lloh51:
	adrp	x8, _I2C_NAME_SIZE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _I2C_NAME_SIZE@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
Lloh54:
	adrp	x1, l_.str.1@PAGE
Lloh55:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strscpy
	mov	w8, #100
	stur	w8, [x29, #-104]
	add	x8, sp, #16
	stur	x8, [x29, #-56]
	ldursw	x0, [x29, #-64]
	bl	_request_module
	ldr	x0, [x19, #32]
	sub	x1, x29, #104
	bl	_i2c_new_device
	mov	x22, x0
	cbz	x0, LBB0_33
; %bb.28:
	ldr	x8, [x22]
	cbz	x8, LBB0_32
; %bb.29:
	ldr	w0, [x8]
	bl	_try_module_get
	cbz	w0, LBB0_31
; %bb.30:
	str	x22, [x19, #24]
	mov	x0, x22
	bl	_i2c_get_clientdata
	mov	x22, x0
	b	LBB0_33
LBB0_31:
	mov	x0, x22
	bl	_i2c_unregister_device
LBB0_32:
	mov	x22, #0
LBB0_33:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_40
LBB0_34:
	ldr	w8, [x19]
	sub	w9, w8, #130
	cmp	w9, #5
	b.hi	LBB0_38
; %bb.35:
	str	w8, [sp, #132]
	ldr	d0, [x19, #16]
	str	d0, [sp, #160]
	ldr	x8, [x21]
	ldr	x8, [x8]
	stp	x20, x8, [sp, #144]
	str	x22, [sp, #136]
Lloh56:
	adrp	x21, l_.str.7@PAGE
Lloh57:
	add	x21, x21, l_.str.7@PAGEOFF
	str	x21, [sp]
Lloh58:
	adrp	x0, l_.str.6@PAGE
Lloh59:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_request_module
	ldr	x0, [x20]
Lloh60:
	adrp	x8, _PLATFORM_DEVID_AUTO@GOTPAGE
Lloh61:
	ldr	x8, [x8, _PLATFORM_DEVID_AUTO@GOTPAGEOFF]
Lloh62:
	ldr	w2, [x8]
	add	x3, sp, #128
	mov	x1, x21
	mov	w4, #56
	bl	_platform_device_register_data
	mov	x20, x0
	bl	_IS_ERR
	cbnz	w0, LBB0_39
; %bb.36:
	ldr	x8, [x20]
	cbz	x8, LBB0_39
; %bb.37:
	mov	w22, #0
	str	x20, [x19, #8]
	b	LBB0_42
LBB0_38:
	ldr	x0, [x20]
	str	x8, [sp]
Lloh63:
	adrp	x1, l_.str.8@PAGE
Lloh64:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_dev_dbg
LBB0_39:
	mov	w22, #0
	b	LBB0_42
LBB0_40:
Lloh65:
	adrp	x8, _ENODEV@GOTPAGE
Lloh66:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_41:
	ldr	x0, [x20]
	str	x22, [sp]
Lloh68:
	adrp	x1, l_.str.9@PAGE
Lloh69:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_dev_dbg
LBB0_42:
	mov	x0, x22
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #240]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdr	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_27-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_fc0012_attach,4,2              ; @fc0012_attach
	.comm	_rtl2832u_fc0012_config,4,2     ; @rtl2832u_fc0012_config
	.comm	_fc0013_attach,4,2              ; @fc0013_attach
	.comm	_FC_XTAL_28_8_MHZ,4,2           ; @FC_XTAL_28_8_MHZ
l_.str.1:                               ; @.str.1
	.asciz	"e4000"

	.comm	_I2C_NAME_SIZE,4,2              ; @I2C_NAME_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"fc2580"

	.comm	_SYS_GPIO_DIR,4,2               ; @SYS_GPIO_DIR
	.comm	_SYS_GPIO_OUT_EN,4,2            ; @SYS_GPIO_OUT_EN
l_.str.3:                               ; @.str.3
	.asciz	"tua9001"

	.comm	_r820t_attach,4,2               ; @r820t_attach
	.comm	_rtl2832u_r820t_config,4,2      ; @rtl2832u_r820t_config
	.comm	_rtl2832u_r828d_config,4,2      ; @rtl2832u_r828d_config
l_.str.4:                               ; @.str.4
	.asciz	"si2157"

l_.str.5:                               ; @.str.5
	.asciz	"unknown tuner %d\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.6:                               ; @.str.6
	.asciz	"%s"

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

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

l_.str.9:                               ; @.str.9
	.asciz	"failed=%d\n"

	.no_dead_strip	_rtl2832u_tuner_attach
.subsections_via_symbols
