	.file	"1250829.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"stateoutflow0708.txt"
.LC2:
	.string	"Open file failure!"
.LC3:
	.string	"%[^\n]"
.LC4:
	.string	"TOTAL"
.LC5:
	.string	"STATE"
.LC6:
	.string	"%-20s\t\t\t%-7s\n"
	.align 8
.LC7:
	.string	"-----------------------------------------------"
.LC8:
	.string	"\"25\""
.LC9:
	.string	"%-20s\t\t\t%-7ld\n"
	.align 8
.LC10:
	.string	"%s %*s %*s %*s %*s %s %*d %*d %ld"
.LC11:
	.string	"Total"
	.text
	.globl	main
	.type	main, @function
main:
.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, 1200
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -1200[rbp], 0
	mov	QWORD PTR -1192[rbp], 0
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -1184[rbp], rax
	cmp	QWORD PTR -1184[rbp], 0
	jne	.L2
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L2:
	lea	rdx, -1040[rbp]
	mov	rax, QWORD PTR -1184[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, .LC4[rip]
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L3
.L4:
	lea	rax, -1176[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	mov	rdx, QWORD PTR -1200[rbp]
	lea	rax, -1168[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -1200[rbp]
	add	QWORD PTR -1192[rbp], rax
.L3:
	lea	rsi, -1200[rbp]
	lea	rcx, -1168[rbp]
	lea	rdx, -1176[rbp]
	mov	rax, QWORD PTR -1184[rbp]
	mov	r8, rsi
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L4
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -1192[rbp]
	mov	rdx, rax
	lea	rsi, .LC11[rip]
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -1184[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"1250829.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"stateoutflow0708.txt\000"
	.align	2
.LC2:
	.ascii	"Open file failure!\000"
	.align	2
.LC3:
	.ascii	"%[^\012]\000"
	.align	2
.LC4:
	.ascii	"TOTAL\000"
	.align	2
.LC5:
	.ascii	"STATE\000"
	.align	2
.LC6:
	.ascii	"%-20s\011\011\011%-7s\012\000"
	.align	2
.LC7:
	.ascii	"-----------------------------------------------\000"
	.align	2
.LC8:
	.ascii	"\"25\"\000"
	.align	2
.LC9:
	.ascii	"%-20s\011\011\011%-7ld\012\000"
	.align	2
.LC10:
	.ascii	"%s %*s %*s %*s %*s %s %*d %*d %ld\000"
	.align	2
.LC11:
	.ascii	"Total\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1184
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1180]
	mov	r3, #0
	str	r3, [fp, #-1176]
	ldr	r1, .L7+4
	ldr	r0, .L7+8
	bl	fopen
	str	r0, [fp, #-1172]
	ldr	r3, [fp, #-1172]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L7+12
	bl	printf
	mvn	r0, #0
	bl	exit
.L2:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L7+16
	ldr	r0, [fp, #-1172]
	bl	__isoc99_fscanf
	ldr	r2, .L7+20
	ldr	r1, .L7+24
	ldr	r0, .L7+28
	bl	printf
	ldr	r0, .L7+32
	bl	puts
	b	.L3
.L4:
	sub	r3, fp, #1152
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L7+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r2, [fp, #-1180]
	sub	r3, fp, #1152
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L7+40
	bl	printf
	ldr	r3, [fp, #-1180]
	ldr	r2, [fp, #-1176]
	add	r3, r2, r3
	str	r3, [fp, #-1176]
.L3:
	sub	r1, fp, #1152
	sub	r1, r1, #4
	sub	r1, r1, #4
	sub	r2, fp, #1152
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r3, fp, #1168
	sub	r3, r3, #4
	sub	r3, r3, #8
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L7+44
	ldr	r0, [fp, #-1172]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L7+32
	bl	puts
	ldr	r2, [fp, #-1176]
	ldr	r1, .L7+48
	ldr	r0, .L7+40
	bl	printf
	ldr	r0, [fp, #-1172]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
