	.file	"13529.c"
	.intel_syntax noprefix
	.text
	.data
	.align 4
	.type	SEED, @object
	.size	SEED, 4
SEED:
	.long	65536
	.align 4
	.type	SIZE, @object
	.size	SIZE, 4
SIZE:
	.long	16
	.local	hash
	.comm	hash,0,4
	.text
	.globl	get_random
	.type	get_random, @function
get_random:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	rand@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_random, .-get_random
	.globl	gen_hash
	.type	gen_hash, @function
gen_hash:
.LFB7:
	.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	edx, DWORD PTR SEED[rip]
	mov	eax, DWORD PTR SEED[rip]
	imul	eax, edx
	mov	edi, eax
	call	srand@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L5:
	mov	eax, 0
	call	get_random
	movsd	xmm1, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, hash[rip]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -4[rbp], 1
.L4:
	cmp	DWORD PTR -4[rbp], 255
	jle	.L5
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	gen_hash, .-gen_hash
	.globl	noise2
	.type	noise2, @function
noise2:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	edx, DWORD PTR SEED[rip]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, hash[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, hash[rip]
	mov	eax, DWORD PTR [rdx+rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	noise2, .-noise2
	.globl	lin_inter
	.type	lin_inter, @function
lin_inter:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	movss	DWORD PTR -8[rbp], xmm1
	movss	DWORD PTR -12[rbp], xmm2
	movss	xmm0, DWORD PTR -8[rbp]
	subss	xmm0, DWORD PTR -4[rbp]
	mulss	xmm0, DWORD PTR -12[rbp]
	addss	xmm0, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	lin_inter, .-lin_inter
	.globl	smooth_inter
	.type	smooth_inter, @function
smooth_inter:
.LFB10:
	.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
	movss	DWORD PTR -4[rbp], xmm0
	movss	DWORD PTR -8[rbp], xmm1
	movss	DWORD PTR -12[rbp], xmm2
	movss	xmm0, DWORD PTR -12[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR -12[rbp]
	movaps	xmm2, xmm0
	addss	xmm2, xmm0
	movss	xmm0, DWORD PTR .LC2[rip]
	subss	xmm0, xmm2
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	movaps	xmm2, xmm1
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	lin_inter
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	smooth_inter, .-smooth_inter
	.globl	noise2d
	.type	noise2d, @function
noise2d:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 56
	movss	DWORD PTR -52[rbp], xmm0
	movss	DWORD PTR -56[rbp], xmm1
	movss	xmm0, DWORD PTR -52[rbp]
	cvttss2si	eax, xmm0
	mov	DWORD PTR -40[rbp], eax
	movss	xmm0, DWORD PTR -56[rbp]
	cvttss2si	eax, xmm0
	mov	DWORD PTR -36[rbp], eax
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR -52[rbp]
	subss	xmm0, xmm1
	movss	DWORD PTR -32[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -36[rbp]
	movss	xmm0, DWORD PTR -56[rbp]
	subss	xmm0, xmm1
	movss	DWORD PTR -28[rbp], xmm0
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	call	noise2
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	mov	edi, edx
	call	noise2
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	call	noise2
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	noise2
	mov	DWORD PTR -12[rbp], eax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -20[rbp]
	pxor	xmm3, xmm3
	cvtsi2ss	xmm3, DWORD PTR -24[rbp]
	movd	eax, xmm3
	movss	xmm1, DWORD PTR -32[rbp]
	movaps	xmm2, xmm1
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	smooth_inter
	movd	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -12[rbp]
	pxor	xmm4, xmm4
	cvtsi2ss	xmm4, DWORD PTR -16[rbp]
	movd	eax, xmm4
	movss	xmm1, DWORD PTR -32[rbp]
	movaps	xmm2, xmm1
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	smooth_inter
	movd	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	movss	xmm1, DWORD PTR -28[rbp]
	movss	xmm0, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	movaps	xmm2, xmm1
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	smooth_inter
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	noise2d, .-noise2d
	.globl	perlin2d
	.type	perlin2d, @function
perlin2d:
.LFB12:
	.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
	movss	DWORD PTR -36[rbp], xmm0
	movss	DWORD PTR -40[rbp], xmm1
	movss	DWORD PTR -44[rbp], xmm2
	mov	DWORD PTR -48[rbp], edi
	movss	xmm0, DWORD PTR -36[rbp]
	mulss	xmm0, DWORD PTR -44[rbp]
	movss	DWORD PTR -24[rbp], xmm0
	movss	xmm0, DWORD PTR -40[rbp]
	mulss	xmm0, DWORD PTR -44[rbp]
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR .LC3[rip]
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L15
.L16:
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC5[rip]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -8[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -8[rbp], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	noise2d
	movd	eax, xmm0
	movd	xmm0, eax
	mulss	xmm0, DWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR -12[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm0, DWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR .LC6[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm0, DWORD PTR -24[rbp]
	addss	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	addss	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	add	DWORD PTR -4[rbp], 1
.L15:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jl	.L16
	movss	xmm0, DWORD PTR -12[rbp]
	divss	xmm0, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	perlin2d, .-perlin2d
	.section	.rodata
.LC9:
	.string	"%.0f "
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, 0
	call	gen_hash
	mov	DWORD PTR -4[rbp], 0
	jmp	.L19
.L22:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L20
.L21:
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -4[rbp]
	pxor	xmm3, xmm3
	cvtsi2ss	xmm3, DWORD PTR -8[rbp]
	movd	eax, xmm3
	mov	edi, 4
	movss	xmm2, DWORD PTR .LC7[rip]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	perlin2d
	movss	xmm1, DWORD PTR .LC8[rip]
	mulss	xmm0, xmm1
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L20:
	mov	eax, DWORD PTR SIZE[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L21
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L19:
	mov	eax, DWORD PTR SIZE[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L22
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	-4194304
	.long	1105199103
	.align 8
.LC1:
	.long	0
	.long	1081073664
	.align 4
.LC2:
	.long	1077936128
	.align 4
.LC3:
	.long	1065353216
	.align 4
.LC5:
	.long	1132462080
	.align 4
.LC6:
	.long	1073741824
	.align 4
.LC7:
	.long	1036831949
	.align 4
.LC8:
	.long	1120403456
	.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	"13529.c"
	.text
	.data
	.align	2
	.type	SEED, %object
	.size	SEED, 4
SEED:
	.word	65536
	.align	2
	.type	SIZE, %object
	.size	SIZE, 4
SIZE:
	.word	16
	.local	hash
	.comm	hash,0,4
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.text
	.align	2
	.global	get_random
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_random, %function
get_random:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L3
	ldr	r3, .L3+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	-4194304
	.word	1105199103
	.size	get_random, .-get_random
	.global	__aeabi_dmul
	.global	__aeabi_d2iz
	.align	2
	.global	gen_hash
	.syntax unified
	.arm
	.fpu softvfp
	.type	gen_hash, %function
gen_hash:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L8
	ldr	r3, [r3]
	ldr	r2, .L8
	ldr	r2, [r2]
	mul	r3, r2, r3
	mov	r0, r3
	bl	srand
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L7:
	bl	get_random
	mov	r2, #0
	ldr	r3, .L8+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r2, r0
	ldr	r1, .L8+8
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #255
	ble	.L7
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	SEED
	.word	1081073664
	.word	hash
	.size	gen_hash, .-gen_hash
	.align	2
	.global	noise2
	.syntax unified
	.arm
	.fpu softvfp
	.type	noise2, %function
noise2:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	ldr	r2, .L12+4
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	ldr	r2, .L12+4
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L13:
	.align	2
.L12:
	.word	SEED
	.word	hash
	.size	noise2, .-noise2
	.global	__aeabi_fsub
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.align	2
	.global	lin_inter
	.syntax unified
	.arm
	.fpu softvfp
	.type	lin_inter, %function
lin_inter:
	@ 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]	@ float
	str	r1, [fp, #-12]	@ float
	str	r2, [fp, #-16]	@ float
	ldr	r1, [fp, #-8]	@ float
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, [fp, #-16]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	lin_inter, .-lin_inter
	.align	2
	.global	smooth_inter
	.syntax unified
	.arm
	.fpu softvfp
	.type	smooth_inter, %function
smooth_inter:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-16]	@ float
	str	r1, [fp, #-20]	@ float
	str	r2, [fp, #-24]	@ float
	ldr	r1, [fp, #-24]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-24]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L18
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	lin_inter
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L19:
	.align	2
.L18:
	.word	1077936128
	.size	smooth_inter, .-smooth_inter
	.global	__aeabi_f2iz
	.global	__aeabi_i2f
	.align	2
	.global	noise2d
	.syntax unified
	.arm
	.fpu softvfp
	.type	noise2d, %function
noise2d:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-56]	@ float
	str	r1, [fp, #-60]	@ float
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r0, [fp, #-52]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-44]	@ float
	ldr	r0, [fp, #-48]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-52]
	bl	noise2
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	ldr	r1, [fp, #-48]
	mov	r0, r3
	bl	noise2
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	noise2
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-52]
	add	r2, r3, #1
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	noise2
	str	r0, [fp, #-24]
	ldr	r0, [fp, #-36]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r2, [fp, #-44]	@ float
	mov	r1, r3
	mov	r0, r4
	bl	smooth_inter
	str	r0, [fp, #-20]	@ float
	ldr	r0, [fp, #-28]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r2, [fp, #-44]	@ float
	mov	r1, r3
	mov	r0, r4
	bl	smooth_inter
	str	r0, [fp, #-16]	@ float
	ldr	r2, [fp, #-40]	@ float
	ldr	r1, [fp, #-16]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	smooth_inter
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	noise2d, .-noise2d
	.global	__aeabi_fdiv
	.align	2
	.global	perlin2d
	.syntax unified
	.arm
	.fpu softvfp
	.type	perlin2d, %function
perlin2d:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]	@ float
	str	r1, [fp, #-36]	@ float
	str	r2, [fp, #-40]	@ float
	str	r3, [fp, #-44]
	ldr	r1, [fp, #-40]	@ float
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r1, [fp, #-40]	@ float
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	mov	r3, #1065353216
	str	r3, [fp, #-20]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
	mov	r3, #0
	str	r3, [fp, #-12]	@ float
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L23
.L24:
	ldr	r1, .L26
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	ldr	r1, [fp, #-24]	@ float
	ldr	r0, [fp, #-28]	@ float
	bl	noise2d
	mov	r3, r0
	ldr	r1, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	mov	r1, #1073741824
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-28]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r3, [fp, #-24]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L23:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L24
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	1132462080
	.size	perlin2d, .-perlin2d
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%.0f \000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	bl	gen_hash
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L29
.L32:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L30
.L31:
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2f
	mov	r1, r0
	mov	r3, #4
	ldr	r2, .L34
	mov	r0, r4
	bl	perlin2d
	mov	r3, r0
	ldr	r1, .L34+4
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L34+8
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L30:
	ldr	r3, .L34+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L31
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L29:
	ldr	r3, .L34+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L32
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L35:
	.align	2
.L34:
	.word	1036831949
	.word	1120403456
	.word	.LC0
	.word	SIZE
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
