	.file	"extr_getchar.c_get_recorded.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	get_recorded
	.type	get_recorded, @function
get_recorded:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, DWORD PTR TRUE[rip]
	lea	rdi, recordbuff[rip]
	call	get_buffcont@PLT
	lea	rdi, recordbuff[rip]
	mov	r12, rax
	call	free_buff@PLT
	mov	rdi, r12
	call	STRLEN@PLT
	movsx	rdx, DWORD PTR last_recorded_len[rip]
	cmp	edx, eax
	jg	.L2
	sub	rax, rdx
	mov	rdx, QWORD PTR NUL[rip]
	mov	QWORD PTR [r12+rax*8], rdx
.L2:
	test	rax, rax
	je	.L1
	cmp	QWORD PTR restart_edit[rip], 0
	je	.L1
	lea	rax, -8[r12+rax*8]
	mov	rcx, QWORD PTR Ctrl_O[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L9
.L1:
	mov	rax, r12
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdx, QWORD PTR NUL[rip]
	mov	QWORD PTR [rax], rdx
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	get_recorded, .-get_recorded
	.comm	restart_edit,8,8
	.comm	recordbuff,4,4
	.comm	last_recorded_len,4,4
	.comm	TRUE,4,4
	.comm	NUL,8,8
	.comm	Ctrl_O,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_getchar.c_get_recorded.c"
	.text
	.align	2
	.global	get_recorded
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_recorded, %function
get_recorded:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L12
	push	{r4, lr}
	ldr	r1, [r3]
	ldr	r0, .L12+4
	bl	get_buffcont
	mov	r4, r0
	ldr	r0, .L12+4
	bl	free_buff
	mov	r0, r4
	bl	STRLEN
	ldr	r3, .L12+8
	ldr	r3, [r3]
	cmp	r0, r3
	ldrge	r2, .L12+12
	subge	r0, r0, r3
	ldrge	r3, [r2]
	strge	r3, [r4, r0, lsl #2]
	cmp	r0, #0
	beq	.L1
	ldr	r3, .L12+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L1
	ldr	r2, .L12+20
	sub	r3, r0, #-1073741823
	ldr	r2, [r2]
	ldr	r1, [r4, r3, lsl #2]
	cmp	r1, r2
	ldreq	r2, .L12+12
	ldreq	r2, [r2]
	streq	r2, [r4, r3, lsl #2]
.L1:
	mov	r0, r4
	pop	{r4, pc}
.L13:
	.align	2
.L12:
	.word	TRUE
	.word	recordbuff
	.word	last_recorded_len
	.word	NUL
	.word	restart_edit
	.word	Ctrl_O
	.size	get_recorded, .-get_recorded
	.comm	restart_edit,4,4
	.comm	recordbuff,4,4
	.comm	last_recorded_len,4,4
	.comm	TRUE,4,4
	.comm	NUL,4,4
	.comm	Ctrl_O,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
