	.file	"65617.c"
	.intel_syntax noprefix
	.text
	.globl	file
	.bss
	.align 8
	.type	file, @object
	.size	file, 8
file:
	.zero	8
	.section	.rodata
.LC0:
	.string	">>CADASTRO<<\n"
	.align 8
.LC1:
	.string	" 1 - Cadastrar Cliente\n 2 - Excluir dados permanentementes"
.LC2:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[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, 1
	je	.L2
	cmp	eax, 2
	je	.L3
	jmp	.L8
.L2:
	mov	eax, 0
	call	Cadastro
	jmp	.L5
.L3:
	mov	eax, 0
	call	removerCadastro
	jmp	.L5
.L8:
	mov	eax, 0
	call	defaul
	nop
.L5:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC3:
	.string	"Algo deu errado, digite 1 para encerrar o programa ou 2 para voltar ao menu: "
.LC4:
	.string	"pause"
.LC5:
	.string	"cls"
	.text
	.globl	defaul
	.type	defaul, @function
defaul:
.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
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 1
	jne	.L10
	lea	rdi, .LC4[rip]
	call	system@PLT
	mov	edi, 0
	call	exit@PLT
.L10:
	lea	rdi, .LC5[rip]
	call	system@PLT
	mov	eax, 0
	call	Cadastro
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	defaul, .-defaul
	.section	.rodata
	.align 8
.LC6:
	.string	"Tem certeza que deseja apagar todos os dados do arquivo ? s/n: "
.LC7:
	.string	"%c"
.LC8:
	.string	"w"
.LC9:
	.string	"Clientes.txt"
	.text
	.globl	removerCadastro
	.type	removerCadastro, @function
removerCadastro:
.LFB8:
	.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
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -9[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 115
	je	.L13
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 83
	jne	.L14
.L13:
	lea	rsi, .LC8[rip]
	lea	rdi, .LC9[rip]
	call	fopen@PLT
	mov	QWORD PTR file[rip], rax
	mov	rax, QWORD PTR file[rip]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L15
.L14:
	lea	rdi, .LC5[rip]
	call	system@PLT
	call	main
.L15:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	removerCadastro, .-removerCadastro
	.section	.rodata
.LC10:
	.string	"\nDigite o nome: "
.LC11:
	.string	"Digite o email: "
.LC12:
	.string	"Digite o cpf: "
.LC13:
	.string	"a"
.LC14:
	.string	"%s %s %s\n"
	.align 8
.LC15:
	.string	"Digite 1 para continuar ou qualquer outro numero para sair: "
	.text
	.globl	Cadastro
	.type	Cadastro, @function
Cadastro:
.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, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L18:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -128[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -96[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rsi, .LC13[rip]
	lea	rdi, .LC9[rip]
	call	fopen@PLT
	mov	QWORD PTR file[rip], rax
	mov	rax, QWORD PTR file[rip]
	lea	rsi, -96[rbp]
	lea	rcx, -128[rbp]
	lea	rdx, -64[rbp]
	mov	r8, rsi
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR file[rip]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -132[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, 1
	je	.L18
	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
.LFE9:
	.size	Cadastro, .-Cadastro
	.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	"65617.c"
	.text
	.comm	file,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	">>CADASTRO<<\012\000"
	.align	2
.LC1:
	.ascii	" 1 - Cadastrar Cliente\012 2 - Excluir dados perman"
	.ascii	"entementes\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L9+4
	bl	puts
	ldr	r0, .L9+8
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L9+12
	bl	__isoc99_scanf
	ldr	r3, .L9+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	beq	.L2
	cmp	r3, #2
	beq	.L3
	b	.L8
.L2:
	bl	Cadastro
	b	.L5
.L3:
	bl	removerCadastro
	b	.L5
.L8:
	bl	defaul
	nop
.L5:
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	stdin
	.size	main, .-main
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Algo deu errado, digite 1 para encerrar o programa "
	.ascii	"ou 2 para voltar ao menu: \000"
	.align	2
.LC5:
	.ascii	"pause\000"
	.align	2
.LC6:
	.ascii	"cls\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	defaul
	.syntax unified
	.arm
	.fpu softvfp
	.type	defaul, %function
defaul:
	@ 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, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L14+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L14+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L12
	ldr	r0, .L14+12
	bl	system
	mov	r0, #0
	bl	exit
.L12:
	ldr	r0, .L14+16
	bl	system
	bl	Cadastro
	nop
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC7
	.word	.LC4
	.word	.LC2
	.word	.LC5
	.word	.LC6
	.size	defaul, .-defaul
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Tem certeza que deseja apagar todos os dados do arq"
	.ascii	"uivo ? s/n: \000"
	.align	2
.LC9:
	.ascii	"%c\000"
	.align	2
.LC10:
	.ascii	"w\000"
	.align	2
.LC11:
	.ascii	"Clientes.txt\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	removerCadastro
	.syntax unified
	.arm
	.fpu softvfp
	.type	removerCadastro, %function
removerCadastro:
	@ 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, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L21+4
	bl	printf
	sub	r3, fp, #9
	mov	r1, r3
	ldr	r0, .L21+8
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #115
	beq	.L17
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #83
	bne	.L18
.L17:
	ldr	r1, .L21+12
	ldr	r0, .L21+16
	bl	fopen
	mov	r3, r0
	ldr	r2, .L21+20
	str	r3, [r2]
	ldr	r3, .L21+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	b	.L19
.L18:
	ldr	r0, .L21+24
	bl	system
	bl	main
.L19:
	nop
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC12
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	file
	.word	.LC6
	.size	removerCadastro, .-removerCadastro
	.section	.rodata
	.align	2
.LC13:
	.ascii	"\012Digite o nome: \000"
	.align	2
.LC14:
	.ascii	"Digite o email: \000"
	.align	2
.LC15:
	.ascii	"Digite o cpf: \000"
	.align	2
.LC16:
	.ascii	"a\000"
	.align	2
.LC17:
	.ascii	"%s %s %s\012\000"
	.align	2
.LC18:
	.ascii	"Digite 1 para continuar ou qualquer outro numero pa"
	.ascii	"ra sair: \000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Cadastro
	.syntax unified
	.arm
	.fpu softvfp
	.type	Cadastro, %function
Cadastro:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L24:
	ldr	r0, .L26+4
	bl	printf
	sub	r3, fp, #60
	mov	r0, r3
	bl	gets
	ldr	r0, .L26+8
	bl	printf
	sub	r3, fp, #100
	mov	r0, r3
	bl	gets
	ldr	r0, .L26+12
	bl	printf
	sub	r3, fp, #80
	mov	r0, r3
	bl	gets
	ldr	r1, .L26+16
	ldr	r0, .L26+20
	bl	fopen
	mov	r3, r0
	ldr	r2, .L26+24
	str	r3, [r2]
	ldr	r3, .L26+24
	ldr	r0, [r3]
	sub	r1, fp, #100
	sub	r2, fp, #60
	sub	r3, fp, #80
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L26+28
	bl	fprintf
	ldr	r3, .L26+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	ldr	r0, .L26+32
	bl	printf
	sub	r3, fp, #104
	mov	r1, r3
	ldr	r0, .L26+36
	bl	__isoc99_scanf
	ldr	r3, [fp, #-104]
	cmp	r3, #1
	beq	.L24
	nop
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC19
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC11
	.word	file
	.word	.LC17
	.word	.LC18
	.word	.LC2
	.size	Cadastro, .-Cadastro
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
