	.file	"232955326.c"
	.intel_syntax noprefix
	.text
	.globl	sn
	.bss
	.align 4
	.type	sn, @object
	.size	sn, 4
sn:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	hasil
	.align 4
	.type	hasil, @object
	.size	hasil, 4
hasil:
	.zero	4
	.globl	hasil2
	.align 4
	.type	hasil2, @object
	.size	hasil2, 4
hasil2:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d \t"
	.text
	.globl	aritmatika
	.type	aritmatika, @function
aritmatika:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	DWORD PTR -16[rbp], ecx
.L2:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	add	DWORD PTR -4[rbp], eax
	add	DWORD PTR -8[rbp], 1
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L2
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	aritmatika, .-aritmatika
	.section	.rodata
.LC1:
	.string	"%d"
	.text
	.globl	jumlah
	.type	jumlah, @function
jumlah:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	eax, DWORD PTR sn[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	lea	ecx, [rax+rax]
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -8[rbp]
	add	eax, ecx
	imul	eax, edx
	mov	DWORD PTR sn[rip], eax
	mov	eax, DWORD PTR sn[rip]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	jumlah, .-jumlah
	.section	.rodata
.LC2:
	.string	"Masukan suku pertama : "
.LC3:
	.string	"Masukan beda :"
.LC4:
	.string	"Masukkan Banyaknya Suku : "
.LC5:
	.string	"Barisan Arimatika : \n"
.LC6:
	.string	"\nJumlah Barisan Deret : %d "
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, i[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, y[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, n[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR n[rip]
	mov	ecx, DWORD PTR y[rip]
	mov	eax, DWORD PTR i[rip]
	mov	esi, ecx
	mov	edi, eax
	call	jumlah
	mov	DWORD PTR sn[rip], eax
	mov	eax, DWORD PTR hasil[rip]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	ecx, DWORD PTR y[rip]
	mov	edx, DWORD PTR n[rip]
	mov	esi, DWORD PTR j[rip]
	mov	eax, DWORD PTR i[rip]
	mov	edi, eax
	call	aritmatika
	mov	DWORD PTR hasil[rip], eax
	mov	eax, DWORD PTR sn[rip]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"232955326.c"
	.text
	.comm	sn,4,4
	.comm	i,4,4
	.comm	j,4,4
	.comm	y,4,4
	.comm	n,4,4
	.comm	hasil,4,4
	.comm	hasil2,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d \011\000"
	.text
	.align	2
	.global	aritmatika
	.syntax unified
	.arm
	.fpu softvfp
	.type	aritmatika, %function
aritmatika:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
.L2:
	ldr	r1, [fp, #-8]
	ldr	r0, .L3
	bl	printf
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L2
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	aritmatika, .-aritmatika
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d\000"
	.text
	.align	2
	.global	jumlah
	.syntax unified
	.arm
	.fpu softvfp
	.type	jumlah, %function
jumlah:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, .L7
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L7+4
	bl	printf
	ldr	r3, [fp, #-16]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r0, r3
	ldr	r3, [fp, #-8]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r1, [fp, #-12]
	mul	r3, r1, r3
	add	r3, r2, r3
	mul	r3, r0, r3
	ldr	r2, .L7
	str	r3, [r2]
	ldr	r3, .L7
	ldr	r3, [r3]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	sn
	.word	.LC1
	.size	jumlah, .-jumlah
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Masukan suku pertama : \000"
	.align	2
.LC3:
	.ascii	"Masukan beda :\000"
	.align	2
.LC4:
	.ascii	"Masukkan Banyaknya Suku : \000"
	.align	2
.LC5:
	.ascii	"Barisan Arimatika : \012\000"
	.align	2
.LC6:
	.ascii	"\012Jumlah Barisan Deret : %d \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, .L11
	bl	printf
	ldr	r1, .L11+4
	ldr	r0, .L11+8
	bl	__isoc99_scanf
	ldr	r0, .L11+12
	bl	printf
	ldr	r1, .L11+16
	ldr	r0, .L11+8
	bl	__isoc99_scanf
	ldr	r0, .L11+20
	bl	printf
	ldr	r1, .L11+24
	ldr	r0, .L11+8
	bl	__isoc99_scanf
	ldr	r3, .L11+4
	ldr	r3, [r3]
	ldr	r2, .L11+16
	ldr	r1, [r2]
	ldr	r2, .L11+24
	ldr	r2, [r2]
	mov	r0, r3
	bl	jumlah
	mov	r3, r0
	ldr	r2, .L11+28
	str	r3, [r2]
	ldr	r3, .L11+32
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L11+36
	bl	printf
	ldr	r3, .L11+4
	ldr	r0, [r3]
	ldr	r3, .L11+40
	ldr	r1, [r3]
	ldr	r3, .L11+24
	ldr	r2, [r3]
	ldr	r3, .L11+16
	ldr	r3, [r3]
	bl	aritmatika
	mov	r3, r0
	ldr	r2, .L11+32
	str	r3, [r2]
	ldr	r3, .L11+28
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L11+44
	bl	printf
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC2
	.word	i
	.word	.LC1
	.word	.LC3
	.word	y
	.word	.LC4
	.word	n
	.word	sn
	.word	hasil
	.word	.LC5
	.word	j
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
