	.file	"extr_profio.c_getstr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	getstr, @function
getstr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 16
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR MAXTOKEN[rip]
	mov	rcx, rsp
	mov	rbx, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L23:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L23
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L24
.L4:
	sub	ebx, 2
	mov	r14, rsp
	mov	r13, rsp
	movsx	rbx, ebx
.L5:
	mov	r12, r13
	sub	r12, r14
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	lea	edx, -9[rax]
	cmp	edx, 1
	jbe	.L12
	cmp	eax, 32
	je	.L12
	cmp	r12, rbx
	jl	.L25
.L6:
	mov	edi, DWORD PTR fp[rip]
	call	getc@PLT
	cmp	DWORD PTR EOF[rip], eax
	jne	.L7
.L12:
	mov	BYTE PTR 0[r13], 0
	xor	eax, eax
	cmp	r13, r14
	je	.L1
	mov	rdi, r14
	call	string@PLT
.L1:
	mov	rsi, QWORD PTR -40[rbp]
	xor	rsi, QWORD PTR fs:40
	jne	.L26
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	add	r13, 1
	mov	BYTE PTR -1[r13], al
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L24:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	getstr, .-getstr
	.comm	fp,4,4
	.comm	MAXTOKEN,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_profio.c_getstr.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	getstr, %function
getstr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #8
	ldr	r3, .L15
	ldr	r2, .L15+4
	ldr	r4, [r3]
	ldr	r2, [r2]
	str	r2, [fp, #-32]
	mov	r2,#0
	add	r3, r4, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r8, sp
	mov	r7, sp
	ldr	r5, .L15+8
	ldr	r9, .L15+12
	sub	r4, r4, #2
.L2:
	sub	r6, r7, r8
	b	.L3
.L7:
	cmp	r6, r4
	blt	.L13
.L3:
	ldr	r0, [r5]
	bl	getc
	ldr	r3, [r9]
	cmp	r3, r0
	beq	.L8
	sub	r3, r0, #9
	cmp	r0, #32
	cmpne	r3, #1
	bhi	.L7
.L8:
	mov	r0, #0
	cmp	r7, r8
	strb	r0, [r7]
	beq	.L1
	mov	r0, r8
	bl	string
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L13:
	strb	r0, [r7], #1
	b	.L2
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	MAXTOKEN
	.word	.LC0
	.word	fp
	.word	EOF
	.size	getstr, .-getstr
	.comm	fp,4,4
	.comm	MAXTOKEN,4,4
	.comm	EOF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
