	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_create_flow_group         ## -- Begin function mlx5_create_flow_group
	.p2align	4, 0x90
_mlx5_create_flow_group:                ## @mlx5_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	callq	_find_root
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_create_flow_group_in@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	%r13, %rsi
	callq	_MLX5_ADDR_OF
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	movq	%r13, %rsi
	callq	_MLX5_GET
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	movq	_start_flow_index@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_MLX5_GET
	movq	%rax, %r15
	movl	(%rbx), %edi
	movq	_end_flow_index@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_MLX5_GET
	cmpq	$0, 8(%r14)
	je	LBB0_3
## %bb.1:
	movq	_EPERM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_3:
	movq	%rax, %r12
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_down_write_ref_node
	movl	(%r14), %r9d
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	callq	_alloc_insert_flow_group
	movq	%rax, %r12
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_up_write_ref_node
	movq	%r12, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
LBB0_7:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	movq	(%rbx), %rax
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_tree_put_node
	movl	%ebx, %edi
	jmp	LBB0_2
LBB0_6:
	movq	%r12, %rdi
	callq	_trace_mlx5_fs_add_fg
	movl	$1, (%r12)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_create_flow_group_in,4,2       ## @create_flow_group_in
	.comm	_start_flow_index,4,2           ## @start_flow_index
	.comm	_end_flow_index,4,2             ## @end_flow_index
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_match_criteria,8,3             ## @match_criteria
	.comm	_match_criteria_enable,8,3      ## @match_criteria_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_create_flow_group         ; -- Begin function mlx5_create_flow_group
	.p2align	2
_mlx5_create_flow_group:                ; @mlx5_create_flow_group
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	bl	_find_root
	mov	x21, x0
Lloh0:
	adrp	x25, _create_flow_group_in@GOTPAGE
Lloh1:
	ldr	x25, [x25, _create_flow_group_in@GOTPAGEOFF]
	ldr	w0, [x25]
	mov	x1, x19
	bl	_MLX5_ADDR_OF
	mov	x22, x0
	ldr	w0, [x25]
	mov	x1, x19
	bl	_MLX5_GET
	mov	x23, x0
	ldr	w0, [x25]
Lloh2:
	adrp	x8, _start_flow_index@GOTPAGE
Lloh3:
	ldr	x8, [x8, _start_flow_index@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_MLX5_GET
	mov	x24, x0
	ldr	w0, [x25]
Lloh5:
	adrp	x8, _end_flow_index@GOTPAGE
Lloh6:
	ldr	x8, [x8, _end_flow_index@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_MLX5_GET
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh8:
	adrp	x8, _EPERM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_2:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_3:
	mov	x25, x0
	mov	x0, x20
	mov	w1, #0
	bl	_down_write_ref_node
	ldr	w5, [x20]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	mov	x3, x24
	mov	x4, x25
	bl	_alloc_insert_flow_group
	mov	x22, x0
	mov	x0, x20
	mov	w1, #0
	bl	_up_write_ref_node
	mov	x0, x22
	bl	_IS_ERR
	cbz	x0, LBB0_5
LBB0_4:
	mov	x0, x22
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x21]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x22
	blr	x8
	cbz	w0, LBB0_7
; %bb.6:
	mov	x19, x0
	mov	x0, x22
	mov	w1, #0
	bl	_tree_put_node
	mov	x0, x19
	b	LBB0_2
LBB0_7:
	mov	x0, x22
	bl	_trace_mlx5_fs_add_fg
	mov	w8, #1
	str	w8, [x22]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_create_flow_group_in,4,2       ; @create_flow_group_in
	.comm	_start_flow_index,4,2           ; @start_flow_index
	.comm	_end_flow_index,4,2             ; @end_flow_index
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_match_criteria,8,3             ; @match_criteria
	.comm	_match_criteria_enable,8,3      ; @match_criteria_enable
.subsections_via_symbols
