	.file	"245839.c"
	.intel_syntax noprefix
	.text
	.globl	usage
	.data
	.align 32
	.type	usage, @object
	.size	usage, 42
usage:
	.string	"Usage: from number to number [by number]\n"
	.globl	signmsg
	.align 16
	.type	signmsg, @object
	.size	signmsg, 26
signmsg:
	.string	"Increment has wrong sign\n"
	.section	.rodata
.LC0:
	.string	"by"
.LC1:
	.string	"Increment must be non-zero\n"
.LC2:
	.string	"to"
.LC3:
	.string	"%d\n"
	.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 4
	je	.L2
	cmp	DWORD PTR -20[rbp], 6
	je	.L3
	jmp	.L20
.L2:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L5
.L3:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L6
	lea	rdi, usage[rip]
	mov	eax, 0
	call	error
	jmp	.L21
.L6:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	numeric
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L21
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	error
	jmp	.L21
.L20:
	lea	rdi, usage[rip]
	mov	eax, 0
	call	error
	jmp	.L5
.L21:
	nop
.L5:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L8
	lea	rdi, usage[rip]
	mov	eax, 0
	call	error
.L8:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	numeric
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	numeric
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -8[rbp]
	test	eax, eax
	jns	.L9
	mov	edx, -1
	jmp	.L10
.L9:
	mov	edx, 1
.L10:
	cmp	DWORD PTR -12[rbp], 0
	jns	.L11
	mov	eax, -1
	jmp	.L12
.L11:
	mov	eax, 1
.L12:
	imul	eax, edx
	test	eax, eax
	jns	.L13
	lea	rdi, signmsg[rip]
	mov	eax, 0
	call	error
.L13:
	cmp	DWORD PTR -12[rbp], 0
	jle	.L14
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	add	DWORD PTR -16[rbp], eax
.L15:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jle	.L16
	jmp	.L17
.L14:
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	add	DWORD PTR -16[rbp], eax
.L18:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jge	.L19
.L17:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	numeric
	.type	numeric, @function
numeric:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, rbx
	mov	eax, 0
	call	atoi@PLT
	mov	r12d, eax
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 45
	jne	.L24
	add	rbx, 1
	jmp	.L24
.L27:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 47
	jle	.L25
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 57
	jle	.L26
.L25:
	lea	rdi, usage[rip]
	mov	eax, 0
	call	error
.L26:
	add	rbx, 1
.L24:
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L27
	mov	eax, r12d
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	numeric, .-numeric
	.section	.rodata
.LC4:
	.string	"%r"
	.text
	.globl	error
	.type	error, @function
error:
.LFB2:
	.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	DWORD PTR -4[rbp], edi
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -4[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE2:
	.size	error, .-error
	.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	"245839.c"
	.text
	.global	usage
	.data
	.align	2
	.type	usage, %object
	.size	usage, 42
usage:
	.ascii	"Usage: from number to number [by number]\012\000"
	.global	signmsg
	.align	2
	.type	signmsg, %object
	.size	signmsg, 26
signmsg:
	.ascii	"Increment has wrong sign\012\000"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"by\000"
	.align	2
.LC1:
	.ascii	"Increment must be non-zero\012\000"
	.align	2
.LC2:
	.ascii	"to\000"
	.align	2
.LC3:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #4
	beq	.L2
	ldr	r3, [fp, #-24]
	cmp	r3, #6
	beq	.L3
	b	.L20
.L2:
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L5
.L3:
	ldr	r3, [fp, #-28]
	add	r3, r3, #16
	ldr	r3, [r3]
	ldr	r1, .L22
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r0, .L22+4
	bl	error
	b	.L21
.L6:
	ldr	r3, [fp, #-28]
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r0, r3
	bl	numeric
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L21
	ldr	r0, .L22+8
	bl	error
	b	.L21
.L20:
	ldr	r0, .L22+4
	bl	error
	b	.L5
.L21:
	nop
.L5:
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L22+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	ldr	r0, .L22+4
	bl	error
.L8:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	numeric
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-28]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	numeric
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	cmp	r3, #0
	bge	.L9
	mvn	r3, #0
	b	.L10
.L9:
	mov	r3, #1
.L10:
	ldr	r2, [fp, #-16]
	cmp	r2, #0
	bge	.L11
	mvn	r2, #0
	b	.L12
.L11:
	mov	r2, #1
.L12:
	mul	r3, r2, r3
	cmp	r3, #0
	bge	.L13
	ldr	r0, .L22+16
	bl	error
.L13:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L14
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-20]
	b	.L15
.L16:
	ldr	r1, [fp, #-20]
	ldr	r0, .L22+20
	bl	printf
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-20]
.L15:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L16
	b	.L17
.L14:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-20]
	b	.L18
.L19:
	ldr	r1, [fp, #-20]
	ldr	r0, .L22+20
	bl	printf
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-20]
.L18:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bge	.L19
.L17:
	mov	r0, #0
	bl	exit
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	usage
	.word	.LC1
	.word	.LC2
	.word	signmsg
	.word	.LC3
	.size	main, .-main
	.align	2
	.global	numeric
	.syntax unified
	.arm
	.fpu softvfp
	.type	numeric, %function
numeric:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	mov	r4, r0
	mov	r0, r4
	bl	atoi
	mov	r5, r0
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L26
	add	r4, r4, #1
	b	.L26
.L29:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L27
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L28
.L27:
	ldr	r0, .L31
	bl	error
.L28:
	add	r4, r4, #1
.L26:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L29
	mov	r3, r5
	mov	r0, r3
	pop	{r4, r5, fp, pc}
.L32:
	.align	2
.L31:
	.word	usage
	.size	numeric, .-numeric
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%r\000"
	.text
	.align	2
	.global	error
	.syntax unified
	.arm
	.fpu softvfp
	.type	error, %function
error:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L34
	ldr	r3, [r3]
	sub	r2, fp, #8
	ldr	r1, .L34+4
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L35:
	.align	2
.L34:
	.word	stderr
	.word	.LC4
	.size	error, .-error
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
