	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function af9033_init
_af9033_init:                           ## @af9033_init
	.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	$1288, %rsp                     ## imm = 0x508
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -1328(%rbp)               ## 8-byte Spill
	movq	96(%rdi), %r12
	movq	56(%r12), %r15
	leaq	-1312(%rbp), %rdi
	movl	$1248, %esi                     ## imm = 0x4E0
	callq	___bzero
	movl	$8452900, -1312(%rbp)           ## imm = 0x80FB24
	movl	$8, -1304(%rbp)
	movl	$8388684, -1264(%rbp)           ## imm = 0x80004C
	movl	$255, -1256(%rbp)
	movl	$63041, -1216(%rbp)             ## imm = 0xF641
	movl	24(%r12), %eax
	movl	%eax, -1212(%rbp)
	movl	$255, -1208(%rbp)
	movabsq	$4303418826, %rax               ## imm = 0x10080F5CA
	movq	%rax, -1168(%rbp)
	movl	$1, -1160(%rbp)
	movabsq	$4303419157, %rax               ## imm = 0x10080F715
	movq	%rax, -1120(%rbp)
	movl	$1, -1112(%rbp)
	movabsq	$17179931679, %rax              ## imm = 0x40000F41F
	movq	%rax, -1072(%rbp)
	movl	$4, -1064(%rbp)
	movabsq	$4295029786, %rax               ## imm = 0x10000F41A
	movq	%rax, -1024(%rbp)
	movl	$1, -1016(%rbp)
	movl	$8451889, -976(%rbp)            ## imm = 0x80F731
	movl	$1, -968(%rbp)
	movl	$55582, -928(%rbp)              ## imm = 0xD91E
	movl	$1, -920(%rbp)
	movl	$55577, -880(%rbp)              ## imm = 0xD919
	movl	$1, -872(%rbp)
	movl	$8451890, -832(%rbp)            ## imm = 0x80F732
	movl	$1, -824(%rbp)
	movl	$55583, -784(%rbp)              ## imm = 0xD91F
	movl	$1, -776(%rbp)
	movl	$55578, -736(%rbp)              ## imm = 0xD91A
	movl	$1, -728(%rbp)
	movl	$8451888, -688(%rbp)            ## imm = 0x80F730
	movl	$1, -680(%rbp)
	movl	$8451960, -640(%rbp)            ## imm = 0x80F778
	movl	$255, -632(%rbp)
	movabsq	$4303419196, %rax               ## imm = 0x10080F73C
	movq	%rax, -592(%rbp)
	movl	$1, -584(%rbp)
	movl	$8451958, -544(%rbp)            ## imm = 0x80F776
	movl	$1, -536(%rbp)
	movabsq	$4295022845, %rax               ## imm = 0x10000D8FD
	movq	%rax, -496(%rbp)
	movl	$255, -488(%rbp)
	movabsq	$4295022640, %rax               ## imm = 0x10000D830
	movq	%rax, -448(%rbp)
	movl	$255, -440(%rbp)
	movl	$55345, -400(%rbp)              ## imm = 0xD831
	movl	$255, -392(%rbp)
	movl	$55346, -352(%rbp)              ## imm = 0xD832
	movl	$255, -344(%rbp)
	movl	$8452485, -304(%rbp)            ## imm = 0x80F985
	movl	(%r12), %eax
	movl	%eax, -300(%rbp)
	movl	$1, -296(%rbp)
	movl	$8452486, -256(%rbp)            ## imm = 0x80F986
	movl	4(%r12), %eax
	movl	%eax, -252(%rbp)
	movl	$1, -248(%rbp)
	movl	$55335, -208(%rbp)              ## imm = 0xD827
	movl	$255, -200(%rbp)
	movl	$55337, -160(%rbp)              ## imm = 0xD829
	movl	$255, -152(%rbp)
	movl	$8388677, -112(%rbp)            ## imm = 0x800045
	movl	28(%r12), %eax
	movl	%eax, -108(%rbp)
	movl	$255, -104(%rbp)
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	32(%r12), %edi
	shll	$19, %edi
	movl	$1000000, %esi                  ## imm = 0xF4240
	callq	_div_u64
	movl	%eax, %ebx
	movzbl	%bl, %eax
	movl	%eax, -64(%rbp)
	movzbl	%bh, %eax
	movl	%eax, -60(%rbp)
	movl	%ebx, %eax
	shrl	$16, %eax
	movzbl	%al, %eax
	movl	%eax, -56(%rbp)
	movl	%ebx, %eax
	shrl	$24, %eax
	movl	%eax, -52(%rbp)
	movl	16(%r12), %edi
	leaq	-64(%rbp), %rdx
	movl	$8388645, %esi                  ## imm = 0x800025
	movl	$4, %ecx
	callq	_regmap_bulk_write
	movq	%r15, %rdi
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_27
## %bb.1:
	movq	32(%r12), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%rdi, %r13
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_clock_adc_lut@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_5
## %bb.2:
	movl	$16, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movq	(%rdi,%rbx), %rax
	cmpq	32(%r12), %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	callq	_ARRAY_SIZE
	cltq
	addq	$48, %rbx
	cmpq	%rax, %r14
	jl	LBB0_3
LBB0_5:
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r14d
	jne	LBB0_7
## %bb.6:
	movq	32(%r12), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	%r13, %rdi
	xorl	%r13d, %r13d
	jmp	LBB0_27
LBB0_7:
	movq	(%r15), %rax
	movl	%r14d, %ecx
	leaq	(%rcx,%rcx,2), %r14
	shlq	$4, %r14
	movl	40(%rax,%r14), %edi
	shll	$19, %edi
	movl	$1000000, %esi                  ## imm = 0xF4240
	callq	_div_u64
	movl	%eax, %ebx
	movzbl	%bl, %eax
	movl	%eax, -64(%rbp)
	movzbl	%bh, %eax
	movl	%eax, -60(%rbp)
	movl	%ebx, %eax
	shrl	$16, %eax
	movzbl	%al, %eax
	movl	%eax, -56(%rbp)
	movl	16(%r12), %edi
	leaq	-64(%rbp), %rdx
	movl	$8450509, %esi                  ## imm = 0x80F1CD
	movl	$3, %ecx
	callq	_regmap_bulk_write
	movq	%r13, %rdi
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_8
LBB0_27:
	leaq	L_.str.7(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_36:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.37:
	movl	%r13d, %eax
	addq	$1288, %rsp                     ## imm = 0x508
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	(%r15), %rax
	movq	40(%rax,%r14), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%rdi, -1320(%rbp)               ## 8-byte Spill
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	leaq	-1312(%rbp), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_13
## %bb.9:
	leaq	-1280(%rbp), %rbx
	xorl	%r15d, %r15d
	leaq	-1312(%rbp), %r14
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	16(%r12), %edi
	movl	-8(%rbx), %esi
	movl	-4(%rbx), %edx
	movl	(%rbx), %ecx
	callq	_regmap_update_bits
	testl	%eax, %eax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_11 Depth=1
	incq	%r15
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$48, %rbx
	cmpq	%rax, %r15
	jl	LBB0_11
LBB0_13:
	cmpq	$0, 48(%r12)
	movq	-1320(%rbp), %rbx               ## 8-byte Reload
	je	LBB0_15
## %bb.14:
	movl	16(%r12), %edi
	movl	$8453032, %esi                  ## imm = 0x80FBA8
	xorl	%edx, %edx
	callq	_regmap_write
	movq	%rbx, %rdi
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_27
LBB0_15:
	movq	40(%r12), %rax
	movq	_AF9033_TS_MODE_USB@GOTPCREL(%rip), %rcx
	movl	16(%r12), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.16:
	movl	$8452517, %esi                  ## imm = 0x80F9A5
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_regmap_update_bits
	movl	%eax, %r13d
	testl	%eax, %eax
	movq	-1320(%rbp), %rdi               ## 8-byte Reload
	jne	LBB0_27
## %bb.17:
	movq	%rdi, %rbx
	movl	16(%r12), %edi
	movl	$8452533, %esi                  ## imm = 0x80F9B5
	movl	$1, %edx
	movl	$1, %ecx
	jmp	LBB0_20
LBB0_12:
	movl	%eax, %r13d
	movq	-1320(%rbp), %rdi               ## 8-byte Reload
	jmp	LBB0_27
LBB0_18:
	movl	$8452496, %esi                  ## imm = 0x80F990
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_regmap_update_bits
	movl	%eax, %r13d
	testl	%eax, %eax
	movq	-1320(%rbp), %rdi               ## 8-byte Reload
	jne	LBB0_27
## %bb.19:
	movq	%rdi, %rbx
	movl	16(%r12), %edi
	movl	$8452533, %esi                  ## imm = 0x80F9B5
	movl	$1, %edx
	xorl	%ecx, %ecx
LBB0_20:
	callq	_regmap_update_bits
	movq	%rbx, %rdi
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_27
## %bb.21:
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$-131, %eax
	addl	24(%r12), %eax
	cmpl	$5, %eax
	ja	LBB0_22
## %bb.23:
	cltq
	leaq	l_switch.table.af9033_init(%rip), %rcx
	movq	(%rcx,%rax,8), %rbx
	jmp	LBB0_24
LBB0_22:
	movq	_ofsm_init@GOTPCREL(%rip), %rbx
LBB0_24:
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_af9033_wr_reg_val_tab
	movl	%eax, %r13d
	testl	%eax, %eax
	movq	-1320(%rbp), %rdi               ## 8-byte Reload
	jne	LBB0_27
## %bb.25:
	leaq	L_.str.5(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	24(%r12), %edx
	leal	-128(%rdx), %eax
	cmpl	$12, %eax
	jae	LBB0_26
## %bb.28:
	cltq
	leaq	l_switch.table.af9033_init.8(%rip), %rcx
	movq	(%rcx,%rax,8), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movq	(%r14), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_af9033_wr_reg_val_tab
	movl	%eax, %r13d
	testl	%eax, %eax
	movq	%rbx, %rdi
	jne	LBB0_27
## %bb.29:
	movq	40(%r12), %rax
	movq	_AF9033_TS_MODE_SERIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_33
## %bb.30:
	movq	%rdi, %rbx
	movl	16(%r12), %edi
	movl	$55580, %esi                    ## imm = 0xD91C
	movl	$1, %edx
	movl	$1, %ecx
	callq	_regmap_update_bits
	movq	%rbx, %rdi
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_27
## %bb.31:
	movl	16(%r12), %edi
	movl	$55575, %esi                    ## imm = 0xD917
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_regmap_update_bits
	movq	%rbx, %rdi
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_27
## %bb.32:
	movl	16(%r12), %edi
	movl	$55574, %esi                    ## imm = 0xD916
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_regmap_update_bits
	movq	%rbx, %rdi
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_27
LBB0_33:
	movl	$-131, %eax
	addl	24(%r12), %eax
	cmpl	$2, %eax
	ja	LBB0_35
## %bb.34:
	movq	%rdi, %rbx
	movl	16(%r12), %edi
	movl	$8388608, %esi                  ## imm = 0x800000
	movl	$1, %edx
	callq	_regmap_write
	movq	%rbx, %rdi
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_27
LBB0_35:
	movq	$0, 8(%r12)
	movq	-1328(%rbp), %rsi               ## 8-byte Reload
	movl	$1, 80(%rsi)
	movq	_FE_SCALE_NOT_AVAILABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	88(%rsi), %rdx
	movq	%rcx, (%rdx)
	movl	$1, 64(%rsi)
	movq	(%rax), %rcx
	movq	72(%rsi), %rdx
	movq	%rcx, (%rdx)
	movl	$1, 48(%rsi)
	movq	(%rax), %rcx
	movq	56(%rsi), %rdx
	movq	%rcx, (%rdx)
	movl	$1, 32(%rsi)
	movq	(%rax), %rcx
	movq	40(%rsi), %rdx
	movq	%rcx, (%rdx)
	movl	$1, 16(%rsi)
	movq	(%rax), %rcx
	movq	24(%rsi), %rdx
	movq	%rcx, (%rdx)
	movl	$1, (%rsi)
	movq	(%rax), %rax
	movq	8(%rsi), %rcx
	movq	%rax, (%rcx)
	xorl	%r13d, %r13d
	jmp	LBB0_36
LBB0_26:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	movq	%rbx, %rdi
	jmp	LBB0_27
LBB0_38:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"clk=%u clk_cw=%08x\n"

	.comm	_clock_adc_lut,8,3              ## @clock_adc_lut
L_.str.2:                               ## @.str.2
	.asciz	"Couldn't find ADC config for clock %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"adc=%u adc_cw=%06x\n"

	.comm	_AF9033_TS_MODE_USB,8,3         ## @AF9033_TS_MODE_USB
L_.str.4:                               ## @.str.4
	.asciz	"load ofsm settings\n"

	.comm	_ofsm_init_it9135_v1,8,3        ## @ofsm_init_it9135_v1
	.comm	_ofsm_init_it9135_v2,8,3        ## @ofsm_init_it9135_v2
	.comm	_ofsm_init,8,3                  ## @ofsm_init
L_.str.5:                               ## @.str.5
	.asciz	"load tuner specific settings\n"

	.comm	_tuner_init_tua9001,8,3         ## @tuner_init_tua9001
	.comm	_tuner_init_fc0011,8,3          ## @tuner_init_fc0011
	.comm	_tuner_init_mxl5007t,8,3        ## @tuner_init_mxl5007t
	.comm	_tuner_init_tda18218,8,3        ## @tuner_init_tda18218
	.comm	_tuner_init_fc2580,8,3          ## @tuner_init_fc2580
	.comm	_tuner_init_fc0012,8,3          ## @tuner_init_fc0012
	.comm	_tuner_init_it9135_38,8,3       ## @tuner_init_it9135_38
	.comm	_tuner_init_it9135_51,8,3       ## @tuner_init_it9135_51
	.comm	_tuner_init_it9135_52,8,3       ## @tuner_init_it9135_52
	.comm	_tuner_init_it9135_60,8,3       ## @tuner_init_it9135_60
	.comm	_tuner_init_it9135_61,8,3       ## @tuner_init_it9135_61
	.comm	_tuner_init_it9135_62,8,3       ## @tuner_init_it9135_62
L_.str.6:                               ## @.str.6
	.asciz	"unsupported tuner ID=%d\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_AF9033_TS_MODE_SERIAL,8,3      ## @AF9033_TS_MODE_SERIAL
	.comm	_FE_SCALE_NOT_AVAILABLE,8,3     ## @FE_SCALE_NOT_AVAILABLE
L_.str.7:                               ## @.str.7
	.asciz	"failed=%d\n"

	.no_dead_strip	_af9033_init
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.af9033_init
l_switch.table.af9033_init:
	.quad	_ofsm_init_it9135_v2
	.quad	_ofsm_init_it9135_v2
	.quad	_ofsm_init_it9135_v2
	.quad	_ofsm_init_it9135_v1
	.quad	_ofsm_init_it9135_v1
	.quad	_ofsm_init_it9135_v1

	.p2align	3                               ## @switch.table.af9033_init.8
l_switch.table.af9033_init.8:
	.quad	_tuner_init_tua9001
	.quad	_tuner_init_tda18218
	.quad	_tuner_init_mxl5007t
	.quad	_tuner_init_it9135_62
	.quad	_tuner_init_it9135_61
	.quad	_tuner_init_it9135_60
	.quad	_tuner_init_it9135_52
	.quad	_tuner_init_it9135_51
	.quad	_tuner_init_it9135_38
	.quad	_tuner_init_fc2580
	.quad	_tuner_init_fc0012
	.quad	_tuner_init_fc0011

.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 af9033_init
lCPI0_0:
	.long	8451530                         ; 0x80f5ca
	.long	1                               ; 0x1
lCPI0_1:
	.long	8451861                         ; 0x80f715
	.long	1                               ; 0x1
lCPI0_2:
	.long	62495                           ; 0xf41f
	.long	4                               ; 0x4
lCPI0_3:
	.long	62490                           ; 0xf41a
	.long	1                               ; 0x1
lCPI0_4:
	.long	8451900                         ; 0x80f73c
	.long	1                               ; 0x1
lCPI0_5:
	.long	55549                           ; 0xd8fd
	.long	1                               ; 0x1
lCPI0_6:
	.long	55344                           ; 0xd830
	.long	1                               ; 0x1
lCPI0_7:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967280                      ; 0xfffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_af9033_init:                           ; @af9033_init
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	sub	sp, sp, #1296
	mov	x20, x0
	sub	x25, x29, #120
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
	mov	w24, #63925
	movk	w24, #128, lsl #16
	ldr	x21, [x0, #96]
	ldr	x19, [x21, #56]
	add	x0, sp, #24
	mov	w1, #1248
	bl	_bzero
	add	w8, w24, #367
	mov	w9, #8
	str	w8, [sp, #24]
	str	w9, [sp, #32]
	mov	w9, #37
	movk	w9, #128, lsl #16
	add	w10, w9, #39
	mov	w8, #255
	str	w10, [sp, #72]
	str	w8, [sp, #80]
	mov	w10, #63041
	str	w10, [sp, #120]
	ldr	w10, [x21, #24]
	stp	w10, w8, [sp, #124]
Lloh3:
	adrp	x10, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x10, lCPI0_0@PAGEOFF]
	str	d0, [sp, #168]
	mov	w10, #1
	str	w10, [sp, #176]
Lloh5:
	adrp	x11, lCPI0_1@PAGE
Lloh6:
	ldr	d0, [x11, lCPI0_1@PAGEOFF]
	str	d0, [sp, #216]
	str	w10, [sp, #224]
Lloh7:
	adrp	x11, lCPI0_2@PAGE
Lloh8:
	ldr	d0, [x11, lCPI0_2@PAGEOFF]
	str	d0, [sp, #264]
	mov	w11, #4
	str	w11, [sp, #272]
Lloh9:
	adrp	x11, lCPI0_3@PAGE
Lloh10:
	ldr	d0, [x11, lCPI0_3@PAGEOFF]
	str	d0, [sp, #312]
	str	w10, [sp, #320]
	sub	w11, w24, #644
	str	w11, [sp, #360]
	str	w10, [sp, #368]
	mov	w11, #55582
	str	w11, [sp, #408]
	str	w10, [sp, #416]
	mov	w11, #55577
	str	w11, [sp, #456]
	str	w10, [sp, #464]
	sub	w11, w24, #643
	str	w11, [sp, #504]
	str	w10, [sp, #512]
	mov	w11, #55583
	str	w11, [sp, #552]
	str	w10, [sp, #560]
	mov	w11, #55578
	str	w11, [sp, #600]
	str	w10, [sp, #608]
	sub	w11, w24, #645
	str	w11, [sp, #648]
	str	w10, [sp, #656]
	sub	w11, w24, #573
	str	w11, [sp, #696]
	str	w8, [sp, #704]
Lloh11:
	adrp	x11, lCPI0_4@PAGE
Lloh12:
	ldr	d0, [x11, lCPI0_4@PAGEOFF]
	str	d0, [sp, #744]
	str	w10, [sp, #752]
	sub	w11, w24, #575
	str	w11, [sp, #792]
	str	w10, [sp, #800]
Lloh13:
	adrp	x11, lCPI0_5@PAGE
Lloh14:
	ldr	d0, [x11, lCPI0_5@PAGEOFF]
	str	d0, [sp, #840]
	str	w8, [sp, #848]
Lloh15:
	adrp	x11, lCPI0_6@PAGE
Lloh16:
	ldr	d0, [x11, lCPI0_6@PAGEOFF]
	str	d0, [sp, #888]
	str	w8, [sp, #896]
	mov	w11, #55345
	str	w11, [sp, #936]
	str	w8, [sp, #944]
	mov	w11, #55346
	str	w11, [sp, #984]
	str	w8, [sp, #992]
	sub	w11, w24, #48
	str	w11, [sp, #1032]
	ldr	w11, [x21]
	str	w11, [sp, #1036]
	str	w10, [sp, #1040]
	sub	w11, w24, #47
	str	w11, [sp, #1080]
	ldr	w11, [x21, #4]
	str	w11, [sp, #1084]
	str	w10, [sp, #1088]
	mov	w10, #55335
	str	w10, [sp, #1128]
	str	w8, [sp, #1136]
	mov	w10, #55337
	str	w10, [sp, #1176]
	str	w8, [sp, #1184]
	add	w9, w9, #32
	str	w9, [sp, #1224]
	ldr	w9, [x21, #28]
	str	w9, [sp, #1228]
	str	w8, [sp, #1232]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	w8, [x21, #32]
	lsl	w0, w8, #19
	mov	w1, #16960
	movk	w1, #15, lsl #16
	bl	_div_u64
	mov	x23, x0
	and	w8, w0, #0xff
	dup.2s	v0, w0
Lloh19:
	adrp	x9, lCPI0_7@PAGE
Lloh20:
	ldr	d8, [x9, lCPI0_7@PAGEOFF]
	ushl.2s	v0, v0, v8
	movi	d1, #0x0000ff000000ff
	and.8b	v0, v0, v1
	stur	d0, [x25, #4]
	lsr	w9, w0, #24
	stur	w8, [x29, #-120]
	stur	w9, [x29, #-108]
	ldr	w0, [x21, #16]
	sub	x2, x29, #120
	mov	w1, #37
	movk	w1, #128, lsl #16
	mov	w3, #4
	bl	_regmap_bulk_write
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.1:
	ldr	x8, [x21, #32]
	stp	x8, x23, [sp]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
Lloh23:
	adrp	x26, _clock_adc_lut@GOTPAGE
Lloh24:
	ldr	x26, [x26, _clock_adc_lut@GOTPAGEOFF]
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x27, #0
	mov	w22, #16
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x26]
	ldr	x8, [x0, x22]
	ldr	x9, [x21, #32]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x27, #1
	bl	_ARRAY_SIZE
	add	x22, x22, #48
	cmp	x27, w0, sxtw
	b.lt	LBB0_3
	b	LBB0_6
LBB0_5:
	mov	w27, #0
LBB0_6:
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	cmp	w27, w0
	b.ne	LBB0_8
; %bb.7:
	ldr	x2, [x21, #32]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	w22, #0
	b	LBB0_9
LBB0_8:
	ldr	x8, [x26]
	mov	w9, #48
	umaddl	x8, w27, w9, x8
	ldr	w8, [x8, #40]
	lsl	w0, w8, #19
	mov	w1, #16960
	movk	w1, #15, lsl #16
	bl	_div_u64
	mov	x23, x0
	and	w8, w0, #0xff
	stur	w8, [x29, #-120]
	dup.2s	v0, w0
	ushl.2s	v0, v0, v8
	movi	d1, #0x0000ff000000ff
	and.8b	v0, v0, v1
	stur	d0, [x25, #4]
	ldr	w0, [x21, #16]
	sub	w1, w24, #2024
	sub	x2, x29, #120
	mov	w3, #3
	bl	_regmap_bulk_write
	mov	x22, x0
	cbz	w0, LBB0_12
LBB0_9:
	str	x22, [sp]
Lloh27:
	adrp	x1, l_.str.7@PAGE
Lloh28:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
LBB0_10:
	ldur	x8, [x29, #-104]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.11:
	mov	x0, x22
	add	sp, sp, #1296
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	w8, w27
	ldr	x9, [x26]
	mov	w10, #48
	madd	x8, x8, x10, x9
	ldr	x8, [x8, #40]
	stp	x8, x23, [sp]
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	add	x22, sp, #24
	add	x0, sp, #24
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.13:
	mov	x23, #0
	add	x25, x22, #32
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, #16]
	ldp	w1, w2, [x25, #-8]
	ldr	w3, [x25]
	bl	_regmap_update_bits
	cbnz	w0, LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x23, x23, #1
	add	x0, sp, #24
	bl	_ARRAY_SIZE
	add	x25, x25, #48
	cmp	x23, w0, sxtw
	b.lt	LBB0_14
LBB0_16:
	ldr	x8, [x21, #48]
	cbz	x8, LBB0_18
; %bb.17:
	ldr	w0, [x21, #16]
	add	w1, w24, #499
	mov	w2, #0
	bl	_regmap_write
	mov	x22, x0
	cbnz	w0, LBB0_9
LBB0_18:
	ldr	x8, [x21, #40]
Lloh34:
	adrp	x9, _AF9033_TS_MODE_USB@GOTPAGE
Lloh35:
	ldr	x9, [x9, _AF9033_TS_MODE_USB@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	ldr	w0, [x21, #16]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.19:
	sub	w1, w24, #16
	mov	w2, #1
	mov	w3, #0
	bl	_regmap_update_bits
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.20:
	ldr	w0, [x21, #16]
	mov	w1, #63925
	movk	w1, #128, lsl #16
	mov	w2, #1
	mov	w3, #1
	b	LBB0_24
LBB0_21:
	mov	x22, x0
	b	LBB0_9
LBB0_22:
	sub	w1, w24, #37
	mov	w2, #1
	mov	w3, #0
	bl	_regmap_update_bits
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.23:
	ldr	w0, [x21, #16]
	mov	w1, #63925
	movk	w1, #128, lsl #16
	mov	w2, #1
	mov	w3, #0
LBB0_24:
	bl	_regmap_update_bits
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.25:
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	w8, [x21, #24]
	sub	w8, w8, #131
	cmp	w8, #5
	b.hi	LBB0_27
; %bb.26:
Lloh39:
	adrp	x9, l_switch.table.af9033_init@PAGE
Lloh40:
	add	x9, x9, l_switch.table.af9033_init@PAGEOFF
	ldr	x22, [x9, w8, sxtw #3]
	b	LBB0_28
LBB0_27:
Lloh41:
	adrp	x22, _ofsm_init@GOTPAGE
Lloh42:
	ldr	x22, [x22, _ofsm_init@GOTPAGEOFF]
LBB0_28:
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	mov	x2, x0
	ldr	x1, [x22]
	mov	x0, x21
	bl	_af9033_wr_reg_val_tab
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.29:
Lloh43:
	adrp	x1, l_.str.5@PAGE
Lloh44:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	w8, [x21, #24]
	sub	w9, w8, #128
	cmp	w9, #12
	b.hs	LBB0_38
; %bb.30:
Lloh45:
	adrp	x8, l_switch.table.af9033_init.8@PAGE
Lloh46:
	add	x8, x8, l_switch.table.af9033_init.8@PAGEOFF
	ldr	x22, [x8, w9, sxtw #3]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	mov	x2, x0
	ldr	x1, [x22]
	mov	x0, x21
	bl	_af9033_wr_reg_val_tab
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.31:
	ldr	x8, [x21, #40]
Lloh47:
	adrp	x9, _AF9033_TS_MODE_SERIAL@GOTPAGE
Lloh48:
	ldr	x9, [x9, _AF9033_TS_MODE_SERIAL@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_35
; %bb.32:
	ldr	w0, [x21, #16]
	mov	w1, #55580
	mov	w2, #1
	mov	w3, #1
	bl	_regmap_update_bits
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.33:
	ldr	w0, [x21, #16]
	mov	w1, #55575
	mov	w2, #1
	mov	w3, #0
	bl	_regmap_update_bits
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.34:
	ldr	w0, [x21, #16]
	mov	w1, #55574
	mov	w2, #1
	mov	w3, #0
	bl	_regmap_update_bits
	mov	x22, x0
	cbnz	w0, LBB0_9
LBB0_35:
	ldr	w8, [x21, #24]
	sub	w8, w8, #131
	cmp	w8, #2
	b.hi	LBB0_37
; %bb.36:
	ldr	w0, [x21, #16]
	mov	w1, #8388608
	mov	w2, #1
	bl	_regmap_write
	mov	x22, x0
	cbnz	w0, LBB0_9
LBB0_37:
	mov	w22, #0
	str	xzr, [x21, #8]
	mov	w8, #1
Lloh50:
	adrp	x9, _FE_SCALE_NOT_AVAILABLE@GOTPAGE
Lloh51:
	ldr	x9, [x9, _FE_SCALE_NOT_AVAILABLE@GOTPAGEOFF]
	str	w8, [x20, #80]
	ldr	x10, [x9]
	ldr	x11, [x20, #88]
	str	x10, [x11]
	str	w8, [x20, #64]
	ldr	x10, [x9]
	ldr	x11, [x20, #72]
	str	x10, [x11]
	str	w8, [x20, #48]
	ldr	x10, [x9]
	ldr	x11, [x20, #56]
	str	x10, [x11]
	str	w8, [x20, #32]
	ldr	x10, [x9]
	ldr	x11, [x20, #40]
	str	x10, [x11]
	str	w8, [x20, #16]
	ldr	x10, [x9]
	ldr	x11, [x20, #24]
	str	x10, [x11]
	str	w8, [x20]
	ldr	x8, [x9]
	ldr	x9, [x20, #8]
	str	x8, [x9]
	b	LBB0_10
LBB0_38:
	str	x8, [sp]
Lloh52:
	adrp	x1, l_.str.6@PAGE
Lloh53:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
Lloh54:
	adrp	x8, _ENODEV@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_9
LBB0_39:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpAdrp	Lloh13, Lloh15
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"clk=%u clk_cw=%08x\n"

	.comm	_clock_adc_lut,8,3              ; @clock_adc_lut
l_.str.2:                               ; @.str.2
	.asciz	"Couldn't find ADC config for clock %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"adc=%u adc_cw=%06x\n"

	.comm	_AF9033_TS_MODE_USB,8,3         ; @AF9033_TS_MODE_USB
l_.str.4:                               ; @.str.4
	.asciz	"load ofsm settings\n"

	.comm	_ofsm_init_it9135_v1,8,3        ; @ofsm_init_it9135_v1
	.comm	_ofsm_init_it9135_v2,8,3        ; @ofsm_init_it9135_v2
	.comm	_ofsm_init,8,3                  ; @ofsm_init
l_.str.5:                               ; @.str.5
	.asciz	"load tuner specific settings\n"

	.comm	_tuner_init_tua9001,8,3         ; @tuner_init_tua9001
	.comm	_tuner_init_fc0011,8,3          ; @tuner_init_fc0011
	.comm	_tuner_init_mxl5007t,8,3        ; @tuner_init_mxl5007t
	.comm	_tuner_init_tda18218,8,3        ; @tuner_init_tda18218
	.comm	_tuner_init_fc2580,8,3          ; @tuner_init_fc2580
	.comm	_tuner_init_fc0012,8,3          ; @tuner_init_fc0012
	.comm	_tuner_init_it9135_38,8,3       ; @tuner_init_it9135_38
	.comm	_tuner_init_it9135_51,8,3       ; @tuner_init_it9135_51
	.comm	_tuner_init_it9135_52,8,3       ; @tuner_init_it9135_52
	.comm	_tuner_init_it9135_60,8,3       ; @tuner_init_it9135_60
	.comm	_tuner_init_it9135_61,8,3       ; @tuner_init_it9135_61
	.comm	_tuner_init_it9135_62,8,3       ; @tuner_init_it9135_62
l_.str.6:                               ; @.str.6
	.asciz	"unsupported tuner ID=%d\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_AF9033_TS_MODE_SERIAL,8,3      ; @AF9033_TS_MODE_SERIAL
	.comm	_FE_SCALE_NOT_AVAILABLE,8,3     ; @FE_SCALE_NOT_AVAILABLE
l_.str.7:                               ; @.str.7
	.asciz	"failed=%d\n"

	.no_dead_strip	_af9033_init
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.af9033_init
l_switch.table.af9033_init:
	.quad	_ofsm_init_it9135_v2
	.quad	_ofsm_init_it9135_v2
	.quad	_ofsm_init_it9135_v2
	.quad	_ofsm_init_it9135_v1
	.quad	_ofsm_init_it9135_v1
	.quad	_ofsm_init_it9135_v1

	.p2align	3                               ; @switch.table.af9033_init.8
l_switch.table.af9033_init.8:
	.quad	_tuner_init_tua9001
	.quad	_tuner_init_tda18218
	.quad	_tuner_init_mxl5007t
	.quad	_tuner_init_it9135_62
	.quad	_tuner_init_it9135_61
	.quad	_tuner_init_it9135_60
	.quad	_tuner_init_it9135_52
	.quad	_tuner_init_it9135_51
	.quad	_tuner_init_it9135_38
	.quad	_tuner_init_fc2580
	.quad	_tuner_init_fc0012
	.quad	_tuner_init_fc0011

.subsections_via_symbols
