	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flexcop_dvb_exit
_flexcop_dvb_exit:                      ## @flexcop_dvb_exit
	.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
	movl	(%rdi), %eax
	movq	_FC_STATE_DVB_INIT@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	testl	%eax, %ecx
	je	LBB0_2
## %bb.1:
	leaq	36(%rbx), %rdi
	callq	_dvb_net_release
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	*16(%rbx)
	leaq	32(%rbx), %rsi
	movq	%r14, %rdi
	callq	*8(%rbx)
	leaq	28(%rbx), %rsi
	movq	%r14, %rdi
	callq	*8(%rbx)
	leaq	24(%rbx), %rdi
	callq	_dvb_dmxdev_release
	movq	%r14, %rdi
	callq	_dvb_dmx_release
	leaq	4(%rbx), %rdi
	callq	_dvb_unregister_adapter
	leaq	L_.str(%rip), %rdi
	callq	_deb_info
	movl	(%r15), %ecx
	movl	(%rbx), %eax
LBB0_2:
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FC_STATE_DVB_INIT,4,2          ## @FC_STATE_DVB_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"deinitialized dvb stuff\n"

	.no_dead_strip	_flexcop_dvb_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flexcop_dvb_exit
_flexcop_dvb_exit:                      ; @flexcop_dvb_exit
	.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
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _FC_STATE_DVB_INIT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FC_STATE_DVB_INIT@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	add	x0, x19, #36
	bl	_dvb_net_release
	add	x20, x19, #8
	ldr	x8, [x19, #16]
	mov	x0, x20
	blr	x8
	ldr	x8, [x19, #8]
	add	x1, x19, #32
	mov	x0, x20
	blr	x8
	ldr	x8, [x19, #8]
	add	x1, x19, #28
	mov	x0, x20
	blr	x8
	add	x0, x19, #24
	bl	_dvb_dmxdev_release
	mov	x0, x20
	bl	_dvb_dmx_release
	add	x0, x19, #4
	bl	_dvb_unregister_adapter
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_deb_info
	ldr	w9, [x21]
	ldr	w8, [x19]
LBB0_2:
	bic	w8, w8, w9
	str	w8, [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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FC_STATE_DVB_INIT,4,2          ; @FC_STATE_DVB_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"deinitialized dvb stuff\n"

	.no_dead_strip	_flexcop_dvb_exit
.subsections_via_symbols
