	.file	"441314.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%c^%.0ld+"
.LC1:
	.string	"\b=%d armstrong sayidir.\n"
.LC2:
	.string	"\b=%d armstrong sayi de\304\237il.\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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L15:
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	lea	rax, -19[rbp]
	mov	edx, 11
	mov	esi, -1
	mov	rdi, rax
	call	memset@PLT
	jmp	.L3
.L6:
	cmp	BYTE PTR -45[rbp], 47
	jle	.L4
	cmp	BYTE PTR -45[rbp], 57
	jg	.L4
	mov	eax, DWORD PTR -40[rbp]
	movzx	edx, BYTE PTR -45[rbp]
	mov	BYTE PTR -19[rbp+rax], dl
	add	DWORD PTR -40[rbp], 1
.L4:
	call	getchar@PLT
	mov	BYTE PTR -45[rbp], al
.L3:
	cmp	BYTE PTR -45[rbp], 10
	je	.L5
	cmp	BYTE PTR -45[rbp], -1
	jne	.L6
.L5:
	mov	eax, DWORD PTR -40[rbp]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, -19[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	DWORD PTR -40[rbp], 0
	jmp	.L7
.L12:
	mov	eax, DWORD PTR -40[rbp]
	movzx	eax, BYTE PTR -19[rbp+rax]
	movsx	eax, al
	mov	rdx, QWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	js	.L8
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L9
.L8:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L9:
	mov	eax, DWORD PTR -40[rbp]
	movzx	eax, BYTE PTR -19[rbp+rax]
	movsx	eax, al
	sub	eax, 48
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movq	rax, xmm2
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movapd	xmm1, xmm0
	mov	eax, DWORD PTR -44[rbp]
	test	rax, rax
	js	.L10
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L11
.L10:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L11:
	addsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	DWORD PTR -44[rbp], eax
	add	DWORD PTR -40[rbp], 1
.L7:
	mov	eax, DWORD PTR -40[rbp]
	cmp	QWORD PTR -32[rbp], rax
	ja	.L12
	cmp	QWORD PTR -32[rbp], 0
	je	.L13
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jne	.L14
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L13:
	mov	QWORD PTR -32[rbp], 0
.L2:
	call	getchar@PLT
	mov	BYTE PTR -45[rbp], al
	cmp	BYTE PTR -45[rbp], -1
	jne	.L15
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	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	"441314.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%c^%.0ld+\000"
	.global	__aeabi_i2d
	.global	__aeabi_ui2d
	.global	__aeabi_dadd
	.global	__aeabi_d2uiz
	.align	2
.LC1:
	.ascii	"\010=%d armstrong sayidir.\012\000"
	.align	2
.LC2:
	.ascii	"\010=%d armstrong sayi de\304\237il.\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	b	.L2
.L5:
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L4
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L4
	sub	r2, fp, #28
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-45]
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L4:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-45]
.L3:
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L5
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-36]
	sub	r3, fp, #28
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L6
.L7:
	sub	r2, fp, #28
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-36]
	mov	r1, r3
	ldr	r0, .L12+4
	bl	printf
	sub	r2, fp, #28
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-36]
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-44]
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2uiz
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L6:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bcc	.L7
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L8
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bne	.L9
	ldr	r1, [fp, #-32]
	ldr	r0, .L12+8
	bl	printf
	b	.L8
.L9:
	ldr	r1, [fp, #-32]
	ldr	r0, .L12+12
	bl	printf
.L8:
	mov	r3, #0
	str	r3, [fp, #-36]
.L2:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-45]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-44]
	sub	r3, fp, #28
	mov	r2, #11
	mvn	r1, #0
	mov	r0, r3
	bl	memset
	b	.L3
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
