	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function loadtime_init
_loadtime_init:                         ## @loadtime_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movslq	(%rdi), %r8
	movq	_QLOGIC_IB_R_SOFTWARE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r8d, %eax
	sarl	%cl, %eax
	movq	_QLOGIC_IB_R_SOFTWARE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_QIB_CHIP_SWVERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	%edx, %eax
	jne	LBB0_1
## %bb.2:
	movq	_QLOGIC_IB_R_EMULATOR_MASK@GOTPCREL(%rip), %rax
	testl	%r8d, (%rax)
	je	LBB0_4
## %bb.3:
	movl	32(%rbx), %edx
	movl	36(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_qib_devinfo
LBB0_4:
	leaq	28(%rbx), %rdi
	callq	_spin_lock_init
	leaq	24(%rbx), %rdi
	callq	_spin_lock_init
	leaq	20(%rbx), %rdi
	callq	_spin_lock_init
	leaq	16(%rbx), %rdi
	callq	_spin_lock_init
	leaq	12(%rbx), %rdi
	callq	_spin_lock_init
	leaq	8(%rbx), %rdi
	callq	_mutex_init
	movq	_qib_mini_init@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_init_pioavailregs
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_init_shadow_tids
	movq	%rbx, %rdi
	callq	_qib_get_eeprom_info
	addq	$4, %rbx
	movq	_verify_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_timer_setup
	movl	%r14d, %eax
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %ecx
	callq	_qib_dev_err
	movq	_ENOSYS@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLOGIC_IB_R_SOFTWARE_SHIFT,4,2 ## @QLOGIC_IB_R_SOFTWARE_SHIFT
	.comm	_QLOGIC_IB_R_SOFTWARE_MASK,4,2  ## @QLOGIC_IB_R_SOFTWARE_MASK
	.comm	_QIB_CHIP_SWVERSION,4,2         ## @QIB_CHIP_SWVERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Driver only handles version %d, chip swversion is %d (%llx), failing\n"

	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_QLOGIC_IB_R_EMULATOR_MASK,4,2  ## @QLOGIC_IB_R_EMULATOR_MASK
L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_qib_mini_init,8,3              ## @qib_mini_init
	.comm	_verify_interrupt,4,2           ## @verify_interrupt
	.no_dead_strip	_loadtime_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function loadtime_init
_loadtime_init:                         ; @loadtime_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldrsw	x4, [x0]
Lloh0:
	adrp	x8, _QLOGIC_IB_R_SOFTWARE_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLOGIC_IB_R_SOFTWARE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	asr	w8, w4, w8
Lloh3:
	adrp	x9, _QLOGIC_IB_R_SOFTWARE_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QLOGIC_IB_R_SOFTWARE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w3, w8, w9
Lloh6:
	adrp	x8, _QIB_CHIP_SWVERSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QIB_CHIP_SWVERSION@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	cmp	w3, w2
	b.ne	LBB0_5
; %bb.1:
Lloh9:
	adrp	x8, _QLOGIC_IB_R_EMULATOR_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QLOGIC_IB_R_EMULATOR_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w4
	b.eq	LBB0_3
; %bb.2:
	ldp	w2, w0, [x19, #32]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_qib_devinfo
LBB0_3:
	add	x0, x19, #28
	bl	_spin_lock_init
	add	x0, x19, #24
	bl	_spin_lock_init
	add	x0, x19, #20
	bl	_spin_lock_init
	add	x0, x19, #16
	bl	_spin_lock_init
	add	x0, x19, #12
	bl	_spin_lock_init
	add	x0, x19, #8
	bl	_mutex_init
Lloh14:
	adrp	x8, _qib_mini_init@GOTPAGE
Lloh15:
	ldr	x8, [x8, _qib_mini_init@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.4:
	mov	w0, #0
	b	LBB0_7
LBB0_5:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_qib_dev_err
Lloh19:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_init_pioavailregs
	mov	x20, x0
	mov	x0, x19
	bl	_init_shadow_tids
	mov	x0, x19
	bl	_qib_get_eeprom_info
	add	x0, x19, #4
Lloh22:
	adrp	x8, _verify_interrupt@GOTPAGE
Lloh23:
	ldr	x8, [x8, _verify_interrupt@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	mov	x0, x20
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_QLOGIC_IB_R_SOFTWARE_SHIFT,4,2 ; @QLOGIC_IB_R_SOFTWARE_SHIFT
	.comm	_QLOGIC_IB_R_SOFTWARE_MASK,4,2  ; @QLOGIC_IB_R_SOFTWARE_MASK
	.comm	_QIB_CHIP_SWVERSION,4,2         ; @QIB_CHIP_SWVERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Driver only handles version %d, chip swversion is %d (%llx), failing\n"

	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_QLOGIC_IB_R_EMULATOR_MASK,4,2  ; @QLOGIC_IB_R_EMULATOR_MASK
l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_qib_mini_init,8,3              ; @qib_mini_init
	.comm	_verify_interrupt,4,2           ; @verify_interrupt
	.no_dead_strip	_loadtime_init
.subsections_via_symbols
