	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fpga_ipsec_fs_update_fte
_fpga_ipsec_fs_update_fte:              ## @fpga_ipsec_fs_update_fte
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movl	%r9d, %edi
	callq	_egress_to_fs_ft
	movl	%eax, %edi
	callq	_mlx5_fs_cmd_get_default
	movq	(%rax), %rax
	cmpl	$0, (%rbx)
	je	LBB0_3
## %bb.1:
	movq	_MLX5_FLOW_CONTEXT_ACTION_ENCRYPT@GOTPCREL(%rip), %rdx
	movq	_MLX5_FLOW_CONTEXT_ACTION_DECRYPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	testl	%ecx, 4(%rbx)
	je	LBB0_3
## %bb.2:
	movq	(%r13), %rdi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rsi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_modify_spec_mailbox
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	movq	%rbx, %r8
	callq	*-56(%rbp)                      ## 8-byte Folded Reload
	movl	%eax, %r14d
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	callq	_restore_spec_mailbox
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	movq	%rbx, %r8
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_FLOW_CONTEXT_ACTION_ENCRYPT,4,2 ## @MLX5_FLOW_CONTEXT_ACTION_ENCRYPT
	.comm	_MLX5_FLOW_CONTEXT_ACTION_DECRYPT,4,2 ## @MLX5_FLOW_CONTEXT_ACTION_DECRYPT
	.no_dead_strip	_fpga_ipsec_fs_update_fte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fpga_ipsec_fs_update_fte
_fpga_ipsec_fs_update_fte:              ; @fpga_ipsec_fs_update_fte
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x5
	bl	_egress_to_fs_ft
	bl	_mlx5_fs_cmd_get_default
	ldr	x5, [x0]
	ldr	w8, [x19]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x9, _MLX5_FLOW_CONTEXT_ACTION_ENCRYPT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX5_FLOW_CONTEXT_ACTION_ENCRYPT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _MLX5_FLOW_CONTEXT_ACTION_DECRYPT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MLX5_FLOW_CONTEXT_ACTION_DECRYPT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	x0, [x23]
	add	x2, sp, #8
	mov	x1, x19
	str	x5, [sp]                        ; 8-byte Folded Spill
	bl	_modify_spec_mailbox
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	ldr	x5, [sp]                        ; 8-byte Folded Reload
	blr	x5
	mov	x20, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_restore_spec_mailbox
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_3:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	br	x5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_FLOW_CONTEXT_ACTION_ENCRYPT,4,2 ; @MLX5_FLOW_CONTEXT_ACTION_ENCRYPT
	.comm	_MLX5_FLOW_CONTEXT_ACTION_DECRYPT,4,2 ; @MLX5_FLOW_CONTEXT_ACTION_DECRYPT
	.no_dead_strip	_fpga_ipsec_fs_update_fte
.subsections_via_symbols
