	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_tx_get_gso_ihs
_mlx5e_tx_get_gso_ihs:                  ## @mlx5e_tx_get_gso_ihs
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %r12
	cmpq	$0, 8(%rsi)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_skb_inner_transport_offset
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_inner_tcp_hdrlen
	movq	%rax, %rbx
	incl	12(%r12)
	addq	%r15, %rbx
	movq	(%r14), %rax
	subq	%rbx, %rax
	addq	$8, %r12
	jmp	LBB0_6
LBB0_2:
	movq	%r14, %rdi
	callq	_skb_shinfo
	movq	_SKB_GSO_UDP_L4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	andl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_skb_transport_offset
	movq	%rax, %rbx
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	addq	$4, %rbx
	jmp	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	callq	_tcp_hdrlen
	addq	%rax, %rbx
LBB0_5:
	incl	4(%r12)
	movq	(%r14), %rax
	subq	%rbx, %rax
LBB0_6:
	addl	%eax, (%r12)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SKB_GSO_UDP_L4,4,2             ## @SKB_GSO_UDP_L4
	.no_dead_strip	_mlx5e_tx_get_gso_ihs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_tx_get_gso_ihs
_mlx5e_tx_get_gso_ihs:                  ; @mlx5e_tx_get_gso_ihs
	.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
	mov	x19, x1
	ldr	x21, [x0]
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_skb_inner_transport_offset
	mov	x20, x0
	mov	x0, x19
	bl	_inner_tcp_hdrlen
	ldr	w8, [x21, #12]
	add	w8, w8, #1
	str	w8, [x21, #12]
	ldr	x8, [x19]
	add	x0, x0, x20
	sub	x8, x8, x0
	add	x21, x21, #8
	b	LBB0_6
LBB0_2:
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SKB_GSO_UDP_L4@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SKB_GSO_UDP_L4@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w22, w9, w8
	mov	x0, x19
	bl	_skb_transport_offset
	mov	x20, x0
	cbz	w22, LBB0_4
; %bb.3:
	add	x0, x20, #4
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_tcp_hdrlen
	add	x0, x0, x20
LBB0_5:
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
	ldr	x8, [x19]
	sub	x8, x8, x0
LBB0_6:
	ldr	w9, [x21]
	add	w8, w9, w8
	str	w8, [x21]
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_SKB_GSO_UDP_L4,4,2             ; @SKB_GSO_UDP_L4
	.no_dead_strip	_mlx5e_tx_get_gso_ihs
.subsections_via_symbols
