	.text
	.attribute	4, 16
	.attribute	5, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_v1p0_zicsr2p0_zifencei2p0_zve32f1p0_zve32x1p0_zve64d1p0_zve64f1p0_zve64x1p0_zvl128b1p0_zvl32b1p0_zvl64b1p0"
	.file	"conv.c"
	.globl	generate_random_kernel          # -- Begin function generate_random_kernel
	.p2align	1
	.type	generate_random_kernel,@function
generate_random_kernel:                 # @generate_random_kernel
# %bb.0:                                # %entry
	addi	sp, sp, -32
	sd	ra, 24(sp)                      # 8-byte Folded Spill
	sd	s0, 16(sp)                      # 8-byte Folded Spill
	fsd	fs0, 8(sp)                      # 8-byte Folded Spill
	mv	s0, a0
	call	rand
	fcvt.s.w	fa5, a0
	lui	a0, 196608
	fmv.w.x	fs0, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 0(s0)
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 4(s0)
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 8(s0)
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 12(s0)
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 16(s0)
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 20(s0)
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 24(s0)
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 28(s0)
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 32(s0)
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 36(s0)
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 40(s0)
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 44(s0)
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 48(s0)
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 52(s0)
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 56(s0)
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 60(s0)
	ld	ra, 24(sp)                      # 8-byte Folded Reload
	ld	s0, 16(sp)                      # 8-byte Folded Reload
	fld	fs0, 8(sp)                      # 8-byte Folded Reload
	addi	sp, sp, 32
	ret
.Lfunc_end0:
	.size	generate_random_kernel, .Lfunc_end0-generate_random_kernel
                                        # -- End function
	.globl	convolve                        # -- Begin function convolve
	.p2align	1
	.type	convolve,@function
convolve:                               # @convolve
# %bb.0:                                # %entry
	addi	sp, sp, -128
	sd	s0, 120(sp)                     # 8-byte Folded Spill
	sd	s1, 112(sp)                     # 8-byte Folded Spill
	sd	s2, 104(sp)                     # 8-byte Folded Spill
	sd	s3, 96(sp)                      # 8-byte Folded Spill
	sd	s4, 88(sp)                      # 8-byte Folded Spill
	sd	s5, 80(sp)                      # 8-byte Folded Spill
	sd	s6, 72(sp)                      # 8-byte Folded Spill
	sd	s7, 64(sp)                      # 8-byte Folded Spill
	sd	s8, 56(sp)                      # 8-byte Folded Spill
	sd	s9, 48(sp)                      # 8-byte Folded Spill
	sd	s10, 40(sp)                     # 8-byte Folded Spill
	csrr	a3, vlenb
	li	a4, 12
	mul	a3, a3, a4
	sub	sp, sp, a3
	li	t0, 0
	addi	a3, a2, 2047
	addi	a3, a3, 453
	addi	a4, a0, 2047
	addi	a4, a4, 1089
	addi	a6, a1, 64
	csrr	a5, vlenb
	srli	s0, a5, 3
	sltu	a4, a2, a4
	sltu	s1, a0, a3
	and	a4, a4, s1
	sltu	s1, a2, a6
	sltu	a3, a1, a3
	and	a3, a3, s1
	or	a3, a3, a4
	slli	s9, a5, 1
	li	a4, 28
	mul	a4, s0, a4
	andi	a6, a4, 24
	srli	s10, a5, 1
	sltiu	a4, s0, 7
	xori	a3, a3, 1
	and	a7, a4, a3
	fmv.w.x	fa5, zero
	li	a3, 100
	li	t1, 25
	addi	t2, a1, 4
	addi	t3, a1, 8
	addi	t4, a1, 12
	addi	t5, a1, 16
	addi	t6, a1, 20
	addi	s2, a1, 24
	addi	s3, a1, 28
	addi	s4, a1, 32
	addi	s5, a1, 36
	addi	s6, a1, 40
	addi	s7, a1, 44
	addi	s8, a1, 48
.LBB1_1:                                # %for.cond1.preheader
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB1_4 Depth 2
                                        #     Child Loop BB1_7 Depth 2
	bnez	a7, .LBB1_3
# %bb.2:                                #   in Loop: Header=BB1_1 Depth=1
	li	a4, 0
	j	.LBB1_6
.LBB1_3:                                # %vector.ph
                                        #   in Loop: Header=BB1_1 Depth=1
	vsetvli	a4, zero, e32, m2, ta, ma
	vlse32.v	v8, (a1), zero
	csrr	a4, vlenb
	li	a5, 10
	mul	a4, a4, a5
	add	a4, a4, sp
	addi	a4, a4, 32
	vs2r.v	v8, (a4)                        # Unknown-size Folded Spill
	vlse32.v	v8, (t2), zero
	csrr	a4, vlenb
	slli	a4, a4, 3
	add	a4, a4, sp
	addi	a4, a4, 32
	vs2r.v	v8, (a4)                        # Unknown-size Folded Spill
	vlse32.v	v8, (t3), zero
	csrr	a4, vlenb
	li	a5, 6
	mul	a4, a4, a5
	add	a4, a4, sp
	addi	a4, a4, 32
	vs2r.v	v8, (a4)                        # Unknown-size Folded Spill
	vlse32.v	v8, (t4), zero
	csrr	a4, vlenb
	slli	a4, a4, 2
	add	a4, a4, sp
	addi	a4, a4, 32
	vs2r.v	v8, (a4)                        # Unknown-size Folded Spill
	vlse32.v	v8, (t5), zero
	csrr	a4, vlenb
	slli	a4, a4, 1
	add	a4, a4, sp
	addi	a4, a4, 32
	vs2r.v	v8, (a4)                        # Unknown-size Folded Spill
	vlse32.v	v8, (t6), zero
	addi	a4, sp, 32
	vs2r.v	v8, (a4)                        # Unknown-size Folded Spill
	vlse32.v	v20, (s2), zero
	vlse32.v	v22, (s3), zero
	vlse32.v	v24, (s4), zero
	vlse32.v	v26, (s5), zero
	vlse32.v	v28, (s6), zero
	vlse32.v	v30, (s7), zero
	vlse32.v	v0, (s8), zero
	addi	a4, a1, 52
	vlse32.v	v2, (a4), zero
	addi	a4, a1, 56
	vlse32.v	v4, (a4), zero
	addi	a4, a1, 60
	vlse32.v	v6, (a4), zero
	li	a5, 0
	mv	s0, a6
.LBB1_4:                                # %vector.body
                                        #   Parent Loop BB1_1 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	add	s1, a0, a5
	vl2re32.v	v8, (s1)
	vmv.v.i	v10, 0
	addi	a4, s1, 4
	vl2re32.v	v12, (a4)
	addi	a4, s1, 8
	vl2re32.v	v14, (a4)
	addi	a4, s1, 12
	vl2re32.v	v16, (a4)
	sd	a1, 8(sp)
	csrr	a1, vlenb
	li	a4, 10
	mul	a1, a1, a4
	add	a1, a1, sp
	addi	a1, a1, 32
	vl2r.v	v18, (a1)                       # Unknown-size Folded Reload
	vfmacc.vv	v10, v18, v8
	csrr	a1, vlenb
	slli	a1, a1, 3
	add	a1, a1, sp
	addi	a1, a1, 32
	vl2r.v	v8, (a1)                        # Unknown-size Folded Reload
	vfmadd.vv	v12, v8, v10
	csrr	a4, vlenb
	li	a1, 6
	mul	a4, a4, a1
	ld	a1, 8(sp)
	add	a4, a4, sp
	addi	a4, a4, 32
	vl2r.v	v8, (a4)                        # Unknown-size Folded Reload
	vfmadd.vv	v14, v8, v12
	csrr	a4, vlenb
	slli	a4, a4, 2
	add	a4, a4, sp
	addi	a4, a4, 32
	vl2r.v	v8, (a4)                        # Unknown-size Folded Reload
	vfmadd.vv	v16, v8, v14
	addi	a4, s1, 112
	vl2re32.v	v8, (a4)
	addi	a4, s1, 116
	vl2re32.v	v10, (a4)
	addi	a4, s1, 120
	vl2re32.v	v12, (a4)
	addi	a4, s1, 124
	vl2re32.v	v14, (a4)
	csrr	a4, vlenb
	slli	a4, a4, 1
	add	a4, a4, sp
	addi	a4, a4, 32
	vl2r.v	v18, (a4)                       # Unknown-size Folded Reload
	vfmadd.vv	v8, v18, v16
	addi	a4, sp, 32
	vl2r.v	v16, (a4)                       # Unknown-size Folded Reload
	vfmadd.vv	v10, v16, v8
	vfmadd.vv	v12, v20, v10
	vfmadd.vv	v14, v22, v12
	addi	a4, s1, 224
	vl2re32.v	v8, (a4)
	addi	a4, s1, 228
	vl2re32.v	v10, (a4)
	addi	a4, s1, 232
	vl2re32.v	v12, (a4)
	addi	a4, s1, 236
	vl2re32.v	v16, (a4)
	vfmadd.vv	v8, v24, v14
	vfmadd.vv	v10, v26, v8
	vfmadd.vv	v12, v28, v10
	vfmadd.vv	v16, v30, v12
	addi	a4, s1, 336
	vl2re32.v	v8, (a4)
	addi	a4, s1, 340
	vl2re32.v	v10, (a4)
	addi	a4, s1, 344
	vl2re32.v	v12, (a4)
	addi	a4, s1, 348
	vl2re32.v	v14, (a4)
	vfmadd.vv	v8, v0, v16
	vfmadd.vv	v10, v2, v8
	vfmadd.vv	v12, v4, v10
	vfmadd.vv	v14, v6, v12
	add	a4, a2, a5
	vs2r.v	v14, (a4)
	sub	s0, s0, s10
	add	a5, a5, s9
	bnez	s0, .LBB1_4
# %bb.5:                                #   in Loop: Header=BB1_1 Depth=1
	mv	a4, a6
.LBB1_6:                                # %for.cond5.preheader.preheader
                                        #   in Loop: Header=BB1_1 Depth=1
	addi	t0, t0, 1
	slli	a4, a4, 2
.LBB1_7:                                # %for.cond5.preheader
                                        #   Parent Loop BB1_1 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	add	a5, a0, a4
	flw	fa4, 0(a5)
	flw	fa3, 0(a1)
	flw	fa2, 4(a5)
	flw	fa1, 4(a1)
	flw	fa0, 8(a5)
	flw	ft0, 8(a1)
	flw	ft1, 12(a5)
	flw	ft2, 12(a1)
	fmadd.s	fa4, fa4, fa3, fa5
	fmadd.s	fa4, fa2, fa1, fa4
	fmadd.s	fa4, fa0, ft0, fa4
	fmadd.s	fa4, ft1, ft2, fa4
	flw	fa3, 112(a5)
	flw	fa2, 16(a1)
	flw	fa1, 116(a5)
	flw	fa0, 20(a1)
	flw	ft0, 120(a5)
	flw	ft1, 24(a1)
	flw	ft2, 124(a5)
	flw	ft3, 28(a1)
	fmadd.s	fa4, fa3, fa2, fa4
	fmadd.s	fa4, fa1, fa0, fa4
	fmadd.s	fa4, ft0, ft1, fa4
	fmadd.s	fa4, ft2, ft3, fa4
	flw	fa3, 224(a5)
	flw	fa2, 32(a1)
	flw	fa1, 228(a5)
	flw	fa0, 36(a1)
	flw	ft0, 232(a5)
	flw	ft1, 40(a1)
	flw	ft2, 236(a5)
	flw	ft3, 44(a1)
	fmadd.s	fa4, fa3, fa2, fa4
	fmadd.s	fa4, fa1, fa0, fa4
	fmadd.s	fa4, ft0, ft1, fa4
	fmadd.s	fa4, ft2, ft3, fa4
	flw	fa3, 336(a5)
	flw	fa2, 48(a1)
	flw	fa1, 340(a5)
	flw	fa0, 52(a1)
	flw	ft0, 344(a5)
	flw	ft1, 56(a1)
	flw	ft2, 348(a5)
	flw	ft3, 60(a1)
	fmadd.s	fa4, fa3, fa2, fa4
	fmadd.s	fa4, fa1, fa0, fa4
	fmadd.s	fa4, ft0, ft1, fa4
	fmadd.s	fa4, ft2, ft3, fa4
	add	a5, a2, a4
	addi	a4, a4, 4
	fsw	fa4, 0(a5)
	bne	a4, a3, .LBB1_7
# %bb.8:                                # %for.cond.cleanup3
                                        #   in Loop: Header=BB1_1 Depth=1
	addi	a0, a0, 112
	addi	a2, a2, 100
	bne	t0, t1, .LBB1_1
# %bb.9:                                # %for.cond.cleanup
	csrr	a0, vlenb
	li	a1, 12
	mul	a0, a0, a1
	add	sp, sp, a0
	ld	s0, 120(sp)                     # 8-byte Folded Reload
	ld	s1, 112(sp)                     # 8-byte Folded Reload
	ld	s2, 104(sp)                     # 8-byte Folded Reload
	ld	s3, 96(sp)                      # 8-byte Folded Reload
	ld	s4, 88(sp)                      # 8-byte Folded Reload
	ld	s5, 80(sp)                      # 8-byte Folded Reload
	ld	s6, 72(sp)                      # 8-byte Folded Reload
	ld	s7, 64(sp)                      # 8-byte Folded Reload
	ld	s8, 56(sp)                      # 8-byte Folded Reload
	ld	s9, 48(sp)                      # 8-byte Folded Reload
	ld	s10, 40(sp)                     # 8-byte Folded Reload
	addi	sp, sp, 128
	ret
.Lfunc_end1:
	.size	convolve, .Lfunc_end1-convolve
                                        # -- End function
	.globl	flatten                         # -- Begin function flatten
	.p2align	1
	.type	flatten,@function
flatten:                                # @flatten
# %bb.0:                                # %entry
	csrr	a2, vlenb
	srli	a3, a2, 3
	li	a4, 6
	bltu	a4, a3, .LBB2_3
# %bb.1:                                # %vector.memcheck
	lui	a4, 1
	addiw	a4, a4, -1596
	add	a5, a0, a4
	bgeu	a1, a5, .LBB2_4
# %bb.2:                                # %vector.memcheck
	add	a4, a4, a1
	bgeu	a0, a4, .LBB2_4
.LBB2_3:
	li	a6, 0
	j	.LBB2_6
.LBB2_4:                                # %vector.ph
	li	t2, 0
	li	a5, 28
	mul	a3, a3, a5
	andi	a6, a3, 24
	srli	a7, a2, 1
	li	a3, 50
	mul	t0, a2, a3
	li	a2, 100
	vsetvli	a3, zero, e32, m2, ta, ma
	mv	t1, a6
.LBB2_5:                                # %vector.body
                                        # =>This Inner Loop Header: Depth=1
	add	a4, a0, t2
	vlse32.v	v8, (a4), a2
	add	a5, a1, t2
	vsse32.v	v8, (a5), a2
	addi	a3, a4, 4
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 4
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 8
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 8
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 12
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 12
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 16
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 16
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 20
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 20
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 24
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 24
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 28
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 28
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 32
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 32
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 36
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 36
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 40
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 40
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 44
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 44
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 48
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 48
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 52
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 52
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 56
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 56
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 60
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 60
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 64
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 64
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 68
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 68
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 72
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 72
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 76
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 76
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 80
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 80
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 84
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 84
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 88
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 88
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 92
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 92
	vsse32.v	v8, (a3), a2
	addi	a3, a4, 96
	vlse32.v	v8, (a3), a2
	addi	a3, a5, 96
	vsse32.v	v8, (a3), a2
	sub	t1, t1, a7
	add	t2, t2, t0
	bnez	t1, .LBB2_5
.LBB2_6:                                # %for.cond1.preheader.preheader
	li	a2, 100
	mul	a2, a6, a2
	addi	a3, a2, 48
	add	a2, a0, a3
	add	a1, a1, a3
	addi	a0, a0, 2047
	addi	a0, a0, 501
.LBB2_7:                                # %for.cond1.preheader
                                        # =>This Inner Loop Header: Depth=1
	flw	fa5, -48(a2)
	fsw	fa5, -48(a1)
	flw	fa5, -44(a2)
	fsw	fa5, -44(a1)
	flw	fa5, -40(a2)
	fsw	fa5, -40(a1)
	flw	fa5, -36(a2)
	fsw	fa5, -36(a1)
	flw	fa5, -32(a2)
	fsw	fa5, -32(a1)
	flw	fa5, -28(a2)
	fsw	fa5, -28(a1)
	flw	fa5, -24(a2)
	fsw	fa5, -24(a1)
	flw	fa5, -20(a2)
	fsw	fa5, -20(a1)
	flw	fa5, -16(a2)
	fsw	fa5, -16(a1)
	flw	fa5, -12(a2)
	fsw	fa5, -12(a1)
	flw	fa5, -8(a2)
	fsw	fa5, -8(a1)
	flw	fa5, -4(a2)
	fsw	fa5, -4(a1)
	flw	fa5, 0(a2)
	fsw	fa5, 0(a1)
	flw	fa5, 4(a2)
	fsw	fa5, 4(a1)
	flw	fa5, 8(a2)
	fsw	fa5, 8(a1)
	flw	fa5, 12(a2)
	fsw	fa5, 12(a1)
	flw	fa5, 16(a2)
	fsw	fa5, 16(a1)
	flw	fa5, 20(a2)
	fsw	fa5, 20(a1)
	flw	fa5, 24(a2)
	fsw	fa5, 24(a1)
	flw	fa5, 28(a2)
	fsw	fa5, 28(a1)
	flw	fa5, 32(a2)
	fsw	fa5, 32(a1)
	flw	fa5, 36(a2)
	fsw	fa5, 36(a1)
	flw	fa5, 40(a2)
	fsw	fa5, 40(a1)
	flw	fa5, 44(a2)
	fsw	fa5, 44(a1)
	flw	fa5, 48(a2)
	fsw	fa5, 48(a1)
	addi	a2, a2, 100
	addi	a1, a1, 100
	bne	a2, a0, .LBB2_7
# %bb.8:                                # %for.cond.cleanup
	ret
.Lfunc_end2:
	.size	flatten, .Lfunc_end2-flatten
                                        # -- End function
	.globl	fully_connected                 # -- Begin function fully_connected
	.p2align	1
	.type	fully_connected,@function
fully_connected:                        # @fully_connected
# %bb.0:                                # %entry
	addi	sp, sp, -64
	sd	s0, 56(sp)                      # 8-byte Folded Spill
	sd	s1, 48(sp)                      # 8-byte Folded Spill
	sd	s2, 40(sp)                      # 8-byte Folded Spill
	sd	s3, 32(sp)                      # 8-byte Folded Spill
	sd	s4, 24(sp)                      # 8-byte Folded Spill
	sd	s5, 16(sp)                      # 8-byte Folded Spill
	sd	s6, 8(sp)                       # 8-byte Folded Spill
	lui	a4, 5
	addiw	t0, a4, 2020
	addiw	t1, a4, -480
	lui	a4, 4
	addiw	t2, a4, 1116
	addiw	t3, a4, -1384
	lui	a4, 3
	addiw	t4, a4, 212
	lui	a4, 2
	addiw	t5, a4, 1808
	addiw	t6, a4, -692
	lui	a4, 1
	addiw	s2, a4, 904
	csrr	a6, vlenb
	srli	a7, a6, 3
	li	a4, 157
	addi	s4, a1, 2047
	bltu	a7, a4, .LBB3_2
# %bb.1:
	li	s3, 0
	fmv.w.x	fa5, zero
	j	.LBB3_5
.LBB3_2:                                # %vector.ph
	li	a4, 1020
	mul	a4, a7, a4
	andi	s3, a4, 624
	srli	s5, a6, 1
	vsetvli	a4, zero, e32, m1, ta, ma
	vmv.s.x	v8, zero
	slli	s6, a6, 1
	mv	s1, s3
	mv	a5, a1
	mv	s0, a0
.LBB3_3:                                # %vector.body
                                        # =>This Inner Loop Header: Depth=1
	vl2re32.v	v10, (s0)
	vl2re32.v	v12, (a5)
	vsetvli	a4, zero, e32, m2, ta, ma
	vfmul.vv	v10, v10, v12
	vfredosum.vs	v8, v10, v8
	add	s0, s0, s6
	sub	s1, s1, s5
	add	a5, a5, s6
	bnez	s1, .LBB3_3
# %bb.4:
	vfmv.f.s	fa5, v8
.LBB3_5:                                # %for.body4.preheader
	add	t0, t0, a1
	add	t1, t1, a1
	add	t2, t2, a1
	add	t3, t3, a1
	add	t4, t4, a1
	add	t5, t5, a1
	add	t6, t6, a1
	add	s5, a1, s2
	addi	a4, s4, 453
	slli	s1, s3, 2
	add	s0, a1, s1
	add	s1, s1, a0
	addi	a5, s4, 453
.LBB3_6:                                # %for.body4
                                        # =>This Inner Loop Header: Depth=1
	flw	fa4, 0(s1)
	flw	fa3, 0(s0)
	fmadd.s	fa5, fa4, fa3, fa5
	addi	s0, s0, 4
	addi	s1, s1, 4
	bne	s0, a5, .LBB3_6
# %bb.7:                                # %for.cond.cleanup3
	flw	fa4, 0(a2)
	fadd.s	fa5, fa5, fa4
	li	a5, 156
	fsw	fa5, 0(a3)
	bgeu	a5, a7, .LBB3_9
# %bb.8:
	li	s2, 0
	fmv.w.x	fa5, zero
	j	.LBB3_12
.LBB3_9:                                # %vector.ph52
	li	a5, 1020
	mul	a5, a7, a5
	andi	s2, a5, 624
	srli	s3, a6, 1
	vsetvli	a5, zero, e32, m1, ta, ma
	vmv.s.x	v8, zero
	slli	s4, a6, 1
	mv	s1, s2
	mv	s0, a0
.LBB3_10:                               # %vector.body57
                                        # =>This Inner Loop Header: Depth=1
	vl2re32.v	v10, (s0)
	vl2re32.v	v12, (a4)
	vsetvli	a5, zero, e32, m2, ta, ma
	vfmul.vv	v10, v10, v12
	vfredosum.vs	v8, v10, v8
	add	s0, s0, s4
	sub	s1, s1, s3
	add	a4, a4, s4
	bnez	s1, .LBB3_10
# %bb.11:
	vfmv.f.s	fa5, v8
.LBB3_12:                               # %for.body4.1.preheader
	slli	s0, s2, 2
	add	a4, s0, a1
	addi	a4, a4, 2047
	addi	a4, a4, 453
	add	s0, s0, a0
	lui	a5, 1
	addiw	a5, a5, 904
	add	a5, a5, a1
.LBB3_13:                               # %for.body4.1
                                        # =>This Inner Loop Header: Depth=1
	flw	fa4, 0(s0)
	flw	fa3, 0(a4)
	fmadd.s	fa5, fa4, fa3, fa5
	addi	a4, a4, 4
	addi	s0, s0, 4
	bne	a4, a5, .LBB3_13
# %bb.14:                               # %for.cond.cleanup3.1
	flw	fa4, 4(a2)
	fadd.s	fa5, fa5, fa4
	li	a4, 156
	fsw	fa5, 4(a3)
	bgeu	a4, a7, .LBB3_16
# %bb.15:
	li	s2, 0
	fmv.w.x	fa5, zero
	j	.LBB3_19
.LBB3_16:                               # %vector.ph67
	li	a4, 1020
	mul	a4, a7, a4
	andi	s2, a4, 624
	srli	s3, a6, 1
	vsetvli	a4, zero, e32, m1, ta, ma
	vmv.s.x	v8, zero
	slli	s0, a6, 1
	mv	a4, s2
	mv	s1, a0
.LBB3_17:                               # %vector.body72
                                        # =>This Inner Loop Header: Depth=1
	vl2re32.v	v10, (s1)
	vl2re32.v	v12, (s5)
	vsetvli	a5, zero, e32, m2, ta, ma
	vfmul.vv	v10, v10, v12
	vfredosum.vs	v8, v10, v8
	add	s1, s1, s0
	sub	a4, a4, s3
	add	s5, s5, s0
	bnez	a4, .LBB3_17
# %bb.18:
	vfmv.f.s	fa5, v8
.LBB3_19:                               # %for.body4.2.preheader
	slli	a5, s2, 2
	add	a4, a5, a1
	lui	s0, 1
	addiw	s0, s0, 904
	add	a4, a4, s0
	add	a5, a5, a0
	lui	s0, 2
	addiw	s0, s0, -692
	add	s0, s0, a1
.LBB3_20:                               # %for.body4.2
                                        # =>This Inner Loop Header: Depth=1
	flw	fa4, 0(a5)
	flw	fa3, 0(a4)
	fmadd.s	fa5, fa4, fa3, fa5
	addi	a4, a4, 4
	addi	a5, a5, 4
	bne	a4, s0, .LBB3_20
# %bb.21:                               # %for.cond.cleanup3.2
	flw	fa4, 8(a2)
	fadd.s	fa5, fa5, fa4
	li	a4, 156
	fsw	fa5, 8(a3)
	bgeu	a4, a7, .LBB3_23
# %bb.22:
	li	s2, 0
	fmv.w.x	fa5, zero
	j	.LBB3_26
.LBB3_23:                               # %vector.ph82
	li	a4, 1020
	mul	a4, a7, a4
	andi	s2, a4, 624
	srli	s3, a6, 1
	vsetvli	a4, zero, e32, m1, ta, ma
	vmv.s.x	v8, zero
	slli	a4, a6, 1
	mv	s1, s2
	mv	s0, a0
.LBB3_24:                               # %vector.body87
                                        # =>This Inner Loop Header: Depth=1
	vl2re32.v	v10, (s0)
	vl2re32.v	v12, (t6)
	vsetvli	a5, zero, e32, m2, ta, ma
	vfmul.vv	v10, v10, v12
	vfredosum.vs	v8, v10, v8
	add	s0, s0, a4
	sub	s1, s1, s3
	add	t6, t6, a4
	bnez	s1, .LBB3_24
# %bb.25:
	vfmv.f.s	fa5, v8
.LBB3_26:                               # %for.body4.3.preheader
	slli	a5, s2, 2
	add	s0, a5, a1
	lui	s1, 2
	addiw	a4, s1, -692
	add	a4, a4, s0
	add	a5, a5, a0
	addiw	s1, s1, 1808
	add	s1, s1, a1
.LBB3_27:                               # %for.body4.3
                                        # =>This Inner Loop Header: Depth=1
	flw	fa4, 0(a5)
	flw	fa3, 0(a4)
	fmadd.s	fa5, fa4, fa3, fa5
	addi	a4, a4, 4
	addi	a5, a5, 4
	bne	a4, s1, .LBB3_27
# %bb.28:                               # %for.cond.cleanup3.3
	flw	fa4, 12(a2)
	fadd.s	fa5, fa5, fa4
	li	a4, 156
	fsw	fa5, 12(a3)
	bgeu	a4, a7, .LBB3_30
# %bb.29:
	li	t6, 0
	fmv.w.x	fa5, zero
	j	.LBB3_33
.LBB3_30:                               # %vector.ph97
	li	a4, 1020
	mul	a4, a7, a4
	andi	t6, a4, 624
	srli	s2, a6, 1
	vsetvli	a4, zero, e32, m1, ta, ma
	vmv.s.x	v8, zero
	slli	s0, a6, 1
	mv	a4, t6
	mv	s1, a0
.LBB3_31:                               # %vector.body102
                                        # =>This Inner Loop Header: Depth=1
	vl2re32.v	v10, (s1)
	vl2re32.v	v12, (t5)
	vsetvli	a5, zero, e32, m2, ta, ma
	vfmul.vv	v10, v10, v12
	vfredosum.vs	v8, v10, v8
	add	s1, s1, s0
	sub	a4, a4, s2
	add	t5, t5, s0
	bnez	a4, .LBB3_31
# %bb.32:
	vfmv.f.s	fa5, v8
.LBB3_33:                               # %for.body4.4.preheader
	slli	a5, t6, 2
	add	s0, a5, a1
	lui	s1, 2
	addiw	a4, s1, 1808
	add	a4, a4, s0
	add	a5, a5, a0
	lui	s1, 3
	addiw	s1, s1, 212
	add	s1, s1, a1
.LBB3_34:                               # %for.body4.4
                                        # =>This Inner Loop Header: Depth=1
	flw	fa4, 0(a5)
	flw	fa3, 0(a4)
	fmadd.s	fa5, fa4, fa3, fa5
	addi	a4, a4, 4
	addi	a5, a5, 4
	bne	a4, s1, .LBB3_34
# %bb.35:                               # %for.cond.cleanup3.4
	flw	fa4, 16(a2)
	fadd.s	fa5, fa5, fa4
	li	a4, 156
	fsw	fa5, 16(a3)
	bgeu	a4, a7, .LBB3_37
# %bb.36:
	li	t5, 0
	fmv.w.x	fa5, zero
	j	.LBB3_40
.LBB3_37:                               # %vector.ph112
	li	a4, 1020
	mul	a4, a7, a4
	andi	t5, a4, 624
	srli	t6, a6, 1
	vsetvli	a4, zero, e32, m1, ta, ma
	vmv.s.x	v8, zero
	slli	s0, a6, 1
	mv	a4, t5
	mv	s1, a0
.LBB3_38:                               # %vector.body117
                                        # =>This Inner Loop Header: Depth=1
	vl2re32.v	v10, (s1)
	vl2re32.v	v12, (t4)
	vsetvli	a5, zero, e32, m2, ta, ma
	vfmul.vv	v10, v10, v12
	vfredosum.vs	v8, v10, v8
	add	s1, s1, s0
	sub	a4, a4, t6
	add	t4, t4, s0
	bnez	a4, .LBB3_38
# %bb.39:
	vfmv.f.s	fa5, v8
.LBB3_40:                               # %for.body4.5.preheader
	slli	a5, t5, 2
	add	s0, a5, a1
	lui	s1, 3
	addiw	a4, s1, 212
	add	a4, a4, s0
	add	a5, a5, a0
	lui	s1, 4
	addiw	s1, s1, -1384
	add	s1, s1, a1
.LBB3_41:                               # %for.body4.5
                                        # =>This Inner Loop Header: Depth=1
	flw	fa4, 0(a5)
	flw	fa3, 0(a4)
	fmadd.s	fa5, fa4, fa3, fa5
	addi	a4, a4, 4
	addi	a5, a5, 4
	bne	a4, s1, .LBB3_41
# %bb.42:                               # %for.cond.cleanup3.5
	flw	fa4, 20(a2)
	fadd.s	fa5, fa5, fa4
	li	a4, 156
	fsw	fa5, 20(a3)
	bgeu	a4, a7, .LBB3_44
# %bb.43:
	li	t4, 0
	fmv.w.x	fa5, zero
	j	.LBB3_47
.LBB3_44:                               # %vector.ph127
	li	a4, 1020
	mul	a4, a7, a4
	andi	t4, a4, 624
	srli	t5, a6, 1
	vsetvli	a4, zero, e32, m1, ta, ma
	vmv.s.x	v8, zero
	slli	s0, a6, 1
	mv	a4, t4
	mv	s1, a0
.LBB3_45:                               # %vector.body132
                                        # =>This Inner Loop Header: Depth=1
	vl2re32.v	v10, (s1)
	vl2re32.v	v12, (t3)
	vsetvli	a5, zero, e32, m2, ta, ma
	vfmul.vv	v10, v10, v12
	vfredosum.vs	v8, v10, v8
	add	s1, s1, s0
	sub	a4, a4, t5
	add	t3, t3, s0
	bnez	a4, .LBB3_45
# %bb.46:
	vfmv.f.s	fa5, v8
.LBB3_47:                               # %for.body4.6.preheader
	slli	a5, t4, 2
	add	s0, a5, a1
	lui	s1, 4
	addiw	a4, s1, -1384
	add	a4, a4, s0
	add	a5, a5, a0
	addiw	s1, s1, 1116
	add	s1, s1, a1
.LBB3_48:                               # %for.body4.6
                                        # =>This Inner Loop Header: Depth=1
	flw	fa4, 0(a5)
	flw	fa3, 0(a4)
	fmadd.s	fa5, fa4, fa3, fa5
	addi	a4, a4, 4
	addi	a5, a5, 4
	bne	a4, s1, .LBB3_48
# %bb.49:                               # %for.cond.cleanup3.6
	flw	fa4, 24(a2)
	fadd.s	fa5, fa5, fa4
	li	a4, 156
	fsw	fa5, 24(a3)
	bgeu	a4, a7, .LBB3_51
# %bb.50:
	li	t3, 0
	fmv.w.x	fa5, zero
	j	.LBB3_54
.LBB3_51:                               # %vector.ph142
	li	a4, 1020
	mul	a4, a7, a4
	andi	t3, a4, 624
	srli	t4, a6, 1
	vsetvli	a4, zero, e32, m1, ta, ma
	vmv.s.x	v8, zero
	slli	s0, a6, 1
	mv	a4, t3
	mv	s1, a0
.LBB3_52:                               # %vector.body147
                                        # =>This Inner Loop Header: Depth=1
	vl2re32.v	v10, (s1)
	vl2re32.v	v12, (t2)
	vsetvli	a5, zero, e32, m2, ta, ma
	vfmul.vv	v10, v10, v12
	vfredosum.vs	v8, v10, v8
	add	s1, s1, s0
	sub	a4, a4, t4
	add	t2, t2, s0
	bnez	a4, .LBB3_52
# %bb.53:
	vfmv.f.s	fa5, v8
.LBB3_54:                               # %for.body4.7.preheader
	slli	a5, t3, 2
	add	s0, a5, a1
	lui	s1, 4
	addiw	a4, s1, 1116
	add	a4, a4, s0
	add	a5, a5, a0
	lui	s1, 5
	addiw	s1, s1, -480
	add	s1, s1, a1
.LBB3_55:                               # %for.body4.7
                                        # =>This Inner Loop Header: Depth=1
	flw	fa4, 0(a5)
	flw	fa3, 0(a4)
	fmadd.s	fa5, fa4, fa3, fa5
	addi	a4, a4, 4
	addi	a5, a5, 4
	bne	a4, s1, .LBB3_55
# %bb.56:                               # %for.cond.cleanup3.7
	flw	fa4, 28(a2)
	fadd.s	fa5, fa5, fa4
	li	a4, 156
	fsw	fa5, 28(a3)
	bgeu	a4, a7, .LBB3_58
# %bb.57:
	li	t2, 0
	fmv.w.x	fa5, zero
	j	.LBB3_61
.LBB3_58:                               # %vector.ph157
	li	a4, 1020
	mul	a4, a7, a4
	andi	t2, a4, 624
	srli	t3, a6, 1
	vsetvli	a4, zero, e32, m1, ta, ma
	vmv.s.x	v8, zero
	slli	s0, a6, 1
	mv	a4, t2
	mv	s1, a0
.LBB3_59:                               # %vector.body162
                                        # =>This Inner Loop Header: Depth=1
	vl2re32.v	v10, (s1)
	vl2re32.v	v12, (t1)
	vsetvli	a5, zero, e32, m2, ta, ma
	vfmul.vv	v10, v10, v12
	vfredosum.vs	v8, v10, v8
	add	s1, s1, s0
	sub	a4, a4, t3
	add	t1, t1, s0
	bnez	a4, .LBB3_59
# %bb.60:
	vfmv.f.s	fa5, v8
.LBB3_61:                               # %for.body4.8.preheader
	slli	a5, t2, 2
	add	s0, a5, a1
	lui	s1, 5
	addiw	a4, s1, -480
	add	a4, a4, s0
	add	a5, a5, a0
	addiw	s1, s1, 2020
	add	s1, s1, a1
.LBB3_62:                               # %for.body4.8
                                        # =>This Inner Loop Header: Depth=1
	flw	fa4, 0(a5)
	flw	fa3, 0(a4)
	fmadd.s	fa5, fa4, fa3, fa5
	addi	a4, a4, 4
	addi	a5, a5, 4
	bne	a4, s1, .LBB3_62
# %bb.63:                               # %for.cond.cleanup3.8
	flw	fa4, 32(a2)
	fadd.s	fa5, fa5, fa4
	li	a4, 156
	fsw	fa5, 32(a3)
	bgeu	a4, a7, .LBB3_65
# %bb.64:
	li	a7, 0
	fmv.w.x	fa5, zero
	j	.LBB3_68
.LBB3_65:                               # %vector.ph172
	li	a4, 1020
	mul	a4, a7, a4
	andi	a7, a4, 624
	srli	a5, a6, 1
	vsetvli	a4, zero, e32, m1, ta, ma
	vmv.s.x	v8, zero
	slli	a6, a6, 1
	mv	a4, a7
	mv	s0, a0
.LBB3_66:                               # %vector.body177
                                        # =>This Inner Loop Header: Depth=1
	vl2re32.v	v10, (s0)
	vl2re32.v	v12, (t0)
	vsetvli	s1, zero, e32, m2, ta, ma
	vfmul.vv	v10, v10, v12
	vfredosum.vs	v8, v10, v8
	add	s0, s0, a6
	sub	a4, a4, a5
	add	t0, t0, a6
	bnez	a4, .LBB3_66
# %bb.67:
	vfmv.f.s	fa5, v8
.LBB3_68:                               # %for.body4.9.preheader
	slli	a7, a7, 2
	add	a4, a7, a1
	lui	a5, 5
	addiw	a5, a5, 2020
	add	a4, a4, a5
	add	a0, a0, a7
	lui	a5, 6
	addiw	a5, a5, 424
	add	a1, a1, a5
.LBB3_69:                               # %for.body4.9
                                        # =>This Inner Loop Header: Depth=1
	flw	fa4, 0(a0)
	flw	fa3, 0(a4)
	fmadd.s	fa5, fa4, fa3, fa5
	addi	a4, a4, 4
	addi	a0, a0, 4
	bne	a4, a1, .LBB3_69
# %bb.70:                               # %for.cond.cleanup3.9
	flw	fa4, 36(a2)
	fadd.s	fa5, fa5, fa4
	fsw	fa5, 36(a3)
	ld	s0, 56(sp)                      # 8-byte Folded Reload
	ld	s1, 48(sp)                      # 8-byte Folded Reload
	ld	s2, 40(sp)                      # 8-byte Folded Reload
	ld	s3, 32(sp)                      # 8-byte Folded Reload
	ld	s4, 24(sp)                      # 8-byte Folded Reload
	ld	s5, 16(sp)                      # 8-byte Folded Reload
	ld	s6, 8(sp)                       # 8-byte Folded Reload
	addi	sp, sp, 64
	ret
.Lfunc_end3:
	.size	fully_connected, .Lfunc_end3-fully_connected
                                        # -- End function
	.globl	main                            # -- Begin function main
	.p2align	1
	.type	main,@function
main:                                   # @main
# %bb.0:                                # %entry
	addi	sp, sp, -496
	sd	ra, 488(sp)                     # 8-byte Folded Spill
	sd	s0, 480(sp)                     # 8-byte Folded Spill
	sd	s1, 472(sp)                     # 8-byte Folded Spill
	sd	s2, 464(sp)                     # 8-byte Folded Spill
	sd	s3, 456(sp)                     # 8-byte Folded Spill
	sd	s4, 448(sp)                     # 8-byte Folded Spill
	sd	s5, 440(sp)                     # 8-byte Folded Spill
	sd	s6, 432(sp)                     # 8-byte Folded Spill
	sd	s7, 424(sp)                     # 8-byte Folded Spill
	sd	s8, 416(sp)                     # 8-byte Folded Spill
	sd	s9, 408(sp)                     # 8-byte Folded Spill
	sd	s10, 400(sp)                    # 8-byte Folded Spill
	sd	s11, 392(sp)                    # 8-byte Folded Spill
	fsd	fs0, 384(sp)                    # 8-byte Folded Spill
	lui	a0, 8
	addiw	a0, a0, 192
	sub	sp, sp, a0
	lui	a0, 5
	addiw	a1, a0, 2020
	addi	a2, sp, 144
	add	a1, a1, a2
	sd	a1, 48(sp)                      # 8-byte Folded Spill
	addiw	a0, a0, -480
	add	a0, a0, a2
	sd	a0, 40(sp)                      # 8-byte Folded Spill
	lui	a0, 4
	addiw	a1, a0, 1116
	add	a1, a1, a2
	sd	a1, 32(sp)                      # 8-byte Folded Spill
	addiw	a0, a0, -1384
	add	a0, a0, a2
	sd	a0, 24(sp)                      # 8-byte Folded Spill
	lui	a0, 3
	addiw	a0, a0, 212
	add	a0, a0, a2
	sd	a0, 16(sp)                      # 8-byte Folded Spill
	lui	a0, 2
	addiw	s7, a0, 1808
	add	s7, s7, a2
	sd	s7, 8(sp)                       # 8-byte Folded Spill
	addiw	s8, a0, -692
	add	s8, s8, a2
	lui	a0, 1
	addiw	s9, a0, 904
	add	s9, s9, a2
	addi	a0, a2, 2047
	addi	s10, a0, 453
	li	a0, 0
	call	time
	sext.w	a0, a0
	call	srand
	lui	a0, 7
	addiw	a0, a0, 1536
	add	s11, sp, a0
	addi	a0, s11, 2047
	addi	a0, a0, 1089
	sd	a0, 56(sp)                      # 8-byte Folded Spill
	lui	a0, 196608
	fmv.w.x	fs0, a0
.LBB4_1:                                # %for.cond2.preheader
                                        # =>This Inner Loop Header: Depth=1
	addi	s7, s11, 32
	call	rand
	mv	s2, a0
	call	rand
	mv	s3, a0
	call	rand
	mv	s4, a0
	call	rand
	mv	s5, a0
	call	rand
	mv	s6, a0
	call	rand
	mv	s1, a0
	call	rand
	mv	s0, a0
	call	rand
	vsetivli	zero, 8, e32, m2, ta, ma
	vmv.v.x	v8, s2
	vslide1down.vx	v8, v8, s3
	vslide1down.vx	v8, v8, s4
	vslide1down.vx	v8, v8, s5
	vslide1down.vx	v8, v8, s6
	vslide1down.vx	v8, v8, s1
	vslide1down.vx	v8, v8, s0
	vslide1down.vx	v8, v8, a0
	vfcvt.f.x.v	v8, v8
	vfmul.vf	v8, v8, fs0
	vse32.v	v8, (s11)
	call	rand
	mv	s2, a0
	call	rand
	mv	s3, a0
	call	rand
	mv	s4, a0
	call	rand
	mv	s5, a0
	call	rand
	mv	s6, a0
	call	rand
	mv	s1, a0
	call	rand
	mv	s0, a0
	call	rand
	vsetivli	zero, 8, e32, m2, ta, ma
	vmv.v.x	v8, s2
	vslide1down.vx	v8, v8, s3
	vslide1down.vx	v8, v8, s4
	vslide1down.vx	v8, v8, s5
	vslide1down.vx	v8, v8, s6
	vslide1down.vx	v8, v8, s1
	vslide1down.vx	v8, v8, s0
	vslide1down.vx	v8, v8, a0
	vfcvt.f.x.v	v8, v8
	vfmul.vf	v8, v8, fs0
	vse32.v	v8, (s7)
	call	rand
	mv	s2, a0
	addi	s7, s11, 64
	call	rand
	mv	s3, a0
	call	rand
	mv	s4, a0
	call	rand
	mv	s5, a0
	call	rand
	mv	s6, a0
	call	rand
	mv	s1, a0
	call	rand
	mv	s0, a0
	call	rand
	vsetivli	zero, 8, e32, m2, ta, ma
	vmv.v.x	v8, s2
	vslide1down.vx	v8, v8, s3
	vslide1down.vx	v8, v8, s4
	vslide1down.vx	v8, v8, s5
	vslide1down.vx	v8, v8, s6
	vslide1down.vx	v8, v8, s1
	vslide1down.vx	v8, v8, s0
	vslide1down.vx	v8, v8, a0
	vfcvt.f.x.v	v8, v8
	vfmul.vf	v8, v8, fs0
	vse32.v	v8, (s7)
	call	rand
	mv	s2, a0
	addi	s3, s11, 96
	call	rand
	mv	s1, a0
	call	rand
	mv	s0, a0
	call	rand
	vsetivli	zero, 4, e32, m1, ta, ma
	vmv.v.x	v8, s2
	vslide1down.vx	v8, v8, s1
	vslide1down.vx	v8, v8, s0
	vslide1down.vx	v8, v8, a0
	vfcvt.f.x.v	v8, v8
	vfmul.vf	v8, v8, fs0
	addi	s11, s11, 112
	vse32.v	v8, (s3)
	ld	a0, 56(sp)                      # 8-byte Folded Reload
	bne	s11, a0, .LBB4_1
# %bb.2:                                # %for.cond.cleanup
	lui	a0, 7
	addiw	a0, a0, 1472
	add	a0, a0, sp
	call	generate_random_kernel
	lui	a0, 7
	addiw	a0, a0, 1536
	add	a0, a0, sp
	lui	a1, 7
	addiw	a1, a1, 1472
	add	a1, a1, sp
	lui	a2, 7
	addiw	a2, a2, -1028
	add	a2, a2, sp
	call	convolve
	lui	a0, 7
	addiw	a0, a0, -1028
	add	a0, a0, sp
	lui	a1, 6
	addiw	a1, a1, 568
	add	a1, a1, sp
	call	flatten
	call	rand
	fcvt.s.w	fa5, a0
	lui	a0, 196608
	fmv.w.x	fs0, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 104(sp)
	addi	s0, sp, 144
	addi	a0, s0, 2047
	addi	s1, a0, 453
.LBB4_3:                                # %for.body35
                                        # =>This Inner Loop Header: Depth=1
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 0(s0)
	addi	s0, s0, 4
	bne	s0, s1, .LBB4_3
# %bb.4:                                # %for.cond.cleanup34
	call	rand
	fcvt.s.w	fa5, a0
	lui	a0, 196608
	fmv.w.x	fs0, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 108(sp)
	lui	a0, 1
	addiw	s0, a0, 904
	addi	a0, sp, 144
	add	s0, s0, a0
.LBB4_5:                                # %for.body35.1
                                        # =>This Inner Loop Header: Depth=1
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 0(s10)
	addi	s10, s10, 4
	bne	s10, s0, .LBB4_5
# %bb.6:                                # %for.cond.cleanup34.1
	call	rand
	fcvt.s.w	fa5, a0
	lui	a0, 196608
	fmv.w.x	fs0, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 112(sp)
	lui	a0, 2
	addiw	s0, a0, -692
	addi	a0, sp, 144
	add	s0, s0, a0
	ld	s2, 48(sp)                      # 8-byte Folded Reload
.LBB4_7:                                # %for.body35.2
                                        # =>This Inner Loop Header: Depth=1
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 0(s9)
	addi	s9, s9, 4
	bne	s9, s0, .LBB4_7
# %bb.8:                                # %for.cond.cleanup34.2
	call	rand
	fcvt.s.w	fa5, a0
	lui	a0, 196608
	fmv.w.x	fs0, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 116(sp)
	lui	a0, 2
	addiw	s0, a0, 1808
	addi	a0, sp, 144
	add	s3, a0, s0
	ld	s4, 40(sp)                      # 8-byte Folded Reload
	ld	s5, 32(sp)                      # 8-byte Folded Reload
	ld	s6, 24(sp)                      # 8-byte Folded Reload
	ld	s0, 16(sp)                      # 8-byte Folded Reload
	ld	s1, 8(sp)                       # 8-byte Folded Reload
.LBB4_9:                                # %for.body35.3
                                        # =>This Inner Loop Header: Depth=1
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 0(s8)
	addi	s8, s8, 4
	bne	s8, s3, .LBB4_9
# %bb.10:                               # %for.cond.cleanup34.3
	call	rand
	fcvt.s.w	fa5, a0
	lui	a0, 196608
	fmv.w.x	fs0, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 120(sp)
	lui	a0, 3
	addiw	s3, a0, 212
	addi	a0, sp, 144
	add	s3, s3, a0
.LBB4_11:                               # %for.body35.4
                                        # =>This Inner Loop Header: Depth=1
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 0(s1)
	addi	s1, s1, 4
	bne	s1, s3, .LBB4_11
# %bb.12:                               # %for.cond.cleanup34.4
	call	rand
	fcvt.s.w	fa5, a0
	lui	a0, 196608
	fmv.w.x	fs0, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 124(sp)
	lui	a0, 4
	addiw	s3, a0, -1384
	addi	a0, sp, 144
	add	s3, s3, a0
.LBB4_13:                               # %for.body35.5
                                        # =>This Inner Loop Header: Depth=1
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 0(s0)
	addi	s0, s0, 4
	bne	s0, s3, .LBB4_13
# %bb.14:                               # %for.cond.cleanup34.5
	call	rand
	fcvt.s.w	fa5, a0
	lui	a0, 196608
	fmv.w.x	fs0, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 128(sp)
	lui	a0, 4
	addiw	s3, a0, 1116
	addi	a0, sp, 144
	add	s3, s3, a0
.LBB4_15:                               # %for.body35.6
                                        # =>This Inner Loop Header: Depth=1
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 0(s6)
	addi	s6, s6, 4
	bne	s6, s3, .LBB4_15
# %bb.16:                               # %for.cond.cleanup34.6
	call	rand
	fcvt.s.w	fa5, a0
	lui	a0, 196608
	fmv.w.x	fs0, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 132(sp)
	lui	a0, 5
	addiw	s3, a0, -480
	addi	a0, sp, 144
	add	s3, s3, a0
.LBB4_17:                               # %for.body35.7
                                        # =>This Inner Loop Header: Depth=1
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 0(s5)
	addi	s5, s5, 4
	bne	s5, s3, .LBB4_17
# %bb.18:                               # %for.cond.cleanup34.7
	call	rand
	fcvt.s.w	fa5, a0
	lui	a0, 196608
	fmv.w.x	fs0, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 136(sp)
	lui	a0, 5
	addiw	s0, a0, 2020
	addi	a0, sp, 144
	add	s0, s0, a0
.LBB4_19:                               # %for.body35.8
                                        # =>This Inner Loop Header: Depth=1
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 0(s4)
	addi	s4, s4, 4
	bne	s4, s0, .LBB4_19
# %bb.20:                               # %for.cond.cleanup34.8
	call	rand
	fcvt.s.w	fa5, a0
	lui	a0, 196608
	fmv.w.x	fs0, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 140(sp)
	lui	a0, 6
	addiw	s0, a0, 424
	addi	a0, sp, 144
	add	s0, s0, a0
.LBB4_21:                               # %for.body35.9
                                        # =>This Inner Loop Header: Depth=1
	call	rand
	fcvt.s.w	fa5, a0
	fmul.s	fa5, fa5, fs0
	fsw	fa5, 0(s2)
	addi	s2, s2, 4
	bne	s2, s0, .LBB4_21
# %bb.22:                               # %for.cond.cleanup34.9
	lui	a0, 6
	addiw	a0, a0, 568
	add	a0, a0, sp
	addi	a1, sp, 144
	addi	a2, sp, 104
	addi	a3, sp, 64
	call	fully_connected
	lui	a0, %hi(.Lstr)
	addi	a0, a0, %lo(.Lstr)
	call	puts
	flw	fa5, 64(sp)
	fcvt.d.s	fa5, fa5
	lui	a0, %hi(.L.str.1)
	addi	s0, a0, %lo(.L.str.1)
	fmv.x.d	a1, fa5
	mv	a0, s0
	call	printf
	flw	fa5, 68(sp)
	fcvt.d.s	fa5, fa5
	fmv.x.d	a1, fa5
	mv	a0, s0
	call	printf
	flw	fa5, 72(sp)
	fcvt.d.s	fa5, fa5
	fmv.x.d	a1, fa5
	mv	a0, s0
	call	printf
	flw	fa5, 76(sp)
	fcvt.d.s	fa5, fa5
	fmv.x.d	a1, fa5
	mv	a0, s0
	call	printf
	flw	fa5, 80(sp)
	fcvt.d.s	fa5, fa5
	fmv.x.d	a1, fa5
	mv	a0, s0
	call	printf
	flw	fa5, 84(sp)
	fcvt.d.s	fa5, fa5
	fmv.x.d	a1, fa5
	mv	a0, s0
	call	printf
	flw	fa5, 88(sp)
	fcvt.d.s	fa5, fa5
	fmv.x.d	a1, fa5
	mv	a0, s0
	call	printf
	flw	fa5, 92(sp)
	fcvt.d.s	fa5, fa5
	fmv.x.d	a1, fa5
	mv	a0, s0
	call	printf
	flw	fa5, 96(sp)
	fcvt.d.s	fa5, fa5
	fmv.x.d	a1, fa5
	mv	a0, s0
	call	printf
	flw	fa5, 100(sp)
	fcvt.d.s	fa5, fa5
	fmv.x.d	a1, fa5
	mv	a0, s0
	call	printf
	li	a0, 10
	call	putchar
	li	a0, 0
	lui	a1, 8
	addiw	a1, a1, 192
	add	sp, sp, a1
	ld	ra, 488(sp)                     # 8-byte Folded Reload
	ld	s0, 480(sp)                     # 8-byte Folded Reload
	ld	s1, 472(sp)                     # 8-byte Folded Reload
	ld	s2, 464(sp)                     # 8-byte Folded Reload
	ld	s3, 456(sp)                     # 8-byte Folded Reload
	ld	s4, 448(sp)                     # 8-byte Folded Reload
	ld	s5, 440(sp)                     # 8-byte Folded Reload
	ld	s6, 432(sp)                     # 8-byte Folded Reload
	ld	s7, 424(sp)                     # 8-byte Folded Reload
	ld	s8, 416(sp)                     # 8-byte Folded Reload
	ld	s9, 408(sp)                     # 8-byte Folded Reload
	ld	s10, 400(sp)                    # 8-byte Folded Reload
	ld	s11, 392(sp)                    # 8-byte Folded Reload
	fld	fs0, 384(sp)                    # 8-byte Folded Reload
	addi	sp, sp, 496
	ret
.Lfunc_end4:
	.size	main, .Lfunc_end4-main
                                        # -- End function
	.type	.L.str.1,@object                # @.str.1
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str.1:
	.asciz	"%f "
	.size	.L.str.1, 4

	.type	.Lstr,@object                   # @str
.Lstr:
	.asciz	"Output values:"
	.size	.Lstr, 15

	.ident	"clang version 18.1.4 (git@github.com:llvm/llvm-project.git e6c3289804a67ea0bb6a86fadbe454dd93b8d855)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
