	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enic_poll_msix_wq
_enic_poll_msix_wq:                     ## @enic_poll_msix_wq
	.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
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%r15, %rax
	subq	32(%r12), %rax
	shrq	$3, %rax
	subl	(%r12), %eax
	movq	24(%r12), %rcx
	movq	_ENIC_WQ_NAPI_BUDGET@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r13d
	movl	(%rcx,%rax,4), %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_enic_cq_wq
	movl	%eax, %r14d
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_enic_msix_wq_intr
	movl	%eax, %ebx
	movl	%r14d, %edi
	shlq	$2, %rdi
	addq	16(%r12), %rdi
	movq	_enic_wq_service@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, %esi
	xorl	%ecx, %ecx
	callq	_vnic_cq_service
	movl	%eax, %r14d
	movl	%ebx, %ebx
	shlq	$2, %rbx
	movq	8(%r12), %rdi
	addq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_vnic_intr_return_credits
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%r14d, %r14d
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_napi_complete
	addq	8(%r12), %rbx
	movq	%rbx, %rdi
	callq	_vnic_intr_unmask
	xorl	%eax, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENIC_WQ_NAPI_BUDGET,4,2        ## @ENIC_WQ_NAPI_BUDGET
	.comm	_enic_wq_service,4,2            ## @enic_wq_service
	.no_dead_strip	_enic_poll_msix_wq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enic_poll_msix_wq
_enic_poll_msix_wq:                     ; @enic_poll_msix_wq
	.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	x20, x1
	mov	x19, x0
	ldr	x0, [x0]
	bl	_netdev_priv
	mov	x21, x0
	ldp	x9, x8, [x0, #24]
	sub	x8, x19, x8
	lsr	x8, x8, #3
	ldr	w10, [x0]
	sub	w8, w8, w10
Lloh0:
	adrp	x10, _ENIC_WQ_NAPI_BUDGET@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ENIC_WQ_NAPI_BUDGET@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x10]
	ldr	w22, [x9, w8, uxtw #2]
	mov	x1, x22
	bl	_enic_cq_wq
	mov	x24, x0
	mov	x0, x21
	mov	x1, x22
	bl	_enic_msix_wq_intr
	mov	x22, x0
	ldr	x8, [x21, #16]
	add	x0, x8, w24, uxtw #2
Lloh3:
	adrp	x8, _enic_wq_service@GOTPAGE
Lloh4:
	ldr	x8, [x8, _enic_wq_service@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x23
	mov	x3, #0
	bl	_vnic_cq_service
	mov	x23, x0
	ldr	x8, [x21, #8]
	add	x0, x8, w22, uxtw #2
	mov	x1, x23
	mov	w2, #0
	mov	w3, #1
	bl	_vnic_intr_return_credits
	cbnz	w23, LBB0_2
; %bb.1:
	mov	w20, w22
	mov	x0, x19
	bl	_napi_complete
	ldr	x8, [x21, #8]
	add	x0, x8, x20, lsl #2
	bl	_vnic_intr_unmask
	mov	w20, #0
LBB0_2:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENIC_WQ_NAPI_BUDGET,4,2        ; @ENIC_WQ_NAPI_BUDGET
	.comm	_enic_wq_service,4,2            ; @enic_wq_service
	.no_dead_strip	_enic_poll_msix_wq
.subsections_via_symbols
