	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_add_nic_flow
_mlx5e_add_nic_flow:                    ## @mlx5e_add_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_flow_cls_offload_flow_rule
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	_tc_cls_can_offload_and_chain0
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	_MLX5E_TC_FLOW_FLAG_NIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orq	%rax, %rbx
	leaq	-56(%rbp), %r8
	leaq	-48(%rbp), %r9
	movq	%r12, %rdi
	movl	$4, %esi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_mlx5e_alloc_flow
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	-56(%rbp), %rdx
	movq	%r13, 8(%rdx)
	movq	-48(%rbp), %rsi
	movl	(%rsi), %edi
	movq	%r14, %rcx
	movq	%r13, %r8
	callq	_parse_cls_flower
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %rcx
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_parse_tc_nic_actions
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_mlx5e_tc_add_nic_flow
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	movq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_mlx5e_flow_put
	movq	-56(%rbp), %rdi
	callq	_kvfree
	jmp	LBB0_8
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	-48(%rbp), %rdi
	movq	_OFFLOADED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_flow_flag_set
	movq	-56(%rbp), %rdi
	callq	_kvfree
	movq	-48(%rbp), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%r15d, %r15d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_MLX5E_TC_FLOW_FLAG_NIC,4,2     ## @MLX5E_TC_FLOW_FLAG_NIC
	.comm	_OFFLOADED,4,2                  ## @OFFLOADED
	.no_dead_strip	_mlx5e_add_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_add_nic_flow
_mlx5e_add_nic_flow:                    ; @mlx5e_add_nic_flow
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x23, x3
	mov	x25, x2
	mov	x24, x1
	mov	x20, x0
	mov	x0, x1
	bl	_flow_cls_offload_flow_rule
	mov	x22, x0
	ldr	x21, [x24]
	ldr	w0, [x20]
	mov	x1, x24
	bl	_tc_cls_can_offload_and_chain0
	cbz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _MLX5E_TC_FLOW_FLAG_NIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5E_TC_FLOW_FLAG_NIC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_BIT
	orr	x3, x0, x25
	add	x4, sp, #8
	mov	x5, sp
	mov	x0, x20
	mov	w1, #4
	mov	x2, x24
	bl	_mlx5e_alloc_flow
	mov	x25, x0
	cbnz	w0, LBB0_7
; %bb.2:
	ldp	x1, x2, [sp]
	str	x23, [x2, #8]
	ldr	w0, [x1]
	mov	x3, x24
	mov	x4, x23
	bl	_parse_cls_flower
	mov	x25, x0
	cbnz	w0, LBB0_5
; %bb.3:
	ldp	x3, x2, [sp]
	mov	x0, x20
	mov	x1, x22
	mov	x4, x21
	bl	_parse_tc_nic_actions
	mov	x25, x0
	cbnz	w0, LBB0_5
; %bb.4:
	ldp	x2, x1, [sp]
	mov	x0, x20
	mov	x3, x21
	bl	_mlx5e_tc_add_nic_flow
	mov	x25, x0
	cbz	w0, LBB0_8
LBB0_5:
	ldr	x1, [sp]
	mov	x0, x20
	bl	_mlx5e_flow_put
	ldr	x0, [sp, #8]
	bl	_kvfree
	b	LBB0_7
LBB0_6:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_7:
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
	ldr	x0, [sp]
Lloh6:
	adrp	x8, _OFFLOADED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OFFLOADED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_flow_flag_set
	ldr	x0, [sp, #8]
	bl	_kvfree
	ldr	x8, [sp]
	str	x8, [x19]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MLX5E_TC_FLOW_FLAG_NIC,4,2     ; @MLX5E_TC_FLOW_FLAG_NIC
	.comm	_OFFLOADED,4,2                  ; @OFFLOADED
	.no_dead_strip	_mlx5e_add_nic_flow
.subsections_via_symbols
