	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function release_channel
_release_channel:                       ## @release_channel
	.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
	movq	104(%rdi), %r15
	cmpq	$0, 96(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_set_transfer
LBB0_2:
	leaq	88(%rbx), %rdi
	callq	_tasklet_kill
	movq	80(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_dvb_unregister_device
	movq	$0, 80(%rbx)
LBB0_4:
	movq	72(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_dvb_unregister_frontend
LBB0_6:
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.7:
	callq	_dvb_unregister_frontend
	cmpq	$0, 64(%rbx)
	je	LBB0_9
## %bb.8:
	movq	56(%rbx), %rax
	movq	(%rax), %rdi
	callq	_dvb_module_release
	movq	56(%rbx), %rax
	movq	$0, (%rax)
LBB0_9:
	movq	48(%rbx), %rdi
	callq	_dvb_frontend_detach
	movq	$0, 48(%rbx)
LBB0_10:
	cmpl	$0, (%rbx)
	je	LBB0_12
## %bb.11:
	leaq	16(%rbx), %r14
	leaq	44(%rbx), %rdi
	callq	_dvb_net_release
	movq	%r14, %rdi
	callq	*24(%rbx)
	leaq	40(%rbx), %rsi
	movq	%r14, %rdi
	callq	*16(%rbx)
	leaq	36(%rbx), %rsi
	movq	%r14, %rdi
	callq	*16(%rbx)
	leaq	32(%rbx), %rdi
	callq	_dvb_dmxdev_release
	movq	%r14, %rdi
	callq	_dvb_dmx_release
	movl	$0, (%rbx)
LBB0_12:
	cmpl	$0, 4(%rbx)
	je	LBB0_14
## %bb.13:
	movq	8(%rbx), %rdi
	shlq	$2, %rdi
	addq	(%r15), %rdi
	callq	_dvb_unregister_adapter
	movl	$0, 4(%rbx)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_release_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function release_channel
_release_channel:                       ; @release_channel
	.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
	ldp	x8, x21, [x0, #96]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	bl	_set_transfer
LBB0_2:
	add	x0, x19, #88
	bl	_tasklet_kill
	ldr	x0, [x19, #80]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_dvb_unregister_device
	str	xzr, [x19, #80]
LBB0_4:
	ldr	x0, [x19, #72]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_dvb_unregister_frontend
LBB0_6:
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_10
; %bb.7:
	bl	_dvb_unregister_frontend
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x8, [x19, #56]
	ldr	x0, [x8]
	bl	_dvb_module_release
	ldr	x8, [x19, #56]
	str	xzr, [x8]
LBB0_9:
	ldr	x0, [x19, #48]
	bl	_dvb_frontend_detach
	str	xzr, [x19, #48]
LBB0_10:
	ldr	w8, [x19]
	cbz	w8, LBB0_12
; %bb.11:
	add	x20, x19, #16
	add	x0, x19, #44
	bl	_dvb_net_release
	ldr	x8, [x19, #24]
	mov	x0, x20
	blr	x8
	ldr	x8, [x19, #16]
	add	x1, x19, #40
	mov	x0, x20
	blr	x8
	ldr	x8, [x19, #16]
	add	x1, x19, #36
	mov	x0, x20
	blr	x8
	add	x0, x19, #32
	bl	_dvb_dmxdev_release
	mov	x0, x20
	bl	_dvb_dmx_release
	str	wzr, [x19]
LBB0_12:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_14
; %bb.13:
	ldr	x8, [x21]
	ldr	x9, [x19, #8]
	add	x0, x8, x9, lsl #2
	bl	_dvb_unregister_adapter
	str	wzr, [x19, #4]
LBB0_14:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_release_channel
.subsections_via_symbols
