	.file	"extr_monitor.c_monitor_change_mem.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	monitor_change_mem, @function
monitor_change_mem:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rbp, 4[rsp]
	mov	DWORD PTR 4[rsp], 0
	call	get_hex@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	call	MEMORY_dPutByte@PLT
.L4:
	mov	eax, DWORD PTR [rbx]
	mov	esi, DWORD PTR 4[rsp]
	lea	edi, 1[rax]
	mov	DWORD PTR [rbx], edi
	cmp	esi, 255
	jg	.L13
.L5:
	mov	rdi, rbp
	call	get_hex@PLT
	test	rax, rax
	je	.L14
	movsx	rdx, DWORD PTR [rbx]
	mov	rax, QWORD PTR MEMORY_attrib[rip]
	mov	esi, DWORD PTR 4[rsp]
	mov	rcx, QWORD PTR MEMORY_HARDWARE[rip]
	mov	rdi, rdx
	cmp	QWORD PTR [rax+rdx*8], rcx
	jne	.L3
	call	MEMORY_HwPutByte@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 24
	.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
.L13:
	.cfi_restore_state
	mov	rdx, QWORD PTR MEMORY_attrib[rip]
	movsx	rax, edi
	mov	rcx, QWORD PTR MEMORY_HARDWARE[rip]
	sar	esi, 8
	cmp	QWORD PTR [rdx+rax*8], rcx
	je	.L16
	call	MEMORY_dPutByte@PLT
.L7:
	add	DWORD PTR [rbx], 1
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L16:
	call	MEMORY_HwPutByte@PLT
	jmp	.L7
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	monitor_change_mem, .-monitor_change_mem
	.comm	MEMORY_attrib,8,8
	.comm	MEMORY_HARDWARE,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_monitor.c_monitor_change_mem.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	monitor_change_mem, %function
monitor_change_mem:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, lr}
	ldr	r2, .L17
	sub	sp, sp, #8
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	mov	r4, r0
	str	r3, [sp]
	ldr	r6, .L17+4
	bl	get_hex
	ldr	r5, .L17+8
	b	.L5
.L3:
	bl	MEMORY_dPutByte
.L4:
	ldr	r0, [r4]
	ldr	r1, [sp]
	add	r0, r0, #1
	cmp	r1, #255
	str	r0, [r4]
	bgt	.L13
.L5:
	mov	r0, sp
	bl	get_hex
	cmp	r0, #0
	beq	.L14
	ldr	r0, [r4]
	ldr	r2, [r6]
	ldr	r3, [r5]
	ldr	r2, [r2, r0, lsl #2]
	ldr	r1, [sp]
	cmp	r2, r3
	bne	.L3
	bl	MEMORY_HwPutByte
	b	.L4
.L14:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r2, [r6]
	ldr	r3, [r5]
	ldr	r2, [r2, r0, lsl #2]
	asr	r1, r1, #8
	cmp	r2, r3
	beq	.L16
	bl	MEMORY_dPutByte
.L7:
	ldr	r3, [r4]
	add	r3, r3, #1
	str	r3, [r4]
	b	.L5
.L16:
	bl	MEMORY_HwPutByte
	b	.L7
.L15:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	MEMORY_attrib
	.word	MEMORY_HARDWARE
	.size	monitor_change_mem, .-monitor_change_mem
	.comm	MEMORY_attrib,4,4
	.comm	MEMORY_HARDWARE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
