	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function speed_to_fw_caps
_speed_to_fw_caps:                      ## @speed_to_fw_caps
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	cmpl	$39999, %edi                    ## imm = 0x9C3F
	jle	LBB0_1
## %bb.8:
	cmpl	$99999, %edi                    ## imm = 0x1869F
	jle	LBB0_9
## %bb.12:
	cmpl	$100000, %edi                   ## imm = 0x186A0
	je	LBB0_19
## %bb.13:
	cmpl	$200000, %edi                   ## imm = 0x30D40
	je	LBB0_20
## %bb.14:
	cmpl	$400000, %edi                   ## imm = 0x61A80
	jne	LBB0_22
## %bb.15:
	movq	_FW_PORT_CAP32_SPEED_400G@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_1:
	cmpl	$9999, %edi                     ## imm = 0x270F
	jg	LBB0_5
## %bb.2:
	cmpl	$100, %edi
	je	LBB0_16
## %bb.3:
	cmpl	$1000, %edi                     ## imm = 0x3E8
	jne	LBB0_22
## %bb.4:
	movq	_FW_PORT_CAP32_SPEED_1G@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_9:
	cmpl	$40000, %edi                    ## imm = 0x9C40
	je	LBB0_18
## %bb.10:
	cmpl	$50000, %edi                    ## imm = 0xC350
	jne	LBB0_22
## %bb.11:
	movq	_FW_PORT_CAP32_SPEED_50G@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_5:
	cmpl	$10000, %edi                    ## imm = 0x2710
	je	LBB0_17
## %bb.6:
	cmpl	$25000, %edi                    ## imm = 0x61A8
	jne	LBB0_22
## %bb.7:
	movq	_FW_PORT_CAP32_SPEED_25G@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_19:
	movq	_FW_PORT_CAP32_SPEED_100G@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_20:
	movq	_FW_PORT_CAP32_SPEED_200G@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_16:
	movq	_FW_PORT_CAP32_SPEED_100M@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_18:
	movq	_FW_PORT_CAP32_SPEED_40G@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_17:
	movq	_FW_PORT_CAP32_SPEED_10G@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
LBB0_22:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_PORT_CAP32_SPEED_100M,4,2   ## @FW_PORT_CAP32_SPEED_100M
	.comm	_FW_PORT_CAP32_SPEED_1G,4,2     ## @FW_PORT_CAP32_SPEED_1G
	.comm	_FW_PORT_CAP32_SPEED_10G,4,2    ## @FW_PORT_CAP32_SPEED_10G
	.comm	_FW_PORT_CAP32_SPEED_25G,4,2    ## @FW_PORT_CAP32_SPEED_25G
	.comm	_FW_PORT_CAP32_SPEED_40G,4,2    ## @FW_PORT_CAP32_SPEED_40G
	.comm	_FW_PORT_CAP32_SPEED_50G,4,2    ## @FW_PORT_CAP32_SPEED_50G
	.comm	_FW_PORT_CAP32_SPEED_100G,4,2   ## @FW_PORT_CAP32_SPEED_100G
	.comm	_FW_PORT_CAP32_SPEED_200G,4,2   ## @FW_PORT_CAP32_SPEED_200G
	.comm	_FW_PORT_CAP32_SPEED_400G,4,2   ## @FW_PORT_CAP32_SPEED_400G
	.no_dead_strip	_speed_to_fw_caps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function speed_to_fw_caps
_speed_to_fw_caps:                      ; @speed_to_fw_caps
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #0
	mov	w9, #39999
	cmp	w8, w9
	b.le	LBB0_6
; %bb.1:
	mov	w9, #34463
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.le	LBB0_10
; %bb.2:
	mov	w9, #34464
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.eq	LBB0_16
; %bb.3:
	mov	w9, #3392
	movk	w9, #3, lsl #16
	cmp	w8, w9
	b.eq	LBB0_17
; %bb.4:
	mov	w9, #6784
	movk	w9, #6, lsl #16
	cmp	w8, w9
	b.ne	LBB0_22
; %bb.5:
Lloh0:
	adrp	x8, _FW_PORT_CAP32_SPEED_400G@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_PORT_CAP32_SPEED_400G@GOTPAGEOFF]
	b	LBB0_21
LBB0_6:
	mov	w9, #9999
	cmp	w8, w9
	b.gt	LBB0_13
; %bb.7:
	cmp	w8, #100
	b.eq	LBB0_18
; %bb.8:
	cmp	w8, #1000
	b.ne	LBB0_22
; %bb.9:
Lloh2:
	adrp	x8, _FW_PORT_CAP32_SPEED_1G@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FW_PORT_CAP32_SPEED_1G@GOTPAGEOFF]
	b	LBB0_21
LBB0_10:
	mov	w9, #40000
	cmp	w8, w9
	b.eq	LBB0_19
; %bb.11:
	mov	w9, #50000
	cmp	w8, w9
	b.ne	LBB0_22
; %bb.12:
Lloh4:
	adrp	x8, _FW_PORT_CAP32_SPEED_50G@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FW_PORT_CAP32_SPEED_50G@GOTPAGEOFF]
	b	LBB0_21
LBB0_13:
	mov	w9, #10000
	cmp	w8, w9
	b.eq	LBB0_20
; %bb.14:
	mov	w9, #25000
	cmp	w8, w9
	b.ne	LBB0_22
; %bb.15:
Lloh6:
	adrp	x8, _FW_PORT_CAP32_SPEED_25G@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FW_PORT_CAP32_SPEED_25G@GOTPAGEOFF]
	b	LBB0_21
LBB0_16:
Lloh8:
	adrp	x8, _FW_PORT_CAP32_SPEED_100G@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FW_PORT_CAP32_SPEED_100G@GOTPAGEOFF]
	b	LBB0_21
LBB0_17:
Lloh10:
	adrp	x8, _FW_PORT_CAP32_SPEED_200G@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FW_PORT_CAP32_SPEED_200G@GOTPAGEOFF]
	b	LBB0_21
LBB0_18:
Lloh12:
	adrp	x8, _FW_PORT_CAP32_SPEED_100M@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FW_PORT_CAP32_SPEED_100M@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:
Lloh14:
	adrp	x8, _FW_PORT_CAP32_SPEED_40G@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FW_PORT_CAP32_SPEED_40G@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:
Lloh16:
	adrp	x8, _FW_PORT_CAP32_SPEED_10G@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FW_PORT_CAP32_SPEED_10G@GOTPAGEOFF]
LBB0_21:
	ldr	w0, [x8]
LBB0_22:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_PORT_CAP32_SPEED_100M,4,2   ; @FW_PORT_CAP32_SPEED_100M
	.comm	_FW_PORT_CAP32_SPEED_1G,4,2     ; @FW_PORT_CAP32_SPEED_1G
	.comm	_FW_PORT_CAP32_SPEED_10G,4,2    ; @FW_PORT_CAP32_SPEED_10G
	.comm	_FW_PORT_CAP32_SPEED_25G,4,2    ; @FW_PORT_CAP32_SPEED_25G
	.comm	_FW_PORT_CAP32_SPEED_40G,4,2    ; @FW_PORT_CAP32_SPEED_40G
	.comm	_FW_PORT_CAP32_SPEED_50G,4,2    ; @FW_PORT_CAP32_SPEED_50G
	.comm	_FW_PORT_CAP32_SPEED_100G,4,2   ; @FW_PORT_CAP32_SPEED_100G
	.comm	_FW_PORT_CAP32_SPEED_200G,4,2   ; @FW_PORT_CAP32_SPEED_200G
	.comm	_FW_PORT_CAP32_SPEED_400G,4,2   ; @FW_PORT_CAP32_SPEED_400G
	.no_dead_strip	_speed_to_fw_caps
.subsections_via_symbols
