	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function esw_check_vport_match_metadata_supported
_esw_check_vport_match_metadata_supported: ## @esw_check_vport_match_metadata_supported
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_esw_uplink_ingress_acl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_ESW
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	(%rbx), %edi
	movq	_fdb_to_vport_reg_c_id@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_ESW_FLOWTABLE
	movq	_MLX5_FDB_TO_VPORT_REG_C_0@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.2:
	movl	(%rbx), %edi
	movq	_flow_source@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_ESW_FLOWTABLE
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	(%rbx), %edi
	callq	_mlx5_core_is_ecpf_esw_manager
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	callq	_mlx5_ecpf_vport_exists
	xorl	%r14d, %r14d
	testq	%rax, %rax
	sete	%r14b
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_esw_uplink_ingress_acl,4,2     ## @esw_uplink_ingress_acl
	.comm	_fdb_to_vport_reg_c_id,4,2      ## @fdb_to_vport_reg_c_id
	.comm	_MLX5_FDB_TO_VPORT_REG_C_0,4,2  ## @MLX5_FDB_TO_VPORT_REG_C_0
	.comm	_flow_source,4,2                ## @flow_source
	.no_dead_strip	_esw_check_vport_match_metadata_supported
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function esw_check_vport_match_metadata_supported
_esw_check_vport_match_metadata_supported: ; @esw_check_vport_match_metadata_supported
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _esw_uplink_ingress_acl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _esw_uplink_ingress_acl@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MLX5_CAP_ESW
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _fdb_to_vport_reg_c_id@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fdb_to_vport_reg_c_id@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_MLX5_CAP_ESW_FLOWTABLE
Lloh6:
	adrp	x8, _MLX5_FDB_TO_VPORT_REG_C_0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLX5_FDB_TO_VPORT_REG_C_0@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.2:
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _flow_source@GOTPAGE
Lloh10:
	ldr	x8, [x8, _flow_source@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_MLX5_CAP_ESW_FLOWTABLE
	cbz	w0, LBB0_6
; %bb.3:
	ldr	w0, [x19]
	bl	_mlx5_core_is_ecpf_esw_manager
	cbz	x0, LBB0_5
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	ldr	w0, [x19]
	bl	_mlx5_ecpf_vport_exists
	cmp	x0, #0
	cset	w0, eq
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_esw_uplink_ingress_acl,4,2     ; @esw_uplink_ingress_acl
	.comm	_fdb_to_vport_reg_c_id,4,2      ; @fdb_to_vport_reg_c_id
	.comm	_MLX5_FDB_TO_VPORT_REG_C_0,4,2  ; @MLX5_FDB_TO_VPORT_REG_C_0
	.comm	_flow_source,4,2                ; @flow_source
	.no_dead_strip	_esw_check_vport_match_metadata_supported
.subsections_via_symbols
