	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvb_net_feed_stop
_dvb_net_feed_stop:                     ## @dvb_net_feed_stop
	.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	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r13
	leaq	12(%rax), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	(%r13), %rax
	movq	_DVB_NET_FEEDTYPE_MPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.1:
	movq	32(%r13), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.2:
	cmpq	$0, 16(%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	32(%r13), %rdi
	callq	*8(%rdi)
LBB0_4:
	cmpq	$0, 48(%r13)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	32(%r13), %rdi
	movq	48(%r13), %rsi
	callq	*(%rdi)
	movq	$0, 48(%r13)
LBB0_6:
	movl	8(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_16
## %bb.7:
	leaq	L_.str.2(%rip), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_16
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r13), %rcx
	cmpq	$0, (%rcx,%rbx,8)
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	32(%r13), %rdi
	movq	40(%r13), %rax
	movq	(%rax,%rbx,8), %rsi
	callq	*(%rdi)
	movq	40(%r13), %rax
	movq	$0, (%rax,%rbx,8)
	movl	8(%r13), %eax
	jmp	LBB0_8
LBB0_11:
	movq	_DVB_NET_FEEDTYPE_ULE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.12:
	movq	16(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.13:
	cmpq	$0, 8(%rsi)
	je	LBB0_15
## %bb.14:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movq	16(%r13), %rdi
	callq	*(%rdi)
	movq	16(%r13), %rsi
LBB0_15:
	movq	24(%r13), %rdi
	callq	*(%rdi)
	movq	$0, 16(%r13)
	jmp	LBB0_21
LBB0_16:
	movq	24(%r13), %rdi
	movq	32(%r13), %rsi
	callq	*8(%rdi)
	movq	$0, 32(%r13)
	jmp	LBB0_21
LBB0_17:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_22
LBB0_18:
	movl	(%r15), %esi
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_20
LBB0_19:
	movl	(%r15), %esi
	leaq	L_.str.5(%rip), %rdi
LBB0_20:
	callq	_pr_err
LBB0_21:
	xorl	%ebx, %ebx
LBB0_22:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DVB_NET_FEEDTYPE_MPE,8,3       ## @DVB_NET_FEEDTYPE_MPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stop secfeed\n"

L_.str.1:                               ## @.str.1
	.asciz	"release secfilter\n"

L_.str.2:                               ## @.str.2
	.asciz	"release multi_filter[%d]\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s: no feed to stop\n"

	.comm	_DVB_NET_FEEDTYPE_ULE,8,3       ## @DVB_NET_FEEDTYPE_ULE
L_.str.4:                               ## @.str.4
	.asciz	"stop tsfeed\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s: no ts feed to stop\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_dvb_net_feed_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvb_net_feed_stop
_dvb_net_feed_stop:                     ; @dvb_net_feed_stop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x0
	bl	_netdev_priv
	mov	x20, x0
	add	x19, x0, #12
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _DVB_NET_FEEDTYPE_MPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DVB_NET_FEEDTYPE_MPE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.1:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_18
; %bb.2:
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_netdev_dbg
	ldr	x0, [x20, #32]
	ldr	x8, [x0, #8]
	blr	x8
LBB0_4:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_6
; %bb.5:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_netdev_dbg
	ldr	x0, [x20, #32]
	ldr	x8, [x0]
	ldr	x1, [x20, #48]
	blr	x8
	str	xzr, [x20, #48]
LBB0_6:
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.7:
	mov	x23, #0
Lloh7:
	adrp	x22, l_.str.2@PAGE
Lloh8:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.ge	LBB0_16
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #40]
	ldr	x9, [x9, x23, lsl #3]
	cbz	x9, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x23, [sp]
	mov	x0, x21
	mov	x1, x22
	bl	_netdev_dbg
	ldp	x0, x8, [x20, #32]
	ldr	x9, [x0]
	lsl	x24, x23, #3
	ldr	x1, [x8, x24]
	blr	x9
	ldr	x8, [x20, #40]
	str	xzr, [x8, x24]
	ldr	w8, [x20, #8]
	b	LBB0_8
LBB0_11:
Lloh9:
	adrp	x9, _DVB_NET_FEEDTYPE_ULE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DVB_NET_FEEDTYPE_ULE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.12:
	ldr	x1, [x20, #16]
	cbz	x1, LBB0_19
; %bb.13:
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_15
; %bb.14:
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_netdev_dbg
	ldr	x0, [x20, #16]
	ldr	x8, [x0]
	blr	x8
	ldr	x1, [x20, #16]
LBB0_15:
	ldr	x0, [x20, #24]
	ldr	x8, [x0]
	blr	x8
	mov	w21, #0
	str	xzr, [x20, #16]
	b	LBB0_21
LBB0_16:
	ldp	x0, x1, [x20, #24]
	ldr	x8, [x0, #8]
	blr	x8
	mov	w21, #0
	str	xzr, [x20, #32]
	b	LBB0_21
LBB0_17:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_21
LBB0_18:
	ldr	w1, [x21]
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_20
LBB0_19:
	ldr	w1, [x21]
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_20:
	bl	_pr_err
	mov	w21, #0
LBB0_21:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_DVB_NET_FEEDTYPE_MPE,8,3       ; @DVB_NET_FEEDTYPE_MPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stop secfeed\n"

l_.str.1:                               ; @.str.1
	.asciz	"release secfilter\n"

l_.str.2:                               ; @.str.2
	.asciz	"release multi_filter[%d]\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s: no feed to stop\n"

	.comm	_DVB_NET_FEEDTYPE_ULE,8,3       ; @DVB_NET_FEEDTYPE_ULE
l_.str.4:                               ; @.str.4
	.asciz	"stop tsfeed\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s: no ts feed to stop\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_dvb_net_feed_stop
.subsections_via_symbols
