	.file	"extr_main.c_mlx5_ib_modify_flow_action_esp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mlx5_ib_modify_flow_action_esp, @function
mlx5_ib_modify_flow_action_esp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	to_mflow_act@PLT
	cmp	QWORD PTR 56[rbx], 0
	jne	.L2
	cmp	QWORD PTR 48[rbx], 0
	jne	.L2
	cmp	QWORD PTR 40[rbx], 0
	jne	.L2
	cmp	QWORD PTR 32[rbx], 0
	jne	.L2
	cmp	QWORD PTR 24[rbx], 0
	jne	.L2
	cmp	QWORD PTR 16[rbx], 0
	jne	.L2
	cmp	QWORD PTR 8[rbx], 0
	jne	.L2
	mov	edx, DWORD PTR IB_FLOW_ACTION_ESP_FLAGS_ESN_TRIGGERED[rip]
	mov	rbp, rax
	mov	eax, DWORD PTR IB_FLOW_ACTION_ESP_FLAGS_MOD_ESP_ATTRS[rip]
	mov	esi, DWORD PTR IB_UVERBS_FLOW_ACTION_ESP_FLAGS_ESN_NEW_WINDOW[rip]
	mov	ecx, DWORD PTR [rbx]
	or	eax, edx
	or	eax, esi
	not	eax
	test	eax, ecx
	jne	.L2
	test	DWORD PTR 0[rbp], edx
	jne	.L5
	mov	eax, DWORD PTR EINVAL[rip]
	or	edx, esi
	neg	eax
	test	edx, ecx
	jne	.L1
.L5:
	mov	rsi, QWORD PTR 8[rbp]
	mov	r12, rsp
	mov	edx, 8
	mov	rdi, r12
	call	memcpy@PLT
	mov	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR IB_UVERBS_FLOW_ACTION_ESP_FLAGS_ESN_NEW_WINDOW[rip], eax
	je	.L6
	mov	eax, DWORD PTR [rsp]
	or	eax, DWORD PTR MLX5_ACCEL_ESP_FLAGS_ESN_STATE_OVERLAP[rip]
.L7:
	mov	rdi, QWORD PTR 8[rbp]
	mov	rsi, r12
	mov	DWORD PTR [rsp], eax
	call	mlx5_accel_esp_modify_xfrm@PLT
	test	eax, eax
	jne	.L1
	mov	ecx, DWORD PTR 0[rbp]
	mov	edx, DWORD PTR [rbx]
	xor	edx, ecx
	and	edx, DWORD PTR IB_UVERBS_FLOW_ACTION_ESP_FLAGS_ESN_NEW_WINDOW[rip]
	xor	edx, ecx
	mov	DWORD PTR 0[rbp], edx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR MLX5_ACCEL_ESP_FLAGS_ESN_STATE_OVERLAP[rip]
	not	eax
	and	eax, DWORD PTR [rsp]
	jmp	.L7
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mlx5_ib_modify_flow_action_esp, .-mlx5_ib_modify_flow_action_esp
	.comm	MLX5_ACCEL_ESP_FLAGS_ESN_STATE_OVERLAP,4,4
	.comm	IB_UVERBS_FLOW_ACTION_ESP_FLAGS_ESN_NEW_WINDOW,4,4
	.comm	IB_FLOW_ACTION_ESP_FLAGS_MOD_ESP_ATTRS,4,4
	.comm	IB_FLOW_ACTION_ESP_FLAGS_ESN_TRIGGERED,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_main.c_mlx5_ib_modify_flow_action_esp.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx5_ib_modify_flow_action_esp, %function
mlx5_ib_modify_flow_action_esp:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r1
	ldr	r3, .L16
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	to_mflow_act
	ldr	r3, [r4, #32]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [r4, #28]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [r4, #24]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [r4, #20]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [r4, #16]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L2
	ldr	r2, .L16+4
	ldr	r3, .L16+8
	ldr	r6, .L16+12
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r7, [r6]
	ldr	r8, [r4]
	orr	r3, r2, r3
	orr	r3, r3, r7
	bics	r3, r8, r3
	bne	.L2
	ldr	r3, [r0]
	mov	r5, r0
	tst	r2, r3
	bne	.L5
	orr	r2, r2, r7
	tst	r2, r8
	bne	.L14
.L5:
	ldr	r9, [r5, #4]
	mov	r2, #4
	mov	r1, r9
	add	r0, sp, #4
	bl	memcpy
	ldr	r2, [r4, #4]
	ldr	r3, .L16+16
	str	r2, [sp, #8]
	ldr	r3, [r3]
	ldr	r2, [sp, #4]
	tst	r8, r7
	orrne	r3, r3, r2
	biceq	r3, r2, r3
	mov	r0, r9
	add	r1, sp, #4
	str	r3, [sp, #4]
	bl	mlx5_accel_esp_modify_xfrm
	cmp	r0, #0
	bne	.L1
	ldr	r2, [r5]
	ldr	r3, [r4]
	ldr	r1, [r6]
	eor	r3, r3, r2
	and	r3, r3, r1
	eor	r3, r3, r2
	str	r3, [r5]
	b	.L1
.L2:
	ldr	r3, .L16+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L14:
	ldr	r3, .L16+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	IB_FLOW_ACTION_ESP_FLAGS_ESN_TRIGGERED
	.word	IB_FLOW_ACTION_ESP_FLAGS_MOD_ESP_ATTRS
	.word	IB_UVERBS_FLOW_ACTION_ESP_FLAGS_ESN_NEW_WINDOW
	.word	MLX5_ACCEL_ESP_FLAGS_ESN_STATE_OVERLAP
	.word	EOPNOTSUPP
	.word	EINVAL
	.size	mlx5_ib_modify_flow_action_esp, .-mlx5_ib_modify_flow_action_esp
	.comm	MLX5_ACCEL_ESP_FLAGS_ESN_STATE_OVERLAP,4,4
	.comm	IB_UVERBS_FLOW_ACTION_ESP_FLAGS_ESN_NEW_WINDOW,4,4
	.comm	IB_FLOW_ACTION_ESP_FLAGS_MOD_ESP_ATTRS,4,4
	.comm	IB_FLOW_ACTION_ESP_FLAGS_ESN_TRIGGERED,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
