	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_ipsec_set_iv_esn         ## -- Begin function mlx5e_ipsec_set_iv_esn
	.p2align	4, 0x90
_mlx5e_ipsec_set_iv_esn:                ## @mlx5e_ipsec_set_iv_esn
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rsi), %rax
	movq	(%rax), %r14
	callq	_skb_is_gso
	xorl	%edi, %edi
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_MLX5E_IPSEC_ESN_SCOPE_MID@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	cmpq	%r15, %r14
	jge	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_skb_shinfo
	subq	(%rax), %r14
	xorl	%edi, %edi
	cmpq	%r14, %r15
	setl	%dil
LBB0_3:
	callq	_unlikely
	callq	_cpu_to_be64
	movl	%eax, -28(%rbp)
	movq	%rbx, %rdi
	callq	_skb_transport_offset
                                        ## kill: def $eax killed $eax def $rax
	leal	4(%rax), %esi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_skb_store_bits
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_IPSEC_ESN_SCOPE_MID,8,3  ## @MLX5E_IPSEC_ESN_SCOPE_MID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_ipsec_set_iv_esn         ; -- Begin function mlx5e_ipsec_set_iv_esn
	.p2align	2
_mlx5e_ipsec_set_iv_esn:                ; @mlx5e_ipsec_set_iv_esn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	ldr	x8, [x1]
	ldr	x20, [x8]
	bl	_skb_is_gso
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _MLX5E_IPSEC_ESN_SCOPE_MID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5E_IPSEC_ESN_SCOPE_MID@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	cmp	x20, x21
	b.ge	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_skb_shinfo
	ldr	x8, [x0]
	sub	x8, x20, x8
	cmp	x21, x8
	cset	w0, lt
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	bl	_unlikely
	bl	_cpu_to_be64
	str	w0, [sp, #12]
	mov	x0, x19
	bl	_skb_transport_offset
	add	w1, w0, #4
	add	x2, sp, #12
	mov	x0, x19
	mov	w3, #8
	bl	_skb_store_bits
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_IPSEC_ESN_SCOPE_MID,8,3  ; @MLX5E_IPSEC_ESN_SCOPE_MID
.subsections_via_symbols
