	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cn6xxx_read_config_reg
_cn6xxx_read_config_reg:                ## @cn6xxx_read_config_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	leaq	L_.str(%rip), %rsi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %rbx
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movl	%r14d, %esi
	leaq	-44(%rbp), %rdx
	callq	_pci_read_config_dword
	movslq	%ebx, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %rdi
	movl	-44(%rbp), %r8d
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rax, %rbx
	addq	%r15, %rbx
	incl	%r13d
	addl	$4, %r14d
	cmpl	$14, %r13d
	jne	LBB0_1
## %bb.2:
	movq	%r12, %r13
	movl	(%r12), %edi
	leaq	-44(%rbp), %r15
	movl	$120, %esi
	movq	%r15, %rdx
	callq	_pci_read_config_dword
	movslq	%ebx, %rbx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	leaq	(%r14,%rbx), %rdi
	movl	-44(%rbp), %r8d
	leaq	L_.str.1(%rip), %r12
	movq	%r12, %rsi
	movl	$120, %edx
	movl	$30, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %ebx
	movl	(%r13), %edi
	movl	$124, %esi
	movq	%r15, %rdx
	callq	_pci_read_config_dword
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rdi
	movl	-44(%rbp), %r8d
	movq	%r12, %rsi
	movl	$124, %edx
	movl	$31, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %ebx
	movl	(%r13), %edi
	movl	$128, %esi
	movq	%r15, %rdx
	callq	_pci_read_config_dword
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rdi
	movl	-44(%rbp), %r8d
	movq	%r12, %rsi
	movl	$128, %edx
	movl	$32, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %ebx
	movl	(%r13), %edi
	movl	$132, %esi
	movq	%r15, %rdx
	callq	_pci_read_config_dword
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rdi
	movl	-44(%rbp), %r8d
	movq	%r12, %rsi
	movl	$132, %edx
	movl	$33, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %ebx
	movl	(%r13), %edi
	movl	$136, %esi
	movq	%r15, %rdx
	callq	_pci_read_config_dword
	movslq	%ebx, %rbx
	addq	%rbx, %r14
	movl	-44(%rbp), %r8d
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$136, %edx
	movl	$34, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	addl	%ebx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %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 Config space Registers\n\n"

L_.str.1:                               ## @.str.1
	.asciz	"[0x%x] (Config[%d]): 0x%08x\n"

	.no_dead_strip	_cn6xxx_read_config_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cn6xxx_read_config_reg
_cn6xxx_read_config_reg:                ; @cn6xxx_read_config_reg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
	mov	x22, x0
	mov	w21, #0
	mov	w24, #0
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	add	x2, sp, #28
	mov	x1, x21
	bl	_pci_read_config_dword
	sxtw	x22, w22
	add	x0, x19, x22
	ldr	w8, [sp, #28]
	stp	x24, x8, [sp, #8]
	str	x21, [sp]
	mov	x1, x23
	bl	_sprintf
	add	x22, x0, x22
	add	w24, w24, #1
	add	w21, w21, #4
	cmp	w24, #14
	b.ne	LBB0_1
; %bb.2:
	ldr	w0, [x20]
	mov	w21, #120
	add	x2, sp, #28
	mov	w1, #120
	bl	_pci_read_config_dword
	add	x0, x19, w22, sxtw
	ldr	w9, [sp, #28]
	mov	w8, #30
	stp	x8, x9, [sp, #8]
	str	x21, [sp]
Lloh4:
	adrp	x21, l_.str.1@PAGE
Lloh5:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_sprintf
	add	w22, w22, w0
	ldr	w0, [x20]
	mov	w23, #124
	add	x2, sp, #28
	mov	w1, #124
	bl	_pci_read_config_dword
	add	x0, x19, w22, sxtw
	ldr	w9, [sp, #28]
	mov	w8, #31
	stp	x8, x9, [sp, #8]
	str	x23, [sp]
	mov	x1, x21
	bl	_sprintf
	add	w22, w22, w0
	ldr	w0, [x20]
	mov	w23, #128
	add	x2, sp, #28
	mov	w1, #128
	bl	_pci_read_config_dword
	add	x0, x19, w22, sxtw
	ldr	w9, [sp, #28]
	mov	w8, #32
	stp	x8, x9, [sp, #8]
	str	x23, [sp]
	mov	x1, x21
	bl	_sprintf
	add	w22, w22, w0
	ldr	w0, [x20]
	mov	w23, #132
	add	x2, sp, #28
	mov	w1, #132
	bl	_pci_read_config_dword
	add	x0, x19, w22, sxtw
	ldr	w9, [sp, #28]
	mov	w8, #33
	stp	x8, x9, [sp, #8]
	str	x23, [sp]
	mov	x1, x21
	bl	_sprintf
	add	w22, w22, w0
	ldr	w0, [x20]
	mov	w20, #136
	add	x2, sp, #28
	mov	w1, #136
	bl	_pci_read_config_dword
	add	x0, x19, w22, sxtw
	ldr	w9, [sp, #28]
	mov	w8, #34
	stp	x8, x9, [sp, #8]
	str	x20, [sp]
	mov	x1, x21
	bl	_sprintf
	add	w0, w22, w0
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n\t Octeon Config space Registers\n\n"

l_.str.1:                               ; @.str.1
	.asciz	"[0x%x] (Config[%d]): 0x%08x\n"

	.no_dead_strip	_cn6xxx_read_config_reg
.subsections_via_symbols
