	.file	"extr_mips-tdep.c_mips_print_register.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s: [Invalid]"
.LC1:
	.string	"(r%d): "
.LC2:
	.string	": "
	.text
	.p2align 4
	.type	mips_print_register, @function
mips_print_register:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	.cfi_offset 15, -24
	mov	r15, rsi
	push	r14
	push	r13
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13, rdi
	mov	rdi, rsi
	push	r12
	.cfi_offset 12, -48
	mov	r12d, edx
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rbx, rsp
	call	get_frame_arch@PLT
	mov	rcx, rsp
	mov	r14, rax
	movsx	rax, DWORD PTR MAX_REGISTER_SIZE[rip]
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L18:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L18
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L19
.L4:
	mov	esi, r12d
	mov	rdi, r14
	mov	QWORD PTR -72[rbp], rsp
	call	gdbarch_register_type@PLT
	mov	edi, eax
	call	TYPE_CODE@PLT
	cmp	rax, QWORD PTR TYPE_CODE_FLT[rip]
	je	.L20
	mov	rdi, r15
	mov	rdx, rsp
	mov	esi, r12d
	call	frame_register_read@PLT
	mov	edi, r12d
	test	eax, eax
	je	.L21
	call	REGISTER_NAME@PLT
	mov	rsi, r13
	mov	edi, eax
	call	fputs_filtered@PLT
	cmp	DWORD PTR MIPS_NUMREGS[rip], r12d
	jle	.L8
	xor	eax, eax
	mov	edx, r12d
	lea	rsi, .LC1[rip]
	mov	rdi, r13
	call	fprintf_filtered@PLT
	mov	rax, QWORD PTR BFD_ENDIAN_BIG[rip]
	cmp	QWORD PTR TARGET_BYTE_ORDER[rip], rax
	je	.L22
.L10:
	mov	esi, r12d
	mov	rdi, r14
	call	gdbarch_register_type@PLT
	mov	rdi, QWORD PTR -72[rbp]
	mov	r8, r13
	xor	ecx, ecx
	mov	esi, eax
	mov	edx, 120
	call	print_scalar_formatted@PLT
	mov	rsp, rbx
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	call	REGISTER_NAME@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	mov	edx, eax
	xor	eax, eax
	call	fprintf_filtered@PLT
.L6:
	mov	rsp, rbx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	xor	eax, eax
	lea	rsi, .LC2[rip]
	mov	rdi, r13
	call	fprintf_filtered@PLT
	mov	rax, QWORD PTR BFD_ENDIAN_BIG[rip]
	cmp	QWORD PTR TARGET_BYTE_ORDER[rip], rax
	jne	.L10
.L22:
	mov	edi, DWORD PTR current_gdbarch[rip]
	mov	esi, r12d
	call	register_size@PLT
	mov	edi, DWORD PTR current_gdbarch[rip]
	mov	esi, r12d
	mov	r15d, eax
	call	register_size@PLT
	mov	ecx, r15d
	sub	ecx, eax
	movsx	rax, ecx
	add	QWORD PTR -72[rbp], rax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L20:
	mov	edx, r12d
	mov	rsi, r15
	mov	rdi, r13
	call	mips_print_fp_register@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L19:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mips_print_register, .-mips_print_register
	.comm	current_gdbarch,4,4
	.comm	TYPE_CODE_FLT,8,8
	.comm	TARGET_BYTE_ORDER,8,8
	.comm	MIPS_NUMREGS,4,4
	.comm	MAX_REGISTER_SIZE,4,4
	.comm	BFD_ENDIAN_BIG,8,8
	.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_mips-tdep.c_mips_print_register.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: [Invalid]\000"
	.align	2
.LC1:
	.ascii	"(r%d): \000"
	.align	2
.LC2:
	.ascii	": \000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mips_print_register, %function
mips_print_register:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #20
	ldr	r3, .L17
	mov	r4, r2
	mov	r5, r0
	mov	r0, r1
	mov	r8, r1
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	bl	get_frame_arch
	ldr	r3, .L17+4
	mov	r1, r4
	ldr	r3, [r3]
	mov	r7, sp
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r6, r0
	bl	gdbarch_register_type
	bl	TYPE_CODE
	ldr	r3, .L17+8
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L12
	add	r9, sp, #8
	mov	r0, r8
	mov	r2, r9
	mov	r1, r4
	bl	frame_register_read
	cmp	r0, #0
	beq	.L13
	mov	r0, r4
	bl	REGISTER_NAME
	mov	r1, r5
	bl	fputs_filtered
	ldr	r3, .L17+12
	mov	r10, r9
	ldr	r3, [r3]
	cmp	r3, r4
	bgt	.L14
	mov	r0, r5
	ldr	r1, .L17+16
	bl	fprintf_filtered
.L6:
	ldr	r2, .L17+20
	ldr	r3, .L17+24
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L15
.L7:
	mov	r1, r4
	mov	r0, r6
	bl	gdbarch_register_type
	str	r5, [sp]
	mov	r1, r0
	mov	r3, #0
	mov	r0, r10
	mov	r2, #120
	bl	print_scalar_formatted
	mov	sp, r7
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L17+28
	bl	fprintf_filtered
	b	.L6
.L13:
	mov	r0, r4
	bl	REGISTER_NAME
	ldr	r1, .L17+32
	mov	r2, r0
	mov	r0, r5
	bl	fprintf_filtered
.L3:
	mov	sp, r7
	b	.L1
.L12:
	mov	r2, r4
	mov	r1, r8
	mov	r0, r5
	bl	mips_print_fp_register
	b	.L3
.L15:
	ldr	r8, .L17+36
	mov	r1, r4
	ldr	r0, [r8]
	bl	register_size
	mov	r1, r4
	mov	r10, r0
	ldr	r0, [r8]
	bl	register_size
	sub	r10, r10, r0
	add	r10, r9, r10
	b	.L7
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC3
	.word	MAX_REGISTER_SIZE
	.word	TYPE_CODE_FLT
	.word	MIPS_NUMREGS
	.word	.LC2
	.word	TARGET_BYTE_ORDER
	.word	BFD_ENDIAN_BIG
	.word	.LC1
	.word	.LC0
	.word	current_gdbarch
	.size	mips_print_register, .-mips_print_register
	.comm	current_gdbarch,4,4
	.comm	TYPE_CODE_FLT,4,4
	.comm	TARGET_BYTE_ORDER,4,4
	.comm	MIPS_NUMREGS,4,4
	.comm	MAX_REGISTER_SIZE,4,4
	.comm	BFD_ENDIAN_BIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
