	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_tx_map
_i40e_tx_map:                           ## @i40e_tx_map
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movl	(%rsi), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_skb_headlen
	movl	%eax, %r14d
	movq	(%rbx), %rcx
	movq	_I40E_TX_FLAGS_HW_VLAN@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	_I40E_TX_DESC_CMD_IL2TAG1@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	movq	_I40E_TX_FLAGS_VLAN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%r15d, %edx
	movq	_I40E_TX_FLAGS_VLAN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edx
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
LBB0_1:
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
LBB0_3:
	movl	%r15d, (%r12)
	movl	32(%rbx), %edi
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movl	4(%r15), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edx
	callq	_dma_map_single
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_I40E_TX_DESC
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_skb_shinfo
	movq	(%rax), %r15
	movq	_I40E_MAX_DATA_PER_TXD_ALIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	32(%rbx), %edi
	movl	%r13d, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_4
LBB0_17:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	32(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rax,2), %r14
	shlq	$3, %r14
	addq	24(%rbx), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_i40e_unmap_and_free_tx_resource
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	cmpq	%r15, %r14
	je	LBB0_18
## %bb.24:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_25 Depth=1
	decq	%r14
	leaq	(%r14,%r14,2), %rbx
	shlq	$3, %rbx
	addq	24(%rdi), %rbx
	movq	%rbx, %rsi
	callq	_i40e_unmap_and_free_tx_resource
	cmpq	%r15, %rbx
	je	LBB0_28
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	testq	%r14, %r14
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	8(%rdi), %r14
	jmp	LBB0_27
LBB0_4:
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movl	$1, %ebx
	movq	%r12, %r15
	movl	-100(%rbp), %r12d               ## 4-byte Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_I40E_TX_DESC
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	callq	_skb_frag_size
	movl	%eax, %r14d
	subl	%eax, %r13d
	movl	%r13d, -76(%rbp)                ## 4-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	32(%rax), %edi
	movq	%rax, %r13
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rsi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_skb_frag_dma_map
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	leaq	(%r15,%r15,2), %r15
	shlq	$3, %r15
	movq	%r13, %rcx
	addq	24(%r13), %r15
	movl	%eax, %r13d
	addq	$4, %r12
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movq	_I40E_MAX_DATA_PER_TXD_ALIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	32(%rcx), %edi
	movl	%r13d, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_17
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	_len@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_dma_unmap_len_set
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r13d, %edx
	callq	_dma_unmap_addr_set
	movq	_I40E_MAX_READ_REQ_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r13d, %edi
	callq	_cpu_to_le64
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	xorl	%edi, %edi
	movq	_I40E_MAX_DATA_PER_TXD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	seta	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	decl	%r15d
	movl	%r15d, %eax
	movl	%r13d, %r15d
	negl	%r15d
	andl	%eax, %r15d
	addl	%r12d, %r15d
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	xorl	%esi, %esi
	callq	_I40E_TX_DESC
	movq	%rax, %r12
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	_I40E_MAX_DATA_PER_TXD_ALIGNED@GOTPCREL(%rip), %rax
	addl	%r15d, %r13d
	subl	%r15d, %r14d
	movl	(%rax), %r15d
	movl	%r13d, %edi
	callq	_cpu_to_le64
	movq	%rax, 8(%r12)
	xorl	%edi, %edi
	movq	_I40E_MAX_DATA_PER_TXD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	seta	%dil
	callq	_unlikely
	incq	%rbx
	testq	%rax, %rax
	je	LBB0_12
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	16(%rbp), %esi
	movl	%r15d, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_build_ctob
	movq	%rax, (%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	cmpq	8(%rdi), %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addq	$16, %r12
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edi, %edi
	movl	-76(%rbp), %r13d                ## 4-byte Reload
	testl	%r13d, %r13d
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	16(%rbp), %esi
	movl	%r14d, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_build_ctob
	movq	%rax, (%r12)
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	incq	%r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	8(%rax), %r15
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	$16, %r12
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_16
LBB0_18:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_28:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	movl	$-1, %ebx
LBB0_29:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_txring_txq
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	16(%rcx), %esi
	movl	%eax, %edi
	callq	_netdev_tx_sent_queue
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	xorl	%r15d, %r15d
	cmpq	8(%r13), %rax
	cmovneq	%rax, %r15
	movq	%r15, (%r13)
	movq	_DESC_NEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_i40e_maybe_stop_tx
	movq	_I40E_TX_DESC_CMD_EOP@GOTPCREL(%rip), %rax
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	orl	(%rax), %edi
	movq	16(%r13), %rax
	incq	%rax
	movq	%rax, 16(%r13)
	orq	%rbx, %rax
	movq	_WB_STRIDE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jb	LBB0_21
## %bb.20:
	movq	_I40E_TX_DESC_CMD_RS@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	$0, 16(%r13)
LBB0_21:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	16(%rbp), %esi
	movl	%r14d, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_build_ctob
	movq	%rax, (%r12)
	movq	%rbx, %rdi
	callq	_skb_tx_timestamp
	xorl	%eax, %eax
	callq	_wmb
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, 8(%rax)
	movq	%r13, %rdi
	callq	_txring_txq
	movl	%eax, %edi
	callq	_netif_xmit_stopped
	testq	%rax, %rax
	jne	LBB0_23
## %bb.22:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_netdev_xmit_more
	testl	%eax, %eax
	jne	LBB0_29
LBB0_23:
	movl	36(%r13), %esi
	movq	%r15, %rdi
	callq	_writel
	xorl	%ebx, %ebx
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_TX_FLAGS_HW_VLAN,4,2      ## @I40E_TX_FLAGS_HW_VLAN
	.comm	_I40E_TX_DESC_CMD_IL2TAG1,4,2   ## @I40E_TX_DESC_CMD_IL2TAG1
	.comm	_I40E_TX_FLAGS_VLAN_MASK,4,2    ## @I40E_TX_FLAGS_VLAN_MASK
	.comm	_I40E_TX_FLAGS_VLAN_SHIFT,4,2   ## @I40E_TX_FLAGS_VLAN_SHIFT
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_I40E_MAX_DATA_PER_TXD_ALIGNED,4,2 ## @I40E_MAX_DATA_PER_TXD_ALIGNED
	.comm	_len,4,2                        ## @len
	.comm	_I40E_MAX_READ_REQ_SIZE,4,2     ## @I40E_MAX_READ_REQ_SIZE
	.comm	_I40E_MAX_DATA_PER_TXD,4,2      ## @I40E_MAX_DATA_PER_TXD
	.comm	_DESC_NEEDED,4,2                ## @DESC_NEEDED
	.comm	_I40E_TX_DESC_CMD_EOP,4,2       ## @I40E_TX_DESC_CMD_EOP
	.comm	_WB_STRIDE,8,3                  ## @WB_STRIDE
	.comm	_I40E_TX_DESC_CMD_RS,4,2        ## @I40E_TX_DESC_CMD_RS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TX DMA map failed\n"

	.no_dead_strip	_i40e_tx_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_tx_map
_i40e_tx_map:                           ; @i40e_tx_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x24, x5
	mov	x20, x3
	mov	x27, x2
	mov	x28, x1
	mov	x19, x0
	ldr	w8, [x1]
	stp	w8, w6, [sp, #24]               ; 8-byte Folded Spill
	mov	x0, x1
	bl	_skb_headlen
	mov	x26, x0
	ldr	x23, [x19]
Lloh0:
	adrp	x8, _I40E_TX_FLAGS_HW_VLAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_TX_FLAGS_HW_VLAN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _I40E_TX_DESC_CMD_IL2TAG1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_TX_DESC_CMD_IL2TAG1@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w24, w8, w24
Lloh6:
	adrp	x8, _I40E_TX_FLAGS_VLAN_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_TX_FLAGS_VLAN_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w20
Lloh9:
	adrp	x9, _I40E_TX_FLAGS_VLAN_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _I40E_TX_FLAGS_VLAN_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	asr	w25, w8, w9
	b	LBB0_3
LBB0_2:
	mov	w25, #0
LBB0_3:
	str	w20, [x27]
	ldr	w0, [x19, #32]
	ldr	w1, [x28, #4]
Lloh12:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x2, x26
	bl	_dma_map_single
	mov	x21, x0
	mov	x0, x19
	mov	x1, x23
	bl	_I40E_TX_DESC
	mov	x20, x27
	mov	x27, x0
	mov	x0, x28
	bl	_skb_shinfo
	ldr	x8, [x0]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
Lloh15:
	adrp	x8, _I40E_MAX_DATA_PER_TXD_ALIGNED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _I40E_MAX_DATA_PER_TXD_ALIGNED@GOTPAGEOFF]
Lloh17:
	ldr	w22, [x8]
	ldr	w0, [x19, #32]
	mov	x1, x21
	bl	_dma_mapping_error
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	cbz	x0, LBB0_11
LBB0_4:
	ldr	w0, [x19, #32]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	x8, [x19, #24]
	mov	w9, #24
	madd	x20, x23, x9, x8
	mov	x0, x19
	mov	x1, x20
	bl	_i40e_unmap_and_free_tx_resource
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	cmp	x20, x22
	b.eq	LBB0_9
; %bb.5:
	mov	w21, #24
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	sub	x23, x23, #1
	ldr	x8, [x19, #24]
	madd	x20, x23, x21, x8
	mov	x0, x19
	mov	x1, x20
	bl	_i40e_unmap_and_free_tx_resource
	cmp	x20, x22
	b.eq	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	x23, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x23, [x19, #8]
	b	LBB0_6
LBB0_9:
	str	x23, [x19]
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_11:
	str	x28, [sp]                       ; 8-byte Folded Spill
	mov	w28, #1
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
Lloh20:
	adrp	x21, _DMA_TO_DEVICE@GOTPAGE
Lloh21:
	ldr	x21, [x21, _DMA_TO_DEVICE@GOTPAGEOFF]
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
	add	x28, x28, #1
	mov	x0, x22
	bl	_skb_frag_size
	mov	x26, x0
	sub	w20, w20, w0
	str	w20, [sp, #24]                  ; 4-byte Folded Spill
	ldr	w0, [x19, #32]
Lloh22:
	ldr	w4, [x21]
	mov	x1, x22
	mov	w2, #0
	mov	x3, x26
	bl	_skb_frag_dma_map
	mov	x21, x0
	ldr	x8, [x19, #24]
	mov	w9, #24
	madd	x20, x23, x9, x8
	add	x22, x22, #4
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
Lloh23:
	adrp	x8, _I40E_MAX_DATA_PER_TXD_ALIGNED@GOTPAGE
Lloh24:
	ldr	x8, [x8, _I40E_MAX_DATA_PER_TXD_ALIGNED@GOTPAGEOFF]
Lloh25:
	ldr	w22, [x8]
	ldr	w0, [x19, #32]
	mov	x1, x21
	bl	_dma_mapping_error
	cbnz	x0, LBB0_4
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
Lloh26:
	adrp	x8, _len@GOTPAGE
Lloh27:
	ldr	x8, [x8, _len@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x26
	bl	_dma_unmap_len_set
	mov	x0, x20
	mov	x1, x21
	mov	x2, x21
	bl	_dma_unmap_addr_set
Lloh29:
	adrp	x8, _I40E_MAX_READ_REQ_SIZE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _I40E_MAX_READ_REQ_SIZE@GOTPAGEOFF]
Lloh31:
	ldr	w20, [x8]
	mov	x0, x21
	bl	_cpu_to_le64
	str	x0, [x27, #8]
Lloh32:
	adrp	x8, _I40E_MAX_DATA_PER_TXD@GOTPAGE
Lloh33:
	ldr	x8, [x8, _I40E_MAX_DATA_PER_TXD@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmp	w26, w8
	cset	w0, hi
	bl	_unlikely
	cbz	x0, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	sub	w8, w20, #1
	neg	w9, w21
	and	w8, w8, w9
	add	w20, w8, w22
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
Lloh35:
	adrp	x8, _I40E_MAX_DATA_PER_TXD_ALIGNED@GOTPAGE
Lloh36:
	ldr	x8, [x8, _I40E_MAX_DATA_PER_TXD_ALIGNED@GOTPAGEOFF]
	add	w21, w20, w21
	sub	w26, w26, w20
Lloh37:
	ldr	w20, [x8]
	mov	x0, x21
	bl	_cpu_to_le64
	str	x0, [x27, #8]
Lloh38:
	adrp	x8, _I40E_MAX_DATA_PER_TXD@GOTPAGE
Lloh39:
	ldr	x8, [x8, _I40E_MAX_DATA_PER_TXD@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w26, w8
	cset	w0, hi
	bl	_unlikely
	add	x28, x28, #1
	cbz	x0, LBB0_18
LBB0_16:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x24
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	mov	x2, x20
	mov	x3, x25
	bl	_build_ctob
	str	x0, [x27], #16
	add	x23, x23, #1
	ldr	x8, [x19, #8]
	cmp	x23, x8
	b.ne	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	x0, x19
	mov	x1, #0
	bl	_I40E_TX_DESC
	mov	x27, x0
	mov	x23, #0
	b	LBB0_15
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w20, [sp, #24]                  ; 4-byte Folded Reload
	cmp	w20, #0
	cset	w0, eq
	bl	_likely
	cbnz	x0, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x24
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	mov	x2, x26
	mov	x3, x25
	bl	_build_ctob
	str	x0, [x27], #16
	add	x23, x23, #1
	ldr	x8, [x19, #8]
	cmp	x23, x8
	b.ne	LBB0_12
; %bb.20:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x19
	mov	x1, #0
	bl	_I40E_TX_DESC
	mov	x27, x0
	mov	x23, #0
	b	LBB0_12
LBB0_21:
	mov	x0, x19
	bl	_txring_txq
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w1, [x8, #16]
	bl	_netdev_tx_sent_queue
	add	x8, x23, #1
	ldr	x9, [x19, #8]
	cmp	x8, x9
	csinc	x20, xzr, x23, eq
	str	x20, [x19]
Lloh41:
	adrp	x8, _DESC_NEEDED@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DESC_NEEDED@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_i40e_maybe_stop_tx
Lloh44:
	adrp	x8, _I40E_TX_DESC_CMD_EOP@GOTPAGE
Lloh45:
	ldr	x8, [x8, _I40E_TX_DESC_CMD_EOP@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	orr	w0, w8, w24
	ldr	x8, [x19, #16]
	add	x8, x8, #1
	str	x8, [x19, #16]
	orr	x8, x8, x28
Lloh47:
	adrp	x9, _WB_STRIDE@GOTPAGE
Lloh48:
	ldr	x9, [x9, _WB_STRIDE@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lo	LBB0_23
; %bb.22:
Lloh50:
	adrp	x8, _I40E_TX_DESC_CMD_RS@GOTPAGE
Lloh51:
	ldr	x8, [x8, _I40E_TX_DESC_CMD_RS@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	orr	w0, w8, w0
	str	xzr, [x19, #16]
LBB0_23:
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	mov	x2, x26
	mov	x3, x25
	bl	_build_ctob
	str	x0, [x27]
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	bl	_skb_tx_timestamp
	bl	_wmb
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x27, [x8, #8]
	mov	x0, x19
	bl	_txring_txq
	bl	_netif_xmit_stopped
	cbnz	x0, LBB0_25
; %bb.24:
	bl	_netdev_xmit_more
	cbnz	w0, LBB0_26
LBB0_25:
	ldr	w1, [x19, #36]
	mov	x0, x20
	bl	_writel
LBB0_26:
	mov	w0, #0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_TX_FLAGS_HW_VLAN,4,2      ; @I40E_TX_FLAGS_HW_VLAN
	.comm	_I40E_TX_DESC_CMD_IL2TAG1,4,2   ; @I40E_TX_DESC_CMD_IL2TAG1
	.comm	_I40E_TX_FLAGS_VLAN_MASK,4,2    ; @I40E_TX_FLAGS_VLAN_MASK
	.comm	_I40E_TX_FLAGS_VLAN_SHIFT,4,2   ; @I40E_TX_FLAGS_VLAN_SHIFT
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_I40E_MAX_DATA_PER_TXD_ALIGNED,4,2 ; @I40E_MAX_DATA_PER_TXD_ALIGNED
	.comm	_len,4,2                        ; @len
	.comm	_I40E_MAX_READ_REQ_SIZE,4,2     ; @I40E_MAX_READ_REQ_SIZE
	.comm	_I40E_MAX_DATA_PER_TXD,4,2      ; @I40E_MAX_DATA_PER_TXD
	.comm	_DESC_NEEDED,4,2                ; @DESC_NEEDED
	.comm	_I40E_TX_DESC_CMD_EOP,4,2       ; @I40E_TX_DESC_CMD_EOP
	.comm	_WB_STRIDE,8,3                  ; @WB_STRIDE
	.comm	_I40E_TX_DESC_CMD_RS,4,2        ; @I40E_TX_DESC_CMD_RS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TX DMA map failed\n"

	.no_dead_strip	_i40e_tx_map
.subsections_via_symbols
