	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function em28178_dvb_init_pctv_292e
_em28178_dvb_init_pctv_292e:            ## @em28178_dvb_init_pctv_292e
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	24(%rdi), %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	$0, -80(%rbp)
	leaq	-24(%rbp), %rax
	movq	%rax, -32(%rbp)
	movq	(%rbx), %rax
	movq	%rax, -48(%rbp)
	movq	_SI2168_TS_PARALLEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	$1, -64(%rbp)
	movq	(%rdi), %rdx
	shlq	$2, %rdx
	addq	16(%rdi), %rdx
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	leaq	-64(%rbp), %r8
	xorl	%esi, %esi
	movl	$100, %ecx
	callq	_dvb_module_probe
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)
	movl	$1, -108(%rbp)
	movq	-24(%rbp), %rdx
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	leaq	-112(%rbp), %r8
	xorl	%esi, %esi
	movl	$96, %ecx
	callq	_dvb_module_probe
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_em28xx_pctv_292e_set_lna@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_6
LBB0_3:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	8(%rbx), %rdi
	callq	_dvb_module_release
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
LBB0_5:
	subl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$96, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SI2168_TS_PARALLEL,4,2         ## @SI2168_TS_PARALLEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"si2168"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"si2157"

	.comm	_em28xx_pctv_292e_set_lna,4,2   ## @em28xx_pctv_292e_set_lna
	.no_dead_strip	_em28178_dvb_init_pctv_292e
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function em28178_dvb_init_pctv_292e
_em28178_dvb_init_pctv_292e:            ; @em28178_dvb_init_pctv_292e
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #48]
	str	xzr, [sp, #32]
	stp	q0, q0, [sp]
	sub	x8, x29, #24
	str	x8, [sp, #80]
	ldp	x8, x19, [x0, #16]
	ldr	x9, [x19]
	str	x9, [sp, #64]
Lloh0:
	adrp	x9, _SI2168_TS_PARALLEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SI2168_TS_PARALLEL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [sp, #72]
	mov	w20, #1
	str	w20, [sp, #48]
	ldr	x9, [x0]
	add	x2, x8, x9, lsl #2
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	add	x4, sp, #48
	mov	x1, #0
	mov	w3, #100
	bl	_dvb_module_probe
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	ldr	x8, [x8]
	str	x8, [sp, #16]
	str	w20, [sp, #4]
	ldur	x2, [x29, #-24]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x4, sp
	mov	x1, #0
	mov	w3, #96
	bl	_dvb_module_probe
	str	x0, [x19, #16]
	cbz	x0, LBB0_3
; %bb.2:
	mov	w0, #0
Lloh7:
	adrp	x8, _em28xx_pctv_292e_set_lna@GOTPAGE
Lloh8:
	ldr	x8, [x8, _em28xx_pctv_292e_set_lna@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9]
	str	w8, [x9]
	b	LBB0_5
LBB0_3:
	ldr	x0, [x19, #8]
	bl	_dvb_module_release
LBB0_4:
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SI2168_TS_PARALLEL,4,2         ; @SI2168_TS_PARALLEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"si2168"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"si2157"

	.comm	_em28xx_pctv_292e_set_lna,4,2   ; @em28xx_pctv_292e_set_lna
	.no_dead_strip	_em28178_dvb_init_pctv_292e
.subsections_via_symbols
