	.file	"extr_linenoise.c_linenoiseNoTTY.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	linenoiseNoTTY, @function
linenoiseNoTTY:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, 32
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L19:
	cmp	eax, 10
	je	.L17
	mov	BYTE PTR [r12+rbx], al
	add	rbx, 1
.L8:
	cmp	rbx, rbp
	jne	.L2
	test	rbx, rbx
	lea	rbp, [rbx+rbx]
	mov	rdi, r12
	cmove	rbp, r13
	mov	rsi, rbp
	call	realloc@PLT
	test	rax, rax
	je	.L18
	mov	r12, rax
.L2:
	mov	edi, DWORD PTR stdin[rip]
	call	fgetc@PLT
	mov	edx, DWORD PTR EOF[rip]
	cmp	edx, eax
	jne	.L19
.L5:
	test	rbx, rbx
	je	.L15
.L7:
	mov	BYTE PTR [r12+rbx], 0
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	cmp	edx, 10
	jne	.L7
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	test	r12, r12
	je	.L1
.L15:
	mov	rdi, r12
	xor	r12d, r12d
	call	free@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	linenoiseNoTTY, .-linenoiseNoTTY
	.comm	stdin,4,4
	.comm	EOF,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_linenoise.c_linenoiseNoTTY.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	linenoiseNoTTY, %function
linenoiseNoTTY:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, #0
	ldr	r8, .L20
	mov	r4, r5
	mov	r6, r5
	ldr	r7, .L20+4
	b	.L8
.L18:
	cmp	r0, #10
	beq	.L16
	strb	r0, [r6, r4]
	add	r4, r4, #1
.L8:
	cmp	r4, r5
	bne	.L2
	cmp	r4, #0
	moveq	r5, #32
	lslne	r5, r4, #1
	mov	r1, r5
	mov	r0, r6
	bl	realloc
	subs	r9, r0, #0
	beq	.L17
	mov	r6, r9
.L2:
	ldr	r0, [r8]
	bl	fgetc
	ldr	r3, [r7]
	cmp	r3, r0
	bne	.L18
.L5:
	cmp	r4, #0
	beq	.L19
.L7:
	mov	r3, #0
	strb	r3, [r6, r4]
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	cmp	r3, #10
	bne	.L7
	b	.L5
.L19:
	mov	r0, r6
	bl	free
	mov	r6, r4
	b	.L1
.L17:
	cmp	r6, #0
	beq	.L1
	mov	r0, r6
	bl	free
	mov	r6, r9
	b	.L1
.L21:
	.align	2
.L20:
	.word	stdin
	.word	EOF
	.size	linenoiseNoTTY, .-linenoiseNoTTY
	.comm	stdin,4,4
	.comm	EOF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
