	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_housekeeping
_init_housekeeping:                     ## @init_housekeeping
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, 72(%rdi)
	movq	_IPATH_LINKUNK@GOTPCREL(%rip), %rax
	movq	_IPATH_PRESENT@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	orl	(%rax), %ecx
	orl	(%rdi), %ecx
	movl	%ecx, (%rdi)
	movq	_IPATH_LINKACTIVE@GOTPCREL(%rip), %rax
	movq	_IPATH_LINKARMED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	movl	%esi, %r14d
	movq	_IPATH_LINKDOWN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_IPATH_LINKINIT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	notl	%edx
	andl	%ecx, %edx
	movl	%edx, (%rdi)
	movq	_VERBOSE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_ipath_cdbg
	movq	56(%rbx), %rax
	movl	20(%rax), %esi
	movq	%rbx, %rdi
	callq	_ipath_read_kreg64
	movl	%eax, 4(%rbx)
	movq	56(%rbx), %rax
	movl	16(%rax), %esi
	movq	%rbx, %rdi
	callq	_ipath_read_kreg32
	movl	%eax, 8(%rbx)
	movq	56(%rbx), %rax
	movl	12(%rax), %esi
	movq	%rbx, %rdi
	callq	_ipath_read_kreg32
	movl	%eax, 12(%rbx)
	movq	56(%rbx), %rax
	movl	8(%rax), %esi
	movq	%rbx, %rdi
	callq	_ipath_read_kreg32
	movl	%eax, 16(%rbx)
	movl	(%r13), %edi
	movl	64(%rbx), %edx
	movl	8(%rbx), %ecx
	movl	12(%rbx), %r9d
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_ipath_cdbg
	cmpl	$-1, 4(%rbx)
	je	LBB0_8
## %bb.1:
	cmpl	$-1, 8(%rbx)
	je	LBB0_8
## %bb.2:
	cmpl	$-1, 12(%rbx)
	je	LBB0_8
## %bb.3:
	cmpl	$-1, 16(%rbx)
	je	LBB0_8
## %bb.4:
	movq	56(%rbx), %rax
	movl	4(%rax), %esi
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ipath_write_kreg
	movq	56(%rbx), %rax
	movl	(%rax), %esi
	movq	_INFINIPATH_E_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ipath_write_kreg
	movl	(%r13), %edi
	movslq	4(%rbx), %rdx
	movl	20(%rbx), %ecx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_ipath_cdbg
	movslq	4(%rbx), %r8
	movq	_INFINIPATH_R_SOFTWARE_SHIFT@GOTPCREL(%rip), %r13
	movb	(%r13), %cl
	movl	%r8d, %eax
	sarl	%cl, %eax
	movq	_INFINIPATH_R_SOFTWARE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_IPATH_CHIP_SWVERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	%edx, %eax
	jne	LBB0_12
## %bb.5:
	movq	_INFINIPATH_R_CHIPREVMAJOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r8d, %eax
	sarl	%cl, %eax
	movq	_INFINIPATH_R_CHIPREVMAJOR_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, 24(%rbx)
	movq	_INFINIPATH_R_CHIPREVMINOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r8d, %eax
	sarl	%cl, %eax
	movq	_INFINIPATH_R_CHIPREVMINOR_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, 28(%rbx)
	movq	_INFINIPATH_R_BOARDID_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r8d
	movq	_INFINIPATH_R_BOARDID_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r8d
	movslq	%r8d, %rax
	movq	%rax, 48(%rbx)
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$40, %edx
	callq	*32(%rbx)
	movl	%eax, %r15d
	movl	40(%rbx), %edi
	movq	_IPATH_CHIP_VERS_MAJ@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_IPATH_CHIP_VERS_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_INFINIPATH_R_ARCH_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	4(%rbx), %eax
	movl	%eax, %r10d
	sarl	%cl, %r10d
	movl	20(%rbx), %r11d
	movq	_INFINIPATH_R_ARCH_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r10d
	movb	(%r13), %cl
	sarl	%cl, %eax
	movl	24(%rbx), %r13d
	movl	28(%rbx), %r12d
	movq	_INFINIPATH_R_SOFTWARE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	subq	$8, %rsp
	leaq	L_.str.5(%rip), %rdx
	movl	$4, %esi
	movl	%r9d, %ecx
	leaq	-96(%rbp), %r9
	pushq	%rax
	pushq	%r11
	pushq	%r12
	pushq	%r13
	pushq	%r10
	callq	_snprintf
	addq	$48, %rsp
	movl	40(%rbx), %esi
	leaq	L_.str.6(%rip), %rdi
	callq	_ipath_dbg
	testl	%r15d, %r15d
	jne	LBB0_10
## %bb.6:
	movq	%rbx, %rdi
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.7:
	callq	_init_chip_reset
	jmp	LBB0_14
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_ipath_dev_err
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_9:
	subl	(%rax), %r15d
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.11:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ipath_dev_err
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_13:
	callq	_init_chip_first
LBB0_14:
	movl	%eax, %r15d
	jmp	LBB0_10
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IPATH_LINKUNK,4,2              ## @IPATH_LINKUNK
	.comm	_IPATH_PRESENT,4,2              ## @IPATH_PRESENT
	.comm	_IPATH_LINKACTIVE,4,2           ## @IPATH_LINKACTIVE
	.comm	_IPATH_LINKARMED,4,2            ## @IPATH_LINKARMED
	.comm	_IPATH_LINKDOWN,4,2             ## @IPATH_LINKDOWN
	.comm	_IPATH_LINKINIT,4,2             ## @IPATH_LINKINIT
	.comm	_VERBOSE,4,2                    ## @VERBOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Try to read spc chip revision\n"

L_.str.1:                               ## @.str.1
	.asciz	"ipath_kregbase %p, sendbase %x usrbase %x, cntrbase %x\n"

L_.str.2:                               ## @.str.2
	.asciz	"Register read failures from chip, giving up initialization\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_INFINIPATH_E_RESET,4,2         ## @INFINIPATH_E_RESET
L_.str.3:                               ## @.str.3
	.asciz	"Revision %llx (PCI %x)\n"

	.comm	_INFINIPATH_R_SOFTWARE_SHIFT,4,2 ## @INFINIPATH_R_SOFTWARE_SHIFT
	.comm	_INFINIPATH_R_SOFTWARE_MASK,4,2 ## @INFINIPATH_R_SOFTWARE_MASK
	.comm	_IPATH_CHIP_SWVERSION,4,2       ## @IPATH_CHIP_SWVERSION
L_.str.4:                               ## @.str.4
	.asciz	"Driver only handles version %d, chip swversion is %d (%llx), failng\n"

	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_INFINIPATH_R_CHIPREVMAJOR_SHIFT,4,2 ## @INFINIPATH_R_CHIPREVMAJOR_SHIFT
	.comm	_INFINIPATH_R_CHIPREVMAJOR_MASK,4,2 ## @INFINIPATH_R_CHIPREVMAJOR_MASK
	.comm	_INFINIPATH_R_CHIPREVMINOR_SHIFT,4,2 ## @INFINIPATH_R_CHIPREVMINOR_SHIFT
	.comm	_INFINIPATH_R_CHIPREVMINOR_MASK,4,2 ## @INFINIPATH_R_CHIPREVMINOR_MASK
	.comm	_INFINIPATH_R_BOARDID_SHIFT,4,2 ## @INFINIPATH_R_BOARDID_SHIFT
	.comm	_INFINIPATH_R_BOARDID_MASK,4,2  ## @INFINIPATH_R_BOARDID_MASK
L_.str.5:                               ## @.str.5
	.asciz	"ChipABI %u.%u, %s, InfiniPath%u %u.%u, PCI %u, SW Compat %u\n"

	.comm	_IPATH_CHIP_VERS_MAJ,4,2        ## @IPATH_CHIP_VERS_MAJ
	.comm	_IPATH_CHIP_VERS_MIN,4,2        ## @IPATH_CHIP_VERS_MIN
	.comm	_INFINIPATH_R_ARCH_SHIFT,4,2    ## @INFINIPATH_R_ARCH_SHIFT
	.comm	_INFINIPATH_R_ARCH_MASK,4,2     ## @INFINIPATH_R_ARCH_MASK
L_.str.6:                               ## @.str.6
	.asciz	"%s"

	.no_dead_strip	_init_housekeeping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_housekeeping
_init_housekeeping:                     ; @init_housekeeping
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _IPATH_LINKUNK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPATH_LINKUNK@GOTPAGEOFF]
	stur	x8, [x29, #-56]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x21, _IPATH_PRESENT@GOTPAGE
Lloh7:
	ldr	x21, [x21, _IPATH_PRESENT@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w8, w9, w8
	ldr	w9, [x0]
	orr	w8, w8, w9
	str	w8, [x0]
Lloh8:
	adrp	x9, _IPATH_LINKACTIVE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IPATH_LINKACTIVE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _IPATH_LINKARMED@GOTPAGE
Lloh12:
	ldr	x10, [x10, _IPATH_LINKARMED@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh14:
	adrp	x10, _IPATH_LINKDOWN@GOTPAGE
Lloh15:
	ldr	x10, [x10, _IPATH_LINKDOWN@GOTPAGEOFF]
	str	xzr, [x0, #72]
Lloh16:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh17:
	adrp	x10, _IPATH_LINKINIT@GOTPAGE
Lloh18:
	ldr	x10, [x10, _IPATH_LINKINIT@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	orr	w9, w9, w10
	bic	w8, w8, w9
	str	w8, [x0]
Lloh20:
	adrp	x22, _VERBOSE@GOTPAGE
Lloh21:
	ldr	x22, [x22, _VERBOSE@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ipath_cdbg
	ldr	x8, [x19, #56]
	ldr	w1, [x8, #20]
	mov	x0, x19
	bl	_ipath_read_kreg64
	str	w0, [x19, #4]
	ldr	x8, [x19, #56]
	ldr	w1, [x8, #16]
	mov	x0, x19
	bl	_ipath_read_kreg32
	str	w0, [x19, #8]
	ldr	x8, [x19, #56]
	ldr	w1, [x8, #12]
	mov	x0, x19
	bl	_ipath_read_kreg32
	str	w0, [x19, #12]
	ldr	x8, [x19, #56]
	ldr	w1, [x8, #8]
	mov	x0, x19
	bl	_ipath_read_kreg32
	str	w0, [x19, #16]
	ldr	w8, [x22]
	ldr	w9, [x19, #64]
	ldp	w10, w11, [x19, #8]
	stp	x0, x11, [sp, #16]
	stp	x9, x10, [sp]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x8
	bl	_ipath_cdbg
	ldr	w8, [x19, #4]
	cmn	w8, #1
	b.eq	LBB0_8
; %bb.1:
	ldr	w8, [x19, #8]
	cmn	w8, #1
	b.eq	LBB0_8
; %bb.2:
	ldr	w8, [x19, #12]
	cmn	w8, #1
	b.eq	LBB0_8
; %bb.3:
	ldr	w8, [x19, #16]
	cmn	w8, #1
	b.eq	LBB0_8
; %bb.4:
	ldr	x8, [x19, #56]
	ldr	w1, [x8, #4]
	mov	x0, x19
	mov	w2, #0
	bl	_ipath_write_kreg
	ldr	x8, [x19, #56]
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _INFINIPATH_E_RESET@GOTPAGE
Lloh27:
	ldr	x8, [x8, _INFINIPATH_E_RESET@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ipath_write_kreg
	ldr	w0, [x22]
	ldrsw	x8, [x19, #4]
	ldr	w9, [x19, #20]
	stp	x8, x9, [sp]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_ipath_cdbg
	ldrsw	x8, [x19, #4]
Lloh31:
	adrp	x22, _INFINIPATH_R_SOFTWARE_SHIFT@GOTPAGE
Lloh32:
	ldr	x22, [x22, _INFINIPATH_R_SOFTWARE_SHIFT@GOTPAGEOFF]
	ldr	w9, [x22]
	asr	w9, w8, w9
Lloh33:
	adrp	x23, _INFINIPATH_R_SOFTWARE_MASK@GOTPAGE
Lloh34:
	ldr	x23, [x23, _INFINIPATH_R_SOFTWARE_MASK@GOTPAGEOFF]
	ldr	w10, [x23]
	and	w9, w9, w10
Lloh35:
	adrp	x10, _IPATH_CHIP_SWVERSION@GOTPAGE
Lloh36:
	ldr	x10, [x10, _IPATH_CHIP_SWVERSION@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_12
; %bb.5:
Lloh38:
	adrp	x9, _INFINIPATH_R_CHIPREVMAJOR_SHIFT@GOTPAGE
Lloh39:
	ldr	x9, [x9, _INFINIPATH_R_CHIPREVMAJOR_SHIFT@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
Lloh41:
	adrp	x10, _INFINIPATH_R_CHIPREVMAJOR_MASK@GOTPAGE
Lloh42:
	ldr	x10, [x10, _INFINIPATH_R_CHIPREVMAJOR_MASK@GOTPAGEOFF]
	asr	w9, w8, w9
Lloh43:
	ldr	w10, [x10]
	and	w9, w9, w10
Lloh44:
	adrp	x10, _INFINIPATH_R_CHIPREVMINOR_SHIFT@GOTPAGE
Lloh45:
	ldr	x10, [x10, _INFINIPATH_R_CHIPREVMINOR_SHIFT@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	asr	w10, w8, w10
Lloh47:
	adrp	x11, _INFINIPATH_R_CHIPREVMINOR_MASK@GOTPAGE
Lloh48:
	ldr	x11, [x11, _INFINIPATH_R_CHIPREVMINOR_MASK@GOTPAGEOFF]
Lloh49:
	ldr	w11, [x11]
	and	w10, w10, w11
	stp	w9, w10, [x19, #24]
Lloh50:
	adrp	x9, _INFINIPATH_R_BOARDID_SHIFT@GOTPAGE
Lloh51:
	ldr	x9, [x9, _INFINIPATH_R_BOARDID_SHIFT@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
Lloh53:
	adrp	x10, _INFINIPATH_R_BOARDID_MASK@GOTPAGE
Lloh54:
	ldr	x10, [x10, _INFINIPATH_R_BOARDID_MASK@GOTPAGEOFF]
	asr	w8, w8, w9
Lloh55:
	ldr	w9, [x10]
	and	w8, w8, w9
	sxtw	x8, w8
	str	x8, [x19, #48]
	ldr	x8, [x19, #32]
	add	x1, sp, #32
	mov	x0, x19
	mov	w2, #40
	blr	x8
	mov	x21, x0
	ldr	w0, [x19, #40]
Lloh56:
	adrp	x8, _IPATH_CHIP_VERS_MAJ@GOTPAGE
Lloh57:
	ldr	x8, [x8, _IPATH_CHIP_VERS_MAJ@GOTPAGEOFF]
Lloh58:
	adrp	x9, _IPATH_CHIP_VERS_MIN@GOTPAGE
Lloh59:
	ldr	x9, [x9, _IPATH_CHIP_VERS_MIN@GOTPAGEOFF]
Lloh60:
	ldr	w3, [x8]
Lloh61:
	ldr	w4, [x9]
	ldr	w8, [x19, #4]
Lloh62:
	adrp	x9, _INFINIPATH_R_ARCH_SHIFT@GOTPAGE
Lloh63:
	ldr	x9, [x9, _INFINIPATH_R_ARCH_SHIFT@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	asr	w9, w8, w9
Lloh65:
	adrp	x10, _INFINIPATH_R_ARCH_MASK@GOTPAGE
Lloh66:
	ldr	x10, [x10, _INFINIPATH_R_ARCH_MASK@GOTPAGEOFF]
Lloh67:
	ldr	w10, [x10]
	and	w6, w9, w10
	ldp	w7, w9, [x19, #24]
	ldr	w10, [x19, #20]
	ldr	w11, [x22]
	asr	w8, w8, w11
	ldr	w11, [x23]
	and	w8, w8, w11
	stp	w9, w10, [sp]
	str	w8, [sp, #8]
Lloh68:
	adrp	x2, l_.str.5@PAGE
Lloh69:
	add	x2, x2, l_.str.5@PAGEOFF
	add	x5, sp, #32
	mov	w1, #4
	bl	_snprintf
	ldr	w1, [x19, #40]
Lloh70:
	adrp	x0, l_.str.6@PAGE
Lloh71:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_ipath_dbg
	cbnz	w21, LBB0_10
; %bb.6:
	mov	x0, x19
	cbz	w20, LBB0_13
; %bb.7:
	bl	_init_chip_reset
	b	LBB0_14
LBB0_8:
Lloh72:
	adrp	x1, l_.str.2@PAGE
Lloh73:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ipath_dev_err
	ldr	w8, [x21]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh74:
	adrp	x8, _ENODEV@GOTPAGE
Lloh75:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_10:
	ldur	x8, [x29, #-56]
Lloh76:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh77:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh78:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.11:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_12:
	stp	x9, x8, [sp, #8]
	str	x10, [sp]
Lloh79:
	adrp	x1, l_.str.4@PAGE
Lloh80:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_ipath_dev_err
Lloh81:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh82:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
	b	LBB0_9
LBB0_13:
	bl	_init_chip_first
LBB0_14:
	mov	x21, x0
	b	LBB0_10
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh60
	.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	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.cfi_endproc
                                        ; -- End function
	.comm	_IPATH_LINKUNK,4,2              ; @IPATH_LINKUNK
	.comm	_IPATH_PRESENT,4,2              ; @IPATH_PRESENT
	.comm	_IPATH_LINKACTIVE,4,2           ; @IPATH_LINKACTIVE
	.comm	_IPATH_LINKARMED,4,2            ; @IPATH_LINKARMED
	.comm	_IPATH_LINKDOWN,4,2             ; @IPATH_LINKDOWN
	.comm	_IPATH_LINKINIT,4,2             ; @IPATH_LINKINIT
	.comm	_VERBOSE,4,2                    ; @VERBOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Try to read spc chip revision\n"

l_.str.1:                               ; @.str.1
	.asciz	"ipath_kregbase %p, sendbase %x usrbase %x, cntrbase %x\n"

l_.str.2:                               ; @.str.2
	.asciz	"Register read failures from chip, giving up initialization\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_INFINIPATH_E_RESET,4,2         ; @INFINIPATH_E_RESET
l_.str.3:                               ; @.str.3
	.asciz	"Revision %llx (PCI %x)\n"

	.comm	_INFINIPATH_R_SOFTWARE_SHIFT,4,2 ; @INFINIPATH_R_SOFTWARE_SHIFT
	.comm	_INFINIPATH_R_SOFTWARE_MASK,4,2 ; @INFINIPATH_R_SOFTWARE_MASK
	.comm	_IPATH_CHIP_SWVERSION,4,2       ; @IPATH_CHIP_SWVERSION
l_.str.4:                               ; @.str.4
	.asciz	"Driver only handles version %d, chip swversion is %d (%llx), failng\n"

	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_INFINIPATH_R_CHIPREVMAJOR_SHIFT,4,2 ; @INFINIPATH_R_CHIPREVMAJOR_SHIFT
	.comm	_INFINIPATH_R_CHIPREVMAJOR_MASK,4,2 ; @INFINIPATH_R_CHIPREVMAJOR_MASK
	.comm	_INFINIPATH_R_CHIPREVMINOR_SHIFT,4,2 ; @INFINIPATH_R_CHIPREVMINOR_SHIFT
	.comm	_INFINIPATH_R_CHIPREVMINOR_MASK,4,2 ; @INFINIPATH_R_CHIPREVMINOR_MASK
	.comm	_INFINIPATH_R_BOARDID_SHIFT,4,2 ; @INFINIPATH_R_BOARDID_SHIFT
	.comm	_INFINIPATH_R_BOARDID_MASK,4,2  ; @INFINIPATH_R_BOARDID_MASK
l_.str.5:                               ; @.str.5
	.asciz	"ChipABI %u.%u, %s, InfiniPath%u %u.%u, PCI %u, SW Compat %u\n"

	.comm	_IPATH_CHIP_VERS_MAJ,4,2        ; @IPATH_CHIP_VERS_MAJ
	.comm	_IPATH_CHIP_VERS_MIN,4,2        ; @IPATH_CHIP_VERS_MIN
	.comm	_INFINIPATH_R_ARCH_SHIFT,4,2    ; @INFINIPATH_R_ARCH_SHIFT
	.comm	_INFINIPATH_R_ARCH_MASK,4,2     ; @INFINIPATH_R_ARCH_MASK
l_.str.6:                               ; @.str.6
	.asciz	"%s"

	.no_dead_strip	_init_housekeeping
.subsections_via_symbols
