	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_tc_add_fdb_peer_flow
_mlx5e_tc_add_fdb_peer_flow:            ## @mlx5e_tc_add_fdb_peer_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	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	24(%rsi), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %r15
	movq	8(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_MLX5_DEVCOM_ESW_OFFLOADS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mlx5_devcom_get_peer_data
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_REP_ETH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_mlx5_eswitch_get_uplink_priv
	movl	(%rax), %edi
	callq	_netdev_priv
	movq	16(%r14), %rcx
	movq	(%rcx), %r8
	movq	8(%rcx), %rcx
	movq	(%r8), %rdx
	movq	_MLX5_VPORT_UPLINK@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	cmoveq	%rax, %rbx
	movq	(%rbx), %r9
	movl	(%rcx), %ecx
	movq	%rax, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	___mlx5e_add_fdb_flow
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_5
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, 8(%r14)
	movq	_DUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_flow_flag_set
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_mutex_lock
	leaq	4(%rbx), %rsi
	movq	%r14, %rdi
	callq	_list_add_tail
	movq	%rbx, %rdi
	callq	_mutex_unlock
	xorl	%ebx, %ebx
LBB0_5:
	movq	_MLX5_DEVCOM_ESW_OFFLOADS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mlx5_devcom_release_peer_data
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_DEVCOM_ESW_OFFLOADS,4,2   ## @MLX5_DEVCOM_ESW_OFFLOADS
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_REP_ETH,4,2                    ## @REP_ETH
	.comm	_MLX5_VPORT_UPLINK,8,3          ## @MLX5_VPORT_UPLINK
	.comm	_DUP,4,2                        ## @DUP
	.no_dead_strip	_mlx5e_tc_add_fdb_peer_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_fdb_peer_flow
_mlx5e_tc_add_fdb_peer_flow:            ; @mlx5e_tc_add_fdb_peer_flow
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
	ldr	x25, [x1, #24]
	ldr	x8, [x25]
	ldp	x19, x20, [x8]
Lloh0:
	adrp	x24, _MLX5_DEVCOM_ESW_OFFLOADS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MLX5_DEVCOM_ESW_OFFLOADS@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_mlx5_devcom_get_peer_data
	cbz	x0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _REP_ETH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REP_ETH@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_mlx5_eswitch_get_uplink_priv
	ldr	w0, [x0]
	bl	_netdev_priv
	ldr	x8, [x21, #16]
Lloh5:
	adrp	x9, _MLX5_VPORT_UPLINK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MLX5_VPORT_UPLINK@GOTPAGEOFF]
	ldp	x4, x8, [x8]
	ldr	x10, [x4]
Lloh7:
	ldr	x9, [x9]
	cmp	x10, x9
	csel	x9, x0, x25, eq
	ldr	x5, [x9]
	ldr	w3, [x8]
	mov	x1, x23
	mov	x2, x22
	bl	___mlx5e_add_fdb_flow
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_PTR_ERR
	mov	x20, x0
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _ENODEV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_6
LBB0_4:
	str	x22, [x21, #8]
Lloh11:
	adrp	x8, _DUP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DUP@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_flow_flag_set
	mov	x0, x20
	bl	_mutex_lock
	add	x1, x20, #4
	mov	x0, x21
	bl	_list_add_tail
	mov	x0, x20
	bl	_mutex_unlock
	mov	w20, #0
LBB0_5:
	ldr	w1, [x24]
	mov	x0, x19
	bl	_mlx5_devcom_release_peer_data
LBB0_6:
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_DEVCOM_ESW_OFFLOADS,4,2   ; @MLX5_DEVCOM_ESW_OFFLOADS
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_REP_ETH,4,2                    ; @REP_ETH
	.comm	_MLX5_VPORT_UPLINK,8,3          ; @MLX5_VPORT_UPLINK
	.comm	_DUP,4,2                        ; @DUP
	.no_dead_strip	_mlx5e_tc_add_fdb_peer_flow
.subsections_via_symbols
