; LLVM IR from HarshCasper/NeoAlgo :: C/cryptography (Columnar_Cipher)

; 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"

@encrypt.decrypted_message = external hidden global [100 x i8], align 16

; Function Attrs: nounwind uwtable
declare dso_local ptr @sort(ptr noundef, i32 noundef) #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @order(ptr noundef) #0

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local ptr @encrypt(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = call i64 @strlen(ptr noundef %22) #5
  %24 = trunc i64 %23 to i32
  store i32 %24, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = call i64 @strlen(ptr noundef %25) #5
  %27 = sub i64 %26, 1
  %28 = trunc i64 %27 to i32
  store i32 %28, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %29

29:                                               ; preds = %48, %2
  %30 = load i32, ptr %7, align 4, !tbaa !9
  %31 = load i32, ptr %6, align 4, !tbaa !9
  %32 = icmp slt i32 %30, %31
  br i1 %32, label %34, label %33

33:                                               ; preds = %29
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %51

34:                                               ; preds = %29
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = load i32, ptr %7, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds i8, ptr %35, i64 %37
  %39 = load i8, ptr %38, align 1, !tbaa !11
  %40 = sext i8 %39 to i32
  %41 = icmp eq i32 %40, 32
  br i1 %41, label %42, label %47

42:                                               ; preds = %34
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = load i32, ptr %7, align 4, !tbaa !9
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds i8, ptr %43, i64 %45
  store i8 95, ptr %46, align 1, !tbaa !11
  br label %47

47:                                               ; preds = %42, %34
  br label %48

48:                                               ; preds = %47
  %49 = load i32, ptr %7, align 4, !tbaa !9
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %7, align 4, !tbaa !9
  br label %29, !llvm.loop !12

51:                                               ; preds = %33
  %52 = load i32, ptr %6, align 4, !tbaa !9
  %53 = load i32, ptr %5, align 4, !tbaa !9
  %54 = srem i32 %52, %53
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %81

56:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %57 = load i32, ptr %5, align 4, !tbaa !9
  %58 = load i32, ptr %6, align 4, !tbaa !9
  %59 = load i32, ptr %5, align 4, !tbaa !9
  %60 = srem i32 %58, %59
  %61 = sub nsw i32 %57, %60
  store i32 %61, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %62

62:                                               ; preds = %74, %56
  %63 = load i32, ptr %9, align 4, !tbaa !9
  %64 = load i32, ptr %8, align 4, !tbaa !9
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %67, label %66

66:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %77

67:                                               ; preds = %62
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = load i32, ptr %6, align 4, !tbaa !9
  %70 = load i32, ptr %9, align 4, !tbaa !9
  %71 = add nsw i32 %69, %70
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds i8, ptr %68, i64 %72
  store i8 95, ptr %73, align 1, !tbaa !11
  br label %74

74:                                               ; preds = %67
  %75 = load i32, ptr %9, align 4, !tbaa !9
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %9, align 4, !tbaa !9
  br label %62, !llvm.loop !14

77:                                               ; preds = %66
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = call i64 @strlen(ptr noundef %78) #5
  %80 = trunc i64 %79 to i32
  store i32 %80, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %81

81:                                               ; preds = %77, %51
  %82 = load i32, ptr %6, align 4, !tbaa !9
  %83 = load i32, ptr %5, align 4, !tbaa !9
  %84 = sdiv i32 %82, %83
  %85 = zext i32 %84 to i64
  %86 = load i32, ptr %5, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = call ptr @llvm.stacksave.p0()
  store ptr %88, ptr %10, align 8
  %89 = mul nuw i64 %85, %87
  %90 = alloca i8, i64 %89, align 16
  store i64 %85, ptr %11, align 8
  store i64 %87, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = call ptr @order(ptr noundef %91)
  store ptr %92, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %93

93:                                               ; preds = %130, %81
  %94 = load i32, ptr %15, align 4, !tbaa !9
  %95 = load i32, ptr %6, align 4, !tbaa !9
  %96 = load i32, ptr %5, align 4, !tbaa !9
  %97 = sdiv i32 %95, %96
  %98 = icmp slt i32 %94, %97
  br i1 %98, label %100, label %99

99:                                               ; preds = %93
  store i32 8, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %133

100:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %101

101:                                              ; preds = %126, %100
  %102 = load i32, ptr %17, align 4, !tbaa !9
  %103 = load i32, ptr %5, align 4, !tbaa !9
  %104 = icmp slt i32 %102, %103
  br i1 %104, label %106, label %105

105:                                              ; preds = %101
  store i32 11, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %129

106:                                              ; preds = %101
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = load i32, ptr %13, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds i8, ptr %107, i64 %109
  %111 = load i8, ptr %110, align 1, !tbaa !11
  %112 = load i32, ptr %15, align 4, !tbaa !9
  %113 = sext i32 %112 to i64
  %114 = mul nsw i64 %113, %87
  %115 = getelementptr inbounds i8, ptr %90, i64 %114
  %116 = load ptr, ptr %14, align 8, !tbaa !5
  %117 = load i32, ptr %17, align 4, !tbaa !9
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds i32, ptr %116, i64 %118
  %120 = load i32, ptr %119, align 4, !tbaa !9
  %121 = sub nsw i32 %120, 1
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds i8, ptr %115, i64 %122
  store i8 %111, ptr %123, align 1, !tbaa !11
  %124 = load i32, ptr %13, align 4, !tbaa !9
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %13, align 4, !tbaa !9
  br label %126

126:                                              ; preds = %106
  %127 = load i32, ptr %17, align 4, !tbaa !9
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %17, align 4, !tbaa !9
  br label %101, !llvm.loop !15

129:                                              ; preds = %105
  br label %130

130:                                              ; preds = %129
  %131 = load i32, ptr %15, align 4, !tbaa !9
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %15, align 4, !tbaa !9
  br label %93, !llvm.loop !16

133:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %134 = load ptr, ptr %14, align 8, !tbaa !5
  %135 = load i32, ptr %5, align 4, !tbaa !9
  %136 = call ptr @sort(ptr noundef %134, i32 noundef %135)
  store ptr %136, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %137

137:                                              ; preds = %194, %133
  %138 = load i32, ptr %20, align 4, !tbaa !9
  %139 = load i32, ptr %5, align 4, !tbaa !9
  %140 = icmp slt i32 %138, %139
  br i1 %140, label %142, label %141

141:                                              ; preds = %137
  store i32 14, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %197

142:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %143

143:                                              ; preds = %190, %142
  %144 = load i32, ptr %21, align 4, !tbaa !9
  %145 = load i32, ptr %6, align 4, !tbaa !9
  %146 = load i32, ptr %5, align 4, !tbaa !9
  %147 = sdiv i32 %145, %146
  %148 = icmp slt i32 %144, %147
  br i1 %148, label %150, label %149

149:                                              ; preds = %143
  store i32 17, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %193

150:                                              ; preds = %143
  %151 = load i32, ptr %21, align 4, !tbaa !9
  %152 = sext i32 %151 to i64
  %153 = mul nsw i64 %152, %87
  %154 = getelementptr inbounds i8, ptr %90, i64 %153
  %155 = load ptr, ptr %18, align 8, !tbaa !5
  %156 = load i32, ptr %20, align 4, !tbaa !9
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds i32, ptr %155, i64 %157
  %159 = load i32, ptr %158, align 4, !tbaa !9
  %160 = sub nsw i32 %159, 1
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds i8, ptr %154, i64 %161
  %163 = load i8, ptr %162, align 1, !tbaa !11
  %164 = sext i8 %163 to i32
  %165 = icmp eq i32 %164, 32
  br i1 %165, label %166, label %170

166:                                              ; preds = %150
  %167 = load i32, ptr %19, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds [100 x i8], ptr @encrypt.decrypted_message, i64 0, i64 %168
  store i8 95, ptr %169, align 1, !tbaa !11
  br label %187

170:                                              ; preds = %150
  %171 = load i32, ptr %21, align 4, !tbaa !9
  %172 = sext i32 %171 to i64
  %173 = mul nsw i64 %172, %87
  %174 = getelementptr inbounds i8, ptr %90, i64 %173
  %175 = load ptr, ptr %18, align 8, !tbaa !5
  %176 = load i32, ptr %20, align 4, !tbaa !9
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds i32, ptr %175, i64 %177
  %179 = load i32, ptr %178, align 4, !tbaa !9
  %180 = sub nsw i32 %179, 1
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds i8, ptr %174, i64 %181
  %183 = load i8, ptr %182, align 1, !tbaa !11
  %184 = load i32, ptr %19, align 4, !tbaa !9
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds [100 x i8], ptr @encrypt.decrypted_message, i64 0, i64 %185
  store i8 %183, ptr %186, align 1, !tbaa !11
  br label %187

187:                                              ; preds = %170, %166
  %188 = load i32, ptr %19, align 4, !tbaa !9
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %19, align 4, !tbaa !9
  br label %190

190:                                              ; preds = %187
  %191 = load i32, ptr %21, align 4, !tbaa !9
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %21, align 4, !tbaa !9
  br label %143, !llvm.loop !17

193:                                              ; preds = %149
  br label %194

194:                                              ; preds = %193
  %195 = load i32, ptr %20, align 4, !tbaa !9
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %20, align 4, !tbaa !9
  br label %137, !llvm.loop !18

197:                                              ; preds = %141
  store i32 1, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  %198 = load ptr, ptr %10, align 8
  call void @llvm.stackrestore.p0(ptr %198)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  ret ptr @encrypt.decrypted_message
}

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3

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" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind willreturn memory(read) "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 #3 = { nocallback nofree nosync nounwind willreturn }
attributes #4 = { nounwind }
attributes #5 = { nounwind willreturn memory(read) }

!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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}


; 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"

@encrypt.decrypted_message = external hidden global [100 x i8], align 16

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local noundef nonnull ptr @encrypt(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #2
  %4 = trunc i64 %3 to i32
  %5 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #2
  %6 = trunc i64 %5 to i32
  %7 = add i32 %6, -1
  %8 = icmp sgt i32 %7, 0
  br i1 %8, label %iter.check, label %._crit_edge

iter.check:                                       ; preds = %2
  %wide.trip.count = zext nneg i32 %7 to i64
  %min.iters.check = icmp ult i32 %7, 8
  br i1 %min.iters.check, label %.lr.ph.preheader, label %vector.main.loop.iter.check

vector.main.loop.iter.check:                      ; preds = %iter.check
  %min.iters.check132 = icmp ult i32 %7, 32
  br i1 %min.iters.check132, label %vec.epilog.ph, label %vector.ph

vector.ph:                                        ; preds = %vector.main.loop.iter.check
  %n.vec = and i64 %wide.trip.count, 2147483616
  br label %vector.body

vector.body:                                      ; preds = %pred.store.continue195, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %pred.store.continue195 ]
  %9 = or disjoint i64 %index, 16
  %10 = getelementptr inbounds i8, ptr %0, i64 %index
  %11 = getelementptr inbounds i8, ptr %10, i64 16
  %wide.load = load <16 x i8>, ptr %10, align 1, !tbaa !5
  %wide.load133 = load <16 x i8>, ptr %11, align 1, !tbaa !5
  %12 = icmp eq <16 x i8> %wide.load, <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>
  %13 = icmp eq <16 x i8> %wide.load133, <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>
  %14 = extractelement <16 x i1> %12, i64 0
  br i1 %14, label %pred.store.if, label %pred.store.continue

pred.store.if:                                    ; preds = %vector.body
  %15 = getelementptr inbounds i8, ptr %0, i64 %index
  store i8 95, ptr %15, align 1, !tbaa !5
  br label %pred.store.continue

pred.store.continue:                              ; preds = %pred.store.if, %vector.body
  %16 = extractelement <16 x i1> %12, i64 1
  br i1 %16, label %pred.store.if134, label %pred.store.continue135

pred.store.if134:                                 ; preds = %pred.store.continue
  %17 = or disjoint i64 %index, 1
  %18 = getelementptr inbounds i8, ptr %0, i64 %17
  store i8 95, ptr %18, align 1, !tbaa !5
  br label %pred.store.continue135

pred.store.continue135:                           ; preds = %pred.store.if134, %pred.store.continue
  %19 = extractelement <16 x i1> %12, i64 2
  br i1 %19, label %pred.store.if136, label %pred.store.continue137

pred.store.if136:                                 ; preds = %pred.store.continue135
  %20 = or disjoint i64 %index, 2
  %21 = getelementptr inbounds i8, ptr %0, i64 %20
  store i8 95, ptr %21, align 1, !tbaa !5
  br label %pred.store.continue137

pred.store.continue137:                           ; preds = %pred.store.if136, %pred.store.continue135
  %22 = extractelement <16 x i1> %12, i64 3
  br i1 %22, label %pred.store.if138, label %pred.store.continue139

pred.store.if138:                                 ; preds = %pred.store.continue137
  %23 = or disjoint i64 %index, 3
  %24 = getelementptr inbounds i8, ptr %0, i64 %23
  store i8 95, ptr %24, align 1, !tbaa !5
  br label %pred.store.continue139

pred.store.continue139:                           ; preds = %pred.store.if138, %pred.store.continue137
  %25 = extractelement <16 x i1> %12, i64 4
  br i1 %25, label %pred.store.if140, label %pred.store.continue141

pred.store.if140:                                 ; preds = %pred.store.continue139
  %26 = or disjoint i64 %index, 4
  %27 = getelementptr inbounds i8, ptr %0, i64 %26
  store i8 95, ptr %27, align 1, !tbaa !5
  br label %pred.store.continue141

pred.store.continue141:                           ; preds = %pred.store.if140, %pred.store.continue139
  %28 = extractelement <16 x i1> %12, i64 5
  br i1 %28, label %pred.store.if142, label %pred.store.continue143

pred.store.if142:                                 ; preds = %pred.store.continue141
  %29 = or disjoint i64 %index, 5
  %30 = getelementptr inbounds i8, ptr %0, i64 %29
  store i8 95, ptr %30, align 1, !tbaa !5
  br label %pred.store.continue143

pred.store.continue143:                           ; preds = %pred.store.if142, %pred.store.continue141
  %31 = extractelement <16 x i1> %12, i64 6
  br i1 %31, label %pred.store.if144, label %pred.store.continue145

pred.store.if144:                                 ; preds = %pred.store.continue143
  %32 = or disjoint i64 %index, 6
  %33 = getelementptr inbounds i8, ptr %0, i64 %32
  store i8 95, ptr %33, align 1, !tbaa !5
  br label %pred.store.continue145

pred.store.continue145:                           ; preds = %pred.store.if144, %pred.store.continue143
  %34 = extractelement <16 x i1> %12, i64 7
  br i1 %34, label %pred.store.if146, label %pred.store.continue147

pred.store.if146:                                 ; preds = %pred.store.continue145
  %35 = or disjoint i64 %index, 7
  %36 = getelementptr inbounds i8, ptr %0, i64 %35
  store i8 95, ptr %36, align 1, !tbaa !5
  br label %pred.store.continue147

pred.store.continue147:                           ; preds = %pred.store.if146, %pred.store.continue145
  %37 = extractelement <16 x i1> %12, i64 8
  br i1 %37, label %pred.store.if148, label %pred.store.continue149

pred.store.if148:                                 ; preds = %pred.store.continue147
  %38 = or disjoint i64 %index, 8
  %39 = getelementptr inbounds i8, ptr %0, i64 %38
  store i8 95, ptr %39, align 1, !tbaa !5
  br label %pred.store.continue149

pred.store.continue149:                           ; preds = %pred.store.if148, %pred.store.continue147
  %40 = extractelement <16 x i1> %12, i64 9
  br i1 %40, label %pred.store.if150, label %pred.store.continue151

pred.store.if150:                                 ; preds = %pred.store.continue149
  %41 = or disjoint i64 %index, 9
  %42 = getelementptr inbounds i8, ptr %0, i64 %41
  store i8 95, ptr %42, align 1, !tbaa !5
  br label %pred.store.continue151

pred.store.continue151:                           ; preds = %pred.store.if150, %pred.store.continue149
  %43 = extractelement <16 x i1> %12, i64 10
  br i1 %43, label %pred.store.if152, label %pred.store.continue153

pred.store.if152:                                 ; preds = %pred.store.continue151
  %44 = or disjoint i64 %index, 10
  %45 = getelementptr inbounds i8, ptr %0, i64 %44
  store i8 95, ptr %45, align 1, !tbaa !5
  br label %pred.store.continue153

pred.store.continue153:                           ; preds = %pred.store.if152, %pred.store.continue151
  %46 = extractelement <16 x i1> %12, i64 11
  br i1 %46, label %pred.store.if154, label %pred.store.continue155

pred.store.if154:                                 ; preds = %pred.store.continue153
  %47 = or disjoint i64 %index, 11
  %48 = getelementptr inbounds i8, ptr %0, i64 %47
  store i8 95, ptr %48, align 1, !tbaa !5
  br label %pred.store.continue155

pred.store.continue155:                           ; preds = %pred.store.if154, %pred.store.continue153
  %49 = extractelement <16 x i1> %12, i64 12
  br i1 %49, label %pred.store.if156, label %pred.store.continue157

pred.store.if156:                                 ; preds = %pred.store.continue155
  %50 = or disjoint i64 %index, 12
  %51 = getelementptr inbounds i8, ptr %0, i64 %50
  store i8 95, ptr %51, align 1, !tbaa !5
  br label %pred.store.continue157

pred.store.continue157:                           ; preds = %pred.store.if156, %pred.store.continue155
  %52 = extractelement <16 x i1> %12, i64 13
  br i1 %52, label %pred.store.if158, label %pred.store.continue159

pred.store.if158:                                 ; preds = %pred.store.continue157
  %53 = or disjoint i64 %index, 13
  %54 = getelementptr inbounds i8, ptr %0, i64 %53
  store i8 95, ptr %54, align 1, !tbaa !5
  br label %pred.store.continue159

pred.store.continue159:                           ; preds = %pred.store.if158, %pred.store.continue157
  %55 = extractelement <16 x i1> %12, i64 14
  br i1 %55, label %pred.store.if160, label %pred.store.continue161

pred.store.if160:                                 ; preds = %pred.store.continue159
  %56 = or disjoint i64 %index, 14
  %57 = getelementptr inbounds i8, ptr %0, i64 %56
  store i8 95, ptr %57, align 1, !tbaa !5
  br label %pred.store.continue161

pred.store.continue161:                           ; preds = %pred.store.if160, %pred.store.continue159
  %58 = extractelement <16 x i1> %12, i64 15
  br i1 %58, label %pred.store.if162, label %pred.store.continue163

pred.store.if162:                                 ; preds = %pred.store.continue161
  %59 = or disjoint i64 %index, 15
  %60 = getelementptr inbounds i8, ptr %0, i64 %59
  store i8 95, ptr %60, align 1, !tbaa !5
  br label %pred.store.continue163

pred.store.continue163:                           ; preds = %pred.store.if162, %pred.store.continue161
  %61 = extractelement <16 x i1> %13, i64 0
  br i1 %61, label %pred.store.if164, label %pred.store.continue165

pred.store.if164:                                 ; preds = %pred.store.continue163
  %62 = getelementptr inbounds i8, ptr %0, i64 %9
  store i8 95, ptr %62, align 1, !tbaa !5
  br label %pred.store.continue165

pred.store.continue165:                           ; preds = %pred.store.if164, %pred.store.continue163
  %63 = extractelement <16 x i1> %13, i64 1
  br i1 %63, label %pred.store.if166, label %pred.store.continue167

pred.store.if166:                                 ; preds = %pred.store.continue165
  %64 = or disjoint i64 %index, 17
  %65 = getelementptr inbounds i8, ptr %0, i64 %64
  store i8 95, ptr %65, align 1, !tbaa !5
  br label %pred.store.continue167

pred.store.continue167:                           ; preds = %pred.store.if166, %pred.store.continue165
  %66 = extractelement <16 x i1> %13, i64 2
  br i1 %66, label %pred.store.if168, label %pred.store.continue169

pred.store.if168:                                 ; preds = %pred.store.continue167
  %67 = or disjoint i64 %index, 18
  %68 = getelementptr inbounds i8, ptr %0, i64 %67
  store i8 95, ptr %68, align 1, !tbaa !5
  br label %pred.store.continue169

pred.store.continue169:                           ; preds = %pred.store.if168, %pred.store.continue167
  %69 = extractelement <16 x i1> %13, i64 3
  br i1 %69, label %pred.store.if170, label %pred.store.continue171

pred.store.if170:                                 ; preds = %pred.store.continue169
  %70 = or disjoint i64 %index, 19
  %71 = getelementptr inbounds i8, ptr %0, i64 %70
  store i8 95, ptr %71, align 1, !tbaa !5
  br label %pred.store.continue171

pred.store.continue171:                           ; preds = %pred.store.if170, %pred.store.continue169
  %72 = extractelement <16 x i1> %13, i64 4
  br i1 %72, label %pred.store.if172, label %pred.store.continue173

pred.store.if172:                                 ; preds = %pred.store.continue171
  %73 = or disjoint i64 %index, 20
  %74 = getelementptr inbounds i8, ptr %0, i64 %73
  store i8 95, ptr %74, align 1, !tbaa !5
  br label %pred.store.continue173

pred.store.continue173:                           ; preds = %pred.store.if172, %pred.store.continue171
  %75 = extractelement <16 x i1> %13, i64 5
  br i1 %75, label %pred.store.if174, label %pred.store.continue175

pred.store.if174:                                 ; preds = %pred.store.continue173
  %76 = or disjoint i64 %index, 21
  %77 = getelementptr inbounds i8, ptr %0, i64 %76
  store i8 95, ptr %77, align 1, !tbaa !5
  br label %pred.store.continue175

pred.store.continue175:                           ; preds = %pred.store.if174, %pred.store.continue173
  %78 = extractelement <16 x i1> %13, i64 6
  br i1 %78, label %pred.store.if176, label %pred.store.continue177

pred.store.if176:                                 ; preds = %pred.store.continue175
  %79 = or disjoint i64 %index, 22
  %80 = getelementptr inbounds i8, ptr %0, i64 %79
  store i8 95, ptr %80, align 1, !tbaa !5
  br label %pred.store.continue177

pred.store.continue177:                           ; preds = %pred.store.if176, %pred.store.continue175
  %81 = extractelement <16 x i1> %13, i64 7
  br i1 %81, label %pred.store.if178, label %pred.store.continue179

pred.store.if178:                                 ; preds = %pred.store.continue177
  %82 = or disjoint i64 %index, 23
  %83 = getelementptr inbounds i8, ptr %0, i64 %82
  store i8 95, ptr %83, align 1, !tbaa !5
  br label %pred.store.continue179

pred.store.continue179:                           ; preds = %pred.store.if178, %pred.store.continue177
  %84 = extractelement <16 x i1> %13, i64 8
  br i1 %84, label %pred.store.if180, label %pred.store.continue181

pred.store.if180:                                 ; preds = %pred.store.continue179
  %85 = or disjoint i64 %index, 24
  %86 = getelementptr inbounds i8, ptr %0, i64 %85
  store i8 95, ptr %86, align 1, !tbaa !5
  br label %pred.store.continue181

pred.store.continue181:                           ; preds = %pred.store.if180, %pred.store.continue179
  %87 = extractelement <16 x i1> %13, i64 9
  br i1 %87, label %pred.store.if182, label %pred.store.continue183

pred.store.if182:                                 ; preds = %pred.store.continue181
  %88 = or disjoint i64 %index, 25
  %89 = getelementptr inbounds i8, ptr %0, i64 %88
  store i8 95, ptr %89, align 1, !tbaa !5
  br label %pred.store.continue183

pred.store.continue183:                           ; preds = %pred.store.if182, %pred.store.continue181
  %90 = extractelement <16 x i1> %13, i64 10
  br i1 %90, label %pred.store.if184, label %pred.store.continue185

pred.store.if184:                                 ; preds = %pred.store.continue183
  %91 = or disjoint i64 %index, 26
  %92 = getelementptr inbounds i8, ptr %0, i64 %91
  store i8 95, ptr %92, align 1, !tbaa !5
  br label %pred.store.continue185

pred.store.continue185:                           ; preds = %pred.store.if184, %pred.store.continue183
  %93 = extractelement <16 x i1> %13, i64 11
  br i1 %93, label %pred.store.if186, label %pred.store.continue187

pred.store.if186:                                 ; preds = %pred.store.continue185
  %94 = or disjoint i64 %index, 27
  %95 = getelementptr inbounds i8, ptr %0, i64 %94
  store i8 95, ptr %95, align 1, !tbaa !5
  br label %pred.store.continue187

pred.store.continue187:                           ; preds = %pred.store.if186, %pred.store.continue185
  %96 = extractelement <16 x i1> %13, i64 12
  br i1 %96, label %pred.store.if188, label %pred.store.continue189

pred.store.if188:                                 ; preds = %pred.store.continue187
  %97 = or disjoint i64 %index, 28
  %98 = getelementptr inbounds i8, ptr %0, i64 %97
  store i8 95, ptr %98, align 1, !tbaa !5
  br label %pred.store.continue189

pred.store.continue189:                           ; preds = %pred.store.if188, %pred.store.continue187
  %99 = extractelement <16 x i1> %13, i64 13
  br i1 %99, label %pred.store.if190, label %pred.store.continue191

pred.store.if190:                                 ; preds = %pred.store.continue189
  %100 = or disjoint i64 %index, 29
  %101 = getelementptr inbounds i8, ptr %0, i64 %100
  store i8 95, ptr %101, align 1, !tbaa !5
  br label %pred.store.continue191

pred.store.continue191:                           ; preds = %pred.store.if190, %pred.store.continue189
  %102 = extractelement <16 x i1> %13, i64 14
  br i1 %102, label %pred.store.if192, label %pred.store.continue193

pred.store.if192:                                 ; preds = %pred.store.continue191
  %103 = or disjoint i64 %index, 30
  %104 = getelementptr inbounds i8, ptr %0, i64 %103
  store i8 95, ptr %104, align 1, !tbaa !5
  br label %pred.store.continue193

pred.store.continue193:                           ; preds = %pred.store.if192, %pred.store.continue191
  %105 = extractelement <16 x i1> %13, i64 15
  br i1 %105, label %pred.store.if194, label %pred.store.continue195

pred.store.if194:                                 ; preds = %pred.store.continue193
  %106 = or disjoint i64 %index, 31
  %107 = getelementptr inbounds i8, ptr %0, i64 %106
  store i8 95, ptr %107, align 1, !tbaa !5
  br label %pred.store.continue195

pred.store.continue195:                           ; preds = %pred.store.if194, %pred.store.continue193
  %index.next = add nuw i64 %index, 32
  %108 = icmp eq i64 %index.next, %n.vec
  br i1 %108, label %middle.block, label %vector.body, !llvm.loop !8

middle.block:                                     ; preds = %pred.store.continue195
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge, label %vec.epilog.iter.check

vec.epilog.iter.check:                            ; preds = %middle.block
  %n.vec.remaining = and i64 %wide.trip.count, 24
  %min.epilog.iters.check = icmp eq i64 %n.vec.remaining, 0
  br i1 %min.epilog.iters.check, label %.lr.ph.preheader, label %vec.epilog.ph

.lr.ph.preheader:                                 ; preds = %vec.epilog.middle.block, %iter.check, %vec.epilog.iter.check
  %indvars.iv.ph = phi i64 [ 0, %iter.check ], [ %n.vec, %vec.epilog.iter.check ], [ %n.vec197, %vec.epilog.middle.block ]
  br label %.lr.ph

vec.epilog.ph:                                    ; preds = %vector.main.loop.iter.check, %vec.epilog.iter.check
  %vec.epilog.resume.val = phi i64 [ %n.vec, %vec.epilog.iter.check ], [ 0, %vector.main.loop.iter.check ]
  %n.vec197 = and i64 %wide.trip.count, 2147483640
  br label %vec.epilog.vector.body

vec.epilog.vector.body:                           ; preds = %pred.store.continue215, %vec.epilog.ph
  %index198 = phi i64 [ %vec.epilog.resume.val, %vec.epilog.ph ], [ %index.next216, %pred.store.continue215 ]
  %109 = getelementptr inbounds i8, ptr %0, i64 %index198
  %wide.load199 = load <8 x i8>, ptr %109, align 1, !tbaa !5
  %110 = icmp eq <8 x i8> %wide.load199, <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>
  %111 = extractelement <8 x i1> %110, i64 0
  br i1 %111, label %pred.store.if200, label %pred.store.continue201

pred.store.if200:                                 ; preds = %vec.epilog.vector.body
  %112 = getelementptr inbounds i8, ptr %0, i64 %index198
  store i8 95, ptr %112, align 1, !tbaa !5
  br label %pred.store.continue201

pred.store.continue201:                           ; preds = %pred.store.if200, %vec.epilog.vector.body
  %113 = extractelement <8 x i1> %110, i64 1
  br i1 %113, label %pred.store.if202, label %pred.store.continue203

pred.store.if202:                                 ; preds = %pred.store.continue201
  %114 = or disjoint i64 %index198, 1
  %115 = getelementptr inbounds i8, ptr %0, i64 %114
  store i8 95, ptr %115, align 1, !tbaa !5
  br label %pred.store.continue203

pred.store.continue203:                           ; preds = %pred.store.if202, %pred.store.continue201
  %116 = extractelement <8 x i1> %110, i64 2
  br i1 %116, label %pred.store.if204, label %pred.store.continue205

pred.store.if204:                                 ; preds = %pred.store.continue203
  %117 = or disjoint i64 %index198, 2
  %118 = getelementptr inbounds i8, ptr %0, i64 %117
  store i8 95, ptr %118, align 1, !tbaa !5
  br label %pred.store.continue205

pred.store.continue205:                           ; preds = %pred.store.if204, %pred.store.continue203
  %119 = extractelement <8 x i1> %110, i64 3
  br i1 %119, label %pred.store.if206, label %pred.store.continue207

pred.store.if206:                                 ; preds = %pred.store.continue205
  %120 = or disjoint i64 %index198, 3
  %121 = getelementptr inbounds i8, ptr %0, i64 %120
  store i8 95, ptr %121, align 1, !tbaa !5
  br label %pred.store.continue207

pred.store.continue207:                           ; preds = %pred.store.if206, %pred.store.continue205
  %122 = extractelement <8 x i1> %110, i64 4
  br i1 %122, label %pred.store.if208, label %pred.store.continue209

pred.store.if208:                                 ; preds = %pred.store.continue207
  %123 = or disjoint i64 %index198, 4
  %124 = getelementptr inbounds i8, ptr %0, i64 %123
  store i8 95, ptr %124, align 1, !tbaa !5
  br label %pred.store.continue209

pred.store.continue209:                           ; preds = %pred.store.if208, %pred.store.continue207
  %125 = extractelement <8 x i1> %110, i64 5
  br i1 %125, label %pred.store.if210, label %pred.store.continue211

pred.store.if210:                                 ; preds = %pred.store.continue209
  %126 = or disjoint i64 %index198, 5
  %127 = getelementptr inbounds i8, ptr %0, i64 %126
  store i8 95, ptr %127, align 1, !tbaa !5
  br label %pred.store.continue211

pred.store.continue211:                           ; preds = %pred.store.if210, %pred.store.continue209
  %128 = extractelement <8 x i1> %110, i64 6
  br i1 %128, label %pred.store.if212, label %pred.store.continue213

pred.store.if212:                                 ; preds = %pred.store.continue211
  %129 = or disjoint i64 %index198, 6
  %130 = getelementptr inbounds i8, ptr %0, i64 %129
  store i8 95, ptr %130, align 1, !tbaa !5
  br label %pred.store.continue213

pred.store.continue213:                           ; preds = %pred.store.if212, %pred.store.continue211
  %131 = extractelement <8 x i1> %110, i64 7
  br i1 %131, label %pred.store.if214, label %pred.store.continue215

pred.store.if214:                                 ; preds = %pred.store.continue213
  %132 = or disjoint i64 %index198, 7
  %133 = getelementptr inbounds i8, ptr %0, i64 %132
  store i8 95, ptr %133, align 1, !tbaa !5
  br label %pred.store.continue215

pred.store.continue215:                           ; preds = %pred.store.if214, %pred.store.continue213
  %index.next216 = add nuw i64 %index198, 8
  %134 = icmp eq i64 %index.next216, %n.vec197
  br i1 %134, label %vec.epilog.middle.block, label %vec.epilog.vector.body, !llvm.loop !12

vec.epilog.middle.block:                          ; preds = %pred.store.continue215
  %cmp.n217 = icmp eq i64 %n.vec197, %wide.trip.count
  br i1 %cmp.n217, label %._crit_edge, label %.lr.ph.preheader

._crit_edge:                                      ; preds = %140, %middle.block, %vec.epilog.middle.block, %2
  %135 = srem i32 %7, %4
  %.not = icmp eq i32 %135, 0
  br i1 %.not, label %152, label %141

.lr.ph:                                           ; preds = %.lr.ph.preheader, %140
  %indvars.iv = phi i64 [ %indvars.iv.next, %140 ], [ %indvars.iv.ph, %.lr.ph.preheader ]
  %136 = getelementptr inbounds i8, ptr %0, i64 %indvars.iv
  %137 = load i8, ptr %136, align 1, !tbaa !5
  %138 = icmp eq i8 %137, 32
  br i1 %138, label %139, label %140

139:                                              ; preds = %.lr.ph
  store i8 95, ptr %136, align 1, !tbaa !5
  br label %140

140:                                              ; preds = %.lr.ph, %139
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

141:                                              ; preds = %._crit_edge
  %142 = sub nsw i32 %4, %135
  %143 = icmp sgt i32 %142, 0
  br i1 %143, label %iter.check221, label %._crit_edge73

iter.check221:                                    ; preds = %141
  %144 = sext i32 %7 to i64
  %wide.trip.count98 = zext nneg i32 %142 to i64
  %invariant.gep = getelementptr i8, ptr %0, i64 %144
  %min.iters.check219 = icmp ult i32 %142, 8
  br i1 %min.iters.check219, label %.lr.ph72.preheader, label %vector.main.loop.iter.check223

vector.main.loop.iter.check223:                   ; preds = %iter.check221
  %min.iters.check222 = icmp ult i32 %142, 32
  br i1 %min.iters.check222, label %vec.epilog.ph233, label %vector.ph224

vector.ph224:                                     ; preds = %vector.main.loop.iter.check223
  %n.vec226 = and i64 %wide.trip.count98, 2147483616
  br label %vector.body227

vector.body227:                                   ; preds = %vector.body227, %vector.ph224
  %index228 = phi i64 [ 0, %vector.ph224 ], [ %index.next229, %vector.body227 ]
  %145 = getelementptr i8, ptr %invariant.gep, i64 %index228
  %146 = getelementptr i8, ptr %145, i64 16
  store <16 x i8> <i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95>, ptr %145, align 1, !tbaa !5
  store <16 x i8> <i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95>, ptr %146, align 1, !tbaa !5
  %index.next229 = add nuw i64 %index228, 32
  %147 = icmp eq i64 %index.next229, %n.vec226
  br i1 %147, label %middle.block218, label %vector.body227, !llvm.loop !14

middle.block218:                                  ; preds = %vector.body227
  %cmp.n230 = icmp eq i64 %n.vec226, %wide.trip.count98
  br i1 %cmp.n230, label %._crit_edge73, label %vec.epilog.iter.check234

vec.epilog.iter.check234:                         ; preds = %middle.block218
  %n.vec.remaining235 = and i64 %wide.trip.count98, 24
  %min.epilog.iters.check236 = icmp eq i64 %n.vec.remaining235, 0
  br i1 %min.epilog.iters.check236, label %.lr.ph72.preheader, label %vec.epilog.ph233

.lr.ph72.preheader:                               ; preds = %vec.epilog.middle.block231, %iter.check221, %vec.epilog.iter.check234
  %indvars.iv95.ph = phi i64 [ 0, %iter.check221 ], [ %n.vec226, %vec.epilog.iter.check234 ], [ %n.vec239, %vec.epilog.middle.block231 ]
  br label %.lr.ph72

vec.epilog.ph233:                                 ; preds = %vector.main.loop.iter.check223, %vec.epilog.iter.check234
  %vec.epilog.resume.val237 = phi i64 [ %n.vec226, %vec.epilog.iter.check234 ], [ 0, %vector.main.loop.iter.check223 ]
  %n.vec239 = and i64 %wide.trip.count98, 2147483640
  br label %vec.epilog.vector.body241

vec.epilog.vector.body241:                        ; preds = %vec.epilog.vector.body241, %vec.epilog.ph233
  %index242 = phi i64 [ %vec.epilog.resume.val237, %vec.epilog.ph233 ], [ %index.next243, %vec.epilog.vector.body241 ]
  %148 = getelementptr i8, ptr %invariant.gep, i64 %index242
  store <8 x i8> <i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95, i8 95>, ptr %148, align 1, !tbaa !5
  %index.next243 = add nuw i64 %index242, 8
  %149 = icmp eq i64 %index.next243, %n.vec239
  br i1 %149, label %vec.epilog.middle.block231, label %vec.epilog.vector.body241, !llvm.loop !15

vec.epilog.middle.block231:                       ; preds = %vec.epilog.vector.body241
  %cmp.n244 = icmp eq i64 %n.vec239, %wide.trip.count98
  br i1 %cmp.n244, label %._crit_edge73, label %.lr.ph72.preheader

._crit_edge73:                                    ; preds = %.lr.ph72, %middle.block218, %vec.epilog.middle.block231, %141
  %150 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #2
  %151 = trunc i64 %150 to i32
  br label %152

.lr.ph72:                                         ; preds = %.lr.ph72.preheader, %.lr.ph72
  %indvars.iv95 = phi i64 [ %indvars.iv.next96, %.lr.ph72 ], [ %indvars.iv95.ph, %.lr.ph72.preheader ]
  %gep = getelementptr i8, ptr %invariant.gep, i64 %indvars.iv95
  store i8 95, ptr %gep, align 1, !tbaa !5
  %indvars.iv.next96 = add nuw nsw i64 %indvars.iv95, 1
  %exitcond99.not = icmp eq i64 %indvars.iv.next96, %wide.trip.count98
  br i1 %exitcond99.not, label %._crit_edge73, label %.lr.ph72, !llvm.loop !16

152:                                              ; preds = %._crit_edge73, %._crit_edge
  %.058 = phi i32 [ %151, %._crit_edge73 ], [ %7, %._crit_edge ]
  %153 = sdiv i32 %.058, %4
  %154 = zext i32 %153 to i64
  %155 = and i64 %3, 4294967295
  %156 = mul nuw i64 %155, %154
  %157 = alloca i8, i64 %156, align 16
  %158 = tail call ptr @order(ptr noundef %1)
  %invariant.gep78 = getelementptr i8, ptr %157, i64 -1
  %159 = icmp sgt i32 %153, 0
  %160 = icmp sgt i32 %4, 0
  %or.cond = and i1 %159, %160
  br i1 %or.cond, label %.preheader68.us.preheader, label %._crit_edge89.sink.split

.preheader68.us.preheader:                        ; preds = %152
  %wide.trip.count107 = and i64 %3, 2147483647
  %161 = add nsw i64 %wide.trip.count107, -1
  %xtraiter = and i64 %3, 3
  %162 = icmp ult i64 %161, 3
  %unroll_iter = sub nsw i64 %wide.trip.count107, %xtraiter
  %invariant.gep253 = getelementptr i8, ptr %0, i64 1
  %invariant.gep255 = getelementptr i8, ptr %0, i64 2
  %invariant.gep257 = getelementptr i8, ptr %0, i64 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader68.us

.preheader68.us:                                  ; preds = %.preheader68.us.preheader, %._crit_edge77.us
  %indvars.iv109 = phi i64 [ 0, %.preheader68.us.preheader ], [ %indvars.iv.next110, %._crit_edge77.us ]
  %.06280.us = phi i64 [ 0, %.preheader68.us.preheader ], [ %indvars.iv.next103.lcssa, %._crit_edge77.us ]
  %163 = mul nuw nsw i64 %155, %indvars.iv109
  %gep79.us = getelementptr i8, ptr %invariant.gep78, i64 %163
  %sext = shl i64 %.06280.us, 32
  %164 = ashr exact i64 %sext, 32
  br i1 %162, label %._crit_edge77.us.unr-lcssa, label %.preheader68.us.new

.preheader68.us.new:                              ; preds = %.preheader68.us, %.preheader68.us.new
  %indvars.iv102 = phi i64 [ %indvars.iv.next103.3, %.preheader68.us.new ], [ %164, %.preheader68.us ]
  %indvars.iv100 = phi i64 [ %indvars.iv.next101.3, %.preheader68.us.new ], [ 0, %.preheader68.us ]
  %niter = phi i64 [ %niter.next.3, %.preheader68.us.new ], [ 0, %.preheader68.us ]
  %165 = getelementptr inbounds i8, ptr %0, i64 %indvars.iv102
  %166 = load i8, ptr %165, align 1, !tbaa !5
  %167 = getelementptr inbounds i32, ptr %158, i64 %indvars.iv100
  %168 = load i32, ptr %167, align 4, !tbaa !17
  %169 = sext i32 %168 to i64
  %gep.us = getelementptr i8, ptr %gep79.us, i64 %169
  store i8 %166, ptr %gep.us, align 1, !tbaa !5
  %indvars.iv.next101 = or disjoint i64 %indvars.iv100, 1
  %gep254 = getelementptr i8, ptr %invariant.gep253, i64 %indvars.iv102
  %170 = load i8, ptr %gep254, align 1, !tbaa !5
  %171 = getelementptr inbounds i32, ptr %158, i64 %indvars.iv.next101
  %172 = load i32, ptr %171, align 4, !tbaa !17
  %173 = sext i32 %172 to i64
  %gep.us.1 = getelementptr i8, ptr %gep79.us, i64 %173
  store i8 %170, ptr %gep.us.1, align 1, !tbaa !5
  %indvars.iv.next101.1 = or disjoint i64 %indvars.iv100, 2
  %gep256 = getelementptr i8, ptr %invariant.gep255, i64 %indvars.iv102
  %174 = load i8, ptr %gep256, align 1, !tbaa !5
  %175 = getelementptr inbounds i32, ptr %158, i64 %indvars.iv.next101.1
  %176 = load i32, ptr %175, align 4, !tbaa !17
  %177 = sext i32 %176 to i64
  %gep.us.2 = getelementptr i8, ptr %gep79.us, i64 %177
  store i8 %174, ptr %gep.us.2, align 1, !tbaa !5
  %indvars.iv.next101.2 = or disjoint i64 %indvars.iv100, 3
  %gep258 = getelementptr i8, ptr %invariant.gep257, i64 %indvars.iv102
  %178 = load i8, ptr %gep258, align 1, !tbaa !5
  %179 = getelementptr inbounds i32, ptr %158, i64 %indvars.iv.next101.2
  %180 = load i32, ptr %179, align 4, !tbaa !17
  %181 = sext i32 %180 to i64
  %gep.us.3 = getelementptr i8, ptr %gep79.us, i64 %181
  store i8 %178, ptr %gep.us.3, align 1, !tbaa !5
  %indvars.iv.next103.3 = add nsw i64 %indvars.iv102, 4
  %indvars.iv.next101.3 = add nuw nsw i64 %indvars.iv100, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge77.us.unr-lcssa, label %.preheader68.us.new, !llvm.loop !19

._crit_edge77.us.unr-lcssa:                       ; preds = %.preheader68.us.new, %.preheader68.us
  %indvars.iv.next103.lcssa.ph = phi i64 [ poison, %.preheader68.us ], [ %indvars.iv.next103.3, %.preheader68.us.new ]
  %indvars.iv102.unr = phi i64 [ %164, %.preheader68.us ], [ %indvars.iv.next103.3, %.preheader68.us.new ]
  %indvars.iv100.unr = phi i64 [ 0, %.preheader68.us ], [ %indvars.iv.next101.3, %.preheader68.us.new ]
  br i1 %lcmp.mod.not, label %._crit_edge77.us, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge77.us.unr-lcssa, %.epil.preheader
  %indvars.iv102.epil = phi i64 [ %indvars.iv.next103.epil, %.epil.preheader ], [ %indvars.iv102.unr, %._crit_edge77.us.unr-lcssa ]
  %indvars.iv100.epil = phi i64 [ %indvars.iv.next101.epil, %.epil.preheader ], [ %indvars.iv100.unr, %._crit_edge77.us.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge77.us.unr-lcssa ]
  %182 = getelementptr inbounds i8, ptr %0, i64 %indvars.iv102.epil
  %183 = load i8, ptr %182, align 1, !tbaa !5
  %184 = getelementptr inbounds i32, ptr %158, i64 %indvars.iv100.epil
  %185 = load i32, ptr %184, align 4, !tbaa !17
  %186 = sext i32 %185 to i64
  %gep.us.epil = getelementptr i8, ptr %gep79.us, i64 %186
  store i8 %183, ptr %gep.us.epil, align 1, !tbaa !5
  %indvars.iv.next103.epil = add nsw i64 %indvars.iv102.epil, 1
  %indvars.iv.next101.epil = add nuw nsw i64 %indvars.iv100.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge77.us, label %.epil.preheader, !llvm.loop !20

._crit_edge77.us:                                 ; preds = %.epil.preheader, %._crit_edge77.us.unr-lcssa
  %indvars.iv.next103.lcssa = phi i64 [ %indvars.iv.next103.lcssa.ph, %._crit_edge77.us.unr-lcssa ], [ %indvars.iv.next103.epil, %.epil.preheader ]
  %indvars.iv.next110 = add nuw nsw i64 %indvars.iv109, 1
  %exitcond113.not = icmp eq i64 %indvars.iv.next110, %154
  br i1 %exitcond113.not, label %._crit_edge82, label %.preheader68.us, !llvm.loop !22

._crit_edge82:                                    ; preds = %._crit_edge77.us
  %187 = tail call ptr @sort(ptr noundef nonnull %158, i32 noundef %4)
  br i1 %159, label %.preheader.us.preheader, label %._crit_edge89

.preheader.us.preheader:                          ; preds = %._crit_edge82
  %wide.trip.count126 = and i64 %3, 2147483647
  %xtraiter247 = and i64 %154, 1
  %188 = icmp eq i32 %153, 1
  %unroll_iter251 = and i64 %154, 2147483646
  %lcmp.mod249.not = icmp eq i64 %xtraiter247, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge86.us
  %indvars.iv123 = phi i64 [ 0, %.preheader.us.preheader ], [ %indvars.iv.next124, %._crit_edge86.us ]
  %.05787.us = phi i64 [ 0, %.preheader.us.preheader ], [ %indvars.iv.next117.lcssa, %._crit_edge86.us ]
  %189 = getelementptr inbounds i32, ptr %187, i64 %indvars.iv123
  %sext128 = shl i64 %.05787.us, 32
  %190 = ashr exact i64 %sext128, 32
  br i1 %188, label %._crit_edge86.us.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %indvars.iv116 = phi i64 [ %indvars.iv.next117.1, %.preheader.us.new ], [ %190, %.preheader.us ]
  %indvars.iv114 = phi i64 [ %indvars.iv.next115.1, %.preheader.us.new ], [ 0, %.preheader.us ]
  %niter252 = phi i64 [ %niter252.next.1, %.preheader.us.new ], [ 0, %.preheader.us ]
  %191 = mul nuw nsw i64 %155, %indvars.iv114
  %192 = getelementptr inbounds i8, ptr %157, i64 %191
  %193 = load i32, ptr %189, align 4, !tbaa !17
  %194 = sext i32 %193 to i64
  %195 = getelementptr i8, ptr %192, i64 %194
  %196 = getelementptr i8, ptr %195, i64 -1
  %197 = load i8, ptr %196, align 1, !tbaa !5
  %198 = icmp eq i8 %197, 32
  %spec.select = select i1 %198, i8 95, i8 %197
  %199 = getelementptr inbounds [100 x i8], ptr @encrypt.decrypted_message, i64 0, i64 %indvars.iv116
  store i8 %spec.select, ptr %199, align 1
  %indvars.iv.next117 = add nsw i64 %indvars.iv116, 1
  %indvars.iv.next115 = or disjoint i64 %indvars.iv114, 1
  %200 = mul nuw nsw i64 %155, %indvars.iv.next115
  %201 = getelementptr inbounds i8, ptr %157, i64 %200
  %202 = load i32, ptr %189, align 4, !tbaa !17
  %203 = sext i32 %202 to i64
  %204 = getelementptr i8, ptr %201, i64 %203
  %205 = getelementptr i8, ptr %204, i64 -1
  %206 = load i8, ptr %205, align 1, !tbaa !5
  %207 = icmp eq i8 %206, 32
  %spec.select.1 = select i1 %207, i8 95, i8 %206
  %208 = getelementptr inbounds [100 x i8], ptr @encrypt.decrypted_message, i64 0, i64 %indvars.iv.next117
  store i8 %spec.select.1, ptr %208, align 1
  %indvars.iv.next117.1 = add nsw i64 %indvars.iv116, 2
  %indvars.iv.next115.1 = add nuw nsw i64 %indvars.iv114, 2
  %niter252.next.1 = add i64 %niter252, 2
  %niter252.ncmp.1 = icmp eq i64 %niter252.next.1, %unroll_iter251
  br i1 %niter252.ncmp.1, label %._crit_edge86.us.unr-lcssa, label %.preheader.us.new, !llvm.loop !23

._crit_edge86.us.unr-lcssa:                       ; preds = %.preheader.us.new, %.preheader.us
  %indvars.iv.next117.lcssa.ph = phi i64 [ poison, %.preheader.us ], [ %indvars.iv.next117.1, %.preheader.us.new ]
  %indvars.iv116.unr = phi i64 [ %190, %.preheader.us ], [ %indvars.iv.next117.1, %.preheader.us.new ]
  %indvars.iv114.unr = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next115.1, %.preheader.us.new ]
  br i1 %lcmp.mod249.not, label %._crit_edge86.us, label %._crit_edge86.us.epilog-lcssa

._crit_edge86.us.epilog-lcssa:                    ; preds = %._crit_edge86.us.unr-lcssa
  %209 = mul nuw nsw i64 %155, %indvars.iv114.unr
  %210 = getelementptr inbounds i8, ptr %157, i64 %209
  %211 = load i32, ptr %189, align 4, !tbaa !17
  %212 = sext i32 %211 to i64
  %213 = getelementptr i8, ptr %210, i64 %212
  %214 = getelementptr i8, ptr %213, i64 -1
  %215 = load i8, ptr %214, align 1, !tbaa !5
  %216 = icmp eq i8 %215, 32
  %spec.select.epil = select i1 %216, i8 95, i8 %215
  %217 = getelementptr inbounds [100 x i8], ptr @encrypt.decrypted_message, i64 0, i64 %indvars.iv116.unr
  store i8 %spec.select.epil, ptr %217, align 1
  %indvars.iv.next117.epil = add nsw i64 %indvars.iv116.unr, 1
  br label %._crit_edge86.us

._crit_edge86.us:                                 ; preds = %._crit_edge86.us.unr-lcssa, %._crit_edge86.us.epilog-lcssa
  %indvars.iv.next117.lcssa = phi i64 [ %indvars.iv.next117.lcssa.ph, %._crit_edge86.us.unr-lcssa ], [ %indvars.iv.next117.epil, %._crit_edge86.us.epilog-lcssa ]
  %indvars.iv.next124 = add nuw nsw i64 %indvars.iv123, 1
  %exitcond127.not = icmp eq i64 %indvars.iv.next124, %wide.trip.count126
  br i1 %exitcond127.not, label %._crit_edge89, label %.preheader.us, !llvm.loop !24

._crit_edge89.sink.split:                         ; preds = %152
  %218 = tail call ptr @sort(ptr noundef %158, i32 noundef %4)
  br label %._crit_edge89

._crit_edge89:                                    ; preds = %._crit_edge86.us, %._crit_edge89.sink.split, %._crit_edge82
  ret ptr @encrypt.decrypted_message
}

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" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 willreturn memory(read) }

!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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9, !10, !11}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!"llvm.loop.isvectorized", i32 1}
!11 = !{!"llvm.loop.unroll.runtime.disable"}
!12 = distinct !{!12, !9, !10, !11}
!13 = distinct !{!13, !9, !11, !10}
!14 = distinct !{!14, !9, !10, !11}
!15 = distinct !{!15, !9, !10, !11}
!16 = distinct !{!16, !9, !11, !10}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !6, i64 0}
!19 = distinct !{!19, !9}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.unroll.disable"}
!22 = distinct !{!22, !9}
!23 = distinct !{!23, !9}
!24 = distinct !{!24, !9}


; Effective O3 passes: ADCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass