	.file	"148579151.c"
	.intel_syntax noprefix
	.text
	.globl	r
	.bss
	.align 4
	.type	r, @object
	.size	r, 4
r:
	.zero	4
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	y
	.data
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.long	2
	.globl	z
	.bss
	.align 4
	.type	z, @object
	.size	z, 4
z:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"Indique valor del limite superior: "
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"Error, numero deber\303\241 ser entre 1 y mil. "
	.align 8
.LC3:
	.string	"Indique valor del limite inferior: "
	.align 8
.LC4:
	.string	"Error. La diferencia entre los limites debe de ser mayor que 10"
	.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
	jmp	.L2
.L9:
	mov	DWORD PTR x[rip], 0
	mov	DWORD PTR y[rip], 0
	jmp	.L3
.L5:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, x[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR x[rip]
	test	eax, eax
	jle	.L4
	mov	eax, DWORD PTR x[rip]
	cmp	eax, 1000
	jle	.L3
.L4:
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L3:
	mov	eax, DWORD PTR x[rip]
	test	eax, eax
	jle	.L5
	mov	eax, DWORD PTR x[rip]
	cmp	eax, 1000
	jg	.L5
	jmp	.L6
.L8:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, r[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR r[rip]
	test	eax, eax
	jle	.L7
	mov	eax, DWORD PTR r[rip]
	cmp	eax, 1000
	jle	.L6
.L7:
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L6:
	mov	eax, DWORD PTR r[rip]
	test	eax, eax
	jle	.L8
	mov	eax, DWORD PTR r[rip]
	cmp	eax, 1000
	jg	.L8
	mov	eax, DWORD PTR x[rip]
	lea	edx, -10[rax]
	mov	eax, DWORD PTR r[rip]
	cmp	edx, eax
	jg	.L2
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L2:
	mov	eax, DWORD PTR x[rip]
	mov	edx, DWORD PTR r[rip]
	sub	eax, edx
	cmp	eax, 9
	jle	.L9
	jmp	.L10
.L13:
	mov	eax, DWORD PTR x[rip]
	mov	ecx, DWORD PTR y[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	test	eax, eax
	jne	.L12
	mov	DWORD PTR z[rip], 1
.L12:
	mov	eax, DWORD PTR y[rip]
	add	eax, 1
	mov	DWORD PTR y[rip], eax
.L11:
	mov	edx, DWORD PTR y[rip]
	mov	eax, DWORD PTR r[rip]
	cmp	edx, eax
	jl	.L13
	mov	eax, DWORD PTR z[rip]
	test	eax, eax
	jne	.L14
	mov	eax, DWORD PTR r[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	mov	eax, DWORD PTR r[rip]
	add	eax, 1
	mov	DWORD PTR r[rip], eax
.L10:
	mov	edx, DWORD PTR r[rip]
	mov	eax, DWORD PTR x[rip]
	cmp	edx, eax
	jle	.L11
	mov	eax, 0
	pop	rbp
	.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	"148579151.c"
	.text
	.comm	r,4,4
	.comm	x,4,4
	.global	y
	.data
	.align	2
	.type	y, %object
	.size	y, 4
y:
	.word	2
	.global	z
	.bss
	.align	2
	.type	z, %object
	.size	z, 4
z:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Indique valor del limite superior: \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Error, numero deber\303\241 ser entre 1 y mil. \000"
	.align	2
.LC3:
	.ascii	"Indique valor del limite inferior: \000"
	.align	2
.LC4:
	.ascii	"Error. La diferencia entre los limites debe de ser "
	.ascii	"mayor que 10\000"
	.global	__aeabi_idivmod
	.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
	b	.L2
.L9:
	ldr	r3, .L17
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L17+4
	mov	r2, #0
	str	r2, [r3]
	b	.L3
.L5:
	ldr	r0, .L17+8
	bl	printf
	ldr	r1, .L17
	ldr	r0, .L17+12
	bl	__isoc99_scanf
	ldr	r3, .L17
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L4
	ldr	r3, .L17
	ldr	r3, [r3]
	cmp	r3, #1000
	ble	.L3
.L4:
	ldr	r0, .L17+16
	bl	puts
.L3:
	ldr	r3, .L17
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L5
	ldr	r3, .L17
	ldr	r3, [r3]
	cmp	r3, #1000
	bgt	.L5
	b	.L6
.L8:
	ldr	r0, .L17+20
	bl	printf
	ldr	r1, .L17+24
	ldr	r0, .L17+12
	bl	__isoc99_scanf
	ldr	r3, .L17+24
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L7
	ldr	r3, .L17+24
	ldr	r3, [r3]
	cmp	r3, #1000
	ble	.L6
.L7:
	ldr	r0, .L17+16
	bl	puts
.L6:
	ldr	r3, .L17+24
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L8
	ldr	r3, .L17+24
	ldr	r3, [r3]
	cmp	r3, #1000
	bgt	.L8
	ldr	r3, .L17
	ldr	r3, [r3]
	sub	r2, r3, #10
	ldr	r3, .L17+24
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L2
	ldr	r0, .L17+28
	bl	puts
.L2:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, .L17+24
	ldr	r3, [r3]
	sub	r3, r2, r3
	cmp	r3, #9
	ble	.L9
	b	.L10
.L13:
	ldr	r3, .L17
	ldr	r3, [r3]
	ldr	r2, .L17+4
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L17+32
	mov	r2, #1
	str	r2, [r3]
.L12:
	ldr	r3, .L17+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L17+4
	str	r3, [r2]
.L11:
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, .L17+24
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L13
	ldr	r3, .L17+32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L17+24
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L17+12
	bl	printf
.L14:
	ldr	r3, .L17+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L17+24
	str	r3, [r2]
.L10:
	ldr	r3, .L17+24
	ldr	r2, [r3]
	ldr	r3, .L17
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L11
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	x
	.word	y
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	r
	.word	.LC4
	.word	z
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
