	.file	"115329.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"w+"
.LC1:
	.string	"recoeds.dat"
.LC2:
	.string	"RECORD-%d"
.LC3:
	.string	"r+"
	.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -72[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -72[rbp]
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	lea	rdx, -48[rbp]
	lea	rcx, 4[rdx]
	mov	edx, eax
	lea	rsi, .LC2[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -48[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 28
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -72[rbp], 1
.L2:
	cmp	DWORD PTR -72[rbp], 99
	jle	.L3
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC3[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, 0
	mov	esi, 1204
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -48[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 28
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -48[rbp], 143
	mov	eax, DWORD PTR -48[rbp]
	lea	rdx, -48[rbp]
	lea	rcx, 4[rdx]
	mov	edx, eax
	lea	rsi, .LC2[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, 0
	mov	esi, 1204
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -48[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 28
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	esi, 2
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	mov	r9d, 0
	mov	r8d, eax
	mov	ecx, 1
	mov	edx, 3
	mov	esi, 2800
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 1204
	mov	DWORD PTR [rax], 243
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 1204
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -56[rbp]
	add	rdx, 1204
	lea	rcx, 4[rdx]
	mov	edx, eax
	lea	rsi, .LC2[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 1
	mov	esi, 2800
	mov	rdi, rax
	call	msync@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 2800
	mov	rdi, rax
	call	munmap@PLT
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 0
	call	exit@PLT
	.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	"115329.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"w+\000"
	.align	2
.LC1:
	.ascii	"recoeds.dat\000"
	.align	2
.LC2:
	.ascii	"RECORD-%d\000"
	.align	2
.LC3:
	.ascii	"r+\000"
	.align	2
.LC4:
	.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, #56
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L5+4
	ldr	r0, .L5+8
	bl	fopen
	str	r0, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L2
.L3:
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-36]
	sub	r3, fp, #36
	add	r3, r3, #4
	ldr	r2, [fp, #-52]
	ldr	r1, .L5+12
	mov	r0, r3
	bl	sprintf
	sub	r0, fp, #36
	ldr	r3, [fp, #-48]
	mov	r2, #1
	mov	r1, #28
	bl	fwrite
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L2:
	ldr	r3, [fp, #-52]
	cmp	r3, #99
	ble	.L3
	ldr	r0, [fp, #-48]
	bl	fclose
	ldr	r1, .L5+16
	ldr	r0, .L5+8
	bl	fopen
	str	r0, [fp, #-48]
	mov	r2, #0
	ldr	r1, .L5+20
	ldr	r0, [fp, #-48]
	bl	fseek
	sub	r0, fp, #36
	ldr	r3, [fp, #-48]
	mov	r2, #1
	mov	r1, #28
	bl	fread
	mov	r3, #143
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-36]
	sub	r3, fp, #36
	add	r3, r3, #4
	ldr	r1, .L5+12
	mov	r0, r3
	bl	sprintf
	mov	r2, #0
	ldr	r1, .L5+20
	ldr	r0, [fp, #-48]
	bl	fseek
	sub	r0, fp, #36
	ldr	r3, [fp, #-48]
	mov	r2, #1
	mov	r1, #28
	bl	fwrite
	ldr	r0, [fp, #-48]
	bl	fclose
	mov	r1, #2
	ldr	r0, .L5+8
	bl	open
	str	r0, [fp, #-44]
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-44]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #3
	mov	r1, #2800
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1200
	add	r3, r3, #4
	mov	r2, #243
	str	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1200
	add	r3, r3, #4
	add	r0, r3, #4
	ldr	r3, [fp, #-40]
	add	r3, r3, #1200
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L5+12
	bl	sprintf
	mov	r2, #1
	mov	r1, #2800
	ldr	r0, [fp, #-40]
	bl	msync
	mov	r1, #2800
	ldr	r0, [fp, #-40]
	bl	munmap
	ldr	r0, [fp, #-44]
	bl	close
	mov	r0, #0
	bl	exit
.L6:
	.align	2
.L5:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	1204
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
