	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_tso
_fm10k_tso:                             ## @fm10k_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rsi), %r12
	movq	(%r12), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%r12, %rdi
	callq	_skb_is_gso
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	cmpq	$0, 16(%r12)
	je	LBB0_5
## %bb.3:
	movq	%r12, %rdi
	callq	_fm10k_tx_encap_offload
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	movq	%r12, %rdi
	callq	_skb_inner_transport_header
	jmp	LBB0_6
LBB0_5:
	movq	%r12, %rdi
	callq	_skb_transport_header
LBB0_6:
	movl	8(%r12), %ecx
	movl	%eax, %edx
	subl	%ecx, %edx
	movl	(%rax), %eax
	leal	(%rdx,%rax,4), %r13d
	movq	_FM10K_TX_FLAGS_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r15)
	movq	%r12, %rdi
	callq	_skb_shinfo
	movl	4(%rax), %eax
	movl	%eax, 4(%r15)
	decl	%eax
	imull	%r13d, %eax
	addl	%eax, (%r15)
	movl	8(%r14), %esi
	movq	%r14, %rdi
	callq	_FM10K_TX_DESC
	movq	%rax, %rbx
	movl	%r13d, (%rax)
	movq	%r12, %rdi
	callq	_skb_shinfo
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movl	%eax, 4(%rbx)
	movl	$1, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_NETIF_F_GSO_UDP_TUNNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	(%r14), %rcx
	andl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_net_ratelimit
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_FM10K_TX_FLAGS_CSUM,4,2        ## @FM10K_TX_FLAGS_CSUM
	.comm	_NETIF_F_GSO_UDP_TUNNEL,4,2     ## @NETIF_F_GSO_UDP_TUNNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TSO requested for unsupported tunnel, disabling offload\n"

	.no_dead_strip	_fm10k_tso
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_tso
_fm10k_tso:                             ; @fm10k_tso
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x20, [x1, #16]
	ldr	x8, [x20]
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	x21, x1
	mov	x19, x0
	mov	x0, x20
	bl	_skb_is_gso
	cbz	w0, LBB0_11
; %bb.2:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_fm10k_tx_encap_offload
	cbz	w0, LBB0_8
; %bb.4:
	mov	x0, x20
	bl	_skb_inner_transport_header
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_11
LBB0_6:
	mov	x0, x20
	bl	_skb_transport_header
LBB0_7:
	ldr	w8, [x20, #8]
	sub	w8, w0, w8
	ldr	w9, [x0]
	add	w22, w8, w9, lsl #2
Lloh3:
	adrp	x8, _FM10K_TX_FLAGS_CSUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FM10K_TX_FLAGS_CSUM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x21, #8]
	orr	w8, w9, w8
	str	w8, [x21, #8]
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w8, [x0, #4]
	sub	w9, w8, #1
	ldr	w10, [x21]
	madd	w9, w9, w22, w10
	stp	w9, w8, [x21]
	ldr	w1, [x19, #8]
	mov	x0, x19
	bl	_FM10K_TX_DESC
	mov	x19, x0
	str	w22, [x0]
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w0, [x0]
	bl	_cpu_to_le16
	str	w0, [x19, #4]
	mov	w0, #1
	b	LBB0_11
LBB0_8:
Lloh6:
	adrp	x8, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
	bl	_net_ratelimit
	cbz	x0, LBB0_10
; %bb.9:
	ldr	x0, [x19]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
LBB0_10:
	mov	w0, #-1
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_FM10K_TX_FLAGS_CSUM,4,2        ; @FM10K_TX_FLAGS_CSUM
	.comm	_NETIF_F_GSO_UDP_TUNNEL,4,2     ; @NETIF_F_GSO_UDP_TUNNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TSO requested for unsupported tunnel, disabling offload\n"

	.no_dead_strip	_fm10k_tso
.subsections_via_symbols
