	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mantis_dvb_init                ## -- Begin function mantis_dvb_init
	.p2align	4, 0x90
_mantis_dvb_init:                       ## @mantis_dvb_init
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	120(%rdi), %r12
	movq	_MANTIS_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rdx
	xorl	%r13d, %r13d
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_dprintk
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	128(%rbx), %rcx
	movq	_adapter_nr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dvb_register_adapter
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%rbx, (%rbx)
	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
	leaq	8(%rbx), %r13
	movl	%ecx, 16(%rbx)
	movq	%rbx, 64(%rbx)
	movabsq	$1099511628032, %rax            ## imm = 0x10000000100
	movq	%rax, 8(%rbx)
	movq	_mantis_dvb_start_feed@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_mantis_dvb_stop_feed@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	$0, 48(%rbx)
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rdx
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_dprintk
	movq	%r13, %rdi
	callq	_dvb_dmx_init
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	leaq	16(%rbx), %r12
	leaq	72(%rbx), %rax
	movl	$256, 72(%rbx)                  ## imm = 0x100
	movq	%r12, 88(%rbx)
	movq	$0, 80(%rbx)
	movl	(%r14), %edi
	movq	%rax, %r14
	leaq	L_.str.5(%rip), %rdx
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_dprintk
	movq	%r14, %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	96(%rbx), %rsi
	movl	%eax, 96(%rbx)
	movq	%r12, %rdi
	movq	%rsi, -72(%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	100(%rbx), %rsi
	movl	%eax, 100(%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	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	*32(%rbx)
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %r14
	leaq	112(%rbx), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_dvb_net_init
	leaq	116(%rbx), %r13
	movq	_mantis_dma_xfer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_tasklet_init
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_tasklet_disable
	xorl	%r13d, %r13d
	cmpq	$0, 120(%rbx)
	je	LBB0_29
## %bb.13:
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	104(%rbx), %rsi
	movq	%rbx, %rdi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	callq	*(%rax)
	testl	%eax, %eax
	js	LBB0_14
## %bb.16:
	movq	104(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.18:
	movq	%rbx, %rdi
	callq	_dvb_register_frontend
	testl	%eax, %eax
	je	LBB0_29
## %bb.19:
	movl	%eax, %r15d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rdx
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_dprintk
	movq	104(%rbx), %rdi
	movq	(%rdi), %rax
	testq	%rax, %rax
	movq	%r14, %r13
	je	LBB0_21
## %bb.20:
	callq	*%rax
LBB0_21:
	movq	$0, 104(%rbx)
	jmp	LBB0_22
LBB0_1:
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rdx
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_dprintk
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_29
LBB0_3:
	movl	%eax, %r15d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rdx
	movl	$1, %esi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_28
LBB0_5:
	movl	%eax, %r15d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rdx
	movl	$1, %esi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_27
LBB0_7:
	movl	%eax, %r15d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rdx
	movl	$1, %esi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_26
LBB0_9:
	movl	%eax, %r15d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rdx
	movl	$1, %esi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_25
LBB0_11:
	movl	%eax, %r15d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rdx
	movl	$1, %esi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_24
LBB0_14:
	movl	%eax, %r15d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rdx
	jmp	LBB0_15
LBB0_17:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	movq	_MANTIS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rdx
LBB0_15:
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_dprintk
	movq	%r14, %r13
LBB0_22:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_tasklet_kill
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_dvb_net_release
	movq	104(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.23:
	callq	_dvb_unregister_frontend
	movq	104(%rbx), %rdi
	callq	_dvb_frontend_detach
LBB0_24:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	*40(%rbx)
LBB0_25:
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	*40(%rbx)
LBB0_26:
	movq	%r14, %rdi
	callq	_dvb_dmxdev_release
LBB0_27:
	movq	%r13, %rdi
	callq	_dvb_dmx_release
LBB0_28:
	movq	%rbx, %rdi
	callq	_dvb_unregister_adapter
	movl	%r15d, %r13d
LBB0_29:
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MANTIS_DEBUG,4,2               ## @MANTIS_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dvb_register_adapter"

L_.str.1:                               ## @.str.1
	.asciz	"Mantis DVB adapter"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_adapter_nr,4,2                 ## @adapter_nr
	.comm	_MANTIS_ERROR,4,2               ## @MANTIS_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"Error registering adapter"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.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	_mantis_dvb_start_feed,4,2      ## @mantis_dvb_start_feed
	.comm	_mantis_dvb_stop_feed,4,2       ## @mantis_dvb_stop_feed
L_.str.3:                               ## @.str.3
	.asciz	"dvb_dmx_init"

L_.str.4:                               ## @.str.4
	.asciz	"dvb_dmx_init failed, ERROR=%d"

L_.str.5:                               ## @.str.5
	.asciz	"dvb_dmxdev_init"

L_.str.6:                               ## @.str.6
	.asciz	"dvb_dmxdev_init failed, ERROR=%d"

	.comm	_DMX_FRONTEND_0,4,2             ## @DMX_FRONTEND_0
	.comm	_DMX_MEMORY_FE,4,2              ## @DMX_MEMORY_FE
	.comm	_mantis_dma_xfer,4,2            ## @mantis_dma_xfer
L_.str.7:                               ## @.str.7
	.asciz	"!!! NO Frontends found !!!"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.8:                               ## @.str.8
	.asciz	"FE <NULL>"

L_.str.9:                               ## @.str.9
	.asciz	"ERROR: Frontend registration failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mantis_dvb_init                ; -- Begin function mantis_dvb_init
	.p2align	2
_mantis_dvb_init:                       ; @mantis_dvb_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x28, [x0, #120]
Lloh0:
	adrp	x23, _MANTIS_DEBUG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MANTIS_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #1
	bl	_dprintk
Lloh4:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	ldr	x3, [x19, #128]
Lloh7:
	adrp	x8, _adapter_nr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _adapter_nr@GOTPAGEOFF]
Lloh9:
	ldr	w4, [x8]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dvb_register_adapter
	tbnz	w0, #31, LBB0_13
; %bb.1:
Lloh12:
	adrp	x8, _DMX_TS_FILTERING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DMX_TS_FILTERING@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _DMX_SECTION_FILTERING@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DMX_SECTION_FILTERING@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh18:
	adrp	x9, _DMX_MEMORY_BASED_FILTERING@GOTPAGE
Lloh19:
	ldr	x9, [x9, _DMX_MEMORY_BASED_FILTERING@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
	movi.2s	v0, #1, lsl #8
	mov	x20, x19
	str	d0, [x20, #8]!
	mov	x21, x19
	str	w8, [x21, #16]!
	str	x19, [x19]
	str	x19, [x19, #64]
Lloh21:
	adrp	x8, _mantis_dvb_start_feed@GOTPAGE
Lloh22:
	ldr	x8, [x8, _mantis_dvb_start_feed@GOTPAGEOFF]
Lloh23:
	adrp	x9, _mantis_dvb_stop_feed@GOTPAGE
Lloh24:
	ldr	x9, [x9, _mantis_dvb_stop_feed@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #56]
	str	xzr, [x19, #48]
	ldr	w0, [x23]
Lloh27:
	adrp	x2, l_.str.3@PAGE
Lloh28:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w1, #1
	bl	_dprintk
	mov	x0, x20
	bl	_dvb_dmx_init
	tbnz	w0, #31, LBB0_14
; %bb.2:
	mov	w8, #256
	mov	x22, x19
	str	w8, [x22, #72]!
	stp	xzr, x21, [x19, #80]
	ldr	w0, [x23]
Lloh29:
	adrp	x2, l_.str.5@PAGE
Lloh30:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	w1, #1
	bl	_dprintk
	mov	x0, x22
	mov	x1, x19
	bl	_dvb_dmxdev_init
	tbnz	w0, #31, LBB0_15
; %bb.3:
Lloh31:
	adrp	x8, _DMX_FRONTEND_0@GOTPAGE
Lloh32:
	ldr	x8, [x8, _DMX_FRONTEND_0@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	mov	x23, x19
	str	w8, [x23, #96]!
	ldur	x8, [x23, #-72]
	mov	x0, x21
	mov	x1, x23
	blr	x8
	tbnz	w0, #31, LBB0_16
; %bb.4:
Lloh34:
	adrp	x8, _DMX_MEMORY_FE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _DMX_MEMORY_FE@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	mov	x24, x19
	str	w8, [x24, #100]!
	ldur	x8, [x24, #-76]
	mov	x0, x21
	mov	x1, x24
	blr	x8
	tbnz	w0, #31, LBB0_17
; %bb.5:
	ldr	x8, [x19, #32]
	mov	x0, x21
	mov	x1, x23
	blr	x8
	tbnz	w0, #31, LBB0_18
; %bb.6:
	add	x26, x19, #112
	mov	x0, x19
	mov	x1, x26
	mov	x2, x21
	bl	_dvb_net_init
	add	x27, x19, #116
Lloh37:
	adrp	x8, _mantis_dma_xfer@GOTPAGE
Lloh38:
	ldr	x8, [x8, _mantis_dma_xfer@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x27
	mov	x2, x19
	bl	_tasklet_init
	mov	x0, x27
	bl	_tasklet_disable
	ldr	x8, [x19, #120]
	cbz	x8, LBB0_19
; %bb.7:
	ldr	x8, [x28]
	ldr	x1, [x19, #104]
	mov	x0, x19
	blr	x8
	tbnz	w0, #31, LBB0_20
; %bb.8:
	ldr	x1, [x19, #104]
	cbz	x1, LBB0_21
; %bb.9:
	mov	x0, x19
	bl	_dvb_register_frontend
	mov	x25, x0
	cbz	w0, LBB0_30
; %bb.10:
Lloh40:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
Lloh43:
	adrp	x2, l_.str.9@PAGE
Lloh44:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	w1, #1
	bl	_dprintk
	ldr	x0, [x19, #104]
	ldr	x8, [x0]
	cbz	x8, LBB0_12
; %bb.11:
	blr	x8
LBB0_12:
	str	xzr, [x19, #104]
	b	LBB0_23
LBB0_13:
Lloh45:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
Lloh48:
	adrp	x2, l_.str.2@PAGE
Lloh49:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #1
	bl	_dprintk
Lloh50:
	adrp	x8, _ENODEV@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_30
LBB0_14:
	mov	x25, x0
Lloh53:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh54:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	str	x25, [sp]
Lloh56:
	adrp	x2, l_.str.4@PAGE
Lloh57:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w1, #1
	bl	_dprintk
	b	LBB0_29
LBB0_15:
	mov	x25, x0
Lloh58:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh59:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
	str	x25, [sp]
Lloh61:
	adrp	x2, l_.str.6@PAGE
Lloh62:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	w1, #1
	bl	_dprintk
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	b	LBB0_28
LBB0_16:
	mov	x25, x0
Lloh63:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh64:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
	str	x25, [sp]
Lloh66:
	adrp	x2, l_.str.4@PAGE
Lloh67:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w1, #1
	bl	_dprintk
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	b	LBB0_27
LBB0_17:
	mov	x25, x0
Lloh68:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh69:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
	str	x25, [sp]
Lloh71:
	adrp	x2, l_.str.4@PAGE
Lloh72:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w1, #1
	bl	_dprintk
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	b	LBB0_26
LBB0_18:
	mov	x25, x0
Lloh73:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh74:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh75:
	ldr	w0, [x8]
	str	x25, [sp]
Lloh76:
	adrp	x2, l_.str.4@PAGE
Lloh77:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w1, #1
	bl	_dprintk
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	b	LBB0_25
LBB0_19:
	mov	w25, #0
	b	LBB0_30
LBB0_20:
	mov	x25, x0
Lloh78:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh79:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh80:
	ldr	w0, [x8]
Lloh81:
	adrp	x2, l_.str.7@PAGE
Lloh82:
	add	x2, x2, l_.str.7@PAGEOFF
	b	LBB0_22
LBB0_21:
Lloh83:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh84:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	neg	w25, w8
Lloh86:
	adrp	x8, _MANTIS_ERROR@GOTPAGE
Lloh87:
	ldr	x8, [x8, _MANTIS_ERROR@GOTPAGEOFF]
Lloh88:
	ldr	w0, [x8]
Lloh89:
	adrp	x2, l_.str.8@PAGE
Lloh90:
	add	x2, x2, l_.str.8@PAGEOFF
LBB0_22:
	mov	w1, #1
	bl	_dprintk
LBB0_23:
	mov	x0, x27
	bl	_tasklet_kill
	mov	x0, x26
	bl	_dvb_net_release
	ldr	x0, [x19, #104]
	cbz	x0, LBB0_25
; %bb.24:
	bl	_dvb_unregister_frontend
	ldr	x0, [x19, #104]
	bl	_dvb_frontend_detach
LBB0_25:
	ldr	x8, [x19, #40]
	mov	x0, x21
	mov	x1, x24
	blr	x8
LBB0_26:
	ldr	x8, [x19, #40]
	mov	x0, x21
	mov	x1, x23
	blr	x8
LBB0_27:
	mov	x0, x22
	bl	_dvb_dmxdev_release
LBB0_28:
	mov	x0, x20
	bl	_dvb_dmx_release
LBB0_29:
	mov	x0, x19
	bl	_dvb_unregister_adapter
LBB0_30:
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.comm	_MANTIS_DEBUG,4,2               ; @MANTIS_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dvb_register_adapter"

l_.str.1:                               ; @.str.1
	.asciz	"Mantis DVB adapter"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_adapter_nr,4,2                 ; @adapter_nr
	.comm	_MANTIS_ERROR,4,2               ; @MANTIS_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"Error registering adapter"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.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	_mantis_dvb_start_feed,4,2      ; @mantis_dvb_start_feed
	.comm	_mantis_dvb_stop_feed,4,2       ; @mantis_dvb_stop_feed
l_.str.3:                               ; @.str.3
	.asciz	"dvb_dmx_init"

l_.str.4:                               ; @.str.4
	.asciz	"dvb_dmx_init failed, ERROR=%d"

l_.str.5:                               ; @.str.5
	.asciz	"dvb_dmxdev_init"

l_.str.6:                               ; @.str.6
	.asciz	"dvb_dmxdev_init failed, ERROR=%d"

	.comm	_DMX_FRONTEND_0,4,2             ; @DMX_FRONTEND_0
	.comm	_DMX_MEMORY_FE,4,2              ; @DMX_MEMORY_FE
	.comm	_mantis_dma_xfer,4,2            ; @mantis_dma_xfer
l_.str.7:                               ; @.str.7
	.asciz	"!!! NO Frontends found !!!"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.8:                               ; @.str.8
	.asciz	"FE <NULL>"

l_.str.9:                               ; @.str.9
	.asciz	"ERROR: Frontend registration failed"

.subsections_via_symbols
