	.file	"826387.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\345\206\205\345\255\230\345\210\206\351\205\215\345\244\261\350\264\245"
.LC1:
	.string	"w"
.LC2:
	.string	"file.txt"
.LC3:
	.string	"\346\211\223\345\274\200\346\226\207\344\273\266\345\244\261\350\264\245"
.LC4:
	.string	"rb"
.LC5:
	.string	"\344\271\246\345\220\215: %s\n"
.LC6:
	.string	"\344\275\234\350\200\205: %s\n"
.LC7:
	.string	"\345\207\272\347\211\210\346\227\245\346\234\237: %d-%d-%d\n"
.LC8:
	.string	"\345\207\272\347\211\210\347\244\276: %s\n"
	.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, 32
	mov	edi, 312
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	edi, 312
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L2
	cmp	QWORD PTR -16[rbp], 0
	jne	.L3
.L2:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rax, QWORD PTR -24[rbp]
	movabs	rcx, -6708467174196725017
	mov	QWORD PTR [rax], rcx
	mov	WORD PTR 8[rax], 166
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 100
	movabs	rcx, -8437306315260716058
	mov	QWORD PTR [rax], rcx
	mov	WORD PTR 8[rax], 185
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 212
	movabs	rsi, -8654355313687490587
	movabs	rdi, 53661559910164410
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 200[rax], 2018
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 204[rax], 4
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 208[rax], 20
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L4
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 312
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC4[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L5
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 312
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 100
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR 208[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 204[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 200[rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 212
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	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	"826387.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\345\206\205\345\255\230\345\210\206\351\205\215\345"
	.ascii	"\244\261\350\264\245\000"
	.align	2
.LC1:
	.ascii	"\347\272\242\346\245\274\346\242\246\000"
	.align	2
.LC2:
	.ascii	"\346\233\271\351\233\252\350\212\271\000"
	.align	2
.LC3:
	.ascii	"\345\217\244\347\261\215\345\207\272\347\211\210\347"
	.ascii	"\244\276\000"
	.align	2
.LC4:
	.ascii	"w\000"
	.align	2
.LC5:
	.ascii	"file.txt\000"
	.align	2
.LC6:
	.ascii	"\346\211\223\345\274\200\346\226\207\344\273\266\345"
	.ascii	"\244\261\350\264\245\000"
	.align	2
.LC7:
	.ascii	"rb\000"
	.align	2
.LC8:
	.ascii	"\344\271\246\345\220\215: %s\012\000"
	.align	2
.LC9:
	.ascii	"\344\275\234\350\200\205: %s\012\000"
	.align	2
.LC10:
	.ascii	"\345\207\272\347\211\210\346\227\245\346\234\237: %"
	.ascii	"d-%d-%d\012\000"
	.align	2
.LC11:
	.ascii	"\345\207\272\347\211\210\347\244\276: %s\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r0, #312
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r0, #312
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L3
.L2:
	ldr	r0, .L7
	bl	puts
	mov	r0, #1
	bl	exit
.L3:
	ldr	r3, [fp, #-16]
	ldr	r2, .L7+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #10
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-16]
	add	r3, r3, #100
	ldr	r2, .L7+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #10
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-16]
	add	r3, r3, #212
	ldr	r2, .L7+12
	mov	r0, r3
	mov	r1, r2
	mov	r3, #16
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-16]
	ldr	r2, .L7+16
	str	r2, [r3, #200]
	ldr	r3, [fp, #-16]
	mov	r2, #4
	str	r2, [r3, #204]
	ldr	r3, [fp, #-16]
	mov	r2, #20
	str	r2, [r3, #208]
	ldr	r1, .L7+20
	ldr	r0, .L7+24
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L7+28
	bl	puts
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-8]
	mov	r2, #1
	mov	r1, #312
	ldr	r0, [fp, #-16]
	bl	fwrite
	ldr	r0, [fp, #-8]
	bl	fclose
	ldr	r1, .L7+32
	ldr	r0, .L7+24
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L7+28
	bl	puts
	mov	r0, #1
	bl	exit
.L5:
	ldr	r3, [fp, #-8]
	mov	r2, #1
	mov	r1, #312
	ldr	r0, [fp, #-12]
	bl	fread
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L7+36
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #100
	mov	r1, r3
	ldr	r0, .L7+40
	bl	printf
	ldr	r3, [fp, #-12]
	ldr	r1, [r3, #200]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #204]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #208]
	ldr	r0, .L7+44
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #212
	mov	r1, r3
	ldr	r0, .L7+48
	bl	printf
	ldr	r0, [fp, #-8]
	bl	fclose
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	2018
	.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
