	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_ipsec_build_sp
_mlx5e_ipsec_build_sp:                  ## @mlx5e_ipsec_build_sp
	.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	%rdx, %r14
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_secpath_set
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%r15), %rdi
	addq	$8, %rdi
	jmp	LBB0_13
LBB0_2:
	movl	8(%r14), %edi
	callq	_be32_to_cpu
	movq	(%r15), %rdi
	movl	%eax, %esi
	callq	_mlx5e_ipsec_sadb_rx_lookup
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%r15), %rdi
	addq	$4, %rdi
LBB0_13:
	callq	_atomic64_inc
	xorl	%r12d, %r12d
LBB0_14:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	callq	_skb_sec_path
	movq	8(%rax), %rcx
	movslq	4(%rax), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 4(%rax)
	movq	%r12, (%rcx,%rdx,8)
	incl	(%rax)
	movq	%rbx, %rdi
	callq	_xfrm_offload
	movq	%rax, %rbx
	movq	_CRYPTO_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	(%r14), %eax
	cmpl	$130, %eax
	je	LBB0_9
## %bb.5:
	cmpl	$129, %eax
	je	LBB0_11
## %bb.6:
	cmpl	$128, %eax
	jne	LBB0_12
## %bb.7:
	movq	_CRYPTO_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	(%r15), %rax
	movl	12(%rax), %edi
	callq	_likely
	testl	%eax, %eax
	je	LBB0_14
## %bb.8:
	movq	_XFRM_ESP_NO_TRAILER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_14
LBB0_9:
	movq	_CRYPTO_TUNNEL_ESP_AUTH_FAILED@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_11:
	movq	_CRYPTO_INVALID_PROTOCOL@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_14
LBB0_12:
	movq	(%r15), %rdi
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_DONE,4,2                ## @CRYPTO_DONE
	.comm	_CRYPTO_SUCCESS,4,2             ## @CRYPTO_SUCCESS
	.comm	_XFRM_ESP_NO_TRAILER,4,2        ## @XFRM_ESP_NO_TRAILER
	.comm	_CRYPTO_TUNNEL_ESP_AUTH_FAILED,4,2 ## @CRYPTO_TUNNEL_ESP_AUTH_FAILED
	.comm	_CRYPTO_INVALID_PROTOCOL,4,2    ## @CRYPTO_INVALID_PROTOCOL
	.no_dead_strip	_mlx5e_ipsec_build_sp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_ipsec_build_sp
_mlx5e_ipsec_build_sp:                  ; @mlx5e_ipsec_build_sp
	.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, x2
	mov	x22, x1
	bl	_netdev_priv
	mov	x21, x0
	mov	x0, x22
	bl	_secpath_set
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	add	x0, x8, #8
	b	LBB0_4
LBB0_2:
	ldr	w0, [x19, #8]
	bl	_be32_to_cpu
	mov	x1, x0
	ldr	x0, [x21]
	bl	_mlx5e_ipsec_sadb_rx_lookup
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x8, [x21]
	add	x0, x8, #4
LBB0_4:
	bl	_atomic64_inc
	mov	x20, #0
LBB0_5:
	mov	x0, x20
	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
LBB0_6:
	mov	x0, x22
	bl	_skb_sec_path
	ldr	x8, [x0, #8]
	ldp	w10, w9, [x0]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	w11, w9, #1
	str	x20, [x8, x9, lsl #3]
	add	w8, w10, #1
	stp	w8, w11, [x0]
	mov	x0, x22
	bl	_xfrm_offload
	mov	x22, x0
Lloh0:
	adrp	x8, _CRYPTO_DONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPTO_DONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	ldr	w8, [x19]
	cmp	w8, #130
	b.eq	LBB0_11
; %bb.7:
	cmp	w8, #129
	b.eq	LBB0_12
; %bb.8:
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.9:
Lloh3:
	adrp	x8, _CRYPTO_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CRYPTO_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x22]
	ldr	x8, [x21]
	ldr	w0, [x8, #12]
	bl	_likely
	cbz	w0, LBB0_5
; %bb.10:
Lloh6:
	adrp	x8, _XFRM_ESP_NO_TRAILER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XFRM_ESP_NO_TRAILER@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x22, #8]
	orr	w8, w9, w8
	ldr	w9, [x19, #4]
	stp	w9, w8, [x22, #4]
	b	LBB0_5
LBB0_11:
Lloh9:
	adrp	x8, _CRYPTO_TUNNEL_ESP_AUTH_FAILED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CRYPTO_TUNNEL_ESP_AUTH_FAILED@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh11:
	adrp	x8, _CRYPTO_INVALID_PROTOCOL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CRYPTO_INVALID_PROTOCOL@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	str	w8, [x22]
	b	LBB0_5
LBB0_14:
	ldr	x0, [x21]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_DONE,4,2                ; @CRYPTO_DONE
	.comm	_CRYPTO_SUCCESS,4,2             ; @CRYPTO_SUCCESS
	.comm	_XFRM_ESP_NO_TRAILER,4,2        ; @XFRM_ESP_NO_TRAILER
	.comm	_CRYPTO_TUNNEL_ESP_AUTH_FAILED,4,2 ; @CRYPTO_TUNNEL_ESP_AUTH_FAILED
	.comm	_CRYPTO_INVALID_PROTOCOL,4,2    ; @CRYPTO_INVALID_PROTOCOL
	.no_dead_strip	_mlx5e_ipsec_build_sp
.subsections_via_symbols
