	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __mlx5_eswitch_del_rule
___mlx5_eswitch_del_rule:               ## @__mlx5_eswitch_del_rule
	.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
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movq	%rdi, %r14
	cmpq	$0, (%rdx)
	setg	-41(%rbp)                       ## 1-byte Folded Spill
	movq	%rsi, %rdi
	callq	_mlx5_del_flow_rules
	movq	_MLX5_MAX_FLOW_FWD_VPORTS@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%rbx), %rcx
	movq	(%rcx,%r15,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_mlx5_eswitch_termtbl_put
	movl	(%r13), %eax
	jmp	LBB0_4
LBB0_5:
	movq	%r14, %rdi
	callq	_atomic64_dec
	movq	24(%rbx), %rsi
	movl	8(%rbx), %edx
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_esw_put_prio_table
	movq	24(%rbx), %rsi
	movl	8(%rbx), %edx
	movq	%r14, %rdi
	jmp	LBB0_9
LBB0_7:
	xorl	%ecx, %ecx
	movb	-41(%rbp), %al                  ## 1-byte Reload
	movb	%al, %cl
	movq	%r14, %rdi
	callq	_esw_put_prio_table
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.8:
	movq	%r14, %rdi
	movl	$1, %edx
LBB0_9:
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_esw_put_prio_table             ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_MAX_FLOW_FWD_VPORTS,4,2   ## @MLX5_MAX_FLOW_FWD_VPORTS
	.no_dead_strip	___mlx5_eswitch_del_rule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __mlx5_eswitch_del_rule
___mlx5_eswitch_del_rule:               ; @__mlx5_eswitch_del_rule
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x3
	mov	x20, x2
	mov	x19, x0
	ldr	x8, [x2]
	cmp	x8, #0
	cset	w21, gt
	mov	x0, x1
	bl	_mlx5_del_flow_rules
Lloh0:
	adrp	x23, _MLX5_MAX_FLOW_FWD_VPORTS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MLX5_MAX_FLOW_FWD_VPORTS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x24, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #32]
	ldr	x1, [x9, x24, lsl #3]
	cbz	x1, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_mlx5_eswitch_termtbl_put
	ldr	w8, [x23]
	b	LBB0_2
LBB0_5:
	mov	x0, x19
	bl	_atomic64_dec
	ldr	x1, [x20, #24]
	ldr	w2, [x20, #8]
	mov	x0, x19
	cbz	w22, LBB0_7
; %bb.6:
	mov	w3, #1
	bl	_esw_put_prio_table
	ldr	x1, [x20, #24]
	ldr	w2, [x20, #8]
	mov	x0, x19
	b	LBB0_9
LBB0_7:
	mov	x3, x21
	bl	_esw_put_prio_table
	ldr	x1, [x20, #16]
	cbz	x1, LBB0_10
; %bb.8:
	mov	x0, x19
	mov	w2, #1
LBB0_9:
	mov	w3, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_esw_put_prio_table
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_MAX_FLOW_FWD_VPORTS,4,2   ; @MLX5_MAX_FLOW_FWD_VPORTS
	.no_dead_strip	___mlx5_eswitch_del_rule
.subsections_via_symbols
