	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_7322_iblink_state
_qib_7322_iblink_state:                 ## @qib_7322_iblink_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IBCStatusA_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LinkState@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_SYM_FIELD
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.qib_7322_iblink_state(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IB_PORT_DOWN@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IBCStatusA_0,4,2               ## @IBCStatusA_0
	.comm	_LinkState,4,2                  ## @LinkState
	.comm	_IB_PORT_INIT,4,2               ## @IB_PORT_INIT
	.comm	_IB_PORT_ARMED,4,2              ## @IB_PORT_ARMED
	.comm	_IB_PORT_ACTIVE,4,2             ## @IB_PORT_ACTIVE
	.comm	_IB_PORT_DOWN,4,2               ## @IB_PORT_DOWN
	.no_dead_strip	_qib_7322_iblink_state
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.qib_7322_iblink_state
l_switch.table.qib_7322_iblink_state:
	.quad	_IB_PORT_INIT
	.quad	_IB_PORT_DOWN
	.quad	_IB_PORT_ARMED
	.quad	_IB_PORT_ACTIVE
	.quad	_IB_PORT_ACTIVE

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_7322_iblink_state
_qib_7322_iblink_state:                 ; @qib_7322_iblink_state
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _IBCStatusA_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IBCStatusA_0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _LinkState@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LinkState@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_SYM_FIELD
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, l_switch.table.qib_7322_iblink_state@PAGE
Lloh7:
	add	x9, x9, l_switch.table.qib_7322_iblink_state@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _IB_PORT_DOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IB_PORT_DOWN@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IBCStatusA_0,4,2               ; @IBCStatusA_0
	.comm	_LinkState,4,2                  ; @LinkState
	.comm	_IB_PORT_INIT,4,2               ; @IB_PORT_INIT
	.comm	_IB_PORT_ARMED,4,2              ; @IB_PORT_ARMED
	.comm	_IB_PORT_ACTIVE,4,2             ; @IB_PORT_ACTIVE
	.comm	_IB_PORT_DOWN,4,2               ; @IB_PORT_DOWN
	.no_dead_strip	_qib_7322_iblink_state
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.qib_7322_iblink_state
l_switch.table.qib_7322_iblink_state:
	.quad	_IB_PORT_INIT
	.quad	_IB_PORT_DOWN
	.quad	_IB_PORT_ARMED
	.quad	_IB_PORT_ACTIVE
	.quad	_IB_PORT_ACTIVE

.subsections_via_symbols
