; LLVM IR from hbatagelo/abcg :: abcg/external/glslang/glslang/MachineIndependent (Scan)

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

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7glslang13TInputScanner4peekEv(ptr noundef nonnull align 8 dereferenceable(90)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang13TInputScanner24consumeWhitespaceCommentERb(ptr noundef nonnull align 8 dereferenceable(90), ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7glslang13TInputScanner11scanVersionERiR8EProfileRb(ptr noundef nonnull align 8 dereferenceable(90) %0, ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 1 dereferenceable(1) %3) #2 align 2 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca [13 x i8], align 1
  %17 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %18 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  store i8 0, ptr %10, align 1, !tbaa !9
  %19 = load ptr, ptr %9, align 8, !tbaa !5
  store i8 0, ptr %19, align 1, !tbaa !9
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  store i32 0, ptr %20, align 4, !tbaa !11
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 1, ptr %21, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #4
  store i8 0, ptr %11, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #4
  store i8 0, ptr %12, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  br label %22

22:                                               ; preds = %235, %4
  %23 = load i8, ptr %12, align 1, !tbaa !9, !range !15, !noundef !16
  %24 = trunc i8 %23 to i1
  br i1 %24, label %25, label %63

25:                                               ; preds = %22
  %26 = load ptr, ptr %9, align 8, !tbaa !5
  store i8 1, ptr %26, align 1, !tbaa !9
  %27 = call noundef i32 @_ZN7glslang13TInputScanner4peekEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  %28 = icmp ne i32 %27, 10
  br i1 %28, label %29, label %47

29:                                               ; preds = %25
  %30 = call noundef i32 @_ZN7glslang13TInputScanner4peekEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  %31 = icmp ne i32 %30, 13
  br i1 %31, label %32, label %47

32:                                               ; preds = %29
  br label %33

33:                                               ; preds = %44, %32
  %34 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  store i32 %34, ptr %13, align 4, !tbaa !11
  br label %35

35:                                               ; preds = %33
  %36 = load i32, ptr %13, align 4, !tbaa !11
  %37 = icmp ne i32 %36, -1
  br i1 %37, label %38, label %44

38:                                               ; preds = %35
  %39 = load i32, ptr %13, align 4, !tbaa !11
  %40 = icmp ne i32 %39, 10
  br i1 %40, label %41, label %44

41:                                               ; preds = %38
  %42 = load i32, ptr %13, align 4, !tbaa !11
  %43 = icmp ne i32 %42, 13
  br label %44

44:                                               ; preds = %41, %38, %35
  %45 = phi i1 [ false, %38 ], [ false, %35 ], [ %43, %41 ]
  br i1 %45, label %33, label %46, !llvm.loop !17

46:                                               ; preds = %44
  br label %47

47:                                               ; preds = %46, %29, %25
  br label %48

48:                                               ; preds = %56, %47
  %49 = call noundef i32 @_ZN7glslang13TInputScanner4peekEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  %50 = icmp eq i32 %49, 10
  br i1 %50, label %54, label %51

51:                                               ; preds = %48
  %52 = call noundef i32 @_ZN7glslang13TInputScanner4peekEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  %53 = icmp eq i32 %52, 13
  br label %54

54:                                               ; preds = %51, %48
  %55 = phi i1 [ true, %48 ], [ %53, %51 ]
  br i1 %55, label %56, label %58

56:                                               ; preds = %54
  %57 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  br label %48, !llvm.loop !19

58:                                               ; preds = %54
  %59 = call noundef i32 @_ZN7glslang13TInputScanner4peekEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  %60 = icmp eq i32 %59, -1
  br i1 %60, label %61, label %62

61:                                               ; preds = %58
  store i1 true, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %237

62:                                               ; preds = %58
  br label %63

63:                                               ; preds = %62, %22
  store i8 1, ptr %12, align 1, !tbaa !9
  call void @_ZN7glslang13TInputScanner24consumeWhitespaceCommentERb(ptr noundef nonnull align 8 dereferenceable(90) %18, ptr noundef nonnull align 1 dereferenceable(1) %11)
  %64 = load i8, ptr %11, align 1, !tbaa !9, !range !15, !noundef !16
  %65 = trunc i8 %64 to i1
  br i1 %65, label %66, label %67

66:                                               ; preds = %63
  store i8 1, ptr %10, align 1, !tbaa !9
  br label %67

67:                                               ; preds = %66, %63
  %68 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  %69 = icmp ne i32 %68, 35
  br i1 %69, label %70, label %71

70:                                               ; preds = %67
  store i8 1, ptr %10, align 1, !tbaa !9
  br label %235

71:                                               ; preds = %67
  br label %72

72:                                               ; preds = %80, %71
  %73 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  store i32 %73, ptr %13, align 4, !tbaa !11
  br label %74

74:                                               ; preds = %72
  %75 = load i32, ptr %13, align 4, !tbaa !11
  %76 = icmp eq i32 %75, 32
  br i1 %76, label %80, label %77

77:                                               ; preds = %74
  %78 = load i32, ptr %13, align 4, !tbaa !11
  %79 = icmp eq i32 %78, 9
  br label %80

80:                                               ; preds = %77, %74
  %81 = phi i1 [ true, %74 ], [ %79, %77 ]
  br i1 %81, label %72, label %82, !llvm.loop !20

82:                                               ; preds = %80
  %83 = load i32, ptr %13, align 4, !tbaa !11
  %84 = icmp ne i32 %83, 118
  br i1 %84, label %103, label %85

85:                                               ; preds = %82
  %86 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  %87 = icmp ne i32 %86, 101
  br i1 %87, label %103, label %88

88:                                               ; preds = %85
  %89 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  %90 = icmp ne i32 %89, 114
  br i1 %90, label %103, label %91

91:                                               ; preds = %88
  %92 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  %93 = icmp ne i32 %92, 115
  br i1 %93, label %103, label %94

94:                                               ; preds = %91
  %95 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  %96 = icmp ne i32 %95, 105
  br i1 %96, label %103, label %97

97:                                               ; preds = %94
  %98 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  %99 = icmp ne i32 %98, 111
  br i1 %99, label %103, label %100

100:                                              ; preds = %97
  %101 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  %102 = icmp ne i32 %101, 110
  br i1 %102, label %103, label %104

103:                                              ; preds = %100, %97, %94, %91, %88, %85, %82
  store i8 1, ptr %10, align 1, !tbaa !9
  br label %235

104:                                              ; preds = %100
  br label %105

105:                                              ; preds = %113, %104
  %106 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  store i32 %106, ptr %13, align 4, !tbaa !11
  br label %107

107:                                              ; preds = %105
  %108 = load i32, ptr %13, align 4, !tbaa !11
  %109 = icmp eq i32 %108, 32
  br i1 %109, label %113, label %110

110:                                              ; preds = %107
  %111 = load i32, ptr %13, align 4, !tbaa !11
  %112 = icmp eq i32 %111, 9
  br label %113

113:                                              ; preds = %110, %107
  %114 = phi i1 [ true, %107 ], [ %112, %110 ]
  br i1 %114, label %105, label %115, !llvm.loop !21

115:                                              ; preds = %113
  br label %116

116:                                              ; preds = %124, %115
  %117 = load i32, ptr %13, align 4, !tbaa !11
  %118 = icmp sge i32 %117, 48
  br i1 %118, label %119, label %122

119:                                              ; preds = %116
  %120 = load i32, ptr %13, align 4, !tbaa !11
  %121 = icmp sle i32 %120, 57
  br label %122

122:                                              ; preds = %119, %116
  %123 = phi i1 [ false, %116 ], [ %121, %119 ]
  br i1 %123, label %124, label %133

124:                                              ; preds = %122
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  %126 = load i32, ptr %125, align 4, !tbaa !11
  %127 = mul nsw i32 10, %126
  %128 = load i32, ptr %13, align 4, !tbaa !11
  %129 = sub nsw i32 %128, 48
  %130 = add nsw i32 %127, %129
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  store i32 %130, ptr %131, align 4, !tbaa !11
  %132 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  store i32 %132, ptr %13, align 4, !tbaa !11
  br label %116, !llvm.loop !22

133:                                              ; preds = %122
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = load i32, ptr %134, align 4, !tbaa !11
  %136 = icmp eq i32 %135, 0
  br i1 %136, label %137, label %138

137:                                              ; preds = %133
  store i8 1, ptr %10, align 1, !tbaa !9
  br label %235

138:                                              ; preds = %133
  br label %139

139:                                              ; preds = %147, %138
  %140 = load i32, ptr %13, align 4, !tbaa !11
  %141 = icmp eq i32 %140, 32
  br i1 %141, label %145, label %142

142:                                              ; preds = %139
  %143 = load i32, ptr %13, align 4, !tbaa !11
  %144 = icmp eq i32 %143, 9
  br label %145

145:                                              ; preds = %142, %139
  %146 = phi i1 [ true, %139 ], [ %144, %142 ]
  br i1 %146, label %147, label %149

147:                                              ; preds = %145
  %148 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  store i32 %148, ptr %13, align 4, !tbaa !11
  br label %139, !llvm.loop !23

149:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 13, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 13, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !11
  br label %150

150:                                              ; preds = %176, %149
  %151 = load i32, ptr %17, align 4, !tbaa !11
  %152 = icmp slt i32 %151, 13
  br i1 %152, label %153, label %179

153:                                              ; preds = %150
  %154 = load i32, ptr %13, align 4, !tbaa !11
  %155 = icmp eq i32 %154, -1
  br i1 %155, label %168, label %156

156:                                              ; preds = %153
  %157 = load i32, ptr %13, align 4, !tbaa !11
  %158 = icmp eq i32 %157, 32
  br i1 %158, label %168, label %159

159:                                              ; preds = %156
  %160 = load i32, ptr %13, align 4, !tbaa !11
  %161 = icmp eq i32 %160, 9
  br i1 %161, label %168, label %162

162:                                              ; preds = %159
  %163 = load i32, ptr %13, align 4, !tbaa !11
  %164 = icmp eq i32 %163, 10
  br i1 %164, label %168, label %165

165:                                              ; preds = %162
  %166 = load i32, ptr %13, align 4, !tbaa !11
  %167 = icmp eq i32 %166, 13
  br i1 %167, label %168, label %169

168:                                              ; preds = %165, %162, %159, %156, %153
  br label %179

169:                                              ; preds = %165
  %170 = load i32, ptr %13, align 4, !tbaa !11
  %171 = trunc i32 %170 to i8
  %172 = load i32, ptr %17, align 4, !tbaa !11
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds [13 x i8], ptr %16, i64 0, i64 %173
  store i8 %171, ptr %174, align 1, !tbaa !24
  %175 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %18)
  store i32 %175, ptr %13, align 4, !tbaa !11
  br label %176

176:                                              ; preds = %169
  %177 = load i32, ptr %17, align 4, !tbaa !11
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %17, align 4, !tbaa !11
  br label %150, !llvm.loop !25

179:                                              ; preds = %168, %150
  %180 = load i32, ptr %13, align 4, !tbaa !11
  %181 = icmp ne i32 %180, -1
  br i1 %181, label %182, label %195

182:                                              ; preds = %179
  %183 = load i32, ptr %13, align 4, !tbaa !11
  %184 = icmp ne i32 %183, 32
  br i1 %184, label %185, label %195

185:                                              ; preds = %182
  %186 = load i32, ptr %13, align 4, !tbaa !11
  %187 = icmp ne i32 %186, 9
  br i1 %187, label %188, label %195

188:                                              ; preds = %185
  %189 = load i32, ptr %13, align 4, !tbaa !11
  %190 = icmp ne i32 %189, 10
  br i1 %190, label %191, label %195

191:                                              ; preds = %188
  %192 = load i32, ptr %13, align 4, !tbaa !11
  %193 = icmp ne i32 %192, 13
  br i1 %193, label %194, label %195

194:                                              ; preds = %191
  store i8 1, ptr %10, align 1, !tbaa !9
  store i32 3, ptr %14, align 4
  br label %233

195:                                              ; preds = %191, %188, %185, %182, %179
  %196 = load i32, ptr %17, align 4, !tbaa !11
  %197 = icmp eq i32 %196, 2
  br i1 %197, label %198, label %206

198:                                              ; preds = %195
  %199 = getelementptr inbounds [13 x i8], ptr %16, i64 0, i64 0
  %200 = load i32, ptr %17, align 4, !tbaa !11
  %201 = sext i32 %200 to i64
  %202 = call i32 @strncmp(ptr noundef %199, ptr noundef @.str, i64 noundef %201) #5
  %203 = icmp eq i32 %202, 0
  br i1 %203, label %204, label %206

204:                                              ; preds = %198
  %205 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 8, ptr %205, align 4, !tbaa !13
  br label %230

206:                                              ; preds = %198, %195
  %207 = load i32, ptr %17, align 4, !tbaa !11
  %208 = icmp eq i32 %207, 4
  br i1 %208, label %209, label %217

209:                                              ; preds = %206
  %210 = getelementptr inbounds [13 x i8], ptr %16, i64 0, i64 0
  %211 = load i32, ptr %17, align 4, !tbaa !11
  %212 = sext i32 %211 to i64
  %213 = call i32 @strncmp(ptr noundef %210, ptr noundef @.str.1, i64 noundef %212) #5
  %214 = icmp eq i32 %213, 0
  br i1 %214, label %215, label %217

215:                                              ; preds = %209
  %216 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 2, ptr %216, align 4, !tbaa !13
  br label %229

217:                                              ; preds = %209, %206
  %218 = load i32, ptr %17, align 4, !tbaa !11
  %219 = icmp eq i32 %218, 13
  br i1 %219, label %220, label %228

220:                                              ; preds = %217
  %221 = getelementptr inbounds [13 x i8], ptr %16, i64 0, i64 0
  %222 = load i32, ptr %17, align 4, !tbaa !11
  %223 = sext i32 %222 to i64
  %224 = call i32 @strncmp(ptr noundef %221, ptr noundef @.str.2, i64 noundef %223) #5
  %225 = icmp eq i32 %224, 0
  br i1 %225, label %226, label %228

226:                                              ; preds = %220
  %227 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 4, ptr %227, align 4, !tbaa !13
  br label %228

228:                                              ; preds = %226, %220, %217
  br label %229

229:                                              ; preds = %228, %215
  br label %230

230:                                              ; preds = %229, %204
  %231 = load i8, ptr %10, align 1, !tbaa !9, !range !15, !noundef !16
  %232 = trunc i8 %231 to i1
  store i1 %232, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %233

233:                                              ; preds = %230, %194
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 13, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  %234 = load i32, ptr %14, align 4
  switch i32 %234, label %237 [
    i32 3, label %235
  ]

235:                                              ; preds = %233, %137, %103, %70
  br i1 true, label %22, label %236, !llvm.loop !26

236:                                              ; preds = %235
  unreachable

237:                                              ; preds = %233, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  %238 = load i1, ptr %5, align 1
  ret i1 %238
}

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { mustprogress 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 #3 = { 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 #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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTS8EProfile", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}
!24 = !{!7, !7, i64 0}
!25 = distinct !{!25, !18}
!26 = distinct !{!26, !18}


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

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7glslang13TInputScanner4peekEv(ptr noundef nonnull align 8 dereferenceable(90)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang13TInputScanner24consumeWhitespaceCommentERb(ptr noundef nonnull align 8 dereferenceable(90), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7glslang13TInputScanner11scanVersionERiR8EProfileRb(ptr noundef nonnull align 8 dereferenceable(90) %0, ptr nocapture noundef nonnull align 4 dereferenceable(4) %1, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %2, ptr nocapture noundef nonnull writeonly align 1 dereferenceable(1) %3) local_unnamed_addr #2 align 2 {
  %5 = alloca i8, align 1
  %6 = alloca [13 x i8], align 1
  store i8 0, ptr %3, align 1, !tbaa !5
  store i32 0, ptr %1, align 4, !tbaa !9
  store i32 1, ptr %2, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #4
  store i8 0, ptr %5, align 1, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %6, i64 1
  %8 = getelementptr inbounds i8, ptr %6, i64 2
  %9 = getelementptr inbounds i8, ptr %6, i64 3
  %10 = getelementptr inbounds i8, ptr %6, i64 4
  %11 = getelementptr inbounds i8, ptr %6, i64 5
  %12 = getelementptr inbounds i8, ptr %6, i64 6
  %13 = getelementptr inbounds i8, ptr %6, i64 7
  %14 = getelementptr inbounds i8, ptr %6, i64 8
  %15 = getelementptr inbounds i8, ptr %6, i64 9
  %16 = getelementptr inbounds i8, ptr %6, i64 10
  %17 = getelementptr inbounds i8, ptr %6, i64 11
  %18 = getelementptr inbounds i8, ptr %6, i64 12
  br label %.loopexit92

.loopexit92:                                      ; preds = %.loopexit92.backedge, %4
  %.074 = phi i1 [ false, %4 ], [ %.074.be, %.loopexit92.backedge ]
  %.073 = phi i1 [ false, %4 ], [ true, %.loopexit92.backedge ]
  %.068 = phi i1 [ undef, %4 ], [ %.068.be, %.loopexit92.backedge ]
  br i1 %.073, label %19, label %33

19:                                               ; preds = %.loopexit92
  store i8 1, ptr %3, align 1, !tbaa !5
  %20 = call noundef i32 @_ZN7glslang13TInputScanner4peekEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  %.not = icmp eq i32 %20, 10
  br i1 %.not, label %.critedge.preheader, label %21

21:                                               ; preds = %19
  %22 = call noundef i32 @_ZN7glslang13TInputScanner4peekEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  %.not80 = icmp eq i32 %22, 13
  br i1 %.not80, label %.critedge.preheader, label %.preheader94

.preheader94:                                     ; preds = %21, %.preheader94
  %23 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %23, label %.preheader94 [
    i32 -1, label %.critedge.preheader
    i32 13, label %.critedge.preheader
    i32 10, label %.critedge.preheader
  ]

.critedge.preheader:                              ; preds = %.preheader94, %.preheader94, %.preheader94, %21, %19
  br label %.critedge

.critedge:                                        ; preds = %.critedge.preheader, %.critedge3
  %24 = call noundef i32 @_ZN7glslang13TInputScanner4peekEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  %25 = icmp eq i32 %24, 10
  br i1 %25, label %.critedge3, label %26

26:                                               ; preds = %.critedge
  %27 = call noundef i32 @_ZN7glslang13TInputScanner4peekEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  %28 = icmp eq i32 %27, 13
  br i1 %28, label %.critedge3, label %30

.critedge3:                                       ; preds = %.critedge, %26
  %29 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  br label %.critedge, !llvm.loop !13

30:                                               ; preds = %26
  %31 = call noundef i32 @_ZN7glslang13TInputScanner4peekEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  %32 = icmp eq i32 %31, -1
  br i1 %32, label %112, label %33

33:                                               ; preds = %30, %.loopexit92
  call void @_ZN7glslang13TInputScanner24consumeWhitespaceCommentERb(ptr noundef nonnull align 8 dereferenceable(90) %0, ptr noundef nonnull align 1 dereferenceable(1) %5)
  %34 = load i8, ptr %5, align 1, !tbaa !5, !range !15, !noundef !16
  %35 = trunc nuw i8 %34 to i1
  %spec.select = select i1 %35, i1 true, i1 %.074
  %36 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  %.not81 = icmp eq i32 %36, 35
  br i1 %.not81, label %.preheader91, label %.loopexit92.backedge

.preheader91:                                     ; preds = %33, %.preheader91.backedge
  %37 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %37, label %.loopexit92.backedge [
    i32 32, label %.preheader91.backedge
    i32 9, label %.preheader91.backedge
    i32 118, label %38
  ]

.preheader91.backedge:                            ; preds = %.preheader91, %.preheader91
  br label %.preheader91, !llvm.loop !17

38:                                               ; preds = %.preheader91
  %39 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  %.not83 = icmp eq i32 %39, 101
  br i1 %.not83, label %40, label %.loopexit92.backedge

40:                                               ; preds = %38
  %41 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  %.not84 = icmp eq i32 %41, 114
  br i1 %.not84, label %42, label %.loopexit92.backedge

42:                                               ; preds = %40
  %43 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  %.not85 = icmp eq i32 %43, 115
  br i1 %.not85, label %44, label %.loopexit92.backedge

44:                                               ; preds = %42
  %45 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  %.not86 = icmp eq i32 %45, 105
  br i1 %.not86, label %46, label %.loopexit92.backedge

46:                                               ; preds = %44
  %47 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  %.not87 = icmp eq i32 %47, 111
  br i1 %.not87, label %48, label %.loopexit92.backedge

48:                                               ; preds = %46
  %49 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  %.not88 = icmp eq i32 %49, 110
  br i1 %.not88, label %.preheader90, label %.loopexit92.backedge

.preheader90:                                     ; preds = %48, %.preheader90.backedge
  %50 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %50, label %.preheader89 [
    i32 32, label %.preheader90.backedge
    i32 9, label %.preheader90.backedge
  ]

.preheader90.backedge:                            ; preds = %.preheader90, %.preheader90
  br label %.preheader90

.preheader89:                                     ; preds = %.preheader90
  %51 = add i32 %50, -48
  %52 = icmp ult i32 %51, 10
  br i1 %52, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader89, %.lr.ph
  %53 = phi i32 [ %58, %.lr.ph ], [ %51, %.preheader89 ]
  %54 = load i32, ptr %1, align 4, !tbaa !9
  %55 = mul nsw i32 %54, 10
  %56 = add nsw i32 %55, %53
  store i32 %56, ptr %1, align 4, !tbaa !9
  %57 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  %58 = add i32 %57, -48
  %59 = icmp ult i32 %58, 10
  br i1 %59, label %.lr.ph, label %._crit_edge, !llvm.loop !18

._crit_edge:                                      ; preds = %.lr.ph, %.preheader89
  %.070.lcssa = phi i32 [ %50, %.preheader89 ], [ %57, %.lr.ph ]
  %60 = load i32, ptr %1, align 4, !tbaa !9
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %.loopexit92.backedge, label %.preheader

.preheader:                                       ; preds = %._crit_edge, %62
  %.171 = phi i32 [ %63, %62 ], [ %.070.lcssa, %._crit_edge ]
  switch i32 %.171, label %64 [
    i32 32, label %62
    i32 9, label %62
  ]

62:                                               ; preds = %.preheader, %.preheader
  %63 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  br label %.preheader, !llvm.loop !19

64:                                               ; preds = %.preheader
  call void @llvm.lifetime.start.p0(i64 13, ptr nonnull %6) #4
  switch i32 %.171, label %65 [
    i32 -1, label %.loopexit.thread
    i32 10, label %.loopexit.thread
    i32 13, label %.loopexit.thread
  ]

65:                                               ; preds = %64
  %66 = trunc i32 %.171 to i8
  store i8 %66, ptr %6, align 1, !tbaa !20
  %67 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %67, label %68 [
    i32 -1, label %.loopexit.thread
    i32 32, label %.loopexit.thread
    i32 13, label %.loopexit.thread
    i32 10, label %.loopexit.thread
    i32 9, label %.loopexit.thread
  ]

68:                                               ; preds = %65
  %69 = trunc i32 %67 to i8
  store i8 %69, ptr %7, align 1, !tbaa !20
  %70 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %70, label %71 [
    i32 -1, label %104
    i32 32, label %104
    i32 13, label %104
    i32 10, label %104
    i32 9, label %104
  ]

71:                                               ; preds = %68
  %72 = trunc i32 %70 to i8
  store i8 %72, ptr %8, align 1, !tbaa !20
  %73 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %73, label %74 [
    i32 -1, label %.loopexit.thread
    i32 32, label %.loopexit.thread
    i32 13, label %.loopexit.thread
    i32 10, label %.loopexit.thread
    i32 9, label %.loopexit.thread
  ]

74:                                               ; preds = %71
  %75 = trunc i32 %73 to i8
  store i8 %75, ptr %9, align 1, !tbaa !20
  %76 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %76, label %77 [
    i32 -1, label %107
    i32 32, label %107
    i32 13, label %107
    i32 10, label %107
    i32 9, label %107
  ]

77:                                               ; preds = %74
  %78 = trunc i32 %76 to i8
  store i8 %78, ptr %10, align 1, !tbaa !20
  %79 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %79, label %80 [
    i32 -1, label %.loopexit.thread
    i32 32, label %.loopexit.thread
    i32 13, label %.loopexit.thread
    i32 10, label %.loopexit.thread
    i32 9, label %.loopexit.thread
  ]

80:                                               ; preds = %77
  %81 = trunc i32 %79 to i8
  store i8 %81, ptr %11, align 1, !tbaa !20
  %82 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %82, label %83 [
    i32 -1, label %.loopexit.thread
    i32 32, label %.loopexit.thread
    i32 13, label %.loopexit.thread
    i32 10, label %.loopexit.thread
    i32 9, label %.loopexit.thread
  ]

83:                                               ; preds = %80
  %84 = trunc i32 %82 to i8
  store i8 %84, ptr %12, align 1, !tbaa !20
  %85 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %85, label %86 [
    i32 -1, label %.loopexit.thread
    i32 32, label %.loopexit.thread
    i32 13, label %.loopexit.thread
    i32 10, label %.loopexit.thread
    i32 9, label %.loopexit.thread
  ]

86:                                               ; preds = %83
  %87 = trunc i32 %85 to i8
  store i8 %87, ptr %13, align 1, !tbaa !20
  %88 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %88, label %89 [
    i32 -1, label %.loopexit.thread
    i32 32, label %.loopexit.thread
    i32 13, label %.loopexit.thread
    i32 10, label %.loopexit.thread
    i32 9, label %.loopexit.thread
  ]

89:                                               ; preds = %86
  %90 = trunc i32 %88 to i8
  store i8 %90, ptr %14, align 1, !tbaa !20
  %91 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %91, label %92 [
    i32 -1, label %.loopexit.thread
    i32 32, label %.loopexit.thread
    i32 13, label %.loopexit.thread
    i32 10, label %.loopexit.thread
    i32 9, label %.loopexit.thread
  ]

92:                                               ; preds = %89
  %93 = trunc i32 %91 to i8
  store i8 %93, ptr %15, align 1, !tbaa !20
  %94 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %94, label %95 [
    i32 -1, label %.loopexit.thread
    i32 32, label %.loopexit.thread
    i32 13, label %.loopexit.thread
    i32 10, label %.loopexit.thread
    i32 9, label %.loopexit.thread
  ]

95:                                               ; preds = %92
  %96 = trunc i32 %94 to i8
  store i8 %96, ptr %16, align 1, !tbaa !20
  %97 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %97, label %98 [
    i32 -1, label %.loopexit.thread
    i32 32, label %.loopexit.thread
    i32 13, label %.loopexit.thread
    i32 10, label %.loopexit.thread
    i32 9, label %.loopexit.thread
  ]

98:                                               ; preds = %95
  %99 = trunc i32 %97 to i8
  store i8 %99, ptr %17, align 1, !tbaa !20
  %100 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %100, label %101 [
    i32 -1, label %.loopexit.thread
    i32 32, label %.loopexit.thread
    i32 13, label %.loopexit.thread
    i32 10, label %.loopexit.thread
    i32 9, label %.loopexit.thread
  ]

101:                                              ; preds = %98
  %102 = trunc i32 %100 to i8
  store i8 %102, ptr %18, align 1, !tbaa !20
  %103 = call noundef i32 @_ZN7glslang13TInputScanner3getEv(ptr noundef nonnull align 8 dereferenceable(90) %0)
  switch i32 %103, label %.loopexit.thread [
    i32 -1, label %.loopexit
    i32 32, label %.loopexit
    i32 13, label %.loopexit
    i32 10, label %.loopexit
    i32 9, label %.loopexit
  ]

104:                                              ; preds = %68, %68, %68, %68, %68
  %105 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str, i64 noundef 2) #5
  %106 = icmp eq i32 %105, 0
  br i1 %106, label %.loopexit.thread.sink.split, label %.loopexit.thread

107:                                              ; preds = %74, %74, %74, %74, %74
  %108 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef 4) #5
  %109 = icmp eq i32 %108, 0
  br i1 %109, label %.loopexit.thread.sink.split, label %.loopexit.thread

.loopexit:                                        ; preds = %101, %101, %101, %101, %101
  %110 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef 13) #5
  %111 = icmp eq i32 %110, 0
  br i1 %111, label %.loopexit.thread.sink.split, label %.loopexit.thread

.loopexit.thread.sink.split:                      ; preds = %.loopexit, %107, %104
  %.sink = phi i32 [ 8, %104 ], [ 2, %107 ], [ 4, %.loopexit ]
  %.27299.ph = phi i32 [ %70, %104 ], [ %76, %107 ], [ %103, %.loopexit ]
  store i32 %.sink, ptr %2, align 4, !tbaa !11
  br label %.loopexit.thread

.loopexit.thread:                                 ; preds = %64, %.loopexit.thread.sink.split, %98, %98, %98, %98, %98, %95, %95, %95, %95, %95, %92, %92, %92, %92, %92, %89, %89, %89, %89, %89, %86, %86, %86, %86, %86, %83, %83, %83, %83, %83, %80, %80, %80, %80, %80, %77, %77, %77, %77, %77, %71, %71, %71, %71, %71, %65, %65, %65, %65, %65, %64, %64, %.loopexit, %104, %107, %101
  %.27299 = phi i32 [ %103, %101 ], [ %76, %107 ], [ %70, %104 ], [ %103, %.loopexit ], [ %100, %98 ], [ %100, %98 ], [ %100, %98 ], [ %100, %98 ], [ %100, %98 ], [ %97, %95 ], [ %97, %95 ], [ %97, %95 ], [ %97, %95 ], [ %97, %95 ], [ %94, %92 ], [ %94, %92 ], [ %94, %92 ], [ %94, %92 ], [ %94, %92 ], [ %91, %89 ], [ %91, %89 ], [ %91, %89 ], [ %91, %89 ], [ %91, %89 ], [ %88, %86 ], [ %88, %86 ], [ %88, %86 ], [ %88, %86 ], [ %88, %86 ], [ %85, %83 ], [ %85, %83 ], [ %85, %83 ], [ %85, %83 ], [ %85, %83 ], [ %82, %80 ], [ %82, %80 ], [ %82, %80 ], [ %82, %80 ], [ %82, %80 ], [ %79, %77 ], [ %79, %77 ], [ %79, %77 ], [ %79, %77 ], [ %79, %77 ], [ %73, %71 ], [ %73, %71 ], [ %73, %71 ], [ %73, %71 ], [ %73, %71 ], [ %67, %65 ], [ %67, %65 ], [ %67, %65 ], [ %67, %65 ], [ %67, %65 ], [ %.171, %64 ], [ %.171, %64 ], [ %.171, %64 ], [ %.27299.ph, %.loopexit.thread.sink.split ]
  %.276 = phi i1 [ true, %101 ], [ %spec.select, %107 ], [ %spec.select, %104 ], [ %spec.select, %.loopexit ], [ %spec.select, %98 ], [ %spec.select, %98 ], [ %spec.select, %98 ], [ %spec.select, %98 ], [ %spec.select, %98 ], [ %spec.select, %95 ], [ %spec.select, %95 ], [ %spec.select, %95 ], [ %spec.select, %95 ], [ %spec.select, %95 ], [ %spec.select, %92 ], [ %spec.select, %92 ], [ %spec.select, %92 ], [ %spec.select, %92 ], [ %spec.select, %92 ], [ %spec.select, %89 ], [ %spec.select, %89 ], [ %spec.select, %89 ], [ %spec.select, %89 ], [ %spec.select, %89 ], [ %spec.select, %86 ], [ %spec.select, %86 ], [ %spec.select, %86 ], [ %spec.select, %86 ], [ %spec.select, %86 ], [ %spec.select, %83 ], [ %spec.select, %83 ], [ %spec.select, %83 ], [ %spec.select, %83 ], [ %spec.select, %83 ], [ %spec.select, %80 ], [ %spec.select, %80 ], [ %spec.select, %80 ], [ %spec.select, %80 ], [ %spec.select, %80 ], [ %spec.select, %77 ], [ %spec.select, %77 ], [ %spec.select, %77 ], [ %spec.select, %77 ], [ %spec.select, %77 ], [ %spec.select, %71 ], [ %spec.select, %71 ], [ %spec.select, %71 ], [ %spec.select, %71 ], [ %spec.select, %71 ], [ %spec.select, %65 ], [ %spec.select, %65 ], [ %spec.select, %65 ], [ %spec.select, %65 ], [ %spec.select, %65 ], [ %spec.select, %64 ], [ %spec.select, %64 ], [ %spec.select, %64 ], [ %spec.select, %.loopexit.thread.sink.split ]
  %.1 = phi i1 [ %.068, %101 ], [ %spec.select, %107 ], [ %spec.select, %104 ], [ %spec.select, %.loopexit ], [ %spec.select, %98 ], [ %spec.select, %98 ], [ %spec.select, %98 ], [ %spec.select, %98 ], [ %spec.select, %98 ], [ %spec.select, %95 ], [ %spec.select, %95 ], [ %spec.select, %95 ], [ %spec.select, %95 ], [ %spec.select, %95 ], [ %spec.select, %92 ], [ %spec.select, %92 ], [ %spec.select, %92 ], [ %spec.select, %92 ], [ %spec.select, %92 ], [ %spec.select, %89 ], [ %spec.select, %89 ], [ %spec.select, %89 ], [ %spec.select, %89 ], [ %spec.select, %89 ], [ %spec.select, %86 ], [ %spec.select, %86 ], [ %spec.select, %86 ], [ %spec.select, %86 ], [ %spec.select, %86 ], [ %spec.select, %83 ], [ %spec.select, %83 ], [ %spec.select, %83 ], [ %spec.select, %83 ], [ %spec.select, %83 ], [ %spec.select, %80 ], [ %spec.select, %80 ], [ %spec.select, %80 ], [ %spec.select, %80 ], [ %spec.select, %80 ], [ %spec.select, %77 ], [ %spec.select, %77 ], [ %spec.select, %77 ], [ %spec.select, %77 ], [ %spec.select, %77 ], [ %spec.select, %71 ], [ %spec.select, %71 ], [ %spec.select, %71 ], [ %spec.select, %71 ], [ %spec.select, %71 ], [ %spec.select, %65 ], [ %spec.select, %65 ], [ %spec.select, %65 ], [ %spec.select, %65 ], [ %spec.select, %65 ], [ %spec.select, %64 ], [ %spec.select, %64 ], [ %spec.select, %64 ], [ %spec.select, %.loopexit.thread.sink.split ]
  call void @llvm.lifetime.end.p0(i64 13, ptr nonnull %6) #4
  switch i32 %.27299, label %.loopexit92.backedge [
    i32 -1, label %112
    i32 32, label %112
    i32 13, label %112
    i32 10, label %112
    i32 9, label %112
  ]

.loopexit92.backedge:                             ; preds = %.preheader91, %.loopexit.thread, %._crit_edge, %38, %40, %42, %44, %46, %48, %33
  %.074.be = phi i1 [ %.276, %.loopexit.thread ], [ true, %33 ], [ true, %48 ], [ true, %46 ], [ true, %44 ], [ true, %42 ], [ true, %40 ], [ true, %38 ], [ true, %._crit_edge ], [ true, %.preheader91 ]
  %.068.be = phi i1 [ %.1, %.loopexit.thread ], [ %.068, %33 ], [ %.068, %48 ], [ %.068, %46 ], [ %.068, %44 ], [ %.068, %42 ], [ %.068, %40 ], [ %.068, %38 ], [ %.068, %._crit_edge ], [ %.068, %.preheader91 ]
  br label %.loopexit92, !llvm.loop !17

112:                                              ; preds = %.loopexit.thread, %.loopexit.thread, %.loopexit.thread, %.loopexit.thread, %.loopexit.thread, %30
  %.3 = phi i1 [ %.1, %.loopexit.thread ], [ true, %30 ], [ %.1, %.loopexit.thread ], [ %.1, %.loopexit.thread ], [ %.1, %.loopexit.thread ], [ %.1, %.loopexit.thread ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #4
  ret i1 %.3
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { mustprogress 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 #3 = { 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 #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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTS8EProfile", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = !{!7, !7, i64 0}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass