	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_tc_add_flow
_mlx5e_tc_add_flow:                     ## @mlx5e_tc_add_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	leaq	-48(%rbp), %rsi
	movq	%rdx, %rdi
	callq	_get_flags
	movl	(%rbx), %edi
	movl	(%r12), %esi
	callq	_tc_can_offload_extack
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	testq	%r13, %r13
	je	LBB0_5
## %bb.3:
	movq	(%r13), %rax
	movq	_MLX5_ESWITCH_OFFLOADS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_mlx5e_add_fdb_flow
	jmp	LBB0_6
LBB0_5:
	movq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_mlx5e_add_nic_flow
	jmp	LBB0_6
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_MLX5_ESWITCH_OFFLOADS,8,3      ## @MLX5_ESWITCH_OFFLOADS
	.no_dead_strip	_mlx5e_tc_add_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_add_flow
_mlx5e_tc_add_flow:                     ; @mlx5e_tc_add_flow
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x4
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x0, #8]
	ldr	x23, [x8]
	add	x1, sp, #8
	mov	x0, x2
	bl	_get_flags
	ldr	w0, [x22]
	ldr	w1, [x21]
	bl	_tc_can_offload_extack
	cbz	w0, LBB0_5
; %bb.1:
	cbz	x23, LBB0_4
; %bb.2:
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _MLX5_ESWITCH_OFFLOADS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX5_ESWITCH_OFFLOADS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x2, [sp, #8]
	mov	x0, x22
	mov	x1, x21
	mov	x3, x20
	mov	x4, x19
	bl	_mlx5e_add_fdb_flow
	b	LBB0_6
LBB0_4:
	ldr	x2, [sp, #8]
	mov	x0, x22
	mov	x1, x21
	mov	x3, x20
	mov	x4, x19
	bl	_mlx5e_add_nic_flow
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MLX5_ESWITCH_OFFLOADS,8,3      ; @MLX5_ESWITCH_OFFLOADS
	.no_dead_strip	_mlx5e_tc_add_flow
.subsections_via_symbols
