	.file	"438526.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"Unesite n: "
.LC2:
	.string	"%d"
.LC3:
	.string	"i: %d\n"
.LC4:
	.string	"Faktorijel brojilac: %d\n"
.LC5:
	.string	"Suma brojilac: %10.3f\n"
.LC6:
	.string	"Faktorijel imenilac: %d\n"
.LC7:
	.string	"Stepen imenilac: %d\n"
.LC8:
	.string	"Clan : %10.3f\n"
.LC9:
	.string	"Suma: %10.3f\n"
	.align 8
.LC10:
	.string	"==================================="
	.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -48[rbp], -1
	pxor	xmm0, xmm0
	movss	DWORD PTR -44[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -40[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	mov	DWORD PTR -36[rbp], 1
	mov	DWORD PTR -32[rbp], 1
	mov	DWORD PTR -28[rbp], 1
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -60[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -60[rbp]
	test	eax, eax
	jle	.L2
	mov	DWORD PTR -56[rbp], 1
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -36[rbp], eax
	add	DWORD PTR -56[rbp], 1
.L3:
	mov	eax, DWORD PTR -60[rbp]
	sal	eax, 2
	cmp	DWORD PTR -56[rbp], eax
	jle	.L4
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	DWORD PTR -56[rbp], 1
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	neg	DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -60[rbp]
	sal	eax, 2
	add	eax, 1
	sub	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR -32[rbp]
	cdq
	idiv	esi
	mov	DWORD PTR -32[rbp], eax
	mov	DWORD PTR -28[rbp], 1
	mov	DWORD PTR -52[rbp], 1
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -28[rbp]
	imul	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -28[rbp], eax
	add	DWORD PTR -52[rbp], 1
.L6:
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 2
	cmp	DWORD PTR -52[rbp], eax
	jl	.L7
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, 2
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR -40[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -40[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	imul	eax, DWORD PTR -36[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	eax, DWORD PTR -32[rbp]
	imul	eax, DWORD PTR -28[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -40[rbp]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -12[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -44[rbp]
	addss	xmm0, DWORD PTR -12[rbp]
	movss	DWORD PTR -44[rbp], xmm0
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -44[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	add	DWORD PTR -56[rbp], 1
.L5:
	mov	eax, DWORD PTR -60[rbp]
	cmp	DWORD PTR -56[rbp], eax
	jle	.L8
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, DWORD PTR -44[rbp]
	movq	rax, xmm6
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L15
.L2:
	mov	eax, DWORD PTR -60[rbp]
	neg	eax
	mov	DWORD PTR -60[rbp], eax
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 1
	jmp	.L10
.L13:
	mov	edx, DWORD PTR -60[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -24[rbp], eax
	mov	ecx, DWORD PTR -24[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -24[rbp], edx
	cmp	DWORD PTR -24[rbp], 0
	je	.L11
	sub	DWORD PTR -24[rbp], 1
	jmp	.L12
.L11:
	mov	DWORD PTR -24[rbp], 9
.L12:
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, DWORD PTR -16[rbp]
	add	DWORD PTR -20[rbp], eax
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -60[rbp], eax
.L10:
	mov	eax, DWORD PTR -60[rbp]
	test	eax, eax
	jg	.L13
	neg	DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L15:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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	"438526.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Unesite n: \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"i: %d\012\000"
	.global	__aeabi_idiv
	.global	__aeabi_i2f
	.global	__aeabi_fadd
	.align	2
.LC3:
	.ascii	"Faktorijel brojilac: %d\012\000"
	.global	__aeabi_f2d
	.align	2
.LC4:
	.ascii	"Suma brojilac: %10.3f\012\000"
	.align	2
.LC5:
	.ascii	"Faktorijel imenilac: %d\012\000"
	.align	2
.LC6:
	.ascii	"Stepen imenilac: %d\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_d2f
	.align	2
.LC7:
	.ascii	"Clan : %10.3f\012\000"
	.align	2
.LC8:
	.ascii	"Suma: %10.3f\012\000"
	.align	2
.LC9:
	.ascii	"===================================\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]	@ float
	mov	r3, #0
	str	r3, [fp, #-48]	@ float
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	mov	r3, #1
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-36]
	ldr	r0, .L16+4
	bl	printf
	sub	r3, fp, #68
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	ble	.L2
	mov	r3, #1
	str	r3, [fp, #-64]
	b	.L3
.L4:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-64]
	mul	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L3:
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	ble	.L4
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-64]
	b	.L5
.L8:
	ldr	r1, [fp, #-64]
	ldr	r0, .L16+12
	bl	printf
	ldr	r3, [fp, #-56]
	rsb	r3, r3, #0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	add	r2, r3, #1
	ldr	r3, [fp, #-64]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-36]
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L6
.L7:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-64]
	mul	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L6:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L7
	ldr	r2, [fp, #-64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r3, r3, #2
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-48]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-48]	@ float
	ldr	r1, [fp, #-44]
	ldr	r0, .L16+16
	bl	printf
	ldr	r0, [fp, #-48]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+20
	bl	printf
	ldr	r1, [fp, #-40]
	ldr	r0, .L16+24
	bl	printf
	ldr	r1, [fp, #-36]
	ldr	r0, .L16+28
	bl	printf
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	mul	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-48]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+32
	bl	printf
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-52]	@ float
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+36
	bl	printf
	ldr	r0, .L16+40
	bl	puts
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L5:
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	ble	.L8
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+36
	bl	printf
	b	.L15
.L2:
	ldr	r3, [fp, #-68]
	rsb	r3, r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L10
.L13:
	ldr	r2, [fp, #-68]
	ldr	r3, .L16+44
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L12
.L11:
	mov	r3, #9
	str	r3, [fp, #-32]
.L12:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	mul	r3, r2, r3
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-68]
	ldr	r2, .L16+44
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-68]
.L10:
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	bgt	.L13
	ldr	r3, [fp, #-28]
	rsb	r3, r3, #0
	str	r3, [fp, #-28]
	ldr	r1, [fp, #-28]
	ldr	r0, .L16+8
	bl	printf
.L15:
	nop
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	1717986919
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
