	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function digitv_tuner_attach
_digitv_tuner_attach:                   ## @digitv_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %r15
	movq	_dvb_pll_attach@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%rax), %rsi
	movq	_DVB_PLL_TDED4@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r14d, %r14d
	movl	$96, %edx
	xorl	%ecx, %ecx
	callq	_dvb_attach
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpq	$0, (%r15)
	je	LBB0_4
## %bb.3:
	movq	_digitv_nxt6000_tuner_set_params@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_4
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dvb_pll_attach,4,2             ## @dvb_pll_attach
	.comm	_DVB_PLL_TDED4,4,2              ## @DVB_PLL_TDED4
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_digitv_nxt6000_tuner_set_params,4,2 ## @digitv_nxt6000_tuner_set_params
	.no_dead_strip	_digitv_tuner_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function digitv_tuner_attach
_digitv_tuner_attach:                   ; @digitv_tuner_attach
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _dvb_pll_attach@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dvb_pll_attach@GOTPAGEOFF]
	ldp	x10, x9, [x0]
	ldr	x20, [x9]
Lloh2:
	ldr	w0, [x8]
	ldr	x1, [x10]
Lloh3:
	adrp	x8, _DVB_PLL_TDED4@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DVB_PLL_TDED4@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	w2, #96
	mov	x3, #0
	bl	_dvb_attach
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.2:
	mov	w0, #0
Lloh6:
	adrp	x8, _digitv_nxt6000_tuner_set_params@GOTPAGE
Lloh7:
	ldr	x8, [x8, _digitv_nxt6000_tuner_set_params@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9]
	str	w8, [x9]
	b	LBB0_5
LBB0_3:
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_dvb_pll_attach,4,2             ; @dvb_pll_attach
	.comm	_DVB_PLL_TDED4,4,2              ; @DVB_PLL_TDED4
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_digitv_nxt6000_tuner_set_params,4,2 ; @digitv_nxt6000_tuner_set_params
	.no_dead_strip	_digitv_tuner_attach
.subsections_via_symbols
