	.file	"extr_wince.c_read_process_memory.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ReadProcessMemory handle"
.LC1:
	.string	"ReadProcessMemory location"
.LC2:
	.string	"ReadProcessMemory size"
.LC3:
	.string	"ReadProcessMemory buf"
	.text
	.p2align 4
	.type	read_process_memory, @function
read_process_memory:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR s[rip], 0
	js	.L2
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	mov	edx, edi
	lea	rdi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR GDB_READPROCESSMEMORY[rip]
	call	puthandle@PLT
	mov	esi, DWORD PTR GDB_READPROCESSMEMORY[rip]
	mov	edx, r15d
	lea	rdi, .LC1[rip]
	call	putpvoid@PLT
	mov	esi, DWORD PTR GDB_READPROCESSMEMORY[rip]
	mov	edx, r14d
	lea	rdi, .LC2[rip]
	call	putlen@PLT
	mov	esi, DWORD PTR GDB_READPROCESSMEMORY[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rcx, r13
	mov	edx, r12d
	lea	rdi, .LC3[rip]
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_restore 15
	.cfi_def_cfa_offset 8
	jmp	getresult@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, 1
	ret
	.cfi_endproc
.LFE0:
	.size	read_process_memory, .-read_process_memory
	.comm	s,8,8
	.comm	GDB_READPROCESSMEMORY,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_wince.c_read_process_memory.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ReadProcessMemory handle\000"
	.align	2
.LC1:
	.ascii	"ReadProcessMemory location\000"
	.align	2
.LC2:
	.ascii	"ReadProcessMemory size\000"
	.align	2
.LC3:
	.ascii	"ReadProcessMemory buf\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_process_memory, %function
read_process_memory:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L5
	push	{r4, r5, r6, r7, r8, lr}
	ldr	ip, [ip]
	ldr	r8, [sp, #24]
	cmp	ip, #0
	blt	.L2
	mov	r6, r1
	mov	r5, r3
	mov	r4, r2
	ldr	r7, .L5+4
	mov	r2, r0
	ldr	r1, [r7]
	ldr	r0, .L5+8
	bl	puthandle
	mov	r2, r6
	ldr	r1, [r7]
	ldr	r0, .L5+12
	bl	putpvoid
	mov	r2, r5
	ldr	r1, [r7]
	ldr	r0, .L5+16
	bl	putlen
	mov	r3, r8
	mov	r2, r4
	ldr	r1, [r7]
	ldr	r0, .L5+20
	pop	{r4, r5, r6, r7, r8, lr}
	b	getresult
.L2:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	.align	2
.L5:
	.word	s
	.word	GDB_READPROCESSMEMORY
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	read_process_memory, .-read_process_memory
	.comm	s,4,4
	.comm	GDB_READPROCESSMEMORY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
