	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_conv_link_speed_to_virtchnl ## -- Begin function ice_conv_link_speed_to_virtchnl
	.p2align	4, 0x90
_ice_conv_link_speed_to_virtchnl:       ## @ice_conv_link_speed_to_virtchnl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	$-128, %esi
	testl	%edi, %edi
	jne	LBB0_1
## %bb.2:
	movq	_VIRTCHNL_LINK_SPEED_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	$10, %esi
	jbe	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_ICE_LINK_SPEED_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	$10, %esi
	ja	LBB0_5
LBB0_4:
	testl	%edi, %edi
	leaq	l_switch.table.ice_conv_link_speed_to_virtchnl.1(%rip), %rax
	leaq	l_switch.table.ice_conv_link_speed_to_virtchnl(%rip), %rcx
	cmoveq	%rax, %rcx
	movslq	%esi, %rax
	movq	(%rcx,%rax,8), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_LINK_SPEED_10MBPS,4,2      ## @ICE_LINK_SPEED_10MBPS
	.comm	_ICE_LINK_SPEED_100MBPS,4,2     ## @ICE_LINK_SPEED_100MBPS
	.comm	_ICE_LINK_SPEED_1000MBPS,4,2    ## @ICE_LINK_SPEED_1000MBPS
	.comm	_ICE_LINK_SPEED_2500MBPS,4,2    ## @ICE_LINK_SPEED_2500MBPS
	.comm	_ICE_LINK_SPEED_5000MBPS,4,2    ## @ICE_LINK_SPEED_5000MBPS
	.comm	_ICE_LINK_SPEED_10000MBPS,4,2   ## @ICE_LINK_SPEED_10000MBPS
	.comm	_ICE_LINK_SPEED_20000MBPS,4,2   ## @ICE_LINK_SPEED_20000MBPS
	.comm	_ICE_LINK_SPEED_25000MBPS,4,2   ## @ICE_LINK_SPEED_25000MBPS
	.comm	_ICE_LINK_SPEED_40000MBPS,4,2   ## @ICE_LINK_SPEED_40000MBPS
	.comm	_ICE_LINK_SPEED_50000MBPS,4,2   ## @ICE_LINK_SPEED_50000MBPS
	.comm	_ICE_LINK_SPEED_100000MBPS,4,2  ## @ICE_LINK_SPEED_100000MBPS
	.comm	_ICE_LINK_SPEED_UNKNOWN,4,2     ## @ICE_LINK_SPEED_UNKNOWN
	.comm	_VIRTCHNL_LINK_SPEED_100MB,4,2  ## @VIRTCHNL_LINK_SPEED_100MB
	.comm	_VIRTCHNL_LINK_SPEED_1GB,4,2    ## @VIRTCHNL_LINK_SPEED_1GB
	.comm	_VIRTCHNL_LINK_SPEED_10GB,4,2   ## @VIRTCHNL_LINK_SPEED_10GB
	.comm	_VIRTCHNL_LINK_SPEED_20GB,4,2   ## @VIRTCHNL_LINK_SPEED_20GB
	.comm	_VIRTCHNL_LINK_SPEED_25GB,4,2   ## @VIRTCHNL_LINK_SPEED_25GB
	.comm	_VIRTCHNL_LINK_SPEED_40GB,4,2   ## @VIRTCHNL_LINK_SPEED_40GB
	.comm	_VIRTCHNL_LINK_SPEED_UNKNOWN,4,2 ## @VIRTCHNL_LINK_SPEED_UNKNOWN
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ice_conv_link_speed_to_virtchnl
l_switch.table.ice_conv_link_speed_to_virtchnl:
	.quad	_ICE_LINK_SPEED_5000MBPS
	.quad	_ICE_LINK_SPEED_50000MBPS
	.quad	_ICE_LINK_SPEED_40000MBPS
	.quad	_ICE_LINK_SPEED_25000MBPS
	.quad	_ICE_LINK_SPEED_2500MBPS
	.quad	_ICE_LINK_SPEED_20000MBPS
	.quad	_ICE_LINK_SPEED_10MBPS
	.quad	_ICE_LINK_SPEED_10000MBPS
	.quad	_ICE_LINK_SPEED_100MBPS
	.quad	_ICE_LINK_SPEED_100000MBPS
	.quad	_ICE_LINK_SPEED_1000MBPS

	.p2align	3                               ## @switch.table.ice_conv_link_speed_to_virtchnl.1
l_switch.table.ice_conv_link_speed_to_virtchnl.1:
	.quad	_VIRTCHNL_LINK_SPEED_1GB
	.quad	_VIRTCHNL_LINK_SPEED_40GB
	.quad	_VIRTCHNL_LINK_SPEED_40GB
	.quad	_VIRTCHNL_LINK_SPEED_25GB
	.quad	_VIRTCHNL_LINK_SPEED_1GB
	.quad	_VIRTCHNL_LINK_SPEED_20GB
	.quad	_VIRTCHNL_LINK_SPEED_100MB
	.quad	_VIRTCHNL_LINK_SPEED_10GB
	.quad	_VIRTCHNL_LINK_SPEED_100MB
	.quad	_VIRTCHNL_LINK_SPEED_40GB
	.quad	_VIRTCHNL_LINK_SPEED_1GB

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_conv_link_speed_to_virtchnl ; -- Begin function ice_conv_link_speed_to_virtchnl
	.p2align	2
_ice_conv_link_speed_to_virtchnl:       ; @ice_conv_link_speed_to_virtchnl
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ICE_LINK_SPEED_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICE_LINK_SPEED_UNKNOWN@GOTPAGEOFF]
	sub	w9, w1, #128
Lloh2:
	adrp	x10, _VIRTCHNL_LINK_SPEED_UNKNOWN@GOTPAGE
Lloh3:
	ldr	x10, [x10, _VIRTCHNL_LINK_SPEED_UNKNOWN@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x10, x8, eq
	cmp	w9, #10
	b.hi	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, l_switch.table.ice_conv_link_speed_to_virtchnl@PAGE
Lloh5:
	add	x8, x8, l_switch.table.ice_conv_link_speed_to_virtchnl@PAGEOFF
Lloh6:
	adrp	x10, l_switch.table.ice_conv_link_speed_to_virtchnl.1@PAGE
Lloh7:
	add	x10, x10, l_switch.table.ice_conv_link_speed_to_virtchnl.1@PAGEOFF
	cmp	w0, #0
	csel	x8, x10, x8, eq
	ldr	x8, [x8, w9, sxtw #3]
LBB0_2:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_LINK_SPEED_10MBPS,4,2      ; @ICE_LINK_SPEED_10MBPS
	.comm	_ICE_LINK_SPEED_100MBPS,4,2     ; @ICE_LINK_SPEED_100MBPS
	.comm	_ICE_LINK_SPEED_1000MBPS,4,2    ; @ICE_LINK_SPEED_1000MBPS
	.comm	_ICE_LINK_SPEED_2500MBPS,4,2    ; @ICE_LINK_SPEED_2500MBPS
	.comm	_ICE_LINK_SPEED_5000MBPS,4,2    ; @ICE_LINK_SPEED_5000MBPS
	.comm	_ICE_LINK_SPEED_10000MBPS,4,2   ; @ICE_LINK_SPEED_10000MBPS
	.comm	_ICE_LINK_SPEED_20000MBPS,4,2   ; @ICE_LINK_SPEED_20000MBPS
	.comm	_ICE_LINK_SPEED_25000MBPS,4,2   ; @ICE_LINK_SPEED_25000MBPS
	.comm	_ICE_LINK_SPEED_40000MBPS,4,2   ; @ICE_LINK_SPEED_40000MBPS
	.comm	_ICE_LINK_SPEED_50000MBPS,4,2   ; @ICE_LINK_SPEED_50000MBPS
	.comm	_ICE_LINK_SPEED_100000MBPS,4,2  ; @ICE_LINK_SPEED_100000MBPS
	.comm	_ICE_LINK_SPEED_UNKNOWN,4,2     ; @ICE_LINK_SPEED_UNKNOWN
	.comm	_VIRTCHNL_LINK_SPEED_100MB,4,2  ; @VIRTCHNL_LINK_SPEED_100MB
	.comm	_VIRTCHNL_LINK_SPEED_1GB,4,2    ; @VIRTCHNL_LINK_SPEED_1GB
	.comm	_VIRTCHNL_LINK_SPEED_10GB,4,2   ; @VIRTCHNL_LINK_SPEED_10GB
	.comm	_VIRTCHNL_LINK_SPEED_20GB,4,2   ; @VIRTCHNL_LINK_SPEED_20GB
	.comm	_VIRTCHNL_LINK_SPEED_25GB,4,2   ; @VIRTCHNL_LINK_SPEED_25GB
	.comm	_VIRTCHNL_LINK_SPEED_40GB,4,2   ; @VIRTCHNL_LINK_SPEED_40GB
	.comm	_VIRTCHNL_LINK_SPEED_UNKNOWN,4,2 ; @VIRTCHNL_LINK_SPEED_UNKNOWN
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ice_conv_link_speed_to_virtchnl
l_switch.table.ice_conv_link_speed_to_virtchnl:
	.quad	_ICE_LINK_SPEED_5000MBPS
	.quad	_ICE_LINK_SPEED_50000MBPS
	.quad	_ICE_LINK_SPEED_40000MBPS
	.quad	_ICE_LINK_SPEED_25000MBPS
	.quad	_ICE_LINK_SPEED_2500MBPS
	.quad	_ICE_LINK_SPEED_20000MBPS
	.quad	_ICE_LINK_SPEED_10MBPS
	.quad	_ICE_LINK_SPEED_10000MBPS
	.quad	_ICE_LINK_SPEED_100MBPS
	.quad	_ICE_LINK_SPEED_100000MBPS
	.quad	_ICE_LINK_SPEED_1000MBPS

	.p2align	3                               ; @switch.table.ice_conv_link_speed_to_virtchnl.1
l_switch.table.ice_conv_link_speed_to_virtchnl.1:
	.quad	_VIRTCHNL_LINK_SPEED_1GB
	.quad	_VIRTCHNL_LINK_SPEED_40GB
	.quad	_VIRTCHNL_LINK_SPEED_40GB
	.quad	_VIRTCHNL_LINK_SPEED_25GB
	.quad	_VIRTCHNL_LINK_SPEED_1GB
	.quad	_VIRTCHNL_LINK_SPEED_20GB
	.quad	_VIRTCHNL_LINK_SPEED_100MB
	.quad	_VIRTCHNL_LINK_SPEED_10GB
	.quad	_VIRTCHNL_LINK_SPEED_100MB
	.quad	_VIRTCHNL_LINK_SPEED_40GB
	.quad	_VIRTCHNL_LINK_SPEED_1GB

.subsections_via_symbols
