	.file	"598079.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	recu_nums
	.type	recu_nums, @function
recu_nums:
.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	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR stop.0[rip]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR stop.0[rip]
	add	eax, 1
	mov	DWORD PTR stop.0[rip], eax
	mov	eax, DWORD PTR stop.0[rip]
	cmp	DWORD PTR -4[rbp], eax
	jge	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	recu_nums
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	recu_nums, .-recu_nums
	.globl	recu_nums2
	.type	recu_nums2, @function
recu_nums2:
.LFB1:
	.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
	cmp	DWORD PTR -4[rbp], 0
	jns	.L5
	mov	eax, 1
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	edi, eax
	call	recu_nums2
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	recu_nums2, .-recu_nums2
	.section	.rodata
	.align 8
.LC1:
	.string	"Welcome, please enter a number[N]: \n >>> >|:"
.LC2:
	.string	"%d"
.LC3:
	.string	"Invalid input"
	.align 8
.LC4:
	.string	"Question 1, number from 0 to N: \n >>> >|:"
	.align 8
.LC5:
	.string	"Question 2, number from N to 0: \n >>> >|:"
	.text
	.globl	main
	.type	main, @function
main:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L8
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L9:
	jmp	.L9
.L8:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	recu_nums
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	recu_nums2
.L10:
	jmp	.L10
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.local	stop.0
	.comm	stop.0,4,4
	.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	"598079.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	recu_nums
	.syntax unified
	.arm
	.fpu softvfp
	.type	recu_nums, %function
recu_nums:
	@ 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, .L4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L4+4
	bl	printf
	ldr	r3, .L4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L4
	str	r3, [r2]
	ldr	r3, .L4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L2
	mov	r3, #1
	b	.L3
.L2:
	ldr	r0, [fp, #-8]
	bl	recu_nums
	mov	r3, r0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	stop.4601
	.word	.LC0
	.size	recu_nums, .-recu_nums
	.align	2
	.global	recu_nums2
	.syntax unified
	.arm
	.fpu softvfp
	.type	recu_nums2, %function
recu_nums2:
	@ 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, [fp, #-8]
	cmp	r3, #0
	bge	.L7
	mov	r3, #1
	b	.L8
.L7:
	ldr	r1, [fp, #-8]
	ldr	r0, .L9
	bl	printf
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	mov	r0, r3
	bl	recu_nums2
	mov	r3, r0
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.size	recu_nums2, .-recu_nums2
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Welcome, please enter a number[N]: \012 >>> >|:\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"Invalid input\000"
	.align	2
.LC4:
	.ascii	"Question 1, number from 0 to N: \012 >>> >|:\000"
	.align	2
.LC5:
	.ascii	"Question 2, number from N to 0: \012 >>> >|:\000"
	.align	2
.LC6:
	.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, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L16+4
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L12
	ldr	r0, .L16+12
	bl	puts
.L13:
	b	.L13
.L12:
	ldr	r0, .L16+16
	bl	puts
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	recu_nums
	ldr	r0, .L16+20
	bl	puts
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	recu_nums2
.L14:
	b	.L14
.L17:
	.align	2
.L16:
	.word	.LC6
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.local	stop.4601
	.comm	stop.4601,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
