	.file	"165765532.c"
	.intel_syntax noprefix
	.text
	.globl	userInput
	.bss
	.align 32
	.type	userInput, @object
	.size	userInput, 100
userInput:
	.zero	100
	.globl	firstLetter
	.type	firstLetter, @object
	.size	firstLetter, 1
firstLetter:
	.zero	1
	.section	.rodata
.LC0:
	.string	"Escribe algo:"
.LC1:
	.string	"Espacios no permitidos\n"
.LC2:
	.string	"Unexpected token: %c\n"
.LC3:
	.string	"Invalid number: %i\n"
.LC4:
	.string	"Valid expression :)"
.LC5:
	.string	"es letra"
.LC6:
	.string	"es #"
	.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
	push	rbx
	sub	rsp, 152
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, rax
	mov	esi, 100
	lea	rdi, userInput[rip]
	call	fgets@PLT
	mov	DWORD PTR -144[rbp], 0
	jmp	.L2
.L4:
	call	__ctype_b_loc@PLT
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, userInput[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	rax, al
	add	rax, rax
	add	rax, rcx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, -1
	call	exit@PLT
.L3:
	add	DWORD PTR -144[rbp], 1
.L2:
	mov	eax, DWORD PTR -144[rbp]
	movsx	rbx, eax
	lea	rdi, userInput[rip]
	call	strlen@PLT
	sub	rax, 1
	cmp	rbx, rax
	jb	.L4
	movzx	eax, BYTE PTR userInput[rip]
	mov	BYTE PTR firstLetter[rip], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR firstLetter[rip]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L5
	mov	BYTE PTR -147[rbp], 1
	mov	BYTE PTR -146[rbp], 0
	mov	BYTE PTR -145[rbp], 0
	mov	DWORD PTR -140[rbp], 0
	jmp	.L6
.L14:
	mov	eax, DWORD PTR -140[rbp]
	mov	DWORD PTR -136[rbp], eax
	jmp	.L7
.L12:
	call	__ctype_b_loc@PLT
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, userInput[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	rax, al
	add	rax, rax
	add	rax, rcx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L8
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, userInput[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	mov	BYTE PTR -128[rbp+rax], dl
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, userInput[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 46
	jne	.L10
	cmp	BYTE PTR -145[rbp], 0
	je	.L11
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, userInput[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L11:
	mov	BYTE PTR -145[rbp], 1
	mov	eax, DWORD PTR -136[rbp]
	add	eax, 1
	mov	DWORD PTR -140[rbp], eax
	mov	BYTE PTR -146[rbp], 1
	lea	rax, -128[rbp]
	mov	edx, 100
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	jmp	.L9
.L10:
	mov	BYTE PTR -147[rbp], 0
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, userInput[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L9:
	add	DWORD PTR -136[rbp], 1
.L7:
	mov	eax, DWORD PTR -136[rbp]
	movsx	rbx, eax
	lea	rdi, userInput[rip]
	call	strlen@PLT
	sub	rax, 1
	cmp	rbx, rax
	jb	.L12
	mov	BYTE PTR -147[rbp], 0
	movzx	eax, BYTE PTR -146[rbp]
	xor	eax, 1
	test	al, al
	je	.L13
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -132[rbp], eax
	mov	eax, DWORD PTR -132[rbp]
	and	eax, 1
	test	eax, eax
	je	.L13
	mov	eax, DWORD PTR -132[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L13:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	cmp	BYTE PTR -147[rbp], 0
	jne	.L14
.L5:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR firstLetter[rip]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L15
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L15:
	movzx	eax, BYTE PTR firstLetter[rip]
	cmp	al, 35
	jne	.L16
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L16:
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.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	"165765532.c"
	.text
	.comm	userInput,100,4
	.comm	firstLetter,1,1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Escribe algo:\000"
	.align	2
.LC1:
	.ascii	"Espacios no permitidos\012\000"
	.align	2
.LC2:
	.ascii	"Unexpected token: %c\012\000"
	.align	2
.LC3:
	.ascii	"Invalid number: %i\012\000"
	.align	2
.LC4:
	.ascii	"Valid expression :)\000"
	.align	2
.LC5:
	.ascii	"es letra\000"
	.align	2
.LC6:
	.ascii	"es #\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L19+4
	bl	printf
	ldr	r3, .L19+8
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #100
	ldr	r0, .L19+12
	bl	fgets
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L2
.L4:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r1, .L19+12
	ldr	r3, [fp, #-124]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L19+16
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L19+20
	bl	fwrite
	mvn	r0, #0
	bl	exit
.L3:
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L2:
	ldr	r0, .L19+12
	bl	strlen
	mov	r3, r0
	sub	r2, r3, #1
	ldr	r3, [fp, #-124]
	cmp	r2, r3
	bhi	.L4
	ldr	r3, .L19+12
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L19+24
	strb	r2, [r3]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, .L19+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L5
	mov	r3, #1
	strb	r3, [fp, #-127]
	mov	r3, #0
	strb	r3, [fp, #-126]
	mov	r3, #0
	strb	r3, [fp, #-125]
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L6
.L14:
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-116]
	b	.L7
.L12:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r1, .L19+12
	ldr	r3, [fp, #-116]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L8
	ldr	r2, .L19+12
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #108
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	b	.L9
.L8:
	ldr	r2, .L19+12
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L10
	ldrb	r3, [fp, #-125]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L11
	ldr	r2, .L19+12
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L19+28
	bl	printf
	mvn	r0, #0
	bl	exit
.L11:
	mov	r3, #1
	strb	r3, [fp, #-125]
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-120]
	mov	r3, #1
	strb	r3, [fp, #-126]
	sub	r3, fp, #108
	mov	r2, #100
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L9
.L10:
	mov	r3, #0
	strb	r3, [fp, #-127]
	ldr	r2, .L19+12
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L19+28
	bl	printf
	mvn	r0, #0
	bl	exit
.L9:
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L7:
	ldr	r0, .L19+12
	bl	strlen
	mov	r3, r0
	sub	r2, r3, #1
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	bhi	.L12
	mov	r3, #0
	strb	r3, [fp, #-127]
	ldrb	r3, [fp, #-126]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L13
	sub	r3, fp, #108
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L13
	ldr	r1, [fp, #-112]
	ldr	r0, .L19+32
	bl	printf
	mvn	r0, #0
	bl	exit
.L13:
	ldr	r0, .L19+36
	bl	printf
.L6:
	ldrb	r3, [fp, #-127]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L14
.L5:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, .L19+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L15
	ldr	r0, .L19+40
	bl	printf
.L15:
	ldr	r3, .L19+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L16
	ldr	r0, .L19+44
	bl	printf
.L16:
	mov	r3, #0
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC7
	.word	.LC0
	.word	stdin
	.word	userInput
	.word	stderr
	.word	.LC1
	.word	firstLetter
	.word	.LC2
	.word	.LC3
	.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
