	.file	"extr_config.c_read_from_stdin.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
	.text
	.p2align 4
	.type	read_from_stdin, @function
read_from_stdin:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r15, .LC0[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r14, 16[rsp]
	lea	r13, 8[rsp]
	mov	QWORD PTR 8[rsp], 0
	mov	QWORD PTR 16[rsp], 0
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	lea	esi, 1[rbx+r12]
	mov	rdi, rbp
	call	realloc@PLT
	mov	rcx, QWORD PTR 8[rsp]
	lea	esi, 1[rbx]
	mov	rdx, r15
	lea	rdi, [rax+r12]
	mov	rbp, rax
	add	r12, rbx
	call	snprintf@PLT
.L2:
	mov	edx, DWORD PTR stdin[rip]
	mov	rsi, r14
	mov	rdi, r13
	call	getline@PLT
	movsx	rbx, eax
	cmp	ebx, -1
	jne	.L3
	mov	rdi, QWORD PTR 8[rsp]
	call	free@PLT
	test	rbp, rbp
	je	.L1
	lea	rax, -1[rbp+r12]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	mov	BYTE PTR [rax], 0
	sub	rax, 1
.L5:
	cmp	BYTE PTR [rax], 10
	je	.L6
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	read_from_stdin, .-read_from_stdin
	.comm	stdin,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_config.c_read_from_stdin.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_from_stdin, %function
read_from_stdin:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r2, .L14
	sub	sp, sp, #20
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	mov	r4, r3
	mov	r6, r3
	ldr	r8, .L14+4
	ldr	r9, .L14+8
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	b	.L2
.L3:
	add	r7, r5, r4
	mov	r0, r6
	add	r1, r7, #1
	bl	realloc
	mov	r2, r9
	mov	r6, r0
	ldr	r3, [sp, #4]
	add	r0, r0, r4
	add	r1, r5, #1
	mov	r4, r7
	bl	snprintf
.L2:
	ldr	r2, [r8]
	add	r1, sp, #8
	add	r0, sp, #4
	bl	getline
	cmn	r0, #1
	mov	r5, r0
	bne	.L3
	ldr	r0, [sp, #4]
	bl	free
	cmp	r6, #0
	beq	.L1
	mov	r2, #0
	add	r4, r6, r4
	b	.L5
.L6:
	strb	r2, [r4]
.L5:
	ldrb	r3, [r4, #-1]!	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L6
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r6
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	stdin
	.word	.LC0
	.size	read_from_stdin, .-read_from_stdin
	.comm	stdin,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
