	.file	"35018.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 32
.LC0:
	.string	"auto"
	.zero	5
	.string	"break"
	.zero	4
	.string	"case"
	.zero	5
	.string	"char"
	.zero	5
	.string	"const"
	.zero	4
	.string	"continue"
	.zero	1
	.string	"default"
	.zero	2
	.string	"do"
	.zero	7
	.string	"double"
	.zero	3
	.string	"else"
	.zero	5
	.string	"enum"
	.zero	5
	.string	"extern"
	.zero	3
	.string	"float"
	.zero	4
	.string	"for"
	.zero	6
	.string	"goto"
	.zero	5
	.string	"if"
	.zero	7
	.string	"int"
	.zero	6
	.string	"long"
	.zero	5
	.string	"register"
	.zero	1
	.string	"return"
	.zero	3
	.string	"short"
	.zero	4
	.string	"signed"
	.zero	3
	.string	"sizeof"
	.zero	3
	.string	"static"
	.zero	3
	.string	"struct"
	.zero	3
	.string	"switch"
	.zero	3
	.string	"typedef"
	.zero	2
	.string	"union"
	.zero	4
	.string	"unsigned"
	.zero	1
	.string	"void"
	.zero	5
	.string	"volatile"
	.zero	1
	.string	"while"
	.zero	4
	.text
	.globl	isKeyword
	.type	isKeyword, @function
isKeyword:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 368
	mov	QWORD PTR -360[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -336[rbp]
	lea	rdx, .LC0[rip]
	mov	ecx, 40
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	mov	DWORD PTR -340[rbp], 0
	mov	DWORD PTR -344[rbp], 0
	jmp	.L2
.L5:
	lea	rcx, -336[rbp]
	mov	eax, DWORD PTR -344[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -360[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	mov	DWORD PTR -340[rbp], 1
	jmp	.L4
.L3:
	add	DWORD PTR -344[rbp], 1
.L2:
	cmp	DWORD PTR -344[rbp], 31
	jle	.L5
.L4:
	mov	eax, DWORD PTR -340[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	isKeyword, .-isKeyword
	.section	.rodata
.LC1:
	.string	"r"
.LC2:
	.string	"program.txt"
.LC3:
	.string	"error while opening the file"
.LC4:
	.string	"%c is operator\n"
.LC5:
	.string	"%s is keyword\n"
.LC6:
	.string	"%s is indentifier\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -30[rbp], 791293227
	mov	WORD PTR -26[rbp], 15653
	mov	BYTE PTR -24[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L10
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L17:
	mov	DWORD PTR -48[rbp], 0
	jmp	.L11
.L13:
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	movzx	eax, BYTE PTR -30[rbp+rax]
	cmp	BYTE PTR -49[rbp], al
	jne	.L12
	movsx	eax, BYTE PTR -49[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	add	DWORD PTR -48[rbp], 1
.L11:
	cmp	DWORD PTR -48[rbp], 5
	jle	.L13
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -49[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	je	.L14
	mov	eax, DWORD PTR -44[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -44[rbp], edx
	cdqe
	movzx	edx, BYTE PTR -49[rbp]
	mov	BYTE PTR -23[rbp+rax], dl
	jmp	.L10
.L14:
	cmp	BYTE PTR -49[rbp], 32
	je	.L15
	cmp	BYTE PTR -49[rbp], 10
	jne	.L10
.L15:
	cmp	DWORD PTR -44[rbp], 0
	je	.L10
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	BYTE PTR -23[rbp+rax], 0
	mov	DWORD PTR -44[rbp], 0
	lea	rax, -23[rbp]
	mov	rdi, rax
	call	isKeyword
	cmp	eax, 1
	jne	.L16
	lea	rax, -23[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L16:
	lea	rax, -23[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -49[rbp], al
	cmp	BYTE PTR -49[rbp], -1
	jne	.L17
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.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	"35018.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"auto\000"
	.space	5
	.ascii	"break\000"
	.space	4
	.ascii	"case\000"
	.space	5
	.ascii	"char\000"
	.space	5
	.ascii	"const\000"
	.space	4
	.ascii	"continue\000"
	.space	1
	.ascii	"default\000"
	.space	2
	.ascii	"do\000"
	.space	7
	.ascii	"double\000"
	.space	3
	.ascii	"else\000"
	.space	5
	.ascii	"enum\000"
	.space	5
	.ascii	"extern\000"
	.space	3
	.ascii	"float\000"
	.space	4
	.ascii	"for\000"
	.space	6
	.ascii	"goto\000"
	.space	5
	.ascii	"if\000"
	.space	7
	.ascii	"int\000"
	.space	6
	.ascii	"long\000"
	.space	5
	.ascii	"register\000"
	.space	1
	.ascii	"return\000"
	.space	3
	.ascii	"short\000"
	.space	4
	.ascii	"signed\000"
	.space	3
	.ascii	"sizeof\000"
	.space	3
	.ascii	"static\000"
	.space	3
	.ascii	"struct\000"
	.space	3
	.ascii	"switch\000"
	.space	3
	.ascii	"typedef\000"
	.space	2
	.ascii	"union\000"
	.space	4
	.ascii	"unsigned\000"
	.space	1
	.ascii	"void\000"
	.space	5
	.ascii	"volatile\000"
	.space	1
	.ascii	"while\000"
	.space	4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	isKeyword
	.syntax unified
	.arm
	.fpu softvfp
	.type	isKeyword, %function
isKeyword:
	@ args = 0, pretend = 0, frame = 344
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #344
	str	r0, [fp, #-344]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L8+4
	sub	r3, fp, #328
	mov	r1, r2
	mov	r2, #320
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-332]
	mov	r3, #0
	str	r3, [fp, #-336]
	b	.L2
.L5:
	sub	r1, fp, #328
	ldr	r2, [fp, #-336]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldr	r1, [fp, #-344]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	mov	r3, #1
	str	r3, [fp, #-332]
	b	.L4
.L3:
	ldr	r3, [fp, #-336]
	add	r3, r3, #1
	str	r3, [fp, #-336]
.L2:
	ldr	r3, [fp, #-336]
	cmp	r3, #31
	ble	.L5
.L4:
	ldr	r3, [fp, #-332]
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	.LC0
	.size	isKeyword, .-isKeyword
	.section	.rodata
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"program.txt\000"
	.align	2
.LC5:
	.ascii	"error while opening the file\000"
	.align	2
.LC6:
	.ascii	"%c is operator\012\000"
	.align	2
.LC7:
	.ascii	"%s is keyword\012\000"
	.align	2
.LC8:
	.ascii	"%s is indentifier\012\000"
	.align	2
.LC2:
	.ascii	"+-*/%=\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L21+4
	sub	r3, fp, #32
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r1, #16
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r1, .L21+8
	ldr	r0, .L21+12
	bl	fopen
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L12
	ldr	r0, .L21+16
	bl	puts
	mov	r0, #0
	bl	exit
.L15:
	sub	r2, fp, #32
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-45]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L14
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L21+20
	bl	printf
.L14:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L13:
	ldr	r3, [fp, #-44]
	cmp	r3, #5
	ble	.L15
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r2, [fp, #-45]
	strb	r2, [r3, #-20]
	b	.L12
.L16:
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L17
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L12
.L17:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L12
	sub	r2, fp, #24
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-40]
	sub	r3, fp, #24
	mov	r0, r3
	bl	isKeyword
	mov	r3, r0
	cmp	r3, #1
	bne	.L18
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L21+24
	bl	printf
	b	.L12
.L18:
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L21+28
	bl	printf
.L12:
	ldr	r0, [fp, #-36]
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-45]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L13
.L22:
	.align	2
.L21:
	.word	.LC9
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
