	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_eswitch_offload_is_uplink_port
_mlx5_eswitch_offload_is_uplink_port:   ## @mlx5_eswitch_offload_is_uplink_port
	.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	%rsi, %rbx
	movl	(%rdi), %edi
	movq	_flow_source@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_ESW_FLOWTABLE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	_MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_fte_match_param@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	4(%rbx), %esi
	movq	_misc_parameters@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_MLX5_GET
	movl	%eax, %r14d
	movl	(%r15), %edi
	movl	(%rbx), %esi
	movl	(%r12), %edx
	callq	_MLX5_GET
	andl	%r14d, %eax
	movzwl	%ax, %eax
	movq	_MLX5_VPORT_UPLINK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
LBB0_3:
	sete	%al
	movzbl	%al, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_flow_source,4,2                ## @flow_source
	.comm	_MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK,8,3 ## @MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK
	.comm	_fte_match_param,4,2            ## @fte_match_param
	.comm	_misc_parameters,4,2            ## @misc_parameters
	.comm	_MLX5_VPORT_UPLINK,4,2          ## @MLX5_VPORT_UPLINK
	.no_dead_strip	_mlx5_eswitch_offload_is_uplink_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_eswitch_offload_is_uplink_port
_mlx5_eswitch_offload_is_uplink_port:   ; @mlx5_eswitch_offload_is_uplink_port
	.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
	mov	x19, x1
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _flow_source@GOTPAGE
Lloh1:
	ldr	x8, [x8, _flow_source@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MLX5_CAP_ESW_FLOWTABLE
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x21, _fte_match_param@GOTPAGE
Lloh7:
	ldr	x21, [x21, _fte_match_param@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x19, #4]
Lloh8:
	adrp	x22, _misc_parameters@GOTPAGE
Lloh9:
	ldr	x22, [x22, _misc_parameters@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_MLX5_GET
	mov	x20, x0
	ldr	w0, [x21]
	ldr	w1, [x19]
	ldr	w2, [x22]
	bl	_MLX5_GET
	and	w8, w20, w0
Lloh10:
	adrp	x9, _MLX5_VPORT_UPLINK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MLX5_VPORT_UPLINK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmp	w9, w8, uxth
LBB0_3:
	cset	w0, eq
	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	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_flow_source,4,2                ; @flow_source
	.comm	_MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK,8,3 ; @MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK
	.comm	_fte_match_param,4,2            ; @fte_match_param
	.comm	_misc_parameters,4,2            ; @misc_parameters
	.comm	_MLX5_VPORT_UPLINK,4,2          ; @MLX5_VPORT_UPLINK
	.no_dead_strip	_mlx5_eswitch_offload_is_uplink_port
.subsections_via_symbols
