	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iavf_tx_enable_csum
_iavf_tx_enable_csum:                   ## @iavf_tx_enable_csum
	.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	%rcx, %rbx
	movq	%rsi, %r14
	movl	$0, -44(%rbp)
	movq	(%rdi), %rcx
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpq	(%rsi), %rcx
	jne	LBB0_43
## %bb.1:
	movq	%rdi, %r12
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	callq	_skb_network_header
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_skb_transport_header
	movq	8(%r12), %rdx
	movq	%r13, %rcx
	subq	%rdx, %rcx
	movq	%rcx, %r15
	shrq	$63, %r15
	addq	%rcx, %r15
	sarq	%r15
	movq	_IAVF_TX_DESC_LENGTH_MACLEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %r15
	movq	%rax, %rdi
	cmpq	$0, 16(%r12)
	movl	(%r14), %ecx
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_25
## %bb.2:
	movq	_IAVF_TX_FLAGS_IPV4@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.3:
	movq	_IAVF_TX_FLAGS_TSO@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_8
## %bb.4:
	movq	_IAVF_TX_CTX_EXT_IP_IPV4_NO_CSUM@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	_IAVF_TX_FLAGS_IPV6@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_15
## %bb.6:
	movq	_IAVF_TX_CTX_EXT_IP_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	8(%r13), %rsi
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)
	cmpq	%rsi, %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.7:
	subl	%edx, %esi
	leaq	-44(%rbp), %rdx
	leaq	-76(%rbp), %rcx
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ipv6_skip_exthdr
	movl	-44(%rbp), %eax
	jmp	LBB0_10
LBB0_8:
	movq	_IAVF_TX_CTX_EXT_IP_IPV4@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %ebx
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)
LBB0_10:
	leal	-131(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_14
## %bb.11:
	cmpl	$133, %eax
	je	LBB0_16
## %bb.12:
	cmpl	$128, %eax
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_15
## %bb.13:
	movq	_IAVF_TXD_CTX_UDP_TUNNELING@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movq	_IAVF_TX_FLAGS_VXLAN_TUNNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r14)
	jmp	LBB0_17
LBB0_14:
	movq	_IAVF_TX_FLAGS_VXLAN_TUNNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	%r12, %rdi
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	callq	_skb_inner_network_header
	jmp	LBB0_17
LBB0_15:
	movq	_IAVF_TX_FLAGS_TSO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$-1, %eax
	testl	%ecx, (%r14)
	jne	LBB0_43
	jmp	LBB0_38
LBB0_16:
	movq	_IAVF_TXD_CTX_GRE_TUNNELING@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movq	_IAVF_TX_FLAGS_VXLAN_TUNNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_17:
	movq	%rax, %rcx
	subq	%r13, %rcx
	leaq	3(%rcx), %r14
	testq	%rcx, %rcx
	cmovnsq	%rcx, %r14
	sarq	$2, %r14
	movq	_IAVF_TXD_CTX_QW0_EXT_IPLEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %r14
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_skb_inner_network_header
	movq	%rax, %r13
	subq	%rbx, %rax
	movq	%rax, %rbx
	shrq	$63, %rbx
	addq	%rax, %rbx
	sarq	%rbx
	movq	_IAVF_TXD_CTX_QW0_NATLEN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %rbx
	orl	%r14d, %ebx
	orl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	_IAVF_TX_FLAGS_TSO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	testl	%eax, (%r14)
	je	LBB0_21
## %bb.18:
	movq	%r12, %rdi
	callq	_skb_shinfo
	movq	_SKB_GSO_PARTIAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_21
## %bb.19:
	movq	%r12, %rdi
	callq	_skb_shinfo
	movq	_SKB_GSO_UDP_TUNNEL_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_21
## %bb.20:
	movq	_IAVF_TXD_CTX_QW0_L4T_CS_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_21:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	orl	%ebx, (%rax)
	movq	%r12, %rdi
	callq	_skb_inner_transport_header
	movq	_IAVF_TX_FLAGS_IPV6@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ecx
	movq	_IAVF_TX_FLAGS_IPV4@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movl	$0, -44(%rbp)
	notl	%ecx
	andl	(%r14), %ecx
	movq	%rax, %rdi
	movl	%ecx, (%r14)
	movl	4(%r13), %eax
	cmpl	$4, %eax
	jne	LBB0_23
## %bb.22:
	orl	(%rsi), %ecx
	movl	%ecx, (%r14)
	movl	4(%r13), %eax
LBB0_23:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	cmpl	$6, %eax
	jne	LBB0_25
## %bb.24:
	orl	(%rdx), %ecx
	movl	%ecx, (%r14)
LBB0_25:
	movq	_IAVF_TX_FLAGS_IPV4@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_28
## %bb.26:
	movl	(%r13), %edx
	movl	%edx, -44(%rbp)
	movq	_IAVF_TX_FLAGS_TSO@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_31
## %bb.27:
	movq	_IAVF_TX_DESC_CMD_IIPT_IPV4@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_28:
	movq	_IAVF_TX_FLAGS_IPV6@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_37
## %bb.29:
	movq	_IAVF_TX_DESC_CMD_IIPT_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	8(%r13), %rsi
	movl	(%r13), %edx
	movl	%edx, -44(%rbp)
	cmpq	%rsi, %rdi
	je	LBB0_33
## %bb.30:
	subl	8(%r12), %esi
	leaq	-44(%rbp), %rdx
	leaq	-76(%rbp), %rcx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ipv6_skip_exthdr
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %edx
	jmp	LBB0_33
LBB0_31:
	movq	_IAVF_TX_DESC_CMD_IIPT_IPV4_CSUM@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %r14d
LBB0_33:
	movq	%rdi, %rcx
	subq	%r13, %rcx
	leaq	3(%rcx), %rax
	testq	%rcx, %rcx
	cmovnsq	%rcx, %rax
	sarq	$2, %rax
	movq	_IAVF_TX_DESC_LENGTH_IPLEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %rax
	orq	%r15, %rax
	cmpl	$128, %edx
	je	LBB0_39
## %bb.34:
	cmpl	$130, %edx
	je	LBB0_40
## %bb.35:
	cmpl	$129, %edx
	jne	LBB0_37
## %bb.36:
	movl	(%rdi), %edx
	movq	_IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movq	_IAVF_TX_DESC_CMD_L4T_EOFT_TCP@GOTPCREL(%rip), %rcx
	jmp	LBB0_42
LBB0_37:
	movq	_IAVF_TX_FLAGS_TSO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$-1, %eax
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	testl	%ecx, (%rdx)
	jne	LBB0_43
LBB0_38:
	movq	%r12, %rdi
	callq	_skb_checksum_help
	xorl	%eax, %eax
	jmp	LBB0_43
LBB0_39:
	movq	_IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shlq	%cl, %rdx
	orl	%edx, %eax
	movq	_IAVF_TX_DESC_CMD_L4T_EOFT_UDP@GOTPCREL(%rip), %rcx
	jmp	LBB0_41
LBB0_40:
	movq	_IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shlq	%cl, %rdx
	orl	%edx, %eax
	movq	_IAVF_TX_DESC_CMD_L4T_EOFT_SCTP@GOTPCREL(%rip), %rcx
LBB0_41:
	movl	%eax, %edx
LBB0_42:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	orl	(%rcx), %r14d
	orl	%r14d, (%rax)
	orl	%edx, (%rbx)
	movl	$1, %eax
LBB0_43:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_IAVF_TX_DESC_LENGTH_MACLEN_SHIFT,4,2 ## @IAVF_TX_DESC_LENGTH_MACLEN_SHIFT
	.comm	_IAVF_TX_FLAGS_IPV4,4,2         ## @IAVF_TX_FLAGS_IPV4
	.comm	_IAVF_TX_FLAGS_TSO,4,2          ## @IAVF_TX_FLAGS_TSO
	.comm	_IAVF_TX_CTX_EXT_IP_IPV4,4,2    ## @IAVF_TX_CTX_EXT_IP_IPV4
	.comm	_IAVF_TX_CTX_EXT_IP_IPV4_NO_CSUM,4,2 ## @IAVF_TX_CTX_EXT_IP_IPV4_NO_CSUM
	.comm	_IAVF_TX_FLAGS_IPV6,4,2         ## @IAVF_TX_FLAGS_IPV6
	.comm	_IAVF_TX_CTX_EXT_IP_IPV6,4,2    ## @IAVF_TX_CTX_EXT_IP_IPV6
	.comm	_IAVF_TXD_CTX_UDP_TUNNELING,4,2 ## @IAVF_TXD_CTX_UDP_TUNNELING
	.comm	_IAVF_TX_FLAGS_VXLAN_TUNNEL,4,2 ## @IAVF_TX_FLAGS_VXLAN_TUNNEL
	.comm	_IAVF_TXD_CTX_GRE_TUNNELING,4,2 ## @IAVF_TXD_CTX_GRE_TUNNELING
	.comm	_IAVF_TXD_CTX_QW0_EXT_IPLEN_SHIFT,4,2 ## @IAVF_TXD_CTX_QW0_EXT_IPLEN_SHIFT
	.comm	_IAVF_TXD_CTX_QW0_NATLEN_SHIFT,4,2 ## @IAVF_TXD_CTX_QW0_NATLEN_SHIFT
	.comm	_SKB_GSO_PARTIAL,4,2            ## @SKB_GSO_PARTIAL
	.comm	_SKB_GSO_UDP_TUNNEL_CSUM,4,2    ## @SKB_GSO_UDP_TUNNEL_CSUM
	.comm	_IAVF_TXD_CTX_QW0_L4T_CS_MASK,4,2 ## @IAVF_TXD_CTX_QW0_L4T_CS_MASK
	.comm	_IAVF_TX_DESC_CMD_IIPT_IPV4_CSUM,4,2 ## @IAVF_TX_DESC_CMD_IIPT_IPV4_CSUM
	.comm	_IAVF_TX_DESC_CMD_IIPT_IPV4,4,2 ## @IAVF_TX_DESC_CMD_IIPT_IPV4
	.comm	_IAVF_TX_DESC_CMD_IIPT_IPV6,4,2 ## @IAVF_TX_DESC_CMD_IIPT_IPV6
	.comm	_IAVF_TX_DESC_LENGTH_IPLEN_SHIFT,4,2 ## @IAVF_TX_DESC_LENGTH_IPLEN_SHIFT
	.comm	_IAVF_TX_DESC_CMD_L4T_EOFT_TCP,4,2 ## @IAVF_TX_DESC_CMD_L4T_EOFT_TCP
	.comm	_IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT,4,2 ## @IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT
	.comm	_IAVF_TX_DESC_CMD_L4T_EOFT_SCTP,4,2 ## @IAVF_TX_DESC_CMD_L4T_EOFT_SCTP
	.comm	_IAVF_TX_DESC_CMD_L4T_EOFT_UDP,4,2 ## @IAVF_TX_DESC_CMD_L4T_EOFT_UDP
	.no_dead_strip	_iavf_tx_enable_csum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iavf_tx_enable_csum
_iavf_tx_enable_csum:                   ; @iavf_tx_enable_csum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x0
	mov	w0, #0
	str	wzr, [sp, #8]
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_40
; %bb.1:
	mov	x25, x5
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x0, x21
	bl	_skb_network_header
	mov	x23, x0
	mov	x0, x21
	bl	_skb_transport_header
	mov	x24, x0
	ldp	x9, x10, [x21, #8]
	sub	x8, x23, x9
	cmp	x8, #0
	cinc	x26, x8, lt
Lloh3:
	adrp	x8, _IAVF_TX_DESC_LENGTH_MACLEN_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IAVF_TX_DESC_LENGTH_MACLEN_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w28, [x8]
	ldr	w8, [x22]
Lloh6:
	adrp	x11, _IAVF_TX_FLAGS_IPV4@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IAVF_TX_FLAGS_IPV4@GOTPAGEOFF]
Lloh8:
	adrp	x27, _IAVF_TX_FLAGS_TSO@GOTPAGE
Lloh9:
	ldr	x27, [x27, _IAVF_TX_FLAGS_TSO@GOTPAGEOFF]
	cbz	x10, LBB0_26
; %bb.2:
	ldr	w10, [x11]
Lloh10:
	adrp	x11, _IAVF_TX_FLAGS_IPV6@GOTPAGE
Lloh11:
	ldr	x11, [x11, _IAVF_TX_FLAGS_IPV6@GOTPAGEOFF]
	tst	w10, w8
	str	x26, [sp]                       ; 8-byte Folded Spill
	mov	x26, x28
	b.eq	LBB0_8
; %bb.3:
Lloh12:
	adrp	x9, _IAVF_TX_CTX_EXT_IP_IPV4@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IAVF_TX_CTX_EXT_IP_IPV4@GOTPAGEOFF]
Lloh14:
	adrp	x10, _IAVF_TX_CTX_EXT_IP_IPV4_NO_CSUM@GOTPAGE
Lloh15:
	ldr	x10, [x10, _IAVF_TX_CTX_EXT_IP_IPV4_NO_CSUM@GOTPAGEOFF]
	mov	x28, x27
	ldr	w11, [x27]
	tst	w11, w8
	csel	x8, x10, x9, eq
	ldr	w27, [x8]
	ldr	w8, [x23]
	str	w8, [sp, #8]
LBB0_4:
	sub	w9, w8, #131
	cmp	w9, #2
	b.lo	LBB0_11
; %bb.5:
	cmp	w8, #133
	b.eq	LBB0_14
; %bb.6:
	cmp	w8, #128
	b.ne	LBB0_12
; %bb.7:
Lloh16:
	adrp	x8, _IAVF_TXD_CTX_UDP_TUNNELING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IAVF_TXD_CTX_UDP_TUNNELING@GOTPAGEOFF]
	b	LBB0_15
LBB0_8:
	mov	x28, x27
	ldr	w10, [x11]
	tst	w10, w8
	b.eq	LBB0_12
; %bb.9:
Lloh18:
	adrp	x8, _IAVF_TX_CTX_EXT_IP_IPV6@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IAVF_TX_CTX_EXT_IP_IPV6@GOTPAGEOFF]
Lloh20:
	ldr	w27, [x8]
	mov	x10, x23
	ldr	w8, [x10], #8
	str	w8, [sp, #8]
	cmp	x24, x10
	b.eq	LBB0_4
; %bb.10:
	sub	w1, w10, w9
	add	x2, sp, #8
	add	x3, sp, #12
	mov	x0, x21
	bl	_ipv6_skip_exthdr
	ldr	w8, [sp, #8]
	b	LBB0_4
LBB0_11:
Lloh21:
	adrp	x8, _IAVF_TX_FLAGS_VXLAN_TUNNEL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IAVF_TX_FLAGS_VXLAN_TUNNEL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
	mov	x0, x21
	bl	_skb_inner_network_header
	mov	x24, x0
	b	LBB0_16
LBB0_12:
	ldr	w8, [x22]
	ldr	w9, [x28]
	tst	w9, w8
	b.ne	LBB0_36
LBB0_13:
	mov	x0, x21
	bl	_skb_checksum_help
	mov	w0, #0
	b	LBB0_40
LBB0_14:
Lloh24:
	adrp	x8, _IAVF_TXD_CTX_GRE_TUNNELING@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IAVF_TXD_CTX_GRE_TUNNELING@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	orr	w27, w8, w27
Lloh26:
	adrp	x8, _IAVF_TX_FLAGS_VXLAN_TUNNEL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IAVF_TX_FLAGS_VXLAN_TUNNEL@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
LBB0_16:
	sub	x8, x24, x23
	add	x9, x8, #3
	cmp	x8, #0
	csel	x8, x9, x8, lt
	asr	x8, x8, #2
Lloh29:
	adrp	x9, _IAVF_TXD_CTX_QW0_EXT_IPLEN_SHIFT@GOTPAGE
Lloh30:
	ldr	x9, [x9, _IAVF_TXD_CTX_QW0_EXT_IPLEN_SHIFT@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	lsl	x8, x8, x9
	orr	w27, w27, w8
	mov	x0, x21
	bl	_skb_inner_network_header
	mov	x23, x0
	sub	x8, x0, x24
	cmp	x8, #0
	cinc	x8, x8, lt
	asr	x8, x8, #1
Lloh32:
	adrp	x9, _IAVF_TXD_CTX_QW0_NATLEN_SHIFT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _IAVF_TXD_CTX_QW0_NATLEN_SHIFT@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	lsl	x8, x8, x9
	orr	w24, w27, w8
	ldr	w8, [x22]
	mov	x27, x28
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.17:
	mov	x0, x21
	bl	_skb_shinfo
	ldr	w8, [x0]
Lloh35:
	adrp	x9, _SKB_GSO_PARTIAL@GOTPAGE
Lloh36:
	ldr	x9, [x9, _SKB_GSO_PARTIAL@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w8
	mov	x28, x26
	b.eq	LBB0_20
; %bb.18:
	ldr	x26, [sp]                       ; 8-byte Folded Reload
	b	LBB0_22
LBB0_19:
	mov	x28, x26
	ldr	x26, [sp]                       ; 8-byte Folded Reload
	b	LBB0_22
LBB0_20:
	mov	x0, x21
	bl	_skb_shinfo
	ldr	w8, [x0]
Lloh38:
	adrp	x9, _SKB_GSO_UDP_TUNNEL_CSUM@GOTPAGE
Lloh39:
	ldr	x9, [x9, _SKB_GSO_UDP_TUNNEL_CSUM@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	tst	w9, w8
	ldr	x26, [sp]                       ; 8-byte Folded Reload
	b.eq	LBB0_22
; %bb.21:
Lloh41:
	adrp	x8, _IAVF_TXD_CTX_QW0_L4T_CS_MASK@GOTPAGE
Lloh42:
	ldr	x8, [x8, _IAVF_TXD_CTX_QW0_L4T_CS_MASK@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	orr	w24, w8, w24
LBB0_22:
	ldr	w8, [x25]
	orr	w8, w8, w24
	str	w8, [x25]
	mov	x0, x21
	bl	_skb_inner_transport_header
	mov	x24, x0
	str	wzr, [sp, #8]
Lloh44:
	adrp	x11, _IAVF_TX_FLAGS_IPV4@GOTPAGE
Lloh45:
	ldr	x11, [x11, _IAVF_TX_FLAGS_IPV4@GOTPAGEOFF]
	ldr	w8, [x11]
Lloh46:
	adrp	x10, _IAVF_TX_FLAGS_IPV6@GOTPAGE
Lloh47:
	ldr	x10, [x10, _IAVF_TX_FLAGS_IPV6@GOTPAGEOFF]
	ldr	w9, [x10]
	orr	w8, w9, w8
	ldr	w9, [x22]
	bic	w8, w9, w8
	str	w8, [x22]
	ldr	w9, [x23, #4]
	cmp	w9, #4
	b.ne	LBB0_24
; %bb.23:
	ldr	w9, [x11]
	orr	w8, w9, w8
	str	w8, [x22]
	ldr	w9, [x23, #4]
LBB0_24:
	cmp	w9, #6
	b.ne	LBB0_26
; %bb.25:
	ldr	w9, [x10]
	orr	w8, w8, w9
	str	w8, [x22]
LBB0_26:
	ldr	w9, [x11]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.27:
	ldr	w9, [x23]
	str	w9, [sp, #8]
Lloh48:
	adrp	x10, _IAVF_TX_DESC_CMD_IIPT_IPV4_CSUM@GOTPAGE
Lloh49:
	ldr	x10, [x10, _IAVF_TX_DESC_CMD_IIPT_IPV4_CSUM@GOTPAGEOFF]
	ldr	w11, [x27]
Lloh50:
	adrp	x12, _IAVF_TX_DESC_CMD_IIPT_IPV4@GOTPAGE
Lloh51:
	ldr	x12, [x12, _IAVF_TX_DESC_CMD_IIPT_IPV4@GOTPAGEOFF]
	tst	w11, w8
	csel	x8, x12, x10, eq
	ldr	w25, [x8]
LBB0_28:
	asr	x8, x26, #1
	lsl	x8, x8, x28
	sub	x10, x24, x23
	add	x11, x10, #3
	cmp	x10, #0
	csel	x10, x11, x10, lt
	asr	x10, x10, #2
Lloh52:
	adrp	x11, _IAVF_TX_DESC_LENGTH_IPLEN_SHIFT@GOTPAGE
Lloh53:
	ldr	x11, [x11, _IAVF_TX_DESC_LENGTH_IPLEN_SHIFT@GOTPAGEOFF]
Lloh54:
	ldr	w11, [x11]
	lsl	x10, x10, x11
	orr	x8, x10, x8
	cmp	w9, #128
	b.eq	LBB0_37
; %bb.29:
	cmp	w9, #130
	b.eq	LBB0_38
; %bb.30:
	cmp	w9, #129
	b.ne	LBB0_35
; %bb.31:
Lloh55:
	adrp	x9, _IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT@GOTPAGE
Lloh56:
	ldr	x9, [x9, _IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT@GOTPAGEOFF]
	ldr	w10, [x24]
Lloh57:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w8, w9, w8
Lloh58:
	adrp	x9, _IAVF_TX_DESC_CMD_L4T_EOFT_TCP@GOTPAGE
Lloh59:
	ldr	x9, [x9, _IAVF_TX_DESC_CMD_L4T_EOFT_TCP@GOTPAGEOFF]
	b	LBB0_39
LBB0_32:
Lloh60:
	adrp	x9, _IAVF_TX_FLAGS_IPV6@GOTPAGE
Lloh61:
	ldr	x9, [x9, _IAVF_TX_FLAGS_IPV6@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_35
; %bb.33:
Lloh63:
	adrp	x8, _IAVF_TX_DESC_CMD_IIPT_IPV6@GOTPAGE
Lloh64:
	ldr	x8, [x8, _IAVF_TX_DESC_CMD_IIPT_IPV6@GOTPAGEOFF]
Lloh65:
	ldr	w25, [x8]
	mov	x8, x23
	ldr	w9, [x8], #8
	str	w9, [sp, #8]
	cmp	x24, x8
	b.eq	LBB0_28
; %bb.34:
	ldr	w9, [x21, #8]
	sub	w1, w8, w9
	add	x2, sp, #8
	add	x3, sp, #12
	mov	x0, x21
	bl	_ipv6_skip_exthdr
	ldr	w9, [sp, #8]
	b	LBB0_28
LBB0_35:
	ldr	w8, [x22]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_13
LBB0_36:
	mov	w0, #-1
	b	LBB0_40
LBB0_37:
Lloh66:
	adrp	x9, _IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT@GOTPAGE
Lloh67:
	ldr	x9, [x9, _IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	x9, x10, x9
	orr	w8, w9, w8
Lloh69:
	adrp	x9, _IAVF_TX_DESC_CMD_L4T_EOFT_UDP@GOTPAGE
Lloh70:
	ldr	x9, [x9, _IAVF_TX_DESC_CMD_L4T_EOFT_UDP@GOTPAGEOFF]
	b	LBB0_39
LBB0_38:
Lloh71:
	adrp	x9, _IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT@GOTPAGE
Lloh72:
	ldr	x9, [x9, _IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	x9, x10, x9
	orr	w8, w9, w8
Lloh74:
	adrp	x9, _IAVF_TX_DESC_CMD_L4T_EOFT_SCTP@GOTPAGE
Lloh75:
	ldr	x9, [x9, _IAVF_TX_DESC_CMD_L4T_EOFT_SCTP@GOTPAGEOFF]
LBB0_39:
	ldr	w9, [x9]
	orr	w9, w9, w25
	ldr	w10, [x20]
	orr	w9, w9, w10
	str	w9, [x20]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	mov	w0, #1
LBB0_40:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_IAVF_TX_DESC_LENGTH_MACLEN_SHIFT,4,2 ; @IAVF_TX_DESC_LENGTH_MACLEN_SHIFT
	.comm	_IAVF_TX_FLAGS_IPV4,4,2         ; @IAVF_TX_FLAGS_IPV4
	.comm	_IAVF_TX_FLAGS_TSO,4,2          ; @IAVF_TX_FLAGS_TSO
	.comm	_IAVF_TX_CTX_EXT_IP_IPV4,4,2    ; @IAVF_TX_CTX_EXT_IP_IPV4
	.comm	_IAVF_TX_CTX_EXT_IP_IPV4_NO_CSUM,4,2 ; @IAVF_TX_CTX_EXT_IP_IPV4_NO_CSUM
	.comm	_IAVF_TX_FLAGS_IPV6,4,2         ; @IAVF_TX_FLAGS_IPV6
	.comm	_IAVF_TX_CTX_EXT_IP_IPV6,4,2    ; @IAVF_TX_CTX_EXT_IP_IPV6
	.comm	_IAVF_TXD_CTX_UDP_TUNNELING,4,2 ; @IAVF_TXD_CTX_UDP_TUNNELING
	.comm	_IAVF_TX_FLAGS_VXLAN_TUNNEL,4,2 ; @IAVF_TX_FLAGS_VXLAN_TUNNEL
	.comm	_IAVF_TXD_CTX_GRE_TUNNELING,4,2 ; @IAVF_TXD_CTX_GRE_TUNNELING
	.comm	_IAVF_TXD_CTX_QW0_EXT_IPLEN_SHIFT,4,2 ; @IAVF_TXD_CTX_QW0_EXT_IPLEN_SHIFT
	.comm	_IAVF_TXD_CTX_QW0_NATLEN_SHIFT,4,2 ; @IAVF_TXD_CTX_QW0_NATLEN_SHIFT
	.comm	_SKB_GSO_PARTIAL,4,2            ; @SKB_GSO_PARTIAL
	.comm	_SKB_GSO_UDP_TUNNEL_CSUM,4,2    ; @SKB_GSO_UDP_TUNNEL_CSUM
	.comm	_IAVF_TXD_CTX_QW0_L4T_CS_MASK,4,2 ; @IAVF_TXD_CTX_QW0_L4T_CS_MASK
	.comm	_IAVF_TX_DESC_CMD_IIPT_IPV4_CSUM,4,2 ; @IAVF_TX_DESC_CMD_IIPT_IPV4_CSUM
	.comm	_IAVF_TX_DESC_CMD_IIPT_IPV4,4,2 ; @IAVF_TX_DESC_CMD_IIPT_IPV4
	.comm	_IAVF_TX_DESC_CMD_IIPT_IPV6,4,2 ; @IAVF_TX_DESC_CMD_IIPT_IPV6
	.comm	_IAVF_TX_DESC_LENGTH_IPLEN_SHIFT,4,2 ; @IAVF_TX_DESC_LENGTH_IPLEN_SHIFT
	.comm	_IAVF_TX_DESC_CMD_L4T_EOFT_TCP,4,2 ; @IAVF_TX_DESC_CMD_L4T_EOFT_TCP
	.comm	_IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT,4,2 ; @IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT
	.comm	_IAVF_TX_DESC_CMD_L4T_EOFT_SCTP,4,2 ; @IAVF_TX_DESC_CMD_L4T_EOFT_SCTP
	.comm	_IAVF_TX_DESC_CMD_L4T_EOFT_UDP,4,2 ; @IAVF_TX_DESC_CMD_L4T_EOFT_UDP
	.no_dead_strip	_iavf_tx_enable_csum
.subsections_via_symbols
