	.file	"extr_target.c_get_target_memory.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	get_target_memory
	.type	get_target_memory, @function
get_target_memory:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	r8d, esi
	mov	ebp, esi
	mov	r9, rcx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rcx
	mov	rcx, rdx
	xor	edx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR TARGET_OBJECT_MEMORY[rip]
	call	target_read@PLT
	cmp	rax, rbx
	jne	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR EIO[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	esi, ebp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	memory_error@PLT
	.cfi_endproc
.LFE0:
	.size	get_target_memory, .-get_target_memory
	.comm	TARGET_OBJECT_MEMORY,4,4
	.comm	EIO,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_target.c_get_target_memory.c"
	.text
	.align	2
	.global	get_target_memory
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_target_memory, %function
get_target_memory:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r3
	mov	r5, r1
	sub	sp, sp, #12
	ldr	r1, .L6
	str	r5, [sp]
	str	r4, [sp, #4]
	mov	r3, r2
	ldr	r1, [r1]
	mov	r2, #0
	bl	target_read
	cmp	r0, r4
	bne	.L5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	mov	r1, r5
	ldr	r3, .L6+4
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	memory_error
.L7:
	.align	2
.L6:
	.word	TARGET_OBJECT_MEMORY
	.word	EIO
	.size	get_target_memory, .-get_target_memory
	.comm	TARGET_OBJECT_MEMORY,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
