	.file	"1099.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Enter file name:"
.LC1:
	.string	"%[^\n]%*c"
.LC2:
	.string	"r"
.LC3:
	.string	"File not found"
.LC4:
	.string	"%s, "
	.text
	.globl	main
	.type	main, @function
main:
.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, 240
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -236[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -224[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -224[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -232[rbp], rax
	cmp	QWORD PTR -232[rbp], 0
	jne	.L2
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L10
.L2:
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -237[rbp], al
	jmp	.L4
.L9:
	cmp	BYTE PTR -237[rbp], 32
	je	.L5
	cmp	BYTE PTR -237[rbp], 59
	jne	.L6
.L5:
	mov	eax, DWORD PTR -236[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], 0
	mov	DWORD PTR -236[rbp], 0
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	isKeyword
	cmp	eax, 1
	jne	.L8
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L6:
	mov	eax, DWORD PTR -236[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -236[rbp], edx
	cdqe
	movzx	edx, BYTE PTR -237[rbp]
	mov	BYTE PTR -112[rbp+rax], dl
.L8:
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -237[rbp], al
.L4:
	cmp	BYTE PTR -237[rbp], -1
	jne	.L9
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L10:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC5:
	.string	"auto"
.LC6:
	.string	"default"
.LC7:
	.string	"signed"
.LC8:
	.string	"enum"
.LC9:
	.string	"extern"
.LC10:
	.string	"for"
.LC11:
	.string	"register"
.LC12:
	.string	"if"
.LC13:
	.string	"else"
.LC14:
	.string	"int"
.LC15:
	.string	"while"
.LC16:
	.string	"do"
.LC17:
	.string	"break"
.LC18:
	.string	"continue"
.LC19:
	.string	"double"
.LC20:
	.string	"float"
.LC21:
	.string	"return"
.LC22:
	.string	"char"
.LC23:
	.string	"case"
.LC24:
	.string	"const"
.LC25:
	.string	"sizeof"
.LC26:
	.string	"long"
.LC27:
	.string	"short"
.LC28:
	.string	"typedef"
.LC29:
	.string	"switch"
.LC30:
	.string	"unsigned"
.LC31:
	.string	"void"
.LC32:
	.string	"static"
.LC33:
	.string	"struct"
.LC34:
	.string	"goto"
.LC35:
	.string	"union"
.LC36:
	.string	"volatile"
	.text
	.globl	isKeyword
	.type	isKeyword, @function
isKeyword:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
.L13:
	mov	eax, 1
	jmp	.L15
.L14:
	mov	eax, 0
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	isKeyword, .-isKeyword
	.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	"1099.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter file name:\000"
	.align	2
.LC1:
	.ascii	"%[^\012]%*c\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"File not found\000"
	.align	2
.LC4:
	.ascii	"%s, \000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #216
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-216]
	ldr	r0, .L11+4
	bl	puts
	sub	r3, fp, #208
	mov	r1, r3
	ldr	r0, .L11+8
	bl	__isoc99_scanf
	sub	r3, fp, #208
	ldr	r1, .L11+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-212]
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L11+16
	bl	printf
	mov	r3, #0
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	b	.L10
.L2:
	ldr	r0, [fp, #-212]
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-217]
.L8:
	ldrb	r3, [fp, #-217]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L4
	ldrb	r3, [fp, #-217]	@ zero_extendqisi2
	cmp	r3, #59
	bne	.L5
.L4:
	sub	r2, fp, #108
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-216]
	sub	r3, fp, #108
	mov	r0, r3
	bl	isKeyword
	mov	r3, r0
	cmp	r3, #1
	bne	.L7
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L11+20
	bl	printf
	b	.L7
.L5:
	ldr	r3, [fp, #-216]
	add	r2, r3, #1
	str	r2, [fp, #-216]
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r2, [fp, #-217]
	strb	r2, [r3, #-104]
.L7:
	ldr	r0, [fp, #-212]
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-217]
	b	.L8
.L10:
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.section	.rodata
	.align	2
.LC6:
	.ascii	"auto\000"
	.align	2
.LC7:
	.ascii	"default\000"
	.align	2
.LC8:
	.ascii	"signed\000"
	.align	2
.LC9:
	.ascii	"enum\000"
	.align	2
.LC10:
	.ascii	"extern\000"
	.align	2
.LC11:
	.ascii	"for\000"
	.align	2
.LC12:
	.ascii	"register\000"
	.align	2
.LC13:
	.ascii	"if\000"
	.align	2
.LC14:
	.ascii	"else\000"
	.align	2
.LC15:
	.ascii	"int\000"
	.align	2
.LC16:
	.ascii	"while\000"
	.align	2
.LC17:
	.ascii	"do\000"
	.align	2
.LC18:
	.ascii	"break\000"
	.align	2
.LC19:
	.ascii	"continue\000"
	.align	2
.LC20:
	.ascii	"double\000"
	.align	2
.LC21:
	.ascii	"float\000"
	.align	2
.LC22:
	.ascii	"return\000"
	.align	2
.LC23:
	.ascii	"char\000"
	.align	2
.LC24:
	.ascii	"case\000"
	.align	2
.LC25:
	.ascii	"const\000"
	.align	2
.LC26:
	.ascii	"sizeof\000"
	.align	2
.LC27:
	.ascii	"long\000"
	.align	2
.LC28:
	.ascii	"short\000"
	.align	2
.LC29:
	.ascii	"typedef\000"
	.align	2
.LC30:
	.ascii	"switch\000"
	.align	2
.LC31:
	.ascii	"unsigned\000"
	.align	2
.LC32:
	.ascii	"void\000"
	.align	2
.LC33:
	.ascii	"static\000"
	.align	2
.LC34:
	.ascii	"struct\000"
	.align	2
.LC35:
	.ascii	"goto\000"
	.align	2
.LC36:
	.ascii	"union\000"
	.align	2
.LC37:
	.ascii	"volatile\000"
	.text
	.align	2
	.global	isKeyword
	.syntax unified
	.arm
	.fpu softvfp
	.type	isKeyword, %function
isKeyword:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r1, .L17
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+4
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+8
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+12
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+16
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+20
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+24
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+28
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+32
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+36
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+40
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+44
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+48
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+52
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+56
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+60
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+64
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+68
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+72
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+76
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+80
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+84
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+88
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+92
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+96
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+100
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+104
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+108
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+112
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+116
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+120
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L17+124
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
.L14:
	mov	r3, #1
	b	.L16
.L15:
	mov	r3, #0
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.size	isKeyword, .-isKeyword
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
