	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unregister_dvb
_unregister_dvb:                        ## @unregister_dvb
	.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
	movq	%rdi, %rbx
	addq	$52, %rdi
	callq	_dvb_net_release
	leaq	32(%rbx), %r14
	leaq	48(%rbx), %rsi
	movq	%r14, %rdi
	callq	*32(%rbx)
	leaq	44(%rbx), %rsi
	movq	%r14, %rdi
	callq	*32(%rbx)
	leaq	40(%rbx), %rdi
	callq	_dvb_dmxdev_release
	movq	%r14, %rdi
	callq	_dvb_dmx_release
	movq	24(%rbx), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_dvb_unregister_frontend
	movq	24(%rbx), %rax
LBB0_2:
	movq	(%rax), %rdi
	callq	_dvb_unregister_frontend
	movq	24(%rbx), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_dvb_frontend_detach
	movq	24(%rbx), %rax
LBB0_4:
	movq	(%rax), %rdi
	callq	_dvb_frontend_detach
	leaq	16(%rbx), %rdi
	callq	_dvb_unregister_adapter
	movq	8(%rbx), %rdi
	callq	_dvb_module_release
	movq	$0, 8(%rbx)
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_dvb_module_release
	movq	(%rbx), %rax
	movq	$0, 8(%rax)
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	callq	_dvb_module_release
	movq	(%rbx), %rax
	movq	$0, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_unregister_dvb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unregister_dvb
_unregister_dvb:                        ; @unregister_dvb
	.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
	mov	x19, x0
	add	x0, x0, #52
	bl	_dvb_net_release
	mov	x20, x19
	ldr	x8, [x20, #32]!
	add	x1, x20, #16
	mov	x0, x20
	blr	x8
	ldr	x8, [x20]
	add	x1, x20, #12
	mov	x0, x20
	blr	x8
	add	x0, x20, #8
	bl	_dvb_dmxdev_release
	mov	x0, x20
	bl	_dvb_dmx_release
	ldur	x8, [x20, #-8]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_dvb_unregister_frontend
	ldr	x8, [x19, #24]
LBB0_2:
	ldr	x0, [x8]
	bl	_dvb_unregister_frontend
	ldr	x8, [x19, #24]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_dvb_frontend_detach
	ldr	x8, [x19, #24]
LBB0_4:
	ldr	x0, [x8]
	bl	_dvb_frontend_detach
	add	x0, x19, #16
	bl	_dvb_unregister_adapter
	ldr	x0, [x19, #8]
	bl	_dvb_module_release
	str	xzr, [x19, #8]
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	bl	_dvb_module_release
	ldr	x8, [x19]
	str	xzr, [x8, #8]
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_dvb_module_release
	ldr	x8, [x19]
	str	xzr, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_unregister_dvb
.subsections_via_symbols
