	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fpga_ipsec_fs_create_flow_group
_fpga_ipsec_fs_create_flow_group:       ## @fpga_ipsec_fs_create_flow_group
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	%r8d, %edi
	callq	_egress_to_fs_ft
	movl	%eax, %edi
	callq	_mlx5_fs_cmd_get_default
	movq	(%rax), %r12
	movq	_create_flow_group_in@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_match_criteria@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_MLX5_ADDR_OF
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rdi
	movq	_flow_table_properties_nic_receive@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_FLOWTABLE
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	movq	%r12, %rax
	jmp	LBB0_2
LBB0_3:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	_create_flow_group_in@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_MLX5_GET
	movl	%eax, %ebx
	movq	_fte_match_set_misc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_outer_esp_spi@GOTPCREL(%rip), %rax
	movsbl	(%rax), %edx
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_MLX5_GET
	movl	%ebx, %r13d
	testb	%bl, %bl
	movq	%r14, %rbx
	je	LBB0_5
## %bb.4:
	testb	%al, %al
	je	LBB0_5
## %bb.6:
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	movq	_fte_match_set_misc@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_outer_esp_spi@GOTPCREL(%rip), %rax
	movsbl	(%rax), %edx
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_MLX5_SET
	cmpb	$0, (%r15)
	movsbl	%r13b, %r12d
	jne	LBB0_9
## %bb.7:
	movq	%r15, %r14
	incq	%r14
	movq	_fte_match_set_misc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5_ST_SZ_BYTES
	leaq	-1(%rax), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	_fte_match_set_misc@GOTPCREL(%rip), %r14
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	_create_flow_group_in@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MLX5_MATCH_MISC_PARAMETERS@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	notb	%al
	andb	%al, %r13b
	movsbl	%r13b, %ecx
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_MLX5_SET
LBB0_9:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	movq	%r14, %rcx
	movl	%eax, %r14d
	movl	(%rcx), %edi
	movq	_outer_esp_spi@GOTPCREL(%rip), %rax
	movsbl	(%rax), %edx
	movsbl	-41(%rbp), %ecx                 ## 1-byte Folded Reload
	movq	%r15, %rsi
	callq	_MLX5_SET
	movq	_create_flow_group_in@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	movl	%r12d, %ecx
	callq	_MLX5_SET
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_2:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_create_flow_group_in,4,2       ## @create_flow_group_in
	.comm	_match_criteria,4,2             ## @match_criteria
	.comm	_flow_table_properties_nic_receive,4,2 ## @flow_table_properties_nic_receive
	.comm	_fte_match_set_misc,4,2         ## @fte_match_set_misc
	.comm	_outer_esp_spi,1,0              ## @outer_esp_spi
	.comm	_MLX5_MATCH_MISC_PARAMETERS,1,0 ## @MLX5_MATCH_MISC_PARAMETERS
	.no_dead_strip	_fpga_ipsec_fs_create_flow_group
.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_create_flow_group
_fpga_ipsec_fs_create_flow_group:       ; @fpga_ipsec_fs_create_flow_group
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x4
	bl	_egress_to_fs_ft
	bl	_mlx5_fs_cmd_get_default
	ldr	x0, [x0]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x27, _create_flow_group_in@GOTPAGE
Lloh1:
	ldr	x27, [x27, _create_flow_group_in@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh2:
	adrp	x8, _match_criteria@GOTPAGE
Lloh3:
	ldr	x8, [x8, _match_criteria@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_MLX5_ADDR_OF
	mov	x23, x0
	ldr	x0, [x22]
Lloh5:
	adrp	x8, _flow_table_properties_nic_receive@GOTPAGE
Lloh6:
	ldr	x8, [x8, _flow_table_properties_nic_receive@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_MLX5_CAP_FLOWTABLE
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x27]
	mov	x1, x19
	mov	w2, #0
	bl	_MLX5_GET
	mov	x24, x0
Lloh8:
	adrp	x28, _fte_match_set_misc@GOTPAGE
Lloh9:
	ldr	x28, [x28, _fte_match_set_misc@GOTPAGEOFF]
	ldr	w0, [x28]
Lloh10:
	adrp	x26, _outer_esp_spi@GOTPAGE
Lloh11:
	ldr	x26, [x26, _outer_esp_spi@GOTPAGEOFF]
	ldrsb	w2, [x26]
	mov	x1, x23
	bl	_MLX5_GET
	cmp	w24, #0
	ccmp	w0, #0, #4, ne
	b.ne	LBB0_3
LBB0_2:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	ldr	x4, [sp, #8]                    ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	br	x4
LBB0_3:
	mov	x25, x0
	ldr	w0, [x28]
	ldrsb	w2, [x26]
	mov	x1, x23
	mov	w3, #0
	bl	_MLX5_SET
	ldrb	w8, [x23]
	cbnz	w8, LBB0_6
; %bb.4:
	add	x8, x23, #1
	str	x8, [sp]                        ; 8-byte Folded Spill
	ldr	w0, [x28]
	bl	_MLX5_ST_SZ_BYTES
	sub	x2, x0, #1
	mov	x0, x23
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	bl	_memcmp
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	w0, [x27]
Lloh12:
	adrp	x8, _MLX5_MATCH_MISC_PARAMETERS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLX5_MATCH_MISC_PARAMETERS@GOTPAGEOFF]
	ldrb	w8, [x8]
	bic	w8, w24, w8
	sxtb	w3, w8
	mov	x1, x19
	mov	x2, x24
	bl	_MLX5_SET
LBB0_6:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	ldr	x4, [sp, #8]                    ; 8-byte Folded Reload
	blr	x4
	mov	x20, x0
	ldr	w0, [x28]
	ldrsb	w2, [x26]
	mov	x1, x23
	mov	x3, x25
	bl	_MLX5_SET
	ldr	w0, [x27]
	mov	x1, x19
	mov	x2, x24
	mov	x3, x24
	bl	_MLX5_SET
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_create_flow_group_in,4,2       ; @create_flow_group_in
	.comm	_match_criteria,4,2             ; @match_criteria
	.comm	_flow_table_properties_nic_receive,4,2 ; @flow_table_properties_nic_receive
	.comm	_fte_match_set_misc,4,2         ; @fte_match_set_misc
	.comm	_outer_esp_spi,1,0              ; @outer_esp_spi
	.comm	_MLX5_MATCH_MISC_PARAMETERS,1,0 ; @MLX5_MATCH_MISC_PARAMETERS
	.no_dead_strip	_fpga_ipsec_fs_create_flow_group
.subsections_via_symbols
