	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nicvf_snd_pkt_handler
_nicvf_snd_pkt_handler:                 ## @nicvf_snd_pkt_handler
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	16(%rax), %rax
	movq	(%rax), %r15
	movq	(%rbx), %rax
	movq	8(%rbx), %rsi
	leaq	(%rax,%rax,2), %r12
	leaq	(%r15,%r12,8), %r13
	movq	%r13, %rdi
	callq	_GET_SQ_DESC
	movq	(%rax), %rdx
	movq	_SQ_DESC_TYPE_HEADER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_21
## %bb.1:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	cmpq	$0, 16(%rbx)
	movq	%rbx, %r13
	je	LBB0_3
## %bb.2:
	movq	8(%r14), %rdi
	movq	%rax, %rbx
	movq	%r13, %rsi
	callq	_nicvf_check_cqe_tx_errs
	movq	%rbx, %rax
LBB0_3:
	cmpq	$0, 16(%r15,%r12,8)
	je	LBB0_9
## %bb.4:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r15,%r12,8), %rdx
	movq	8(%r13), %rcx
	movq	(%rdx,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.5:
	movq	%r13, %r14
	movq	%rax, %r13
	leaq	(%r15,%r12,8), %r15
	addq	$8, %r15
	movq	%rbx, %rdi
	callq	_page_ref_count
	cmpl	$1, %eax
	jne	LBB0_7
## %bb.6:
	movq	8(%r14), %rdx
	movq	16(%r13), %rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_nicvf_unmap_sndq_buffers
LBB0_7:
	movq	%rbx, %rdi
	callq	_put_page
	movq	(%r15), %rdx
	movq	8(%r14), %rcx
	movq	%r13, %rax
LBB0_8:
	movq	$0, (%rdx,%rcx,8)
	movl	16(%rax), %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
LBB0_20:
	movl	(%rdx), %ecx
	addl	%ecx, %eax
	incl	%eax
	movl	%eax, (%rdx)
	jmp	LBB0_21
LBB0_9:
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rcx
	movq	8(%r13), %rdx
	movq	(%rcx,%rdx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.10:
	cmpq	$0, 24(%rax)
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.11:
	movq	%rax, %r12
	movq	8(%rax), %rsi
	movq	%r15, %rdi
	callq	_GET_SQ_DESC
	movq	%r14, %rdi
	movq	%r13, %r14
	movq	%rbx, %r13
	movq	%rax, %rbx
	movq	8(%r12), %rdx
	movq	16(%rax), %rcx
	movq	%r15, %rsi
	callq	_nicvf_unmap_sndq_buffers
	movl	16(%rbx), %eax
	movq	%r13, %rbx
	movq	%r14, %r13
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx), %ecx
	addl	%ecx, %eax
	incl	%eax
	jmp	LBB0_13
LBB0_18:
	cmpl	$0, (%r14)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_21
## %bb.19:
	movl	16(%rax), %eax
	jmp	LBB0_20
LBB0_12:
	movq	16(%rax), %rcx
	movq	%r14, %rdi
	movq	%rax, %r12
	movq	%r15, %rsi
	callq	_nicvf_unmap_sndq_buffers
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx), %eax
LBB0_13:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	16(%r12), %ecx
	addl	%ecx, %eax
	incl	%eax
	movl	%eax, (%rdx)
	movq	%rbx, %rdi
	callq	_prefetch
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	movl	(%rbx), %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, (%rcx)
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movq	_SKBTX_IN_PROGRESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_16
## %bb.14:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
LBB0_16:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_napi_consume_skb
	jmp	LBB0_17
LBB0_15:
	movq	%rbx, (%rax)
LBB0_17:
	movq	(%r15), %rax
	movq	8(%r13), %rcx
	movq	$0, (%rax,%rcx,8)
LBB0_21:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQ_DESC_TYPE_HEADER,8,3        ## @SQ_DESC_TYPE_HEADER
	.comm	_SKBTX_IN_PROGRESS,4,2          ## @SKBTX_IN_PROGRESS
	.no_dead_strip	_nicvf_snd_pkt_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nicvf_snd_pkt_handler
_nicvf_snd_pkt_handler:                 ; @nicvf_snd_pkt_handler
	.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	x25, x5
	mov	x26, x4
	mov	x20, x3
	mov	x24, x2
	mov	x19, x1
	bl	_netdev_priv
	mov	x22, x0
	ldr	x8, [x0, #16]
	ldr	x27, [x8]
	mov	w8, #24
	ldp	x28, x1, [x19]
	madd	x21, x28, x8, x27
	mov	x0, x21
	bl	_GET_SQ_DESC
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SQ_DESC_TYPE_HEADER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SQ_DESC_TYPE_HEADER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.1:
	mov	x23, x0
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x0, [x22, #8]
	mov	x1, x19
	bl	_nicvf_check_cqe_tx_errs
LBB0_3:
	mov	w8, #24
	madd	x8, x28, x8, x27
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_10
; %bb.4:
	mov	w8, #24
	madd	x25, x28, x8, x27
	ldr	x8, [x25, #8]!
	ldr	x9, [x19, #8]
	ldr	x24, [x8, x9, lsl #3]
	cbz	x24, LBB0_8
; %bb.5:
	mov	x0, x24
	bl	_page_ref_count
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.6:
	ldr	x2, [x19, #8]
	ldr	x3, [x23, #16]
	mov	x0, x22
	mov	x1, x21
	bl	_nicvf_unmap_sndq_buffers
LBB0_7:
	mov	x0, x24
	bl	_put_page
	ldr	x8, [x25]
	ldr	x9, [x19, #8]
LBB0_8:
	str	xzr, [x8, x9, lsl #3]
LBB0_9:
	ldr	w8, [x23, #16]
	ldr	w9, [x20]
	add	w8, w8, w9
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_20
LBB0_10:
	ldr	x8, [x21]
	ldr	x2, [x19, #8]
	ldr	x27, [x8, x2, lsl #3]
	cbz	x27, LBB0_13
; %bb.11:
	ldr	x8, [x23, #24]
	cbz	x8, LBB0_14
; %bb.12:
	ldr	x1, [x23, #8]
	mov	x0, x21
	bl	_GET_SQ_DESC
	mov	x28, x0
	ldr	x2, [x23, #8]
	ldr	x3, [x0, #16]
	mov	x0, x22
	mov	x1, x21
	bl	_nicvf_unmap_sndq_buffers
	ldr	w8, [x28, #16]
	ldr	w9, [x20]
	add	w8, w8, w9
	add	w8, w8, #1
	b	LBB0_15
LBB0_13:
	ldr	w8, [x22]
	cbnz	w8, LBB0_20
	b	LBB0_9
LBB0_14:
	ldr	x3, [x23, #16]
	mov	x0, x22
	mov	x1, x21
	bl	_nicvf_unmap_sndq_buffers
	ldr	w8, [x20]
LBB0_15:
	ldr	w9, [x23, #16]
	add	w8, w9, w8
	add	w8, w8, #1
	str	w8, [x20]
	mov	x0, x27
	bl	_prefetch
	ldr	w8, [x26]
	add	w8, w8, #1
	str	w8, [x26]
	ldr	w8, [x27]
	ldr	w9, [x25]
	add	w8, w9, w8
	str	w8, [x25]
	mov	x0, x27
	bl	_skb_shinfo
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _SKBTX_IN_PROGRESS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SKBTX_IN_PROGRESS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.16:
	ldr	x8, [x22, #8]
	ldr	x9, [x8]
	cbz	x9, LBB0_18
LBB0_17:
	mov	x0, x27
	mov	x1, x24
	bl	_napi_consume_skb
	b	LBB0_19
LBB0_18:
	str	x27, [x8]
LBB0_19:
	ldr	x8, [x21]
	ldr	x9, [x19, #8]
	str	xzr, [x8, x9, lsl #3]
LBB0_20:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SQ_DESC_TYPE_HEADER,8,3        ; @SQ_DESC_TYPE_HEADER
	.comm	_SKBTX_IN_PROGRESS,4,2          ; @SKBTX_IN_PROGRESS
	.no_dead_strip	_nicvf_snd_pkt_handler
.subsections_via_symbols
