	.file	"extr_mon_text.c_mon_text_read_data.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" ="
.LC1:
	.string	" "
.LC2:
	.string	"%02x"
.LC3:
	.string	"\n"
.LC4:
	.string	" %c\n"
	.text
	.p2align 4
	.type	mon_text_read_data, @function
mon_text_read_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rdi, QWORD PTR [rsi]
	mov	ebx, DWORD PTR [rdx]
	mov	rsi, QWORD PTR 8[rsi]
	sub	rsi, rdi
	add	rdi, QWORD PTR 16[r12]
	test	ebx, ebx
	jle	.L2
	mov	rcx, QWORD PTR 8[rdx]
	mov	r13, rdx
	test	rcx, rcx
	jne	.L3
	xor	eax, eax
	lea	rdx, .LC0[rip]
	call	snprintf@PLT
	add	rax, QWORD PTR [r12]
	cmp	DWORD PTR DATA_MAX[rip], ebx
	cmovle	ebx, DWORD PTR DATA_MAX[rip]
	mov	QWORD PTR [r12], rax
	test	ebx, ebx
	jle	.L4
	sub	ebx, 1
	xor	r14d, r14d
	lea	rbp, .LC1[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 16[r13]
	lea	rdx, .LC2[rip]
	mov	ecx, DWORD PTR [rax+r14*4]
	xor	eax, eax
	call	snprintf@PLT
	add	rax, QWORD PTR [r12]
	lea	rdx, 1[r14]
	mov	QWORD PTR [r12], rax
	cmp	rbx, r14
	je	.L4
	mov	r14, rdx
.L6:
	mov	rsi, QWORD PTR 8[r12]
	sub	rsi, rax
	add	rax, QWORD PTR 16[r12]
	mov	rdi, rax
	test	r14b, 3
	jne	.L5
	mov	rdx, rbp
	xor	eax, eax
	call	snprintf@PLT
	mov	rsi, QWORD PTR 8[r12]
	add	rax, QWORD PTR [r12]
	mov	QWORD PTR [r12], rax
	sub	rsi, rax
	add	rax, QWORD PTR 16[r12]
	mov	rdi, rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	lea	rdx, .LC4[rip]
	xor	eax, eax
	call	snprintf@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	add	QWORD PTR [r12], rax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rsi, QWORD PTR 8[r12]
	lea	rdx, .LC3[rip]
	sub	rsi, rax
	add	rax, QWORD PTR 16[r12]
	mov	rdi, rax
	xor	eax, eax
	call	snprintf@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	add	QWORD PTR [r12], rax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rdx, .LC3[rip]
	xor	eax, eax
	call	snprintf@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	add	QWORD PTR [r12], rax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mon_text_read_data, .-mon_text_read_data
	.comm	DATA_MAX,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_mon_text.c_mon_text_read_data.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	" =\000"
	.align	2
.LC1:
	.ascii	" \000"
	.align	2
.LC2:
	.ascii	"%02x\000"
	.align	2
.LC3:
	.ascii	"\012\000"
	.align	2
.LC4:
	.ascii	" %c\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mon_text_read_data, %function
mon_text_read_data:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r7, [r2]
	ldr	r3, [r1]
	ldr	r0, [r1, #8]
	mov	r4, r1
	ldr	r1, [r1, #4]
	cmp	r7, #0
	add	r0, r3, r0
	sub	r1, r1, r3
	ble	.L2
	ldr	r5, [r2, #4]
	mov	r6, r2
	cmp	r5, #0
	bne	.L3
	ldr	r2, .L11
	bl	snprintf
	ldr	r3, .L11+4
	ldr	r1, [r4]
	ldr	r2, [r3]
	add	r3, r0, r1
	cmp	r7, r2
	movge	r7, r2
	cmp	r7, #0
	str	r3, [r4]
	ble	.L4
	ldr	r9, .L11+8
	ldr	r8, .L11+12
	b	.L6
.L5:
	ldr	r3, [r6, #8]
	mov	r2, r8
	ldr	r3, [r3, r5, lsl #2]
	bl	snprintf
	ldr	r1, [r4]
	add	r5, r5, #1
	add	r3, r0, r1
	cmp	r7, r5
	str	r3, [r4]
	beq	.L4
.L6:
	ldr	r0, [r4, #8]
	ldr	r1, [r4, #4]
	tst	r5, #3
	add	r0, r3, r0
	sub	r1, r1, r3
	bne	.L5
	mov	r2, r9
	bl	snprintf
	ldmib	r4, {r1, r2}
	ldr	r3, [r4]
	add	r3, r0, r3
	str	r3, [r4]
	add	r0, r3, r2
	sub	r1, r1, r3
	b	.L5
.L4:
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #8]
	sub	r1, r1, r3
	add	r0, r3, r0
.L2:
	ldr	r2, .L11+16
	bl	snprintf
	ldr	r3, [r4]
	add	r3, r3, r0
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	mov	r3, r5
	ldr	r2, .L11+20
	bl	snprintf
	ldr	r3, [r4]
	add	r3, r3, r0
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	DATA_MAX
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	mon_text_read_data, .-mon_text_read_data
	.comm	DATA_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
