	.file	"107382.c"
	.intel_syntax noprefix
	.text
	.globl	kapitalwert
	.type	kapitalwert, @function
kapitalwert:
.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
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	QWORD PTR -16[rbp], xmm1
	mov	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 0
	jne	.L2
	movsd	xmm0, QWORD PTR -8[rbp]
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, -1[rax]
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	edi, edx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	kapitalwert
	movsd	xmm2, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR .LC0[rip]
	addsd	xmm1, xmm2
	mulsd	xmm0, xmm1
.L3:
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	kapitalwert, .-kapitalwert
	.section	.rodata
	.align 8
.LC2:
	.string	"Bitte Kapital in EUR, Zinssatz in %% und Jahre eingeben:\n"
.LC3:
	.string	"%lf%lf%i"
	.align 8
.LC4:
	.string	"Der Kapitalwert nach %i Jahren betraegt %.2f EUR.\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
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	mov	DWORD PTR -28[rbp], 0
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -28[rbp]
	lea	rdx, -16[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	scanf_s@PLT
	mov	edx, DWORD PTR -28[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	edi, edx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	kapitalwert
	movq	rax, xmm0
	mov	edx, DWORD PTR -28[rbp]
	movq	xmm0, rax
	mov	esi, edx
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.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	"107382.c"
	.text
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.align	2
	.global	kapitalwert
	.syntax unified
	.arm
	.fpu softvfp
	.type	kapitalwert, %function
kapitalwert:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L2
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	b	.L3
.L2:
	ldr	r3, [fp, #4]
	sub	r3, r3, #1
	str	r3, [sp]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	kapitalwert
	mov	r4, r0
	mov	r5, r1
	mov	r2, #0
	ldr	r3, .L4
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
.L3:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L5:
	.align	2
.L4:
	.word	1072693248
	.size	kapitalwert, .-kapitalwert
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Bitte Kapital in EUR, Zinssatz in %% und Jahre eing"
	.ascii	"eben:\012\000"
	.align	2
.LC1:
	.ascii	"%lf%lf%i\000"
	.align	2
.LC2:
	.ascii	"Der Kapitalwert nach %i Jahren betraegt %.2f EUR.\012"
	.ascii	"\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 = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r0, .L9+4
	bl	printf
	sub	r3, fp, #40
	sub	r2, fp, #28
	sub	r1, fp, #36
	ldr	r0, .L9+8
	bl	scanf_s
	ldr	r4, [fp, #-40]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-40]
	str	ip, [sp]
	bl	kapitalwert
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L9+12
	bl	printf
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L10:
	.align	2
.L9:
	.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
