	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvb_bt8xx_remove
_dvb_bt8xx_remove:                      ## @dvb_bt8xx_remove
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movl	48(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	movq	40(%rbx), %rdi
	callq	_bt878_stop
	movq	40(%rbx), %rdi
	callq	_tasklet_kill
	leaq	36(%rbx), %rdi
	callq	_dvb_net_release
	leaq	16(%rbx), %r14
	leaq	32(%rbx), %rsi
	movq	%r14, %rdi
	callq	*16(%rbx)
	leaq	28(%rbx), %rsi
	movq	%r14, %rdi
	callq	*16(%rbx)
	leaq	24(%rbx), %rdi
	callq	_dvb_dmxdev_release
	movq	%r14, %rdi
	callq	_dvb_dmx_release
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_dvb_unregister_frontend
	movq	8(%rbx), %rdi
	callq	_dvb_frontend_detach
LBB0_2:
	movq	%rbx, %rdi
	callq	_dvb_unregister_adapter
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dvb_bt8xx: unloading card%d\n"

	.no_dead_strip	_dvb_bt8xx_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvb_bt8xx_remove
_dvb_bt8xx_remove:                      ; @dvb_bt8xx_remove
	.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
	bl	_dev_get_drvdata
	mov	x19, x0
	ldr	w1, [x0, #48]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	ldr	x0, [x19, #40]
	bl	_bt878_stop
	ldr	x0, [x19, #40]
	bl	_tasklet_kill
	add	x0, x19, #36
	bl	_dvb_net_release
	mov	x20, x19
	ldr	x8, [x20, #16]!
	add	x1, x19, #32
	mov	x0, x20
	blr	x8
	ldr	x8, [x20]
	add	x1, x19, #28
	mov	x0, x20
	blr	x8
	add	x0, x19, #24
	bl	_dvb_dmxdev_release
	mov	x0, x20
	bl	_dvb_dmx_release
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_dvb_unregister_frontend
	ldr	x0, [x19, #8]
	bl	_dvb_frontend_detach
LBB0_2:
	mov	x0, x19
	bl	_dvb_unregister_adapter
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dvb_bt8xx: unloading card%d\n"

	.no_dead_strip	_dvb_bt8xx_remove
.subsections_via_symbols
