	.file	"92326345.c"
	.intel_syntax noprefix
	.text
	.globl	Password
	.bss
	.type	Password, @object
	.size	Password, 1
Password:
	.zero	1
	.globl	Mensaje
	.type	Mensaje, @object
	.size	Mensaje, 1
Mensaje:
	.zero	1
	.globl	Code
	.type	Code, @object
	.size	Code, 1
Code:
	.zero	1
	.globl	LONG
	.align 4
	.type	LONG, @object
	.size	LONG, 4
LONG:
	.zero	4
	.globl	SUMA
	.align 4
	.type	SUMA, @object
	.size	SUMA, 4
SUMA:
	.zero	4
	.globl	MULTI
	.align 4
	.type	MULTI, @object
	.size	MULTI, 4
MULTI:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	caracter
	.align 4
	.type	caracter, @object
	.size	caracter, 4
caracter:
	.zero	4
	.globl	ncaracter
	.align 4
	.type	ncaracter, @object
	.size	ncaracter, 4
ncaracter:
	.zero	4
	.section	.rodata
.LC0:
	.string	"| CODIFICADOR |"
.LC1:
	.string	"\n\nCrea una contrase%ca: "
.LC2:
	.string	"%s"
.LC3:
	.string	"\n\nEscriba el mensaje:"
.LC4:
	.string	"\n"
.LC5:
	.string	"\n%i = %c"
.LC6:
	.string	"PAUSE"
	.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
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 164
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, Password[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, 0
	mov	DWORD PTR LONG[rip], eax
	mov	DWORD PTR i[rip], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, Password[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	edx, al
	mov	eax, DWORD PTR SUMA[rip]
	add	eax, edx
	mov	DWORD PTR SUMA[rip], eax
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L2:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR LONG[rip]
	cmp	edx, eax
	jl	.L3
	mov	edx, DWORD PTR SUMA[rip]
	mov	eax, DWORD PTR LONG[rip]
	imul	eax, edx
	mov	DWORD PTR MULTI[rip], eax
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rsi, Mensaje[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L4
.L8:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, Mensaje[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	DWORD PTR caracter[rip], eax
	mov	eax, DWORD PTR caracter[rip]
	and	eax, 1
	test	eax, eax
	jne	.L5
	mov	edx, DWORD PTR caracter[rip]
	mov	eax, DWORD PTR SUMA[rip]
	add	eax, edx
	mov	DWORD PTR ncaracter[rip], eax
	jmp	.L6
.L5:
	mov	edx, DWORD PTR caracter[rip]
	mov	eax, DWORD PTR MULTI[rip]
	add	eax, edx
	mov	DWORD PTR ncaracter[rip], eax
.L6:
	mov	eax, DWORD PTR ncaracter[rip]
	cmp	eax, 255
	jle	.L7
	mov	eax, DWORD PTR ncaracter[rip]
	mov	edx, DWORD PTR caracter[rip]
	mov	ecx, 256
	sub	ecx, edx
	sub	eax, ecx
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	mov	DWORD PTR ncaracter[rip], eax
.L7:
	mov	edx, DWORD PTR ncaracter[rip]
	mov	eax, DWORD PTR i[rip]
	mov	ecx, edx
	cdqe
	lea	rdx, Code[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L4:
	mov	eax, DWORD PTR i[rip]
	cdqe
	mov	edx, 0
	cmp	rax, rdx
	jb	.L8
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rsi, Code[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L9
.L10:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR i[rip]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L9:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 255
	jle	.L10
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	system@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"92326345.c"
	.text
	.comm	Password,1,4
	.comm	Mensaje,1,4
	.comm	Code,1,4
	.comm	LONG,4,4
	.global	SUMA
	.bss
	.align	2
	.type	SUMA, %object
	.size	SUMA, 4
SUMA:
	.space	4
	.comm	MULTI,4,4
	.comm	i,4,4
	.comm	caracter,4,4
	.comm	ncaracter,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"| CODIFICADOR |\000"
	.align	2
.LC1:
	.ascii	"\012\012Crea una contrase%ca: \000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"\012\012Escriba el mensaje:\000"
	.align	2
.LC4:
	.ascii	"\012\000"
	.align	2
.LC5:
	.ascii	"\012%i = %c\000"
	.align	2
.LC6:
	.ascii	"PAUSE\000"
	.text
	.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
	ldr	r0, .L12
	bl	printf
	mov	r1, #164
	ldr	r0, .L12+4
	bl	printf
	ldr	r1, .L12+8
	ldr	r0, .L12+12
	bl	__isoc99_scanf
	mov	r3, #0
	mov	r2, r3
	ldr	r3, .L12+16
	str	r2, [r3]
	ldr	r3, .L12+20
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L3:
	ldr	r3, .L12+20
	ldr	r3, [r3]
	ldr	r2, .L12+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L12+24
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L12+24
	str	r3, [r2]
	ldr	r3, .L12+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L12+20
	str	r3, [r2]
.L2:
	ldr	r3, .L12+20
	ldr	r2, [r3]
	ldr	r3, .L12+16
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L3
	ldr	r3, .L12+24
	ldr	r3, [r3]
	ldr	r2, .L12+16
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, .L12+28
	str	r3, [r2]
	ldr	r0, .L12+32
	bl	puts
	ldr	r1, .L12+36
	ldr	r0, .L12+12
	bl	__isoc99_scanf
	ldr	r3, .L12+20
	mov	r2, #0
	str	r2, [r3]
	b	.L4
.L8:
	ldr	r3, .L12+20
	ldr	r3, [r3]
	ldr	r2, .L12+36
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L12+40
	str	r2, [r3]
	ldr	r3, .L12+40
	ldr	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L12+40
	ldr	r2, [r3]
	ldr	r3, .L12+24
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L12+44
	str	r3, [r2]
	b	.L6
.L5:
	ldr	r3, .L12+40
	ldr	r2, [r3]
	ldr	r3, .L12+28
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L12+44
	str	r3, [r2]
.L6:
	ldr	r3, .L12+44
	ldr	r3, [r3]
	cmp	r3, #255
	ble	.L7
	ldr	r3, .L12+44
	ldr	r2, [r3]
	ldr	r3, .L12+40
	ldr	r3, [r3]
	rsb	r3, r3, #256
	sub	r3, r2, r3
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	ldr	r2, .L12+44
	str	r3, [r2]
.L7:
	ldr	r3, .L12+44
	ldr	r2, [r3]
	ldr	r3, .L12+20
	ldr	r3, [r3]
	and	r1, r2, #255
	ldr	r2, .L12+48
	strb	r1, [r2, r3]
	ldr	r3, .L12+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L12+20
	str	r3, [r2]
.L4:
	mov	r3, #0
	ldr	r2, .L12+20
	ldr	r2, [r2]
	cmp	r3, r2
	bhi	.L8
	ldr	r0, .L12+52
	bl	puts
	ldr	r1, .L12+48
	ldr	r0, .L12+12
	bl	printf
	ldr	r0, .L12+52
	bl	puts
	ldr	r0, .L12+52
	bl	puts
	ldr	r3, .L12+20
	mov	r2, #0
	str	r2, [r3]
	b	.L9
.L10:
	ldr	r3, .L12+20
	ldr	r3, [r3]
	ldr	r2, .L12+20
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L12+56
	bl	printf
	ldr	r3, .L12+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L12+20
	str	r3, [r2]
.L9:
	ldr	r3, .L12+20
	ldr	r3, [r3]
	cmp	r3, #255
	ble	.L10
	ldr	r0, .L12+52
	bl	puts
	ldr	r0, .L12+60
	bl	system
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	.LC1
	.word	Password
	.word	.LC2
	.word	LONG
	.word	i
	.word	SUMA
	.word	MULTI
	.word	.LC3
	.word	Mensaje
	.word	caracter
	.word	ncaracter
	.word	Code
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
