	.file	"154130.c"
	.intel_syntax noprefix
	.text
	.globl	LUNAR
	.section	.rodata
	.type	LUNAR, @object
	.size	LUNAR, 7
LUNAR:
	.string	"1 luna"
	.globl	pretLUNAR
	.align 4
	.type	pretLUNAR, @object
	.size	pretLUNAR, 4
pretLUNAR:
	.long	800
	.globl	TRIMESTRIAL
	.type	TRIMESTRIAL, @object
	.size	TRIMESTRIAL, 7
TRIMESTRIAL:
	.string	"3 luni"
	.globl	pretTRIMESTRIAL
	.align 4
	.type	pretTRIMESTRIAL, @object
	.size	pretTRIMESTRIAL, 4
pretTRIMESTRIAL:
	.long	2000
	.globl	ANUAL
	.type	ANUAL, @object
	.size	ANUAL, 5
ANUAL:
	.string	"1 an"
	.globl	pretANUAL
	.align 4
	.type	pretANUAL, @object
	.size	pretANUAL, 4
pretANUAL:
	.long	6600
	.globl	nume_fisier
	.bss
	.align 16
	.type	nume_fisier, @object
	.size	nume_fisier, 20
nume_fisier:
	.zero	20
	.section	.rodata
	.align 8
.LC0:
	.string	"\t\t\t###########################################################################"
	.align 8
.LC1:
	.string	"\n\t\t\t############                                                   ############"
	.align 8
.LC2:
	.string	"\n\t\t\t############      Sistem gestiune clienti piscina in C         ############"
	.align 8
.LC3:
	.string	"\n\t\t\t###########################################################################"
	.align 8
.LC4:
	.string	"\n\t\t\t---------------------------------------------------------------------------"
	.text
	.globl	mesajInitial
	.type	mesajInitial, @function
mesajInitial:
.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]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	mesajInitial, .-mesajInitial
	.section	.rodata
	.align 8
.LC5:
	.string	"\n\t\t\tCum doriti sa denumiti fisierul (.dat): "
.LC6:
	.string	"wb"
	.align 8
.LC7:
	.string	"\n\t\t\tFisierul nu a putut fi creat!"
	.align 8
.LC8:
	.string	"\n\t\t\tFisierul %s a fost creat cu succes!\n"
	.text
	.globl	creare
	.type	creare, @function
creare:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, nume_fisier[rip]
	mov	eax, 0
	call	gets@PLT
	lea	rsi, .LC6[rip]
	lea	rdi, nume_fisier[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L3
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L4
.L3:
	lea	rsi, nume_fisier[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L4:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	creare, .-creare
	.section	.rodata
.LC9:
	.string	"rb+"
	.align 8
.LC10:
	.string	"\n\t\t\tFisierul nu a putut fi deschis !"
.LC11:
	.string	"\n\t\t\tCodul clientului: "
.LC12:
	.string	"%d"
.LC13:
	.string	"\n\t\t\tNume client:"
	.align 8
.LC14:
	.string	"\n\t\t\tTip abonament (Alege 1 pentru lunar | 2 pentru trimestrial | 3 pentru anual):"
.LC15:
	.string	"\n\t\t\tInstructor repartizat: "
	.text
	.globl	adaugare
	.type	adaugare, @function
adaugare:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -108[rbp], 0
	mov	rax, QWORD PTR -120[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	cmp	QWORD PTR -104[rbp], 0
	jne	.L6
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L14
.L6:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L8
.L12:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	lea	rax, -96[rbp]
	add	rax, 4
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -108[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -108[rbp]
	cmp	eax, 1
	jne	.L9
	mov	eax, DWORD PTR LUNAR[rip]
	mov	DWORD PTR -72[rbp], eax
	movzx	eax, WORD PTR LUNAR[rip+4]
	mov	WORD PTR -68[rbp], ax
	movzx	eax, BYTE PTR LUNAR[rip+6]
	mov	BYTE PTR -66[rbp], al
	mov	eax, 800
	mov	DWORD PTR -56[rbp], eax
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -108[rbp]
	cmp	eax, 2
	jne	.L11
	mov	eax, DWORD PTR TRIMESTRIAL[rip]
	mov	DWORD PTR -72[rbp], eax
	movzx	eax, WORD PTR TRIMESTRIAL[rip+4]
	mov	WORD PTR -68[rbp], ax
	movzx	eax, BYTE PTR TRIMESTRIAL[rip+6]
	mov	BYTE PTR -66[rbp], al
	mov	eax, 2000
	mov	DWORD PTR -56[rbp], eax
	jmp	.L10
.L11:
	mov	eax, DWORD PTR ANUAL[rip]
	mov	DWORD PTR -72[rbp], eax
	movzx	eax, BYTE PTR ANUAL[rip+4]
	mov	BYTE PTR -68[rbp], al
	mov	eax, 6600
	mov	DWORD PTR -56[rbp], eax
.L10:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	lea	rax, -96[rbp]
	add	rax, 44
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rax, -96[rbp]
	add	rax, 64
	movabs	rcx, 3611946412761376068
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 3420720
	mov	rdx, QWORD PTR -104[rbp]
	lea	rax, -96[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 84
	mov	rdi, rax
	call	fwrite@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L8:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L12
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L14:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	adaugare, .-adaugare
	.section	.rodata
	.align 8
.LC16:
	.string	"\n\t\t\tFisierul %s nu poate fi deschis"
.LC17:
	.string	"\n\t\t\tNume client: "
	.align 8
.LC18:
	.string	"\n\t\t\tCod client:%d Nume: %s \n\t\t\tPret abonament: %d Tip abonament: %s Instructor: %s \n\t\t\tData start abonament: %s\n"
.LC19:
	.string	"\n\t\t\tNoul instructor:"
	.align 8
.LC20:
	.string	"\n\t\t\tDatele au fost modificate cu success!"
.LC21:
	.string	"\n\t\t\tClientul nu a fost gasit."
	.text
	.globl	modificare_client_instructor
	.type	modificare_client_instructor, @function
modificare_client_instructor:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	QWORD PTR -152[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -136[rbp], 0
	jne	.L16
	mov	rax, QWORD PTR -152[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L26
.L16:
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	jmp	.L18
.L24:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -128[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 84
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -140[rbp], 0
	jmp	.L19
.L22:
	lea	rax, -128[rbp]
	lea	rdx, 4[rax]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	mov	DWORD PTR -140[rbp], 1
	mov	edx, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -128[rbp]
	lea	rcx, -128[rbp]
	lea	r8, 44[rcx]
	lea	rcx, -128[rbp]
	lea	rdi, 24[rcx]
	lea	rcx, -128[rbp]
	lea	rsi, 4[rcx]
	sub	rsp, 8
	lea	rcx, -128[rbp]
	add	rcx, 64
	push	rcx
	mov	r9, r8
	mov	r8, rdi
	mov	ecx, edx
	mov	rdx, rsi
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -128[rbp]
	add	rax, 44
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	ftell@PLT
	sub	rax, 84
	mov	rcx, rax
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -128[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 84
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L20
	lea	rdi, .LC20[rip]
	call	puts@PLT
.L20:
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -128[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 84
	mov	rdi, rax
	call	fread@PLT
.L19:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L21
	cmp	DWORD PTR -140[rbp], 0
	je	.L22
.L21:
	cmp	DWORD PTR -140[rbp], 0
	jne	.L23
	lea	rdi, .LC21[rip]
	call	puts@PLT
.L23:
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
.L18:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L24
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L26:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	modificare_client_instructor, .-modificare_client_instructor
	.section	.rodata
	.align 8
.LC22:
	.string	"\n\t\t\tFisierul %s nu a putut fi deschis"
	.align 8
.LC23:
	.string	"\n\t\t\tTip abonament| 1 luna | 3 luni | 1 an| :"
	.align 8
.LC24:
	.string	"\n\t\t\tClient %s cu abonament %s gasit.\n"
	.align 8
.LC25:
	.string	"\n\t\t\tNoul tip de abonament (Alege 1 pentru lunar | 2 pentru trimestrial | 3 pentru anual):"
	.align 8
.LC26:
	.string	"\n\t\t\tNu a fost gasit nici un client cu acest tip de abonament"
	.align 8
.LC27:
	.string	"\n\t\t\tTip abonament| 1 luna | 3 luni | 1 an|:"
	.text
	.globl	modificare_abonament_clienti
	.type	modificare_abonament_clienti, @function
modificare_abonament_clienti:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	QWORD PTR -152[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -136[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR -152[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L40
.L28:
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	jmp	.L30
.L38:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -128[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 84
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -140[rbp], 0
	jmp	.L31
.L36:
	lea	rax, -128[rbp]
	lea	rdx, 24[rax]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L32
	mov	DWORD PTR -140[rbp], 1
	lea	rax, -128[rbp]
	lea	rdx, 24[rax]
	lea	rax, -128[rbp]
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, 1
	jne	.L33
	mov	eax, DWORD PTR LUNAR[rip]
	mov	DWORD PTR -104[rbp], eax
	movzx	eax, WORD PTR LUNAR[rip+4]
	mov	WORD PTR -100[rbp], ax
	movzx	eax, BYTE PTR LUNAR[rip+6]
	mov	BYTE PTR -98[rbp], al
	mov	eax, 800
	mov	DWORD PTR -88[rbp], eax
	jmp	.L34
.L33:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, 2
	jne	.L35
	mov	eax, DWORD PTR TRIMESTRIAL[rip]
	mov	DWORD PTR -104[rbp], eax
	movzx	eax, WORD PTR TRIMESTRIAL[rip+4]
	mov	WORD PTR -100[rbp], ax
	movzx	eax, BYTE PTR TRIMESTRIAL[rip+6]
	mov	BYTE PTR -98[rbp], al
	mov	eax, 2000
	mov	DWORD PTR -88[rbp], eax
	jmp	.L34
.L35:
	mov	eax, DWORD PTR ANUAL[rip]
	mov	DWORD PTR -104[rbp], eax
	movzx	eax, BYTE PTR ANUAL[rip+4]
	mov	BYTE PTR -100[rbp], al
	mov	eax, 6600
	mov	DWORD PTR -88[rbp], eax
.L34:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	ftell@PLT
	sub	rax, 84
	mov	rcx, rax
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -128[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 84
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, 1
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L32
	lea	rdi, .LC20[rip]
	call	puts@PLT
.L32:
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -128[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 84
	mov	rdi, rax
	call	fread@PLT
.L31:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L36
	cmp	DWORD PTR -140[rbp], 0
	jne	.L37
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
.L37:
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
.L30:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L38
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L40:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	modificare_abonament_clienti, .-modificare_abonament_clienti
	.section	.rodata
.LC28:
	.string	"rb"
.LC29:
	.string	"temp.dat"
	.align 8
.LC30:
	.string	"\n\t\t\tFisierul temp.dat nu a putut fi creat!"
	.align 8
.LC31:
	.string	"\n\t\t\tIntroduceti codul clientului de sters:"
	.align 8
.LC32:
	.string	"\n\t\t\tClient sters cu succes.....\n"
	.align 8
.LC33:
	.string	"\n\t\t\tClientul cu codul %d nu exista"
	.text
	.globl	stergere_client
	.type	stergere_client, @function
stergere_client:
.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, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -116[rbp], 0
	mov	rax, QWORD PTR -136[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -112[rbp], rax
	cmp	QWORD PTR -112[rbp], 0
	jne	.L42
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
.L42:
	lea	rsi, .LC6[rip]
	lea	rdi, .LC29[rip]
	call	fopen@PLT
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	jne	.L43
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
.L43:
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L44
.L46:
	mov	edx, DWORD PTR -96[rbp]
	mov	eax, DWORD PTR -120[rbp]
	cmp	edx, eax
	je	.L45
	mov	rdx, QWORD PTR -104[rbp]
	lea	rax, -96[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 84
	mov	rdi, rax
	call	fwrite@PLT
	jmp	.L44
.L45:
	mov	DWORD PTR -116[rbp], 1
.L44:
	mov	rdx, QWORD PTR -112[rbp]
	lea	rax, -96[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 84
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L46
	cmp	DWORD PTR -116[rbp], 0
	je	.L47
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L48
.L47:
	mov	eax, DWORD PTR -120[rbp]
	mov	esi, eax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
.L48:
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	remove@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	call	rename@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L49
	call	__stack_chk_fail@PLT
.L49:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	stergere_client, .-stergere_client
	.section	.rodata
	.align 8
.LC34:
	.string	"\n\t\t\tCum doriti sa numiti raportul:"
.LC35:
	.string	"w"
	.align 8
.LC36:
	.string	"\n Nr. Cod Nume cLient \t\tTip abonament \t\tPret RON \t\tData \t\t Instructor\n"
	.align 8
.LC37:
	.string	"\n %-3d %-3d %-20s %-20s %-3d     %-16s %s"
	.align 8
.LC38:
	.string	"\n\t\t\tRaportul a fost creat cu succes!"
	.text
	.globl	raport_integral
	.type	raport_integral, @function
raport_integral:
.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, 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]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -144[rbp], rax
	cmp	QWORD PTR -144[rbp], 0
	jne	.L51
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L56
.L51:
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rax, -32[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rcx, rax
	mov	edx, 70
	mov	esi, 1
	lea	rdi, .LC36[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR -144[rbp]
	lea	rax, -128[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 84
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -148[rbp], 0
	jmp	.L53
.L54:
	mov	esi, DWORD PTR -88[rbp]
	mov	ecx, DWORD PTR -128[rbp]
	add	DWORD PTR -148[rbp], 1
	lea	rax, -128[rbp]
	lea	r9, 24[rax]
	lea	rax, -128[rbp]
	lea	r8, 4[rax]
	mov	edx, DWORD PTR -148[rbp]
	mov	rax, QWORD PTR -136[rbp]
	sub	rsp, 8
	lea	rdi, -128[rbp]
	add	rdi, 44
	push	rdi
	lea	rdi, -128[rbp]
	add	rdi, 64
	push	rdi
	push	rsi
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 32
	mov	rdx, QWORD PTR -144[rbp]
	lea	rax, -128[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 84
	mov	rdi, rax
	call	fread@PLT
.L53:
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L54
	lea	rdi, .LC38[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L56:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L55
	call	__stack_chk_fail@PLT
.L55:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	raport_integral, .-raport_integral
	.section	.rodata
	.align 8
.LC39:
	.string	"\n\t\t\tRaport clienti ce au instructor pe:"
	.align 8
.LC40:
	.string	"\n\t\t\tRaportul %s a fost creat cu succes!\n"
	.align 8
.LC41:
	.string	"\n\t\t\tNu exista client cu instructorul %s!"
	.text
	.globl	raport_partial
	.type	raport_partial, @function
raport_partial:
.LFB13:
	.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 -200[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -200[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], 0
	jne	.L58
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L68
.L58:
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	jmp	.L60
.L66:
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	rewind@PLT
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rax, -64[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	mov	rcx, rax
	mov	edx, 70
	mov	esi, 1
	lea	rdi, .LC36[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR -176[rbp]
	lea	rax, -160[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 84
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -180[rbp], 1
	jmp	.L61
.L63:
	lea	rax, -160[rbp]
	lea	rdx, 44[rax]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L62
	mov	ecx, DWORD PTR -120[rbp]
	mov	edx, DWORD PTR -160[rbp]
	mov	eax, DWORD PTR -180[rbp]
	lea	esi, 1[rax]
	mov	DWORD PTR -180[rbp], esi
	lea	rsi, -160[rbp]
	lea	r9, 24[rsi]
	lea	rsi, -160[rbp]
	lea	r8, 4[rsi]
	mov	rdi, QWORD PTR -168[rbp]
	sub	rsp, 8
	lea	rsi, -160[rbp]
	add	rsi, 44
	push	rsi
	lea	rsi, -160[rbp]
	add	rsi, 64
	push	rsi
	push	rcx
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC37[rip]
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 32
.L62:
	mov	rdx, QWORD PTR -176[rbp]
	lea	rax, -160[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 84
	mov	rdi, rax
	call	fread@PLT
.L61:
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L63
	cmp	DWORD PTR -180[rbp], 1
	jle	.L64
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L65
.L64:
	cmp	DWORD PTR -180[rbp], 1
	jne	.L65
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	remove@PLT
.L65:
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L60:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L66
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L68:
	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
.LFE13:
	.size	raport_partial, .-raport_partial
	.section	.rodata
	.align 8
.LC42:
	.string	"\n\t\t\tIntroduceti codul clientului dorit:"
	.align 8
.LC43:
	.string	"\n\t\t\tCod:%d Nume:%s Tip abonament:%s \n\n\t\t\tPret abonament:%d Data:%s Instructor:%s"
	.align 8
.LC44:
	.string	"\n\t\t\tNu exista clientul cu codul:%d!"
	.text
	.globl	raport_ecran
	.type	raport_ecran, @function
raport_ecran:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -120[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	jne	.L70
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L80
.L70:
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L72
.L78:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	rdx, QWORD PTR -104[rbp]
	lea	rax, -96[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 84
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -108[rbp], 0
	jmp	.L73
.L76:
	mov	edx, DWORD PTR -96[rbp]
	mov	eax, DWORD PTR -112[rbp]
	cmp	edx, eax
	jne	.L74
	mov	DWORD PTR -108[rbp], 1
	mov	edi, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -96[rbp]
	lea	rdx, -96[rbp]
	lea	r8, 64[rdx]
	lea	rdx, -96[rbp]
	lea	rcx, 24[rdx]
	lea	rdx, -96[rbp]
	add	rdx, 4
	sub	rsp, 8
	lea	rsi, -96[rbp]
	add	rsi, 44
	push	rsi
	mov	r9, r8
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
.L74:
	mov	rdx, QWORD PTR -104[rbp]
	lea	rax, -96[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 84
	mov	rdi, rax
	call	fread@PLT
.L73:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L75
	cmp	DWORD PTR -108[rbp], 0
	je	.L76
.L75:
	cmp	DWORD PTR -108[rbp], 0
	jne	.L77
	mov	eax, DWORD PTR -112[rbp]
	mov	esi, eax
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
.L77:
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L72:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L78
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L80:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L79
	call	__stack_chk_fail@PLT
.L79:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	raport_ecran, .-raport_ecran
	.section	.rodata
.LC45:
	.string	"\n"
.LC46:
	.string	"\n\n\n\t\t\t1.Creare fisier binar"
.LC47:
	.string	"\n\t\t\t2.Adaugare clienti"
	.align 8
.LC48:
	.string	"\n\t\t\t3.Modificarea instructorului repartizat unui client"
	.align 8
.LC49:
	.string	"\n\t\t\t4.Modificare abonamente grup clienti"
.LC50:
	.string	"\n\t\t\t5.Stergerea unui client"
	.align 8
.LC51:
	.string	"\n\t\t\t6.Raport fisier text clienti"
	.align 8
.LC52:
	.string	"\n\t\t\t7.Raport partial fisier text clienti (in functie de instructor)"
	.align 8
.LC53:
	.string	"\n\t\t\t8.Afisare client dupa codul de inregistrare"
.LC54:
	.string	"\n\t\t\t0.Iesire program"
.LC55:
	.string	"\n\n\t\t\tOptiune -->:"
.LC56:
	.string	"PAUSE"
	.align 8
.LC57:
	.string	"\n\n\n\t\t\t\tMultumesc, o zi buna!!!\n\n\n\n"
	.align 8
.LC58:
	.string	"\n\n\n\t\t\tAlegerea nu este valida!!! Reincercati..."
	.text
	.globl	meniu
	.type	meniu, @function
meniu:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
.L94:
	lea	rdi, .LC45[rip]
	call	puts@PLT
	mov	eax, 0
	call	mesajInitial
	lea	rdi, .LC46[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC47[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC48[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC50[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC51[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC52[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC53[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC54[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC55[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 8
	ja	.L82
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L84[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L84[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L84:
	.long	.L92-.L84
	.long	.L91-.L84
	.long	.L90-.L84
	.long	.L89-.L84
	.long	.L88-.L84
	.long	.L87-.L84
	.long	.L86-.L84
	.long	.L85-.L84
	.long	.L83-.L84
	.text
.L91:
	mov	eax, 0
	call	creare
	lea	rdi, .LC56[rip]
	call	system@PLT
	jmp	.L93
.L90:
	lea	rdi, nume_fisier[rip]
	call	adaugare
	lea	rdi, .LC56[rip]
	call	system@PLT
	jmp	.L93
.L89:
	lea	rdi, nume_fisier[rip]
	call	modificare_client_instructor
	lea	rdi, .LC56[rip]
	call	system@PLT
	jmp	.L93
.L88:
	lea	rdi, nume_fisier[rip]
	call	modificare_abonament_clienti
	lea	rdi, .LC56[rip]
	call	system@PLT
	jmp	.L93
.L87:
	lea	rdi, nume_fisier[rip]
	call	stergere_client
	lea	rdi, .LC56[rip]
	call	system@PLT
	jmp	.L93
.L86:
	lea	rdi, nume_fisier[rip]
	call	raport_integral
	lea	rdi, .LC56[rip]
	call	system@PLT
	jmp	.L93
.L85:
	lea	rdi, nume_fisier[rip]
	call	raport_partial
	lea	rdi, .LC56[rip]
	call	system@PLT
	jmp	.L93
.L83:
	lea	rdi, nume_fisier[rip]
	call	raport_ecran
	lea	rdi, .LC56[rip]
	call	system@PLT
	jmp	.L93
.L92:
	lea	rdi, .LC57[rip]
	call	puts@PLT
	jmp	.L93
.L82:
	lea	rdi, .LC58[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC56[rip]
	call	system@PLT
	nop
.L93:
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jne	.L94
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L95
	call	__stack_chk_fail@PLT
.L95:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	meniu, .-meniu
	.globl	main
	.type	main, @function
main:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	meniu
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.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	"154130.c"
	.text
	.global	LUNAR
	.section	.rodata
	.align	2
	.type	LUNAR, %object
	.size	LUNAR, 7
LUNAR:
	.ascii	"1 luna\000"
	.global	pretLUNAR
	.align	2
	.type	pretLUNAR, %object
	.size	pretLUNAR, 4
pretLUNAR:
	.word	800
	.global	TRIMESTRIAL
	.align	2
	.type	TRIMESTRIAL, %object
	.size	TRIMESTRIAL, 7
TRIMESTRIAL:
	.ascii	"3 luni\000"
	.global	pretTRIMESTRIAL
	.align	2
	.type	pretTRIMESTRIAL, %object
	.size	pretTRIMESTRIAL, 4
pretTRIMESTRIAL:
	.word	2000
	.global	ANUAL
	.align	2
	.type	ANUAL, %object
	.size	ANUAL, 5
ANUAL:
	.ascii	"1 an\000"
	.global	pretANUAL
	.align	2
	.type	pretANUAL, %object
	.size	pretANUAL, 4
pretANUAL:
	.word	6600
	.comm	nume_fisier,20,4
	.align	2
.LC0:
	.ascii	"\011\011\011#######################################"
	.ascii	"####################################\000"
	.align	2
.LC1:
	.ascii	"\012\011\011\011############                       "
	.ascii	"                            ############\000"
	.align	2
.LC2:
	.ascii	"\012\011\011\011############      Sistem gestiune c"
	.ascii	"lienti piscina in C         ############\000"
	.align	2
.LC3:
	.ascii	"\012\011\011\011###################################"
	.ascii	"########################################\000"
	.align	2
.LC4:
	.ascii	"\012\011\011\011-----------------------------------"
	.ascii	"----------------------------------------\000"
	.text
	.align	2
	.global	mesajInitial
	.syntax unified
	.arm
	.fpu softvfp
	.type	mesajInitial, %function
mesajInitial:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	printf
	ldr	r0, .L2+4
	bl	printf
	ldr	r0, .L2+8
	bl	printf
	ldr	r0, .L2+4
	bl	printf
	ldr	r0, .L2+12
	bl	printf
	ldr	r0, .L2+16
	bl	puts
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	mesajInitial, .-mesajInitial
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\012\011\011\011Cum doriti sa denumiti fisierul (.d"
	.ascii	"at): \000"
	.align	2
.LC6:
	.ascii	"wb\000"
	.align	2
.LC7:
	.ascii	"\012\011\011\011Fisierul nu a putut fi creat!\000"
	.align	2
.LC8:
	.ascii	"\012\011\011\011Fisierul %s a fost creat cu succes!"
	.ascii	"\012\000"
	.text
	.align	2
	.global	creare
	.syntax unified
	.arm
	.fpu softvfp
	.type	creare, %function
creare:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L7
	bl	printf
	ldr	r0, .L7+4
	bl	gets
	ldr	r1, .L7+8
	ldr	r0, .L7+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L7+12
	bl	puts
	b	.L6
.L5:
	ldr	r1, .L7+4
	ldr	r0, .L7+16
	bl	printf
.L6:
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC5
	.word	nume_fisier
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	creare, .-creare
	.section	.rodata
	.align	2
.LC9:
	.ascii	"rb+\000"
	.align	2
.LC10:
	.ascii	"\012\011\011\011Fisierul nu a putut fi deschis !\000"
	.align	2
.LC11:
	.ascii	"\012\011\011\011Codul clientului: \000"
	.align	2
.LC12:
	.ascii	"%d\000"
	.align	2
.LC13:
	.ascii	"\012\011\011\011Nume client:\000"
	.align	2
.LC14:
	.ascii	"\012\011\011\011Tip abonament (Alege 1 pentru lunar"
	.ascii	" | 2 pentru trimestrial | 3 pentru anual):\000"
	.align	2
.LC15:
	.ascii	"\012\011\011\011Instructor repartizat: \000"
	.align	2
.LC16:
	.ascii	"Dec  6 2024\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	adaugare
	.syntax unified
	.arm
	.fpu softvfp
	.type	adaugare, %function
adaugare:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-104]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-100]
	ldr	r1, .L19+4
	ldr	r0, [fp, #-104]
	bl	fopen
	str	r0, [fp, #-96]
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-96]
	bl	fseek
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L19+8
	bl	printf
	b	.L18
.L10:
	ldr	r0, .L19+12
	bl	printf
	sub	r3, fp, #92
	mov	r1, r3
	ldr	r0, .L19+16
	bl	__isoc99_scanf
	b	.L12
.L16:
	ldr	r0, .L19+20
	bl	printf
	bl	getchar
	sub	r3, fp, #92
	add	r3, r3, #4
	mov	r0, r3
	bl	gets
	ldr	r0, .L19+24
	bl	printf
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, .L19+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-100]
	cmp	r3, #1
	bne	.L13
	ldr	r2, .L19+28
	sub	r3, fp, #68
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r1, #16
	strb	r2, [r3]
	mov	r3, #800
	str	r3, [fp, #-52]
	b	.L14
.L13:
	ldr	r3, [fp, #-100]
	cmp	r3, #2
	bne	.L15
	ldr	r2, .L19+32
	sub	r3, fp, #68
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r1, #16
	strb	r2, [r3]
	mov	r3, #2000
	str	r3, [fp, #-52]
	b	.L14
.L15:
	ldr	r2, .L19+36
	sub	r3, fp, #68
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strb	r1, [r3]
	ldr	r3, .L19+40
	str	r3, [fp, #-52]
.L14:
	ldr	r0, .L19+44
	bl	printf
	bl	getchar
	sub	r3, fp, #92
	add	r3, r3, #44
	mov	r0, r3
	bl	gets
	sub	r3, fp, #92
	add	r3, r3, #64
	ldr	r2, .L19+48
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	sub	r0, fp, #92
	ldr	r3, [fp, #-96]
	mov	r2, #1
	mov	r1, #84
	bl	fwrite
	ldr	r0, .L19+12
	bl	printf
	sub	r3, fp, #92
	mov	r1, r3
	ldr	r0, .L19+16
	bl	__isoc99_scanf
.L12:
	ldr	r3, .L19+52
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r0, [fp, #-96]
	bl	fclose
.L18:
	nop
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC17
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	LUNAR
	.word	TRIMESTRIAL
	.word	ANUAL
	.word	6600
	.word	.LC15
	.word	.LC16
	.word	stdin
	.size	adaugare, .-adaugare
	.section	.rodata
	.align	2
.LC18:
	.ascii	"\012\011\011\011Fisierul %s nu poate fi deschis\000"
	.align	2
.LC19:
	.ascii	"\012\011\011\011Nume client: \000"
	.align	2
.LC20:
	.ascii	"\012\011\011\011Cod client:%d Nume: %s \012\011\011"
	.ascii	"\011Pret abonament: %d Tip abonament: %s Instructor"
	.ascii	": %s \012\011\011\011Data start abonament: %s\012\000"
	.align	2
.LC21:
	.ascii	"\012\011\011\011Noul instructor:\000"
	.align	2
.LC22:
	.ascii	"\012\011\011\011Datele au fost modificate cu succes"
	.ascii	"s!\000"
	.align	2
.LC23:
	.ascii	"\012\011\011\011Clientul nu a fost gasit.\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	modificare_client_instructor
	.syntax unified
	.arm
	.fpu softvfp
	.type	modificare_client_instructor, %function
modificare_client_instructor:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	str	r0, [fp, #-128]
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L33+4
	ldr	r0, [fp, #-128]
	bl	fopen
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bne	.L22
	ldr	r1, [fp, #-128]
	ldr	r0, .L33+8
	bl	printf
	b	.L32
.L22:
	ldr	r0, .L33+12
	bl	printf
	sub	r3, fp, #28
	mov	r0, r3
	bl	gets
	b	.L24
.L30:
	ldr	r0, [fp, #-116]
	bl	rewind
	sub	r0, fp, #112
	ldr	r3, [fp, #-116]
	mov	r2, #1
	mov	r1, #84
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L25
.L28:
	sub	r3, fp, #112
	add	r2, r3, #4
	sub	r3, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	mov	r3, #1
	str	r3, [fp, #-120]
	ldr	r1, [fp, #-112]
	ldr	r0, [fp, #-72]
	sub	r3, fp, #112
	add	r2, r3, #4
	sub	r3, fp, #112
	add	r3, r3, #64
	str	r3, [sp, #8]
	sub	r3, fp, #112
	add	r3, r3, #44
	str	r3, [sp, #4]
	sub	r3, fp, #112
	add	r3, r3, #24
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L33+16
	bl	printf
	ldr	r0, .L33+20
	bl	printf
	sub	r3, fp, #112
	add	r3, r3, #44
	mov	r0, r3
	bl	gets
	ldr	r0, [fp, #-116]
	bl	ftell
	mov	r3, r0
	sub	r3, r3, #84
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-116]
	bl	fseek
	sub	r0, fp, #112
	ldr	r3, [fp, #-116]
	mov	r2, #1
	mov	r1, #84
	bl	fwrite
	ldr	r3, .L33+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	ldr	r0, .L33+28
	bl	puts
.L26:
	sub	r0, fp, #112
	ldr	r3, [fp, #-116]
	mov	r2, #1
	mov	r1, #84
	bl	fread
.L25:
	ldr	r0, [fp, #-116]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	beq	.L28
.L27:
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L29
	ldr	r0, .L33+32
	bl	puts
.L29:
	ldr	r0, .L33+12
	bl	printf
	sub	r3, fp, #28
	mov	r0, r3
	bl	gets
.L24:
	ldr	r3, .L33+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	ldr	r0, [fp, #-116]
	bl	fclose
.L32:
	nop
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC24
	.word	.LC9
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	stdin
	.word	.LC22
	.word	.LC23
	.size	modificare_client_instructor, .-modificare_client_instructor
	.section	.rodata
	.align	2
.LC25:
	.ascii	"\012\011\011\011Fisierul %s nu a putut fi deschis\000"
	.align	2
.LC26:
	.ascii	"\012\011\011\011Tip abonament| 1 luna | 3 luni | 1 "
	.ascii	"an| :\000"
	.align	2
.LC27:
	.ascii	"\012\011\011\011Client %s cu abonament %s gasit.\012"
	.ascii	"\000"
	.align	2
.LC28:
	.ascii	"\012\011\011\011Noul tip de abonament (Alege 1 pent"
	.ascii	"ru lunar | 2 pentru trimestrial | 3 pentru anual):\000"
	.align	2
.LC29:
	.ascii	"\012\011\011\011Nu a fost gasit nici un client cu a"
	.ascii	"cest tip de abonament\000"
	.align	2
.LC30:
	.ascii	"\012\011\011\011Tip abonament| 1 luna | 3 luni | 1 "
	.ascii	"an|:\000"
	.align	2
.LC31:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	modificare_abonament_clienti
	.syntax unified
	.arm
	.fpu softvfp
	.type	modificare_abonament_clienti, %function
modificare_abonament_clienti:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-128]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L49+4
	ldr	r0, [fp, #-128]
	bl	fopen
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bne	.L36
	ldr	r1, [fp, #-128]
	ldr	r0, .L49+8
	bl	printf
	b	.L48
.L36:
	ldr	r0, .L49+12
	bl	printf
	sub	r3, fp, #28
	mov	r0, r3
	bl	gets
	b	.L38
.L46:
	ldr	r0, [fp, #-116]
	bl	rewind
	sub	r0, fp, #112
	ldr	r3, [fp, #-116]
	mov	r2, #1
	mov	r1, #84
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L39
.L44:
	sub	r3, fp, #112
	add	r2, r3, #24
	sub	r3, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L40
	mov	r3, #1
	str	r3, [fp, #-120]
	sub	r3, fp, #112
	add	r2, r3, #24
	sub	r3, fp, #112
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L49+16
	bl	printf
	ldr	r0, .L49+20
	bl	printf
	sub	r3, fp, #124
	mov	r1, r3
	ldr	r0, .L49+24
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-124]
	cmp	r3, #1
	bne	.L41
	ldr	r2, .L49+28
	sub	r3, fp, #88
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r1, #16
	strb	r2, [r3]
	mov	r3, #800
	str	r3, [fp, #-72]
	b	.L42
.L41:
	ldr	r3, [fp, #-124]
	cmp	r3, #2
	bne	.L43
	ldr	r2, .L49+32
	sub	r3, fp, #88
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r1, #16
	strb	r2, [r3]
	mov	r3, #2000
	str	r3, [fp, #-72]
	b	.L42
.L43:
	ldr	r2, .L49+36
	sub	r3, fp, #88
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strb	r1, [r3]
	ldr	r3, .L49+40
	str	r3, [fp, #-72]
.L42:
	ldr	r0, [fp, #-116]
	bl	ftell
	mov	r3, r0
	sub	r3, r3, #84
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-116]
	bl	fseek
	sub	r0, fp, #112
	ldr	r3, [fp, #-116]
	mov	r2, #1
	mov	r1, #84
	bl	fwrite
	mov	r2, #1
	mov	r1, #0
	ldr	r0, [fp, #-116]
	bl	fseek
	ldr	r3, .L49+44
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L40
	ldr	r0, .L49+48
	bl	puts
.L40:
	sub	r0, fp, #112
	ldr	r3, [fp, #-116]
	mov	r2, #1
	mov	r1, #84
	bl	fread
.L39:
	ldr	r0, [fp, #-116]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L45
	ldr	r0, .L49+52
	bl	printf
.L45:
	ldr	r0, .L49+56
	bl	printf
	sub	r3, fp, #28
	mov	r0, r3
	bl	gets
.L38:
	ldr	r3, .L49+44
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	ldr	r0, [fp, #-116]
	bl	fclose
.L48:
	nop
	ldr	r3, .L49
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC31
	.word	.LC9
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC12
	.word	LUNAR
	.word	TRIMESTRIAL
	.word	ANUAL
	.word	6600
	.word	stdin
	.word	.LC22
	.word	.LC29
	.word	.LC30
	.size	modificare_abonament_clienti, .-modificare_abonament_clienti
	.section	.rodata
	.align	2
.LC32:
	.ascii	"rb\000"
	.align	2
.LC33:
	.ascii	"temp.dat\000"
	.align	2
.LC34:
	.ascii	"\012\011\011\011Fisierul temp.dat nu a putut fi cre"
	.ascii	"at!\000"
	.align	2
.LC35:
	.ascii	"\012\011\011\011Introduceti codul clientului de ste"
	.ascii	"rs:\000"
	.align	2
.LC36:
	.ascii	"\012\011\011\011Client sters cu succes.....\012\000"
	.align	2
.LC37:
	.ascii	"\012\011\011\011Clientul cu codul %d nu exista\000"
	.align	2
.LC38:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	stergere_client
	.syntax unified
	.arm
	.fpu softvfp
	.type	stergere_client, %function
stergere_client:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-112]
	ldr	r3, .L60
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-104]
	ldr	r1, .L60+4
	ldr	r0, [fp, #-112]
	bl	fopen
	str	r0, [fp, #-100]
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	bne	.L52
	ldr	r0, [fp, #-112]
	bl	printf
.L52:
	ldr	r1, .L60+8
	ldr	r0, .L60+12
	bl	fopen
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L53
	ldr	r0, .L60+16
	bl	printf
.L53:
	ldr	r0, .L60+20
	bl	printf
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L60+24
	bl	__isoc99_scanf
	b	.L54
.L56:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-108]
	cmp	r2, r3
	beq	.L55
	sub	r0, fp, #92
	ldr	r3, [fp, #-96]
	mov	r2, #1
	mov	r1, #84
	bl	fwrite
	b	.L54
.L55:
	mov	r3, #1
	str	r3, [fp, #-104]
.L54:
	sub	r0, fp, #92
	ldr	r3, [fp, #-100]
	mov	r2, #1
	mov	r1, #84
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L56
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	beq	.L57
	ldr	r0, .L60+28
	bl	printf
	b	.L58
.L57:
	ldr	r3, [fp, #-108]
	mov	r1, r3
	ldr	r0, .L60+32
	bl	printf
.L58:
	ldr	r0, [fp, #-100]
	bl	fclose
	ldr	r0, [fp, #-96]
	bl	fclose
	ldr	r0, [fp, #-112]
	bl	remove
	ldr	r1, [fp, #-112]
	ldr	r0, .L60+12
	bl	rename
	nop
	ldr	r3, .L60
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L59
	bl	__stack_chk_fail
.L59:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L61:
	.align	2
.L60:
	.word	.LC38
	.word	.LC32
	.word	.LC6
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC12
	.word	.LC36
	.word	.LC37
	.size	stergere_client, .-stergere_client
	.section	.rodata
	.align	2
.LC39:
	.ascii	"\012\011\011\011Cum doriti sa numiti raportul:\000"
	.align	2
.LC40:
	.ascii	"w\000"
	.align	2
.LC41:
	.ascii	"\012 Nr. Cod Nume cLient \011\011Tip abonament \011"
	.ascii	"\011Pret RON \011\011Data \011\011 Instructor\012\000"
	.align	2
.LC42:
	.ascii	"\012 %-3d %-3d %-20s %-20s %-3d     %-16s %s\000"
	.align	2
.LC43:
	.ascii	"\012\011\011\011Raportul a fost creat cu succes!\000"
	.align	2
.LC44:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	raport_integral
	.syntax unified
	.arm
	.fpu softvfp
	.type	raport_integral, %function
raport_integral:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-128]
	ldr	r3, .L69
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L69+4
	ldr	r0, [fp, #-128]
	bl	fopen
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L63
	ldr	r1, [fp, #-128]
	ldr	r0, .L69+8
	bl	printf
	b	.L68
.L63:
	ldr	r0, .L69+12
	bl	printf
	sub	r3, fp, #28
	mov	r0, r3
	bl	gets
	sub	r3, fp, #28
	ldr	r1, .L69+16
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	mov	r2, #70
	mov	r1, #1
	ldr	r0, .L69+20
	bl	fwrite
	sub	r0, fp, #112
	ldr	r3, [fp, #-120]
	mov	r2, #1
	mov	r1, #84
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L65
.L66:
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
	ldr	r1, [fp, #-112]
	ldr	r3, [fp, #-72]
	sub	r2, fp, #112
	add	r2, r2, #44
	str	r2, [sp, #16]
	sub	r2, fp, #112
	add	r2, r2, #64
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	sub	r3, fp, #112
	add	r3, r3, #24
	str	r3, [sp, #4]
	sub	r3, fp, #112
	add	r3, r3, #4
	str	r3, [sp]
	mov	r3, r1
	ldr	r2, [fp, #-124]
	ldr	r1, .L69+24
	ldr	r0, [fp, #-116]
	bl	fprintf
	sub	r0, fp, #112
	ldr	r3, [fp, #-120]
	mov	r2, #1
	mov	r1, #84
	bl	fread
.L65:
	ldr	r0, [fp, #-120]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L66
	ldr	r0, .L69+28
	bl	puts
	ldr	r0, [fp, #-116]
	bl	fclose
	ldr	r0, [fp, #-120]
	bl	fclose
.L68:
	nop
	ldr	r3, .L69
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L67
	bl	__stack_chk_fail
.L67:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L70:
	.align	2
.L69:
	.word	.LC44
	.word	.LC32
	.word	.LC25
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.size	raport_integral, .-raport_integral
	.section	.rodata
	.align	2
.LC45:
	.ascii	"\012\011\011\011Raport clienti ce au instructor pe:"
	.ascii	"\000"
	.align	2
.LC46:
	.ascii	"\012\011\011\011Raportul %s a fost creat cu succes!"
	.ascii	"\012\000"
	.align	2
.LC47:
	.ascii	"\012\011\011\011Nu exista client cu instructorul %s"
	.ascii	"!\000"
	.align	2
.LC48:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	raport_partial
	.syntax unified
	.arm
	.fpu softvfp
	.type	raport_partial, %function
raport_partial:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #176
	str	r0, [fp, #-152]
	ldr	r3, .L83
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L83+4
	ldr	r0, [fp, #-152]
	bl	fopen
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L72
	ldr	r1, [fp, #-152]
	ldr	r0, .L83+8
	bl	printf
	b	.L82
.L72:
	ldr	r0, .L83+12
	bl	printf
	sub	r3, fp, #28
	mov	r0, r3
	bl	gets
	b	.L74
.L80:
	ldr	r0, [fp, #-140]
	bl	rewind
	ldr	r0, .L83+16
	bl	printf
	sub	r3, fp, #48
	mov	r0, r3
	bl	gets
	sub	r3, fp, #48
	ldr	r1, .L83+20
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-136]
	mov	r2, #70
	mov	r1, #1
	ldr	r0, .L83+24
	bl	fwrite
	sub	r0, fp, #132
	ldr	r3, [fp, #-140]
	mov	r2, #1
	mov	r1, #84
	bl	fread
	mov	r3, #1
	str	r3, [fp, #-144]
	b	.L75
.L77:
	sub	r3, fp, #132
	add	r2, r3, #44
	sub	r3, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L76
	ldr	r2, [fp, #-144]
	add	r3, r2, #1
	str	r3, [fp, #-144]
	ldr	r0, [fp, #-132]
	ldr	r3, [fp, #-92]
	sub	r1, fp, #132
	add	r1, r1, #44
	str	r1, [sp, #16]
	sub	r1, fp, #132
	add	r1, r1, #64
	str	r1, [sp, #12]
	str	r3, [sp, #8]
	sub	r3, fp, #132
	add	r3, r3, #24
	str	r3, [sp, #4]
	sub	r3, fp, #132
	add	r3, r3, #4
	str	r3, [sp]
	mov	r3, r0
	ldr	r1, .L83+28
	ldr	r0, [fp, #-136]
	bl	fprintf
.L76:
	sub	r0, fp, #132
	ldr	r3, [fp, #-140]
	mov	r2, #1
	mov	r1, #84
	bl	fread
.L75:
	ldr	r0, [fp, #-140]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L77
	ldr	r3, [fp, #-144]
	cmp	r3, #1
	ble	.L78
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L83+32
	bl	printf
	b	.L79
.L78:
	ldr	r3, [fp, #-144]
	cmp	r3, #1
	bne	.L79
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L83+36
	bl	printf
	ldr	r0, [fp, #-136]
	bl	fclose
	sub	r3, fp, #48
	mov	r0, r3
	bl	remove
.L79:
	ldr	r0, .L83+12
	bl	printf
	sub	r3, fp, #28
	mov	r0, r3
	bl	gets
	ldr	r0, [fp, #-136]
	bl	fclose
.L74:
	ldr	r3, .L83+40
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L80
	ldr	r0, [fp, #-140]
	bl	fclose
.L82:
	nop
	ldr	r3, .L83
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L81
	bl	__stack_chk_fail
.L81:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L84:
	.align	2
.L83:
	.word	.LC48
	.word	.LC32
	.word	.LC25
	.word	.LC45
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC46
	.word	.LC47
	.word	stdin
	.size	raport_partial, .-raport_partial
	.section	.rodata
	.align	2
.LC49:
	.ascii	"\012\011\011\011Introduceti codul clientului dorit:"
	.ascii	"\000"
	.align	2
.LC50:
	.ascii	"\012\011\011\011Cod:%d Nume:%s Tip abonament:%s \012"
	.ascii	"\012\011\011\011Pret abonament:%d Data:%s Instructo"
	.ascii	"r:%s\000"
	.align	2
.LC51:
	.ascii	"\012\011\011\011Nu exista clientul cu codul:%d!\000"
	.align	2
.LC52:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	raport_ecran
	.syntax unified
	.arm
	.fpu softvfp
	.type	raport_ecran, %function
raport_ecran:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-112]
	ldr	r3, .L97
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L97+4
	ldr	r0, [fp, #-112]
	bl	fopen
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L86
	ldr	r1, [fp, #-112]
	ldr	r0, .L97+8
	bl	printf
	b	.L96
.L86:
	ldr	r0, .L97+12
	bl	printf
	sub	r3, fp, #104
	mov	r1, r3
	ldr	r0, .L97+16
	bl	__isoc99_scanf
	b	.L88
.L94:
	ldr	r0, [fp, #-96]
	bl	rewind
	sub	r0, fp, #92
	ldr	r3, [fp, #-96]
	mov	r2, #1
	mov	r1, #84
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L89
.L92:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	bne	.L90
	mov	r3, #1
	str	r3, [fp, #-100]
	ldr	r1, [fp, #-92]
	ldr	r3, [fp, #-52]
	sub	r2, fp, #92
	add	ip, r2, #24
	sub	r2, fp, #92
	add	r0, r2, #4
	sub	r2, fp, #92
	add	r2, r2, #44
	str	r2, [sp, #8]
	sub	r2, fp, #92
	add	r2, r2, #64
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L97+20
	bl	printf
.L90:
	sub	r0, fp, #92
	ldr	r3, [fp, #-96]
	mov	r2, #1
	mov	r1, #84
	bl	fread
.L89:
	ldr	r0, [fp, #-96]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L91
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	beq	.L92
.L91:
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	bne	.L93
	ldr	r3, [fp, #-104]
	mov	r1, r3
	ldr	r0, .L97+24
	bl	printf
.L93:
	ldr	r0, .L97+12
	bl	printf
	sub	r3, fp, #104
	mov	r1, r3
	ldr	r0, .L97+16
	bl	__isoc99_scanf
.L88:
	ldr	r3, .L97+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L94
	ldr	r0, [fp, #-96]
	bl	fclose
.L96:
	nop
	ldr	r3, .L97
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L95
	bl	__stack_chk_fail
.L95:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L98:
	.align	2
.L97:
	.word	.LC52
	.word	.LC32
	.word	.LC25
	.word	.LC49
	.word	.LC12
	.word	.LC50
	.word	.LC51
	.word	stdin
	.size	raport_ecran, .-raport_ecran
	.section	.rodata
	.align	2
.LC53:
	.ascii	"\012\000"
	.align	2
.LC54:
	.ascii	"\012\012\012\011\011\0111.Creare fisier binar\000"
	.align	2
.LC55:
	.ascii	"\012\011\011\0112.Adaugare clienti\000"
	.align	2
.LC56:
	.ascii	"\012\011\011\0113.Modificarea instructorului repart"
	.ascii	"izat unui client\000"
	.align	2
.LC57:
	.ascii	"\012\011\011\0114.Modificare abonamente grup client"
	.ascii	"i\000"
	.align	2
.LC58:
	.ascii	"\012\011\011\0115.Stergerea unui client\000"
	.align	2
.LC59:
	.ascii	"\012\011\011\0116.Raport fisier text clienti\000"
	.align	2
.LC60:
	.ascii	"\012\011\011\0117.Raport partial fisier text client"
	.ascii	"i (in functie de instructor)\000"
	.align	2
.LC61:
	.ascii	"\012\011\011\0118.Afisare client dupa codul de inre"
	.ascii	"gistrare\000"
	.align	2
.LC62:
	.ascii	"\012\011\011\0110.Iesire program\000"
	.align	2
.LC63:
	.ascii	"\012\012\011\011\011Optiune -->:\000"
	.align	2
.LC64:
	.ascii	"PAUSE\000"
	.align	2
.LC65:
	.ascii	"\012\012\012\011\011\011\011Multumesc, o zi buna!!!"
	.ascii	"\012\012\012\012\000"
	.align	2
.LC66:
	.ascii	"\012\012\012\011\011\011Alegerea nu este valida!!! "
	.ascii	"Reincercati...\000"
	.align	2
.LC67:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	meniu
	.syntax unified
	.arm
	.fpu softvfp
	.type	meniu, %function
meniu:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L114
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
.L112:
	ldr	r0, .L114+4
	bl	puts
	bl	mesajInitial
	ldr	r0, .L114+8
	bl	printf
	ldr	r0, .L114+12
	bl	printf
	ldr	r0, .L114+16
	bl	printf
	ldr	r0, .L114+20
	bl	printf
	ldr	r0, .L114+24
	bl	printf
	ldr	r0, .L114+28
	bl	printf
	ldr	r0, .L114+32
	bl	printf
	ldr	r0, .L114+36
	bl	printf
	ldr	r0, .L114+40
	bl	printf
	ldr	r0, .L114+44
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L114+48
	bl	__isoc99_scanf
	ldr	r3, .L114+52
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-12]
	cmp	r3, #8
	ldrls	pc, [pc, r3, asl #2]
	b	.L100
.L102:
	.word	.L110
	.word	.L109
	.word	.L108
	.word	.L107
	.word	.L106
	.word	.L105
	.word	.L104
	.word	.L103
	.word	.L101
.L109:
	bl	creare
	ldr	r0, .L114+56
	bl	system
	b	.L111
.L108:
	ldr	r0, .L114+60
	bl	adaugare
	ldr	r0, .L114+56
	bl	system
	b	.L111
.L107:
	ldr	r0, .L114+60
	bl	modificare_client_instructor
	ldr	r0, .L114+56
	bl	system
	b	.L111
.L106:
	ldr	r0, .L114+60
	bl	modificare_abonament_clienti
	ldr	r0, .L114+56
	bl	system
	b	.L111
.L105:
	ldr	r0, .L114+60
	bl	stergere_client
	ldr	r0, .L114+56
	bl	system
	b	.L111
.L104:
	ldr	r0, .L114+60
	bl	raport_integral
	ldr	r0, .L114+56
	bl	system
	b	.L111
.L103:
	ldr	r0, .L114+60
	bl	raport_partial
	ldr	r0, .L114+56
	bl	system
	b	.L111
.L101:
	ldr	r0, .L114+60
	bl	raport_ecran
	ldr	r0, .L114+56
	bl	system
	b	.L111
.L110:
	ldr	r0, .L114+64
	bl	puts
	b	.L111
.L100:
	ldr	r0, .L114+68
	bl	printf
	ldr	r0, .L114+56
	bl	system
	nop
.L111:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L112
	nop
	ldr	r3, .L114
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L113
	bl	__stack_chk_fail
.L113:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L115:
	.align	2
.L114:
	.word	.LC67
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC12
	.word	stdin
	.word	.LC64
	.word	nume_fisier
	.word	.LC65
	.word	.LC66
	.size	meniu, .-meniu
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	meniu
	nop
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
