	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_ib_modify_flow_action_esp
_mlx5_ib_modify_flow_action_esp:        ## @mlx5_ib_modify_flow_action_esp
	.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	%rsi, %rbx
	callq	_to_mflow_act
	cmpq	$0, 56(%rbx)
	jne	LBB0_8
## %bb.1:
	cmpq	$0, 48(%rbx)
	jne	LBB0_8
## %bb.2:
	cmpq	$0, 40(%rbx)
	jne	LBB0_8
## %bb.3:
	cmpq	$0, 32(%rbx)
	jne	LBB0_8
## %bb.4:
	cmpq	$0, 24(%rbx)
	jne	LBB0_8
## %bb.5:
	cmpq	$0, 16(%rbx)
	jne	LBB0_8
## %bb.6:
	cmpq	$0, 8(%rbx)
	jne	LBB0_8
## %bb.7:
	movq	%rax, %r14
	movl	(%rbx), %eax
	movq	_IB_FLOW_ACTION_ESP_FLAGS_ESN_TRIGGERED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_IB_FLOW_ACTION_ESP_FLAGS_MOD_ESP_ATTRS@GOTPCREL(%rip), %rsi
	movq	_IB_UVERBS_FLOW_ACTION_ESP_FLAGS_ESN_NEW_WINDOW@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	orl	%edx, %ecx
	movl	(%rsi), %esi
	orl	%ecx, %esi
	notl	%esi
	testl	%esi, %eax
	je	LBB0_10
LBB0_8:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_9:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	testl	%edx, (%r14)
	jne	LBB0_13
## %bb.11:
	andl	%eax, %ecx
	je	LBB0_13
## %bb.12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_13:
	movq	8(%r14), %rsi
	leaq	-32(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	movl	4(%rbx), %eax
	movl	%eax, -28(%rbp)
	movl	(%r15), %ecx
	movq	_MLX5_ACCEL_ESP_FLAGS_ESN_STATE_OVERLAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, (%rbx)
	je	LBB0_15
## %bb.14:
	orl	%eax, -32(%rbp)
	jmp	LBB0_16
LBB0_15:
	notl	%eax
	andl	%eax, -32(%rbp)
LBB0_16:
	movq	8(%r14), %rdi
	leaq	-32(%rbp), %rsi
	callq	_mlx5_accel_esp_modify_xfrm
	testl	%eax, %eax
	jne	LBB0_18
## %bb.17:
	movl	(%r15), %eax
	notl	%eax
	andl	(%r14), %eax
	movl	%eax, (%r14)
	movl	(%r15), %ecx
	andl	(%rbx), %ecx
	orl	%eax, %ecx
	movl	%ecx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_FLOW_ACTION_ESP_FLAGS_ESN_TRIGGERED,4,2 ## @IB_FLOW_ACTION_ESP_FLAGS_ESN_TRIGGERED
	.comm	_IB_FLOW_ACTION_ESP_FLAGS_MOD_ESP_ATTRS,4,2 ## @IB_FLOW_ACTION_ESP_FLAGS_MOD_ESP_ATTRS
	.comm	_IB_UVERBS_FLOW_ACTION_ESP_FLAGS_ESN_NEW_WINDOW,4,2 ## @IB_UVERBS_FLOW_ACTION_ESP_FLAGS_ESN_NEW_WINDOW
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MLX5_ACCEL_ESP_FLAGS_ESN_STATE_OVERLAP,4,2 ## @MLX5_ACCEL_ESP_FLAGS_ESN_STATE_OVERLAP
	.no_dead_strip	_mlx5_ib_modify_flow_action_esp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_ib_modify_flow_action_esp
_mlx5_ib_modify_flow_action_esp:        ; @mlx5_ib_modify_flow_action_esp
	.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, x1
	bl	_to_mflow_act
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_8
; %bb.1:
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_8
; %bb.2:
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_8
; %bb.3:
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_8
; %bb.4:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_8
; %bb.5:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_8
; %bb.7:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _IB_FLOW_ACTION_ESP_FLAGS_ESN_TRIGGERED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_FLOW_ACTION_ESP_FLAGS_ESN_TRIGGERED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _IB_FLOW_ACTION_ESP_FLAGS_MOD_ESP_ATTRS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IB_FLOW_ACTION_ESP_FLAGS_MOD_ESP_ATTRS@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x10]
Lloh6:
	adrp	x21, _IB_UVERBS_FLOW_ACTION_ESP_FLAGS_ESN_NEW_WINDOW@GOTPAGE
Lloh7:
	ldr	x21, [x21, _IB_UVERBS_FLOW_ACTION_ESP_FLAGS_ESN_NEW_WINDOW@GOTPAGEOFF]
	ldr	w10, [x21]
	orr	w10, w10, w9
	orr	w11, w10, w11
	bics	wzr, w8, w11
	b.eq	LBB0_11
LBB0_8:
Lloh8:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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
LBB0_11:
	mov	x20, x0
	ldr	w11, [x0]
	tst	w11, w9
	b.ne	LBB0_14
; %bb.12:
	and	w8, w10, w8
	cbz	w8, LBB0_14
; %bb.13:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_14:
	ldr	x1, [x20, #8]
	add	x0, sp, #8
	mov	w2, #8
	bl	_memcpy
	ldp	w9, w8, [x19]
	str	w8, [sp, #12]
	ldr	w10, [x21]
Lloh12:
	adrp	x8, _MLX5_ACCEL_ESP_FLAGS_ESN_STATE_OVERLAP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLX5_ACCEL_ESP_FLAGS_ESN_STATE_OVERLAP@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w10, w9
	b.eq	LBB0_16
; %bb.15:
	ldr	w9, [sp, #8]
	orr	w8, w9, w8
	b	LBB0_17
LBB0_16:
	ldr	w9, [sp, #8]
	bic	w8, w9, w8
LBB0_17:
	str	w8, [sp, #8]
	ldr	x0, [x20, #8]
	add	x1, sp, #8
	bl	_mlx5_accel_esp_modify_xfrm
	cbnz	w0, LBB0_10
; %bb.18:
	ldr	w8, [x21]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	ldr	w9, [x19]
	ldr	w10, [x21]
	and	w9, w10, w9
	orr	w8, w9, w8
	str	w8, [x20]
	b	LBB0_10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_FLOW_ACTION_ESP_FLAGS_ESN_TRIGGERED,4,2 ; @IB_FLOW_ACTION_ESP_FLAGS_ESN_TRIGGERED
	.comm	_IB_FLOW_ACTION_ESP_FLAGS_MOD_ESP_ATTRS,4,2 ; @IB_FLOW_ACTION_ESP_FLAGS_MOD_ESP_ATTRS
	.comm	_IB_UVERBS_FLOW_ACTION_ESP_FLAGS_ESN_NEW_WINDOW,4,2 ; @IB_UVERBS_FLOW_ACTION_ESP_FLAGS_ESN_NEW_WINDOW
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MLX5_ACCEL_ESP_FLAGS_ESN_STATE_OVERLAP,4,2 ; @MLX5_ACCEL_ESP_FLAGS_ESN_STATE_OVERLAP
	.no_dead_strip	_mlx5_ib_modify_flow_action_esp
.subsections_via_symbols
