	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_tc_del_nic_flow
_mlx5e_tc_del_nic_flow:                 ## @mlx5e_tc_del_nic_flow
	.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, %r14
	movq	%rdi, %rbx
	movq	(%rsi), %rax
	movq	8(%rsi), %r12
	movq	8(%r12), %r15
	movl	(%rax), %edi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_mlx5_del_flow_rules
LBB0_2:
	movl	16(%rbx), %edi
	movq	%r15, %rsi
	callq	_mlx5_fc_destroy
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_NIC_OFFLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5_TC_FLAG
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_mlx5e_tc_num_filters
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_mlx5_destroy_flow_table
	movq	$0, 8(%rbx)
LBB0_5:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	_MLX5_FLOW_CONTEXT_ACTION_MOD_HDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mlx5e_detach_mod_hdr
LBB0_7:
	movq	_HAIRPIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_flow_flag_test
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlx5e_hairpin_flow_del         ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIC_OFFLOAD,4,2                ## @NIC_OFFLOAD
	.comm	_MLX5_FLOW_CONTEXT_ACTION_MOD_HDR,4,2 ## @MLX5_FLOW_CONTEXT_ACTION_MOD_HDR
	.comm	_HAIRPIN,4,2                    ## @HAIRPIN
	.no_dead_strip	_mlx5e_tc_del_nic_flow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_tc_del_nic_flow
_mlx5e_tc_del_nic_flow:                 ; @mlx5e_tc_del_nic_flow
	.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	x19, x1
	mov	x20, x0
	ldp	x8, x22, [x1]
	ldr	x21, [x22, #8]
	ldr	w0, [x8]
	bl	_IS_ERR_OR_NULL
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_mlx5_del_flow_rules
LBB0_2:
	ldr	w0, [x20, #16]
	mov	x1, x21
	bl	_mlx5_fc_destroy
	mov	x0, x20
	bl	_mutex_lock
Lloh0:
	adrp	x8, _NIC_OFFLOAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIC_OFFLOAD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_MLX5_TC_FLAG
	mov	x1, x0
	mov	x0, x20
	bl	_mlx5e_tc_num_filters
	cbnz	w0, LBB0_5
; %bb.3:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_mlx5_destroy_flow_table
	str	xzr, [x20, #8]
LBB0_5:
	mov	x0, x20
	bl	_mutex_unlock
	ldr	w8, [x22]
Lloh3:
	adrp	x9, _MLX5_FLOW_CONTEXT_ACTION_MOD_HDR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX5_FLOW_CONTEXT_ACTION_MOD_HDR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_mlx5e_detach_mod_hdr
LBB0_7:
Lloh6:
	adrp	x8, _HAIRPIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HAIRPIN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_flow_flag_test
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x20
	mov	x1, x19
	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
	b	_mlx5e_hairpin_flow_del
LBB0_9:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NIC_OFFLOAD,4,2                ; @NIC_OFFLOAD
	.comm	_MLX5_FLOW_CONTEXT_ACTION_MOD_HDR,4,2 ; @MLX5_FLOW_CONTEXT_ACTION_MOD_HDR
	.comm	_HAIRPIN,4,2                    ; @HAIRPIN
	.no_dead_strip	_mlx5e_tc_del_nic_flow
.subsections_via_symbols
