	.file	"765461.c"
	.intel_syntax noprefix
	.text
	.globl	i
	.bss
	.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	data
	.align 4
	.type	data, @object
	.size	data, 4
data:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	bantu
	.align 4
	.type	bantu, @object
	.size	bantu, 4
bantu:
	.zero	4
	.globl	h
	.align 32
	.type	h, @object
	.size	h, 400
h:
	.zero	400
	.globl	A
	.align 32
	.type	A, @object
	.size	A, 400
A:
	.zero	400
	.section	.rodata
.LC0:
	.string	"=====Bayu Dwi Prastyo====="
.LC1:
	.string	"========2016470126========"
.LC2:
	.string	"\n"
.LC3:
	.string	"INPUT JUMLAH DATA = "
.LC4:
	.string	"%d"
.LC5:
	.string	"A[%d] = "
	.align 8
.LC6:
	.string	"****************** DATA BELUM TERURUT ******************"
.LC7:
	.string	" A = { "
.LC8:
	.string	"%d,"
.LC9:
	.string	" } "
.LC10:
	.string	" }\007 "
	.align 8
.LC11:
	.string	"********************* DATA SUDAH TERURUT ******************** "
	.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
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, data[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR i[rip], 1
	jmp	.L2
.L3:
	mov	eax, DWORD PTR i[rip]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L2:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR data[rip]
	cmp	edx, eax
	jle	.L3
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR i[rip], 1
	jmp	.L4
.L5:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L4:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR data[rip]
	cmp	edx, eax
	jle	.L5
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR i[rip], 1
	jmp	.L6
.L12:
	mov	eax, DWORD PTR data[rip]
	mov	DWORD PTR j[rip], eax
	jmp	.L7
.L11:
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR j[rip]
	sub	eax, 1
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jle	.L8
	mov	eax, DWORD PTR j[rip]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR bantu[rip], eax
	mov	eax, DWORD PTR j[rip]
	mov	edx, DWORD PTR j[rip]
	lea	ecx, -1[rdx]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rdx, ecx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, h[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR bantu[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, h[rip]
	mov	DWORD PTR [rcx+rdx], eax
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR k[rip], 1
	jmp	.L9
.L10:
	mov	eax, DWORD PTR k[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR k[rip]
	add	eax, 1
	mov	DWORD PTR k[rip], eax
.L9:
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR data[rip]
	cmp	edx, eax
	jle	.L10
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	eax, DWORD PTR j[rip]
	sub	eax, 1
	mov	DWORD PTR j[rip], eax
.L7:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR j[rip]
	cmp	edx, eax
	jl	.L11
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L6:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR data[rip]
	cmp	edx, eax
	jle	.L12
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR i[rip], 1
	jmp	.L13
.L14:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L13:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR data[rip]
	cmp	edx, eax
	jle	.L14
	mov	edi, 125
	call	putchar@PLT
	mov	eax, 0
	pop	rbp
	.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	"765461.c"
	.text
	.comm	i,4,4
	.comm	j,4,4
	.comm	data,4,4
	.comm	k,4,4
	.comm	bantu,4,4
	.comm	h,400,4
	.comm	A,400,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"=====Bayu Dwi Prastyo=====\000"
	.align	2
.LC1:
	.ascii	"========2016470126========\000"
	.align	2
.LC2:
	.ascii	"\012\000"
	.align	2
.LC3:
	.ascii	"INPUT JUMLAH DATA = \000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"A[%d] = \000"
	.align	2
.LC6:
	.ascii	"****************** DATA BELUM TERURUT *************"
	.ascii	"*****\000"
	.align	2
.LC7:
	.ascii	" A = { \000"
	.align	2
.LC8:
	.ascii	"%d,\000"
	.align	2
.LC9:
	.ascii	" } \000"
	.align	2
.LC10:
	.ascii	" }\007 \000"
	.align	2
.LC11:
	.ascii	"********************* DATA SUDAH TERURUT **********"
	.ascii	"********** \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, .L16
	bl	puts
	ldr	r0, .L16+4
	bl	printf
	ldr	r0, .L16+8
	bl	puts
	ldr	r0, .L16+12
	bl	printf
	ldr	r1, .L16+16
	ldr	r0, .L16+20
	bl	__isoc99_scanf
	ldr	r0, .L16+8
	bl	puts
	ldr	r3, .L16+24
	mov	r2, #1
	str	r2, [r3]
	b	.L2
.L3:
	ldr	r3, .L16+24
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L16+28
	bl	printf
	ldr	r3, .L16+24
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, .L16+32
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L16+20
	bl	__isoc99_scanf
	ldr	r3, .L16+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16+24
	str	r3, [r2]
.L2:
	ldr	r3, .L16+24
	ldr	r2, [r3]
	ldr	r3, .L16+16
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L3
	ldr	r0, .L16+8
	bl	puts
	ldr	r0, .L16+36
	bl	printf
	ldr	r0, .L16+8
	bl	puts
	ldr	r0, .L16+40
	bl	printf
	ldr	r3, .L16+24
	mov	r2, #1
	str	r2, [r3]
	b	.L4
.L5:
	ldr	r3, .L16+24
	ldr	r3, [r3]
	ldr	r2, .L16+32
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L16+44
	bl	printf
	ldr	r3, .L16+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16+24
	str	r3, [r2]
.L4:
	ldr	r3, .L16+24
	ldr	r2, [r3]
	ldr	r3, .L16+16
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L5
	ldr	r0, .L16+48
	bl	printf
	ldr	r3, .L16+24
	mov	r2, #1
	str	r2, [r3]
	b	.L6
.L12:
	ldr	r3, .L16+16
	ldr	r3, [r3]
	ldr	r2, .L16+52
	str	r3, [r2]
	b	.L7
.L11:
	ldr	r3, .L16+52
	ldr	r3, [r3]
	ldr	r2, .L16+32
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L16+52
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r1, .L16+32
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	ble	.L8
	ldr	r3, .L16+52
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L16+32
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L16+56
	str	r3, [r2]
	ldr	r3, .L16+52
	ldr	r2, [r3]
	ldr	r3, .L16+52
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r1, .L16+32
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L16+32
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L16+52
	ldr	r3, [r3]
	ldr	r2, .L16+56
	ldr	r2, [r2]
	ldr	r1, .L16+32
	str	r2, [r1, r3, lsl #2]
	ldr	r0, .L16+8
	bl	puts
	ldr	r0, .L16+40
	bl	printf
	ldr	r3, .L16+60
	mov	r2, #1
	str	r2, [r3]
	b	.L9
.L10:
	ldr	r3, .L16+60
	ldr	r3, [r3]
	ldr	r2, .L16+32
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L16+44
	bl	printf
	ldr	r3, .L16+60
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16+60
	str	r3, [r2]
.L9:
	ldr	r3, .L16+60
	ldr	r2, [r3]
	ldr	r3, .L16+16
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L10
	ldr	r0, .L16+64
	bl	printf
.L8:
	ldr	r3, .L16+52
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L16+52
	str	r3, [r2]
.L7:
	ldr	r3, .L16+24
	ldr	r2, [r3]
	ldr	r3, .L16+52
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L11
	ldr	r3, .L16+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16+24
	str	r3, [r2]
.L6:
	ldr	r3, .L16+24
	ldr	r2, [r3]
	ldr	r3, .L16+16
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L12
	ldr	r0, .L16+8
	bl	puts
	ldr	r0, .L16+68
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r0, .L16+40
	bl	printf
	ldr	r3, .L16+24
	mov	r2, #1
	str	r2, [r3]
	b	.L13
.L14:
	ldr	r3, .L16+24
	ldr	r3, [r3]
	ldr	r2, .L16+32
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L16+44
	bl	printf
	ldr	r3, .L16+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16+24
	str	r3, [r2]
.L13:
	ldr	r3, .L16+24
	ldr	r2, [r3]
	ldr	r3, .L16+16
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L14
	mov	r0, #125
	bl	putchar
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	data
	.word	.LC4
	.word	i
	.word	.LC5
	.word	h
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	j
	.word	bantu
	.word	k
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
