	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_cmd_dr_destroy_flow_table
_mlx5_cmd_dr_destroy_flow_table:        ## @mlx5_cmd_dr_destroy_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	8(%rsi), %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	%r12, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	movl	(%rbx), %edi
	callq	_mlx5dr_table_destroy
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r14d
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_mlx5_core_err
	jmp	LBB0_6
LBB0_3:
	xorl	%r14d, %r14d
	testq	%r15, %r15
	je	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	callq	_mlx5dr_action_destroy
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_mlx5_core_err
	movl	%ebx, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to destroy flow_table (%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to destroy action(%d)\n"

	.no_dead_strip	_mlx5_cmd_dr_destroy_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_destroy_flow_table
_mlx5_cmd_dr_destroy_flow_table:        ; @mlx5_cmd_dr_destroy_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, x1
	mov	x19, x0
	ldr	x21, [x1, #8]
	ldr	w0, [x1, #16]
	bl	_mlx5_dr_is_fw_table
	cbz	x0, LBB0_2
; %bb.1:
	bl	_mlx5_fs_cmd_get_fw_cmds
	ldr	x2, [x0]
	mov	x0, x19
	mov	x1, 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	x2
LBB0_2:
	ldr	w0, [x20]
	bl	_mlx5dr_table_destroy
	cbz	w0, LBB0_6
; %bb.3:
	mov	x20, x0
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	x2, x20
	bl	_mlx5_core_err
LBB0_5:
	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
LBB0_6:
	cbz	x21, LBB0_9
; %bb.7:
	mov	x0, x21
	bl	_mlx5dr_action_destroy
	mov	x20, x0
	cbz	w0, LBB0_5
; %bb.8:
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_9:
	mov	w20, #0
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to destroy flow_table (%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to destroy action(%d)\n"

	.no_dead_strip	_mlx5_cmd_dr_destroy_flow_table
.subsections_via_symbols
