	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_ipsec_set_metadata
_mlx5e_ipsec_set_metadata:              ## @mlx5e_ipsec_set_metadata
	.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	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_skb_is_gso
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_ip_esp_hdr
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_inner_tcp_hdr
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %r12
	movl	20(%rbx), %edx
	movl	16(%rbx), %ecx
	movl	12(%rbx), %r8d
	movl	(%rbx), %edi
	movl	8(%rbx), %r9d
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	movl	(%rbx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	4(%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	8(%r12), %edi
	callq	_ntohs
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%r12), %edi
	callq	_ntohs
	movl	%eax, %r15d
	movl	(%r12), %edi
	callq	_ntohl
	movl	%eax, %r13d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_ntohl
	movl	%eax, %r10d
	leaq	L_.str.1(%rip), %rsi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r15d, %r9d
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r13
	callq	_netdev_dbg
	addq	$16, %rsp
	movq	_MLX5E_IPSEC_TX_SYNDROME_OFFLOAD_WITH_LSO_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movq	%rbx, %rdi
	callq	_mlx5e_ipsec_mss_inv
	movl	%eax, 4(%r14)
	movl	(%r12), %edi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	callq	_ntohl
	movzwl	%ax, %edi
	callq	_htons
	movl	%eax, (%r14)
	movl	12(%r14), %r15d
	jmp	LBB0_3
LBB0_2:
	movq	_MLX5E_IPSEC_TX_SYNDROME_OFFLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r15d, 12(%r14)
LBB0_3:
	movl	(%r12), %r12d
	movl	%r12d, 8(%r14)
	movl	(%rbx), %r13d
	movl	4(%r14), %edi
	callq	_ntohs
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_ntohs
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_dbg                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"   Offloading GSO packet outer L3 %u; L4 %u; Inner L3 %u; L4 %u\n"

L_.str.1:                               ## @.str.1
	.asciz	"   Offloading GSO packet of len %u; mss %u; TCP sp %u dp %u seq 0x%x ESP seq 0x%x\n"

	.comm	_MLX5E_IPSEC_TX_SYNDROME_OFFLOAD_WITH_LSO_TCP,4,2 ## @MLX5E_IPSEC_TX_SYNDROME_OFFLOAD_WITH_LSO_TCP
	.comm	_MLX5E_IPSEC_TX_SYNDROME_OFFLOAD,4,2 ## @MLX5E_IPSEC_TX_SYNDROME_OFFLOAD
L_.str.2:                               ## @.str.2
	.asciz	"   TX metadata syndrome %u proto %u mss_inv %04x seq %04x\n"

	.no_dead_strip	_mlx5e_ipsec_set_metadata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_ipsec_set_metadata
_mlx5e_ipsec_set_metadata:              ; @mlx5e_ipsec_set_metadata
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x2
	mov	x19, x1
	mov	x20, x0
	bl	_skb_is_gso
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_ip_esp_hdr
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	mov	x0, x20
	bl	_inner_tcp_hdr
	mov	x22, x0
	ldr	w0, [x20]
	ldp	w3, w2, [x20, #16]
	ldp	w5, w4, [x20, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_dbg
	ldp	w24, w25, [x20]
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w26, [x0]
	ldr	w0, [x22, #8]
	bl	_ntohs
	mov	x27, x0
	ldr	w0, [x22, #4]
	bl	_ntohs
	mov	x28, x0
	ldr	w0, [x22]
	bl	_ntohl
	mov	x21, x0
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_ntohl
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	mov	x2, x25
	mov	x3, x26
	mov	x4, x27
	mov	x5, x28
	bl	_netdev_dbg
Lloh4:
	adrp	x8, _MLX5E_IPSEC_TX_SYNDROME_OFFLOAD_WITH_LSO_TCP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MLX5E_IPSEC_TX_SYNDROME_OFFLOAD_WITH_LSO_TCP@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	mov	x0, x20
	bl	_mlx5e_ipsec_mss_inv
	str	w0, [x19, #4]
	ldr	w0, [x22]
	bl	_ntohl
	and	w0, w0, #0xffff
	bl	_htons
	str	w0, [x19]
	ldr	w22, [x19, #12]
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, _MLX5E_IPSEC_TX_SYNDROME_OFFLOAD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MLX5E_IPSEC_TX_SYNDROME_OFFLOAD@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x8]
	str	w22, [x19, #12]
LBB0_3:
	ldr	w21, [x23]
	str	w21, [x19, #8]
	ldr	w20, [x20]
	ldr	w0, [x19, #4]
	bl	_ntohs
	mov	x23, x0
	ldr	w0, [x19]
	bl	_ntohs
	mov	x5, x0
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	mov	x3, x21
	mov	x4, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_netdev_dbg
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"   Offloading GSO packet outer L3 %u; L4 %u; Inner L3 %u; L4 %u\n"

l_.str.1:                               ; @.str.1
	.asciz	"   Offloading GSO packet of len %u; mss %u; TCP sp %u dp %u seq 0x%x ESP seq 0x%x\n"

	.comm	_MLX5E_IPSEC_TX_SYNDROME_OFFLOAD_WITH_LSO_TCP,4,2 ; @MLX5E_IPSEC_TX_SYNDROME_OFFLOAD_WITH_LSO_TCP
	.comm	_MLX5E_IPSEC_TX_SYNDROME_OFFLOAD,4,2 ; @MLX5E_IPSEC_TX_SYNDROME_OFFLOAD
l_.str.2:                               ; @.str.2
	.asciz	"   TX metadata syndrome %u proto %u mss_inv %04x seq %04x\n"

	.no_dead_strip	_mlx5e_ipsec_set_metadata
.subsections_via_symbols
