	.file	"extr_cvmx-tra.c_cvmx_tra_read.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	cvmx_tra_read
	.type	cvmx_tra_read, @function
cvmx_tra_read:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR OCTEON_CN63XX_PASS1_X[rip]
	mov	ebp, DWORD PTR CVMX_TRA_READ_DAT[rip]
	call	OCTEON_IS_MODEL@PLT
	test	rax, rax
	je	.L2
	mov	edi, ebp
	call	cvmx_read_csr@PLT
	mov	edi, ebp
	mov	r12, rax
	call	cvmx_read_csr@PLT
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdx, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR OCTEON_CN3XXX[rip]
	call	OCTEON_IS_MODEL@PLT
	test	rax, rax
	jne	.L4
	mov	edi, DWORD PTR OCTEON_CN5XXX[rip]
	call	OCTEON_IS_MODEL@PLT
	test	rax, rax
	je	.L7
.L4:
	mov	edi, ebp
	call	cvmx_read_csr@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	r12, rax
	pop	rbp
	.cfi_def_cfa_offset 16
	xor	eax, eax
	mov	rdx, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, ebp
	call	cvmx_read_csr@PLT
	mov	edi, DWORD PTR CVMX_TRA_READ_DAT_HI[rip]
	mov	r12, rax
	call	cvmx_read_csr@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	cvmx_tra_read, .-cvmx_tra_read
	.comm	OCTEON_CN63XX_PASS1_X,4,4
	.comm	OCTEON_CN5XXX,4,4
	.comm	OCTEON_CN3XXX,4,4
	.comm	CVMX_TRA_READ_DAT_HI,4,4
	.comm	CVMX_TRA_READ_DAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cvmx-tra.c_cvmx_tra_read.c"
	.text
	.align	2
	.global	cvmx_tra_read
	.syntax unified
	.arm
	.fpu softvfp
	.type	cvmx_tra_read, %function
cvmx_tra_read:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L8
	ldr	r3, .L8+4
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r2]
	ldr	r6, [r3]
	bl	OCTEON_IS_MODEL
	cmp	r0, #0
	beq	.L2
	mov	r0, r6
	bl	cvmx_read_csr
	mov	r5, r0
	mov	r0, r6
	bl	cvmx_read_csr
	mov	r3, r0
.L3:
	mov	r0, r4
	stm	r4, {r3, r5}
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L8+8
	ldr	r0, [r3]
	bl	OCTEON_IS_MODEL
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L8+12
	ldr	r0, [r3]
	bl	OCTEON_IS_MODEL
	cmp	r0, #0
	beq	.L7
.L4:
	mov	r0, r6
	bl	cvmx_read_csr
	mov	r3, #0
	mov	r5, r0
	b	.L3
.L7:
	mov	r0, r6
	bl	cvmx_read_csr
	ldr	r3, .L8+16
	mov	r5, r0
	ldr	r0, [r3]
	bl	cvmx_read_csr
	mov	r3, r0
	b	.L3
.L9:
	.align	2
.L8:
	.word	OCTEON_CN63XX_PASS1_X
	.word	CVMX_TRA_READ_DAT
	.word	OCTEON_CN3XXX
	.word	OCTEON_CN5XXX
	.word	CVMX_TRA_READ_DAT_HI
	.size	cvmx_tra_read, .-cvmx_tra_read
	.comm	OCTEON_CN63XX_PASS1_X,4,4
	.comm	OCTEON_CN5XXX,4,4
	.comm	OCTEON_CN3XXX,4,4
	.comm	CVMX_TRA_READ_DAT_HI,4,4
	.comm	CVMX_TRA_READ_DAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
