	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ehea_proc_rwqes
_ehea_proc_rwqes:                       ## @ehea_proc_rwqes
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	72(%rsi), %r15
	movq	64(%rsi), %rdi
	movq	56(%rsi), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	40(%rsi), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	24(%rsi), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	48(%rsi), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	32(%rsi), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	16(%rsi), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	$0, -52(%rbp)
	movl	$0, -56(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	callq	_ehea_poll_rq1
	movq	%rax, %r12
	xorl	%r13d, %r13d
	movl	$0, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_1
## %bb.2:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testq	%r12, %r12
	je	LBB0_32
## %bb.3:
	leaq	12(%r14), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	$1, %eax
	xorl	%ecx, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %r13d
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_ehea_inc_rq1
	movq	%r15, %rdi
	callq	_netif_msg_rx_status
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	$16, %esi
	leaq	L_.str(%rip), %rdx
	callq	_ehea_dump
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-48(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_rmb
	movq	%r12, %rdi
	leaq	-72(%rbp), %rsi
	callq	_ehea_check_cqe
	testl	%eax, %eax
	je	LBB0_7
## %bb.29:                              ##   in Loop: Header=BB0_4 Depth=1
	incl	8(%r14)
	movl	-72(%rbp), %esi
	movq	%r14, %rdi
	movq	%r12, %rdx
	leaq	-56(%rbp), %rcx
	leaq	-52(%rbp), %r8
	callq	_ehea_treat_poll_error
	testl	%eax, %eax
	je	LBB0_30
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-72(%rbp), %eax
	cmpl	$2, %eax
	je	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$1, %eax
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_20
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-48(%rbp), %edx
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	callq	_get_skb_by_index_ll
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_msg_rx_err
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_ehea_info
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_EHEA_L_PKT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_netdev_alloc_skb
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	64(%r12), %rsi
	movq	8(%r12), %rdx
	addq	$-4, %rdx
	movq	%r15, %rdi
	callq	_skb_copy_to_linear_data
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_ehea_fill_skb
	jmp	LBB0_24
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	movl	-88(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	callq	_get_skb_by_index
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	jne	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_ehea_fill_skb
	incl	-56(%rbp)
	jmp	LBB0_24
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	callq	_get_skb_by_index
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_ehea_fill_skb
	incl	-52(%rbp)
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_EHEA_CQE_VLAN_TAG_XTRACT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r12), %edx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rcx
	callq	_vlan_gro_receive
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_napi_gro_receive
LBB0_28:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
LBB0_30:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	leaq	-48(%rbp), %rsi
	callq	_ehea_poll_rq1
	cmpl	%ebx, %r13d
	jge	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r12
	leal	1(%r13), %eax
	testq	%r12, %r12
	jne	LBB0_4
	jmp	LBB0_32
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_32:
	addl	%r13d, (%r14)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, 4(%r14)
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	callq	_ehea_refill_rq1
	movl	-56(%rbp), %esi
	movq	%r14, %rdi
	callq	_ehea_refill_rq2
	movl	-52(%rbp), %esi
	movq	%r14, %rdi
	callq	_ehea_refill_rq3
	movl	%r13d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_msg_rx_err
	testq	%rax, %rax
	je	LBB0_32
## %bb.17:
	leaq	L_.str.3(%rip), %rdi
	callq	_ehea_error
	jmp	LBB0_32
LBB0_21:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_msg_rx_err
	testq	%rax, %rax
	je	LBB0_32
## %bb.22:
	leaq	L_.str.4(%rip), %rdi
	callq	_ehea_error
	jmp	LBB0_32
LBB0_13:
	leaq	L_.str.2(%rip), %rdi
	callq	_ehea_error
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CQE"

L_.str.1:                               ## @.str.1
	.asciz	"LL rq1: skb=NULL"

	.comm	_EHEA_L_PKT_SIZE,4,2            ## @EHEA_L_PKT_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"Not enough memory to allocate skb\n"

L_.str.3:                               ## @.str.3
	.asciz	"rq2: skb=NULL"

L_.str.4:                               ## @.str.4
	.asciz	"rq3: skb=NULL"

	.comm	_EHEA_CQE_VLAN_TAG_XTRACT,4,2   ## @EHEA_CQE_VLAN_TAG_XTRACT
	.no_dead_strip	_ehea_proc_rwqes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ehea_proc_rwqes
_ehea_proc_rwqes:                       ; @ehea_proc_rwqes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x22, x2
	mov	x19, x1
	mov	x23, x0
	ldp	x24, x21, [x1, #64]
	ldr	x9, [x1, #56]
	ldr	x8, [x1, #40]
	stp	x8, x9, [sp, #24]               ; 16-byte Folded Spill
	ldr	x8, [x1, #24]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	w9, [x1, #48]
	ldr	w8, [x1, #32]
	stp	w8, w9, [sp, #8]                ; 8-byte Folded Spill
	ldr	w8, [x1, #16]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	str	xzr, [sp, #56]
	add	x1, sp, #52
	mov	x0, x24
	bl	_ehea_poll_rq1
	mov	w20, #0
	mov	x28, #0
	cmp	w22, #1
	b.lt	LBB0_24
; %bb.1:
	mov	x25, x0
	mov	x26, x20
	cbz	x0, LBB0_25
; %bb.2:
	mov	x28, #0
	add	x8, x19, #12
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	mov	w8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x8
	mov	x0, x24
	bl	_ehea_inc_rq1
	mov	x0, x21
	bl	_netif_msg_rx_status
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	mov	w1, #16
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	bl	_ehea_dump
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w26, [sp, #52]
	bl	_rmb
	add	x1, sp, #48
	mov	x0, x25
	bl	_ehea_check_cqe
	cbz	w0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	ldr	w1, [sp, #48]
	add	x3, sp, #60
	add	x4, sp, #56
	mov	x0, x19
	mov	x2, x25
	bl	_ehea_treat_poll_error
	cbz	w0, LBB0_22
	b	LBB0_25
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #48]
	cmp	w8, #2
	b.eq	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #1
	b.ne	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [sp, #52]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_get_skb_by_index_ll
	mov	x27, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_netif_msg_rx_err
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ehea_info
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh4:
	adrp	x8, _EHEA_L_PKT_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EHEA_L_PKT_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_netdev_alloc_skb
	mov	x27, x0
	cbz	x0, LBB0_30
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x25, #64
	ldr	x8, [x25, #8]
	sub	x2, x8, #4
	mov	x0, x27
	bl	_skb_copy_to_linear_data
	mov	x0, x23
	mov	x1, x27
	mov	x2, x25
	mov	x3, x19
	bl	_ehea_fill_skb
	b	LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #8]                    ; 4-byte Folded Reload
	mov	x2, x25
	bl	_get_skb_by_index
	mov	x27, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_26
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x27
	mov	x2, x25
	mov	x3, x19
	bl	_ehea_fill_skb
	ldr	w8, [sp, #60]
	add	w8, w8, #1
	str	w8, [sp, #60]
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #4]                    ; 4-byte Folded Reload
	mov	x2, x25
	bl	_get_skb_by_index
	mov	x27, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_28
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x27
	mov	x2, x25
	mov	x3, x19
	bl	_ehea_fill_skb
	ldr	w8, [sp, #56]
	add	w8, w8, #1
	str	w8, [sp, #56]
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27]
	add	x28, x8, x28
	ldr	w8, [x25]
Lloh7:
	adrp	x9, _EHEA_CQE_VLAN_TAG_XTRACT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _EHEA_CQE_VLAN_TAG_XTRACT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x21]
	cbz	x1, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x25, #4]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x3, x27
	bl	_vlan_gro_receive
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, x27
	bl	_napi_gro_receive
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #52
	mov	x0, x24
	bl	_ehea_poll_rq1
	cmp	w20, w22
	b.ge	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x0
	add	w8, w20, #1
	cbnz	x0, LBB0_3
	b	LBB0_25
LBB0_24:
	mov	x26, x20
LBB0_25:
	ldp	w8, w9, [x19]
	add	w8, w8, w20
	add	w9, w9, w28
	stp	w8, w9, [x19]
	mov	x0, x19
	mov	x1, x26
	mov	x2, x20
	bl	_ehea_refill_rq1
	ldr	w1, [sp, #60]
	mov	x0, x19
	bl	_ehea_refill_rq2
	ldr	w1, [sp, #56]
	mov	x0, x19
	bl	_ehea_refill_rq3
	mov	x0, x20
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_26:
	mov	x0, x21
	bl	_netif_msg_rx_err
	cbz	x0, LBB0_25
; %bb.27:
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_ehea_error
	b	LBB0_25
LBB0_28:
	mov	x0, x21
	bl	_netif_msg_rx_err
	cbz	x0, LBB0_25
; %bb.29:
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_ehea_error
	b	LBB0_25
LBB0_30:
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_ehea_error
	b	LBB0_25
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CQE"

l_.str.1:                               ; @.str.1
	.asciz	"LL rq1: skb=NULL"

	.comm	_EHEA_L_PKT_SIZE,4,2            ; @EHEA_L_PKT_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"Not enough memory to allocate skb\n"

l_.str.3:                               ; @.str.3
	.asciz	"rq2: skb=NULL"

l_.str.4:                               ; @.str.4
	.asciz	"rq3: skb=NULL"

	.comm	_EHEA_CQE_VLAN_TAG_XTRACT,4,2   ; @EHEA_CQE_VLAN_TAG_XTRACT
	.no_dead_strip	_ehea_proc_rwqes
.subsections_via_symbols
