	.file	"90762940.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Usuario VS. Maquina"
	.align 8
.LC1:
	.string	"1) Piedra\n2) Papel\n3) Tijeras\n"
.LC2:
	.string	"Ingrese una opci%cn: "
.LC3:
	.string	"%hd"
.LC4:
	.string	"Piedra VS. Piedra\nEmpate\n"
	.align 8
.LC5:
	.string	"Pierdra VS. Papel\nJuego Perdido\n"
	.align 8
.LC6:
	.string	"Pierdra VS. Tijeras\nJuego Ganado\n"
	.align 8
.LC7:
	.string	"Papel VS. Piedra\nJuego Ganado\n"
.LC8:
	.string	"Papel VS. Papel\nEmpate\n"
	.align 8
.LC9:
	.string	"Papel VS. Tijeras\nJuego Perdido\n"
	.align 8
.LC10:
	.string	"Tijeras VS. Piedra\nJuego Perdido\n"
	.align 8
.LC11:
	.string	"Tijeras VS. Papel\nJuego Ganando\n"
.LC12:
	.string	"Tijeras VS. Tijeras\nEmpate\n"
.LC13:
	.string	"Opci%cn no v%clida.\n"
	.align 8
.LC14:
	.string	"Usuario: %hd VS. Maquina: %hd\n"
.LC15:
	.string	"GANADOR!!!"
.LC16:
	.string	"Perdedor :,v"
	.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	WORD PTR -16[rbp], 0
	mov	WORD PTR -14[rbp], 0
	mov	WORD PTR -12[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L20:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	esi, 162
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	mov	edi, eax
	mov	eax, 0
	call	srand@PLT
	mov	eax, 0
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	ecx, edx
	add	ecx, ecx
	add	ecx, edx
	sub	eax, ecx
	mov	edx, eax
	mov	eax, edx
	add	eax, 1
	mov	WORD PTR -10[rbp], ax
	movzx	eax, WORD PTR -16[rbp]
	cwde
	cmp	eax, 3
	je	.L2
	cmp	eax, 3
	jg	.L3
	cmp	eax, 1
	je	.L4
	cmp	eax, 2
	je	.L5
	jmp	.L3
.L4:
	movsx	eax, WORD PTR -10[rbp]
	cmp	eax, 3
	je	.L6
	cmp	eax, 3
	jg	.L25
	cmp	eax, 1
	je	.L8
	cmp	eax, 2
	je	.L9
	jmp	.L25
.L8:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L7
.L9:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	movzx	eax, WORD PTR -12[rbp]
	add	eax, 1
	mov	WORD PTR -12[rbp], ax
	jmp	.L7
.L6:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	movzx	eax, WORD PTR -14[rbp]
	add	eax, 1
	mov	WORD PTR -14[rbp], ax
	nop
.L7:
	jmp	.L25
.L5:
	movsx	eax, WORD PTR -10[rbp]
	cmp	eax, 3
	je	.L11
	cmp	eax, 3
	jg	.L26
	cmp	eax, 1
	je	.L13
	cmp	eax, 2
	je	.L14
	jmp	.L26
.L13:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	movzx	eax, WORD PTR -14[rbp]
	add	eax, 1
	mov	WORD PTR -14[rbp], ax
	jmp	.L12
.L14:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L12
.L11:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	movzx	eax, WORD PTR -12[rbp]
	add	eax, 1
	mov	WORD PTR -12[rbp], ax
	nop
.L12:
	jmp	.L26
.L2:
	movsx	eax, WORD PTR -10[rbp]
	cmp	eax, 3
	je	.L15
	cmp	eax, 3
	jg	.L27
	cmp	eax, 1
	je	.L17
	cmp	eax, 2
	je	.L18
	jmp	.L27
.L17:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	movzx	eax, WORD PTR -12[rbp]
	add	eax, 1
	mov	WORD PTR -12[rbp], ax
	jmp	.L16
.L18:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	movzx	eax, WORD PTR -14[rbp]
	add	eax, 1
	mov	WORD PTR -14[rbp], ax
	jmp	.L16
.L15:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	nop
.L16:
	jmp	.L27
.L3:
	mov	edx, 160
	mov	esi, 163
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L25:
	nop
	jmp	.L10
.L26:
	nop
	jmp	.L10
.L27:
	nop
.L10:
	movsx	edx, WORD PTR -12[rbp]
	movsx	eax, WORD PTR -14[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	WORD PTR -14[rbp], 3
	je	.L19
	cmp	WORD PTR -12[rbp], 3
	jne	.L20
.L19:
	cmp	WORD PTR -14[rbp], 3
	jne	.L21
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L22
.L21:
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L22:
	call	getchar@PLT
	call	getchar@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	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	"90762940.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usuario VS. Maquina\000"
	.align	2
.LC1:
	.ascii	"1) Piedra\0122) Papel\0123) Tijeras\012\000"
	.align	2
.LC2:
	.ascii	"Ingrese una opci%cn: \000"
	.align	2
.LC3:
	.ascii	"%hd\000"
	.align	2
.LC4:
	.ascii	"Piedra VS. Piedra\012Empate\012\000"
	.align	2
.LC5:
	.ascii	"Pierdra VS. Papel\012Juego Perdido\012\000"
	.align	2
.LC6:
	.ascii	"Pierdra VS. Tijeras\012Juego Ganado\012\000"
	.align	2
.LC7:
	.ascii	"Papel VS. Piedra\012Juego Ganado\012\000"
	.align	2
.LC8:
	.ascii	"Papel VS. Papel\012Empate\012\000"
	.align	2
.LC9:
	.ascii	"Papel VS. Tijeras\012Juego Perdido\012\000"
	.align	2
.LC10:
	.ascii	"Tijeras VS. Piedra\012Juego Perdido\012\000"
	.align	2
.LC11:
	.ascii	"Tijeras VS. Papel\012Juego Ganando\012\000"
	.align	2
.LC12:
	.ascii	"Tijeras VS. Tijeras\012Empate\012\000"
	.align	2
.LC13:
	.ascii	"Opci%cn no v%clida.\012\000"
	.align	2
.LC14:
	.ascii	"Usuario: %hd VS. Maquina: %hd\012\000"
	.align	2
.LC15:
	.ascii	"GANADOR!!!\000"
	.align	2
.LC16:
	.ascii	"Perdedor :,v\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strh	r3, [fp, #-16]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-14]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-12]	@ movhi
	ldr	r0, .L28+4
	bl	puts
.L20:
	ldr	r0, .L28+8
	bl	puts
	mov	r1, #162
	ldr	r0, .L28+12
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L28+16
	bl	__isoc99_scanf
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	bl	rand
	mov	r1, r0
	ldr	r3, .L28+20
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r1, r3
	lsl	r3, r2, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-10]	@ movhi
	ldrsh	r3, [fp, #-16]
	cmp	r3, #3
	beq	.L2
	cmp	r3, #3
	bgt	.L3
	cmp	r3, #1
	beq	.L4
	cmp	r3, #2
	beq	.L5
	b	.L3
.L4:
	ldrsh	r3, [fp, #-10]
	cmp	r3, #3
	beq	.L6
	cmp	r3, #3
	bgt	.L25
	cmp	r3, #1
	beq	.L8
	cmp	r3, #2
	beq	.L9
	b	.L25
.L8:
	ldr	r0, .L28+24
	bl	puts
	b	.L7
.L9:
	ldr	r0, .L28+28
	bl	puts
	ldrsh	r3, [fp, #-12]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-12]	@ movhi
	b	.L7
.L6:
	ldr	r0, .L28+32
	bl	puts
	ldrsh	r3, [fp, #-14]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-14]	@ movhi
	nop
.L7:
	b	.L25
.L5:
	ldrsh	r3, [fp, #-10]
	cmp	r3, #3
	beq	.L11
	cmp	r3, #3
	bgt	.L26
	cmp	r3, #1
	beq	.L13
	cmp	r3, #2
	beq	.L14
	b	.L26
.L13:
	ldr	r0, .L28+36
	bl	puts
	ldrsh	r3, [fp, #-14]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-14]	@ movhi
	b	.L12
.L14:
	ldr	r0, .L28+40
	bl	puts
	b	.L12
.L11:
	ldr	r0, .L28+44
	bl	puts
	ldrsh	r3, [fp, #-12]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-12]	@ movhi
	nop
.L12:
	b	.L26
.L2:
	ldrsh	r3, [fp, #-10]
	cmp	r3, #3
	beq	.L15
	cmp	r3, #3
	bgt	.L27
	cmp	r3, #1
	beq	.L17
	cmp	r3, #2
	beq	.L18
	b	.L27
.L17:
	ldr	r0, .L28+48
	bl	puts
	ldrsh	r3, [fp, #-12]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-12]	@ movhi
	b	.L16
.L18:
	ldr	r0, .L28+52
	bl	puts
	ldrsh	r3, [fp, #-14]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-14]	@ movhi
	b	.L16
.L15:
	ldr	r0, .L28+56
	bl	puts
	nop
.L16:
	b	.L27
.L3:
	mov	r2, #160
	mov	r1, #163
	ldr	r0, .L28+60
	bl	printf
	b	.L10
.L25:
	nop
	b	.L10
.L26:
	nop
	b	.L10
.L27:
	nop
.L10:
	ldrsh	r3, [fp, #-14]
	ldrsh	r2, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L28+64
	bl	printf
	ldrsh	r3, [fp, #-14]
	cmp	r3, #3
	beq	.L19
	ldrsh	r3, [fp, #-12]
	cmp	r3, #3
	bne	.L20
.L19:
	ldrsh	r3, [fp, #-14]
	cmp	r3, #3
	bne	.L21
	ldr	r0, .L28+68
	bl	printf
	b	.L22
.L21:
	ldr	r0, .L28+72
	bl	printf
.L22:
	bl	getchar
	bl	getchar
	mov	r3, #0
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC17
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	1431655766
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
