	.file	"602592.c"
	.intel_syntax noprefix
	.text
	.globl	tarih
	.bss
	.align 4
	.type	tarih, @object
	.size	tarih, 4
tarih:
	.zero	4
	.section	.rodata
.LC0:
	.string	"icinde bulunan yili gir : "
.LC1:
	.string	"%d"
.LC2:
	.string	"\n malin degerini giriniz :"
.LC3:
	.string	"%ld"
	.align 8
.LC4:
	.string	"\n malin sigorta degerini giriniz : "
	.align 8
.LC5:
	.string	"\n Tahmini deger kaybi yilini girin : "
	.align 8
.LC6:
	.string	"\n straight line (1)\tdecline (2)\t\tYillar toplami (3) "
.LC7:
	.string	"Yontemi secin : "
	.align 8
.LC8:
	.string	"\n diger bir methhod kullanin (1/0)"
.LC9:
	.string	"yeni veri seti ? (1/0)"
	.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
	mov	WORD PTR -34[rbp], 1
	mov	WORD PTR -32[rbp], 1
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, tarih[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L9:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	WORD PTR -32[rbp], 1
	jmp	.L3
.L8:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -30[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, WORD PTR -30[rbp]
	cwde
	cmp	eax, 3
	je	.L4
	cmp	eax, 3
	jg	.L5
	cmp	eax, 1
	je	.L6
	cmp	eax, 2
	je	.L7
	jmp	.L5
.L6:
	mov	edx, DWORD PTR -28[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	straightLine
	jmp	.L5
.L7:
	mov	edx, DWORD PTR -28[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	decline
	jmp	.L5
.L4:
	mov	edx, DWORD PTR -28[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	yillarToplami
	nop
.L5:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L3:
	movzx	eax, WORD PTR -32[rbp]
	cmp	ax, 1
	je	.L8
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -34[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L2:
	movzx	eax, WORD PTR -34[rbp]
	cmp	ax, 1
	je	.L9
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC10:
	.string	"\n %d Yil sonu deger = %ld \t amortisman : %ld \n"
	.text
	.globl	straightLine
	.type	straightLine, @function
straightLine:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rcx, edx
	cqo
	idiv	rcx
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	edx, DWORD PTR tarih[rip]
	mov	eax, DWORD PTR -20[rbp]
	lea	esi, [rdx+rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -40[rbp], rax
	add	DWORD PTR -20[rbp], 1
.L12:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L13
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	straightLine, .-straightLine
	.section	.rodata
	.align 8
.LC11:
	.string	"%d yil sonu deger = %ld \t amortisman = %ld \n"
	.text
	.globl	decline
	.type	decline, @function
decline:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	DWORD PTR -20[rbp], 0
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	cqo
	idiv	rcx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	edx, DWORD PTR tarih[rip]
	mov	eax, DWORD PTR -20[rbp]
	lea	esi, [rdx+rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -40[rbp], rax
	add	DWORD PTR -20[rbp], 1
.L15:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L16
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	decline, .-decline
	.section	.rodata
	.align 8
.LC12:
	.string	"%d yil sonu deger = %ld \t amortisman = %ld \n "
	.text
	.globl	yillarToplami
	.type	yillarToplami, @function
yillarToplami:
.LFB3:
	.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	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 1
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -20[rbp]
	add	DWORD PTR -24[rbp], eax
	add	DWORD PTR -20[rbp], 1
.L18:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L19
	mov	DWORD PTR -20[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, DWORD PTR -20[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, DWORD PTR -24[rbp]
	movaps	xmm1, xmm0
	divss	xmm1, xmm2
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, QWORD PTR -48[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	mulss	xmm0, xmm1
	cvttss2si	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	sub	QWORD PTR -16[rbp], rax
	mov	edx, DWORD PTR tarih[rip]
	mov	eax, DWORD PTR -20[rbp]
	lea	esi, [rdx+rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -20[rbp], 1
.L20:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L21
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	yillarToplami, .-yillarToplami
	.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	"602592.c"
	.text
	.comm	tarih,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"icinde bulunan yili gir : \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"\012 malin degerini giriniz :\000"
	.align	2
.LC3:
	.ascii	"%ld\000"
	.align	2
.LC4:
	.ascii	"\012 malin sigorta degerini giriniz : \000"
	.align	2
.LC5:
	.ascii	"\012 Tahmini deger kaybi yilini girin : \000"
	.align	2
.LC6:
	.ascii	"\012 straight line (1)\011decline (2)\011\011Yillar"
	.ascii	" toplami (3) \000"
	.align	2
.LC7:
	.ascii	"Yontemi secin : \000"
	.align	2
.LC8:
	.ascii	"\012 diger bir methhod kullanin (1/0)\000"
	.align	2
.LC9:
	.ascii	"yeni veri seti ? (1/0)\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 = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	strh	r3, [fp, #-26]	@ movhi
	mov	r3, #1
	strh	r3, [fp, #-24]	@ movhi
	ldr	r0, .L11+4
	bl	printf
	ldr	r1, .L11+8
	ldr	r0, .L11+12
	bl	__isoc99_scanf
	b	.L2
.L9:
	ldr	r0, .L11+16
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L11+20
	bl	__isoc99_scanf
	ldr	r0, .L11+24
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L11+20
	bl	__isoc99_scanf
	ldr	r0, .L11+28
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L11+12
	bl	__isoc99_scanf
	mov	r3, #1
	strh	r3, [fp, #-24]	@ movhi
	b	.L3
.L8:
	ldr	r0, .L11+32
	bl	puts
	ldr	r0, .L11+36
	bl	printf
	sub	r3, fp, #22
	mov	r1, r3
	ldr	r0, .L11+12
	bl	__isoc99_scanf
	ldrsh	r3, [fp, #-22]
	cmp	r3, #3
	beq	.L4
	cmp	r3, #3
	bgt	.L5
	cmp	r3, #1
	beq	.L6
	cmp	r3, #2
	beq	.L7
	b	.L5
.L6:
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r2, [fp, #-12]
	mov	r0, r3
	bl	straightLine
	b	.L5
.L7:
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r2, [fp, #-12]
	mov	r0, r3
	bl	decline
	b	.L5
.L4:
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r2, [fp, #-12]
	mov	r0, r3
	bl	yillarToplami
	nop
.L5:
	ldr	r0, .L11+40
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L11+12
	bl	__isoc99_scanf
.L3:
	ldrsh	r3, [fp, #-24]
	cmp	r3, #1
	beq	.L8
	ldr	r0, .L11+44
	bl	printf
	sub	r3, fp, #26
	mov	r1, r3
	ldr	r0, .L11+12
	bl	__isoc99_scanf
.L2:
	ldrsh	r3, [fp, #-26]
	cmp	r3, #1
	beq	.L9
	nop
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC10
	.word	.LC0
	.word	tarih
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.global	__aeabi_idiv
	.section	.rodata
	.align	2
.LC11:
	.ascii	"\012 %d Yil sonu deger = %ld \011 amortisman : %ld "
	.ascii	"\012\000"
	.text
	.align	2
	.global	straightLine
	.syntax unified
	.arm
	.fpu softvfp
	.type	straightLine, %function
straightLine:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L14
.L15:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r1, r2, r3
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r0, .L16+4
	bl	printf
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L14:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L15
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	tarih
	.word	.LC11
	.size	straightLine, .-straightLine
	.section	.rodata
	.align	2
.LC12:
	.ascii	"%d yil sonu deger = %ld \011 amortisman = %ld \012\000"
	.text
	.align	2
	.global	decline
	.syntax unified
	.arm
	.fpu softvfp
	.type	decline, %function
decline:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L19
.L20:
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-24]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r1, r2, r3
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r0, .L21+4
	bl	printf
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L19:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L20
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	tarih
	.word	.LC12
	.size	decline, .-decline
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_fmul
	.global	__aeabi_f2iz
	.section	.rodata
	.align	2
.LC13:
	.ascii	"%d yil sonu deger = %ld \011 amortisman = %ld \012 "
	.ascii	"\000"
	.text
	.align	2
	.global	yillarToplami
	.syntax unified
	.arm
	.fpu softvfp
	.type	yillarToplami, %function
yillarToplami:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L24
.L25:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L24:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L25
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L26
.L27:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r4, r3
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r1, r2, r3
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	ldr	r0, .L28+4
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L26:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L27
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L29:
	.align	2
.L28:
	.word	tarih
	.word	.LC13
	.size	yillarToplami, .-yillarToplami
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
