	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __mlx5e_add_fdb_flow
___mlx5e_add_fdb_flow:                  ## @__mlx5e_add_fdb_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_flow_cls_offload_flow_rule
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%r15), %r13
	movq	_MLX5E_TC_FLOW_FLAG_ESWITCH@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	%r15, %rdx
	movq	%rbx, %rcx
	callq	_mlx5e_alloc_flow
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	-56(%rbp), %rdx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, 8(%rdx)
	movq	-48(%rbp), %rax
	movl	8(%rax), %edi
	movq	%r12, %rsi
	movq	%r15, %rcx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r9
	callq	_mlx5e_flow_esw_attr_init
	movq	-48(%rbp), %rsi
	movl	4(%rsi), %edi
	movq	-56(%rbp), %rdx
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_parse_cls_flower
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_parse_tc_fdb_actions
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_3
LBB0_8:
	movq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_mlx5e_flow_put
LBB0_9:
	movl	%r14d, %edi
	callq	_ERR_PTR
LBB0_10:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	_mlx5e_tc_add_fdb_flow
	movl	%eax, %r14d
	movq	-48(%rbp), %rdi
	callq	_complete_all
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.4:
	movq	_ENETUNREACH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	jne	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_mlx5_lag_is_multipath
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	-48(%rbp), %rdi
	callq	_add_unready_flow
LBB0_7:
	movq	-48(%rbp), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_TC_FLOW_FLAG_ESWITCH,4,2 ## @MLX5E_TC_FLOW_FLAG_ESWITCH
	.comm	_ENETUNREACH,4,2                ## @ENETUNREACH
	.no_dead_strip	___mlx5e_add_fdb_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_fdb_flow
___mlx5e_add_fdb_flow:                  ; @__mlx5e_add_fdb_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	x20, x5
	mov	x26, x4
	mov	x23, x3
	mov	x25, x2
	mov	x24, x1
	mov	x19, x0
	mov	x0, x1
	bl	_flow_cls_offload_flow_rule
	mov	x22, x0
	ldr	x21, [x24]
Lloh0:
	adrp	x8, _MLX5E_TC_FLOW_FLAG_ESWITCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5E_TC_FLOW_FLAG_ESWITCH@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_BIT
	orr	x3, x0, x25
	add	x4, sp, #8
	mov	x5, sp
	mov	x0, x19
	mov	w1, #4
	mov	x2, x24
	bl	_mlx5e_alloc_flow
	mov	x25, x0
	cbnz	w0, LBB0_4
; %bb.1:
	ldp	x8, x2, [sp]
	str	x23, [x2, #8]
	ldr	w0, [x8, #8]
	mov	x1, x19
	mov	x3, x24
	mov	x4, x26
	mov	x5, x20
	bl	_mlx5e_flow_esw_attr_init
	ldp	x1, x2, [sp]
	ldr	w0, [x1, #4]
	mov	x3, x24
	mov	x4, x23
	bl	_parse_cls_flower
	mov	x25, x0
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x2, [sp]
	mov	x0, x19
	mov	x1, x22
	mov	x3, x21
	bl	_parse_tc_fdb_actions
	mov	x25, x0
	cbz	w0, LBB0_6
LBB0_3:
	ldr	x1, [sp]
	mov	x0, x19
	bl	_mlx5e_flow_put
LBB0_4:
	mov	x0, x25
	bl	_ERR_PTR
LBB0_5:
	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_6:
	ldr	x1, [sp]
	mov	x0, x19
	mov	x2, x21
	bl	_mlx5e_tc_add_fdb_flow
	mov	x25, x0
	ldr	x0, [sp]
	bl	_complete_all
	cbz	w25, LBB0_10
; %bb.7:
Lloh3:
	adrp	x8, _ENETUNREACH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENETUNREACH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w25, w8
	b.ne	LBB0_3
; %bb.8:
	mov	x0, x20
	bl	_mlx5_lag_is_multipath
	cbz	x0, LBB0_3
; %bb.9:
	ldr	x0, [sp]
	bl	_add_unready_flow
LBB0_10:
	ldr	x0, [sp]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_TC_FLOW_FLAG_ESWITCH,4,2 ; @MLX5E_TC_FLOW_FLAG_ESWITCH
	.comm	_ENETUNREACH,4,2                ; @ENETUNREACH
	.no_dead_strip	___mlx5e_add_fdb_flow
.subsections_via_symbols
