	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ionic_rx_napi                  ## -- Begin function ionic_rx_napi
	.p2align	4, 0x90
_ionic_rx_napi:                         ## @ionic_rx_napi
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, %r12
	callq	_napi_to_qcq
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_napi_to_cq
	movq	%rax, %r15
	movq	8(%rax), %rax
	movl	(%rax), %ecx
	movq	8(%rax), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdx,%rcx,8), %rdi
	callq	_ionic_tx_flush
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_ionic_rx_walk_cq
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	8(%r15), %rdi
	callq	_ionic_rx_fill_cb
LBB0_2:
	xorl	%r14d, %r14d
	cmpl	%r13d, %ebx
	jge	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_napi_complete_done
	testq	%rax, %rax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_6
## %bb.5:
	movq	_IONIC_INTR_CRED_UNMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	(%r15), %rdi
	callq	_DEBUG_STATS_INTR_REARM
	jmp	LBB0_6
LBB0_3:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_6:
	movl	%ebx, %eax
	orl	%r14d, %eax
	je	LBB0_8
## %bb.7:
	movq	_IONIC_INTR_CRED_RESET_COALESCE@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	(%r15), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	callq	_ionic_intr_credits
LBB0_8:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_DEBUG_STATS_NAPI_POLL
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IONIC_INTR_CRED_UNMASK,4,2     ## @IONIC_INTR_CRED_UNMASK
	.comm	_IONIC_INTR_CRED_RESET_COALESCE,4,2 ## @IONIC_INTR_CRED_RESET_COALESCE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ionic_rx_napi                  ; -- Begin function ionic_rx_napi
	.p2align	2
_ionic_rx_napi:                         ; @ionic_rx_napi
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x1
	mov	x22, x0
	bl	_napi_to_qcq
	mov	x19, x0
	mov	x0, x22
	bl	_napi_to_cq
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	w9, [x8]
	ldr	x8, [x8, #8]
	ldp	x8, x24, [x8]
	ldr	x0, [x8, x9, lsl #3]
	bl	_ionic_tx_flush
	mov	x0, x20
	mov	x1, x23
	bl	_ionic_rx_walk_cq
	mov	x21, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x0, [x20, #8]
	bl	_ionic_rx_fill_cb
LBB0_2:
	cmp	w21, w23
	b.ge	LBB0_5
; %bb.3:
	mov	x0, x22
	mov	x1, x21
	bl	_napi_complete_done
	cbz	x0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _IONIC_INTR_CRED_UNMASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IONIC_INTR_CRED_UNMASK@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	ldr	x0, [x20]
	bl	_DEBUG_STATS_INTR_REARM
	orr	w8, w21, w22
	cbnz	w8, LBB0_6
	b	LBB0_7
LBB0_5:
	mov	w22, #0
	orr	w8, w21, w22
	cbz	w8, LBB0_7
LBB0_6:
Lloh3:
	adrp	x8, _IONIC_INTR_CRED_RESET_COALESCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IONIC_INTR_CRED_RESET_COALESCE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w3, w8, w22
	ldr	w0, [x24]
	ldr	x8, [x20]
	ldr	w1, [x8]
	mov	x2, x21
	bl	_ionic_intr_credits
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	bl	_DEBUG_STATS_NAPI_POLL
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IONIC_INTR_CRED_UNMASK,4,2     ; @IONIC_INTR_CRED_UNMASK
	.comm	_IONIC_INTR_CRED_RESET_COALESCE,4,2 ; @IONIC_INTR_CRED_RESET_COALESCE
.subsections_via_symbols
