	.file	"742199.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\n1. \354\235\214\353\243\214 \355\214\220\353\247\244"
.LC1:
	.string	"2. \352\263\240\352\260\235 \352\264\200\353\246\254"
.LC2:
	.string	"3. \354\260\275\352\263\240 \352\264\200\353\246\254"
.LC3:
	.string	"4. \354\247\201\354\233\220 \352\264\200\353\246\254"
.LC4:
	.string	"5. \353\247\210\352\260\220 \354\262\230\353\246\254"
	.text
	.globl	print_main
	.type	print_main, @function
print_main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_main, .-print_main
	.section	.rodata
	.align 8
.LC5:
	.string	"\n\n-----------Welcome-----------"
.LC6:
	.string	"1. \354\225\204\353\251\224\353\246\254\354\271\264\353\205\270\t\t2500\354\233\220"
.LC7:
	.string	"2. \354\271\264\355\216\230\353\235\274\353\226\274\t\t3000\354\233\220"
.LC8:
	.string	"3. \353\260\224\353\213\220\353\235\274 \353\235\274\353\226\274\t\t3500\354\233\220"
.LC9:
	.string	"4. \354\271\264\355\221\270\354\271\230\353\205\270\t\t3500\354\233\220"
	.align 8
.LC10:
	.string	"5. \354\271\264\353\235\274\353\251\234 \353\247\210\353\201\274\354\225\274\353\230\220\t4000\354\233\220"
.LC11:
	.string	"6. \354\271\264\355\216\230\353\252\250\354\271\264\t\t4000\354\233\220"
.LC12:
	.string	"7. \354\230\244\353\212\230\354\235\230 \354\266\224\354\262\234 \354\235\214\353\243\214!"
	.align 8
.LC13:
	.string	"0. \353\202\230\352\260\200\354\213\234\353\240\244\353\251\264 0\354\235\204 \353\210\214\353\237\254\354\243\274\354\204\270\354\232\224"
.LC14:
	.string	"-----------------------------"
.LC15:
	.string	"\nSelect : "
	.text
	.globl	print_menu
	.type	print_menu, @function
print_menu:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_menu, .-print_menu
	.section	.rodata
.LC16:
	.string	"---------"
.LC17:
	.string	"1. \354\240\201\353\246\275"
.LC18:
	.string	"2. \354\213\240\352\267\234"
	.align 8
.LC19:
	.string	"\354\230\265\354\205\230\354\235\204 \354\204\240\355\203\235\355\225\264 \354\243\274\354\204\270\354\232\224 : "
	.text
	.globl	print_membership
	.type	print_membership, @function
print_membership:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print_membership, .-print_membership
	.section	.rodata
.LC20:
	.string	"----------"
.LC21:
	.string	"1. \354\213\240\352\267\234"
.LC22:
	.string	"2. \355\207\264\354\202\254"
.LC23:
	.string	"3. \354\266\234\353\240\245"
	.text
	.globl	print_staff_menu
	.type	print_staff_menu, @function
print_staff_menu:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC20[rip]
	call	puts@PLT
	lea	rdi, .LC21[rip]
	call	puts@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC20[rip]
	call	puts@PLT
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	print_staff_menu, .-print_staff_menu
	.section	.rodata
	.align 8
.LC24:
	.string	"\355\230\225\354\213\235\354\235\204 \354\204\240\355\203\235\355\225\230\354\204\270\354\232\224--> 1. \354\240\225\354\247\201\354\233\220 2. \354\225\214\353\260\224"
.LC25:
	.string	"option : "
.LC26:
	.string	"%d"
.LC27:
	.string	"\354\235\264\353\246\204 : "
.LC28:
	.string	"%s"
.LC29:
	.string	"\353\262\210\355\230\270 :"
.LC30:
	.string	"\354\236\205\354\202\254\354\235\274 : "
.LC31:
	.string	"\352\263\204\354\225\275 \354\233\224 \354\210\230 : "
	.text
	.globl	get_srecord
	.type	get_srecord, @function
get_srecord:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 120
	.cfi_offset 3, -24
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rdi, .LC24[rip]
	call	puts@PLT
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	add	rax, 29
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, 1
	je	.L6
	cmp	eax, 2
	je	.L7
	jmp	.L8
.L6:
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	add	rax, 56
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	jmp	.L8
.L7:
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	add	rax, 56
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	nop
.L8:
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -40[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR 80[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	mov	rax, QWORD PTR -120[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	get_srecord, .-get_srecord
	.section	.rodata
.LC32:
	.string	"\354\202\255\354\240\234\355\225\240 \354\247\201\354\233\220 \354\235\264\353\246\204 : "
.LC33:
	.string	"a+t"
.LC34:
	.string	"staff_tmp.txt"
.LC35:
	.string	"open error"
.LC36:
	.string	"%s %s %s\n"
.LC37:
	.string	"%s %s %d\n"
.LC38:
	.string	"%d %s %s %s\n"
.LC39:
	.string	"%d %s %s %d\n"
.LC40:
	.string	"staff.txt"
	.text
	.globl	cut_staff
	.type	cut_staff, @function
cut_staff:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	QWORD PTR -168[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -168[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rsi, .LC33[rip]
	lea	rdi, .LC34[rip]
	call	fopen@PLT
	mov	QWORD PTR -152[rbp], rax
	cmp	QWORD PTR -152[rbp], 0
	jne	.L13
	lea	rdi, .LC35[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, 1
	jne	.L14
	lea	rax, -144[rbp]
	lea	rsi, 56[rax]
	lea	rax, -144[rbp]
	lea	rcx, 29[rax]
	lea	rax, -144[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	r8, rsi
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, 2
	jne	.L15
	lea	rax, -144[rbp]
	lea	rsi, 56[rax]
	lea	rax, -144[rbp]
	lea	rcx, 29[rax]
	lea	rax, -144[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	r8, rsi
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
.L15:
	lea	rax, -48[rbp]
	lea	rdx, -144[rbp]
	add	rdx, 4
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L16
	jmp	.L13
.L16:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, 1
	jne	.L17
	mov	edx, DWORD PTR -144[rbp]
	lea	rax, -144[rbp]
	lea	rdi, 56[rax]
	lea	rax, -144[rbp]
	lea	rsi, 29[rax]
	lea	rax, -144[rbp]
	lea	rcx, 4[rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L13
.L17:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, 2
	jne	.L13
	mov	esi, DWORD PTR -88[rbp]
	mov	edx, DWORD PTR -144[rbp]
	lea	rax, -144[rbp]
	lea	rdi, 29[rax]
	lea	rax, -144[rbp]
	lea	rcx, 4[rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	r9d, esi
	mov	r8, rdi
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L13:
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L18
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC40[rip]
	call	remove@PLT
	lea	rsi, .LC40[rip]
	lea	rdi, .LC34[rip]
	call	rename@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	cut_staff, .-cut_staff
	.globl	add_srecord
	.type	add_srecord, @function
add_srecord:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -208[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	get_srecord
	mov	rax, QWORD PTR -208[rbp]
	mov	rdx, QWORD PTR -200[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR -192[rbp]
	mov	rdx, QWORD PTR -184[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR -176[rbp]
	mov	rdx, QWORD PTR -168[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, DWORD PTR -128[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, 1
	jne	.L21
	mov	edx, DWORD PTR -96[rbp]
	lea	rax, -96[rbp]
	lea	rdi, 56[rax]
	lea	rax, -96[rbp]
	lea	rsi, 29[rax]
	lea	rax, -96[rbp]
	lea	rcx, 4[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L24
.L21:
	mov	esi, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -96[rbp]
	lea	rax, -96[rbp]
	lea	rdi, 29[rax]
	lea	rax, -96[rbp]
	lea	rcx, 4[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	r9d, esi
	mov	r8, rdi
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L24:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	add_srecord, .-add_srecord
	.section	.rodata
.LC41:
	.string	"\354\235\264\353\246\204 : %s\n"
.LC42:
	.string	"\353\262\210\355\230\270 : %s\n"
.LC43:
	.string	"\354\236\205\354\202\254\354\235\274 : %s\n\n"
.LC44:
	.string	"\352\263\204\354\225\275 \354\233\224\354\210\230 : %d\n\n"
	.text
	.globl	print_srecord
	.type	print_srecord, @function
print_srecord:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rax, 20[rbp]
	mov	rsi, rax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, 45[rbp]
	mov	rsi, rax
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR 16[rbp]
	cmp	eax, 1
	jne	.L26
	lea	rax, 72[rbp]
	mov	rsi, rax
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L28
.L26:
	mov	eax, DWORD PTR 72[rbp]
	mov	esi, eax
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	print_srecord, .-print_srecord
	.globl	print_staff
	.type	print_staff, @function
print_staff:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 120
	.cfi_offset 3, -24
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L30
.L35:
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -120[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, 1
	jne	.L31
	lea	rax, -112[rbp]
	lea	rsi, 56[rax]
	lea	rax, -112[rbp]
	lea	rcx, 29[rax]
	lea	rax, -112[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	r8, rsi
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	jmp	.L32
.L31:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, 2
	jne	.L37
	lea	rax, -112[rbp]
	lea	rsi, 56[rax]
	lea	rax, -112[rbp]
	lea	rcx, 29[rax]
	lea	rax, -112[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	r8, rsi
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
.L32:
	sub	rsp, 8
	sub	rsp, 88
	mov	rax, rsp
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -40[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR 80[rax], edx
	call	print_srecord
	add	rsp, 96
.L30:
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L35
	jmp	.L34
.L37:
	nop
.L34:
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	print_staff, .-print_staff
	.section	.rodata
	.align 8
.LC45:
	.string	"\354\236\205\353\240\245\354\235\204 \354\234\204\355\225\234 \355\214\214\354\235\274\354\235\204 \354\227\264 \354\210\230 \354\227\206\354\212\265\353\213\210\353\213\244."
	.text
	.globl	main_staff
	.type	main_staff, @function
main_staff:
.LFB15:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	print_staff_menu
	lea	rsi, .LC33[rip]
	lea	rdi, .LC40[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L39
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 48
	mov	esi, 1
	lea	rdi, .LC45[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L39:
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 3
	je	.L40
	cmp	eax, 3
	jg	.L46
	cmp	eax, 1
	je	.L42
	cmp	eax, 2
	je	.L43
	jmp	.L46
.L42:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	add_srecord
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L44
.L43:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	cut_staff
	jmp	.L44
.L40:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	print_staff
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L44
.L46:
	nop
.L44:
	mov	edi, 10
	call	putchar@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	main_staff, .-main_staff
	.globl	update_total
	.type	update_total, @function
update_total:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	update_total, .-update_total
	.globl	check
	.type	check, @function
check:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 28[rax]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 5
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	sub	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR 28[rdx], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 28[rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	check, .-check
	.section	.rodata
	.align 8
.LC46:
	.string	"\n<<%s>> \354\236\220\353\217\231 \354\243\274\353\254\270 \354\231\204\353\243\214\n\n"
	.text
	.globl	sell_inven
	.type	sell_inven, @function
sell_inven:
.LFB18:
	.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	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	QWORD PTR -24[rbp], rcx
	mov	edx, DWORD PTR -16[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	check
	cmp	eax, 9
	jg	.L52
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 28[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	mov	rcx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	add	edx, 50
	mov	DWORD PTR 28[rax], edx
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC46[rip]
	mov	eax, 0
	call	printf@PLT
.L52:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	sell_inven, .-sell_inven
	.globl	idx
	.type	idx, @function
idx:
.LFB19:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L54
.L57:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	je	.L59
	add	DWORD PTR -4[rbp], 1
.L54:
	cmp	DWORD PTR -4[rbp], 5
	jle	.L57
	jmp	.L56
.L59:
	nop
.L56:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	idx, .-idx
	.section	.rodata
.LC47:
	.string	"\n\354\227\206\353\212\224 \353\251\224\353\211\264\354\236\205\353\213\210\353\213\244."
	.text
	.globl	check_sell
	.type	check_sell, @function
check_sell:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	js	.L61
	cmp	DWORD PTR -4[rbp], 5
	jle	.L62
.L61:
	lea	rdi, .LC47[rip]
	call	puts@PLT
	jmp	.L63
.L62:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 28[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 5
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	add	edx, 1
	mov	DWORD PTR 28[rax], edx
	nop
.L63:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	check_sell, .-check_sell
	.section	.rodata
.LC48:
	.string	"\354\225\204\353\251\224\353\246\254\354\271\264\353\205\270"
.LC49:
	.string	"\354\271\264\355\216\230\353\235\274\353\226\274"
.LC50:
	.string	"\353\260\224\353\213\220\353\235\274\353\235\274\353\226\274"
.LC51:
	.string	"\354\271\264\353\235\274\353\251\234\353\247\210\353\201\274\354\225\204\353\230\220"
.LC52:
	.string	"\354\271\264\355\221\270\354\271\230\353\205\270"
.LC53:
	.string	"\354\271\264\355\216\230\353\252\250\354\271\264"
	.text
	.globl	init_sell
	.type	init_sell, @function
init_sell:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC48[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC49[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC50[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC51[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC52[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC53[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -68[rbp], 0
	jmp	.L65
.L66:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	rax, QWORD PTR -64[rbp+rax*8]
	mov	edx, DWORD PTR -68[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 5
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, rcx
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	DWORD PTR 28[rax], 0
	add	DWORD PTR -68[rbp], 1
.L65:
	cmp	DWORD PTR -68[rbp], 5
	jle	.L66
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L67
	call	__stack_chk_fail@PLT
.L67:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	init_sell, .-init_sell
	.section	.rodata
	.align 8
.LC54:
	.string	"\354\230\244\353\212\230\354\235\230 \354\266\224\354\262\234 \354\235\214\353\243\214\353\212\224 <%d \353\262\210!>\n\n"
	.align 8
.LC55:
	.string	"\n\n\354\247\200\353\266\210\355\225\264\354\225\274 \353\220\240 \352\270\210\354\225\241 : %d\354\233\220\n\n"
	.text
	.globl	main_open
	.type	main_open, @function
main_open:
.LFB22:
	.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	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	init_sell
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
.L81:
	cmp	DWORD PTR -16[rbp], 1
	je	.L84
	mov	eax, 0
	call	print_menu
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 7
	ja	.L81
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L73[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L73[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L73:
	.long	.L80-.L73
	.long	.L79-.L73
	.long	.L78-.L73
	.long	.L77-.L73
	.long	.L76-.L73
	.long	.L75-.L73
	.long	.L74-.L73
	.long	.L72-.L73
	.text
.L79:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, idx[rip]
	lea	rsi, .LC48[rip]
	mov	rdi, rax
	call	check_sell
	lea	rcx, -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 2500
	mov	rsi, rcx
	mov	rdi, rax
	call	update_total
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, check[rip]
	mov	edx, 1
	mov	esi, 0
	mov	rdi, rax
	call	sell_inven
	jmp	.L71
.L78:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, idx[rip]
	lea	rsi, .LC49[rip]
	mov	rdi, rax
	call	check_sell
	lea	rcx, -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 3000
	mov	rsi, rcx
	mov	rdi, rax
	call	update_total
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, check[rip]
	mov	edx, 1
	mov	esi, 0
	mov	rdi, rax
	call	sell_inven
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, check[rip]
	mov	edx, 2
	mov	esi, 2
	mov	rdi, rax
	call	sell_inven
	jmp	.L71
.L77:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, idx[rip]
	lea	rsi, .LC50[rip]
	mov	rdi, rax
	call	check_sell
	lea	rcx, -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 3500
	mov	rsi, rcx
	mov	rdi, rax
	call	update_total
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, check[rip]
	mov	edx, 1
	mov	esi, 0
	mov	rdi, rax
	call	sell_inven
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, check[rip]
	mov	edx, 1
	mov	esi, 2
	mov	rdi, rax
	call	sell_inven
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, check[rip]
	mov	edx, 1
	mov	esi, 3
	mov	rdi, rax
	call	sell_inven
	jmp	.L71
.L76:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, idx[rip]
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	call	check_sell
	lea	rcx, -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 3500
	mov	rsi, rcx
	mov	rdi, rax
	call	update_total
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, check[rip]
	mov	edx, 1
	mov	esi, 0
	mov	rdi, rax
	call	sell_inven
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, check[rip]
	mov	edx, 1
	mov	esi, 2
	mov	rdi, rax
	call	sell_inven
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, check[rip]
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	sell_inven
	jmp	.L71
.L75:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, idx[rip]
	lea	rsi, .LC52[rip]
	mov	rdi, rax
	call	check_sell
	lea	rcx, -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 4000
	mov	rsi, rcx
	mov	rdi, rax
	call	update_total
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, check[rip]
	mov	edx, 1
	mov	esi, 0
	mov	rdi, rax
	call	sell_inven
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, check[rip]
	mov	edx, 2
	mov	esi, 2
	mov	rdi, rax
	call	sell_inven
	jmp	.L71
.L74:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, idx[rip]
	lea	rsi, .LC53[rip]
	mov	rdi, rax
	call	check_sell
	lea	rcx, -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 4000
	mov	rsi, rcx
	mov	rdi, rax
	call	update_total
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, check[rip]
	mov	edx, 1
	mov	esi, 0
	mov	rdi, rax
	call	sell_inven
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, check[rip]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	sell_inven
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, check[rip]
	mov	edx, 1
	mov	esi, 2
	mov	rdi, rax
	call	sell_inven
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, check[rip]
	mov	edx, 1
	mov	esi, 5
	mov	rdi, rax
	call	sell_inven
	jmp	.L71
.L72:
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 715827883
	shr	rax, 32
	mov	esi, edx
	sar	esi, 31
	mov	ecx, eax
	sub	ecx, esi
	mov	eax, ecx
	add	eax, eax
	add	eax, ecx
	add	eax, eax
	mov	ecx, edx
	sub	ecx, eax
	lea	eax, 1[rcx]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC54[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L71
.L80:
	mov	DWORD PTR -16[rbp], 1
	nop
.L71:
	jmp	.L81
.L84:
	nop
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC55[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L82
	call	__stack_chk_fail@PLT
.L82:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	main_open, .-main_open
	.section	.rodata
.LC56:
	.string	"\353\262\210\355\230\270 : "
	.text
	.globl	get_crecord
	.type	get_crecord, @function
get_crecord:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC56[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -80[rbp]
	add	rax, 25
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -28[rbp], 1
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -40[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L87
	call	__stack_chk_fail@PLT
.L87:
	mov	rax, QWORD PTR -88[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	get_crecord, .-get_crecord
	.section	.rodata
	.align 8
.LC57:
	.string	"\354\240\201\353\246\275\355\225\240 \354\240\204\355\231\224\353\262\210\355\230\270\353\245\274 \354\240\201\354\226\264\354\243\274\354\204\270\354\232\224 : "
.LC58:
	.string	"customer_tmp.dat"
	.align 8
.LC59:
	.string	"\355\214\214\354\235\274\354\235\204 \354\227\264 \354\210\230 \354\227\206\354\212\265\353\213\210\353\213\244."
.LC60:
	.string	"\355\225\264\353\213\271\353\262\210\355\230\270\353\241\234 \354\277\240\355\217\260\354\247\200\352\270\211!"
	.align 8
.LC61:
	.string	"\354\277\240\355\217\260\354\240\201\353\246\275 \354\231\204\353\243\214 (\355\230\204\354\236\254 \352\260\234\354\210\230:%d)\n"
	.align 8
.LC62:
	.string	"!!\354\236\230\353\252\273\353\220\234 \354\240\225\353\263\264\354\236\205\353\213\210\353\213\244!!.\n"
.LC63:
	.string	"customer.dat"
	.text
	.globl	get_stamp
	.type	get_stamp, @function
get_stamp:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -68[rbp], 0
	mov	edi, 56
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	lea	rdi, .LC57[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rsi, .LC33[rip]
	lea	rdi, .LC58[rip]
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L90
	lea	rdi, .LC59[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L94:
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 56
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 25[rax]
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L91
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 52[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	DWORD PTR 52[rax], edx
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 52[rax]
	cmp	eax, 10
	jne	.L92
	lea	rdi, .LC60[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	DWORD PTR 52[rax], 0
.L92:
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 52[rax]
	mov	esi, eax
	lea	rdi, .LC61[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -68[rbp], 1
	jmp	.L93
.L91:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 56
	mov	rdi, rax
	call	fwrite@PLT
.L90:
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L94
.L93:
	cmp	DWORD PTR -68[rbp], 0
	jne	.L95
	lea	rdi, .LC62[rip]
	call	puts@PLT
.L95:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rdi, .LC63[rip]
	call	remove@PLT
	lea	rsi, .LC63[rip]
	lea	rdi, .LC58[rip]
	call	rename@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L96
	call	__stack_chk_fail@PLT
.L96:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	get_stamp, .-get_stamp
	.globl	add_member
	.type	add_member, @function
add_member:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 104
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	edi, 56
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rbx, QWORD PTR -32[rbp]
	lea	rax, -112[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	get_crecord
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR [rbx], rax
	mov	QWORD PTR 8[rbx], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR 16[rbx], rax
	mov	QWORD PTR 24[rbx], rdx
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	QWORD PTR 32[rbx], rax
	mov	QWORD PTR 40[rbx], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR 48[rbx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 56
	mov	rdi, rax
	call	fwrite@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L98
	call	__stack_chk_fail@PLT
.L98:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	add_member, .-add_member
	.globl	main_membership
	.type	main_membership, @function
main_membership:
.LFB26:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC33[rip]
	lea	rdi, .LC63[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L100
	lea	rdi, .LC59[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L100:
	mov	eax, 0
	call	print_membership
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 1
	je	.L101
	cmp	eax, 2
	je	.L102
	jmp	.L104
.L101:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	get_stamp
	jmp	.L104
.L102:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	add_member
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
.L104:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L105
	call	__stack_chk_fail@PLT
.L105:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	main_membership, .-main_membership
	.section	.rodata
.LC64:
	.string	"inventory.txt"
.LC65:
	.string	"%s %d\n"
	.text
	.globl	get_inven
	.type	get_inven, @function
get_inven:
.LFB27:
	.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	QWORD PTR -24[rbp], rdi
	lea	rsi, .LC33[rip]
	lea	rdi, .LC64[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L107
	lea	rdi, .LC59[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L107:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L108
.L109:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdx, 28[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rsi, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC65[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -12[rbp], 1
.L108:
	cmp	DWORD PTR -12[rbp], 5
	jle	.L109
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	get_inven, .-get_inven
	.section	.rodata
	.align 8
.LC66:
	.string	"---------\354\260\275\352\263\240 \355\230\204\355\231\251----------"
.LC67:
	.string	"\nNUM : %d\n"
.LC68:
	.string	"Item name : %s\n"
.LC69:
	.string	"Count :\t%d\n\n"
.LC70:
	.string	"----------------------------"
	.text
	.globl	print_inven
	.type	print_inven, @function
print_inven:
.LFB28:
	.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	QWORD PTR -24[rbp], rdi
	lea	rdi, .LC66[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L111
.L112:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC67[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC68[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 28[rax]
	mov	esi, eax
	lea	rdi, .LC69[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L111:
	cmp	DWORD PTR -4[rbp], 5
	jle	.L112
	lea	rdi, .LC70[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	print_inven, .-print_inven
	.section	.rodata
.LC71:
	.string	"w+t"
	.text
	.globl	update_inven
	.type	update_inven, @function
update_inven:
.LFB29:
	.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	QWORD PTR -24[rbp], rdi
	lea	rsi, .LC71[rip]
	lea	rdi, .LC64[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L114
	lea	rdi, .LC59[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L114:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L115
.L116:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 28[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rsi, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC65[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L115:
	cmp	DWORD PTR -12[rbp], 5
	jle	.L116
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	update_inven, .-update_inven
	.section	.rodata
	.align 8
.LC72:
	.string	"----------\355\214\220\353\247\244 \354\247\200\355\221\234---------"
.LC73:
	.string	"%8s\t : %3d\354\236\224\n"
.LC74:
	.string	"----------------------------\n"
	.text
	.globl	print_selling
	.type	print_selling, @function
print_selling:
.LFB30:
	.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	QWORD PTR -24[rbp], rdi
	lea	rdi, .LC72[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L118
.L119:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 28[rax]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 5
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	mov	rcx, rdx
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC73[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L118:
	cmp	DWORD PTR -4[rbp], 5
	jle	.L119
	lea	rdi, .LC74[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	print_selling, .-print_selling
	.section	.rodata
.LC75:
	.string	"\n<\353\247\210\352\260\220\354\240\225\354\202\260\355\221\234>\n"
.LC76:
	.string	"-----------------"
.LC77:
	.string	"\354\230\244\353\212\230 \353\247\244\354\266\234 : %d\n"
	.text
	.globl	main_close
	.type	main_close, @function
main_close:
.LFB31:
	.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	lea	rdi, .LC75[rip]
	call	puts@PLT
	lea	rdi, .LC76[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC77[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC76[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	print_selling
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	print_inven
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	main_close, .-main_close
	.section	.rodata
.LC78:
	.string	"select option : "
	.text
	.globl	main
	.type	main, @function
main:
.LFB32:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -44[rbp], 0
	lea	rax, -44[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	edi, 192
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	edi, 192
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	get_inven
.L128:
	mov	eax, 0
	call	print_main
	lea	rdi, .LC78[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 1
	jne	.L122
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	main_open
	jmp	.L128
.L122:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 2
	jne	.L124
	mov	eax, 0
	call	main_membership
	jmp	.L128
.L124:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 3
	jne	.L125
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	print_inven
	jmp	.L128
.L125:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 4
	jne	.L126
	mov	eax, 0
	call	main_staff
	jmp	.L128
.L126:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	main_close
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	update_inven
	nop
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L130
	call	__stack_chk_fail@PLT
.L130:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.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	"742199.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\354\225\204\353\251\224\353\246\254\354\271\264\353"
	.ascii	"\205\270\000"
	.align	2
.LC1:
	.ascii	"\354\271\264\355\216\230\353\235\274\353\226\274\000"
	.align	2
.LC2:
	.ascii	"\353\260\224\353\213\220\353\235\274\353\235\274\353"
	.ascii	"\226\274\000"
	.align	2
.LC3:
	.ascii	"\354\271\264\353\235\274\353\251\234\353\247\210\353"
	.ascii	"\201\274\354\225\204\353\230\220\000"
	.align	2
.LC4:
	.ascii	"\354\271\264\355\221\270\354\271\230\353\205\270\000"
	.align	2
.LC5:
	.ascii	"\354\271\264\355\216\230\353\252\250\354\271\264\000"
	.text
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\0121. \354\235\214\353\243\214 \355\214\220\353\247"
	.ascii	"\244\000"
	.align	2
.LC8:
	.ascii	"2. \352\263\240\352\260\235 \352\264\200\353\246\254"
	.ascii	"\000"
	.align	2
.LC9:
	.ascii	"3. \354\260\275\352\263\240 \352\264\200\353\246\254"
	.ascii	"\000"
	.align	2
.LC10:
	.ascii	"4. \354\247\201\354\233\220 \352\264\200\353\246\254"
	.ascii	"\000"
	.align	2
.LC11:
	.ascii	"5. \353\247\210\352\260\220 \354\262\230\353\246\254"
	.ascii	"\000"
	.text
	.align	2
	.global	print_main
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_main, %function
print_main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	puts
	ldr	r0, .L2+4
	bl	puts
	ldr	r0, .L2+8
	bl	puts
	ldr	r0, .L2+12
	bl	puts
	ldr	r0, .L2+16
	bl	puts
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	print_main, .-print_main
	.section	.rodata
	.align	2
.LC12:
	.ascii	"\012\012-----------Welcome-----------\000"
	.align	2
.LC13:
	.ascii	"1. \354\225\204\353\251\224\353\246\254\354\271\264"
	.ascii	"\353\205\270\011\0112500\354\233\220\000"
	.align	2
.LC14:
	.ascii	"2. \354\271\264\355\216\230\353\235\274\353\226\274"
	.ascii	"\011\0113000\354\233\220\000"
	.align	2
.LC15:
	.ascii	"3. \353\260\224\353\213\220\353\235\274 \353\235\274"
	.ascii	"\353\226\274\011\0113500\354\233\220\000"
	.align	2
.LC16:
	.ascii	"4. \354\271\264\355\221\270\354\271\230\353\205\270"
	.ascii	"\011\0113500\354\233\220\000"
	.align	2
.LC17:
	.ascii	"5. \354\271\264\353\235\274\353\251\234 \353\247\210"
	.ascii	"\353\201\274\354\225\274\353\230\220\0114000\354\233"
	.ascii	"\220\000"
	.align	2
.LC18:
	.ascii	"6. \354\271\264\355\216\230\353\252\250\354\271\264"
	.ascii	"\011\0114000\354\233\220\000"
	.align	2
.LC19:
	.ascii	"7. \354\230\244\353\212\230\354\235\230 \354\266\224"
	.ascii	"\354\262\234 \354\235\214\353\243\214!\000"
	.align	2
.LC20:
	.ascii	"0. \353\202\230\352\260\200\354\213\234\353\240\244"
	.ascii	"\353\251\264 0\354\235\204 \353\210\214\353\237\254"
	.ascii	"\354\243\274\354\204\270\354\232\224\000"
	.align	2
.LC21:
	.ascii	"-----------------------------\000"
	.align	2
.LC22:
	.ascii	"\012Select : \000"
	.text
	.align	2
	.global	print_menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_menu, %function
print_menu:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L5
	bl	puts
	ldr	r0, .L5+4
	bl	puts
	ldr	r0, .L5+8
	bl	puts
	ldr	r0, .L5+12
	bl	puts
	ldr	r0, .L5+16
	bl	puts
	ldr	r0, .L5+20
	bl	puts
	ldr	r0, .L5+24
	bl	puts
	ldr	r0, .L5+28
	bl	puts
	ldr	r0, .L5+32
	bl	puts
	ldr	r0, .L5+36
	bl	puts
	ldr	r0, .L5+40
	bl	printf
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.size	print_menu, .-print_menu
	.section	.rodata
	.align	2
.LC23:
	.ascii	"---------\000"
	.align	2
.LC24:
	.ascii	"1. \354\240\201\353\246\275\000"
	.align	2
.LC25:
	.ascii	"2. \354\213\240\352\267\234\000"
	.align	2
.LC26:
	.ascii	"\354\230\265\354\205\230\354\235\204 \354\204\240\355"
	.ascii	"\203\235\355\225\264 \354\243\274\354\204\270\354\232"
	.ascii	"\224 : \000"
	.text
	.align	2
	.global	print_membership
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_membership, %function
print_membership:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L8
	bl	puts
	ldr	r0, .L8+4
	bl	puts
	ldr	r0, .L8+8
	bl	puts
	ldr	r0, .L8
	bl	puts
	ldr	r0, .L8+12
	bl	printf
	nop
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.size	print_membership, .-print_membership
	.section	.rodata
	.align	2
.LC27:
	.ascii	"----------\000"
	.align	2
.LC28:
	.ascii	"1. \354\213\240\352\267\234\000"
	.align	2
.LC29:
	.ascii	"2. \355\207\264\354\202\254\000"
	.align	2
.LC30:
	.ascii	"3. \354\266\234\353\240\245\000"
	.text
	.align	2
	.global	print_staff_menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_staff_menu, %function
print_staff_menu:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L11
	bl	puts
	ldr	r0, .L11+4
	bl	puts
	ldr	r0, .L11+8
	bl	puts
	ldr	r0, .L11+12
	bl	puts
	ldr	r0, .L11
	bl	puts
	ldr	r0, .L11+16
	bl	printf
	nop
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC26
	.size	print_staff_menu, .-print_staff_menu
	.section	.rodata
	.align	2
.LC31:
	.ascii	"\355\230\225\354\213\235\354\235\204 \354\204\240\355"
	.ascii	"\203\235\355\225\230\354\204\270\354\232\224--> 1. "
	.ascii	"\354\240\225\354\247\201\354\233\220 2. \354\225\214"
	.ascii	"\353\260\224\000"
	.align	2
.LC32:
	.ascii	"option : \000"
	.align	2
.LC33:
	.ascii	"%d\000"
	.align	2
.LC34:
	.ascii	"\354\235\264\353\246\204 : \000"
	.align	2
.LC35:
	.ascii	"%s\000"
	.align	2
.LC36:
	.ascii	"\353\262\210\355\230\270 :\000"
	.align	2
.LC37:
	.ascii	"\354\236\205\354\202\254\354\235\274 : \000"
	.align	2
.LC38:
	.ascii	"\352\263\204\354\225\275 \354\233\224 \354\210\230 "
	.ascii	": \000"
	.align	2
.LC39:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_srecord
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_srecord, %function
get_srecord:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-96]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L19+4
	bl	puts
	ldr	r0, .L19+8
	bl	printf
	sub	r3, fp, #92
	mov	r1, r3
	ldr	r0, .L19+12
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L19+16
	bl	printf
	sub	r3, fp, #92
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L19+20
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L19+24
	bl	printf
	sub	r3, fp, #92
	add	r3, r3, #29
	mov	r1, r3
	ldr	r0, .L19+20
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-92]
	cmp	r3, #1
	beq	.L14
	cmp	r3, #2
	beq	.L15
	b	.L16
.L14:
	ldr	r0, .L19+28
	bl	printf
	sub	r3, fp, #92
	add	r3, r3, #56
	mov	r1, r3
	ldr	r0, .L19+20
	bl	__isoc99_scanf
	bl	getchar
	b	.L16
.L15:
	ldr	r0, .L19+32
	bl	printf
	sub	r3, fp, #92
	add	r3, r3, #56
	mov	r1, r3
	ldr	r0, .L19+12
	bl	__isoc99_scanf
	bl	getchar
	nop
.L16:
	ldr	r3, [fp, #-96]
	mov	r0, r3
	sub	r3, fp, #92
	mov	r2, #84
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	ldr	r0, [fp, #-96]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC39
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.size	get_srecord, .-get_srecord
	.section	.rodata
	.align	2
.LC40:
	.ascii	"\354\202\255\354\240\234\355\225\240 \354\247\201\354"
	.ascii	"\233\220 \354\235\264\353\246\204 : \000"
	.align	2
.LC41:
	.ascii	"a+t\000"
	.align	2
.LC42:
	.ascii	"staff_tmp.txt\000"
	.align	2
.LC43:
	.ascii	"open error\000"
	.align	2
.LC44:
	.ascii	"%s %s %s\012\000"
	.align	2
.LC45:
	.ascii	"%s %s %d\012\000"
	.align	2
.LC46:
	.ascii	"%d %s %s %s\012\000"
	.align	2
.LC47:
	.ascii	"%d %s %s %d\012\000"
	.align	2
.LC48:
	.ascii	"staff.txt\000"
	.align	2
.LC49:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cut_staff
	.syntax unified
	.arm
	.fpu softvfp
	.type	cut_staff, %function
cut_staff:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	str	r0, [fp, #-128]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-128]
	bl	fseek
	ldr	r0, .L30+4
	bl	printf
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L30+8
	bl	__isoc99_scanf
	bl	getchar
	ldr	r1, .L30+12
	ldr	r0, .L30+16
	bl	fopen
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bne	.L23
	ldr	r0, .L30+20
	bl	puts
	mov	r0, #1
	bl	exit
.L28:
	sub	r3, fp, #120
	mov	r2, r3
	ldr	r1, .L30+24
	ldr	r0, [fp, #-128]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-120]
	cmp	r3, #1
	bne	.L24
	sub	r3, fp, #120
	add	r1, r3, #29
	sub	r3, fp, #120
	add	r2, r3, #4
	sub	r3, fp, #120
	add	r3, r3, #56
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L30+28
	ldr	r0, [fp, #-128]
	bl	__isoc99_fscanf
	b	.L25
.L24:
	ldr	r3, [fp, #-120]
	cmp	r3, #2
	bne	.L25
	sub	r3, fp, #120
	add	r1, r3, #29
	sub	r3, fp, #120
	add	r2, r3, #4
	sub	r3, fp, #120
	add	r3, r3, #56
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L30+32
	ldr	r0, [fp, #-128]
	bl	__isoc99_fscanf
.L25:
	sub	r2, fp, #36
	sub	r3, fp, #120
	add	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	b	.L23
.L26:
	ldr	r3, [fp, #-120]
	cmp	r3, #1
	bne	.L27
	ldr	r2, [fp, #-120]
	sub	r3, fp, #120
	add	r1, r3, #4
	sub	r3, fp, #120
	add	r3, r3, #56
	str	r3, [sp, #4]
	sub	r3, fp, #120
	add	r3, r3, #29
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L30+36
	ldr	r0, [fp, #-128]
	bl	fprintf
	b	.L23
.L27:
	ldr	r3, [fp, #-120]
	cmp	r3, #2
	bne	.L23
	ldr	r1, [fp, #-120]
	ldr	r3, [fp, #-64]
	sub	r2, fp, #120
	add	r2, r2, #4
	str	r3, [sp, #4]
	sub	r3, fp, #120
	add	r3, r3, #29
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	ldr	r1, .L30+40
	ldr	r0, [fp, #-128]
	bl	fprintf
.L23:
	ldr	r0, [fp, #-128]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	ldr	r0, [fp, #-124]
	bl	fclose
	ldr	r0, [fp, #-128]
	bl	fclose
	ldr	r0, .L30+44
	bl	remove
	ldr	r1, .L30+44
	ldr	r0, .L30+16
	bl	rename
	nop
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC49
	.word	.LC40
	.word	.LC35
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC33
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.size	cut_staff, .-cut_staff
	.section	.rodata
	.align	2
.LC50:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	add_srecord
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_srecord, %function
add_srecord:
	@ args = 0, pretend = 0, frame = 184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #192
	str	r0, [fp, #-96]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #188
	mov	r0, r3
	bl	get_srecord
	sub	r3, fp, #92
	sub	r1, fp, #188
	mov	r2, #84
	mov	r0, r3
	bl	memcpy
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-96]
	bl	fseek
	ldr	r3, [fp, #-92]
	cmp	r3, #1
	bne	.L33
	ldr	r2, [fp, #-92]
	sub	r3, fp, #92
	add	r1, r3, #4
	sub	r3, fp, #92
	add	r3, r3, #56
	str	r3, [sp, #4]
	sub	r3, fp, #92
	add	r3, r3, #29
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L37+4
	ldr	r0, [fp, #-96]
	bl	fprintf
	b	.L36
.L33:
	ldr	r1, [fp, #-92]
	ldr	r3, [fp, #-36]
	sub	r2, fp, #92
	add	r2, r2, #4
	str	r3, [sp, #4]
	sub	r3, fp, #92
	add	r3, r3, #29
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	ldr	r1, .L37+8
	ldr	r0, [fp, #-96]
	bl	fprintf
.L36:
	nop
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC50
	.word	.LC46
	.word	.LC47
	.size	add_srecord, .-add_srecord
	.section	.rodata
	.align	2
.LC51:
	.ascii	"\354\235\264\353\246\204 : %s\012\000"
	.align	2
.LC52:
	.ascii	"\353\262\210\355\230\270 : %s\012\000"
	.align	2
.LC53:
	.ascii	"\354\236\205\354\202\254\354\235\274 : %s\012\012\000"
	.align	2
.LC54:
	.ascii	"\352\263\204\354\225\275 \354\233\224\354\210\230 :"
	.ascii	" %d\012\012\000"
	.text
	.align	2
	.global	print_srecord
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_srecord, %function
print_srecord:
	@ args = 84, pretend = 16, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	add	r3, fp, #8
	mov	r1, r3
	ldr	r0, .L43
	bl	printf
	add	r3, fp, #33
	mov	r1, r3
	ldr	r0, .L43+4
	bl	printf
	ldr	r3, [fp, #4]
	cmp	r3, #1
	bne	.L40
	add	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L43+8
	bl	printf
	b	.L42
.L40:
	ldr	r3, [fp, #60]
	mov	r1, r3
	ldr	r0, .L43+12
	bl	printf
.L42:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L44:
	.align	2
.L43:
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.size	print_srecord, .-print_srecord
	.section	.rodata
	.align	2
.LC55:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_staff
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_staff, %function
print_staff:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	str	r0, [fp, #-96]
	ldr	r3, .L54
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-96]
	bl	fseek
	b	.L46
.L51:
	sub	r3, fp, #92
	mov	r2, r3
	ldr	r1, .L54+4
	ldr	r0, [fp, #-96]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-92]
	cmp	r3, #1
	bne	.L47
	sub	r3, fp, #92
	add	r1, r3, #29
	sub	r3, fp, #92
	add	r2, r3, #4
	sub	r3, fp, #92
	add	r3, r3, #56
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L54+8
	ldr	r0, [fp, #-96]
	bl	__isoc99_fscanf
	b	.L48
.L47:
	ldr	r3, [fp, #-92]
	cmp	r3, #2
	bne	.L53
	sub	r3, fp, #92
	add	r1, r3, #29
	sub	r3, fp, #92
	add	r2, r3, #4
	sub	r3, fp, #92
	add	r3, r3, #56
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L54+12
	ldr	r0, [fp, #-96]
	bl	__isoc99_fscanf
.L48:
	mov	r0, sp
	sub	r3, fp, #76
	mov	r2, #68
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #92
	ldm	r3, {r0, r1, r2, r3}
	bl	print_srecord
.L46:
	ldr	r0, [fp, #-96]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L51
	b	.L50
.L53:
	nop
.L50:
	nop
	ldr	r3, .L54
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L52
	bl	__stack_chk_fail
.L52:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC55
	.word	.LC33
	.word	.LC44
	.word	.LC45
	.size	print_staff, .-print_staff
	.section	.rodata
	.align	2
.LC56:
	.ascii	"\354\236\205\353\240\245\354\235\204 \354\234\204\355"
	.ascii	"\225\234 \355\214\214\354\235\274\354\235\204 \354\227"
	.ascii	"\264 \354\210\230 \354\227\206\354\212\265\353\213\210"
	.ascii	"\353\213\244.\000"
	.align	2
.LC57:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main_staff
	.syntax unified
	.arm
	.fpu softvfp
	.type	main_staff, %function
main_staff:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	print_staff_menu
	ldr	r1, .L65+4
	ldr	r0, .L65+8
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L57
	ldr	r3, .L65+12
	ldr	r3, [r3]
	mov	r2, #48
	mov	r1, #1
	ldr	r0, .L65+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L57:
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L65+20
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	beq	.L58
	cmp	r3, #3
	bgt	.L64
	cmp	r3, #1
	beq	.L60
	cmp	r3, #2
	beq	.L61
	b	.L64
.L60:
	ldr	r0, [fp, #-12]
	bl	add_srecord
	ldr	r0, [fp, #-12]
	bl	fclose
	b	.L62
.L61:
	ldr	r0, [fp, #-12]
	bl	cut_staff
	b	.L62
.L58:
	ldr	r0, [fp, #-12]
	bl	print_staff
	ldr	r0, [fp, #-12]
	bl	fclose
	b	.L62
.L64:
	nop
.L62:
	mov	r0, #10
	bl	putchar
	nop
	ldr	r3, .L65
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L63
	bl	__stack_chk_fail
.L63:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC57
	.word	.LC41
	.word	.LC48
	.word	stderr
	.word	.LC56
	.word	.LC33
	.size	main_staff, .-main_staff
	.align	2
	.global	update_total
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_total, %function
update_total:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	update_total, .-update_total
	.align	2
	.global	check
	.syntax unified
	.arm
	.fpu softvfp
	.type	check, %function
check:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r1, [r3, #28]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	sub	r2, r1, r2
	str	r2, [r3, #28]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3, #28]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	check, .-check
	.section	.rodata
	.align	2
.LC58:
	.ascii	"\012<<%s>> \354\236\220\353\217\231 \354\243\274\353"
	.ascii	"\254\270 \354\231\204\353\243\214\012\012\000"
	.text
	.align	2
	.global	sell_inven
	.syntax unified
	.arm
	.fpu softvfp
	.type	sell_inven, %function
sell_inven:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	check
	mov	r3, r0
	cmp	r3, #9
	bgt	.L72
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	add	r2, r2, #50
	str	r2, [r3, #28]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L73
	bl	printf
.L72:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L74:
	.align	2
.L73:
	.word	.LC58
	.size	sell_inven, .-sell_inven
	.align	2
	.global	idx
	.syntax unified
	.arm
	.fpu softvfp
	.type	idx, %function
idx:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L76
.L79:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L81
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L76:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	ble	.L79
	b	.L78
.L81:
	nop
.L78:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	idx, .-idx
	.section	.rodata
	.align	2
.LC59:
	.ascii	"\012\354\227\206\353\212\224 \353\251\224\353\211\264"
	.ascii	"\354\236\205\353\213\210\353\213\244.\000"
	.text
	.align	2
	.global	check_sell
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_sell, %function
check_sell:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	blx	r3
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L83
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	ble	.L84
.L83:
	ldr	r0, .L86
	bl	puts
	b	.L85
.L84:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #5
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	add	r2, r2, #1
	str	r2, [r3, #28]
	nop
.L85:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L87:
	.align	2
.L86:
	.word	.LC59
	.size	check_sell, .-check_sell
	.section	.rodata
	.align	2
.LC60:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.align	2
.LC61:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	init_sell
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_sell, %function
init_sell:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	ldr	r3, .L92
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L92+4
	sub	ip, fp, #32
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L89
.L90:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-28]
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #28]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L89:
	ldr	r3, [fp, #-36]
	cmp	r3, #5
	ble	.L90
	nop
	ldr	r3, .L92
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L91
	bl	__stack_chk_fail
.L91:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L93:
	.align	2
.L92:
	.word	.LC61
	.word	.LC60
	.size	init_sell, .-init_sell
	.section	.rodata
	.align	2
.LC62:
	.ascii	"\354\230\244\353\212\230\354\235\230 \354\266\224\354"
	.ascii	"\262\234 \354\235\214\353\243\214\353\212\224 <%d \353"
	.ascii	"\262\210!>\012\012\000"
	.align	2
.LC63:
	.ascii	"\012\012\354\247\200\353\266\210\355\225\264\354\225"
	.ascii	"\274 \353\220\240 \352\270\210\354\225\241 : %d\354"
	.ascii	"\233\220\012\012\000"
	.align	2
.LC64:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main_open
	.syntax unified
	.arm
	.fpu softvfp
	.type	main_open, %function
main_open:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L111
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-40]
	bl	init_sell
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
.L107:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	beq	.L110
	bl	print_menu
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L111+4
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-24]
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L107
.L99:
	.word	.L106
	.word	.L105
	.word	.L104
	.word	.L103
	.word	.L102
	.word	.L101
	.word	.L100
	.word	.L98
.L105:
	ldr	r2, .L111+8
	ldr	r1, .L111+12
	ldr	r0, [fp, #-40]
	bl	check_sell
	sub	r3, fp, #20
	ldr	r2, .L111+16
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	update_total
	ldr	r3, .L111+20
	mov	r2, #1
	mov	r1, #0
	ldr	r0, [fp, #-36]
	bl	sell_inven
	b	.L97
.L104:
	ldr	r2, .L111+8
	ldr	r1, .L111+24
	ldr	r0, [fp, #-40]
	bl	check_sell
	sub	r3, fp, #20
	ldr	r2, .L111+28
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	update_total
	ldr	r3, .L111+20
	mov	r2, #1
	mov	r1, #0
	ldr	r0, [fp, #-36]
	bl	sell_inven
	ldr	r3, .L111+20
	mov	r2, #2
	mov	r1, #2
	ldr	r0, [fp, #-36]
	bl	sell_inven
	b	.L97
.L103:
	ldr	r2, .L111+8
	ldr	r1, .L111+32
	ldr	r0, [fp, #-40]
	bl	check_sell
	sub	r3, fp, #20
	ldr	r2, .L111+36
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	update_total
	ldr	r3, .L111+20
	mov	r2, #1
	mov	r1, #0
	ldr	r0, [fp, #-36]
	bl	sell_inven
	ldr	r3, .L111+20
	mov	r2, #1
	mov	r1, #2
	ldr	r0, [fp, #-36]
	bl	sell_inven
	ldr	r3, .L111+20
	mov	r2, #1
	mov	r1, #3
	ldr	r0, [fp, #-36]
	bl	sell_inven
	b	.L97
.L102:
	ldr	r2, .L111+8
	ldr	r1, .L111+40
	ldr	r0, [fp, #-40]
	bl	check_sell
	sub	r3, fp, #20
	ldr	r2, .L111+36
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	update_total
	ldr	r3, .L111+20
	mov	r2, #1
	mov	r1, #0
	ldr	r0, [fp, #-36]
	bl	sell_inven
	ldr	r3, .L111+20
	mov	r2, #1
	mov	r1, #2
	ldr	r0, [fp, #-36]
	bl	sell_inven
	ldr	r3, .L111+20
	mov	r2, #1
	mov	r1, #4
	ldr	r0, [fp, #-36]
	bl	sell_inven
	b	.L97
.L101:
	ldr	r2, .L111+8
	ldr	r1, .L111+44
	ldr	r0, [fp, #-40]
	bl	check_sell
	sub	r3, fp, #20
	mov	r2, #4000
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	update_total
	ldr	r3, .L111+20
	mov	r2, #1
	mov	r1, #0
	ldr	r0, [fp, #-36]
	bl	sell_inven
	ldr	r3, .L111+20
	mov	r2, #2
	mov	r1, #2
	ldr	r0, [fp, #-36]
	bl	sell_inven
	b	.L97
.L100:
	ldr	r2, .L111+8
	ldr	r1, .L111+48
	ldr	r0, [fp, #-40]
	bl	check_sell
	sub	r3, fp, #20
	mov	r2, #4000
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	update_total
	ldr	r3, .L111+20
	mov	r2, #1
	mov	r1, #0
	ldr	r0, [fp, #-36]
	bl	sell_inven
	ldr	r3, .L111+20
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-36]
	bl	sell_inven
	ldr	r3, .L111+20
	mov	r2, #1
	mov	r1, #2
	ldr	r0, [fp, #-36]
	bl	sell_inven
	ldr	r3, .L111+20
	mov	r2, #1
	mov	r1, #5
	ldr	r0, [fp, #-36]
	bl	sell_inven
	b	.L97
.L98:
	bl	rand
	mov	r1, r0
	ldr	r3, .L111+52
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	add	r3, r2, #1
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, .L111+56
	bl	printf
	b	.L97
.L106:
	mov	r3, #1
	str	r3, [fp, #-16]
	nop
.L97:
	b	.L107
.L110:
	nop
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L111+60
	bl	printf
	nop
	ldr	r3, .L111
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L108
	bl	__stack_chk_fail
.L108:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L112:
	.align	2
.L111:
	.word	.LC64
	.word	.LC33
	.word	idx
	.word	.LC0
	.word	2500
	.word	check
	.word	.LC1
	.word	3000
	.word	.LC2
	.word	3500
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	715827883
	.word	.LC62
	.word	.LC63
	.size	main_open, .-main_open
	.section	.rodata
	.align	2
.LC65:
	.ascii	"\353\262\210\355\230\270 : \000"
	.align	2
.LC66:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_crecord
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_crecord, %function
get_crecord:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	ldr	r3, .L116
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L116+4
	bl	printf
	sub	r3, fp, #64
	mov	r1, r3
	ldr	r0, .L116+8
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L116+12
	bl	printf
	sub	r3, fp, #64
	add	r3, r3, #25
	mov	r1, r3
	ldr	r0, .L116+8
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-72]
	mov	lr, r3
	sub	ip, fp, #64
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
	ldr	r3, .L116
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L115
	bl	__stack_chk_fail
.L115:
	ldr	r0, [fp, #-72]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L117:
	.align	2
.L116:
	.word	.LC66
	.word	.LC34
	.word	.LC35
	.word	.LC65
	.size	get_crecord, .-get_crecord
	.section	.rodata
	.align	2
.LC67:
	.ascii	"\354\240\201\353\246\275\355\225\240 \354\240\204\355"
	.ascii	"\231\224\353\262\210\355\230\270\353\245\274 \354\240"
	.ascii	"\201\354\226\264\354\243\274\354\204\270\354\232\224"
	.ascii	" : \000"
	.align	2
.LC68:
	.ascii	"customer_tmp.dat\000"
	.align	2
.LC69:
	.ascii	"\355\214\214\354\235\274\354\235\204 \354\227\264 \354"
	.ascii	"\210\230 \354\227\206\354\212\265\353\213\210\353\213"
	.ascii	"\244.\000"
	.align	2
.LC70:
	.ascii	"\355\225\264\353\213\271\353\262\210\355\230\270\353"
	.ascii	"\241\234 \354\277\240\355\217\260\354\247\200\352\270"
	.ascii	"\211!\000"
	.align	2
.LC71:
	.ascii	"\354\277\240\355\217\260\354\240\201\353\246\275 \354"
	.ascii	"\231\204\353\243\214 (\355\230\204\354\236\254 \352"
	.ascii	"\260\234\354\210\230:%d)\012\000"
	.align	2
.LC72:
	.ascii	"!!\354\236\230\353\252\273\353\220\234 \354\240\225"
	.ascii	"\353\263\264\354\236\205\353\213\210\353\213\244!!."
	.ascii	"\012\000"
	.align	2
.LC73:
	.ascii	"customer.dat\000"
	.align	2
.LC74:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_stamp
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_stamp, %function
get_stamp:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	ldr	r3, .L127
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r0, #56
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-44]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-56]
	bl	fseek
	ldr	r0, .L127+4
	bl	printf
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L127+8
	bl	__isoc99_scanf
	bl	getchar
	ldr	r1, .L127+12
	ldr	r0, .L127+16
	bl	fopen
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L120
	ldr	r0, .L127+20
	bl	puts
	mov	r0, #1
	bl	exit
.L124:
	ldr	r3, [fp, #-56]
	mov	r2, #1
	mov	r1, #56
	ldr	r0, [fp, #-44]
	bl	fread
	ldr	r3, [fp, #-44]
	add	r3, r3, #25
	sub	r2, fp, #36
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L121
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #52]
	add	r2, r3, #1
	ldr	r3, [fp, #-44]
	str	r2, [r3, #52]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #52]
	cmp	r3, #10
	bne	.L122
	ldr	r0, .L127+24
	bl	puts
	ldr	r3, [fp, #-44]
	mov	r2, #0
	str	r2, [r3, #52]
.L122:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #52]
	mov	r1, r3
	ldr	r0, .L127+28
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-48]
	b	.L123
.L121:
	ldr	r3, [fp, #-40]
	mov	r2, #1
	mov	r1, #56
	ldr	r0, [fp, #-44]
	bl	fwrite
.L120:
	ldr	r0, [fp, #-56]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L124
.L123:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L125
	ldr	r0, .L127+32
	bl	puts
.L125:
	ldr	r0, [fp, #-40]
	bl	fclose
	ldr	r0, [fp, #-56]
	bl	fclose
	ldr	r0, [fp, #-44]
	bl	free
	ldr	r0, .L127+36
	bl	remove
	ldr	r1, .L127+36
	ldr	r0, .L127+16
	bl	rename
	nop
	ldr	r3, .L127
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L126
	bl	__stack_chk_fail
.L126:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L128:
	.align	2
.L127:
	.word	.LC74
	.word	.LC67
	.word	.LC35
	.word	.LC41
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.word	.LC72
	.word	.LC73
	.size	get_stamp, .-get_stamp
	.section	.rodata
	.align	2
.LC75:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	add_member
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_member, %function
add_member:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-24]
	ldr	r3, .L131
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r0, #56
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r4, [fp, #-20]
	sub	r3, fp, #84
	mov	r0, r3
	bl	get_crecord
	mov	lr, r4
	sub	ip, fp, #84
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	fseek
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #56
	ldr	r0, [fp, #-20]
	bl	fwrite
	nop
	ldr	r3, .L131
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L130
	bl	__stack_chk_fail
.L130:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L132:
	.align	2
.L131:
	.word	.LC75
	.size	add_member, .-add_member
	.section	.rodata
	.align	2
.LC76:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main_membership
	.syntax unified
	.arm
	.fpu softvfp
	.type	main_membership, %function
main_membership:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L140
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L140+4
	ldr	r0, .L140+8
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L134
	ldr	r0, .L140+12
	bl	puts
	mov	r0, #1
	bl	exit
.L134:
	bl	print_membership
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L140+16
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	beq	.L135
	cmp	r3, #2
	beq	.L136
	b	.L138
.L135:
	ldr	r0, [fp, #-12]
	bl	get_stamp
	b	.L138
.L136:
	ldr	r0, [fp, #-12]
	bl	add_member
	ldr	r0, [fp, #-12]
	bl	fclose
	nop
.L138:
	nop
	ldr	r3, .L140
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L139
	bl	__stack_chk_fail
.L139:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L141:
	.align	2
.L140:
	.word	.LC76
	.word	.LC41
	.word	.LC73
	.word	.LC69
	.word	.LC33
	.size	main_membership, .-main_membership
	.section	.rodata
	.align	2
.LC77:
	.ascii	"inventory.txt\000"
	.align	2
.LC78:
	.ascii	"%s %d\012\000"
	.text
	.align	2
	.global	get_inven
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_inven, %function
get_inven:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r1, .L146
	ldr	r0, .L146+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L143
	ldr	r0, .L146+8
	bl	puts
	mov	r0, #1
	bl	exit
.L143:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L144
.L145:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #28
	mov	r2, r1
	ldr	r1, .L146+12
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L144:
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	ble	.L145
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L147:
	.align	2
.L146:
	.word	.LC41
	.word	.LC77
	.word	.LC69
	.word	.LC78
	.size	get_inven, .-get_inven
	.section	.rodata
	.align	2
.LC79:
	.ascii	"---------\354\260\275\352\263\240 \355\230\204\355\231"
	.ascii	"\251----------\000"
	.align	2
.LC80:
	.ascii	"\012NUM : %d\012\000"
	.align	2
.LC81:
	.ascii	"Item name : %s\012\000"
	.align	2
.LC82:
	.ascii	"Count :\011%d\012\012\000"
	.align	2
.LC83:
	.ascii	"----------------------------\000"
	.text
	.align	2
	.global	print_inven
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_inven, %function
print_inven:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, .L151
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L149
.L150:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L151+4
	bl	printf
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L151+8
	bl	printf
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3, #28]
	mov	r1, r3
	ldr	r0, .L151+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L149:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	ble	.L150
	ldr	r0, .L151+16
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L152:
	.align	2
.L151:
	.word	.LC79
	.word	.LC80
	.word	.LC81
	.word	.LC82
	.word	.LC83
	.size	print_inven, .-print_inven
	.section	.rodata
	.align	2
.LC84:
	.ascii	"w+t\000"
	.text
	.align	2
	.global	update_inven
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_inven, %function
update_inven:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r1, .L157
	ldr	r0, .L157+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L154
	ldr	r0, .L157+8
	bl	puts
	mov	r0, #1
	bl	exit
.L154:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L155
.L156:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3, #28]
	mov	r2, r1
	ldr	r1, .L157+12
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L155:
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	ble	.L156
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L158:
	.align	2
.L157:
	.word	.LC84
	.word	.LC77
	.word	.LC69
	.word	.LC78
	.size	update_inven, .-update_inven
	.section	.rodata
	.align	2
.LC85:
	.ascii	"----------\355\214\220\353\247\244 \354\247\200\355"
	.ascii	"\221\234---------\000"
	.align	2
.LC86:
	.ascii	"%8s\011 : %3d\354\236\224\012\000"
	.align	2
.LC87:
	.ascii	"----------------------------\012\000"
	.text
	.align	2
	.global	print_selling
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_selling, %function
print_selling:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, .L162
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L160
.L161:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3, #28]
	mov	r2, r3
	ldr	r0, .L162+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L160:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	ble	.L161
	ldr	r0, .L162+8
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L163:
	.align	2
.L162:
	.word	.LC85
	.word	.LC86
	.word	.LC87
	.size	print_selling, .-print_selling
	.section	.rodata
	.align	2
.LC88:
	.ascii	"\012<\353\247\210\352\260\220\354\240\225\354\202\260"
	.ascii	"\355\221\234>\012\000"
	.align	2
.LC89:
	.ascii	"-----------------\000"
	.align	2
.LC90:
	.ascii	"\354\230\244\353\212\230 \353\247\244\354\266\234 :"
	.ascii	" %d\012\000"
	.text
	.align	2
	.global	main_close
	.syntax unified
	.arm
	.fpu softvfp
	.type	main_close, %function
main_close:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r0, .L165
	bl	puts
	ldr	r0, .L165+4
	bl	puts
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L165+8
	bl	printf
	ldr	r0, .L165+4
	bl	puts
	ldr	r0, [fp, #-16]
	bl	print_selling
	ldr	r0, [fp, #-12]
	bl	print_inven
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L166:
	.align	2
.L165:
	.word	.LC88
	.word	.LC89
	.word	.LC90
	.size	main_close, .-main_close
	.section	.rodata
	.align	2
.LC91:
	.ascii	"select option : \000"
	.align	2
.LC92:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L178
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	sub	r3, fp, #28
	str	r3, [fp, #-24]
	mov	r0, #192
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	mov	r0, #192
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	get_inven
.L174:
	bl	print_main
	ldr	r0, .L178+4
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L178+8
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L168
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	main_open
	b	.L174
.L168:
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	bne	.L170
	bl	main_membership
	b	.L174
.L170:
	ldr	r3, [fp, #-32]
	cmp	r3, #3
	bne	.L171
	ldr	r0, [fp, #-16]
	bl	print_inven
	b	.L174
.L171:
	ldr	r3, [fp, #-32]
	cmp	r3, #4
	bne	.L172
	bl	main_staff
	b	.L174
.L172:
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	main_close
	ldr	r0, [fp, #-16]
	bl	update_inven
	nop
	ldr	r0, [fp, #-20]
	bl	free
	ldr	r0, [fp, #-16]
	bl	free
	mov	r3, #0
	ldr	r2, .L178
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L176
	bl	__stack_chk_fail
.L176:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L179:
	.align	2
.L178:
	.word	.LC92
	.word	.LC91
	.word	.LC33
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
