	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipath_ib_linkstate
_ipath_ib_linkstate:                    ## @ipath_ib_linkstate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rdi), %cl
	sarl	%cl, %esi
	movslq	%esi, %rax
	movq	_INFINIPATH_IBCS_LINKSTATE_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	movq	_INFINIPATH_IBCS_L_STATE_ACT_DEFER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_INFINIPATH_IBCS_L_STATE_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INFINIPATH_IBCS_LINKSTATE_MASK,8,3 ## @INFINIPATH_IBCS_LINKSTATE_MASK
	.comm	_INFINIPATH_IBCS_L_STATE_ACT_DEFER,8,3 ## @INFINIPATH_IBCS_L_STATE_ACT_DEFER
	.comm	_INFINIPATH_IBCS_L_STATE_ACTIVE,8,3 ## @INFINIPATH_IBCS_L_STATE_ACTIVE
	.no_dead_strip	_ipath_ib_linkstate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipath_ib_linkstate
_ipath_ib_linkstate:                    ; @ipath_ib_linkstate
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	asr	w8, w1, w8
Lloh0:
	adrp	x9, _INFINIPATH_IBCS_LINKSTATE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INFINIPATH_IBCS_LINKSTATE_MASK@GOTPAGEOFF]
	sxtw	x8, w8
Lloh2:
	ldr	x9, [x9]
	and	x8, x9, x8
Lloh3:
	adrp	x9, _INFINIPATH_IBCS_L_STATE_ACT_DEFER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INFINIPATH_IBCS_L_STATE_ACT_DEFER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _INFINIPATH_IBCS_L_STATE_ACTIVE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _INFINIPATH_IBCS_L_STATE_ACTIVE@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	csel	x0, x10, x8, eq
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INFINIPATH_IBCS_LINKSTATE_MASK,8,3 ; @INFINIPATH_IBCS_LINKSTATE_MASK
	.comm	_INFINIPATH_IBCS_L_STATE_ACT_DEFER,8,3 ; @INFINIPATH_IBCS_L_STATE_ACT_DEFER
	.comm	_INFINIPATH_IBCS_L_STATE_ACTIVE,8,3 ; @INFINIPATH_IBCS_L_STATE_ACTIVE
	.no_dead_strip	_ipath_ib_linkstate
.subsections_via_symbols
