	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_portcntr_7220
_qib_portcntr_7220:                     ## @qib_portcntr_7220
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	leaq	_qib_portcntr_7220.xlator(%rip), %rdi
	callq	_ARRAY_SIZE
	cmpq	%r15, %rax
	jbe	LBB0_5
## %bb.1:
	cmpq	$182, %r15
	jne	LBB0_8
## %bb.2:
	xorl	%r13d, %r13d
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_cr_portovfl@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	addl	%r13d, %esi
	movq	%r12, %rdi
	callq	_read_7220_creg32
	addq	%rax, %rbx
	incl	%r13d
	cmpl	(%r12), %r13d
	jl	LBB0_4
	jmp	LBB0_9
LBB0_5:
	movq	8(%rbx), %rax
	movl	16(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	callq	_qib_devinfo
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
LBB0_9:
	leaq	_qib_portcntr_7220.xlator(%rip), %rax
	movl	(%rax,%r15,4), %esi
	leaq	-161(%r15), %rax
	cmpq	$21, %rax
	ja	LBB0_14
## %bb.10:
	movl	$786435, %ecx                   ## imm = 0xC0003
	btq	%rax, %rcx
	jae	LBB0_13
## %bb.11:
	movq	%r12, %rdi
	callq	_read_7220_creg
	jmp	LBB0_15
LBB0_13:
	cmpq	$21, %rax
	je	LBB0_7
LBB0_14:
	movq	%r12, %rdi
	callq	_read_7220_creg32
LBB0_15:
	movq	%rax, %rbx
	cmpq	$185, %r15
	je	LBB0_20
## %bb.16:
	cmpq	$184, %r15
	jne	LBB0_7
## %bb.17:
	movq	8(%r12), %rax
	movq	(%rax), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_19
## %bb.18:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	(%rcx), %rbx
LBB0_19:
	subq	(%rax), %rbx
	jmp	LBB0_7
LBB0_20:
	movq	8(%r12), %rax
	movq	(%rax), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_22
## %bb.21:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	8(%rcx), %rbx
LBB0_22:
	subq	8(%rax), %rbx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @qib_portcntr_7220.xlator
_qib_portcntr_7220.xlator:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	128                             ## 0x80
	.long	129                             ## 0x81
	.long	130                             ## 0x82
	.long	131                             ## 0x83
	.long	132                             ## 0x84
	.long	133                             ## 0x85
	.long	134                             ## 0x86
	.long	135                             ## 0x87
	.long	136                             ## 0x88
	.long	137                             ## 0x89
	.long	138                             ## 0x8a
	.long	139                             ## 0x8b
	.long	140                             ## 0x8c
	.long	141                             ## 0x8d
	.long	142                             ## 0x8e
	.long	143                             ## 0x8f
	.long	144                             ## 0x90
	.long	145                             ## 0x91
	.long	146                             ## 0x92
	.long	147                             ## 0x93
	.long	148                             ## 0x94
	.long	65535                           ## 0xffff
	.long	149                             ## 0x95
	.long	150                             ## 0x96
	.long	151                             ## 0x97
	.long	152                             ## 0x98
	.long	153                             ## 0x99
	.long	159                             ## 0x9f
	.long	154                             ## 0x9a
	.long	155                             ## 0x9b
	.long	156                             ## 0x9c
	.long	157                             ## 0x9d
	.long	158                             ## 0x9e
	.long	160                             ## 0xa0

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unimplemented portcounter %u\n"

	.comm	_cr_portovfl,4,2                ## @cr_portovfl
	.no_dead_strip	_qib_portcntr_7220
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_portcntr_7220
_qib_portcntr_7220:                     ; @qib_portcntr_7220
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x22, [x0, #8]
Lloh0:
	adrp	x23, _qib_portcntr_7220.xlator@PAGE
Lloh1:
	add	x23, x23, _qib_portcntr_7220.xlator@PAGEOFF
	mov	x0, x23
	bl	_ARRAY_SIZE
	cmp	x0, x21
	b.ls	LBB0_5
; %bb.1:
	cmp	x21, #182
	b.ne	LBB0_6
; %bb.2:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.3:
	mov	w24, #0
	mov	x20, #0
Lloh2:
	adrp	x25, _cr_portovfl@GOTPAGE
Lloh3:
	ldr	x25, [x25, _cr_portovfl@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x25]
	add	w1, w24, w8
	mov	x0, x22
	bl	_read_7220_creg32
	add	x20, x0, x20
	add	w24, w24, #1
	ldr	w8, [x22]
	cmp	w24, w8
	b.lt	LBB0_4
	b	LBB0_7
LBB0_5:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #16]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_qib_devinfo
	mov	x20, #0
	b	LBB0_22
LBB0_6:
	mov	x20, #0
LBB0_7:
	ldr	w1, [x23, x21, lsl #2]
	sub	x8, x21, #161
	cmp	x8, #21
	b.hi	LBB0_12
; %bb.8:
	mov	w9, #1
	lsl	x9, x9, x8
	mov	w10, #3
	movk	w10, #12, lsl #16
	tst	x9, x10
	b.eq	LBB0_11
; %bb.9:
	mov	x0, x22
	bl	_read_7220_creg
	b	LBB0_13
LBB0_10:
	mov	x20, #0
	b	LBB0_22
LBB0_11:
	cmp	x8, #21
	b.eq	LBB0_22
LBB0_12:
	mov	x0, x22
	bl	_read_7220_creg32
LBB0_13:
	mov	x20, x0
	cmp	x21, #185
	b.eq	LBB0_18
; %bb.14:
	cmp	x21, #184
	b.ne	LBB0_22
; %bb.15:
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_17
; %bb.16:
	ldr	x9, [x19]
	ldr	x20, [x9]
LBB0_17:
	ldr	x8, [x8]
	b	LBB0_21
LBB0_18:
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_20
; %bb.19:
	ldr	x9, [x19]
	ldr	x20, [x9, #8]
LBB0_20:
	ldr	x8, [x8, #8]
LBB0_21:
	sub	x20, x20, x8
LBB0_22:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @qib_portcntr_7220.xlator
_qib_portcntr_7220.xlator:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	128                             ; 0x80
	.long	129                             ; 0x81
	.long	130                             ; 0x82
	.long	131                             ; 0x83
	.long	132                             ; 0x84
	.long	133                             ; 0x85
	.long	134                             ; 0x86
	.long	135                             ; 0x87
	.long	136                             ; 0x88
	.long	137                             ; 0x89
	.long	138                             ; 0x8a
	.long	139                             ; 0x8b
	.long	140                             ; 0x8c
	.long	141                             ; 0x8d
	.long	142                             ; 0x8e
	.long	143                             ; 0x8f
	.long	144                             ; 0x90
	.long	145                             ; 0x91
	.long	146                             ; 0x92
	.long	147                             ; 0x93
	.long	148                             ; 0x94
	.long	65535                           ; 0xffff
	.long	149                             ; 0x95
	.long	150                             ; 0x96
	.long	151                             ; 0x97
	.long	152                             ; 0x98
	.long	153                             ; 0x99
	.long	159                             ; 0x9f
	.long	154                             ; 0x9a
	.long	155                             ; 0x9b
	.long	156                             ; 0x9c
	.long	157                             ; 0x9d
	.long	158                             ; 0x9e
	.long	160                             ; 0xa0

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unimplemented portcounter %u\n"

	.comm	_cr_portovfl,4,2                ; @cr_portovfl
	.no_dead_strip	_qib_portcntr_7220
.subsections_via_symbols
