	.file	"164473.c"
	.intel_syntax noprefix
	.text
	.globl	yylineno
	.data
	.align 4
	.type	yylineno, @object
	.size	yylineno, 4
yylineno:
	.long	1
	.local	buf
	.comm	buf,16,16
	.section	.data.rel.local,"aw"
	.align 8
	.type	bufptr, @object
	.size	bufptr, 8
bufptr:
	.quad	buf
	.local	infile
	.comm	infile,8,8
	.text
	.type	nextc, @function
nextc:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR infile[rip]
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR infile[rip]
	jmp	.L3
.L2:
	mov	rax, QWORD PTR stdin[rip]
.L3:
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR bufptr[rip]
	lea	rdx, buf[rip]
	cmp	rax, rdx
	jbe	.L4
	mov	rax, QWORD PTR bufptr[rip]
	sub	rax, 1
	mov	QWORD PTR bufptr[rip], rax
	mov	rax, QWORD PTR bufptr[rip]
	movzx	eax, BYTE PTR [rax]
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	getc@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	nextc, .-nextc
	.globl	scanc
	.type	scanc, @function
scanc:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, 0
	call	nextc
	mov	BYTE PTR -1[rbp], al
	jmp	.L7
.L11:
	mov	eax, 0
	call	nextc
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -1[rbp], 42
	jne	.L8
	nop
.L9:
	mov	eax, 0
	call	nextc
	cmp	al, 42
	jne	.L9
	mov	eax, 0
	call	nextc
	cmp	al, 47
	jne	.L9
	mov	eax, 0
	call	nextc
	mov	BYTE PTR -1[rbp], al
	jmp	.L7
.L8:
	movsx	eax, BYTE PTR -1[rbp]
	mov	edi, eax
	mov	eax, 0
	call	backc
	mov	eax, 47
	jmp	.L10
.L7:
	cmp	BYTE PTR -1[rbp], 47
	je	.L11
	cmp	BYTE PTR -1[rbp], 10
	jne	.L12
	mov	eax, DWORD PTR yylineno[rip]
	add	eax, 1
	mov	DWORD PTR yylineno[rip], eax
.L12:
	movzx	eax, BYTE PTR -1[rbp]
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	scanc, .-scanc
	.section	.rodata
	.align 8
.LC0:
	.string	"backc(), no space in buffer left!"
	.text
	.globl	backc
	.type	backc, @function
backc:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	mov	rax, QWORD PTR bufptr[rip]
	lea	rdx, buf[rip+16]
	cmp	rax, rdx
	jb	.L14
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	error@PLT
	jmp	.L15
.L14:
	cmp	BYTE PTR -4[rbp], 10
	jne	.L16
	mov	eax, DWORD PTR yylineno[rip]
	sub	eax, 1
	mov	DWORD PTR yylineno[rip], eax
.L16:
	mov	rax, QWORD PTR bufptr[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR bufptr[rip], rdx
	movzx	edx, BYTE PTR -4[rbp]
	mov	BYTE PTR [rax], dl
.L15:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	backc, .-backc
	.globl	switch_input
	.type	switch_input, @function
switch_input:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR infile[rip]
	test	rax, rax
	je	.L18
	mov	rax, QWORD PTR infile[rip]
	jmp	.L19
.L18:
	mov	rax, QWORD PTR stdin[rip]
.L19:
	mov	QWORD PTR -16[rbp], rax
	lea	rax, buf[rip]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L20
.L23:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ungetc@PLT
	cmp	eax, -1
	jne	.L21
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, -1
	je	.L21
	mov	eax, 0
	jmp	.L22
.L21:
	add	QWORD PTR -24[rbp], 1
.L20:
	mov	rax, QWORD PTR bufptr[rip]
	cmp	QWORD PTR -24[rbp], rax
	jb	.L23
	lea	rax, buf[rip]
	mov	QWORD PTR bufptr[rip], rax
	mov	rax, QWORD PTR infile[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR infile[rip], rax
	mov	rax, QWORD PTR -8[rbp]
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	switch_input, .-switch_input
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"164473.c"
	.text
	.global	yylineno
	.data
	.align	2
	.type	yylineno, %object
	.size	yylineno, 4
yylineno:
	.word	1
	.local	buf
	.comm	buf,16,4
	.align	2
	.type	bufptr, %object
	.size	bufptr, 4
bufptr:
	.word	buf
	.local	infile
	.comm	infile,4,4
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nextc, %function
nextc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L6
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L6
	ldr	r3, [r3]
	b	.L3
.L2:
	ldr	r3, .L6+4
	ldr	r3, [r3]
.L3:
	str	r3, [fp, #-8]
	ldr	r3, .L6+8
	ldr	r3, [r3]
	ldr	r2, .L6+12
	cmp	r3, r2
	bls	.L4
	ldr	r3, .L6+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L6+8
	str	r3, [r2]
	ldr	r3, .L6+8
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L5
.L4:
	ldr	r0, [fp, #-8]
	bl	getc
	mov	r3, r0
	and	r3, r3, #255
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	infile
	.word	stdin
	.word	bufptr
	.word	buf
	.size	nextc, .-nextc
	.align	2
	.global	scanc
	.syntax unified
	.arm
	.fpu softvfp
	.type	scanc, %function
scanc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	nextc
	mov	r3, r0
	strb	r3, [fp, #-5]
	b	.L9
.L13:
	bl	nextc
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L10
	nop
.L11:
	bl	nextc
	mov	r3, r0
	cmp	r3, #42
	bne	.L11
	bl	nextc
	mov	r3, r0
	cmp	r3, #47
	bne	.L11
	bl	nextc
	mov	r3, r0
	strb	r3, [fp, #-5]
	b	.L9
.L10:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	backc
	mov	r3, #47
	b	.L12
.L9:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L13
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L14
	ldr	r3, .L15
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L15
	str	r3, [r2]
.L14:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	yylineno
	.size	scanc, .-scanc
	.section	.rodata
	.align	2
.LC0:
	.ascii	"backc(), no space in buffer left!\000"
	.text
	.align	2
	.global	backc
	.syntax unified
	.arm
	.fpu softvfp
	.type	backc, %function
backc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	strb	r3, [fp, #-8]
	ldr	r3, .L21
	ldr	r3, [r3]
	ldr	r2, .L21+4
	cmp	r3, r2
	bcc	.L18
	ldr	r0, .L21+8
	bl	error
	b	.L19
.L18:
	ldrb	r3, [fp, #-8]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L20
	ldr	r3, .L21+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L21+12
	str	r3, [r2]
.L20:
	ldr	r3, .L21
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L21
	str	r2, [r1]
	ldrb	r2, [fp, #-8]
	strb	r2, [r3]
.L19:
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	bufptr
	.word	buf+16
	.word	.LC0
	.word	yylineno
	.size	backc, .-backc
	.align	2
	.global	switch_input
	.syntax unified
	.arm
	.fpu softvfp
	.type	switch_input, %function
switch_input:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L30
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L30
	ldr	r3, [r3]
	b	.L25
.L24:
	ldr	r3, .L30+4
	ldr	r3, [r3]
.L25:
	str	r3, [fp, #-12]
	ldr	r3, .L30+8
	str	r3, [fp, #-16]
	b	.L26
.L29:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	ungetc
	mov	r3, r0
	cmn	r3, #1
	bne	.L27
	mov	r3, #0
	b	.L28
.L27:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L26:
	ldr	r3, .L30+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L29
	ldr	r3, .L30+12
	ldr	r2, .L30+8
	str	r2, [r3]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r2, .L30
	ldr	r3, [fp, #-24]
	str	r3, [r2]
	ldr	r3, [fp, #-8]
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	infile
	.word	stdin
	.word	buf
	.word	bufptr
	.size	switch_input, .-switch_input
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
