	.file	"192330756.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"cep_ordenado.dat"
.LC2:
	.string	"USO: %s [CEP]"
.LC3:
	.string	"Erro ao abrir o arquivo "
.LC4:
	.string	"Tamanho da Estrutura: %ld\n\n"
	.align 8
.LC5:
	.string	"\n%.72s\n%.72s\n%.72s\n%.72s\n%.2s\n%.8s\n"
.LC6:
	.string	"\nCEP Nao encontrado "
.LC7:
	.string	"Lidos: %d\n"
	.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, 384
	mov	DWORD PTR -372[rbp], edi
	mov	QWORD PTR -384[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -364[rbp], 0
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -344[rbp], rax
	cmp	DWORD PTR -372[rbp], 2
	je	.L2
	mov	rax, QWORD PTR -384[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L11
.L2:
	cmp	QWORD PTR -344[rbp], 0
	jne	.L4
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L11
.L4:
	mov	esi, 300
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -344[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -344[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -336[rbp], rax
	mov	QWORD PTR -360[rbp], 0
	mov	rax, QWORD PTR -336[rbp]
	movabs	rdx, 7870610804782742023
	mul	rdx
	mov	rax, rdx
	shr	rax, 7
	sub	rax, 1
	mov	QWORD PTR -352[rbp], rax
	mov	rax, QWORD PTR -344[rbp]
	mov	rdi, rax
	call	rewind@PLT
	jmp	.L5
.L10:
	add	DWORD PTR -364[rbp], 1
	mov	rdx, QWORD PTR -360[rbp]
	mov	rax, QWORD PTR -352[rbp]
	add	rax, rdx
	mov	rdx, rax
	shr	rdx, 63
	add	rax, rdx
	sar	rax
	mov	QWORD PTR -328[rbp], rax
	mov	rax, QWORD PTR -328[rbp]
	imul	rax, rax, 300
	mov	rcx, rax
	mov	rax, QWORD PTR -344[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -344[rbp]
	lea	rax, -320[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 300
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -384[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -320[rbp]
	lea	rcx, 290[rdx]
	mov	edx, 8
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jns	.L6
	mov	rax, QWORD PTR -328[rbp]
	sub	rax, 1
	mov	QWORD PTR -352[rbp], rax
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -384[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -320[rbp]
	lea	rcx, 290[rdx]
	mov	edx, 8
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jle	.L7
	mov	rax, QWORD PTR -328[rbp]
	add	rax, 1
	mov	QWORD PTR -360[rbp], rax
.L7:
	mov	rax, QWORD PTR -384[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -320[rbp]
	lea	rcx, 290[rdx]
	mov	edx, 8
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L8
	lea	rax, -320[rbp]
	lea	r8, 288[rax]
	lea	rax, -320[rbp]
	lea	rdi, 216[rax]
	lea	rax, -320[rbp]
	lea	rcx, 144[rax]
	lea	rax, -320[rbp]
	lea	rdx, 72[rax]
	lea	rax, -320[rbp]
	sub	rsp, 8
	lea	rsi, -320[rbp]
	add	rsi, 290
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	jmp	.L9
.L8:
	cmp	DWORD PTR -364[rbp], 20
	jle	.L5
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L9
.L5:
	mov	rax, QWORD PTR -384[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -320[rbp]
	lea	rcx, 290[rdx]
	mov	edx, 8
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L10
.L9:
	mov	eax, DWORD PTR -364[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -344[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L11:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	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	"192330756.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"cep_ordenado.dat\000"
	.align	2
.LC2:
	.ascii	"USO: %s [CEP]\000"
	.align	2
.LC3:
	.ascii	"Erro ao abrir o arquivo \000"
	.align	2
.LC4:
	.ascii	"Tamanho da Estrutura: %ld\012\012\000"
	.align	2
.LC5:
	.ascii	"\012%.72s\012%.72s\012%.72s\012%.72s\012%.2s\012%.8"
	.ascii	"s\012\000"
	.align	2
.LC6:
	.ascii	"\012CEP Nao encontrado \000"
	.align	2
.LC7:
	.ascii	"Lidos: %d\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 336
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #352
	str	r0, [fp, #-336]
	str	r1, [fp, #-340]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-324]
	ldr	r1, .L13+4
	ldr	r0, .L13+8
	bl	fopen
	str	r0, [fp, #-320]
	ldr	r3, [fp, #-336]
	cmp	r3, #2
	beq	.L2
	ldr	r3, .L13+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-340]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L13+16
	bl	fprintf
	mov	r3, #1
	b	.L11
.L2:
	ldr	r3, [fp, #-320]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L13+20
	bl	puts
	mov	r3, #0
	b	.L11
.L4:
	mov	r1, #300
	ldr	r0, .L13+24
	bl	printf
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-320]
	bl	fseek
	ldr	r0, [fp, #-320]
	bl	ftell
	str	r0, [fp, #-316]
	mov	r3, #0
	str	r3, [fp, #-332]
	ldr	r3, [fp, #-316]
	ldr	r2, .L13+28
	umull	r1, r3, r2, r3
	lsr	r3, r3, #5
	sub	r3, r3, #1
	str	r3, [fp, #-328]
	ldr	r0, [fp, #-320]
	bl	rewind
	b	.L5
.L10:
	ldr	r3, [fp, #-324]
	add	r3, r3, #1
	str	r3, [fp, #-324]
	ldr	r2, [fp, #-332]
	ldr	r3, [fp, #-328]
	add	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-312]
	ldr	r2, [fp, #-312]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-320]
	bl	fseek
	sub	r0, fp, #308
	ldr	r3, [fp, #-320]
	mov	r2, #1
	mov	r1, #300
	bl	fread
	ldr	r3, [fp, #-340]
	add	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #308
	add	r3, r3, #288
	add	r3, r3, #2
	mov	r2, #8
	mov	r1, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bge	.L6
	ldr	r3, [fp, #-312]
	sub	r3, r3, #1
	str	r3, [fp, #-328]
	b	.L7
.L6:
	ldr	r3, [fp, #-340]
	add	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #308
	add	r3, r3, #288
	add	r3, r3, #2
	mov	r2, #8
	mov	r1, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	ble	.L7
	ldr	r3, [fp, #-312]
	add	r3, r3, #1
	str	r3, [fp, #-332]
.L7:
	ldr	r3, [fp, #-340]
	add	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #308
	add	r3, r3, #288
	add	r3, r3, #2
	mov	r2, #8
	mov	r1, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	sub	r3, fp, #308
	add	r0, r3, #144
	sub	r3, fp, #308
	add	r2, r3, #72
	sub	r1, fp, #308
	sub	r3, fp, #308
	add	r3, r3, #288
	add	r3, r3, #2
	str	r3, [sp, #8]
	sub	r3, fp, #308
	add	r3, r3, #288
	str	r3, [sp, #4]
	sub	r3, fp, #308
	add	r3, r3, #216
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L13+32
	bl	printf
	b	.L9
.L8:
	ldr	r3, [fp, #-324]
	cmp	r3, #20
	ble	.L5
	ldr	r0, .L13+36
	bl	puts
	b	.L9
.L5:
	ldr	r3, [fp, #-340]
	add	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #308
	add	r3, r3, #288
	add	r3, r3, #2
	mov	r2, #8
	mov	r1, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
.L9:
	ldr	r1, [fp, #-324]
	ldr	r0, .L13+40
	bl	printf
	ldr	r0, [fp, #-320]
	bl	fclose
	mov	r3, #0
.L11:
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	stderr
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	458129845
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
