	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opa_speed_to_ib
_opa_speed_to_ib:                       ## @opa_speed_to_ib
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_OPA_LINK_SPEED_25G@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edi, %ecx
	je	LBB0_2
## %bb.1:
	movq	_IB_SPEED_EDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	movq	_OPA_LINK_SPEED_12_5G@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	je	LBB0_4
## %bb.3:
	movq	_IB_SPEED_FDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	orl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPA_LINK_SPEED_25G,4,2         ## @OPA_LINK_SPEED_25G
	.comm	_IB_SPEED_EDR,4,2               ## @IB_SPEED_EDR
	.comm	_OPA_LINK_SPEED_12_5G,4,2       ## @OPA_LINK_SPEED_12_5G
	.comm	_IB_SPEED_FDR,4,2               ## @IB_SPEED_FDR
	.no_dead_strip	_opa_speed_to_ib
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opa_speed_to_ib
_opa_speed_to_ib:                       ; @opa_speed_to_ib
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _OPA_LINK_SPEED_25G@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPA_LINK_SPEED_25G@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IB_SPEED_EDR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_SPEED_EDR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
Lloh6:
	adrp	x9, _OPA_LINK_SPEED_12_5G@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OPA_LINK_SPEED_12_5G@GOTPAGEOFF]
Lloh8:
	adrp	x10, _IB_SPEED_FDR@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IB_SPEED_FDR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OPA_LINK_SPEED_25G,4,2         ; @OPA_LINK_SPEED_25G
	.comm	_IB_SPEED_EDR,4,2               ; @IB_SPEED_EDR
	.comm	_OPA_LINK_SPEED_12_5G,4,2       ; @OPA_LINK_SPEED_12_5G
	.comm	_IB_SPEED_FDR,4,2               ; @IB_SPEED_FDR
	.no_dead_strip	_opa_speed_to_ib
.subsections_via_symbols
