	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_peer_flow_needed
_is_peer_flow_needed:                   ## @is_peer_flow_needed
	.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	(%rdi), %r12
	movq	16(%r12), %rax
	movq	(%rax), %rax
	movq	_MLX5_VPORT_UPLINK@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	movl	$0, %r15d
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_INGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_flow_flag_test
	testq	%rax, %rax
	setne	%r15b
LBB0_2:
	movq	_MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	(%r12), %ebx
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movq	_MLX5_DEVCOM_ESW_OFFLOADS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mlx5_devcom_is_paired
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	movq	8(%r12), %rdi
	callq	_mlx5_lag_is_sriov
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	testl	%ebx, %ebx
	setne	%al
	orb	%al, %r15b
	movl	$1, %r14d
	jne	LBB0_9
	jmp	LBB0_8
LBB0_4:
	testl	%ebx, %ebx
	setne	%bl
	movq	8(%r12), %rdi
	callq	_mlx5_lag_is_multipath
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	orb	%bl, %r15b
	movl	$1, %r14d
	jne	LBB0_9
LBB0_8:
	xorl	%r14d, %r14d
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_VPORT_UPLINK,8,3          ## @MLX5_VPORT_UPLINK
	.comm	_INGRESS,4,2                    ## @INGRESS
	.comm	_MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT,4,2 ## @MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT
	.comm	_MLX5_DEVCOM_ESW_OFFLOADS,4,2   ## @MLX5_DEVCOM_ESW_OFFLOADS
	.no_dead_strip	_is_peer_flow_needed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_peer_flow_needed
_is_peer_flow_needed:                   ; @is_peer_flow_needed
	.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
	ldr	x19, [x0]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _MLX5_VPORT_UPLINK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX5_VPORT_UPLINK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _INGRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INGRESS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_flow_flag_test
	cmp	x0, #0
	cset	w20, ne
LBB0_3:
	ldr	w21, [x19]
Lloh6:
	adrp	x8, _MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _MLX5_DEVCOM_ESW_OFFLOADS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLX5_DEVCOM_ESW_OFFLOADS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_mlx5_devcom_is_paired
	cbz	w0, LBB0_10
; %bb.4:
	and	w21, w22, w21
	ldr	x0, [x19, #8]
	bl	_mlx5_lag_is_sriov
	cmp	w21, #0
	cbz	x0, LBB0_6
; %bb.5:
	cset	w8, ne
	orr	w8, w20, w8
	tbnz	w8, #0, LBB0_8
	b	LBB0_9
LBB0_6:
	cset	w21, ne
	ldr	x0, [x19, #8]
	bl	_mlx5_lag_is_multipath
	cbz	x0, LBB0_9
; %bb.7:
	orr	w8, w20, w21
	tbz	w8, #0, LBB0_9
LBB0_8:
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_VPORT_UPLINK,8,3          ; @MLX5_VPORT_UPLINK
	.comm	_INGRESS,4,2                    ; @INGRESS
	.comm	_MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT,4,2 ; @MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT
	.comm	_MLX5_DEVCOM_ESW_OFFLOADS,4,2   ; @MLX5_DEVCOM_ESW_OFFLOADS
	.no_dead_strip	_is_peer_flow_needed
.subsections_via_symbols
