	.file	"extr_kgdb.c_pt_regs_to_gdb_regs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pt_regs_to_gdb_regs
	.type	pt_regs_to_gdb_regs, @function
pt_regs_to_gdb_regs:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR GDB_MAX_REGS[rip]
	test	edx, edx
	jle	.L2
	sub	edx, 1
	mov	rax, rdi
	lea	rcx, [rdi+rdx*8]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdx, rax
	mov	QWORD PTR [rax], 0
	add	rax, 8
	cmp	rdx, rcx
	jne	.L3
.L2:
	mov	rdx, QWORD PTR [rsi]
	mov	rax, QWORD PTR _R0[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 8[rsi]
	mov	rax, QWORD PTR _R1[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 16[rsi]
	mov	rax, QWORD PTR _R2[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 24[rsi]
	mov	rax, QWORD PTR _R3[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 32[rsi]
	mov	rax, QWORD PTR _R4[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 40[rsi]
	mov	rax, QWORD PTR _R5[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 48[rsi]
	mov	rax, QWORD PTR _R6[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 56[rsi]
	mov	rax, QWORD PTR _R7[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 64[rsi]
	mov	rax, QWORD PTR _R8[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 72[rsi]
	mov	rax, QWORD PTR _R9[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 80[rsi]
	mov	rax, QWORD PTR _R10[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 88[rsi]
	mov	rax, QWORD PTR _FP[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 96[rsi]
	mov	rax, QWORD PTR _IP[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 104[rsi]
	mov	rax, QWORD PTR _SPT[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 112[rsi]
	mov	rax, QWORD PTR _LR[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 120[rsi]
	mov	rax, QWORD PTR _PC[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	mov	rdx, QWORD PTR 128[rsi]
	mov	rax, QWORD PTR _CPSR[rip]
	mov	QWORD PTR [rdi+rax*8], rdx
	ret
	.cfi_endproc
.LFE0:
	.size	pt_regs_to_gdb_regs, .-pt_regs_to_gdb_regs
	.comm	_SPT,8,8
	.comm	_R9,8,8
	.comm	_R8,8,8
	.comm	_R7,8,8
	.comm	_R6,8,8
	.comm	_R5,8,8
	.comm	_R4,8,8
	.comm	_R3,8,8
	.comm	_R2,8,8
	.comm	_R10,8,8
	.comm	_R1,8,8
	.comm	_R0,8,8
	.comm	_PC,8,8
	.comm	_LR,8,8
	.comm	_IP,8,8
	.comm	_FP,8,8
	.comm	_CPSR,8,8
	.comm	GDB_MAX_REGS,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_kgdb.c_pt_regs_to_gdb_regs.c"
	.text
	.align	2
	.global	pt_regs_to_gdb_regs
	.syntax unified
	.arm
	.fpu softvfp
	.type	pt_regs_to_gdb_regs, %function
pt_regs_to_gdb_regs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L6
	ldr	r2, [r3]
	cmp	r2, #0
	ble	.L2
	mov	ip, #0
	add	r2, r0, r2, lsl #2
	sub	r2, r2, #4
	sub	r3, r0, #4
.L3:
	str	ip, [r3, #4]!
	cmp	r3, r2
	bne	.L3
.L2:
	ldr	r3, .L6+4
	ldr	ip, [r1]
	ldr	r2, [r3]
	ldr	r3, .L6+8
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r3]
	ldr	ip, [r1, #4]
	ldr	r3, .L6+12
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r3]
	ldr	ip, [r1, #8]
	ldr	r3, .L6+16
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r3]
	ldr	ip, [r1, #12]
	ldr	r3, .L6+20
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r3]
	ldr	ip, [r1, #16]
	ldr	r3, .L6+24
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r3]
	ldr	ip, [r1, #20]
	ldr	r3, .L6+28
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r3]
	ldr	ip, [r1, #24]
	ldr	r3, .L6+32
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r3]
	ldr	ip, [r1, #28]
	ldr	r3, .L6+36
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r3]
	ldr	ip, [r1, #32]
	ldr	r3, .L6+40
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r3]
	ldr	ip, [r1, #36]
	ldr	r3, .L6+44
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r3]
	ldr	ip, [r1, #40]
	ldr	r3, .L6+48
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r3]
	ldr	ip, [r1, #44]
	ldr	r3, .L6+52
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r3]
	ldr	ip, [r1, #48]
	ldr	r3, .L6+56
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r3]
	ldr	ip, [r1, #52]
	ldr	r3, .L6+60
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r3]
	ldr	ip, [r1, #56]
	ldr	r3, .L6+64
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r3]
	ldr	ip, [r1, #60]
	ldr	r3, .L6+68
	str	ip, [r0, r2, lsl #2]
	ldr	r2, [r1, #64]
	ldr	r3, [r3]
	str	r2, [r0, r3, lsl #2]
	bx	lr
.L7:
	.align	2
.L6:
	.word	GDB_MAX_REGS
	.word	_R0
	.word	_R1
	.word	_R2
	.word	_R3
	.word	_R4
	.word	_R5
	.word	_R6
	.word	_R7
	.word	_R8
	.word	_R9
	.word	_R10
	.word	_FP
	.word	_IP
	.word	_SPT
	.word	_LR
	.word	_PC
	.word	_CPSR
	.size	pt_regs_to_gdb_regs, .-pt_regs_to_gdb_regs
	.comm	_SPT,4,4
	.comm	_R9,4,4
	.comm	_R8,4,4
	.comm	_R7,4,4
	.comm	_R6,4,4
	.comm	_R5,4,4
	.comm	_R4,4,4
	.comm	_R3,4,4
	.comm	_R2,4,4
	.comm	_R10,4,4
	.comm	_R1,4,4
	.comm	_R0,4,4
	.comm	_PC,4,4
	.comm	_LR,4,4
	.comm	_IP,4,4
	.comm	_FP,4,4
	.comm	_CPSR,4,4
	.comm	GDB_MAX_REGS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
