	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxd2880_stop_feed
_cxd2880_stop_feed:                     ## @cxd2880_stop_feed
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	(%rax), %r14
	cmpl	$0, 8(%r14)
	je	LBB0_6
## %bb.7:
	movslq	(%r15), %rsi
	cmpq	$8192, %rsi                     ## imm = 0x2000
	jne	LBB0_12
## %bb.8:
	movq	(%r14), %rax
	testq	%rax, %rax
	jle	LBB0_9
## %bb.21:
	decq	%rax
	movq	%rax, (%r14)
	jmp	LBB0_22
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_27:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	32(%r14), %r12
	movq	_CXD2880_MAX_FILTER_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jle	LBB0_17
## %bb.13:
	movq	%r12, %rcx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%rbx
	addq	$16, %rcx
	cmpq	%rbx, %rax
	je	LBB0_20
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rcx)
	jne	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpq	$0, 8(%rcx)
	je	LBB0_19
## %bb.16:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rcx)
	leaq	L_.str.4(%rip), %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_pr_debug
	movl	(%r13), %eax
LBB0_17:
	movq	%r12, 32(%r14)
	cmpl	%eax, %ebx
	jne	LBB0_18
LBB0_20:
	movl	(%r15), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
	movl	$8192, %esi                     ## imm = 0x2000
LBB0_10:
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_11
LBB0_18:
	movq	(%r14), %rax
LBB0_22:
	leaq	32(%r14), %rsi
	xorl	%edx, %edx
	testq	%rax, %rax
	setg	%dl
	movq	%r14, %rdi
	callq	_cxd2880_update_pid_filter
	movl	%eax, %ebx
	movl	8(%r14), %eax
	decl	%eax
	movl	%eax, 8(%r14)
	jne	LBB0_26
## %bb.23:
	movl	24(%r14), %edi
	callq	_kthread_stop
	testl	%eax, %eax
	je	LBB0_25
## %bb.24:
	movl	%eax, %r15d
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_err
	movl	%r15d, %ebx
LBB0_25:
	movq	16(%r14), %rdi
	callq	_kfree
	movq	$0, 16(%r14)
	movl	8(%r14), %eax
LBB0_26:
	movslq	%eax, %rsi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid arg\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"feed->demux is NULL\n"

L_.str.2:                               ## @.str.2
	.asciz	"no feed is started\n"

L_.str.3:                               ## @.str.3
	.asciz	"PID %d not found.\n"

	.comm	_CXD2880_MAX_FILTER_SIZE,4,2    ## @CXD2880_MAX_FILTER_SIZE
L_.str.4:                               ## @.str.4
	.asciz	"removed PID %d from #%d\n"

L_.str.5:                               ## @.str.5
	.asciz	"PID %d not found\n"

L_.str.6:                               ## @.str.6
	.asciz	"'kthread_stop failed. (%d)\n"

L_.str.7:                               ## @.str.7
	.asciz	"stop feed ok.(count %d)\n"

	.no_dead_strip	_cxd2880_stop_feed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxd2880_stop_feed
_cxd2880_stop_feed:                     ; @cxd2880_stop_feed
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	x19, [x8]
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_8
; %bb.3:
	ldrsw	x1, [x20]
	cmp	w1, #2, lsl #12                 ; =8192
	b.ne	LBB0_9
; %bb.4:
	ldr	x8, [x19]
	cmp	x8, #0
	b.le	LBB0_15
; %bb.5:
	sub	x8, x8, #1
	str	x8, [x19]
	b	LBB0_22
LBB0_6:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_19
LBB0_7:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_8:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_19
LBB0_9:
	ldr	x21, [x19, #32]
Lloh6:
	adrp	x23, _CXD2880_MAX_FILTER_SIZE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _CXD2880_MAX_FILTER_SIZE@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.10:
	mov	x22, #0
	mov	x9, x21
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x22, x22, #1
	add	x9, x9, #16
	cmp	x8, x22
	b.eq	LBB0_18
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cmp	x10, x1
	b.ne	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x10, [x9, #8]
	cbz	x10, LBB0_11
; %bb.14:
	stp	xzr, xzr, [x9]
	str	x22, [sp]
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_debug
	ldr	w8, [x23]
	b	LBB0_17
LBB0_15:
	mov	w8, #8192
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_19
LBB0_16:
	mov	w22, #0
LBB0_17:
	str	x21, [x19, #32]
	cmp	w22, w8
	b.ne	LBB0_21
LBB0_18:
	ldr	w8, [x20]
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_19:
	bl	_pr_err
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_20:
	mov	x0, x20
	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
LBB0_21:
	ldr	x8, [x19]
LBB0_22:
	add	x1, x19, #32
	cmp	x8, #0
	cset	w2, gt
	mov	x0, x19
	bl	_cxd2880_update_pid_filter
	mov	x20, x0
	ldr	w8, [x19, #8]
	subs	w8, w8, #1
	str	w8, [x19, #8]
	b.ne	LBB0_26
; %bb.23:
	ldr	w0, [x19, #24]
	bl	_kthread_stop
	cbz	w0, LBB0_25
; %bb.24:
	mov	x21, x0
	str	x21, [sp]
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_err
	mov	x20, x21
LBB0_25:
	ldr	x0, [x19, #16]
	bl	_kfree
	str	xzr, [x19, #16]
	ldr	w8, [x19, #8]
LBB0_26:
	sxtw	x1, w8
Lloh19:
	adrp	x0, l_.str.7@PAGE
Lloh20:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pr_debug
	b	LBB0_20
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid arg\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"feed->demux is NULL\n"

l_.str.2:                               ; @.str.2
	.asciz	"no feed is started\n"

l_.str.3:                               ; @.str.3
	.asciz	"PID %d not found.\n"

	.comm	_CXD2880_MAX_FILTER_SIZE,4,2    ; @CXD2880_MAX_FILTER_SIZE
l_.str.4:                               ; @.str.4
	.asciz	"removed PID %d from #%d\n"

l_.str.5:                               ; @.str.5
	.asciz	"PID %d not found\n"

l_.str.6:                               ; @.str.6
	.asciz	"'kthread_stop failed. (%d)\n"

l_.str.7:                               ; @.str.7
	.asciz	"stop feed ok.(count %d)\n"

	.no_dead_strip	_cxd2880_stop_feed
.subsections_via_symbols
