	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function element_type_supported
_element_type_supported:                ## @element_type_supported
	.cfi_startproc
## %bb.0:
	addl	$-128, %esi
	xorl	%eax, %eax
	cmpl	$3, %esi
	ja	LBB0_2
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rdi
	movslq	%esi, %rax
	leaq	l_switch.table.element_type_supported(%rip), %rcx
	movq	(%rcx,%rax,8), %rbx
	movq	_esw_element_type@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_QOS
	andl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
LBB0_2:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_esw_element_type,4,2           ## @esw_element_type
	.comm	_ELEMENT_TYPE_CAP_MASK_TASR,4,2 ## @ELEMENT_TYPE_CAP_MASK_TASR
	.comm	_ELEMENT_TYPE_CAP_MASK_VPORT,4,2 ## @ELEMENT_TYPE_CAP_MASK_VPORT
	.comm	_ELEMENT_TYPE_CAP_MASK_VPORT_TC,4,2 ## @ELEMENT_TYPE_CAP_MASK_VPORT_TC
	.comm	_ELEMENT_TYPE_CAP_MASK_PARA_VPORT_TC,4,2 ## @ELEMENT_TYPE_CAP_MASK_PARA_VPORT_TC
	.no_dead_strip	_element_type_supported
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.element_type_supported
l_switch.table.element_type_supported:
	.quad	_ELEMENT_TYPE_CAP_MASK_VPORT_TC
	.quad	_ELEMENT_TYPE_CAP_MASK_VPORT
	.quad	_ELEMENT_TYPE_CAP_MASK_TASR
	.quad	_ELEMENT_TYPE_CAP_MASK_PARA_VPORT_TC

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function element_type_supported
_element_type_supported:                ; @element_type_supported
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
	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
Lloh0:
	adrp	x9, l_switch.table.element_type_supported@PAGE
Lloh1:
	add	x9, x9, l_switch.table.element_type_supported@PAGEOFF
	ldr	x0, [x0]
	ldr	x19, [x9, w8, sxtw #3]
Lloh2:
	adrp	x8, _esw_element_type@GOTPAGE
Lloh3:
	ldr	x8, [x8, _esw_element_type@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_MLX5_CAP_QOS
	ldr	w8, [x19]
	and	w0, w8, w0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_esw_element_type,4,2           ; @esw_element_type
	.comm	_ELEMENT_TYPE_CAP_MASK_TASR,4,2 ; @ELEMENT_TYPE_CAP_MASK_TASR
	.comm	_ELEMENT_TYPE_CAP_MASK_VPORT,4,2 ; @ELEMENT_TYPE_CAP_MASK_VPORT
	.comm	_ELEMENT_TYPE_CAP_MASK_VPORT_TC,4,2 ; @ELEMENT_TYPE_CAP_MASK_VPORT_TC
	.comm	_ELEMENT_TYPE_CAP_MASK_PARA_VPORT_TC,4,2 ; @ELEMENT_TYPE_CAP_MASK_PARA_VPORT_TC
	.no_dead_strip	_element_type_supported
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.element_type_supported
l_switch.table.element_type_supported:
	.quad	_ELEMENT_TYPE_CAP_MASK_VPORT_TC
	.quad	_ELEMENT_TYPE_CAP_MASK_VPORT
	.quad	_ELEMENT_TYPE_CAP_MASK_TASR
	.quad	_ELEMENT_TYPE_CAP_MASK_PARA_VPORT_TC

.subsections_via_symbols
