	.file	"816025.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"The sum is :\n"
	.text
	.globl	perfectNumber
	.type	perfectNumber, @function
perfectNumber:
.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, 384
	mov	DWORD PTR -372[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -340[rbp], 0
	mov	DWORD PTR -352[rbp], 2
	jmp	.L2
.L7:
	mov	DWORD PTR -348[rbp], 0
	mov	eax, DWORD PTR -352[rbp]
	mov	DWORD PTR -344[rbp], eax
	mov	DWORD PTR -356[rbp], 1
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -352[rbp]
	cdq
	idiv	DWORD PTR -356[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L4
	mov	eax, DWORD PTR -348[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -348[rbp], edx
	cdqe
	mov	edx, DWORD PTR -356[rbp]
	mov	DWORD PTR -336[rbp+rax*4], edx
	mov	eax, DWORD PTR -356[rbp]
	sub	DWORD PTR -344[rbp], eax
.L4:
	add	DWORD PTR -356[rbp], 1
.L3:
	mov	eax, DWORD PTR -352[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cmp	DWORD PTR -356[rbp], eax
	jle	.L5
	cmp	DWORD PTR -344[rbp], 0
	jne	.L6
	mov	eax, DWORD PTR -352[rbp]
	mov	edi, eax
	mov	eax, 0
	call	Mars_PrintInt@PLT
	add	DWORD PTR -340[rbp], 1
.L6:
	add	DWORD PTR -352[rbp], 1
.L2:
	mov	eax, DWORD PTR -352[rbp]
	cmp	eax, DWORD PTR -372[rbp]
	jl	.L7
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	Mars_PrintStr@PLT
	mov	eax, DWORD PTR -340[rbp]
	mov	edi, eax
	mov	eax, 0
	call	Mars_PrintInt@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	perfectNumber, .-perfectNumber
	.section	.rodata
	.align 8
.LC1:
	.string	"All perfect numbers within 100:\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	Mars_PrintStr@PLT
	mov	edi, 100
	call	perfectNumber
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"816025.c"
	.text
	.global	__aeabi_idivmod
	.section	.rodata
	.align	2
.LC0:
	.ascii	"The sum is :\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	perfectNumber
	.syntax unified
	.arm
	.fpu softvfp
	.type	perfectNumber, %function
perfectNumber:
	@ args = 0, pretend = 0, frame = 352
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #352
	str	r0, [fp, #-352]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-332]
	mov	r3, #2
	str	r3, [fp, #-344]
	b	.L2
.L7:
	mov	r3, #0
	str	r3, [fp, #-340]
	ldr	r3, [fp, #-344]
	str	r3, [fp, #-336]
	mov	r3, #1
	str	r3, [fp, #-348]
	b	.L3
.L5:
	ldr	r3, [fp, #-344]
	ldr	r1, [fp, #-348]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-340]
	add	r2, r3, #1
	str	r2, [fp, #-340]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-348]
	str	r2, [r3, #-324]
	ldr	r2, [fp, #-336]
	ldr	r3, [fp, #-348]
	sub	r3, r2, r3
	str	r3, [fp, #-336]
.L4:
	ldr	r3, [fp, #-348]
	add	r3, r3, #1
	str	r3, [fp, #-348]
.L3:
	ldr	r3, [fp, #-344]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-348]
	cmp	r3, r2
	ble	.L5
	ldr	r3, [fp, #-336]
	cmp	r3, #0
	bne	.L6
	ldr	r0, [fp, #-344]
	bl	Mars_PrintInt
	ldr	r3, [fp, #-332]
	add	r3, r3, #1
	str	r3, [fp, #-332]
.L6:
	ldr	r3, [fp, #-344]
	add	r3, r3, #1
	str	r3, [fp, #-344]
.L2:
	ldr	r2, [fp, #-344]
	ldr	r3, [fp, #-352]
	cmp	r2, r3
	blt	.L7
	ldr	r0, .L10+4
	bl	Mars_PrintStr
	ldr	r0, [fp, #-332]
	bl	Mars_PrintInt
	nop
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	.LC0
	.size	perfectNumber, .-perfectNumber
	.section	.rodata
	.align	2
.LC2:
	.ascii	"All perfect numbers within 100:\012\000"
	.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
	ldr	r0, .L14
	bl	Mars_PrintStr
	mov	r0, #100
	bl	perfectNumber
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
