	.file	"139053.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"users.dat"
.LC1:
	.string	"%s\t%d\n"
.LC2:
	.string	"w"
	.align 8
.LC3:
	.string	"Error occured while opening file"
.LC4:
	.string	"r"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -152[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -144[rbp], rax
	mov	QWORD PTR -128[rbp], 7171924
	mov	QWORD PTR -120[rbp], 0
	mov	DWORD PTR -112[rbp], 0
	mov	DWORD PTR -108[rbp], 23
	movabs	rax, 435459550273
	mov	edx, 0
	mov	QWORD PTR -104[rbp], rax
	mov	QWORD PTR -96[rbp], rdx
	mov	DWORD PTR -88[rbp], 0
	mov	DWORD PTR -84[rbp], 27
	mov	QWORD PTR -80[rbp], 6451010
	mov	QWORD PTR -72[rbp], 0
	mov	DWORD PTR -64[rbp], 0
	mov	DWORD PTR -60[rbp], 31
	mov	QWORD PTR -56[rbp], 1702125899
	mov	QWORD PTR -48[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 29
	mov	DWORD PTR -156[rbp], 4
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -136[rbp], 0
	jne	.L2
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L9
.L2:
	mov	DWORD PTR -160[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -160[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 108
	mov	edx, DWORD PTR [rax]
	lea	rsi, -128[rbp]
	mov	eax, DWORD PTR -160[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	lea	rdi, [rsi+rax]
	mov	rsi, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	ecx, edx
	mov	rdx, rdi
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -160[rbp], 1
.L4:
	mov	eax, DWORD PTR -160[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L5
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -136[rbp], 0
	jne	.L7
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L9
.L8:
	mov	edx, DWORD PTR -164[rbp]
	lea	rcx, -32[rbp]
	mov	rax, QWORD PTR -144[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
.L7:
	lea	rcx, -164[rbp]
	lea	rdx, -32[rbp]
	mov	rsi, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L8
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L9:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"139053.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"users.dat\000"
	.align	2
.LC2:
	.ascii	"%s\011%d\012\000"
	.align	2
.LC3:
	.ascii	"w\000"
	.align	2
.LC4:
	.ascii	"Error occured while opening file\000"
	.align	2
.LC5:
	.ascii	"r\000"
	.align	2
.LC0:
	.ascii	"Tom\000"
	.space	16
	.word	23
	.ascii	"Alice\000"
	.space	14
	.word	27
	.ascii	"Bob\000"
	.space	16
	.word	31
	.ascii	"Kate\000"
	.space	15
	.word	29
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L11+4
	str	r3, [fp, #-140]
	ldr	r3, .L11+8
	str	r3, [fp, #-136]
	ldr	r2, .L11+12
	sub	r3, fp, #124
	mov	r1, r2
	mov	r2, #96
	mov	r0, r3
	bl	memcpy
	mov	r3, #4
	str	r3, [fp, #-132]
	ldr	r1, .L11+16
	ldr	r0, [fp, #-140]
	bl	fopen
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L11+20
	bl	perror
	mov	r3, #1
	b	.L9
.L2:
	mov	r3, #0
	str	r3, [fp, #-144]
	b	.L4
.L5:
	sub	r1, fp, #124
	ldr	r2, [fp, #-144]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	ldr	r2, [fp, #-144]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #100
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, [fp, #-136]
	ldr	r0, [fp, #-128]
	bl	fprintf
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L4:
	ldr	r2, [fp, #-144]
	ldr	r3, [fp, #-132]
	cmp	r2, r3
	blt	.L5
	ldr	r0, [fp, #-128]
	bl	fclose
	ldr	r1, .L11+24
	ldr	r0, [fp, #-140]
	bl	fopen
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L11+20
	bl	perror
	mov	r3, #1
	b	.L9
.L8:
	ldr	r2, [fp, #-148]
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, [fp, #-136]
	bl	printf
.L7:
	sub	r3, fp, #148
	sub	r2, fp, #28
	ldr	r1, [fp, #-136]
	ldr	r0, [fp, #-128]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L8
	ldr	r0, [fp, #-128]
	bl	fclose
	mov	r3, #0
.L9:
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC6
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
