	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qib_handle_e_ibstatuschanged   ## -- Begin function qib_handle_e_ibstatuschanged
	.p2align	4, 0x90
_qib_handle_e_ibstatuschanged:          ## @qib_handle_e_ibstatuschanged
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	32(%rdi), %r13
	movl	%esi, %edi
	callq	*(%r13)
	movq	%rax, %r15
	movl	%r14d, %edi
	callq	*8(%r13)
	movq	%rax, %r12
	movq	_IB_PORT_INIT@GOTPCREL(%rip), %rcx
	movl	(%rbx), %eax
	cmpq	(%rcx), %r15
	jl	LBB0_7
## %bb.1:
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	_QIBL_LINKDOWN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.3:
	movq	_IB_PHYSPORTSTATE_LINKUP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	jne	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%r14d, %edx
	callq	*32(%r13)
	testq	%rax, %rax
	jne	LBB0_25
	jmp	LBB0_12
LBB0_4:
	movq	_IB_PHYSPORTSTATE_LINKUP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	(%rcx), %r12
	je	LBB0_6
LBB0_7:
	movq	_QIBL_LINKINIT@GOTPCREL(%rip), %rcx
	movq	_QIBL_LINKARMED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_QIBL_LINKACTIVE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_QIBL_IB_FORCE_NOTIFY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_12
## %bb.8:
	movq	_IB_PHYSPORTSTATE_LINKUP@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_11
## %bb.9:
	movq	_IB_PHYSPORTSTATE_CFG_TRAIN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jg	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	*32(%r13)
	testq	%rax, %rax
	jne	LBB0_25
LBB0_11:
	movq	__QIB_EVENT_LINKDOWN_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_qib_set_uevent_bits
LBB0_12:
	movq	_IB_PORT_DOWN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_13
## %bb.24:
	movq	_QIBL_LINKACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	(%rbx), %r13d
	movq	_IB_EVENT_PORT_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	20(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_QIBL_LINKDOWN@GOTPCREL(%rip), %rax
	movq	_QIBL_LINKV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	(%rbx), %ecx
	movl	%ecx, (%rbx)
	movq	_QIBL_LINKINIT@GOTPCREL(%rip), %rax
	movq	_QIBL_LINKACTIVE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	movq	_QIBL_LINKARMED@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	notl	%edx
	andl	%ecx, %edx
	movl	%edx, (%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_QIB_STATUS_IB_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	8(%rbx), %rcx
	andl	%eax, (%rcx)
	testl	%r13d, %r13d
	jne	LBB0_22
	jmp	LBB0_25
LBB0_13:
	movq	_IB_PORT_ACTIVE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_14
## %bb.17:
	movq	_IB_PHYSPORTSTATE_LINKUP@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_25
## %bb.18:
	movq	_QIBL_LINKACTIVE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, (%rbx)
	je	LBB0_19
LBB0_25:
	movl	%r14d, 16(%rbx)
	jmp	LBB0_26
LBB0_14:
	movq	_QIB_STATUS_IB_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	8(%rbx), %rcx
	andl	%eax, (%rcx)
	movq	_QIBL_LINKACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	(%rbx), %r12d
	je	LBB0_16
## %bb.15:
	movq	_IB_EVENT_PORT_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_16:
	leaq	20(%rbx), %r13
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	_IB_PORT_ARMED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	movq	_QIBL_LINKARMED@GOTPCREL(%rip), %rax
	movq	_QIBL_LINKINIT@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdx
	cmoveq	%rax, %rdx
	movq	_QIBL_LINKV@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	cmovneq	%rax, %rcx
	orl	(%rdx), %esi
	orl	(%rbx), %esi
	movl	%esi, (%rbx)
	movq	_QIBL_LINKDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_QIBL_LINKACTIVE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%esi, %eax
	movl	%eax, (%rbx)
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	leaq	24(%rbx), %r15
	movl	$75, %edi
	callq	_msecs_to_jiffies
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_mod_timer
LBB0_22:
	movl	%r14d, 16(%rbx)
	testl	%r12d, %r12d
	je	LBB0_26
## %bb.23:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_signal_ib_event                ## TAILCALL
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	%rbx, %rdi
	callq	_qib_hol_up
	movq	_QIB_STATUS_IB_READY@GOTPCREL(%rip), %rax
	movq	_QIB_STATUS_IB_CONF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	8(%rbx), %rax
	orl	%ecx, (%rax)
	leaq	24(%rbx), %rdi
	callq	_qib_clear_symerror_on_linkup
	leaq	20(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_QIBL_LINKV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r12), %eax
	orl	(%rbx), %eax
	movl	%eax, (%rbx)
	movq	_QIBL_LINKINIT@GOTPCREL(%rip), %rcx
	movq	_QIBL_LINKDOWN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_QIBL_LINKARMED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	%edx, (%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_QIB_HAS_SEND_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r13)
	je	LBB0_21
## %bb.20:
	movq	_qib_sdma_event_e30_go_running@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_qib_sdma_process_event
LBB0_21:
	movq	_IB_EVENT_PORT_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	*24(%r13)
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_PORT_INIT,8,3               ## @IB_PORT_INIT
	.comm	_QIBL_LINKDOWN,4,2              ## @QIBL_LINKDOWN
	.comm	_IB_PHYSPORTSTATE_LINKUP,8,3    ## @IB_PHYSPORTSTATE_LINKUP
	.comm	_QIBL_LINKINIT,4,2              ## @QIBL_LINKINIT
	.comm	_QIBL_LINKARMED,4,2             ## @QIBL_LINKARMED
	.comm	_QIBL_LINKACTIVE,4,2            ## @QIBL_LINKACTIVE
	.comm	_QIBL_IB_FORCE_NOTIFY,4,2       ## @QIBL_IB_FORCE_NOTIFY
	.comm	_IB_PHYSPORTSTATE_CFG_TRAIN,8,3 ## @IB_PHYSPORTSTATE_CFG_TRAIN
	.comm	__QIB_EVENT_LINKDOWN_BIT,4,2    ## @_QIB_EVENT_LINKDOWN_BIT
	.comm	_IB_PORT_DOWN,8,3               ## @IB_PORT_DOWN
	.comm	_IB_PORT_ACTIVE,8,3             ## @IB_PORT_ACTIVE
	.comm	_QIB_STATUS_IB_READY,4,2        ## @QIB_STATUS_IB_READY
	.comm	_IB_EVENT_PORT_ERR,4,2          ## @IB_EVENT_PORT_ERR
	.comm	_IB_PORT_ARMED,8,3              ## @IB_PORT_ARMED
	.comm	_QIBL_LINKV,4,2                 ## @QIBL_LINKV
	.comm	_QIB_STATUS_IB_CONF,4,2         ## @QIB_STATUS_IB_CONF
	.comm	_QIB_HAS_SEND_DMA,4,2           ## @QIB_HAS_SEND_DMA
	.comm	_qib_sdma_event_e30_go_running,4,2 ## @qib_sdma_event_e30_go_running
	.comm	_IB_EVENT_PORT_ACTIVE,4,2       ## @IB_EVENT_PORT_ACTIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qib_handle_e_ibstatuschanged   ; -- Begin function qib_handle_e_ibstatuschanged
	.p2align	2
_qib_handle_e_ibstatuschanged:          ; @qib_handle_e_ibstatuschanged
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	x23, [x0, #32]
	ldr	x8, [x23]
	mov	x0, x1
	blr	x8
	mov	x21, x0
	ldr	x8, [x23, #8]
	mov	x0, x20
	blr	x8
	mov	x22, x0
Lloh0:
	adrp	x8, _IB_PORT_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_PORT_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	w8, [x19]
	cmp	x21, x9
	b.lt	LBB0_6
; %bb.1:
	cbz	w8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, _QIBL_LINKDOWN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QIBL_LINKDOWN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh6:
	adrp	x10, _IB_PHYSPORTSTATE_LINKUP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IB_PHYSPORTSTATE_LINKUP@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	w9, #0
	ccmp	x22, x10, #0, ne
	b.eq	LBB0_4
	b	LBB0_6
LBB0_3:
Lloh9:
	adrp	x8, _IB_PHYSPORTSTATE_LINKUP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IB_PHYSPORTSTATE_LINKUP@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_5
LBB0_4:
	ldr	x8, [x23, #32]
	mov	x0, x19
	mov	w1, #1
	mov	x2, x20
	blr	x8
	cbnz	x0, LBB0_15
	b	LBB0_10
LBB0_5:
	mov	w8, #0
LBB0_6:
Lloh12:
	adrp	x9, _QIBL_LINKINIT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _QIBL_LINKINIT@GOTPAGEOFF]
Lloh14:
	adrp	x10, _QIBL_LINKARMED@GOTPAGE
Lloh15:
	ldr	x10, [x10, _QIBL_LINKARMED@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh18:
	adrp	x10, _QIBL_LINKACTIVE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _QIBL_LINKACTIVE@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh21:
	adrp	x10, _QIBL_IB_FORCE_NOTIFY@GOTPAGE
Lloh22:
	ldr	x10, [x10, _QIBL_IB_FORCE_NOTIFY@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_10
; %bb.7:
Lloh24:
	adrp	x8, _IB_PHYSPORTSTATE_LINKUP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IB_PHYSPORTSTATE_LINKUP@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
Lloh27:
	adrp	x9, _IB_PHYSPORTSTATE_CFG_TRAIN@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IB_PHYSPORTSTATE_CFG_TRAIN@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x22, x8
	ccmp	x22, x9, #0, ne
	b.gt	LBB0_9
; %bb.8:
	ldr	x8, [x23, #32]
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	blr	x8
	cbnz	x0, LBB0_15
LBB0_9:
Lloh30:
	adrp	x8, __QIB_EVENT_LINKDOWN_BIT@GOTPAGE
Lloh31:
	ldr	x8, [x8, __QIB_EVENT_LINKDOWN_BIT@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_qib_set_uevent_bits
LBB0_10:
Lloh33:
	adrp	x8, _IB_PORT_DOWN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IB_PORT_DOWN@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_12
; %bb.11:
	ldr	w8, [x19]
Lloh36:
	adrp	x23, _QIBL_LINKACTIVE@GOTPAGE
Lloh37:
	ldr	x23, [x23, _QIBL_LINKACTIVE@GOTPAGEOFF]
	ldr	w9, [x23]
	and	w24, w9, w8
Lloh38:
	adrp	x8, _IB_EVENT_PORT_ERR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _IB_EVENT_PORT_ERR@GOTPAGEOFF]
Lloh40:
	ldr	w22, [x8]
	add	x21, x19, #20
	mov	x0, x21
	bl	_spin_lock_irqsave
Lloh41:
	adrp	x8, _QIBL_LINKDOWN@GOTPAGE
Lloh42:
	ldr	x8, [x8, _QIBL_LINKDOWN@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
Lloh44:
	adrp	x9, _QIBL_LINKV@GOTPAGE
Lloh45:
	ldr	x9, [x9, _QIBL_LINKV@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
Lloh47:
	adrp	x9, _QIBL_LINKINIT@GOTPAGE
Lloh48:
	ldr	x9, [x9, _QIBL_LINKINIT@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	ldr	w10, [x23]
	orr	w9, w10, w9
Lloh50:
	adrp	x10, _QIBL_LINKARMED@GOTPAGE
Lloh51:
	ldr	x10, [x10, _QIBL_LINKARMED@GOTPAGEOFF]
Lloh52:
	ldr	w10, [x10]
	orr	w9, w9, w10
	bic	w8, w8, w9
	str	w8, [x19]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
Lloh53:
	adrp	x8, _QIB_STATUS_IB_READY@GOTPAGE
Lloh54:
	ldr	x8, [x8, _QIB_STATUS_IB_READY@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
	cbnz	w24, LBB0_17
	b	LBB0_15
LBB0_12:
Lloh56:
	adrp	x8, _IB_PORT_ACTIVE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _IB_PORT_ACTIVE@GOTPAGEOFF]
Lloh58:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_16
; %bb.13:
Lloh59:
	adrp	x8, _IB_PHYSPORTSTATE_LINKUP@GOTPAGE
Lloh60:
	ldr	x8, [x8, _IB_PHYSPORTSTATE_LINKUP@GOTPAGEOFF]
Lloh61:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_15
; %bb.14:
	ldr	w8, [x19]
Lloh62:
	adrp	x22, _QIBL_LINKACTIVE@GOTPAGE
Lloh63:
	ldr	x22, [x22, _QIBL_LINKACTIVE@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_19
LBB0_15:
	str	w20, [x19, #16]
	b	LBB0_22
LBB0_16:
Lloh64:
	adrp	x8, _QIB_STATUS_IB_READY@GOTPAGE
Lloh65:
	ldr	x8, [x8, _QIB_STATUS_IB_READY@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
	ldr	w8, [x19]
Lloh67:
	adrp	x24, _QIBL_LINKACTIVE@GOTPAGE
Lloh68:
	ldr	x24, [x24, _QIBL_LINKACTIVE@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh69:
	adrp	x10, _IB_EVENT_PORT_ERR@GOTPAGE
Lloh70:
	ldr	x10, [x10, _IB_EVENT_PORT_ERR@GOTPAGEOFF]
Lloh71:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w22, wzr, w10, eq
	add	x23, x19, #20
	mov	x0, x23
	bl	_spin_lock_irqsave
Lloh72:
	adrp	x8, _IB_PORT_ARMED@GOTPAGE
Lloh73:
	ldr	x8, [x8, _IB_PORT_ARMED@GOTPAGEOFF]
Lloh74:
	ldr	x8, [x8]
Lloh75:
	adrp	x9, _QIBL_LINKARMED@GOTPAGE
Lloh76:
	ldr	x9, [x9, _QIBL_LINKARMED@GOTPAGEOFF]
Lloh77:
	adrp	x10, _QIBL_LINKINIT@GOTPAGE
Lloh78:
	ldr	x10, [x10, _QIBL_LINKINIT@GOTPAGEOFF]
	cmp	x21, x8
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
Lloh79:
	adrp	x11, _QIBL_LINKV@GOTPAGE
Lloh80:
	ldr	x11, [x11, _QIBL_LINKV@GOTPAGEOFF]
Lloh81:
	ldr	w11, [x11]
	orr	w8, w11, w8
	ldr	w11, [x19]
	orr	w8, w8, w11
	str	w8, [x19]
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
Lloh82:
	adrp	x10, _QIBL_LINKDOWN@GOTPAGE
Lloh83:
	ldr	x10, [x10, _QIBL_LINKDOWN@GOTPAGEOFF]
Lloh84:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w10, [x24]
	orr	w9, w9, w10
	bic	w8, w8, w9
	str	w8, [x19]
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	add	x21, x19, #24
	mov	w0, #75
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x21
	bl	_mod_timer
LBB0_17:
	str	w20, [x19, #16]
	cbz	w22, LBB0_22
LBB0_18:
	mov	x0, x19
	mov	x1, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_signal_ib_event
LBB0_19:
	mov	x0, x19
	bl	_qib_hol_up
Lloh85:
	adrp	x8, _QIB_STATUS_IB_READY@GOTPAGE
Lloh86:
	ldr	x8, [x8, _QIB_STATUS_IB_READY@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
Lloh88:
	adrp	x9, _QIB_STATUS_IB_CONF@GOTPAGE
Lloh89:
	ldr	x9, [x9, _QIB_STATUS_IB_CONF@GOTPAGEOFF]
Lloh90:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x19, #8]
	ldr	w10, [x9]
	orr	w8, w8, w10
	str	w8, [x9]
	add	x0, x19, #24
	bl	_qib_clear_symerror_on_linkup
	add	x21, x19, #20
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	w8, [x22]
Lloh91:
	adrp	x9, _QIBL_LINKV@GOTPAGE
Lloh92:
	ldr	x9, [x9, _QIBL_LINKV@GOTPAGEOFF]
Lloh93:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
Lloh94:
	adrp	x9, _QIBL_LINKINIT@GOTPAGE
Lloh95:
	ldr	x9, [x9, _QIBL_LINKINIT@GOTPAGEOFF]
	str	w8, [x19]
Lloh96:
	ldr	w9, [x9]
Lloh97:
	adrp	x10, _QIBL_LINKDOWN@GOTPAGE
Lloh98:
	ldr	x10, [x10, _QIBL_LINKDOWN@GOTPAGEOFF]
Lloh99:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh100:
	adrp	x10, _QIBL_LINKARMED@GOTPAGE
Lloh101:
	ldr	x10, [x10, _QIBL_LINKARMED@GOTPAGEOFF]
Lloh102:
	ldr	w10, [x10]
	orr	w9, w9, w10
	bic	w8, w8, w9
	str	w8, [x19]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	ldr	w8, [x23, #16]
Lloh103:
	adrp	x9, _QIB_HAS_SEND_DMA@GOTPAGE
Lloh104:
	ldr	x9, [x9, _QIB_HAS_SEND_DMA@GOTPAGEOFF]
Lloh105:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.20:
Lloh106:
	adrp	x8, _qib_sdma_event_e30_go_running@GOTPAGE
Lloh107:
	ldr	x8, [x8, _qib_sdma_event_e30_go_running@GOTPAGEOFF]
Lloh108:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_qib_sdma_process_event
LBB0_21:
Lloh109:
	adrp	x8, _IB_EVENT_PORT_ACTIVE@GOTPAGE
Lloh110:
	ldr	x8, [x8, _IB_EVENT_PORT_ACTIVE@GOTPAGEOFF]
Lloh111:
	ldr	w22, [x8]
	ldr	x8, [x23, #24]
	mov	x0, x19
	mov	w1, #1
	blr	x8
	str	w20, [x19, #16]
	cbnz	w22, LBB0_18
LBB0_22:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_PORT_INIT,8,3               ; @IB_PORT_INIT
	.comm	_QIBL_LINKDOWN,4,2              ; @QIBL_LINKDOWN
	.comm	_IB_PHYSPORTSTATE_LINKUP,8,3    ; @IB_PHYSPORTSTATE_LINKUP
	.comm	_QIBL_LINKINIT,4,2              ; @QIBL_LINKINIT
	.comm	_QIBL_LINKARMED,4,2             ; @QIBL_LINKARMED
	.comm	_QIBL_LINKACTIVE,4,2            ; @QIBL_LINKACTIVE
	.comm	_QIBL_IB_FORCE_NOTIFY,4,2       ; @QIBL_IB_FORCE_NOTIFY
	.comm	_IB_PHYSPORTSTATE_CFG_TRAIN,8,3 ; @IB_PHYSPORTSTATE_CFG_TRAIN
	.comm	__QIB_EVENT_LINKDOWN_BIT,4,2    ; @_QIB_EVENT_LINKDOWN_BIT
	.comm	_IB_PORT_DOWN,8,3               ; @IB_PORT_DOWN
	.comm	_IB_PORT_ACTIVE,8,3             ; @IB_PORT_ACTIVE
	.comm	_QIB_STATUS_IB_READY,4,2        ; @QIB_STATUS_IB_READY
	.comm	_IB_EVENT_PORT_ERR,4,2          ; @IB_EVENT_PORT_ERR
	.comm	_IB_PORT_ARMED,8,3              ; @IB_PORT_ARMED
	.comm	_QIBL_LINKV,4,2                 ; @QIBL_LINKV
	.comm	_QIB_STATUS_IB_CONF,4,2         ; @QIB_STATUS_IB_CONF
	.comm	_QIB_HAS_SEND_DMA,4,2           ; @QIB_HAS_SEND_DMA
	.comm	_qib_sdma_event_e30_go_running,4,2 ; @qib_sdma_event_e30_go_running
	.comm	_IB_EVENT_PORT_ACTIVE,4,2       ; @IB_EVENT_PORT_ACTIVE
.subsections_via_symbols
