	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cn23xx_read_csr_reg
_cn23xx_read_csr_reg:                   ## @cn23xx_read_csr_reg
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	(%rsi), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%rdi, %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %rbx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r15), %esi
	movl	4(%r15), %edi
	callq	_CN23XX_SLI_PKT_MAC_RINFO64
	movl	%eax, %r12d
	movslq	%ebx, %rbx
	addq	%r14, %rbx
	movl	(%r15), %r13d
	movl	4(%r15), %r14d
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_octeon_read_csr64
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	movl	%r13d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %r12
	addq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	movl	(%r15), %esi
	movl	4(%r15), %edi
	callq	_CN23XX_SLI_MAC_PF_INT_ENB64
	movl	%eax, %r14d
	movslq	%r12d, %rbx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	addq	%r13, %rbx
	movl	(%r15), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	4(%r15), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_octeon_read_csr64
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %r14
	addq	%r12, %r14
	movl	(%r15), %esi
	movl	4(%r15), %edi
	callq	_CN23XX_SLI_MAC_PF_INT_SUM64
	movl	%eax, %r12d
	movslq	%r14d, %rbx
	addq	%r13, %rbx
	movl	(%r15), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	4(%r15), %r13d
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_octeon_read_csr64
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %r12
	addq	%r14, %r12
	movslq	%r12d, %rbx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	addq	%r13, %rbx
	movq	%r15, %rdi
	movl	$168224, %esi                   ## imm = 0x29120
	callq	_octeon_read_csr64
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	$168224, %edx                   ## imm = 0x29120
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %r14
	addq	%r12, %r14
	movl	(%r15), %edx
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movl	4(%r15), %ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	_CN23XX_MAC_INT_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	%ecx, %eax
	movq	_CN23XX_PF_INT_OFFSET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	%edx, %ecx
	leal	(%rax,%rcx), %ebx
	addl	$160512, %ebx                   ## imm = 0x27300
	movslq	%r14d, %r12
	addq	%r13, %r12
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_octeon_read_csr64
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	-68(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %r12
	addq	%r14, %r12
	movl	(%r15), %edx
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movl	4(%r15), %ebx
	movq	_CN23XX_MAC_INT_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	%ebx, %eax
	movq	_CN23XX_PF_INT_OFFSET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	%edx, %ecx
	leal	(%rax,%rcx), %r13d
	addl	$160256, %r13d                  ## imm = 0x27200
	movslq	%r12d, %r14
	addq	-48(%rbp), %r14                 ## 8-byte Folded Reload
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_octeon_read_csr64
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %r13
	addq	%r12, %r13
	movq	_CN23XX_SLI_PKT_CNT_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movslq	%r13d, %rbx
	addq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_octeon_read_csr64
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %r12
	addq	%r13, %r12
	movq	_CN23XX_SLI_PKT_TIME_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movslq	%r12d, %rbx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	addq	%r13, %rbx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_octeon_read_csr64
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %r14
	addq	%r12, %r14
	movslq	%r14d, %rbx
	addq	%r13, %rbx
	movq	%r15, %rdi
	movl	$168288, %esi                   ## imm = 0x29160
	callq	_octeon_read_csr64
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	movl	$168288, %edx                   ## imm = 0x29160
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %r12
	addq	%r14, %r12
	movq	_CN23XX_SLI_OQ_WMARK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movslq	%r12d, %rbx
	addq	%r13, %rbx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_octeon_read_csr64
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %r13
	addq	%r12, %r13
	movq	_CN23XX_SLI_PKT_IOQ_RING_RST@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movslq	%r13d, %rbx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	addq	%r14, %rbx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_octeon_read_csr64
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %r12
	addq	%r13, %r12
	movq	_CN23XX_SLI_GBL_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movslq	%r12d, %rbx
	addq	%r14, %rbx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_octeon_read_csr64
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %r13
	addq	%r12, %r13
	movslq	%r13d, %rbx
	addq	%r14, %rbx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	$168480, %esi                   ## imm = 0x29220
	callq	_octeon_read_csr64
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdi
	movl	$168480, %edx                   ## imm = 0x29220
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %r14
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	addq	%r13, %r14
	cmpl	$1, %eax
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movq	_CN23XX_SLI_OUT_BP_EN_W1S@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movslq	%r14d, %rbx
	addq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_octeon_read_csr64
	leaq	L_.str.14(%rip), %rsi
	jmp	LBB0_4
LBB0_3:
	movq	_CN23XX_SLI_OUT_BP_EN2_W1S@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movslq	%r14d, %rbx
	addq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_octeon_read_csr64
	leaq	L_.str.15(%rip), %rsi
LBB0_4:
	movq	%rbx, %rdi
	movl	%r12d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	addq	%rax, %r14
LBB0_5:
	movq	_CN23XX_MAX_OUTPUT_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_CN23XX_SLI_OQ_BUFF_INFO_SIZE
	movl	%eax, %r13d
	movslq	%r14d, %r14
	leaq	(%r12,%r14), %r15
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_octeon_read_csr64
	movq	%r15, %rdi
	leaq	L_.str.16(%rip), %rsi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %r14d
	incl	%ebx
	movq	_CN23XX_MAX_OUTPUT_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jl	LBB0_7
LBB0_8:
	movq	_CN23XX_MAX_INPUT_QUEUES@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jle	LBB0_12
## %bb.9:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_CN23XX_SLI_IQ_INSTR_COUNT64
	movl	%eax, %r15d
	movslq	%r14d, %r14
	leaq	(%r12,%r14), %r13
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_octeon_read_csr64
	movq	%r13, %rdi
	leaq	L_.str.17(%rip), %rsi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %r14d
	incl	%ebx
	movq	_CN23XX_MAX_INPUT_QUEUES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_10
## %bb.11:
	movq	_CN23XX_MAX_OUTPUT_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_12:
	testl	%eax, %eax
	jle	LBB0_48
## %bb.13:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_CN23XX_SLI_OQ_PKTS_CREDIT
	movl	%eax, %r15d
	movslq	%r14d, %r14
	leaq	(%r12,%r14), %r13
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_octeon_read_csr64
	movq	%r13, %rdi
	leaq	L_.str.18(%rip), %rsi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %r14d
	incl	%ebx
	movq	_CN23XX_MAX_OUTPUT_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jl	LBB0_14
## %bb.15:
	testl	%eax, %eax
	jle	LBB0_48
## %bb.16:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_CN23XX_SLI_OQ_SIZE
	movl	%eax, %r15d
	movslq	%r14d, %r14
	leaq	(%r12,%r14), %r13
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_octeon_read_csr64
	movq	%r13, %rdi
	leaq	L_.str.19(%rip), %rsi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %r14d
	incl	%ebx
	movq	_CN23XX_MAX_OUTPUT_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jl	LBB0_17
## %bb.18:
	testl	%eax, %eax
	jle	LBB0_48
## %bb.19:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_CN23XX_SLI_OQ_PKT_CONTROL
	movl	%eax, %r15d
	movslq	%r14d, %r14
	leaq	(%r12,%r14), %r13
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_octeon_read_csr64
	movq	%r13, %rdi
	leaq	L_.str.20(%rip), %rsi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %r14d
	incl	%ebx
	movq	_CN23XX_MAX_OUTPUT_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jl	LBB0_20
## %bb.21:
	testl	%eax, %eax
	jle	LBB0_48
## %bb.22:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_CN23XX_SLI_OQ_BASE_ADDR64
	movl	%eax, %r15d
	movslq	%r14d, %r14
	leaq	(%r12,%r14), %r13
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_octeon_read_csr64
	movq	%r13, %rdi
	leaq	L_.str.21(%rip), %rsi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %r14d
	incl	%ebx
	movq	_CN23XX_MAX_OUTPUT_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jl	LBB0_23
## %bb.24:
	testl	%eax, %eax
	jle	LBB0_48
## %bb.25:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_CN23XX_SLI_OQ_PKT_INT_LEVELS
	movl	%eax, %r15d
	movslq	%r14d, %r14
	leaq	(%r12,%r14), %r13
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_octeon_read_csr64
	movq	%r13, %rdi
	leaq	L_.str.22(%rip), %rsi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %r14d
	incl	%ebx
	movq	_CN23XX_MAX_OUTPUT_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jl	LBB0_26
## %bb.27:
	testl	%eax, %eax
	jle	LBB0_48
## %bb.28:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_CN23XX_SLI_OQ_PKTS_SENT
	movl	%eax, %r15d
	movslq	%r14d, %r14
	leaq	(%r12,%r14), %r13
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_octeon_read_csr64
	movq	%r13, %rdi
	leaq	L_.str.23(%rip), %rsi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %r14d
	incl	%ebx
	movq	_CN23XX_MAX_OUTPUT_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jl	LBB0_29
## %bb.30:
	testl	%eax, %eax
	jle	LBB0_48
## %bb.31:
	xorl	%r13d, %r13d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_32 Depth=1
	xorl	%r13d, %r13d
LBB0_47:                                ##   in Loop: Header=BB0_32 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movslq	%r15d, %r14
	leaq	(%rax,%r14), %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_octeon_read_csr64
	movq	%r15, %rdi
	leaq	L_.str.17(%rip), %rsi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %r14d
	incl	%r13d
	movq	_CN23XX_MAX_OUTPUT_QUEUES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jge	LBB0_48
LBB0_32:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_34 Depth 2
                                        ##     Child Loop BB0_50 Depth 2
                                        ##     Child Loop BB0_39 Depth 2
                                        ##     Child Loop BB0_42 Depth 2
                                        ##     Child Loop BB0_45 Depth 2
	movq	_CN23XX_OQ_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	imull	%r13d, %r12d
	addl	$65728, %r12d                   ## imm = 0x100C0
	movslq	%r14d, %r15
	leaq	(%rcx,%r15), %r14
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_octeon_read_csr64
	movq	%r14, %rdi
	leaq	L_.str.24(%rip), %rsi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %r15d
	movq	_CN23XX_MAX_INPUT_QUEUES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_36
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_32 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	callq	_CN23XX_SLI_IQ_PKT_CONTROL64
	movl	%eax, %r12d
	movslq	%r15d, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %r14
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_octeon_read_csr64
	movq	%r14, %rdi
	leaq	L_.str.25(%rip), %rsi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %r15d
	incl	%ebx
	movq	_CN23XX_MAX_INPUT_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jl	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_32 Depth=1
	testl	%eax, %eax
	jle	LBB0_36
## %bb.49:                              ##   in Loop: Header=BB0_32 Depth=1
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_50:                                ##   Parent Loop BB0_32 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	callq	_CN23XX_SLI_IQ_BASE_ADDR64
	movl	%eax, %r12d
	movslq	%r15d, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %r14
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_octeon_read_csr64
	movq	%r14, %rdi
	leaq	L_.str.26(%rip), %rsi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	movq	_CN23XX_MAX_INPUT_QUEUES@GOTPCREL(%rip), %rcx
	addl	%eax, %r15d
	incl	%ebx
	movl	(%rcx), %eax
	cmpl	%eax, %ebx
	jl	LBB0_50
## %bb.37:                              ##   in Loop: Header=BB0_32 Depth=1
	testl	%eax, %eax
	jle	LBB0_36
## %bb.38:                              ##   in Loop: Header=BB0_32 Depth=1
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_39:                                ##   Parent Loop BB0_32 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	callq	_CN23XX_SLI_IQ_DOORBELL
	movl	%eax, %r12d
	movslq	%r15d, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %r14
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_octeon_read_csr64
	movq	%r14, %rdi
	leaq	L_.str.27(%rip), %rsi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %r15d
	incl	%ebx
	movq	_CN23XX_MAX_INPUT_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jl	LBB0_39
## %bb.40:                              ##   in Loop: Header=BB0_32 Depth=1
	testl	%eax, %eax
	jle	LBB0_36
## %bb.41:                              ##   in Loop: Header=BB0_32 Depth=1
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_42:                                ##   Parent Loop BB0_32 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	callq	_CN23XX_SLI_IQ_SIZE
	movl	%eax, %r12d
	movslq	%r15d, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %r14
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_octeon_read_csr64
	movq	%r14, %rdi
	leaq	L_.str.28(%rip), %rsi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	movq	_CN23XX_MAX_INPUT_QUEUES@GOTPCREL(%rip), %rcx
	addl	%eax, %r15d
	incl	%ebx
	movl	(%rcx), %eax
	cmpl	%eax, %ebx
	jl	LBB0_42
## %bb.43:                              ##   in Loop: Header=BB0_32 Depth=1
	testl	%eax, %eax
	jle	LBB0_36
## %bb.44:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	%rcx, %rbx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_45:                                ##   Parent Loop BB0_32 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r13d, %edi
	callq	_CN23XX_SLI_IQ_INSTR_COUNT64
	incl	%r13d
	cmpl	(%rbx), %r13d
	jl	LBB0_45
## %bb.46:                              ##   in Loop: Header=BB0_32 Depth=1
	movl	%eax, %r12d
	jmp	LBB0_47
LBB0_48:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n\t Octeon CSR Registers\n\n"

L_.str.1:                               ## @.str.1
	.asciz	"\n[%08x] (SLI_PKT_MAC%d_PF%d_RINFO): %016llx\n"

L_.str.2:                               ## @.str.2
	.asciz	"\n[%08x] (SLI_MAC%d_PF%d_INT_ENB): %016llx\n"

L_.str.3:                               ## @.str.3
	.asciz	"\n[%08x] (SLI_MAC%d_PF%d_INT_SUM): %016llx\n"

L_.str.4:                               ## @.str.4
	.asciz	"\n[%08x] (SLI_PKT_MEM_CTL): %016llx\n"

	.comm	_CN23XX_MAC_INT_OFFSET,4,2      ## @CN23XX_MAC_INT_OFFSET
	.comm	_CN23XX_PF_INT_OFFSET,4,2       ## @CN23XX_PF_INT_OFFSET
L_.str.5:                               ## @.str.5
	.asciz	"\n[%08x] (SLI_MAC%d_PF%d_PKT_VF_INT): %016llx\n"

L_.str.6:                               ## @.str.6
	.asciz	"\n[%08x] (SLI_MAC%d_PF%d_PP_VF_INT): %016llx\n"

	.comm	_CN23XX_SLI_PKT_CNT_INT,4,2     ## @CN23XX_SLI_PKT_CNT_INT
L_.str.7:                               ## @.str.7
	.asciz	"\n[%08x] (SLI_PKT_CNT_INT): %016llx\n"

	.comm	_CN23XX_SLI_PKT_TIME_INT,4,2    ## @CN23XX_SLI_PKT_TIME_INT
L_.str.8:                               ## @.str.8
	.asciz	"\n[%08x] (SLI_PKT_TIME_INT): %016llx\n"

L_.str.9:                               ## @.str.9
	.asciz	"\n[%08x] (SLI_PKT_INT): %016llx\n"

	.comm	_CN23XX_SLI_OQ_WMARK,4,2        ## @CN23XX_SLI_OQ_WMARK
L_.str.10:                              ## @.str.10
	.asciz	"\n[%08x] (SLI_PKT_OUTPUT_WMARK): %016llx\n"

	.comm	_CN23XX_SLI_PKT_IOQ_RING_RST,4,2 ## @CN23XX_SLI_PKT_IOQ_RING_RST
L_.str.11:                              ## @.str.11
	.asciz	"\n[%08x] (SLI_PKT_RING_RST): %016llx\n"

	.comm	_CN23XX_SLI_GBL_CONTROL,4,2     ## @CN23XX_SLI_GBL_CONTROL
L_.str.12:                              ## @.str.12
	.asciz	"\n[%08x] (SLI_PKT_GBL_CONTROL): %016llx\n"

L_.str.13:                              ## @.str.13
	.asciz	"\n[%08x] (SLI_PKT_BIST_STATUS): %016llx\n"

	.comm	_CN23XX_SLI_OUT_BP_EN_W1S,4,2   ## @CN23XX_SLI_OUT_BP_EN_W1S
L_.str.14:                              ## @.str.14
	.asciz	"\n[%08x] (SLI_PKT_OUT_BP_EN_W1S):  %016llx\n"

	.comm	_CN23XX_SLI_OUT_BP_EN2_W1S,4,2  ## @CN23XX_SLI_OUT_BP_EN2_W1S
L_.str.15:                              ## @.str.15
	.asciz	"\n[%08x] (SLI_PKT_OUT_BP_EN2_W1S): %016llx\n"

	.comm	_CN23XX_MAX_OUTPUT_QUEUES,4,2   ## @CN23XX_MAX_OUTPUT_QUEUES
L_.str.16:                              ## @.str.16
	.asciz	"\n[%08x] (SLI_PKT%d_OUT_SIZE): %016llx\n"

	.comm	_CN23XX_MAX_INPUT_QUEUES,4,2    ## @CN23XX_MAX_INPUT_QUEUES
L_.str.17:                              ## @.str.17
	.asciz	"\n[%08x] (SLI_PKT_IN_DONE%d_CNTS): %016llx\n"

L_.str.18:                              ## @.str.18
	.asciz	"\n[%08x] (SLI_PKT%d_SLIST_BAOFF_DBELL): %016llx\n"

L_.str.19:                              ## @.str.19
	.asciz	"\n[%08x] (SLI_PKT%d_SLIST_FIFO_RSIZE): %016llx\n"

L_.str.20:                              ## @.str.20
	.asciz	"\n[%08x] (SLI_PKT%d__OUTPUT_CONTROL): %016llx\n"

L_.str.21:                              ## @.str.21
	.asciz	"\n[%08x] (SLI_PKT%d_SLIST_BADDR): %016llx\n"

L_.str.22:                              ## @.str.22
	.asciz	"\n[%08x] (SLI_PKT%d_INT_LEVELS): %016llx\n"

L_.str.23:                              ## @.str.23
	.asciz	"\n[%08x] (SLI_PKT%d_CNTS): %016llx\n"

	.comm	_CN23XX_OQ_OFFSET,4,2           ## @CN23XX_OQ_OFFSET
L_.str.24:                              ## @.str.24
	.asciz	"\n[%08x] (SLI_PKT%d_ERROR_INFO): %016llx\n"

L_.str.25:                              ## @.str.25
	.asciz	"\n[%08x] (SLI_PKT%d_INPUT_CONTROL): %016llx\n"

L_.str.26:                              ## @.str.26
	.asciz	"\n[%08x] (SLI_PKT%d_INSTR_BADDR): %016llx\n"

L_.str.27:                              ## @.str.27
	.asciz	"\n[%08x] (SLI_PKT%d_INSTR_BAOFF_DBELL): %016llx\n"

L_.str.28:                              ## @.str.28
	.asciz	"\n[%08x] (SLI_PKT%d_INSTR_FIFO_RSIZE): %016llx\n"

	.no_dead_strip	_cn23xx_read_csr_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cn23xx_read_csr_reg
_cn23xx_read_csr_reg:                   ; @cn23xx_read_csr_reg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x1]
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
	mov	x21, x0
	ldp	w1, w0, [x19]
	bl	_CN23XX_SLI_PKT_MAC_RINFO64
	mov	x22, x0
	add	x23, x20, w21, sxtw
	ldp	w26, w25, [x19]
	mov	x0, x19
	mov	x1, x22
	bl	_octeon_read_csr64
	stp	x26, x0, [sp, #16]
	stp	x22, x25, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_sprintf
	add	x23, x0, x21
	ldp	w1, w0, [x19]
	bl	_CN23XX_SLI_MAC_PF_INT_ENB64
	mov	x21, x0
	add	x22, x20, w23, sxtw
	ldp	w26, w25, [x19]
	mov	x0, x19
	mov	x1, x21
	bl	_octeon_read_csr64
	stp	x26, x0, [sp, #16]
	stp	x21, x25, [sp]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_sprintf
	add	x23, x0, x23
	ldp	w1, w0, [x19]
	bl	_CN23XX_SLI_MAC_PF_INT_SUM64
	mov	x21, x0
	add	x22, x20, w23, sxtw
	ldp	w26, w25, [x19]
	mov	x0, x19
	mov	x1, x21
	bl	_octeon_read_csr64
	stp	x26, x0, [sp, #16]
	stp	x21, x25, [sp]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_sprintf
	add	x22, x0, x23
	add	x21, x20, w22, sxtw
	mov	w23, #37152
	movk	w23, #2, lsl #16
	mov	x0, x19
	mov	w1, #37152
	movk	w1, #2, lsl #16
	bl	_octeon_read_csr64
	stp	x23, x0, [sp]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_sprintf
	add	x25, x0, x22
Lloh10:
	adrp	x26, _CN23XX_MAC_INT_OFFSET@GOTPAGE
Lloh11:
	ldr	x26, [x26, _CN23XX_MAC_INT_OFFSET@GOTPAGEOFF]
	ldr	w8, [x26]
	ldp	w28, w27, [x19]
Lloh12:
	adrp	x24, _CN23XX_PF_INT_OFFSET@GOTPAGE
Lloh13:
	ldr	x24, [x24, _CN23XX_PF_INT_OFFSET@GOTPAGEOFF]
	ldr	w9, [x24]
	mul	w9, w9, w28
	madd	w8, w8, w27, w9
	mov	w23, #29184
	movk	w23, #2, lsl #16
	add	w8, w8, w23
	add	w21, w8, #256
	add	x22, x20, w25, sxtw
	mov	x0, x19
	mov	x1, x21
	bl	_octeon_read_csr64
	stp	x28, x0, [sp, #16]
	stp	x21, x27, [sp]
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_sprintf
	add	x25, x0, x25
	ldr	w8, [x26]
	ldp	w27, w26, [x19]
	ldr	w9, [x24]
	mul	w9, w9, w27
	madd	w8, w8, w26, w9
	add	w21, w8, w23
	add	x22, x20, w25, sxtw
	mov	x0, x19
	mov	x1, x21
	bl	_octeon_read_csr64
	stp	x27, x0, [sp, #16]
	stp	x21, x26, [sp]
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_sprintf
	add	x23, x0, x25
Lloh18:
	adrp	x8, _CN23XX_SLI_PKT_CNT_INT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CN23XX_SLI_PKT_CNT_INT@GOTPAGEOFF]
Lloh20:
	ldr	w21, [x8]
	add	x22, x20, w23, sxtw
	mov	x0, x19
	mov	x1, x21
	bl	_octeon_read_csr64
	stp	x21, x0, [sp]
Lloh21:
	adrp	x1, l_.str.7@PAGE
Lloh22:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_sprintf
	add	x23, x0, x23
Lloh23:
	adrp	x8, _CN23XX_SLI_PKT_TIME_INT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CN23XX_SLI_PKT_TIME_INT@GOTPAGEOFF]
Lloh25:
	ldr	w21, [x8]
	add	x22, x20, w23, sxtw
	mov	x0, x19
	mov	x1, x21
	bl	_octeon_read_csr64
	stp	x21, x0, [sp]
Lloh26:
	adrp	x1, l_.str.8@PAGE
Lloh27:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x22
	bl	_sprintf
	add	x23, x0, x23
	add	x21, x20, w23, sxtw
	mov	w24, #37152
	movk	w24, #2, lsl #16
	orr	w22, w24, #0x40
	mov	x0, x19
	mov	x1, x22
	bl	_octeon_read_csr64
	stp	x22, x0, [sp]
Lloh28:
	adrp	x1, l_.str.9@PAGE
Lloh29:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	bl	_sprintf
	add	x23, x0, x23
Lloh30:
	adrp	x8, _CN23XX_SLI_OQ_WMARK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CN23XX_SLI_OQ_WMARK@GOTPAGEOFF]
Lloh32:
	ldr	w21, [x8]
	add	x22, x20, w23, sxtw
	mov	x0, x19
	mov	x1, x21
	bl	_octeon_read_csr64
	stp	x21, x0, [sp]
Lloh33:
	adrp	x1, l_.str.10@PAGE
Lloh34:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x22
	bl	_sprintf
	add	x23, x0, x23
Lloh35:
	adrp	x8, _CN23XX_SLI_PKT_IOQ_RING_RST@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CN23XX_SLI_PKT_IOQ_RING_RST@GOTPAGEOFF]
Lloh37:
	ldr	w21, [x8]
	add	x22, x20, w23, sxtw
	mov	x0, x19
	mov	x1, x21
	bl	_octeon_read_csr64
	stp	x21, x0, [sp]
Lloh38:
	adrp	x1, l_.str.11@PAGE
Lloh39:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x22
	bl	_sprintf
	add	x23, x0, x23
Lloh40:
	adrp	x8, _CN23XX_SLI_GBL_CONTROL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _CN23XX_SLI_GBL_CONTROL@GOTPAGEOFF]
Lloh42:
	ldr	w21, [x8]
	add	x22, x20, w23, sxtw
	mov	x0, x19
	mov	x1, x21
	bl	_octeon_read_csr64
	stp	x21, x0, [sp]
Lloh43:
	adrp	x1, l_.str.12@PAGE
Lloh44:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x22
	bl	_sprintf
	add	x23, x0, x23
	add	x21, x20, w23, sxtw
	add	w22, w24, #256
	mov	x0, x19
	mov	x1, x22
	bl	_octeon_read_csr64
	stp	x22, x0, [sp]
Lloh45:
	adrp	x1, l_.str.13@PAGE
Lloh46:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x21
	bl	_sprintf
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	add	x21, x0, x23
	cmp	w8, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w8, LBB0_5
; %bb.2:
Lloh47:
	adrp	x8, _CN23XX_SLI_OUT_BP_EN_W1S@GOTPAGE
Lloh48:
	ldr	x8, [x8, _CN23XX_SLI_OUT_BP_EN_W1S@GOTPAGEOFF]
Lloh49:
	ldr	w22, [x8]
	add	x23, x20, w21, sxtw
	mov	x0, x19
	mov	x1, x22
	bl	_octeon_read_csr64
	stp	x22, x0, [sp]
Lloh50:
	adrp	x1, l_.str.14@PAGE
Lloh51:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh52:
	adrp	x8, _CN23XX_SLI_OUT_BP_EN2_W1S@GOTPAGE
Lloh53:
	ldr	x8, [x8, _CN23XX_SLI_OUT_BP_EN2_W1S@GOTPAGEOFF]
Lloh54:
	ldr	w22, [x8]
	add	x23, x20, w21, sxtw
	mov	x0, x19
	mov	x1, x22
	bl	_octeon_read_csr64
	stp	x22, x0, [sp]
Lloh55:
	adrp	x1, l_.str.15@PAGE
Lloh56:
	add	x1, x1, l_.str.15@PAGEOFF
LBB0_4:
	mov	x0, x23
	bl	_sprintf
	add	x21, x0, x21
LBB0_5:
Lloh57:
	adrp	x27, _CN23XX_MAX_OUTPUT_QUEUES@GOTPAGE
Lloh58:
	ldr	x27, [x27, _CN23XX_MAX_OUTPUT_QUEUES@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	mov	w22, #0
Lloh59:
	adrp	x23, l_.str.16@PAGE
Lloh60:
	add	x23, x23, l_.str.16@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_CN23XX_SLI_OQ_BUFF_INFO_SIZE
	mov	x24, x0
	add	x25, x20, w21, sxtw
	mov	x0, x19
	mov	x1, x24
	bl	_octeon_read_csr64
	stp	x22, x0, [sp, #8]
	str	x24, [sp]
	mov	x0, x25
	mov	x1, x23
	bl	_sprintf
	add	w21, w21, w0
	add	w22, w22, #1
	ldr	w8, [x27]
	cmp	w22, w8
	b.lt	LBB0_7
LBB0_8:
Lloh61:
	adrp	x26, _CN23XX_MAX_INPUT_QUEUES@GOTPAGE
Lloh62:
	ldr	x26, [x26, _CN23XX_MAX_INPUT_QUEUES@GOTPAGEOFF]
	ldr	w9, [x26]
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.9:
	mov	w22, #0
Lloh63:
	adrp	x23, l_.str.17@PAGE
Lloh64:
	add	x23, x23, l_.str.17@PAGEOFF
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_CN23XX_SLI_IQ_INSTR_COUNT64
	mov	x24, x0
	add	x25, x20, w21, sxtw
	mov	x0, x19
	mov	x1, x24
	bl	_octeon_read_csr64
	stp	x22, x0, [sp, #8]
	str	x24, [sp]
	mov	x0, x25
	mov	x1, x23
	bl	_sprintf
	add	w21, w21, w0
	add	w22, w22, #1
	ldr	w8, [x26]
	cmp	w22, w8
	b.lt	LBB0_10
; %bb.11:
	ldr	w8, [x27]
LBB0_12:
	cmp	w8, #1
	b.lt	LBB0_51
; %bb.13:
	mov	w22, #0
Lloh65:
	adrp	x23, l_.str.18@PAGE
Lloh66:
	add	x23, x23, l_.str.18@PAGEOFF
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_CN23XX_SLI_OQ_PKTS_CREDIT
	mov	x24, x0
	add	x25, x20, w21, sxtw
	mov	x0, x19
	mov	x1, x24
	bl	_octeon_read_csr64
	stp	x22, x0, [sp, #8]
	str	x24, [sp]
	mov	x0, x25
	mov	x1, x23
	bl	_sprintf
	add	w21, w21, w0
	add	w22, w22, #1
	ldr	w8, [x27]
	cmp	w22, w8
	b.lt	LBB0_14
; %bb.15:
	cmp	w8, #1
	b.lt	LBB0_51
; %bb.16:
	mov	w22, #0
Lloh67:
	adrp	x23, l_.str.19@PAGE
Lloh68:
	add	x23, x23, l_.str.19@PAGEOFF
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_CN23XX_SLI_OQ_SIZE
	mov	x24, x0
	add	x25, x20, w21, sxtw
	mov	x0, x19
	mov	x1, x24
	bl	_octeon_read_csr64
	stp	x22, x0, [sp, #8]
	str	x24, [sp]
	mov	x0, x25
	mov	x1, x23
	bl	_sprintf
	add	w21, w21, w0
	add	w22, w22, #1
	ldr	w8, [x27]
	cmp	w22, w8
	b.lt	LBB0_17
; %bb.18:
	cmp	w8, #1
	b.lt	LBB0_51
; %bb.19:
	mov	w22, #0
Lloh69:
	adrp	x23, l_.str.20@PAGE
Lloh70:
	add	x23, x23, l_.str.20@PAGEOFF
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_CN23XX_SLI_OQ_PKT_CONTROL
	mov	x24, x0
	add	x25, x20, w21, sxtw
	mov	x0, x19
	mov	x1, x24
	bl	_octeon_read_csr64
	stp	x22, x0, [sp, #8]
	str	x24, [sp]
	mov	x0, x25
	mov	x1, x23
	bl	_sprintf
	add	w21, w21, w0
	add	w22, w22, #1
	ldr	w8, [x27]
	cmp	w22, w8
	b.lt	LBB0_20
; %bb.21:
	cmp	w8, #1
	b.lt	LBB0_51
; %bb.22:
	mov	w22, #0
Lloh71:
	adrp	x23, l_.str.21@PAGE
Lloh72:
	add	x23, x23, l_.str.21@PAGEOFF
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_CN23XX_SLI_OQ_BASE_ADDR64
	mov	x24, x0
	add	x25, x20, w21, sxtw
	mov	x0, x19
	mov	x1, x24
	bl	_octeon_read_csr64
	stp	x22, x0, [sp, #8]
	str	x24, [sp]
	mov	x0, x25
	mov	x1, x23
	bl	_sprintf
	add	w21, w21, w0
	add	w22, w22, #1
	ldr	w8, [x27]
	cmp	w22, w8
	b.lt	LBB0_23
; %bb.24:
	cmp	w8, #1
	b.lt	LBB0_51
; %bb.25:
	mov	w22, #0
Lloh73:
	adrp	x23, l_.str.22@PAGE
Lloh74:
	add	x23, x23, l_.str.22@PAGEOFF
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_CN23XX_SLI_OQ_PKT_INT_LEVELS
	mov	x24, x0
	add	x25, x20, w21, sxtw
	mov	x0, x19
	mov	x1, x24
	bl	_octeon_read_csr64
	stp	x22, x0, [sp, #8]
	str	x24, [sp]
	mov	x0, x25
	mov	x1, x23
	bl	_sprintf
	add	w21, w21, w0
	add	w22, w22, #1
	ldr	w8, [x27]
	cmp	w22, w8
	b.lt	LBB0_26
; %bb.27:
	cmp	w8, #1
	b.lt	LBB0_51
; %bb.28:
	mov	w22, #0
Lloh75:
	adrp	x23, l_.str.23@PAGE
Lloh76:
	add	x23, x23, l_.str.23@PAGEOFF
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_CN23XX_SLI_OQ_PKTS_SENT
	mov	x24, x0
	add	x25, x20, w21, sxtw
	mov	x0, x19
	mov	x1, x24
	bl	_octeon_read_csr64
	stp	x22, x0, [sp, #8]
	str	x24, [sp]
	mov	x0, x25
	mov	x1, x23
	bl	_sprintf
	add	w21, w21, w0
	add	w22, w22, #1
	ldr	w8, [x27]
	cmp	w22, w8
	b.lt	LBB0_29
; %bb.30:
	cmp	w8, #1
	b.lt	LBB0_51
; %bb.31:
	mov	w25, #0
Lloh77:
	adrp	x23, l_.str.25@PAGE
Lloh78:
	add	x23, x23, l_.str.25@PAGEOFF
Lloh79:
	adrp	x24, l_.str.26@PAGE
Lloh80:
	add	x24, x24, l_.str.26@PAGEOFF
	b	LBB0_34
LBB0_32:                                ;   in Loop: Header=BB0_34 Depth=1
	mov	w28, #0
	mov	x21, x22
LBB0_33:                                ;   in Loop: Header=BB0_34 Depth=1
	add	x22, x20, w25, sxtw
	mov	x0, x19
	mov	x1, x21
	bl	_octeon_read_csr64
	stp	x28, x0, [sp, #8]
	str	x21, [sp]
	mov	x0, x22
Lloh81:
	adrp	x1, l_.str.17@PAGE
Lloh82:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_sprintf
	add	w21, w25, w0
	add	w25, w28, #1
	ldr	w8, [x27]
	cmp	w25, w8
	b.ge	LBB0_51
LBB0_34:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_36 Depth 2
                                        ;     Child Loop BB0_39 Depth 2
                                        ;     Child Loop BB0_42 Depth 2
                                        ;     Child Loop BB0_45 Depth 2
                                        ;     Child Loop BB0_48 Depth 2
Lloh83:
	adrp	x8, _CN23XX_OQ_OFFSET@GOTPAGE
Lloh84:
	ldr	x8, [x8, _CN23XX_OQ_OFFSET@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	mov	w9, #192
	movk	w9, #1, lsl #16
	madd	w22, w8, w25, w9
	add	x28, x20, w21, sxtw
	mov	x0, x19
	mov	x1, x22
	bl	_octeon_read_csr64
	stp	x25, x0, [sp, #8]
	str	x22, [sp]
	mov	x0, x28
Lloh86:
	adrp	x1, l_.str.24@PAGE
Lloh87:
	add	x1, x1, l_.str.24@PAGEOFF
	bl	_sprintf
	add	w25, w21, w0
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=1
	mov	w21, #0
LBB0_36:                                ;   Parent Loop BB0_34 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	bl	_CN23XX_SLI_IQ_PKT_CONTROL64
	mov	x22, x0
	add	x28, x20, w25, sxtw
	mov	x0, x19
	mov	x1, x22
	bl	_octeon_read_csr64
	stp	x21, x0, [sp, #8]
	str	x22, [sp]
	mov	x0, x28
	mov	x1, x23
	bl	_sprintf
	add	w25, w25, w0
	add	w21, w21, #1
	ldr	w8, [x26]
	cmp	w21, w8
	b.lt	LBB0_36
; %bb.37:                               ;   in Loop: Header=BB0_34 Depth=1
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.38:                               ;   in Loop: Header=BB0_34 Depth=1
	mov	w21, #0
LBB0_39:                                ;   Parent Loop BB0_34 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	bl	_CN23XX_SLI_IQ_BASE_ADDR64
	mov	x22, x0
	add	x28, x20, w25, sxtw
	mov	x0, x19
	mov	x1, x22
	bl	_octeon_read_csr64
	stp	x21, x0, [sp, #8]
	str	x22, [sp]
	mov	x0, x28
	mov	x1, x24
	bl	_sprintf
	add	w25, w25, w0
	add	w21, w21, #1
	ldr	w8, [x26]
	cmp	w21, w8
	b.lt	LBB0_39
; %bb.40:                               ;   in Loop: Header=BB0_34 Depth=1
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.41:                               ;   in Loop: Header=BB0_34 Depth=1
	mov	w21, #0
Lloh88:
	adrp	x24, l_.str.27@PAGE
Lloh89:
	add	x24, x24, l_.str.27@PAGEOFF
LBB0_42:                                ;   Parent Loop BB0_34 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	bl	_CN23XX_SLI_IQ_DOORBELL
	mov	x22, x0
	add	x28, x20, w25, sxtw
	mov	x0, x19
	mov	x1, x22
	bl	_octeon_read_csr64
	stp	x21, x0, [sp, #8]
	str	x22, [sp]
	mov	x0, x28
	mov	x1, x24
	bl	_sprintf
	add	w25, w25, w0
	add	w21, w21, #1
	ldr	w8, [x26]
	cmp	w21, w8
	b.lt	LBB0_42
; %bb.43:                               ;   in Loop: Header=BB0_34 Depth=1
	cmp	w8, #1
	b.lt	LBB0_50
; %bb.44:                               ;   in Loop: Header=BB0_34 Depth=1
	mov	w21, #0
Lloh90:
	adrp	x24, l_.str.28@PAGE
Lloh91:
	add	x24, x24, l_.str.28@PAGEOFF
LBB0_45:                                ;   Parent Loop BB0_34 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	bl	_CN23XX_SLI_IQ_SIZE
	mov	x22, x0
	add	x28, x20, w25, sxtw
	mov	x0, x19
	mov	x1, x22
	bl	_octeon_read_csr64
	stp	x21, x0, [sp, #8]
	str	x22, [sp]
	mov	x0, x28
	mov	x1, x24
	bl	_sprintf
	add	w25, w25, w0
	add	w21, w21, #1
	ldr	w8, [x26]
	cmp	w21, w8
	b.lt	LBB0_45
; %bb.46:                               ;   in Loop: Header=BB0_34 Depth=1
	cmp	w8, #1
Lloh92:
	adrp	x24, l_.str.26@PAGE
Lloh93:
	add	x24, x24, l_.str.26@PAGEOFF
	b.lt	LBB0_32
; %bb.47:                               ;   in Loop: Header=BB0_34 Depth=1
	mov	w28, #0
LBB0_48:                                ;   Parent Loop BB0_34 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x28
	bl	_CN23XX_SLI_IQ_INSTR_COUNT64
	add	w28, w28, #1
	ldr	w8, [x26]
	cmp	w28, w8
	b.lt	LBB0_48
; %bb.49:                               ;   in Loop: Header=BB0_34 Depth=1
	mov	x21, x0
	b	LBB0_33
LBB0_50:                                ;   in Loop: Header=BB0_34 Depth=1
	mov	w28, #0
	mov	x21, x22
Lloh94:
	adrp	x24, l_.str.26@PAGE
Lloh95:
	add	x24, x24, l_.str.26@PAGEOFF
	b	LBB0_33
LBB0_51:
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n\t Octeon CSR Registers\n\n"

l_.str.1:                               ; @.str.1
	.asciz	"\n[%08x] (SLI_PKT_MAC%d_PF%d_RINFO): %016llx\n"

l_.str.2:                               ; @.str.2
	.asciz	"\n[%08x] (SLI_MAC%d_PF%d_INT_ENB): %016llx\n"

l_.str.3:                               ; @.str.3
	.asciz	"\n[%08x] (SLI_MAC%d_PF%d_INT_SUM): %016llx\n"

l_.str.4:                               ; @.str.4
	.asciz	"\n[%08x] (SLI_PKT_MEM_CTL): %016llx\n"

	.comm	_CN23XX_MAC_INT_OFFSET,4,2      ; @CN23XX_MAC_INT_OFFSET
	.comm	_CN23XX_PF_INT_OFFSET,4,2       ; @CN23XX_PF_INT_OFFSET
l_.str.5:                               ; @.str.5
	.asciz	"\n[%08x] (SLI_MAC%d_PF%d_PKT_VF_INT): %016llx\n"

l_.str.6:                               ; @.str.6
	.asciz	"\n[%08x] (SLI_MAC%d_PF%d_PP_VF_INT): %016llx\n"

	.comm	_CN23XX_SLI_PKT_CNT_INT,4,2     ; @CN23XX_SLI_PKT_CNT_INT
l_.str.7:                               ; @.str.7
	.asciz	"\n[%08x] (SLI_PKT_CNT_INT): %016llx\n"

	.comm	_CN23XX_SLI_PKT_TIME_INT,4,2    ; @CN23XX_SLI_PKT_TIME_INT
l_.str.8:                               ; @.str.8
	.asciz	"\n[%08x] (SLI_PKT_TIME_INT): %016llx\n"

l_.str.9:                               ; @.str.9
	.asciz	"\n[%08x] (SLI_PKT_INT): %016llx\n"

	.comm	_CN23XX_SLI_OQ_WMARK,4,2        ; @CN23XX_SLI_OQ_WMARK
l_.str.10:                              ; @.str.10
	.asciz	"\n[%08x] (SLI_PKT_OUTPUT_WMARK): %016llx\n"

	.comm	_CN23XX_SLI_PKT_IOQ_RING_RST,4,2 ; @CN23XX_SLI_PKT_IOQ_RING_RST
l_.str.11:                              ; @.str.11
	.asciz	"\n[%08x] (SLI_PKT_RING_RST): %016llx\n"

	.comm	_CN23XX_SLI_GBL_CONTROL,4,2     ; @CN23XX_SLI_GBL_CONTROL
l_.str.12:                              ; @.str.12
	.asciz	"\n[%08x] (SLI_PKT_GBL_CONTROL): %016llx\n"

l_.str.13:                              ; @.str.13
	.asciz	"\n[%08x] (SLI_PKT_BIST_STATUS): %016llx\n"

	.comm	_CN23XX_SLI_OUT_BP_EN_W1S,4,2   ; @CN23XX_SLI_OUT_BP_EN_W1S
l_.str.14:                              ; @.str.14
	.asciz	"\n[%08x] (SLI_PKT_OUT_BP_EN_W1S):  %016llx\n"

	.comm	_CN23XX_SLI_OUT_BP_EN2_W1S,4,2  ; @CN23XX_SLI_OUT_BP_EN2_W1S
l_.str.15:                              ; @.str.15
	.asciz	"\n[%08x] (SLI_PKT_OUT_BP_EN2_W1S): %016llx\n"

	.comm	_CN23XX_MAX_OUTPUT_QUEUES,4,2   ; @CN23XX_MAX_OUTPUT_QUEUES
l_.str.16:                              ; @.str.16
	.asciz	"\n[%08x] (SLI_PKT%d_OUT_SIZE): %016llx\n"

	.comm	_CN23XX_MAX_INPUT_QUEUES,4,2    ; @CN23XX_MAX_INPUT_QUEUES
l_.str.17:                              ; @.str.17
	.asciz	"\n[%08x] (SLI_PKT_IN_DONE%d_CNTS): %016llx\n"

l_.str.18:                              ; @.str.18
	.asciz	"\n[%08x] (SLI_PKT%d_SLIST_BAOFF_DBELL): %016llx\n"

l_.str.19:                              ; @.str.19
	.asciz	"\n[%08x] (SLI_PKT%d_SLIST_FIFO_RSIZE): %016llx\n"

l_.str.20:                              ; @.str.20
	.asciz	"\n[%08x] (SLI_PKT%d__OUTPUT_CONTROL): %016llx\n"

l_.str.21:                              ; @.str.21
	.asciz	"\n[%08x] (SLI_PKT%d_SLIST_BADDR): %016llx\n"

l_.str.22:                              ; @.str.22
	.asciz	"\n[%08x] (SLI_PKT%d_INT_LEVELS): %016llx\n"

l_.str.23:                              ; @.str.23
	.asciz	"\n[%08x] (SLI_PKT%d_CNTS): %016llx\n"

	.comm	_CN23XX_OQ_OFFSET,4,2           ; @CN23XX_OQ_OFFSET
l_.str.24:                              ; @.str.24
	.asciz	"\n[%08x] (SLI_PKT%d_ERROR_INFO): %016llx\n"

l_.str.25:                              ; @.str.25
	.asciz	"\n[%08x] (SLI_PKT%d_INPUT_CONTROL): %016llx\n"

l_.str.26:                              ; @.str.26
	.asciz	"\n[%08x] (SLI_PKT%d_INSTR_BADDR): %016llx\n"

l_.str.27:                              ; @.str.27
	.asciz	"\n[%08x] (SLI_PKT%d_INSTR_BAOFF_DBELL): %016llx\n"

l_.str.28:                              ; @.str.28
	.asciz	"\n[%08x] (SLI_PKT%d_INSTR_FIFO_RSIZE): %016llx\n"

	.no_dead_strip	_cn23xx_read_csr_reg
.subsections_via_symbols
