	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_tx_pkt
_qlcnic_tx_pkt:                         ## @qlcnic_tx_pkt
	.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
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	16(%rdx), %rdi
	callq	_ntohs
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r12
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	(%r15), %rbx
	movq	_QLCNIC_FLAGS_VLAN_TAGGED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rdi
	callq	_ntohs
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rdi
	callq	_ntohs
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_2:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_skb_vlan_tag_present
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_QLCNIC_FLAGS_VLAN_OOB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_skb_vlan_tag_get
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_4:
	movq	(%r14), %rdi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	movq	_QLCNIC_TAGGING_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r14)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_12
## %bb.9:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_39
LBB0_5:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_6:
	movq	(%r14), %rdi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:
	movq	_QLCNIC_FLAGS_VLAN_OOB@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%r14), %rax
	jmp	LBB0_11
LBB0_7:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
LBB0_11:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_12:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_qlcnic_set_tx_vlan_tci
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_qlcnic_set_tx_flags_opcode
	movq	(%r15), %rsi
	movq	_BIT_0@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	testl	%eax, (%rsi)
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	je	LBB0_14
## %bb.13:
	orq	%rax, %rbx
	leaq	16(%r13), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
LBB0_14:
	movq	_QLCNIC_TX_ETHER_PKT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r15, %rdi
	callq	_skb_is_gso
	testq	%rax, %rax
	je	LBB0_26
## %bb.15:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_skb_transport_offset
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_tcp_hdrlen
	movq	%r15, %rdi
	movl	%eax, %r15d
	addl	%r14d, %r15d
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_skb_shinfo
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movl	%eax, 12(%r13)
	movl	%r15d, (%r13)
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rax), %rcx
	jne	LBB0_16
## %bb.17:
	movq	_QLCNIC_TX_TCP_LSO6@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_26:
	movq	8(%r15), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
## %bb.27:
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rax), %rcx
	jne	LBB0_32
## %bb.28:
	movq	%r15, %rdi
	callq	_ip_hdr
	movl	(%rax), %eax
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_30
## %bb.29:
	movq	_QLCNIC_TX_TCP_PKT@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_16:
	movq	_QLCNIC_TX_TCP_LSO@GOTPCREL(%rip), %rax
LBB0_18:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	_QLCNIC_FLAGS_VLAN_OOB@GOTPCREL(%rip), %rax
	testq	%rcx, (%rax)
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	je	LBB0_19
## %bb.20:
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	addl	%r15d, %eax
	movl	%eax, (%r13)
	movl	(%rdx), %esi
	movl	%esi, 4(%r13)
	movl	%esi, 8(%r13)
	movq	_QLCNIC_FLAGS_VLAN_TAGGED@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	16(%r15), %rax
	movq	24(%r15), %r13
	leaq	(%r12,%r12,4), %r14
	movq	$0, (%rax,%r12,8)
	addl	-68(%rbp), %esi                 ## 4-byte Folded Reload
	movl	$18, %edi
	callq	_min
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	2(,%r14,4), %rsi
	addq	%r13, %rsi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$12, %edx
	callq	_skb_copy_from_linear_data
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_htons
	movq	%rax, 10(%r13,%r14,4)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_htons
	movq	%rax, 2(%r13,%r14,4)
	leaq	18(,%r14,4), %rdx
	addq	%r13, %rdx
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	leal	-16(%r13), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rbx
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movl	$12, %esi
	callq	_skb_copy_from_linear_data_offset
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	movl	8(%rbx), %esi
	movq	%r12, %rdi
	callq	_get_next_index
	movq	%rax, %r12
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_19:
	movl	$2, %eax
	xorl	%r13d, %r13d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_21:
	movl	%r15d, %esi
	subl	%r13d, %esi
	jle	LBB0_25
## %bb.22:
	movl	$20, %edi
	subl	%eax, %edi
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	callq	_min
	movl	%eax, %r14d
	leaq	(%r12,%r12,4), %rax
	shlq	$2, %rax
	addq	24(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	$0, (%rcx,%r12,8)
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	addq	%rax, %rdx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%r14d, %ecx
	callq	_skb_copy_from_linear_data_offset
	addl	%r13d, %r14d
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %esi
	movq	%r12, %rdi
	callq	_get_next_index
	movq	%rax, %r12
	cmpl	%r14d, %r15d
	jle	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_24 Depth=1
	movl	%r15d, %esi
	subl	%r14d, %esi
	movl	$20, %edi
	callq	_min
	movl	%eax, %r13d
	leaq	(%r12,%r12,4), %rdx
	shlq	$2, %rdx
	addq	24(%rbx), %rdx
	movq	16(%rbx), %rax
	movq	$0, (%rax,%r12,8)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%r13d, %ecx
	callq	_skb_copy_from_linear_data_offset
	addl	%r13d, %r14d
	jmp	LBB0_24
LBB0_25:
	movq	%r12, (%rbx)
	xorl	%eax, %eax
	callq	_smp_mb
	movq	-112(%rbp), %rax                ## 8-byte Reload
	incl	12(%rax)
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	-64(%rbp), %r14d                ## 4-byte Reload
LBB0_38:
	movq	%r15, %rdi
	callq	_skb_transport_offset
	addl	%eax, 4(%r13)
	movq	%r15, %rdi
	callq	_skb_network_offset
	addl	%eax, 8(%r13)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_qlcnic_set_tx_flags_opcode
	xorl	%eax, %eax
LBB0_39:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_38
## %bb.33:
	movq	%r15, %rdi
	callq	_ipv6_hdr
	movl	(%rax), %eax
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_35
## %bb.34:
	movq	_QLCNIC_TX_TCPV6_PKT@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_30:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_38
## %bb.31:
	movq	_QLCNIC_TX_UDP_PKT@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_35:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_38
## %bb.36:
	movq	_QLCNIC_TX_UDPV6_PKT@GOTPCREL(%rip), %rax
LBB0_37:
	movl	(%rax), %r14d
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_8021Q,8,3                ## @ETH_P_8021Q
	.comm	_QLCNIC_FLAGS_VLAN_TAGGED,8,3   ## @QLCNIC_FLAGS_VLAN_TAGGED
	.comm	_QLCNIC_FLAGS_VLAN_OOB,8,3      ## @QLCNIC_FLAGS_VLAN_OOB
	.comm	_QLCNIC_TAGGING_ENABLED,4,2     ## @QLCNIC_TAGGING_ENABLED
	.comm	_EIO,4,2                        ## @EIO
	.comm	_BIT_0,4,2                      ## @BIT_0
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_QLCNIC_TX_ETHER_PKT,4,2        ## @QLCNIC_TX_ETHER_PKT
	.comm	_ETH_P_IPV6,8,3                 ## @ETH_P_IPV6
	.comm	_QLCNIC_TX_TCP_LSO6,4,2         ## @QLCNIC_TX_TCP_LSO6
	.comm	_QLCNIC_TX_TCP_LSO,4,2          ## @QLCNIC_TX_TCP_LSO
	.comm	_VLAN_HLEN,4,2                  ## @VLAN_HLEN
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_ETH_P_IP,8,3                   ## @ETH_P_IP
	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
	.comm	_QLCNIC_TX_TCP_PKT,4,2          ## @QLCNIC_TX_TCP_PKT
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
	.comm	_QLCNIC_TX_UDP_PKT,4,2          ## @QLCNIC_TX_UDP_PKT
	.comm	_QLCNIC_TX_TCPV6_PKT,4,2        ## @QLCNIC_TX_TCPV6_PKT
	.comm	_QLCNIC_TX_UDPV6_PKT,4,2        ## @QLCNIC_TX_UDPV6_PKT
	.no_dead_strip	_qlcnic_tx_pkt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_tx_pkt
_qlcnic_tx_pkt:                         ; @qlcnic_tx_pkt
	.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	x23, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x0, [x2, #16]
	bl	_ntohs
	ldr	x24, [x23]
Lloh0:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x25, [x20]
Lloh3:
	adrp	x8, _QLCNIC_FLAGS_VLAN_TAGGED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_FLAGS_VLAN_TAGGED@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
	ldr	x0, [x25]
	bl	_ntohs
	mov	x27, x0
	ldr	x0, [x25, #16]
	bl	_ntohs
	mov	x26, x0
	b	LBB0_4
LBB0_2:
	mov	x26, x0
	mov	x0, x20
	bl	_skb_vlan_tag_present
	cbz	x0, LBB0_7
; %bb.3:
Lloh6:
	adrp	x8, _QLCNIC_FLAGS_VLAN_OOB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QLCNIC_FLAGS_VLAN_OOB@GOTPAGEOFF]
Lloh8:
	ldr	x21, [x8]
	mov	x0, x20
	bl	_skb_vlan_tag_get
	mov	x27, x0
LBB0_4:
	ldr	x0, [x22]
	bl	_unlikely
	cbz	x0, LBB0_10
; %bb.5:
	ldr	w8, [x22, #8]
Lloh9:
	adrp	x9, _QLCNIC_TAGGING_ENABLED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _QLCNIC_TAGGING_ENABLED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_10
; %bb.6:
Lloh12:
	adrp	x8, _EIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_26
LBB0_7:
	ldr	x0, [x22]
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.8:
Lloh15:
	adrp	x8, _QLCNIC_FLAGS_VLAN_OOB@GOTPAGE
Lloh16:
	ldr	x8, [x8, _QLCNIC_FLAGS_VLAN_OOB@GOTPAGEOFF]
Lloh17:
	ldr	x21, [x8]
	ldr	x27, [x22]
	b	LBB0_10
LBB0_9:
	mov	x21, #0
	mov	x27, #0
LBB0_10:
	mov	x0, x19
	mov	x1, x27
	bl	_qlcnic_set_tx_vlan_tci
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_qlcnic_set_tx_flags_opcode
	ldr	x1, [x20]
	ldr	w9, [x1]
Lloh18:
	adrp	x8, _BIT_0@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BIT_0@GOTPAGEOFF]
Lloh20:
	ldrsw	x8, [x8]
	tst	w8, w9
	b.eq	LBB0_12
; %bb.11:
	orr	x21, x21, x8
	add	x0, x19, #16
Lloh21:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	bl	_memcpy
LBB0_12:
Lloh24:
	adrp	x8, _QLCNIC_TX_ETHER_PKT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _QLCNIC_TX_ETHER_PKT@GOTPAGEOFF]
Lloh26:
	ldr	w25, [x8]
	mov	x0, x20
	bl	_skb_is_gso
	cbz	x0, LBB0_15
; %bb.13:
	mov	x0, x20
	bl	_skb_transport_offset
	mov	x25, x0
	mov	x0, x20
	bl	_tcp_hdrlen
	add	w28, w0, w25
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w0, [x0]
	bl	_cpu_to_le16
	str	w0, [x19, #12]
	str	w28, [x19]
Lloh27:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
Lloh30:
	adrp	x9, _QLCNIC_TX_TCP_LSO6@GOTPAGE
Lloh31:
	ldr	x9, [x9, _QLCNIC_TX_TCP_LSO6@GOTPAGEOFF]
Lloh32:
	adrp	x10, _QLCNIC_TX_TCP_LSO@GOTPAGE
Lloh33:
	ldr	x10, [x10, _QLCNIC_TX_TCP_LSO@GOTPAGEOFF]
	cmp	x26, x8
	csel	x8, x9, x10, eq
	ldr	w9, [x8]
Lloh34:
	adrp	x8, _QLCNIC_FLAGS_VLAN_OOB@GOTPAGE
Lloh35:
	ldr	x8, [x8, _QLCNIC_FLAGS_VLAN_OOB@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	tst	x8, x21
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	b.eq	LBB0_19
; %bb.14:
Lloh37:
	adrp	x9, _VLAN_HLEN@GOTPAGE
Lloh38:
	ldr	x9, [x9, _VLAN_HLEN@GOTPAGEOFF]
	ldr	w8, [x9]
	mov	x11, x9
	add	w8, w8, w28
	str	w8, [x19]
Lloh39:
	adrp	x8, _QLCNIC_FLAGS_VLAN_TAGGED@GOTPAGE
Lloh40:
	ldr	x8, [x8, _QLCNIC_FLAGS_VLAN_TAGGED@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	orr	x21, x8, x21
	mov	w8, #20
	ldp	x10, x9, [x23, #16]
	madd	x25, x24, x8, x9
	ldr	w8, [x11]
	stp	w8, w8, [x19, #4]
	str	xzr, [x10, x24, lsl #3]
	add	w1, w8, w28
	mov	w0, #18
	bl	_min
	mov	x26, x0
	add	x1, x25, #2
	mov	x0, x20
	mov	w2, #12
	bl	_skb_copy_from_linear_data
Lloh42:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh44:
	ldr	x0, [x8]
	bl	_htons
	stur	x0, [x25, #10]
	mov	x0, x27
	bl	_htons
	stur	x0, [x25, #2]
	add	x2, x25, #18
	sub	w3, w26, #16
	mov	x0, x20
	mov	w1, #12
	bl	_skb_copy_from_linear_data_offset
Lloh45:
	adrp	x8, _VLAN_HLEN@GOTPAGE
Lloh46:
	ldr	x8, [x8, _VLAN_HLEN@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	sub	w26, w26, w8
	ldr	w1, [x23, #8]
	mov	x0, x24
	bl	_get_next_index
	mov	x24, x0
	mov	w25, #0
	subs	w1, w28, w26
	b.gt	LBB0_20
	b	LBB0_24
LBB0_15:
	ldr	x8, [x20, #8]
Lloh48:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh49:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.16:
Lloh51:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	cmp	x26, x8
	b.ne	LBB0_27
; %bb.17:
	mov	x0, x20
	bl	_ip_hdr
	ldr	w8, [x0]
Lloh54:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh55:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_30
; %bb.18:
Lloh57:
	adrp	x8, _QLCNIC_TX_TCP_PKT@GOTPAGE
Lloh58:
	ldr	x8, [x8, _QLCNIC_TX_TCP_PKT@GOTPAGEOFF]
Lloh59:
	ldr	w25, [x8]
	b	LBB0_25
LBB0_19:
	mov	w26, #0
	mov	w25, #2
	subs	w1, w28, w26
	b.le	LBB0_24
LBB0_20:
	str	x22, [sp]                       ; 8-byte Folded Spill
	mov	w22, #20
	sub	w0, w22, w25
	bl	_min
	mov	x27, x0
	ldp	x9, x8, [x23, #16]
	madd	x8, x24, x22, x8
	str	xzr, [x9, x24, lsl #3]
	add	x2, x8, w25, uxtw
	mov	x0, x20
	mov	x1, x26
	mov	x3, x27
	bl	_skb_copy_from_linear_data_offset
	add	w26, w27, w26
	ldr	w1, [x23, #8]
	mov	x0, x24
	bl	_get_next_index
	mov	x24, x0
	cmp	w28, w26
	b.le	LBB0_23
; %bb.21:
	mov	w25, #20
	ldr	x22, [sp]                       ; 8-byte Folded Reload
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	sub	w1, w28, w26
	mov	w0, #20
	bl	_min
	mov	x27, x0
	ldp	x9, x8, [x23, #16]
	madd	x2, x24, x25, x8
	str	xzr, [x9, x24, lsl #3]
	mov	x0, x20
	mov	x1, x26
	mov	x3, x27
	bl	_skb_copy_from_linear_data_offset
	add	w26, w27, w26
	ldr	w1, [x23, #8]
	mov	x0, x24
	bl	_get_next_index
	mov	x24, x0
	cmp	w28, w26
	b.gt	LBB0_22
	b	LBB0_24
LBB0_23:
	ldr	x22, [sp]                       ; 8-byte Folded Reload
LBB0_24:
	str	x24, [x23]
	bl	_smp_mb
	ldr	w8, [x22, #12]
	add	w8, w8, #1
	str	w8, [x22, #12]
	ldr	w25, [sp, #12]                  ; 4-byte Folded Reload
LBB0_25:
	mov	x0, x20
	bl	_skb_transport_offset
	ldr	w8, [x19, #4]
	add	w8, w8, w0
	str	w8, [x19, #4]
	mov	x0, x20
	bl	_skb_network_offset
	ldr	w8, [x19, #8]
	add	w8, w8, w0
	str	w8, [x19, #8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	bl	_qlcnic_set_tx_flags_opcode
	mov	w0, #0
LBB0_26:
	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
LBB0_27:
Lloh60:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh62:
	ldr	x8, [x8]
	cmp	x26, x8
	b.ne	LBB0_25
; %bb.28:
	mov	x0, x20
	bl	_ipv6_hdr
	ldr	w8, [x0]
Lloh63:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh64:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_31
; %bb.29:
Lloh66:
	adrp	x8, _QLCNIC_TX_TCPV6_PKT@GOTPAGE
Lloh67:
	ldr	x8, [x8, _QLCNIC_TX_TCPV6_PKT@GOTPAGEOFF]
Lloh68:
	ldr	w25, [x8]
	b	LBB0_25
LBB0_30:
Lloh69:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh70:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
Lloh72:
	adrp	x10, _QLCNIC_TX_UDP_PKT@GOTPAGE
Lloh73:
	ldr	x10, [x10, _QLCNIC_TX_UDP_PKT@GOTPAGEOFF]
	b	LBB0_32
LBB0_31:
Lloh74:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh75:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
Lloh77:
	adrp	x10, _QLCNIC_TX_UDPV6_PKT@GOTPAGE
Lloh78:
	ldr	x10, [x10, _QLCNIC_TX_UDPV6_PKT@GOTPAGEOFF]
LBB0_32:
	ldr	w10, [x10]
	cmp	w8, w9
	csel	w25, w10, w25, eq
	b	LBB0_25
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_8021Q,8,3                ; @ETH_P_8021Q
	.comm	_QLCNIC_FLAGS_VLAN_TAGGED,8,3   ; @QLCNIC_FLAGS_VLAN_TAGGED
	.comm	_QLCNIC_FLAGS_VLAN_OOB,8,3      ; @QLCNIC_FLAGS_VLAN_OOB
	.comm	_QLCNIC_TAGGING_ENABLED,4,2     ; @QLCNIC_TAGGING_ENABLED
	.comm	_EIO,4,2                        ; @EIO
	.comm	_BIT_0,4,2                      ; @BIT_0
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_QLCNIC_TX_ETHER_PKT,4,2        ; @QLCNIC_TX_ETHER_PKT
	.comm	_ETH_P_IPV6,8,3                 ; @ETH_P_IPV6
	.comm	_QLCNIC_TX_TCP_LSO6,4,2         ; @QLCNIC_TX_TCP_LSO6
	.comm	_QLCNIC_TX_TCP_LSO,4,2          ; @QLCNIC_TX_TCP_LSO
	.comm	_VLAN_HLEN,4,2                  ; @VLAN_HLEN
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_ETH_P_IP,8,3                   ; @ETH_P_IP
	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
	.comm	_QLCNIC_TX_TCP_PKT,4,2          ; @QLCNIC_TX_TCP_PKT
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
	.comm	_QLCNIC_TX_UDP_PKT,4,2          ; @QLCNIC_TX_UDP_PKT
	.comm	_QLCNIC_TX_TCPV6_PKT,4,2        ; @QLCNIC_TX_TCPV6_PKT
	.comm	_QLCNIC_TX_UDPV6_PKT,4,2        ; @QLCNIC_TX_UDPV6_PKT
	.no_dead_strip	_qlcnic_tx_pkt
.subsections_via_symbols
