	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvb_bt8xx_load_card
_dvb_bt8xx_load_card:                   ## @dvb_bt8xx_load_card
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movl	128(%rdi), %esi
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	112(%rdi), %rax
	movq	8(%rax), %rcx
	movq	_adapter_nr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_dvb_register_adapter
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%rbx, (%rbx)
	movl	124(%rbx), %eax
	movq	112(%rbx), %rcx
	movl	%eax, 4(%rcx)
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_DMX_TS_FILTERING@GOTPCREL(%rip), %rax
	movq	_DMX_SECTION_FILTERING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_DMX_MEMORY_BASED_FILTERING@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 16(%rbx)
	movq	%rbx, 72(%rbx)
	movabsq	$1099511628032, %rax            ## imm = 0x10000000100
	movq	%rax, 8(%rbx)
	movq	_dvb_bt8xx_start_feed@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rbx)
	movq	_dvb_bt8xx_stop_feed@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	$0, 56(%rbx)
	movq	%r14, %rdi
	callq	_dvb_dmx_init
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	leaq	16(%rbx), %r12
	leaq	80(%rbx), %r13
	movl	$256, 80(%rbx)                  ## imm = 0x100
	movq	%r12, 96(%rbx)
	movq	$0, 88(%rbx)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_dvb_dmxdev_init
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	_DMX_FRONTEND_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	104(%rbx), %rsi
	movl	%eax, 104(%rbx)
	movq	%r12, %rdi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	*24(%rbx)
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	_DMX_MEMORY_FE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	108(%rbx), %rsi
	movl	%eax, 108(%rbx)
	movq	%r12, %rdi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	callq	*24(%rbx)
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	*32(%rbx)
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:
	leaq	120(%rbx), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_dvb_net_init
	testl	%eax, %eax
	js	LBB0_13
## %bb.20:
	movq	112(%rbx), %rdi
	movq	_dvb_bt8xx_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_tasklet_init
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_frontend_init
	xorl	%r15d, %r15d
	jmp	LBB0_19
LBB0_1:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
	jmp	LBB0_19
LBB0_3:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
	jmp	LBB0_18
LBB0_5:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
	jmp	LBB0_17
LBB0_7:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
	jmp	LBB0_16
LBB0_9:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
	jmp	LBB0_15
LBB0_11:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
	jmp	LBB0_14
LBB0_13:
	movl	%eax, %r15d
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
	movq	%r12, %rdi
	callq	*48(%rbx)
LBB0_14:
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	*40(%rbx)
LBB0_15:
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	*40(%rbx)
LBB0_16:
	movq	%r13, %rdi
	callq	_dvb_dmxdev_release
LBB0_17:
	movq	%r14, %rdi
	callq	_dvb_dmx_release
LBB0_18:
	movq	%rbx, %rdi
	callq	_dvb_unregister_adapter
LBB0_19:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_adapter_nr,4,2                 ## @adapter_nr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dvb_register_adapter failed (errno = %d)\n"

	.comm	_DMX_TS_FILTERING,4,2           ## @DMX_TS_FILTERING
	.comm	_DMX_SECTION_FILTERING,4,2      ## @DMX_SECTION_FILTERING
	.comm	_DMX_MEMORY_BASED_FILTERING,4,2 ## @DMX_MEMORY_BASED_FILTERING
	.comm	_dvb_bt8xx_start_feed,4,2       ## @dvb_bt8xx_start_feed
	.comm	_dvb_bt8xx_stop_feed,4,2        ## @dvb_bt8xx_stop_feed
L_.str.1:                               ## @.str.1
	.asciz	"dvb_dmx_init failed (errno = %d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"dvb_dmxdev_init failed (errno = %d)\n"

	.comm	_DMX_FRONTEND_0,4,2             ## @DMX_FRONTEND_0
	.comm	_DMX_MEMORY_FE,4,2              ## @DMX_MEMORY_FE
L_.str.3:                               ## @.str.3
	.asciz	"dvb_net_init failed (errno = %d)\n"

	.comm	_dvb_bt8xx_task,4,2             ## @dvb_bt8xx_task
	.no_dead_strip	_dvb_bt8xx_load_card
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvb_bt8xx_load_card
_dvb_bt8xx_load_card:                   ; @dvb_bt8xx_load_card
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x19, x0
	ldr	w1, [x0, #128]
Lloh0:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	ldr	x8, [x0, #112]
	ldr	x3, [x8, #8]
Lloh3:
	adrp	x8, _adapter_nr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _adapter_nr@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	bl	_dvb_register_adapter
	tbnz	w0, #31, LBB0_8
; %bb.1:
	str	x19, [x19]
	ldr	w8, [x19, #124]
	ldr	x9, [x19, #112]
	str	w8, [x9, #4]
	add	x20, x19, #8
	mov	x0, x20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh6:
	adrp	x8, _DMX_TS_FILTERING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMX_TS_FILTERING@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _DMX_SECTION_FILTERING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DMX_SECTION_FILTERING@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _DMX_MEMORY_BASED_FILTERING@GOTPAGE
Lloh13:
	ldr	x10, [x10, _DMX_MEMORY_BASED_FILTERING@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh14:
	ldr	w9, [x10]
	orr	w8, w8, w9
	mov	x23, x19
	str	w8, [x23, #16]!
	str	x19, [x19, #72]
	movi.2s	v0, #1, lsl #8
	str	d0, [x19, #8]
Lloh15:
	adrp	x8, _dvb_bt8xx_start_feed@GOTPAGE
Lloh16:
	ldr	x8, [x8, _dvb_bt8xx_start_feed@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _dvb_bt8xx_stop_feed@GOTPAGE
Lloh19:
	ldr	x9, [x9, _dvb_bt8xx_stop_feed@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #64]
	str	xzr, [x19, #56]
	mov	x0, x20
	bl	_dvb_dmx_init
	tbnz	w0, #31, LBB0_9
; %bb.2:
	mov	w8, #256
	mov	x24, x19
	str	w8, [x24, #80]!
	stp	xzr, x23, [x19, #88]
	mov	x0, x24
	mov	x1, x19
	bl	_dvb_dmxdev_init
	tbnz	w0, #31, LBB0_10
; %bb.3:
Lloh21:
	adrp	x8, _DMX_FRONTEND_0@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DMX_FRONTEND_0@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	mov	x25, x19
	str	w8, [x25, #104]!
	ldur	x8, [x25, #-80]
	mov	x0, x23
	mov	x1, x25
	blr	x8
	tbnz	w0, #31, LBB0_11
; %bb.4:
Lloh24:
	adrp	x8, _DMX_MEMORY_FE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DMX_MEMORY_FE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	mov	x26, x19
	str	w8, [x26, #108]!
	ldur	x8, [x26, #-84]
	mov	x0, x23
	mov	x1, x26
	blr	x8
	tbnz	w0, #31, LBB0_12
; %bb.5:
	ldr	x8, [x19, #32]
	mov	x0, x23
	mov	x1, x25
	blr	x8
	tbnz	w0, #31, LBB0_13
; %bb.6:
	add	x1, x19, #120
	mov	x0, x19
	mov	x2, x23
	bl	_dvb_net_init
	tbnz	w0, #31, LBB0_14
; %bb.7:
	ldr	x0, [x19, #112]
Lloh27:
	adrp	x8, _dvb_bt8xx_task@GOTPAGE
Lloh28:
	ldr	x8, [x8, _dvb_bt8xx_task@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_tasklet_init
	mov	x0, x19
	mov	x1, x22
	bl	_frontend_init
	mov	w21, #0
	b	LBB0_20
LBB0_8:
	mov	x21, x0
Lloh30:
	adrp	x0, l_.str@PAGE
Lloh31:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_pr_err
	b	LBB0_20
LBB0_9:
	mov	x21, x0
Lloh32:
	adrp	x0, l_.str.1@PAGE
Lloh33:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_pr_err
	b	LBB0_19
LBB0_10:
	mov	x21, x0
Lloh34:
	adrp	x0, l_.str.2@PAGE
Lloh35:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_pr_err
	b	LBB0_18
LBB0_11:
	mov	x21, x0
Lloh36:
	adrp	x0, l_.str.1@PAGE
Lloh37:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_pr_err
	b	LBB0_17
LBB0_12:
	mov	x21, x0
Lloh38:
	adrp	x0, l_.str.1@PAGE
Lloh39:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_pr_err
	b	LBB0_16
LBB0_13:
	mov	x21, x0
Lloh40:
	adrp	x0, l_.str.1@PAGE
Lloh41:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_pr_err
	b	LBB0_15
LBB0_14:
	mov	x21, x0
Lloh42:
	adrp	x0, l_.str.3@PAGE
Lloh43:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x21
	bl	_pr_err
	ldr	x8, [x19, #48]
	mov	x0, x23
	blr	x8
LBB0_15:
	ldr	x8, [x19, #40]
	mov	x0, x23
	mov	x1, x26
	blr	x8
LBB0_16:
	ldr	x8, [x19, #40]
	mov	x0, x23
	mov	x1, x25
	blr	x8
LBB0_17:
	mov	x0, x24
	bl	_dvb_dmxdev_release
LBB0_18:
	mov	x0, x20
	bl	_dvb_dmx_release
LBB0_19:
	mov	x0, x19
	bl	_dvb_unregister_adapter
LBB0_20:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_adapter_nr,4,2                 ; @adapter_nr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dvb_register_adapter failed (errno = %d)\n"

	.comm	_DMX_TS_FILTERING,4,2           ; @DMX_TS_FILTERING
	.comm	_DMX_SECTION_FILTERING,4,2      ; @DMX_SECTION_FILTERING
	.comm	_DMX_MEMORY_BASED_FILTERING,4,2 ; @DMX_MEMORY_BASED_FILTERING
	.comm	_dvb_bt8xx_start_feed,4,2       ; @dvb_bt8xx_start_feed
	.comm	_dvb_bt8xx_stop_feed,4,2        ; @dvb_bt8xx_stop_feed
l_.str.1:                               ; @.str.1
	.asciz	"dvb_dmx_init failed (errno = %d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"dvb_dmxdev_init failed (errno = %d)\n"

	.comm	_DMX_FRONTEND_0,4,2             ; @DMX_FRONTEND_0
	.comm	_DMX_MEMORY_FE,4,2              ; @DMX_MEMORY_FE
l_.str.3:                               ; @.str.3
	.asciz	"dvb_net_init failed (errno = %d)\n"

	.comm	_dvb_bt8xx_task,4,2             ; @dvb_bt8xx_task
	.no_dead_strip	_dvb_bt8xx_load_card
.subsections_via_symbols
