	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_get_7322_faststats
_qib_get_7322_faststats:                ## @qib_get_7322_faststats
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_stats_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r13
	cmpl	$0, (%rax)
	jle	LBB0_14
## %bb.1:
	xorl	%ebx, %ebx
	movq	_QIB_INITTED@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	jmp	LBB0_2
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx), %edx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_qib_write_kreg_port
	movq	%r15, %rdi
	callq	_force_h1
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	(%r13), %rax
	addq	$32, %rbx
	cmpq	%rax, %r14
	jge	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %r15
	cmpl	$0, 24(%r15,%rbx)
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %eax
	testl	%eax, 4(%r13)
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%r13)
	jne	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r15,%rbx), %r12
	movq	_QIBPORTCNTR_WORDRCV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_qib_portcntr_7322
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_QIBPORTCNTR_WORDSEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_qib_portcntr_7322
	movq	%rax, %r12
	addq	-56(%rbp), %r12                 ## 8-byte Folded Reload
	movq	8(%r15,%rbx), %rdi
	addq	$8, %rdi
	callq	_spin_lock_irqsave
	movq	8(%r15,%rbx), %rdi
	movq	%r12, 16(%rdi)
	movq	_QIB_INITTED@GOTPCREL(%rip), %r12
	addq	$8, %rdi
	callq	_spin_unlock_irqrestore
	movq	16(%r15,%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_QIB_IB_QDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r15,%rbx)
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_QIBL_LINKARMED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_QIBL_LINKINIT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_QIBL_LINKACTIVE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%ecx, 4(%r15,%rbx)
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_time_is_before_jiffies
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15,%rbx), %rax
	movq	$0, (%rax)
	movl	$2, %edi
	callq	_krp_static_adapt_dis
	movq	8(%r15,%rbx), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rcx)
	movq	_QDR_STATIC_ADAPT_INIT_R1@GOTPCREL(%rip), %rcx
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_QDR_STATIC_ADAPT_INIT@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_14:
	addq	$8, %r13
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	_ACTIVITY_TIMER@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rsi
	imulq	%rcx, %rsi
	addq	(%rax), %rsi
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stats_timer,4,2                ## @stats_timer
	.comm	_QIB_INITTED,4,2                ## @QIB_INITTED
	.comm	_QIBPORTCNTR_WORDRCV,4,2        ## @QIBPORTCNTR_WORDRCV
	.comm	_QIBPORTCNTR_WORDSEND,4,2       ## @QIBPORTCNTR_WORDSEND
	.comm	_QIB_IB_QDR,4,2                 ## @QIB_IB_QDR
	.comm	_QIBL_LINKINIT,4,2              ## @QIBL_LINKINIT
	.comm	_QIBL_LINKARMED,4,2             ## @QIBL_LINKARMED
	.comm	_QIBL_LINKACTIVE,4,2            ## @QIBL_LINKACTIVE
	.comm	_QDR_STATIC_ADAPT_INIT_R1,4,2   ## @QDR_STATIC_ADAPT_INIT_R1
	.comm	_QDR_STATIC_ADAPT_INIT,4,2      ## @QDR_STATIC_ADAPT_INIT
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_ACTIVITY_TIMER,4,2             ## @ACTIVITY_TIMER
	.comm	_dd,8,3                         ## @dd
	.no_dead_strip	_qib_get_7322_faststats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_get_7322_faststats
_qib_get_7322_faststats:                ; @qib_get_7322_faststats
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _stats_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stats_timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x22, #0
	mov	x23, #0
Lloh3:
	adrp	x24, _QIB_INITTED@GOTPAGE
Lloh4:
	ldr	x24, [x24, _QIB_INITTED@GOTPAGEOFF]
Lloh5:
	adrp	x25, _QIBPORTCNTR_WORDRCV@GOTPAGE
Lloh6:
	ldr	x25, [x25, _QIBPORTCNTR_WORDRCV@GOTPAGEOFF]
Lloh7:
	adrp	x26, _QIBPORTCNTR_WORDSEND@GOTPAGE
Lloh8:
	ldr	x26, [x26, _QIBPORTCNTR_WORDSEND@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19]
	add	x22, x22, #32
	cmp	x23, x8
	b.ge	LBB0_12
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x28, [x19, #24]
	add	x20, x28, x22
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #4]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x25]
	mov	x0, x20
	bl	_qib_portcntr_7322
	mov	x21, x0
	ldr	w1, [x26]
	mov	x0, x20
	bl	_qib_portcntr_7322
	add	x27, x0, x21
	add	x21, x28, x22
	ldr	x8, [x21, #8]
	add	x0, x8, #8
	bl	_spin_lock_irqsave
	ldr	x8, [x21, #8]
	str	x27, [x8, #16]
	add	x0, x8, #8
	bl	_spin_unlock_irqrestore
	ldr	x8, [x21, #16]
	ldr	x9, [x8]
	cbz	x9, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x28, x22]
Lloh9:
	adrp	x10, _QIB_IB_QDR@GOTPAGE
Lloh10:
	ldr	x10, [x10, _QIB_IB_QDR@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x28, x22
	ldr	w9, [x9, #4]
Lloh12:
	adrp	x10, _QIBL_LINKINIT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _QIBL_LINKINIT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
Lloh15:
	adrp	x11, _QIBL_LINKARMED@GOTPAGE
Lloh16:
	ldr	x11, [x11, _QIBL_LINKARMED@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	orr	w10, w11, w10
Lloh18:
	adrp	x11, _QIBL_LINKACTIVE@GOTPAGE
Lloh19:
	ldr	x11, [x11, _QIBL_LINKACTIVE@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	orr	w10, w10, w11
	tst	w10, w9
	b.eq	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_time_is_before_jiffies
	cbz	x0, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21, #16]
	str	xzr, [x8]
	mov	w0, #2
	bl	_krp_static_adapt_dis
	mov	x1, x0
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cmp	x8, #0
Lloh21:
	adrp	x8, _QDR_STATIC_ADAPT_INIT_R1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _QDR_STATIC_ADAPT_INIT_R1@GOTPAGEOFF]
Lloh23:
	adrp	x9, _QDR_STATIC_ADAPT_INIT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _QDR_STATIC_ADAPT_INIT@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w2, [x8]
	mov	x0, x20
	bl	_qib_write_kreg_port
	mov	x0, x20
	bl	_force_h1
	b	LBB0_2
LBB0_12:
	add	x0, x19, #8
Lloh25:
	adrp	x8, _jiffies@GOTPAGE
Lloh26:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
Lloh28:
	adrp	x9, _HZ@GOTPAGE
Lloh29:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh30:
	ldrsw	x9, [x9]
Lloh31:
	adrp	x10, _ACTIVITY_TIMER@GOTPAGE
Lloh32:
	ldr	x10, [x10, _ACTIVITY_TIMER@GOTPAGEOFF]
Lloh33:
	ldrsw	x10, [x10]
	madd	x1, x10, x9, x8
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_mod_timer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_stats_timer,4,2                ; @stats_timer
	.comm	_QIB_INITTED,4,2                ; @QIB_INITTED
	.comm	_QIBPORTCNTR_WORDRCV,4,2        ; @QIBPORTCNTR_WORDRCV
	.comm	_QIBPORTCNTR_WORDSEND,4,2       ; @QIBPORTCNTR_WORDSEND
	.comm	_QIB_IB_QDR,4,2                 ; @QIB_IB_QDR
	.comm	_QIBL_LINKINIT,4,2              ; @QIBL_LINKINIT
	.comm	_QIBL_LINKARMED,4,2             ; @QIBL_LINKARMED
	.comm	_QIBL_LINKACTIVE,4,2            ; @QIBL_LINKACTIVE
	.comm	_QDR_STATIC_ADAPT_INIT_R1,4,2   ; @QDR_STATIC_ADAPT_INIT_R1
	.comm	_QDR_STATIC_ADAPT_INIT,4,2      ; @QDR_STATIC_ADAPT_INIT
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_ACTIVITY_TIMER,4,2             ; @ACTIVITY_TIMER
	.comm	_dd,8,3                         ; @dd
	.no_dead_strip	_qib_get_7322_faststats
.subsections_via_symbols
