	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stk7700d_tuner_attach
_stk7700d_tuner_attach:                 ## @stk7700d_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	movl	(%rax), %edi
	movq	_DIBX000_I2C_INTERFACE_TUNER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	*(%rcx)
	movq	_mt2266_attach@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movl	(%rdx), %esi
	movq	_stk7700d_mt2266_config@GOTPCREL(%rip), %rdx
	shlq	$2, %rcx
	addq	(%rdx), %rcx
	movq	%rax, %rdx
	callq	_dvb_attach
	movq	_ENODEV@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	xorl	%edx, %edx
	testq	%rax, %rax
	cmovnel	%edx, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIBX000_I2C_INTERFACE_TUNER,4,2 ## @DIBX000_I2C_INTERFACE_TUNER
	.comm	_mt2266_attach,4,2              ## @mt2266_attach
	.comm	_stk7700d_mt2266_config,8,3     ## @stk7700d_mt2266_config
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_stk7700d_tuner_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stk7700d_tuner_attach
_stk7700d_tuner_attach:                 ; @stk7700d_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
	ldp	x9, x8, [x0, #8]
	ldr	x8, [x8]
	ldr	w0, [x9]
Lloh0:
	adrp	x9, _DIBX000_I2C_INTERFACE_TUNER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DIBX000_I2C_INTERFACE_TUNER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	w2, #1
	blr	x8
	mov	x2, x0
Lloh3:
	adrp	x8, _mt2266_attach@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mt2266_attach@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x9, x8, [x19]
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _stk7700d_mt2266_config@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stk7700d_mt2266_config@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x3, x8, x9, lsl #2
	bl	_dvb_attach
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	x0, #0
	csneg	w0, wzr, w8, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DIBX000_I2C_INTERFACE_TUNER,4,2 ; @DIBX000_I2C_INTERFACE_TUNER
	.comm	_mt2266_attach,4,2              ; @mt2266_attach
	.comm	_stk7700d_mt2266_config,8,3     ; @stk7700d_mt2266_config
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_stk7700d_tuner_attach
.subsections_via_symbols
