	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dm04_lme2510_tuner
_dm04_lme2510_tuner:                    ## @dm04_lme2510_tuner
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_adap_to_d
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_adap_to_priv
	movq	%rax, %r15
	movl	(%rax), %eax
	leaq	L_.str.6(%rip), %r14
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_12
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	_ix2505v_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movl	_lme_tuner@GOTPCREL(%rip), %edx
	jmp	LBB0_7
LBB0_5:
	movq	_dvb_pll_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movq	_DVB_PLL_OPERA1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$96, %edx
	movq	%r12, %rcx
	jmp	LBB0_3
LBB0_6:
	movq	_ts2020_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movl	_ts2020_config@GOTPCREL(%rip), %edx
LBB0_7:
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_dvb_attach
	testl	%eax, %eax
	jne	LBB0_9
	jmp	LBB0_12
LBB0_2:
	movq	_tda826x_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movl	$96, %edx
	movq	%r12, %rcx
	movl	$1, %r8d
LBB0_3:
	xorl	%eax, %eax
	callq	_dvb_attach
	testl	%eax, %eax
	je	LBB0_12
LBB0_9:
	movslq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	leaq	_reltable.dm04_lme2510_tuner(%rip), %rcx
	movslq	(%rcx,%rax,4), %rsi
	addq	%rcx, %rsi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_info
	movq	%rbx, %rdi
	callq	_lme2510_int_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_13
## %bb.11:
	leaq	L_.str.7(%rip), %r14
LBB0_12:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_info
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.dm04_lme2510_tuner
_reltable.dm04_lme2510_tuner:
	.long	L_.str-_reltable.dm04_lme2510_tuner
	.long	L_.str.1-_reltable.dm04_lme2510_tuner
	.long	L_.str.2-_reltable.dm04_lme2510_tuner
	.long	L_.str.3-_reltable.dm04_lme2510_tuner
	.long	L_.str.4-_reltable.dm04_lme2510_tuner

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

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

L_.str.2:                               ## @.str.2
	.asciz	"IX2505V"

L_.str.3:                               ## @.str.3
	.asciz	"DVB_PLL_OPERA"

L_.str.4:                               ## @.str.4
	.asciz	"RS2000"

	.comm	_tda826x_attach,4,2             ## @tda826x_attach
	.comm	_ix2505v_attach,4,2             ## @ix2505v_attach
	.comm	_lme_tuner,4,2                  ## @lme_tuner
	.comm	_dvb_pll_attach,4,2             ## @dvb_pll_attach
	.comm	_DVB_PLL_OPERA1,4,2             ## @DVB_PLL_OPERA1
	.comm	_ts2020_attach,4,2              ## @ts2020_attach
	.comm	_ts2020_config,4,2              ## @ts2020_config
L_.str.5:                               ## @.str.5
	.asciz	"TUN Found %s tuner"

L_.str.6:                               ## @.str.6
	.asciz	"TUN No tuner found"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.7:                               ## @.str.7
	.asciz	"INT Unable to start Interrupt Service"

	.no_dead_strip	_dm04_lme2510_tuner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dm04_lme2510_tuner
_dm04_lme2510_tuner:                    ; @dm04_lme2510_tuner
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_adap_to_d
	mov	x21, x0
	mov	x0, x19
	bl	_adap_to_priv
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_12
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _ix2505v_attach@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ix2505v_attach@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x8, [x19]
	ldr	w1, [x8]
Lloh5:
	adrp	x2, _lme_tuner@GOTPAGE
Lloh6:
	ldr	x2, [x2, _lme_tuner@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh7:
	adrp	x8, _dvb_pll_attach@GOTPAGE
Lloh8:
	ldr	x8, [x8, _dvb_pll_attach@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	x8, [x19]
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _DVB_PLL_OPERA1@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DVB_PLL_OPERA1@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	b	LBB0_7
LBB0_4:
Lloh13:
	adrp	x8, _ts2020_attach@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ts2020_attach@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	x8, [x19]
	ldr	w1, [x8]
Lloh16:
	adrp	x2, _ts2020_config@GOTPAGE
Lloh17:
	ldr	x2, [x2, _ts2020_config@GOTPAGEOFF]
LBB0_5:
                                        ; kill: def $w2 killed $w2 killed $x2
	b	LBB0_8
LBB0_6:
Lloh18:
	adrp	x8, _tda826x_attach@GOTPAGE
Lloh19:
	ldr	x8, [x8, _tda826x_attach@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	w8, #1
LBB0_7:
	str	x8, [sp]
	mov	w2, #96
LBB0_8:
	mov	x3, x21
	bl	_dvb_attach
	cbz	w0, LBB0_12
; %bb.9:
	ldrsw	x8, [x20]
	cbz	w8, LBB0_12
; %bb.10:
Lloh21:
	adrp	x9, _dm04_lme2510_tuner.tun_msg@PAGE
Lloh22:
	add	x9, x9, _dm04_lme2510_tuner.tun_msg@PAGEOFF
	ldr	x8, [x9, x8, lsl #3]
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_info
	mov	x0, x19
	bl	_lme2510_int_read
	tbz	w0, #31, LBB0_14
; %bb.11:
Lloh25:
	adrp	x0, l_.str.7@PAGE
Lloh26:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh27:
	adrp	x0, l_.str.6@PAGE
Lloh28:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_13:
	bl	_info
Lloh29:
	adrp	x8, _ENODEV@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @dm04_lme2510_tuner.tun_msg
_dm04_lme2510_tuner.tun_msg:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

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

l_.str.2:                               ; @.str.2
	.asciz	"IX2505V"

l_.str.3:                               ; @.str.3
	.asciz	"DVB_PLL_OPERA"

l_.str.4:                               ; @.str.4
	.asciz	"RS2000"

	.comm	_tda826x_attach,4,2             ; @tda826x_attach
	.comm	_ix2505v_attach,4,2             ; @ix2505v_attach
	.comm	_lme_tuner,4,2                  ; @lme_tuner
	.comm	_dvb_pll_attach,4,2             ; @dvb_pll_attach
	.comm	_DVB_PLL_OPERA1,4,2             ; @DVB_PLL_OPERA1
	.comm	_ts2020_attach,4,2              ; @ts2020_attach
	.comm	_ts2020_config,4,2              ; @ts2020_config
l_.str.5:                               ; @.str.5
	.asciz	"TUN Found %s tuner"

l_.str.6:                               ; @.str.6
	.asciz	"TUN No tuner found"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.7:                               ; @.str.7
	.asciz	"INT Unable to start Interrupt Service"

	.no_dead_strip	_dm04_lme2510_tuner
.subsections_via_symbols
