	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function em28178_dvb_init_plex_px_bcud
_em28178_dvb_init_plex_px_bcud:         ## @em28178_dvb_init_plex_px_bcud
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	(%rdi), %rdx
	shlq	$2, %rdx
	addq	8(%rdi), %rdx
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %r8
	movl	$21, %ecx
	callq	_dvb_module_probe
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	-44(%rbp), %eax
	movl	%eax, -60(%rbp)
	movl	$1, -64(%rbp)
	movq	-40(%rbp), %rdx
	leaq	L_.str.2(%rip), %rdi
	xorl	%r14d, %r14d
	leaq	-64(%rbp), %r8
	xorl	%esi, %esi
	movl	$97, %ecx
	callq	_dvb_module_probe
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	-44(%rbp), %eax
	movq	(%r15), %rcx
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	callq	_px_bcud_init
	jmp	LBB0_5
LBB0_3:
	movq	8(%r15), %rdi
	callq	_dvb_module_release
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tc90522"

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

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

	.no_dead_strip	_em28178_dvb_init_plex_px_bcud
.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_plex_px_bcud
_em28178_dvb_init_plex_px_bcud:         ; @em28178_dvb_init_plex_px_bcud
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	ldp	x8, x20, [x0, #8]
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #8]
	ldr	x9, [x0]
	add	x2, x8, x9, lsl #2
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x4, sp, #16
	mov	w3, #21
	bl	_dvb_module_probe
	str	x0, [x20, #8]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [sp, #20]
	mov	w9, #1
	stp	w9, w8, [sp]
	ldr	x2, [sp, #24]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x4, sp
	mov	x1, #0
	mov	w3, #97
	bl	_dvb_module_probe
	str	x0, [x20, #16]
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w8, [sp, #20]
	ldr	x9, [x20]
	str	w8, [x9]
	mov	x0, x19
	bl	_px_bcud_init
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	ldr	x0, [x20, #8]
	bl	_dvb_module_release
LBB0_4:
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tc90522"

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

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

	.no_dead_strip	_em28178_dvb_init_plex_px_bcud
.subsections_via_symbols
