	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx18_dvb_unregister            ## -- Begin function cx18_dvb_unregister
	.p2align	4, 0x90
_cx18_dvb_unregister:                   ## @cx18_dvb_unregister
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_CX18_INFO
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	cmpl	$0, 44(%rbx)
	je	LBB0_2
## %bb.3:
	leaq	40(%rbx), %r14
	leaq	24(%rbx), %r15
	movq	%r15, %rdi
	callq	*32(%rbx)
	leaq	16(%rbx), %rdi
	callq	_dvb_net_release
	leaq	12(%rbx), %rsi
	movq	%r15, %rdi
	callq	*24(%rbx)
	leaq	8(%rbx), %rsi
	movq	%r15, %rdi
	callq	*24(%rbx)
	leaq	4(%rbx), %rdi
	callq	_dvb_dmxdev_release
	movq	%r15, %rdi
	callq	_dvb_dmx_release
	movl	(%rbx), %edi
	callq	_dvb_unregister_frontend
	movl	(%rbx), %edi
	callq	_dvb_frontend_detach
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dvb_unregister_adapter         ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unregister DVB\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx18_dvb_unregister            ; -- Begin function cx18_dvb_unregister
	.p2align	2
_cx18_dvb_unregister:                   ; @cx18_dvb_unregister
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x21, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_CX18_INFO
	cbz	x21, LBB0_3
; %bb.1:
	ldr	w8, [x21, #44]
	cbz	w8, LBB0_3
; %bb.2:
	add	x19, x21, #40
	add	x20, x21, #24
	ldr	x8, [x21, #32]
	mov	x0, x20
	blr	x8
	add	x0, x21, #16
	bl	_dvb_net_release
	ldr	x8, [x21, #24]
	add	x1, x21, #12
	mov	x0, x20
	blr	x8
	ldr	x8, [x21, #24]
	add	x1, x21, #8
	mov	x0, x20
	blr	x8
	add	x0, x21, #4
	bl	_dvb_dmxdev_release
	mov	x0, x20
	bl	_dvb_dmx_release
	ldr	w0, [x21]
	bl	_dvb_unregister_frontend
	ldr	w0, [x21]
	bl	_dvb_frontend_detach
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dvb_unregister_adapter
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unregister DVB\n"

.subsections_via_symbols
