	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_anchor_flow_table
_create_anchor_flow_table:              ## @create_anchor_flow_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	movq	_MLX5_FLOW_NAMESPACE_ANCHOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mlx5_get_flow_namespace
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_2:
	movq	_ANCHOR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_ANCHOR_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_ANCHOR_PRIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_mlx5_create_flow_table
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_mlx5_core_err
	movq	%rbx, %rdi
	callq	_PTR_ERR
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_FLOW_NAMESPACE_ANCHOR,4,2 ## @MLX5_FLOW_NAMESPACE_ANCHOR
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ANCHOR_SIZE,4,2                ## @ANCHOR_SIZE
	.comm	_ANCHOR_LEVEL,4,2               ## @ANCHOR_LEVEL
	.comm	_ANCHOR_PRIO,4,2                ## @ANCHOR_PRIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to create last anchor flow table"

	.no_dead_strip	_create_anchor_flow_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_anchor_flow_table
_create_anchor_flow_table:              ; @create_anchor_flow_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _MLX5_FLOW_NAMESPACE_ANCHOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_FLOW_NAMESPACE_ANCHOR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mlx5_get_flow_namespace
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_2:
Lloh6:
	adrp	x8, _ANCHOR_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ANCHOR_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh9:
	adrp	x8, _ANCHOR_LEVEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ANCHOR_LEVEL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _ANCHOR_PRIO@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ANCHOR_PRIO@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [sp]
	mov	x1, sp
	mov	x0, x20
	bl	_mlx5_create_flow_table
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_mlx5_core_err
	mov	x0, x20
	bl	_PTR_ERR
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_FLOW_NAMESPACE_ANCHOR,4,2 ; @MLX5_FLOW_NAMESPACE_ANCHOR
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ANCHOR_SIZE,4,2                ; @ANCHOR_SIZE
	.comm	_ANCHOR_LEVEL,4,2               ; @ANCHOR_LEVEL
	.comm	_ANCHOR_PRIO,4,2                ; @ANCHOR_PRIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to create last anchor flow table"

	.no_dead_strip	_create_anchor_flow_table
.subsections_via_symbols
