	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_tso
_igb_tso:                               ## @igb_tso
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rsi), %r14
	movq	(%r14), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%r14, %rdi
	callq	_skb_is_gso
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_skb_cow_head
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_skb_network_header
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_skb_checksum_start
	movq	%rax, %r12
	movq	_E1000_ADVTXD_TUCMD_L4T_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$4, (%rbx)
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_skb_checksum_start
	movslq	4(%rbx), %rcx
	leaq	(%rbx,%rcx,4), %rdi
	subl	%edi, %eax
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_csum_partial
	movl	%eax, %edi
	callq	_csum_fold
	movl	%eax, 16(%rbx)
	movq	_E1000_ADVTXD_TUCMD_IPV4@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	orl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	$0, 8(%rbx)
	movq	_IGB_TX_FLAGS_TSO@GOTPCREL(%rip), %rcx
	movq	_IGB_TX_FLAGS_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_IGB_TX_FLAGS_IPV4@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_3:
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_6:
	movq	$0, (%rbx)
	movq	_IGB_TX_FLAGS_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IGB_TX_FLAGS_TSO@GOTPCREL(%rip), %rcx
LBB0_7:
	orl	(%rcx), %eax
	orl	%eax, (%r15)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rcx
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %r13d
	subl	8(%r14), %r13d
	movl	(%r12), %eax
	leal	(%r13,%rax,4), %eax
	movl	%eax, (%rcx)
	movl	16(%r14), %edi
	subl	%r13d, %edi
	movq	%r12, %rbx
	addq	$4, %rbx
	callq	_htonl
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_csum_replace_by_diff
	movq	%r14, %rdi
	callq	_skb_shinfo
	movl	4(%rax), %eax
	movl	%eax, 8(%r15)
	decl	%eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	imull	(%rcx), %eax
	addl	%eax, 4(%r15)
	movl	(%rcx), %ebx
	subl	%r13d, %ebx
	movq	_E1000_ADVTXD_L4LEN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movq	%r14, %rdi
	callq	_skb_shinfo
	movl	(%rax), %r8d
	movq	_E1000_ADVTXD_MSS_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r8d
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	subl	%edx, %r12d
	movq	8(%r14), %rax
	subq	%rax, %rdx
	movq	_E1000_ADVTXD_MACLEN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %rdx
	movq	%rdx, %rcx
	orl	%ebx, %r8d
	movq	_IGB_TX_FLAGS_VLAN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	(%r15), %edx
	orl	%r12d, %edx
	orl	%ecx, %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_igb_tx_ctxtdesc
	movl	$1, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$40, %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	_E1000_ADVTXD_TUCMD_L4T_TCP,4,2 ## @E1000_ADVTXD_TUCMD_L4T_TCP
	.comm	_E1000_ADVTXD_TUCMD_IPV4,4,2    ## @E1000_ADVTXD_TUCMD_IPV4
	.comm	_IGB_TX_FLAGS_TSO,4,2           ## @IGB_TX_FLAGS_TSO
	.comm	_IGB_TX_FLAGS_CSUM,4,2          ## @IGB_TX_FLAGS_CSUM
	.comm	_IGB_TX_FLAGS_IPV4,4,2          ## @IGB_TX_FLAGS_IPV4
	.comm	_E1000_ADVTXD_L4LEN_SHIFT,4,2   ## @E1000_ADVTXD_L4LEN_SHIFT
	.comm	_E1000_ADVTXD_MSS_SHIFT,4,2     ## @E1000_ADVTXD_MSS_SHIFT
	.comm	_E1000_ADVTXD_MACLEN_SHIFT,4,2  ## @E1000_ADVTXD_MACLEN_SHIFT
	.comm	_IGB_TX_FLAGS_VLAN_MASK,4,2     ## @IGB_TX_FLAGS_VLAN_MASK
	.no_dead_strip	_igb_tso
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_tso
_igb_tso:                               ; @igb_tso
	.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
	ldr	x21, [x1, #16]
	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_5
; %bb.1:
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x21
	bl	_skb_is_gso
	cbz	w0, LBB0_8
; %bb.2:
	mov	x0, x21
	mov	w1, #0
	bl	_skb_cow_head
	tbnz	w0, #31, LBB0_8
; %bb.3:
	mov	x0, x21
	bl	_skb_network_header
	mov	x24, x0
	mov	x0, x21
	bl	_skb_checksum_start
	mov	x25, x0
Lloh3:
	adrp	x8, _E1000_ADVTXD_TUCMD_L4T_TCP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E1000_ADVTXD_TUCMD_L4T_TCP@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	ldr	w8, [x24]
	cmp	w8, #4
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x21
	bl	_skb_checksum_start
	ldrsw	x8, [x24, #4]
	add	x8, x24, x8, lsl #2
	sub	w1, w0, w8
	mov	x0, x8
	mov	w2, #0
	bl	_csum_partial
	bl	_csum_fold
	str	w0, [x24, #16]
Lloh6:
	adrp	x8, _E1000_ADVTXD_TUCMD_IPV4@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E1000_ADVTXD_TUCMD_IPV4@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w23, w8, w23
	str	xzr, [x24, #8]
Lloh9:
	adrp	x8, _IGB_TX_FLAGS_TSO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IGB_TX_FLAGS_TSO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _IGB_TX_FLAGS_CSUM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IGB_TX_FLAGS_CSUM@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _IGB_TX_FLAGS_IPV4@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IGB_TX_FLAGS_IPV4@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_8
LBB0_6:
	str	xzr, [x24]
Lloh17:
	adrp	x8, _IGB_TX_FLAGS_CSUM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IGB_TX_FLAGS_CSUM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _IGB_TX_FLAGS_TSO@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IGB_TX_FLAGS_TSO@GOTPAGEOFF]
LBB0_7:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	mov	x26, x25
	ldr	w8, [x26], #4
	ldr	w9, [x21, #8]
	sub	w27, w25, w9
	add	w8, w27, w8, lsl #2
	str	w8, [x22]
	ldr	w8, [x21, #16]
	sub	w0, w8, w27
	bl	_htonl
	mov	x1, x0
	mov	x0, x26
	bl	_csum_replace_by_diff
	mov	x0, x21
	bl	_skb_shinfo
	ldr	w8, [x0, #4]
	str	w8, [x19, #8]
	sub	w8, w8, #1
	ldr	w9, [x22]
	ldr	w10, [x19, #4]
	madd	w8, w9, w8, w10
	str	w8, [x19, #4]
	ldr	w8, [x22]
	sub	w8, w8, w27
Lloh22:
	adrp	x9, _E1000_ADVTXD_L4LEN_SHIFT@GOTPAGE
Lloh23:
	ldr	x9, [x9, _E1000_ADVTXD_L4LEN_SHIFT@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	lsl	w22, w8, w9
	mov	x0, x21
	bl	_skb_shinfo
Lloh25:
	adrp	x8, _E1000_ADVTXD_MSS_SHIFT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _E1000_ADVTXD_MSS_SHIFT@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh27:
	ldr	w8, [x8]
	lsl	w8, w9, w8
	orr	w4, w8, w22
	ldr	x8, [x21, #8]
	sub	x8, x24, x8
Lloh28:
	adrp	x9, _E1000_ADVTXD_MACLEN_SHIFT@GOTPAGE
Lloh29:
	ldr	x9, [x9, _E1000_ADVTXD_MACLEN_SHIFT@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	lsl	x8, x8, x9
	sub	w9, w25, w24
	orr	w8, w8, w9
	ldr	w9, [x19]
Lloh31:
	adrp	x10, _IGB_TX_FLAGS_VLAN_MASK@GOTPAGE
Lloh32:
	ldr	x10, [x10, _IGB_TX_FLAGS_VLAN_MASK@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	and	w9, w10, w9
	orr	w2, w9, w8
	mov	x0, x20
	mov	x1, x19
	mov	x3, x23
	bl	_igb_tx_ctxtdesc
	mov	w0, #1
LBB0_8:
	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
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_E1000_ADVTXD_TUCMD_L4T_TCP,4,2 ; @E1000_ADVTXD_TUCMD_L4T_TCP
	.comm	_E1000_ADVTXD_TUCMD_IPV4,4,2    ; @E1000_ADVTXD_TUCMD_IPV4
	.comm	_IGB_TX_FLAGS_TSO,4,2           ; @IGB_TX_FLAGS_TSO
	.comm	_IGB_TX_FLAGS_CSUM,4,2          ; @IGB_TX_FLAGS_CSUM
	.comm	_IGB_TX_FLAGS_IPV4,4,2          ; @IGB_TX_FLAGS_IPV4
	.comm	_E1000_ADVTXD_L4LEN_SHIFT,4,2   ; @E1000_ADVTXD_L4LEN_SHIFT
	.comm	_E1000_ADVTXD_MSS_SHIFT,4,2     ; @E1000_ADVTXD_MSS_SHIFT
	.comm	_E1000_ADVTXD_MACLEN_SHIFT,4,2  ; @E1000_ADVTXD_MACLEN_SHIFT
	.comm	_IGB_TX_FLAGS_VLAN_MASK,4,2     ; @IGB_TX_FLAGS_VLAN_MASK
	.no_dead_strip	_igb_tso
.subsections_via_symbols
