	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvb_input_detach
_dvb_input_detach:                      ## @dvb_input_detach
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	movq	(%rax), %r12
	movl	(%rdi), %eax
	andl	$1, %eax
	imulq	$56, %rax, %rbx
	leaq	(%r12,%rbx), %r14
	movl	(%r12,%rbx), %eax
	addl	$-16, %eax
	cmpl	$33, %eax
	ja	LBB0_15
## %bb.1:
	leaq	(%r12,%rbx), %r15
	addq	$8, %r15
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	32(%r12,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_dvb_unregister_frontend
LBB0_4:
	movq	40(%r12,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_dvb_unregister_frontend
LBB0_6:
	movq	48(%r12,%rbx), %rax
	movq	(%rax), %rdi
	callq	_dvb_module_release
	movq	48(%r12,%rbx), %rax
	movq	$0, (%rax)
	movq	32(%r12,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_dvb_frontend_detach
LBB0_8:
	leaq	(%r12,%rbx), %r13
	addq	$32, %r13
	movq	40(%r12,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_dvb_frontend_detach
LBB0_10:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13)
LBB0_11:
	leaq	(%r12,%rbx), %rdi
	addq	$28, %rdi
	callq	_dvb_net_release
LBB0_12:
	leaq	(%r12,%rbx), %rsi
	addq	$24, %rsi
	movq	%r15, %rdi
	callq	*(%r15)
	leaq	(%r12,%rbx), %rsi
	addq	$20, %rsi
	movq	%r15, %rdi
	callq	*(%r15)
LBB0_13:
	leaq	(%r12,%rbx), %rdi
	addq	$16, %rdi
	callq	_dvb_dmxdev_release
LBB0_14:
	movq	%r15, %rdi
	callq	_dvb_dmx_release
LBB0_15:
	movl	$0, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_11
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_6
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_dvb_input_detach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvb_input_detach
_dvb_input_detach:                      ; @dvb_input_detach
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0, #8]
	ldr	x21, [x8]
	ldr	w8, [x0]
	and	x22, x8, #0x1
	mov	w8, #56
	madd	x20, x22, x8, x21
	mov	x19, x20
	ldr	w8, [x19], #8
	sub	w8, w8, #16
	cmp	w8, #33
	b.hi	LBB0_15
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w8, #56
	madd	x8, x22, x8, x21
	ldr	x0, [x8, #32]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_dvb_unregister_frontend
LBB0_4:
	mov	w8, #56
	madd	x8, x22, x8, x21
	ldr	x0, [x8, #40]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_dvb_unregister_frontend
LBB0_6:
	mov	w8, #56
	madd	x23, x22, x8, x21
	ldr	x8, [x23, #48]
	ldr	x0, [x8]
	bl	_dvb_module_release
	ldr	x8, [x23, #48]
	str	xzr, [x8]
	ldr	x0, [x23, #32]!
	cbz	x0, LBB0_8
; %bb.7:
	bl	_dvb_frontend_detach
LBB0_8:
	mov	w8, #56
	madd	x8, x22, x8, x21
	ldr	x0, [x8, #40]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_dvb_frontend_detach
LBB0_10:
	stp	xzr, xzr, [x23]
LBB0_11:
	mov	w8, #56
	madd	x8, x22, x8, x21
	add	x0, x8, #28
	bl	_dvb_net_release
LBB0_12:
	ldr	x8, [x19]
	mov	w9, #56
	madd	x23, x22, x9, x21
	add	x1, x23, #24
	mov	x0, x19
	blr	x8
	ldr	x8, [x19]
	add	x1, x23, #20
	mov	x0, x19
	blr	x8
LBB0_13:
	mov	w8, #56
	madd	x8, x22, x8, x21
	add	x0, x8, #16
	bl	_dvb_dmxdev_release
LBB0_14:
	mov	x0, x19
	bl	_dvb_dmx_release
LBB0_15:
	str	wzr, [x20]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_dvb_input_detach
.subsections_via_symbols
