	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cas_post_rxcs_ringN
_cas_post_rxcs_ringN:                   ## @cas_post_rxcs_ringN
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	32(%rsi), %rax
	movslq	%edx, %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rdx,8), %r13
	movq	(%rsi), %rax
	movq	8(%rsi), %rcx
	movl	(%rax,%rdx,4), %ebx
	movl	(%rcx,%rdx,4), %r12d
	movq	_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_REG_RX_COMP_HEAD@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	24(%rsi), %rdi
	callq	_readl
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str(%rip), %r8
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	%r12
	pushq	%rax
	callq	_netif_printk
	addq	$16, %rsp
	cmpl	%r12d, %ebx
	je	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rbx
	leaq	(,%rbx,4), %rdi
	addq	%r13, %rdi
	callq	_cas_rxc_init
	incl	%ebx
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_RX_COMP_ENTRY
	movl	%eax, %ebx
	cmpl	%r12d, %eax
	jne	LBB0_1
## %bb.2:
	movl	%r12d, %ebx
LBB0_3:
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%ebx, (%rax,%rcx,4)
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.5:
	movq	_CAS_FLAG_REG_PLUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%rdx)
	je	LBB0_8
## %bb.6:
	movq	24(%rdx), %r14
	movl	%r15d, %edi
	callq	_REG_PLUS_RX_COMPN_TAIL
	movq	%rax, %rsi
	addq	%r14, %rsi
	jmp	LBB0_7
LBB0_4:
	movq	_REG_RX_COMP_TAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	24(%rdx), %rsi
LBB0_7:
	movl	%ebx, %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_intr,4,2                       ## @intr
	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rxc[%d] interrupt, done: %d/%d\n"

	.comm	_REG_RX_COMP_HEAD,8,3           ## @REG_RX_COMP_HEAD
	.comm	_REG_RX_COMP_TAIL,8,3           ## @REG_RX_COMP_TAIL
	.comm	_CAS_FLAG_REG_PLUS,4,2          ## @CAS_FLAG_REG_PLUS
	.no_dead_strip	_cas_post_rxcs_ringN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cas_post_rxcs_ringN
_cas_post_rxcs_ringN:                   ; @cas_post_rxcs_ringN
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
	ldp	x9, x8, [x1, #24]
	ldr	x27, [x8, w2, sxtw #3]
	sxtw	x26, w19
	sbfiz	x8, x19, #2, #32
	ldp	x10, x11, [x1]
	ldr	w21, [x10, x8]
	ldr	w22, [x11, x8]
Lloh0:
	adrp	x8, _intr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _intr@GOTPAGEOFF]
Lloh2:
	adrp	x10, _KERN_DEBUG@GOTPAGE
Lloh3:
	ldr	x10, [x10, _KERN_DEBUG@GOTPAGEOFF]
Lloh4:
	ldr	w24, [x8]
Lloh5:
	ldr	w25, [x10]
Lloh6:
	adrp	x8, _REG_RX_COMP_HEAD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_RX_COMP_HEAD@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x0, x8, x9
	bl	_readl
	mov	x6, x0
Lloh9:
	adrp	x4, l_.str@PAGE
Lloh10:
	add	x4, x4, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x24
	mov	x2, x25
	mov	x3, x23
	mov	x5, x19
	mov	x7, x22
	bl	_netif_printk
	cmp	w21, w22
	b.eq	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x27, w21, sxtw #2
	bl	_cas_rxc_init
	add	w1, w21, #1
	mov	x0, x19
	bl	_RX_COMP_ENTRY
	mov	x21, x0
	cmp	w0, w22
	b.ne	LBB0_1
; %bb.2:
	mov	x21, x22
LBB0_3:
	ldr	x8, [x20]
	str	w21, [x8, x26, lsl #2]
	cbz	w19, LBB0_6
; %bb.4:
	ldr	w8, [x20, #16]
Lloh11:
	adrp	x9, _CAS_FLAG_REG_PLUS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CAS_FLAG_REG_PLUS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.5:
	ldr	x20, [x20, #24]
	mov	x0, x19
	bl	_REG_PLUS_RX_COMPN_TAIL
	add	x1, x0, x20
	b	LBB0_7
LBB0_6:
	ldr	x8, [x20, #24]
Lloh14:
	adrp	x9, _REG_RX_COMP_TAIL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _REG_RX_COMP_TAIL@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x1, x9, x8
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_writel
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_intr,4,2                       ; @intr
	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rxc[%d] interrupt, done: %d/%d\n"

	.comm	_REG_RX_COMP_HEAD,8,3           ; @REG_RX_COMP_HEAD
	.comm	_REG_RX_COMP_TAIL,8,3           ; @REG_RX_COMP_TAIL
	.comm	_CAS_FLAG_REG_PLUS,4,2          ; @CAS_FLAG_REG_PLUS
	.no_dead_strip	_cas_post_rxcs_ringN
.subsections_via_symbols
