; LLVM IR from mrbid/CSGO_TENSOR_TRIGGER :: GOBOT15/TBVGG3 (aim)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@rgbbytes = external dso_local global [2352 x i8], align 16
@input = external dso_local global [3 x [28 x [28 x float]]], align 16

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare dso_local void @writePPM(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @saveSample(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #2
  store i32 0, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #2
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %7

7:                                                ; preds = %64, %1
  %8 = load i32, ptr %4, align 4, !tbaa !9
  %9 = icmp ult i32 %8, 28
  br i1 %9, label %11, label %10

10:                                               ; preds = %7
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #2
  br label %67

11:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #2
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %12

12:                                               ; preds = %60, %11
  %13 = load i32, ptr %6, align 4, !tbaa !9
  %14 = icmp ult i32 %13, 28
  br i1 %14, label %16, label %15

15:                                               ; preds = %12
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #2
  br label %63

16:                                               ; preds = %12
  %17 = load i32, ptr %4, align 4, !tbaa !9
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds [28 x [28 x float]], ptr @input, i64 0, i64 %18
  %20 = load i32, ptr %6, align 4, !tbaa !9
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [28 x float], ptr %19, i64 0, i64 %21
  %23 = load float, ptr %22, align 4, !tbaa !11
  %24 = fadd float %23, 1.000000e+00
  %25 = fmul float %24, 1.275000e+02
  %26 = fptoui float %25 to i8
  %27 = load i32, ptr %3, align 4, !tbaa !9
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [2352 x i8], ptr @rgbbytes, i64 0, i64 %28
  store i8 %26, ptr %29, align 1, !tbaa !13
  %30 = load i32, ptr %4, align 4, !tbaa !9
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds ([3 x [28 x [28 x float]]], ptr @input, i64 0, i64 1), i64 0, i64 %31
  %33 = load i32, ptr %6, align 4, !tbaa !9
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [28 x float], ptr %32, i64 0, i64 %34
  %36 = load float, ptr %35, align 4, !tbaa !11
  %37 = fadd float %36, 1.000000e+00
  %38 = fmul float %37, 1.275000e+02
  %39 = fptoui float %38 to i8
  %40 = load i32, ptr %3, align 4, !tbaa !9
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %3, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [2352 x i8], ptr @rgbbytes, i64 0, i64 %42
  store i8 %39, ptr %43, align 1, !tbaa !13
  %44 = load i32, ptr %4, align 4, !tbaa !9
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds ([3 x [28 x [28 x float]]], ptr @input, i64 0, i64 2), i64 0, i64 %45
  %47 = load i32, ptr %6, align 4, !tbaa !9
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [28 x float], ptr %46, i64 0, i64 %48
  %50 = load float, ptr %49, align 4, !tbaa !11
  %51 = fadd float %50, 1.000000e+00
  %52 = fmul float %51, 1.275000e+02
  %53 = fptoui float %52 to i8
  %54 = load i32, ptr %3, align 4, !tbaa !9
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %3, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [2352 x i8], ptr @rgbbytes, i64 0, i64 %56
  store i8 %53, ptr %57, align 1, !tbaa !13
  %58 = load i32, ptr %3, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %3, align 4, !tbaa !9
  br label %60

60:                                               ; preds = %16
  %61 = load i32, ptr %6, align 4, !tbaa !9
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %6, align 4, !tbaa !9
  br label %12, !llvm.loop !14

63:                                               ; preds = %15
  br label %64

64:                                               ; preds = %63
  %65 = load i32, ptr %4, align 4, !tbaa !9
  %66 = add nsw i32 %65, 1
  store i32 %66, ptr %4, align 4, !tbaa !9
  br label %7, !llvm.loop !16

67:                                               ; preds = %10
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  call void @writePPM(ptr noundef %68, ptr noundef @rgbbytes)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #2
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@rgbbytes = external dso_local global [2352 x i8], align 16
@input = external dso_local local_unnamed_addr global [3 x [28 x [28 x float]]], align 16

; Function Attrs: nounwind uwtable
declare dso_local void @writePPM(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @saveSample(ptr noundef %0) local_unnamed_addr #0 {
  br label %.preheader

.preheader:                                       ; preds = %1, %.preheader
  %indvars.iv25 = phi i64 [ 0, %1 ], [ %indvars.iv.next26, %.preheader ]
  %.01518 = phi i64 [ 0, %1 ], [ %ind.end, %.preheader ]
  %sext = shl i64 %.01518, 32
  %2 = ashr exact i64 %sext, 32
  %ind.end = add nsw i64 %2, 84
  %3 = getelementptr inbounds [28 x [28 x float]], ptr @input, i64 0, i64 %indvars.iv25, i64 0
  %wide.load = load <4 x float>, ptr %3, align 16, !tbaa !5
  %4 = fadd <4 x float> %wide.load, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %5 = fmul <4 x float> %4, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %6 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds (i8, ptr @input, i64 3136), i64 0, i64 %indvars.iv25, i64 0
  %wide.load30 = load <4 x float>, ptr %6, align 16, !tbaa !5
  %7 = fadd <4 x float> %wide.load30, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %8 = fmul <4 x float> %7, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %9 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds (i8, ptr @input, i64 6272), i64 0, i64 %indvars.iv25, i64 0
  %wide.load31 = load <4 x float>, ptr %9, align 16, !tbaa !5
  %10 = fadd <4 x float> %wide.load31, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %11 = fmul <4 x float> %10, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %12 = fptoui <4 x float> %11 to <4 x i8>
  %13 = add nsw i64 %2, 2
  %gep = getelementptr [2352 x i8], ptr getelementptr (i8, ptr @rgbbytes, i64 -2), i64 0, i64 %13
  %14 = shufflevector <4 x float> %5, <4 x float> %8, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
  %15 = fptoui <8 x float> %14 to <8 x i8>
  %16 = shufflevector <4 x i8> %12, <4 x i8> poison, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 poison, i32 poison, i32 poison, i32 poison>
  %interleaved.vec = shufflevector <8 x i8> %15, <8 x i8> %16, <12 x i32> <i32 0, i32 4, i32 8, i32 1, i32 5, i32 9, i32 2, i32 6, i32 10, i32 3, i32 7, i32 11>
  store <12 x i8> %interleaved.vec, ptr %gep, align 1, !tbaa !9
  %17 = getelementptr inbounds [28 x [28 x float]], ptr @input, i64 0, i64 %indvars.iv25, i64 4
  %wide.load.1 = load <4 x float>, ptr %17, align 16, !tbaa !5
  %18 = fadd <4 x float> %wide.load.1, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %19 = fmul <4 x float> %18, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %20 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds (i8, ptr @input, i64 3136), i64 0, i64 %indvars.iv25, i64 4
  %wide.load30.1 = load <4 x float>, ptr %20, align 16, !tbaa !5
  %21 = fadd <4 x float> %wide.load30.1, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %22 = fmul <4 x float> %21, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %23 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds (i8, ptr @input, i64 6272), i64 0, i64 %indvars.iv25, i64 4
  %wide.load31.1 = load <4 x float>, ptr %23, align 16, !tbaa !5
  %24 = fadd <4 x float> %wide.load31.1, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %25 = fmul <4 x float> %24, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %26 = fptoui <4 x float> %25 to <4 x i8>
  %27 = add nsw i64 %2, 14
  %gep32 = getelementptr [2352 x i8], ptr getelementptr (i8, ptr @rgbbytes, i64 -2), i64 0, i64 %27
  %28 = shufflevector <4 x float> %19, <4 x float> %22, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
  %29 = fptoui <8 x float> %28 to <8 x i8>
  %30 = shufflevector <4 x i8> %26, <4 x i8> poison, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 poison, i32 poison, i32 poison, i32 poison>
  %interleaved.vec.1 = shufflevector <8 x i8> %29, <8 x i8> %30, <12 x i32> <i32 0, i32 4, i32 8, i32 1, i32 5, i32 9, i32 2, i32 6, i32 10, i32 3, i32 7, i32 11>
  store <12 x i8> %interleaved.vec.1, ptr %gep32, align 1, !tbaa !9
  %31 = getelementptr inbounds [28 x [28 x float]], ptr @input, i64 0, i64 %indvars.iv25, i64 8
  %wide.load.2 = load <4 x float>, ptr %31, align 16, !tbaa !5
  %32 = fadd <4 x float> %wide.load.2, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %33 = fmul <4 x float> %32, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %34 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds (i8, ptr @input, i64 3136), i64 0, i64 %indvars.iv25, i64 8
  %wide.load30.2 = load <4 x float>, ptr %34, align 16, !tbaa !5
  %35 = fadd <4 x float> %wide.load30.2, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %36 = fmul <4 x float> %35, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %37 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds (i8, ptr @input, i64 6272), i64 0, i64 %indvars.iv25, i64 8
  %wide.load31.2 = load <4 x float>, ptr %37, align 16, !tbaa !5
  %38 = fadd <4 x float> %wide.load31.2, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %39 = fmul <4 x float> %38, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %40 = fptoui <4 x float> %39 to <4 x i8>
  %41 = add nsw i64 %2, 26
  %gep33 = getelementptr [2352 x i8], ptr getelementptr (i8, ptr @rgbbytes, i64 -2), i64 0, i64 %41
  %42 = shufflevector <4 x float> %33, <4 x float> %36, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
  %43 = fptoui <8 x float> %42 to <8 x i8>
  %44 = shufflevector <4 x i8> %40, <4 x i8> poison, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 poison, i32 poison, i32 poison, i32 poison>
  %interleaved.vec.2 = shufflevector <8 x i8> %43, <8 x i8> %44, <12 x i32> <i32 0, i32 4, i32 8, i32 1, i32 5, i32 9, i32 2, i32 6, i32 10, i32 3, i32 7, i32 11>
  store <12 x i8> %interleaved.vec.2, ptr %gep33, align 1, !tbaa !9
  %45 = getelementptr inbounds [28 x [28 x float]], ptr @input, i64 0, i64 %indvars.iv25, i64 12
  %wide.load.3 = load <4 x float>, ptr %45, align 16, !tbaa !5
  %46 = fadd <4 x float> %wide.load.3, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %47 = fmul <4 x float> %46, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %48 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds (i8, ptr @input, i64 3136), i64 0, i64 %indvars.iv25, i64 12
  %wide.load30.3 = load <4 x float>, ptr %48, align 16, !tbaa !5
  %49 = fadd <4 x float> %wide.load30.3, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %50 = fmul <4 x float> %49, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %51 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds (i8, ptr @input, i64 6272), i64 0, i64 %indvars.iv25, i64 12
  %wide.load31.3 = load <4 x float>, ptr %51, align 16, !tbaa !5
  %52 = fadd <4 x float> %wide.load31.3, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %53 = fmul <4 x float> %52, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %54 = fptoui <4 x float> %53 to <4 x i8>
  %55 = add nsw i64 %2, 38
  %gep34 = getelementptr [2352 x i8], ptr getelementptr (i8, ptr @rgbbytes, i64 -2), i64 0, i64 %55
  %56 = shufflevector <4 x float> %47, <4 x float> %50, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
  %57 = fptoui <8 x float> %56 to <8 x i8>
  %58 = shufflevector <4 x i8> %54, <4 x i8> poison, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 poison, i32 poison, i32 poison, i32 poison>
  %interleaved.vec.3 = shufflevector <8 x i8> %57, <8 x i8> %58, <12 x i32> <i32 0, i32 4, i32 8, i32 1, i32 5, i32 9, i32 2, i32 6, i32 10, i32 3, i32 7, i32 11>
  store <12 x i8> %interleaved.vec.3, ptr %gep34, align 1, !tbaa !9
  %59 = getelementptr inbounds [28 x [28 x float]], ptr @input, i64 0, i64 %indvars.iv25, i64 16
  %wide.load.4 = load <4 x float>, ptr %59, align 16, !tbaa !5
  %60 = fadd <4 x float> %wide.load.4, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %61 = fmul <4 x float> %60, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %62 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds (i8, ptr @input, i64 3136), i64 0, i64 %indvars.iv25, i64 16
  %wide.load30.4 = load <4 x float>, ptr %62, align 16, !tbaa !5
  %63 = fadd <4 x float> %wide.load30.4, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %64 = fmul <4 x float> %63, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %65 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds (i8, ptr @input, i64 6272), i64 0, i64 %indvars.iv25, i64 16
  %wide.load31.4 = load <4 x float>, ptr %65, align 16, !tbaa !5
  %66 = fadd <4 x float> %wide.load31.4, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %67 = fmul <4 x float> %66, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %68 = fptoui <4 x float> %67 to <4 x i8>
  %69 = add nsw i64 %2, 50
  %gep35 = getelementptr [2352 x i8], ptr getelementptr (i8, ptr @rgbbytes, i64 -2), i64 0, i64 %69
  %70 = shufflevector <4 x float> %61, <4 x float> %64, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
  %71 = fptoui <8 x float> %70 to <8 x i8>
  %72 = shufflevector <4 x i8> %68, <4 x i8> poison, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 poison, i32 poison, i32 poison, i32 poison>
  %interleaved.vec.4 = shufflevector <8 x i8> %71, <8 x i8> %72, <12 x i32> <i32 0, i32 4, i32 8, i32 1, i32 5, i32 9, i32 2, i32 6, i32 10, i32 3, i32 7, i32 11>
  store <12 x i8> %interleaved.vec.4, ptr %gep35, align 1, !tbaa !9
  %73 = getelementptr inbounds [28 x [28 x float]], ptr @input, i64 0, i64 %indvars.iv25, i64 20
  %wide.load.5 = load <4 x float>, ptr %73, align 16, !tbaa !5
  %74 = fadd <4 x float> %wide.load.5, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %75 = fmul <4 x float> %74, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %76 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds (i8, ptr @input, i64 3136), i64 0, i64 %indvars.iv25, i64 20
  %wide.load30.5 = load <4 x float>, ptr %76, align 16, !tbaa !5
  %77 = fadd <4 x float> %wide.load30.5, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %78 = fmul <4 x float> %77, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %79 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds (i8, ptr @input, i64 6272), i64 0, i64 %indvars.iv25, i64 20
  %wide.load31.5 = load <4 x float>, ptr %79, align 16, !tbaa !5
  %80 = fadd <4 x float> %wide.load31.5, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %81 = fmul <4 x float> %80, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %82 = fptoui <4 x float> %81 to <4 x i8>
  %83 = add nsw i64 %2, 62
  %gep36 = getelementptr [2352 x i8], ptr getelementptr (i8, ptr @rgbbytes, i64 -2), i64 0, i64 %83
  %84 = shufflevector <4 x float> %75, <4 x float> %78, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
  %85 = fptoui <8 x float> %84 to <8 x i8>
  %86 = shufflevector <4 x i8> %82, <4 x i8> poison, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 poison, i32 poison, i32 poison, i32 poison>
  %interleaved.vec.5 = shufflevector <8 x i8> %85, <8 x i8> %86, <12 x i32> <i32 0, i32 4, i32 8, i32 1, i32 5, i32 9, i32 2, i32 6, i32 10, i32 3, i32 7, i32 11>
  store <12 x i8> %interleaved.vec.5, ptr %gep36, align 1, !tbaa !9
  %87 = getelementptr inbounds [28 x [28 x float]], ptr @input, i64 0, i64 %indvars.iv25, i64 24
  %wide.load.6 = load <4 x float>, ptr %87, align 16, !tbaa !5
  %88 = fadd <4 x float> %wide.load.6, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %89 = fmul <4 x float> %88, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %90 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds (i8, ptr @input, i64 3136), i64 0, i64 %indvars.iv25, i64 24
  %wide.load30.6 = load <4 x float>, ptr %90, align 16, !tbaa !5
  %91 = fadd <4 x float> %wide.load30.6, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %92 = fmul <4 x float> %91, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %93 = getelementptr inbounds [28 x [28 x float]], ptr getelementptr inbounds (i8, ptr @input, i64 6272), i64 0, i64 %indvars.iv25, i64 24
  %wide.load31.6 = load <4 x float>, ptr %93, align 16, !tbaa !5
  %94 = fadd <4 x float> %wide.load31.6, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
  %95 = fmul <4 x float> %94, <float 1.275000e+02, float 1.275000e+02, float 1.275000e+02, float 1.275000e+02>
  %96 = fptoui <4 x float> %95 to <4 x i8>
  %97 = add nsw i64 %2, 74
  %gep37 = getelementptr [2352 x i8], ptr getelementptr (i8, ptr @rgbbytes, i64 -2), i64 0, i64 %97
  %98 = shufflevector <4 x float> %89, <4 x float> %92, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
  %99 = fptoui <8 x float> %98 to <8 x i8>
  %100 = shufflevector <4 x i8> %96, <4 x i8> poison, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 poison, i32 poison, i32 poison, i32 poison>
  %interleaved.vec.6 = shufflevector <8 x i8> %99, <8 x i8> %100, <12 x i32> <i32 0, i32 4, i32 8, i32 1, i32 5, i32 9, i32 2, i32 6, i32 10, i32 3, i32 7, i32 11>
  store <12 x i8> %interleaved.vec.6, ptr %gep37, align 1, !tbaa !9
  %indvars.iv.next26 = add nuw nsw i64 %indvars.iv25, 1
  %exitcond28.not = icmp eq i64 %indvars.iv.next26, 28
  br i1 %exitcond28.not, label %101, label %.preheader, !llvm.loop !10

101:                                              ; preds = %.preheader
  tail call void @writePPM(ptr noundef %0, ptr noundef nonnull @rgbbytes)
  ret void
}

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass