	.file	"740274.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"wb"
.LC1:
	.string	"angajati.bin"
	.align 8
.LC2:
	.string	"Introduceti numarul de angajati: "
.LC3:
	.string	"%d"
.LC4:
	.string	"Introduceti CNP: "
.LC5:
	.string	"%llu"
.LC6:
	.string	"Introduceti numele: "
.LC7:
	.string	"%s"
.LC8:
	.string	"Introduceti salariul: "
.LC9:
	.string	"%u"
.LC10:
	.string	"Introduceti age:"
	.align 8
.LC11:
	.string	"Angajatul introdus este: %llu %s %d %d"
	.text
	.globl	adaugaAngajati
	.type	adaugaAngajati, @function
adaugaAngajati:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -72[rbp], rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -76[rbp], 0
	jmp	.L2
.L3:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	add	rax, 12
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -64[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 24
	mov	rdi, rax
	call	fwrite@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	esi, DWORD PTR -56[rbp]
	mov	ecx, DWORD PTR -52[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	r8d, esi
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -76[rbp], 1
.L2:
	mov	eax, DWORD PTR -80[rbp]
	cmp	DWORD PTR -76[rbp], eax
	jl	.L3
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	adaugaAngajati, .-adaugaAngajati
	.section	.rodata
.LC12:
	.string	"rb"
	.align 8
.LC13:
	.string	"..//cmake-build-debug//angajati.bin"
	.align 8
.LC14:
	.string	"Fisierul nu a putut fi deschis!"
	.align 8
.LC15:
	.string	"Numarul de angajati din fisier este: %u"
.LC16:
	.string	"%llu%s%u%u"
.LC17:
	.string	"%llu %s %u %u\n"
	.align 8
.LC18:
	.string	"Nume: %s, varsta: %d, salariul: %d"
	.text
	.globl	afisareAngajat
	.type	afisareAngajat, @function
afisareAngajat:
.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, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC12[rip]
	lea	rdi, .LC13[rip]
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L6
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L6:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ftell@PLT
	movabs	rdx, -6148914691236517205
	mul	rdx
	mov	rax, rdx
	shr	rax, 4
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	DWORD PTR -60[rbp], 0
	jmp	.L7
.L11:
	lea	rdi, -68[rbp]
	lea	rsi, -64[rbp]
	lea	rcx, -32[rbp]
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	esi, DWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -68[rbp]
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	r8d, esi
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -48[rbp]
	cmp	QWORD PTR -88[rbp], rax
	jne	.L8
	mov	ecx, DWORD PTR -64[rbp]
	mov	edx, DWORD PTR -68[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -52[rbp], 1
	jmp	.L10
.L8:
	add	DWORD PTR -60[rbp], 1
.L7:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L11
.L10:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	afisareAngajat, .-afisareAngajat
	.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	"740274.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"wb\000"
	.align	2
.LC1:
	.ascii	"angajati.bin\000"
	.align	2
.LC2:
	.ascii	"Introduceti numarul de angajati: \000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"Introduceti CNP: \000"
	.align	2
.LC5:
	.ascii	"%llu\000"
	.align	2
.LC6:
	.ascii	"Introduceti numele: \000"
	.align	2
.LC7:
	.ascii	"%s\000"
	.align	2
.LC8:
	.ascii	"Introduceti salariul: \000"
	.align	2
.LC9:
	.ascii	"%u\000"
	.align	2
.LC10:
	.ascii	"Introduceti age:\000"
	.align	2
.LC11:
	.ascii	"Angajatul introdus este: %llu %s %d %d\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	adaugaAngajati
	.syntax unified
	.arm
	.fpu softvfp
	.type	adaugaAngajati, %function
adaugaAngajati:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L5+4
	ldr	r0, .L5+8
	bl	fopen
	str	r0, [fp, #-56]
	ldr	r0, .L5+12
	bl	printf
	sub	r3, fp, #64
	mov	r1, r3
	ldr	r0, .L5+16
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L2
.L3:
	ldr	r0, .L5+20
	bl	printf
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L5+24
	bl	__isoc99_scanf
	ldr	r0, .L5+28
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L5+32
	bl	__isoc99_scanf
	sub	r3, fp, #28
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	sub	r2, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r0, .L5+36
	bl	printf
	sub	r3, fp, #52
	add	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L5+40
	bl	__isoc99_scanf
	ldr	r0, .L5+44
	bl	printf
	sub	r3, fp, #52
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L5+16
	bl	__isoc99_scanf
	sub	r0, fp, #52
	ldr	r3, [fp, #-56]
	mov	r2, #1
	mov	r1, #24
	bl	fwrite
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-40]
	ldr	ip, [fp, #-44]
	str	ip, [sp, #8]
	str	r0, [sp, #4]
	str	r1, [sp]
	ldr	r0, .L5+48
	bl	printf
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L2:
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L3
	ldr	r0, [fp, #-56]
	bl	fclose
	nop
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	adaugaAngajati, .-adaugaAngajati
	.section	.rodata
	.align	2
.LC13:
	.ascii	"rb\000"
	.align	2
.LC14:
	.ascii	"..//cmake-build-debug//angajati.bin\000"
	.align	2
.LC15:
	.ascii	"Fisierul nu a putut fi deschis!\000"
	.align	2
.LC16:
	.ascii	"Numarul de angajati din fisier este: %u\000"
	.align	2
.LC17:
	.ascii	"%llu%s%u%u\000"
	.align	2
.LC18:
	.ascii	"%llu %s %u %u\012\000"
	.align	2
.LC19:
	.ascii	"Nume: %s, varsta: %d, salariul: %d\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	afisareAngajat
	.syntax unified
	.arm
	.fpu softvfp
	.type	afisareAngajat, %function
afisareAngajat:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-68]
	str	r1, [fp, #-64]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L15+4
	ldr	r0, .L15+8
	bl	fopen
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L15+12
	bl	printf
	mov	r0, #0
	bl	exit
.L8:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-48]
	bl	fseek
	ldr	r0, [fp, #-48]
	bl	ftell
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15+16
	umull	r1, r3, r2, r3
	lsr	r3, r3, #4
	str	r3, [fp, #-44]
	ldr	r1, [fp, #-44]
	ldr	r0, .L15+20
	bl	printf
	ldr	r0, [fp, #-48]
	bl	rewind
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L9
.L13:
	sub	r1, fp, #28
	sub	r2, fp, #36
	sub	r3, fp, #60
	str	r3, [sp, #4]
	sub	r3, fp, #56
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L15+24
	ldr	r0, [fp, #-48]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-56]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	sub	r3, fp, #28
	str	r3, [sp]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	ldr	r0, .L15+28
	bl	printf
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L10
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-56]
	sub	r1, fp, #28
	ldr	r0, .L15+32
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-40]
	b	.L12
.L10:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L9:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L13
.L12:
	ldr	r0, [fp, #-48]
	bl	fclose
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC20
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	-1431655765
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	afisareAngajat, .-afisareAngajat
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
