	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxd2880_start_feed
_cxd2880_start_feed:                    ## @cxd2880_start_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	(%rax), %r14
	movq	_CXD2880_MAX_FILTER_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	cmpl	%eax, (%r14)
	jne	LBB0_6
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_err
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_17
LBB0_4:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_17
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_17
LBB0_6:
	movslq	(%rdi), %rsi
	cmpq	$8192, %rsi                     ## imm = 0x2000
	jne	LBB0_9
## %bb.7:
	movq	8(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
LBB0_8:
	incq	%rsi
	movq	%rsi, 8(%r14)
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	jmp	LBB0_22
LBB0_9:
	movq	24(%r14), %r15
	movq	%r15, -40(%rbp)
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jle	LBB0_15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r15,%rbx,8)
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_10
	jmp	LBB0_16
LBB0_12:
	leaq	24(%r14), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_cxd2880_update_pid_filter
	testl	%eax, %eax
	je	LBB0_27
## %bb.13:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_19
LBB0_14:
	movl	$1, (%r15,%rbx,8)
	movl	%esi, 4(%r15,%rbx,8)
	leaq	L_.str.6(%rip), %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_pr_debug
	movl	(%r12), %eax
LBB0_15:
	cmpl	%eax, %ebx
	jne	LBB0_20
LBB0_16:
	leaq	L_.str.7(%rip), %rdi
LBB0_17:
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_18:
	subl	(%rax), %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	cmpq	$0, 8(%r14)
	je	LBB0_29
LBB0_21:
	movq	%r15, 24(%r14)
LBB0_22:
	movl	(%r14), %eax
	testl	%eax, %eax
	je	LBB0_24
LBB0_23:
	incl	%eax
	movl	%eax, (%r14)
	movslq	%eax, %rsi
	leaq	L_.str.11(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_debug
	jmp	LBB0_19
LBB0_24:
	movq	_MAX_TRANS_PKT@GOTPCREL(%rip), %rax
	imull	$188, (%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movq	_GFP_DMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, 32(%r14)
	testq	%rax, %rax
	je	LBB0_28
## %bb.25:
	movq	_cxd2880_ts_read@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rdx
	movq	%r14, %rsi
	callq	_kthread_run
	movl	%eax, 16(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_31
## %bb.26:
	leaq	L_.str.10(%rip), %rdi
	callq	_pr_err
	movq	32(%r14), %rdi
	callq	_kfree
	movq	$0, 32(%r14)
	leaq	24(%r14), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	$0, 8(%r14)
	movl	16(%r14), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_19
LBB0_27:
	movq	8(%r14), %rsi
	jmp	LBB0_8
LBB0_28:
	leaq	L_.str.8(%rip), %rdi
	callq	_pr_err
	leaq	24(%r14), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	$0, 8(%r14)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_29:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_cxd2880_update_pid_filter
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_19
## %bb.30:
	movq	-40(%rbp), %r15
	jmp	LBB0_21
LBB0_31:
	movl	(%r14), %eax
	jmp	LBB0_23
	.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"

	.comm	_CXD2880_MAX_FILTER_SIZE,4,2    ## @CXD2880_MAX_FILTER_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"Exceeded maximum PID count (32)."

L_.str.3:                               ## @.str.3
	.asciz	"Selected PID cannot be enabled.\n"

L_.str.4:                               ## @.str.4
	.asciz	"update pid filter failed\n"

L_.str.5:                               ## @.str.5
	.asciz	"all PID feed (count = %d)\n"

L_.str.6:                               ## @.str.6
	.asciz	"store PID %d to #%d\n"

L_.str.7:                               ## @.str.7
	.asciz	"PID filter is full.\n"

	.comm	_MAX_TRANS_PKT,4,2              ## @MAX_TRANS_PKT
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_GFP_DMA,4,2                    ## @GFP_DMA
L_.str.8:                               ## @.str.8
	.asciz	"ts buffer allocate failed\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_cxd2880_ts_read,4,2            ## @cxd2880_ts_read
L_.str.9:                               ## @.str.9
	.asciz	"cxd2880_ts_read"

L_.str.10:                              ## @.str.10
	.asciz	"kthread_run failed/\n"

L_.str.11:                              ## @.str.11
	.asciz	"start feed (count %d)\n"

	.no_dead_strip	_cxd2880_start_feed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxd2880_start_feed
_cxd2880_start_feed:                    ; @cxd2880_start_feed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x19, [x8]
	ldr	w9, [x19]
Lloh0:
	adrp	x21, _CXD2880_MAX_FILTER_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CXD2880_MAX_FILTER_SIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w9, w8
	b.ne	LBB0_6
; %bb.3:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_17
LBB0_4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_17
LBB0_5:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_17
LBB0_6:
	ldr	w9, [x0]
	cmp	w9, #2, lsl #12                 ; =8192
	b.ne	LBB0_9
; %bb.7:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_13
LBB0_8:
	add	x1, x8, #1
	str	x1, [x19, #8]
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_debug
	ldr	w8, [x19]
	cbnz	w8, LBB0_31
	b	LBB0_23
LBB0_9:
	ldr	x20, [x19, #24]
	str	x20, [sp, #8]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.10:
	mov	x22, #0
	sxtw	x1, w9
	mov	x10, x20
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	cbz	w11, LBB0_20
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x22, x22, #1
	add	x10, x10, #8
	cmp	x8, x22
	b.ne	LBB0_11
	b	LBB0_16
LBB0_13:
	add	x1, x19, #24
	mov	x0, x19
	mov	w2, #1
	bl	_cxd2880_update_pid_filter
	cbz	w0, LBB0_26
; %bb.14:
	mov	x20, x0
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_err
	b	LBB0_19
LBB0_15:
	mov	w22, #0
	cmp	w22, w8
	b.ne	LBB0_21
LBB0_16:
Lloh14:
	adrp	x0, l_.str.7@PAGE
Lloh15:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_17:
	bl	_pr_err
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_19:
	mov	x0, 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
	add	sp, sp, #64
	ret
LBB0_20:
	mov	w8, #1
	stp	w8, w9, [x10]
	str	x22, [sp]
Lloh18:
	adrp	x0, l_.str.6@PAGE
Lloh19:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_debug
	ldr	w8, [x21]
	cmp	w22, w8
	b.eq	LBB0_16
LBB0_21:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_28
LBB0_22:
	str	x20, [x19, #24]
	ldr	w8, [x19]
	cbnz	w8, LBB0_31
LBB0_23:
Lloh20:
	adrp	x8, _MAX_TRANS_PKT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MAX_TRANS_PKT@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	mov	w9, #188
Lloh23:
	adrp	x10, _GFP_KERNEL@GOTPAGE
Lloh24:
	ldr	x10, [x10, _GFP_KERNEL@GOTPAGEOFF]
	mul	w0, w8, w9
Lloh25:
	ldr	w8, [x10]
Lloh26:
	adrp	x9, _GFP_DMA@GOTPAGE
Lloh27:
	ldr	x9, [x9, _GFP_DMA@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_kmalloc
	str	x0, [x19, #32]
	cbz	x0, LBB0_27
; %bb.24:
Lloh29:
	adrp	x8, _cxd2880_ts_read@GOTPAGE
Lloh30:
	ldr	x8, [x8, _cxd2880_ts_read@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x2, l_.str.9@PAGE
Lloh33:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x1, x19
	bl	_kthread_run
	str	w0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_30
; %bb.25:
Lloh34:
	adrp	x0, l_.str.10@PAGE
Lloh35:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_pr_err
	ldr	x0, [x19, #32]
	bl	_kfree
	str	xzr, [x19, #32]
	add	x0, x19, #24
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	str	xzr, [x19, #8]
	ldr	w0, [x19, #16]
	bl	_PTR_ERR
	mov	x20, x0
	b	LBB0_19
LBB0_26:
	ldr	x8, [x19, #8]
	b	LBB0_8
LBB0_27:
Lloh36:
	adrp	x0, l_.str.8@PAGE
Lloh37:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_pr_err
	add	x0, x19, #24
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	str	xzr, [x19, #8]
Lloh38:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_18
LBB0_28:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #0
	bl	_cxd2880_update_pid_filter
	mov	x20, x0
	cbnz	w0, LBB0_19
; %bb.29:
	ldr	x20, [sp, #8]
	b	LBB0_22
LBB0_30:
	ldr	w8, [x19]
LBB0_31:
	add	w8, w8, #1
	str	w8, [x19]
	sxtw	x1, w8
Lloh40:
	adrp	x0, l_.str.11@PAGE
Lloh41:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_pr_debug
	mov	w20, #0
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh40, Lloh41
	.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"

	.comm	_CXD2880_MAX_FILTER_SIZE,4,2    ; @CXD2880_MAX_FILTER_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"Exceeded maximum PID count (32)."

l_.str.3:                               ; @.str.3
	.asciz	"Selected PID cannot be enabled.\n"

l_.str.4:                               ; @.str.4
	.asciz	"update pid filter failed\n"

l_.str.5:                               ; @.str.5
	.asciz	"all PID feed (count = %d)\n"

l_.str.6:                               ; @.str.6
	.asciz	"store PID %d to #%d\n"

l_.str.7:                               ; @.str.7
	.asciz	"PID filter is full.\n"

	.comm	_MAX_TRANS_PKT,4,2              ; @MAX_TRANS_PKT
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_GFP_DMA,4,2                    ; @GFP_DMA
l_.str.8:                               ; @.str.8
	.asciz	"ts buffer allocate failed\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_cxd2880_ts_read,4,2            ; @cxd2880_ts_read
l_.str.9:                               ; @.str.9
	.asciz	"cxd2880_ts_read"

l_.str.10:                              ; @.str.10
	.asciz	"kthread_run failed/\n"

l_.str.11:                              ; @.str.11
	.asciz	"start feed (count %d)\n"

	.no_dead_strip	_cxd2880_start_feed
.subsections_via_symbols
