	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function speed_to_caps
_speed_to_caps:                         ## @speed_to_caps
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SPEED_100@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_FW_PORT_CAP_SPEED_100M@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_SPEED_1000@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_FW_PORT_CAP_SPEED_1G@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_SPEED_10000@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%edi, (%rcx)
	jne	LBB0_7
## %bb.5:
	movq	_FW_PORT_CAP_SPEED_10G@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPEED_100,4,2                  ## @SPEED_100
	.comm	_FW_PORT_CAP_SPEED_100M,4,2     ## @FW_PORT_CAP_SPEED_100M
	.comm	_SPEED_1000,4,2                 ## @SPEED_1000
	.comm	_FW_PORT_CAP_SPEED_1G,4,2       ## @FW_PORT_CAP_SPEED_1G
	.comm	_SPEED_10000,4,2                ## @SPEED_10000
	.comm	_FW_PORT_CAP_SPEED_10G,4,2      ## @FW_PORT_CAP_SPEED_10G
	.no_dead_strip	_speed_to_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_caps
_speed_to_caps:                         ; @speed_to_caps
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SPEED_100@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPEED_100@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _FW_PORT_CAP_SPEED_100M@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_PORT_CAP_SPEED_100M@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _SPEED_1000@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SPEED_1000@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _FW_PORT_CAP_SPEED_1G@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FW_PORT_CAP_SPEED_1G@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh12:
	adrp	x8, _SPEED_10000@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SPEED_10000@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _FW_PORT_CAP_SPEED_10G@GOTPAGE
Lloh16:
	ldr	x9, [x9, _FW_PORT_CAP_SPEED_10G@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w0
	csel	w0, w9, wzr, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SPEED_100,4,2                  ; @SPEED_100
	.comm	_FW_PORT_CAP_SPEED_100M,4,2     ; @FW_PORT_CAP_SPEED_100M
	.comm	_SPEED_1000,4,2                 ; @SPEED_1000
	.comm	_FW_PORT_CAP_SPEED_1G,4,2       ; @FW_PORT_CAP_SPEED_1G
	.comm	_SPEED_10000,4,2                ; @SPEED_10000
	.comm	_FW_PORT_CAP_SPEED_10G,4,2      ; @FW_PORT_CAP_SPEED_10G
	.no_dead_strip	_speed_to_caps
.subsections_via_symbols
