	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function af9035_identify_state
_af9035_identify_state:                 ## @af9035_identify_state
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_d_to_priv
	movq	%rax, %r12
	movq	(%r15), %r13
	movl	$1, -56(%rbp)
	movq	_CMD_FW_QUERYINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movq	$0, -112(%rbp)
	movl	$4, -104(%rbp)
	leaq	-56(%rbp), %rax
	movq	%rax, -96(%rbp)
	movl	$16, -88(%rbp)
	leaq	-80(%rbp), %rdx
	movl	%edx, -84(%rbp)
	movq	%r15, %rdi
	movl	$4642, %esi                     ## imm = 0x1222
	movl	$3, %ecx
	callq	_af9035_rd_regs
	testl	%eax, %eax
	js	LBB0_27
## %bb.1:
	movl	-80(%rbp), %eax
	movl	%eax, (%r12)
	movl	-72(%rbp), %eax
	shll	$8, %eax
	orl	-76(%rbp), %eax
	movl	%eax, 4(%r12)
	leaq	8(%r12), %rdx
	movq	%r15, %rdi
	movl	$14415, %esi                    ## imm = 0x384F
	callq	_af9035_rd_reg
	testl	%eax, %eax
	js	LBB0_27
## %bb.2:
	movl	8(%r12), %edx
	movl	(%r12), %ecx
	movl	4(%r12), %r8d
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	movl	4(%r12), %eax
	cmpl	$37638, %eax                    ## imm = 0x9306
	je	LBB0_6
## %bb.3:
	cmpl	$37173, %eax                    ## imm = 0x9135
	jne	LBB0_11
## %bb.4:
	xorl	%eax, %eax
	cmpl	$2, (%r12)
	sete	%al
	leal	17947(%rax,%rax), %esi
	jne	LBB0_12
## %bb.5:
	movq	_AF9035_FIRMWARE_IT9135_V2@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_6:
	movq	_AF9035_FIRMWARE_IT9303@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_7:
	movl	$1, 12(%r12)
LBB0_8:
	leaq	-120(%rbp), %rsi
	movq	%r15, %rdi
	callq	_af9035_ctrl_msg
	testl	%eax, %eax
	js	LBB0_27
## %bb.9:
	leaq	L_.str.6(%rip), %rsi
	leaq	-80(%rbp), %rcx
	movq	%r13, %rdi
	movl	$4, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movdqa	-80(%rbp), %xmm0
	ptest	%xmm0, %xmm0
	jne	LBB0_31
## %bb.10:
	movq	_COLD@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_11:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	_AF9035_FIRMWARE_AF9035@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_EEPROM_BASE_AF9035@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_12:
	movq	_AF9035_FIRMWARE_IT9135_V1@GOTPCREL(%rip), %rax
LBB0_13:
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	leaq	-52(%rbp), %rdx
	movq	%r15, %rdi
	callq	_af9035_rd_reg
	testl	%eax, %eax
	js	LBB0_27
## %bb.14:
	cmpl	$0, -52(%rbp)
	je	LBB0_33
## %bb.15:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	_EEPROM_BASE_IT9135@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %r13d
	movq	16(%r12), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	$32, %ecx
	callq	_af9035_rd_regs
	testl	%eax, %eax
	js	LBB0_30
## %bb.17:
	movq	%r12, %rbx
	addq	$16, %rbx
	leal	32(%r13), %esi
	movq	(%rbx), %rdx
	subq	$-128, %rdx
	movq	%r15, %rdi
	movl	$32, %ecx
	callq	_af9035_rd_regs
	testl	%eax, %eax
	js	LBB0_30
## %bb.18:
	leal	64(%r13), %esi
	movl	$256, %edx                      ## imm = 0x100
	addq	(%rbx), %rdx
	movq	%r15, %rdi
	movl	$32, %ecx
	callq	_af9035_rd_regs
	testl	%eax, %eax
	js	LBB0_30
## %bb.19:
	leal	96(%r13), %esi
	movl	$384, %edx                      ## imm = 0x180
	addq	(%rbx), %rdx
	movq	%r15, %rdi
	movl	$32, %ecx
	callq	_af9035_rd_regs
	testl	%eax, %eax
	js	LBB0_30
## %bb.20:
	leal	128(%r13), %esi
	movl	$512, %edx                      ## imm = 0x200
	addq	(%rbx), %rdx
	movq	%r15, %rdi
	movl	$32, %ecx
	callq	_af9035_rd_regs
	testl	%eax, %eax
	js	LBB0_30
## %bb.21:
	leal	160(%r13), %esi
	movl	$640, %edx                      ## imm = 0x280
	addq	(%rbx), %rdx
	movq	%r15, %rdi
	movl	$32, %ecx
	callq	_af9035_rd_regs
	testl	%eax, %eax
	js	LBB0_30
## %bb.22:
	leal	192(%r13), %esi
	movl	$768, %edx                      ## imm = 0x300
	addq	(%rbx), %rdx
	movq	%r15, %rdi
	movl	$32, %ecx
	callq	_af9035_rd_regs
	testl	%eax, %eax
	js	LBB0_30
## %bb.23:
	addl	$224, %r13d
	movl	$896, %eax                      ## imm = 0x380
	movq	(%rbx), %rdx
	addq	%rax, %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	$32, %ecx
	callq	_af9035_rd_regs
	testl	%eax, %eax
	js	LBB0_30
## %bb.24:
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	(%rbx), %rcx
	leaq	L_.str.3(%rip), %r13
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	(%rbx), %rcx
	addq	$64, %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	(%rbx), %rcx
	subq	$-128, %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$192, %ecx
	addq	(%rbx), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$256, %ecx                      ## imm = 0x100
	addq	(%rbx), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$320, %ecx                      ## imm = 0x140
	addq	(%rbx), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$384, %ecx                      ## imm = 0x180
	addq	(%rbx), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$448, %ecx                      ## imm = 0x1C0
	addq	(%rbx), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$512, %ecx                      ## imm = 0x200
	addq	(%rbx), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$576, %ecx                      ## imm = 0x240
	addq	(%rbx), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$640, %ecx                      ## imm = 0x280
	addq	(%rbx), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$704, %ecx                      ## imm = 0x2C0
	addq	(%rbx), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$768, %ecx                      ## imm = 0x300
	addq	(%rbx), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$832, %ecx                      ## imm = 0x340
	addq	(%rbx), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$896, %ecx                      ## imm = 0x380
	addq	(%rbx), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$960, %ecx                      ## imm = 0x3C0
	addq	(%rbx), %rcx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	(%rbx), %rax
	movq	_EEPROM_TS_MODE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movl	%edx, -52(%rbp)
	cmpq	$5, %rdx
	ja	LBB0_40
## %bb.25:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdx,4), %rcx
	addq	%rax, %rcx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmpq	*%rcx
LBB0_26:
	movl	$1, 24(%r12)
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
LBB0_38:
	movl	$1, %ecx
	jmp	LBB0_39
LBB0_27:
	movl	%eax, %r14d
LBB0_28:
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_29:
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movl	%eax, %r14d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_28
LBB0_31:
	movq	_WARM@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %r14d
	jmp	LBB0_29
LBB0_33:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_7
LBB0_34:
	movl	24(%r12), %ecx
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
LBB0_39:
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_8
LBB0_35:
	movl	4(%r12), %eax
	movl	$5, %edx
	cmpl	$37173, %eax                    ## imm = 0x9135
	je	LBB0_41
## %bb.36:
	cmpl	$37638, %eax                    ## imm = 0x9306
	je	LBB0_41
## %bb.37:
	movl	$1, 24(%r12)
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	movl	$5, %edx
	jmp	LBB0_38
LBB0_40:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_41:
	movl	24(%r12), %ecx
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	-52(%rbp), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	jmp	LBB0_8
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
LJTI0_0:
	.long	L0_0_set_34
	.long	L0_0_set_26
	.long	L0_0_set_41
	.long	L0_0_set_26
	.long	L0_0_set_41
	.long	L0_0_set_35
	.end_data_region
                                        ## -- End function
	.comm	_CMD_FW_QUERYINFO,4,2           ## @CMD_FW_QUERYINFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"prechip_version=%02x chip_version=%02x chip_type=%04x\n"

	.comm	_AF9035_FIRMWARE_IT9135_V2,8,3  ## @AF9035_FIRMWARE_IT9135_V2
	.comm	_AF9035_FIRMWARE_IT9135_V1,8,3  ## @AF9035_FIRMWARE_IT9135_V1
L_.str.1:                               ## @.str.1
	.asciz	"no eeprom\n"

	.comm	_EEPROM_BASE_IT9135,4,2         ## @EEPROM_BASE_IT9135
	.comm	_AF9035_FIRMWARE_IT9303,8,3     ## @AF9035_FIRMWARE_IT9303
	.comm	_AF9035_FIRMWARE_AF9035,8,3     ## @AF9035_FIRMWARE_AF9035
	.comm	_EEPROM_BASE_AF9035,4,2         ## @EEPROM_BASE_AF9035
L_.str.2:                               ## @.str.2
	.asciz	"eeprom dump:\n"

L_.str.3:                               ## @.str.3
	.asciz	"%*ph\n"

	.comm	_EEPROM_TS_MODE,8,3             ## @EEPROM_TS_MODE
L_.str.4:                               ## @.str.4
	.asciz	"ts mode=%d dual mode=%d\n"

L_.str.5:                               ## @.str.5
	.asciz	"ts mode=%d not supported, defaulting to single tuner mode!"

L_.str.6:                               ## @.str.6
	.asciz	"reply=%*ph\n"

	.comm	_WARM,4,2                       ## @WARM
	.comm	_COLD,4,2                       ## @COLD
L_.str.7:                               ## @.str.7
	.asciz	"failed=%d\n"

	.no_dead_strip	_af9035_identify_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function af9035_identify_state
_af9035_identify_state:                 ; @af9035_identify_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x22, x1
	mov	x20, x0
	bl	_d_to_priv
	mov	x21, x0
	ldr	x19, [x20]
	mov	w8, #1
Lloh0:
	adrp	x9, _CMD_FW_QUERYINFO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CMD_FW_QUERYINFO@GOTPAGEOFF]
	stur	w8, [x29, #-56]
Lloh2:
	ldr	w8, [x9]
	str	w8, [sp, #24]
	str	xzr, [sp, #32]
	mov	w8, #4
	str	w8, [sp, #40]
	sub	x8, x29, #56
	str	x8, [sp, #48]
	mov	w8, #16
	add	x9, sp, #64
	stp	w8, w9, [sp, #56]
	add	x2, sp, #64
	mov	x0, x20
	mov	w1, #4642
	mov	w3, #3
	bl	_af9035_rd_regs
	tbnz	w0, #31, LBB0_23
; %bb.1:
	ldr	w8, [sp, #64]
	str	w8, [x21]
	ldp	w9, w8, [sp, #68]
	orr	w8, w9, w8, lsl #8
	str	w8, [x21, #4]
	add	x2, x21, #8
	mov	x0, x20
	mov	w1, #14415
	bl	_af9035_rd_reg
	tbnz	w0, #31, LBB0_23
; %bb.2:
	ldp	w9, w2, [x21, #4]
	ldr	w8, [x21]
	stp	x8, x9, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	ldr	w8, [x21, #4]
	mov	w9, #37638
	cmp	w8, w9
	b.eq	LBB0_7
; %bb.3:
	mov	w9, #37173
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.4:
	ldr	w8, [x21]
	mov	w9, #17947
	mov	w10, #17949
Lloh5:
	adrp	x11, _AF9035_FIRMWARE_IT9135_V2@GOTPAGE
Lloh6:
	ldr	x11, [x11, _AF9035_FIRMWARE_IT9135_V2@GOTPAGEOFF]
	cmp	w8, #2
	csel	w1, w10, w9, eq
Lloh7:
	adrp	x8, _AF9035_FIRMWARE_IT9135_V1@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AF9035_FIRMWARE_IT9135_V1@GOTPAGEOFF]
	csel	x8, x11, x8, eq
	ldr	x8, [x8]
	str	x8, [x22]
	sub	x2, x29, #52
	mov	x0, x20
	bl	_af9035_rd_reg
	tbnz	w0, #31, LBB0_23
; %bb.5:
	ldur	w8, [x29, #-52]
	cbz	w8, LBB0_25
; %bb.6:
Lloh9:
	adrp	x8, _EEPROM_BASE_IT9135@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EEPROM_BASE_IT9135@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
Lloh11:
	adrp	x8, _AF9035_FIRMWARE_IT9303@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AF9035_FIRMWARE_IT9303@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x22]
LBB0_8:
	mov	w8, #1
	str	w8, [x21, #12]
LBB0_9:
	add	x1, sp, #24
	mov	x0, x20
	bl	_af9035_ctrl_msg
	tbnz	w0, #31, LBB0_23
; %bb.10:
	add	x8, sp, #64
	mov	w9, #4
	stp	x9, x8, [sp]
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	q0, [sp, #64]
	cmtst.4s	v0, v0, v0
	xtn.4h	v0, v0
	umov.h	w8, v0[0]
	umov.h	w9, v0[1]
	and	w9, w9, #0x1
	bfi	w8, w9, #1, #1
	umov.h	w9, v0[2]
	and	w9, w9, #0x1
	bfi	w8, w9, #2, #1
	umov.h	w9, v0[3]
Lloh16:
	adrp	x10, _WARM@GOTPAGE
Lloh17:
	ldr	x10, [x10, _WARM@GOTPAGEOFF]
	bfi	w8, w9, #3, #29
Lloh18:
	adrp	x9, _COLD@GOTPAGE
Lloh19:
	ldr	x9, [x9, _COLD@GOTPAGEOFF]
	tst	w8, #0xf
	csel	x8, x9, x10, eq
	ldr	w23, [x8]
	b	LBB0_24
LBB0_11:
Lloh20:
	adrp	x8, _AF9035_FIRMWARE_AF9035@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AF9035_FIRMWARE_AF9035@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	str	x8, [x22]
Lloh23:
	adrp	x8, _EEPROM_BASE_AF9035@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EEPROM_BASE_AF9035@GOTPAGEOFF]
LBB0_12:
	ldr	w22, [x8]
	mov	x24, x21
	ldr	x2, [x24, #16]!
	mov	x0, x20
	mov	x1, x22
	mov	w3, #32
	bl	_af9035_rd_regs
	tbnz	w0, #31, LBB0_23
; %bb.13:
	add	w1, w22, #32
	ldr	x8, [x24]
	add	x2, x8, #128
	mov	x0, x20
	mov	w3, #32
	bl	_af9035_rd_regs
	tbnz	w0, #31, LBB0_23
; %bb.14:
	add	w1, w22, #64
	ldr	x8, [x24]
	add	x2, x8, #256
	mov	x0, x20
	mov	w3, #32
	bl	_af9035_rd_regs
	tbnz	w0, #31, LBB0_23
; %bb.15:
	add	w1, w22, #96
	ldr	x8, [x24]
	add	x2, x8, #384
	mov	x0, x20
	mov	w3, #32
	bl	_af9035_rd_regs
	tbnz	w0, #31, LBB0_23
; %bb.16:
	add	w1, w22, #128
	ldr	x8, [x24]
	add	x2, x8, #512
	mov	x0, x20
	mov	w3, #32
	bl	_af9035_rd_regs
	tbnz	w0, #31, LBB0_23
; %bb.17:
	add	w1, w22, #160
	ldr	x8, [x24]
	add	x2, x8, #640
	mov	x0, x20
	mov	w3, #32
	bl	_af9035_rd_regs
	tbnz	w0, #31, LBB0_23
; %bb.18:
	add	w1, w22, #192
	ldr	x8, [x24]
	add	x2, x8, #768
	mov	x0, x20
	mov	w3, #32
	bl	_af9035_rd_regs
	tbnz	w0, #31, LBB0_23
; %bb.19:
	add	w1, w22, #224
	ldr	x8, [x24]
	add	x2, x8, #896
	mov	x0, x20
	mov	w3, #32
	bl	_af9035_rd_regs
	tbnz	w0, #31, LBB0_23
; %bb.20:
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x24]
	mov	w23, #16
	stp	x23, x8, [sp]
Lloh27:
	adrp	x22, l_.str.3@PAGE
Lloh28:
	add	x22, x22, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x24]
	add	x8, x8, #64
	stp	x23, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x24]
	add	x8, x8, #128
	stp	x23, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x24]
	add	x8, x8, #192
	stp	x23, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x24]
	add	x8, x8, #256
	stp	x23, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x24]
	add	x8, x8, #320
	stp	x23, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x24]
	add	x8, x8, #384
	stp	x23, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x24]
	add	x8, x8, #448
	stp	x23, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x24]
	add	x8, x8, #512
	stp	x23, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x24]
	add	x8, x8, #576
	stp	x23, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x24]
	add	x8, x8, #640
	stp	x23, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x24]
	add	x8, x8, #704
	stp	x23, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x24]
	add	x8, x8, #768
	stp	x23, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x24]
	add	x8, x8, #832
	stp	x23, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x24]
	add	x8, x8, #896
	stp	x23, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x24]
	add	x8, x8, #960
	stp	x23, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
Lloh29:
	adrp	x8, _EEPROM_TS_MODE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EEPROM_TS_MODE@GOTPAGEOFF]
	ldr	x9, [x24]
Lloh31:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
	stur	w8, [x29, #-52]
	cmp	w8, #5
	b.hi	LBB0_29
; %bb.21:
Lloh32:
	adrp	x9, lJTI0_0@PAGE
Lloh33:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_22
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_22:
	mov	w9, #1
	str	w9, [x21, #24]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	stp	x8, x9, [sp]
	b	LBB0_31
LBB0_23:
	mov	x23, x0
	str	x23, [sp]
Lloh34:
	adrp	x1, l_.str.7@PAGE
Lloh35:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
LBB0_24:
	mov	x0, x23
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_25:
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	b	LBB0_8
LBB0_26:
	ldr	w8, [x21, #24]
	stp	xzr, x8, [sp]
	b	LBB0_31
LBB0_27:
	ldr	w9, [x21, #4]
	mov	w8, #5
	mov	w10, #37173
	cmp	w9, w10
	b.eq	LBB0_29
; %bb.28:
	mov	w10, #37638
	cmp	w9, w10
	b.ne	LBB0_30
LBB0_29:
	ldr	w9, [x21, #24]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	stp	x8, x9, [sp]
Lloh38:
	adrp	x1, l_.str.4@PAGE
Lloh39:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldur	w2, [x29, #-52]
Lloh40:
	adrp	x1, l_.str.5@PAGE
Lloh41:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	b	LBB0_9
LBB0_30:
	mov	w8, #1
	str	w8, [x21, #24]
	mov	w9, #5
	stp	x9, x8, [sp]
LBB0_31:
Lloh42:
	adrp	x1, l_.str.4@PAGE
Lloh43:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_22-LBB0_22)>>2
	.byte	(LBB0_29-LBB0_22)>>2
	.byte	(LBB0_22-LBB0_22)>>2
	.byte	(LBB0_29-LBB0_22)>>2
	.byte	(LBB0_27-LBB0_22)>>2
                                        ; -- End function
	.comm	_CMD_FW_QUERYINFO,4,2           ; @CMD_FW_QUERYINFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"prechip_version=%02x chip_version=%02x chip_type=%04x\n"

	.comm	_AF9035_FIRMWARE_IT9135_V2,8,3  ; @AF9035_FIRMWARE_IT9135_V2
	.comm	_AF9035_FIRMWARE_IT9135_V1,8,3  ; @AF9035_FIRMWARE_IT9135_V1
l_.str.1:                               ; @.str.1
	.asciz	"no eeprom\n"

	.comm	_EEPROM_BASE_IT9135,4,2         ; @EEPROM_BASE_IT9135
	.comm	_AF9035_FIRMWARE_IT9303,8,3     ; @AF9035_FIRMWARE_IT9303
	.comm	_AF9035_FIRMWARE_AF9035,8,3     ; @AF9035_FIRMWARE_AF9035
	.comm	_EEPROM_BASE_AF9035,4,2         ; @EEPROM_BASE_AF9035
l_.str.2:                               ; @.str.2
	.asciz	"eeprom dump:\n"

l_.str.3:                               ; @.str.3
	.asciz	"%*ph\n"

	.comm	_EEPROM_TS_MODE,8,3             ; @EEPROM_TS_MODE
l_.str.4:                               ; @.str.4
	.asciz	"ts mode=%d dual mode=%d\n"

l_.str.5:                               ; @.str.5
	.asciz	"ts mode=%d not supported, defaulting to single tuner mode!"

l_.str.6:                               ; @.str.6
	.asciz	"reply=%*ph\n"

	.comm	_WARM,4,2                       ; @WARM
	.comm	_COLD,4,2                       ; @COLD
l_.str.7:                               ; @.str.7
	.asciz	"failed=%d\n"

	.no_dead_strip	_af9035_identify_state
.subsections_via_symbols
