	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_cmd_dr_create_flow_table
_mlx5_cmd_dr_create_flow_table:         ## @mlx5_cmd_dr_create_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	16(%rsi), %edi
	callq	_mlx5_dr_is_fw_table
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	xorl	%eax, %eax
	callq	_mlx5_fs_cmd_get_fw_cmds
	movq	(%rax), %rax
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	movl	4(%r15), %edi
	movl	12(%rbx), %esi
	callq	_mlx5dr_table_create
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r12
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_mlx5dr_table_get_id
	movl	%eax, 8(%rbx)
	xorl	%r13d, %r13d
	testq	%r14, %r14
	je	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_set_miss_action
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_mlx5dr_table_destroy
	movq	$0, (%rbx)
	movl	%r14d, %r13d
	jmp	LBB0_6
LBB0_2:
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_mlx5_core_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_6:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed creating dr flow_table\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_mlx5_cmd_dr_create_flow_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_cmd_dr_create_flow_table
_mlx5_cmd_dr_create_flow_table:         ; @mlx5_cmd_dr_create_flow_table
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x1, #16]
	bl	_mlx5_dr_is_fw_table
	cbz	x0, LBB0_2
; %bb.1:
	bl	_mlx5_fs_cmd_get_fw_cmds
	ldr	x4, [x0]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	mov	x3, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x4
LBB0_2:
	ldr	w0, [x21, #4]
	ldr	w1, [x19, #12]
	bl	_mlx5dr_table_create
	cbz	x0, LBB0_6
; %bb.3:
	mov	x22, x0
	str	x0, [x19]
	bl	_mlx5dr_table_get_id
	str	w0, [x19, #8]
	cbz	x20, LBB0_7
; %bb.4:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_set_miss_action
	mov	x20, x0
	cbz	w0, LBB0_7
; %bb.5:
	mov	x0, x22
	bl	_mlx5dr_table_destroy
	str	xzr, [x19]
	b	LBB0_7
LBB0_6:
	ldr	w0, [x21]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_mlx5_core_err
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed creating dr flow_table\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_mlx5_cmd_dr_create_flow_table
.subsections_via_symbols
