	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_xmit_zc
_i40e_xmit_zc:                          ## @i40e_xmit_zc
	.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
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r12
	movl	$1, %r13d
	subl	%esi, %r13d
	xorl	%r14d, %r14d
	leaq	-48(%rbp), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_I40E_DESC_UNUSED
	movl	%eax, %edi
	callq	_unlikely
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r12), %edi
	movq	%r15, %rsi
	callq	_xsk_umem_consume_tx
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r12), %edi
	movl	-44(%rbp), %esi
	callq	_xdp_umem_get_dma
	movl	%eax, %ebx
	movl	32(%r12), %edi
	movl	-48(%rbp), %edx
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %esi
	callq	_dma_sync_single_for_device
	movq	(%r12), %rsi
	movq	24(%r12), %rax
	movl	-48(%rbp), %ecx
	movl	%ecx, (%rax,%rsi,4)
	movq	%r12, %rdi
	callq	_I40E_TX_DESC
	movq	%rax, %r14
	movl	%ebx, %edi
	callq	_cpu_to_le64
	movl	%eax, 4(%r14)
	movq	_I40E_TX_DESC_CMD_EOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_I40E_TX_DESC_CMD_ICRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movl	-48(%rbp), %edx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_build_ctob
	movl	%eax, (%r14)
	movq	(%r12), %rax
	incq	%rax
	cmpq	8(%r12), %rax
	movl	$0, %ecx
	cmovneq	%rax, %rcx
	movq	%rcx, (%r12)
	incl	%r13d
	cmpl	$1, %r13d
	jne	LBB0_3
## %bb.8:
	movl	$-1, %r13d
	movb	$1, %bl
	jmp	LBB0_9
LBB0_1:
	movl	$-1, %r13d
	movb	$1, %bl
	jmp	LBB0_10
LBB0_4:
	incl	36(%r12)
LBB0_5:
	testl	%ebx, %ebx
	setne	%bl
	negl	%r13d
	testq	%r14, %r14
	je	LBB0_10
LBB0_9:
	movq	_I40E_TX_DESC_CMD_RS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_I40E_TXD_QW1_CMD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, (%r14)
	movq	%r12, %rdi
	callq	_i40e_xdp_ring_update_tail
	movl	16(%r12), %edi
	callq	_xsk_umem_consume_tx_done
LBB0_10:
	testl	%r13d, %r13d
	setne	%al
	andb	%bl, %al
	movzbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.comm	_I40E_TX_DESC_CMD_ICRC,4,2      ## @I40E_TX_DESC_CMD_ICRC
	.comm	_I40E_TX_DESC_CMD_EOP,4,2       ## @I40E_TX_DESC_CMD_EOP
	.comm	_I40E_TX_DESC_CMD_RS,4,2        ## @I40E_TX_DESC_CMD_RS
	.comm	_I40E_TXD_QW1_CMD_SHIFT,4,2     ## @I40E_TXD_QW1_CMD_SHIFT
	.no_dead_strip	_i40e_xmit_zc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_xmit_zc
_i40e_xmit_zc:                          ; @i40e_xmit_zc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	w21, #1
	cbz	w1, LBB0_6
; %bb.1:
	mov	x19, x0
	mov	x20, #0
	sub	w22, w21, w1
Lloh0:
	adrp	x23, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
Lloh2:
	adrp	x24, _I40E_TX_DESC_CMD_ICRC@GOTPAGE
Lloh3:
	ldr	x24, [x24, _I40E_TX_DESC_CMD_ICRC@GOTPAGEOFF]
Lloh4:
	adrp	x25, _I40E_TX_DESC_CMD_EOP@GOTPAGE
Lloh5:
	ldr	x25, [x25, _I40E_TX_DESC_CMD_EOP@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_I40E_DESC_UNUSED
	bl	_unlikely
	mov	x21, x0
	cbz	w0, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19, #16]
	add	x1, sp, #8
	bl	_xsk_umem_consume_tx
	cbz	w0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19, #16]
	ldr	w1, [sp, #12]
	bl	_xdp_umem_get_dma
	mov	x21, x0
	ldr	w0, [x19, #32]
	ldr	w2, [sp, #8]
	ldr	w3, [x23]
	mov	x1, x21
	bl	_dma_sync_single_for_device
	ldr	x8, [x19, #24]
	ldr	x1, [x19]
	ldr	w9, [sp, #8]
	str	w9, [x8, x1, lsl #2]
	mov	x0, x19
	bl	_I40E_TX_DESC
	mov	x20, x0
	mov	x0, x21
	bl	_cpu_to_le64
	str	w0, [x20, #4]
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w0, w9, w8
	ldr	w2, [sp, #8]
	mov	w1, #0
	mov	w3, #0
	bl	_build_ctob
	str	w0, [x20]
	ldp	x8, x9, [x19]
	add	x10, x8, #1
	cmp	x10, x9
	csinc	x8, xzr, x8, eq
	str	x8, [x19]
	add	w22, w22, #1
	cmp	w22, #1
	b.ne	LBB0_2
; %bb.5:
	mov	w22, #-1
	mov	w21, #1
	b	LBB0_9
LBB0_6:
	mov	w22, #-1
	b	LBB0_10
LBB0_7:
	ldr	w8, [x19, #36]
	add	w8, w8, #1
	str	w8, [x19, #36]
LBB0_8:
	cmp	w21, #0
	cset	w21, ne
	neg	w22, w22
	cbz	x20, LBB0_10
LBB0_9:
Lloh6:
	adrp	x8, _I40E_TX_DESC_CMD_RS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_TX_DESC_CMD_RS@GOTPAGEOFF]
Lloh8:
	adrp	x9, _I40E_TXD_QW1_CMD_SHIFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _I40E_TXD_QW1_CMD_SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	mov	x0, x19
	bl	_i40e_xdp_ring_update_tail
	ldr	w0, [x19, #16]
	bl	_xsk_umem_consume_tx_done
LBB0_10:
	cmp	w22, #0
	cset	w8, ne
	and	w0, w8, w21
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.comm	_I40E_TX_DESC_CMD_ICRC,4,2      ; @I40E_TX_DESC_CMD_ICRC
	.comm	_I40E_TX_DESC_CMD_EOP,4,2       ; @I40E_TX_DESC_CMD_EOP
	.comm	_I40E_TX_DESC_CMD_RS,4,2        ; @I40E_TX_DESC_CMD_RS
	.comm	_I40E_TXD_QW1_CMD_SHIFT,4,2     ; @I40E_TXD_QW1_CMD_SHIFT
	.no_dead_strip	_i40e_xmit_zc
.subsections_via_symbols
