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

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

%"struct.glslang::TSampler" = type { i32 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>::_Alloc_hider" = type { %"class.glslang::pool_allocator", ptr }
%"class.glslang::pool_allocator" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.glslang::TBuiltIns" = type { %"class.glslang::TBuiltInParseables", [5 x ptr], [22 x ptr], [8 x i32] }
%"class.glslang::TBuiltInParseables" = type { ptr, %"class.std::__cxx11::basic_string", [14 x %"class.std::__cxx11::basic_string"] }

@.str.350 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.351 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.397 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.402 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.408 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.411 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.413 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.418 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.419 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.420 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.423 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.424 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.426 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.427 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.428 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.429 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.430 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.431 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.432 = external hidden unnamed_addr constant [4 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: 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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7glslang9TBuiltIns18addGatherFunctionsENS_8TSamplerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEi8EProfile(ptr noundef nonnull align 8 dereferenceable(856) %0, i32 %1, ptr noundef nonnull align 8 dereferenceable(40) %2, i32 noundef %3, i32 noundef %4) #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"struct.glslang::TSampler", align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca i32, align 4
  %28 = getelementptr inbounds %"struct.glslang::TSampler", ptr %6, i32 0, i32 0
  store i32 %1, ptr %28, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !11
  %29 = load ptr, ptr %7, align 8
  %30 = load i32, ptr %6, align 4
  %31 = lshr i32 %30, 8
  %32 = and i32 %31, 255
  switch i32 %32, label %34 [
    i32 2, label %33
    i32 5, label %33
    i32 4, label %33
  ]

33:                                               ; preds = %5, %5, %5
  br label %35

34:                                               ; preds = %5
  br label %546

35:                                               ; preds = %33
  %36 = call noundef zeroext i1 @_ZNK7glslang8TSampler13isMultiSampleEv(ptr noundef nonnull align 4 dereferenceable(4) %6)
  br i1 %36, label %37, label %38

37:                                               ; preds = %35
  br label %546

38:                                               ; preds = %35
  %39 = load i32, ptr %9, align 4, !tbaa !9
  %40 = icmp slt i32 %39, 140
  br i1 %40, label %41, label %51

41:                                               ; preds = %38
  %42 = load i32, ptr %6, align 4
  %43 = lshr i32 %42, 8
  %44 = and i32 %43, 255
  %45 = icmp eq i32 %44, 5
  br i1 %45, label %46, label %51

46:                                               ; preds = %41
  %47 = load i32, ptr %6, align 4
  %48 = and i32 %47, 255
  %49 = icmp ne i32 %48, 1
  br i1 %49, label %50, label %51

50:                                               ; preds = %46
  br label %546

51:                                               ; preds = %46, %41, %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %252, %51
  %53 = load i32, ptr %11, align 4, !tbaa !9
  %54 = icmp sle i32 %53, 1
  br i1 %54, label %56, label %55

55:                                               ; preds = %52
  store i32 3, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %255

56:                                               ; preds = %52
  %57 = load i32, ptr %11, align 4, !tbaa !9
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %64

59:                                               ; preds = %56
  %60 = load i32, ptr %6, align 4
  %61 = and i32 %60, 255
  %62 = icmp ne i32 %61, 3
  br i1 %62, label %63, label %64

63:                                               ; preds = %59
  br label %252

64:                                               ; preds = %59, %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %248, %64
  %66 = load i32, ptr %13, align 4, !tbaa !9
  %67 = icmp slt i32 %66, 3
  br i1 %67, label %69, label %68

68:                                               ; preds = %65
  store i32 6, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  br label %251

69:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %70

70:                                               ; preds = %244, %69
  %71 = load i32, ptr %14, align 4, !tbaa !9
  %72 = icmp slt i32 %71, 2
  br i1 %72, label %74, label %73

73:                                               ; preds = %70
  store i32 9, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  br label %247

74:                                               ; preds = %70
  %75 = load i32, ptr %14, align 4, !tbaa !9
  %76 = icmp sgt i32 %75, 0
  br i1 %76, label %77, label %83

77:                                               ; preds = %74
  %78 = load i32, ptr %6, align 4
  %79 = lshr i32 %78, 17
  %80 = and i32 %79, 1
  %81 = trunc i32 %80 to i1
  br i1 %81, label %82, label %83

82:                                               ; preds = %77
  br label %244

83:                                               ; preds = %77, %74
  %84 = load i32, ptr %13, align 4, !tbaa !9
  %85 = icmp sgt i32 %84, 0
  br i1 %85, label %86, label %92

86:                                               ; preds = %83
  %87 = load i32, ptr %6, align 4
  %88 = lshr i32 %87, 8
  %89 = and i32 %88, 255
  %90 = icmp eq i32 %89, 4
  br i1 %90, label %91, label %92

91:                                               ; preds = %86
  br label %244

92:                                               ; preds = %86, %83
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %93

93:                                               ; preds = %239, %92
  %94 = load i32, ptr %15, align 4, !tbaa !9
  %95 = icmp sle i32 %94, 1
  br i1 %95, label %97, label %96

96:                                               ; preds = %93
  store i32 12, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  br label %243

97:                                               ; preds = %93
  %98 = load i32, ptr %15, align 4, !tbaa !9
  %99 = icmp ne i32 %98, 0
  br i1 %99, label %100, label %107

100:                                              ; preds = %97
  %101 = load i32, ptr %10, align 4, !tbaa !11
  %102 = icmp eq i32 %101, 8
  br i1 %102, label %106, label %103

103:                                              ; preds = %100
  %104 = load i32, ptr %9, align 4, !tbaa !9
  %105 = icmp slt i32 %104, 450
  br i1 %105, label %106, label %107

106:                                              ; preds = %103, %100
  br label %239

107:                                              ; preds = %103, %97
  call void @llvm.lifetime.start.p0(i64 40, ptr %16) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16)
  %108 = load i32, ptr %15, align 4, !tbaa !9
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %117

110:                                              ; preds = %107
  %111 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.351)
          to label %112 unwind label %113

112:                                              ; preds = %110
  br label %128

113:                                              ; preds = %163, %160, %154, %152, %149, %142, %139, %134, %131, %125, %117, %110
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %17, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %18, align 4
  br label %242

117:                                              ; preds = %107
  %118 = getelementptr inbounds %"class.glslang::TBuiltIns", ptr %29, i32 0, i32 2
  %119 = load i32, ptr %6, align 4
  %120 = and i32 %119, 255
  %121 = zext i32 %120 to i64
  %122 = getelementptr inbounds [22 x ptr], ptr %118, i64 0, i64 %121
  %123 = load ptr, ptr %122, align 8, !tbaa !5
  %124 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef %123)
          to label %125 unwind label %113

125:                                              ; preds = %117
  %126 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.402)
          to label %127 unwind label %113

127:                                              ; preds = %125
  br label %128

128:                                              ; preds = %127, %112
  %129 = load i32, ptr %15, align 4, !tbaa !9
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %131, label %134

131:                                              ; preds = %128
  %132 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.427)
          to label %133 unwind label %113

133:                                              ; preds = %131
  br label %137

134:                                              ; preds = %128
  %135 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.428)
          to label %136 unwind label %113

136:                                              ; preds = %134
  br label %137

137:                                              ; preds = %136, %133
  %138 = load i32, ptr %13, align 4, !tbaa !9
  switch i32 %138, label %145 [
    i32 1, label %139
    i32 2, label %142
  ]

139:                                              ; preds = %137
  %140 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.411)
          to label %141 unwind label %113

141:                                              ; preds = %139
  br label %146

142:                                              ; preds = %137
  %143 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.429)
          to label %144 unwind label %113

144:                                              ; preds = %142
  br label %146

145:                                              ; preds = %137
  br label %146

146:                                              ; preds = %145, %144, %141
  %147 = load i32, ptr %15, align 4, !tbaa !9
  %148 = icmp ne i32 %147, 0
  br i1 %148, label %149, label %152

149:                                              ; preds = %146
  %150 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.413)
          to label %151 unwind label %113

151:                                              ; preds = %149
  br label %152

152:                                              ; preds = %151, %146
  %153 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.397)
          to label %154 unwind label %113

154:                                              ; preds = %152
  %155 = load ptr, ptr %8, align 8, !tbaa !5
  %156 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendERKS6_(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef nonnull align 8 dereferenceable(40) %155)
          to label %157 unwind label %113

157:                                              ; preds = %154
  %158 = load i32, ptr %11, align 4, !tbaa !9
  %159 = icmp ne i32 %158, 0
  br i1 %159, label %160, label %163

160:                                              ; preds = %157
  %161 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.423)
          to label %162 unwind label %113

162:                                              ; preds = %160
  br label %166

163:                                              ; preds = %157
  %164 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.424)
          to label %165 unwind label %113

165:                                              ; preds = %163
  br label %166

166:                                              ; preds = %165, %162
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  %167 = getelementptr inbounds %"class.glslang::TBuiltIns", ptr %29, i32 0, i32 3
  %168 = load i32, ptr %6, align 4
  %169 = lshr i32 %168, 8
  %170 = and i32 %169, 255
  %171 = zext i32 %170 to i64
  %172 = getelementptr inbounds [8 x i32], ptr %167, i64 0, i64 %171
  %173 = load i32, ptr %172, align 4, !tbaa !9
  %174 = load i32, ptr %6, align 4
  %175 = lshr i32 %174, 16
  %176 = and i32 %175, 1
  %177 = trunc i32 %176 to i1
  %178 = zext i1 %177 to i64
  %179 = select i1 %177, i32 1, i32 0
  %180 = add nsw i32 %173, %179
  store i32 %180, ptr %19, align 4, !tbaa !9
  %181 = getelementptr inbounds %"class.glslang::TBuiltIns", ptr %29, i32 0, i32 1
  %182 = load i32, ptr %19, align 4, !tbaa !9
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds [5 x ptr], ptr %181, i64 0, i64 %183
  %185 = load ptr, ptr %184, align 8, !tbaa !5
  %186 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef %185)
          to label %187 unwind label %195

187:                                              ; preds = %166
  %188 = load i32, ptr %6, align 4
  %189 = lshr i32 %188, 17
  %190 = and i32 %189, 1
  %191 = trunc i32 %190 to i1
  br i1 %191, label %192, label %199

192:                                              ; preds = %187
  %193 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.418)
          to label %194 unwind label %195

194:                                              ; preds = %192
  br label %199

195:                                              ; preds = %235, %233, %230, %224, %216, %214, %207, %202, %192, %166
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %17, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  br label %242

199:                                              ; preds = %194, %187
  %200 = load i32, ptr %13, align 4, !tbaa !9
  %201 = icmp sgt i32 %200, 0
  br i1 %201, label %202, label %211

202:                                              ; preds = %199
  %203 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.430)
          to label %204 unwind label %195

204:                                              ; preds = %202
  %205 = load i32, ptr %13, align 4, !tbaa !9
  %206 = icmp eq i32 %205, 2
  br i1 %206, label %207, label %210

207:                                              ; preds = %204
  %208 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.431)
          to label %209 unwind label %195

209:                                              ; preds = %207
  br label %210

210:                                              ; preds = %209, %204
  br label %211

211:                                              ; preds = %210, %199
  %212 = load i32, ptr %15, align 4, !tbaa !9
  %213 = icmp ne i32 %212, 0
  br i1 %213, label %214, label %227

214:                                              ; preds = %211
  %215 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.426)
          to label %216 unwind label %195

216:                                              ; preds = %214
  %217 = getelementptr inbounds %"class.glslang::TBuiltIns", ptr %29, i32 0, i32 2
  %218 = load i32, ptr %6, align 4
  %219 = and i32 %218, 255
  %220 = zext i32 %219 to i64
  %221 = getelementptr inbounds [22 x ptr], ptr %217, i64 0, i64 %220
  %222 = load ptr, ptr %221, align 8, !tbaa !5
  %223 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef %222)
          to label %224 unwind label %195

224:                                              ; preds = %216
  %225 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.402)
          to label %226 unwind label %195

226:                                              ; preds = %224
  br label %227

227:                                              ; preds = %226, %211
  %228 = load i32, ptr %14, align 4, !tbaa !9
  %229 = icmp ne i32 %228, 0
  br i1 %229, label %230, label %233

230:                                              ; preds = %227
  %231 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.419)
          to label %232 unwind label %195

232:                                              ; preds = %230
  br label %233

233:                                              ; preds = %232, %227
  %234 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef @.str.350)
          to label %235 unwind label %195

235:                                              ; preds = %233
  %236 = getelementptr inbounds %"class.glslang::TBuiltInParseables", ptr %29, i32 0, i32 1
  %237 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendERKS6_(ptr noundef nonnull align 8 dereferenceable(40) %236, ptr noundef nonnull align 8 dereferenceable(40) %16)
          to label %238 unwind label %195

238:                                              ; preds = %235
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #3
  br label %239

239:                                              ; preds = %238, %106
  %240 = load i32, ptr %15, align 4, !tbaa !9
  %241 = add nsw i32 %240, 1
  store i32 %241, ptr %15, align 4, !tbaa !9
  br label %93, !llvm.loop !13

242:                                              ; preds = %195, %113
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %547

243:                                              ; preds = %96
  br label %244

244:                                              ; preds = %243, %91, %82
  %245 = load i32, ptr %14, align 4, !tbaa !9
  %246 = add nsw i32 %245, 1
  store i32 %246, ptr %14, align 4, !tbaa !9
  br label %70, !llvm.loop !15

247:                                              ; preds = %73
  br label %248

248:                                              ; preds = %247
  %249 = load i32, ptr %13, align 4, !tbaa !9
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %13, align 4, !tbaa !9
  br label %65, !llvm.loop !16

251:                                              ; preds = %68
  br label %252

252:                                              ; preds = %251, %63
  %253 = load i32, ptr %11, align 4, !tbaa !9
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %11, align 4, !tbaa !9
  br label %52, !llvm.loop !17

255:                                              ; preds = %55
  %256 = load i32, ptr %6, align 4
  %257 = lshr i32 %256, 8
  %258 = and i32 %257, 255
  %259 = icmp eq i32 %258, 5
  br i1 %259, label %265, label %260

260:                                              ; preds = %255
  %261 = load i32, ptr %6, align 4
  %262 = lshr i32 %261, 17
  %263 = and i32 %262, 1
  %264 = trunc i32 %263 to i1
  br i1 %264, label %265, label %266

265:                                              ; preds = %260, %255
  br label %546

266:                                              ; preds = %260
  %267 = load i32, ptr %10, align 4, !tbaa !11
  %268 = icmp eq i32 %267, 8
  br i1 %268, label %272, label %269

269:                                              ; preds = %266
  %270 = load i32, ptr %9, align 4, !tbaa !9
  %271 = icmp slt i32 %270, 450
  br i1 %271, label %272, label %273

272:                                              ; preds = %269, %266
  br label %546

273:                                              ; preds = %269
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %274

274:                                              ; preds = %543, %273
  %275 = load i32, ptr %20, align 4, !tbaa !9
  %276 = icmp slt i32 %275, 2
  br i1 %276, label %278, label %277

277:                                              ; preds = %274
  store i32 16, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  br label %546

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

279:                                              ; preds = %539, %278
  %280 = load i32, ptr %21, align 4, !tbaa !9
  %281 = icmp slt i32 %280, 2
  br i1 %281, label %283, label %282

282:                                              ; preds = %279
  store i32 19, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  br label %542

283:                                              ; preds = %279
  %284 = load i32, ptr %21, align 4, !tbaa !9
  %285 = icmp ne i32 %284, 0
  br i1 %285, label %286, label %289

286:                                              ; preds = %283
  %287 = load i32, ptr %20, align 4, !tbaa !9
  %288 = icmp ne i32 %287, 0
  br i1 %288, label %295, label %289

289:                                              ; preds = %286, %283
  %290 = load i32, ptr %21, align 4, !tbaa !9
  %291 = icmp eq i32 %290, 0
  br i1 %291, label %292, label %296

292:                                              ; preds = %289
  %293 = load i32, ptr %20, align 4, !tbaa !9
  %294 = icmp eq i32 %293, 0
  br i1 %294, label %295, label %296

295:                                              ; preds = %292, %286
  br label %539

296:                                              ; preds = %292, %289
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %297

297:                                              ; preds = %535, %296
  %298 = load i32, ptr %22, align 4, !tbaa !9
  %299 = icmp sle i32 %298, 1
  br i1 %299, label %301, label %300

300:                                              ; preds = %297
  store i32 22, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  br label %538

301:                                              ; preds = %297
  %302 = load i32, ptr %22, align 4, !tbaa !9
  %303 = icmp ne i32 %302, 0
  br i1 %303, label %304, label %309

304:                                              ; preds = %301
  %305 = load i32, ptr %6, align 4
  %306 = and i32 %305, 255
  %307 = icmp ne i32 %306, 3
  br i1 %307, label %308, label %309

308:                                              ; preds = %304
  br label %535

309:                                              ; preds = %304, %301
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %310

310:                                              ; preds = %531, %309
  %311 = load i32, ptr %23, align 4, !tbaa !9
  %312 = icmp slt i32 %311, 3
  br i1 %312, label %314, label %313

313:                                              ; preds = %310
  store i32 25, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  br label %534

314:                                              ; preds = %310
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #3
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %315

315:                                              ; preds = %527, %314
  %316 = load i32, ptr %24, align 4, !tbaa !9
  %317 = icmp slt i32 %316, 2
  br i1 %317, label %319, label %318

318:                                              ; preds = %315
  store i32 28, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  br label %530

319:                                              ; preds = %315
  %320 = load i32, ptr %24, align 4, !tbaa !9
  %321 = icmp eq i32 %320, 0
  br i1 %321, label %322, label %326

322:                                              ; preds = %319
  %323 = load i32, ptr %20, align 4, !tbaa !9
  %324 = icmp ne i32 %323, 0
  br i1 %324, label %325, label %326

325:                                              ; preds = %322
  br label %527

326:                                              ; preds = %322, %319
  %327 = load i32, ptr %23, align 4, !tbaa !9
  %328 = icmp sgt i32 %327, 0
  br i1 %328, label %329, label %335

329:                                              ; preds = %326
  %330 = load i32, ptr %6, align 4
  %331 = lshr i32 %330, 8
  %332 = and i32 %331, 255
  %333 = icmp eq i32 %332, 4
  br i1 %333, label %334, label %335

334:                                              ; preds = %329
  br label %527

335:                                              ; preds = %329, %326
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %336

336:                                              ; preds = %522, %335
  %337 = load i32, ptr %25, align 4, !tbaa !9
  %338 = icmp sle i32 %337, 1
  br i1 %338, label %340, label %339

339:                                              ; preds = %336
  store i32 31, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  br label %526

340:                                              ; preds = %336
  %341 = load i32, ptr %25, align 4, !tbaa !9
  %342 = icmp ne i32 %341, 0
  br i1 %342, label %343, label %350

343:                                              ; preds = %340
  %344 = load i32, ptr %10, align 4, !tbaa !11
  %345 = icmp eq i32 %344, 8
  br i1 %345, label %349, label %346

346:                                              ; preds = %343
  %347 = load i32, ptr %9, align 4, !tbaa !9
  %348 = icmp slt i32 %347, 450
  br i1 %348, label %349, label %350

349:                                              ; preds = %346, %343
  br label %522

350:                                              ; preds = %346, %340
  call void @llvm.lifetime.start.p0(i64 40, ptr %26) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %26)
  %351 = load i32, ptr %25, align 4, !tbaa !9
  %352 = icmp ne i32 %351, 0
  br i1 %352, label %353, label %360

353:                                              ; preds = %350
  %354 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.351)
          to label %355 unwind label %356

355:                                              ; preds = %353
  br label %371

356:                                              ; preds = %419, %416, %410, %408, %404, %398, %391, %388, %383, %377, %374, %368, %360, %353
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %17, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %18, align 4
  br label %525

360:                                              ; preds = %350
  %361 = getelementptr inbounds %"class.glslang::TBuiltIns", ptr %29, i32 0, i32 2
  %362 = load i32, ptr %6, align 4
  %363 = and i32 %362, 255
  %364 = zext i32 %363 to i64
  %365 = getelementptr inbounds [22 x ptr], ptr %361, i64 0, i64 %364
  %366 = load ptr, ptr %365, align 8, !tbaa !5
  %367 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef %366)
          to label %368 unwind label %356

368:                                              ; preds = %360
  %369 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.402)
          to label %370 unwind label %356

370:                                              ; preds = %368
  br label %371

371:                                              ; preds = %370, %355
  %372 = load i32, ptr %25, align 4, !tbaa !9
  %373 = icmp ne i32 %372, 0
  br i1 %373, label %374, label %377

374:                                              ; preds = %371
  %375 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.427)
          to label %376 unwind label %356

376:                                              ; preds = %374
  br label %380

377:                                              ; preds = %371
  %378 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.428)
          to label %379 unwind label %356

379:                                              ; preds = %377
  br label %380

380:                                              ; preds = %379, %376
  %381 = load i32, ptr %21, align 4, !tbaa !9
  %382 = icmp ne i32 %381, 0
  br i1 %382, label %383, label %386

383:                                              ; preds = %380
  %384 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.408)
          to label %385 unwind label %356

385:                                              ; preds = %383
  br label %386

386:                                              ; preds = %385, %380
  %387 = load i32, ptr %23, align 4, !tbaa !9
  switch i32 %387, label %394 [
    i32 1, label %388
    i32 2, label %391
  ]

388:                                              ; preds = %386
  %389 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.411)
          to label %390 unwind label %356

390:                                              ; preds = %388
  br label %395

391:                                              ; preds = %386
  %392 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.429)
          to label %393 unwind label %356

393:                                              ; preds = %391
  br label %395

394:                                              ; preds = %386
  br label %395

395:                                              ; preds = %394, %393, %390
  %396 = load i32, ptr %21, align 4, !tbaa !9
  %397 = icmp ne i32 %396, 0
  br i1 %397, label %398, label %401

398:                                              ; preds = %395
  %399 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.432)
          to label %400 unwind label %356

400:                                              ; preds = %398
  br label %408

401:                                              ; preds = %395
  %402 = load i32, ptr %25, align 4, !tbaa !9
  %403 = icmp ne i32 %402, 0
  br i1 %403, label %404, label %407

404:                                              ; preds = %401
  %405 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.413)
          to label %406 unwind label %356

406:                                              ; preds = %404
  br label %407

407:                                              ; preds = %406, %401
  br label %408

408:                                              ; preds = %407, %400
  %409 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.397)
          to label %410 unwind label %356

410:                                              ; preds = %408
  %411 = load ptr, ptr %8, align 8, !tbaa !5
  %412 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendERKS6_(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef nonnull align 8 dereferenceable(40) %411)
          to label %413 unwind label %356

413:                                              ; preds = %410
  %414 = load i32, ptr %22, align 4, !tbaa !9
  %415 = icmp ne i32 %414, 0
  br i1 %415, label %416, label %419

416:                                              ; preds = %413
  %417 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.423)
          to label %418 unwind label %356

418:                                              ; preds = %416
  br label %422

419:                                              ; preds = %413
  %420 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.424)
          to label %421 unwind label %356

421:                                              ; preds = %419
  br label %422

422:                                              ; preds = %421, %418
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  %423 = getelementptr inbounds %"class.glslang::TBuiltIns", ptr %29, i32 0, i32 3
  %424 = load i32, ptr %6, align 4
  %425 = lshr i32 %424, 8
  %426 = and i32 %425, 255
  %427 = zext i32 %426 to i64
  %428 = getelementptr inbounds [8 x i32], ptr %423, i64 0, i64 %427
  %429 = load i32, ptr %428, align 4, !tbaa !9
  %430 = load i32, ptr %6, align 4
  %431 = lshr i32 %430, 16
  %432 = and i32 %431, 1
  %433 = trunc i32 %432 to i1
  %434 = zext i1 %433 to i64
  %435 = select i1 %433, i32 1, i32 0
  %436 = add nsw i32 %429, %435
  store i32 %436, ptr %27, align 4, !tbaa !9
  %437 = getelementptr inbounds %"class.glslang::TBuiltIns", ptr %29, i32 0, i32 1
  %438 = load i32, ptr %27, align 4, !tbaa !9
  %439 = sext i32 %438 to i64
  %440 = getelementptr inbounds [5 x ptr], ptr %437, i64 0, i64 %439
  %441 = load ptr, ptr %440, align 8, !tbaa !5
  %442 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef %441)
          to label %443 unwind label %452

443:                                              ; preds = %422
  %444 = load i32, ptr %21, align 4, !tbaa !9
  %445 = icmp ne i32 %444, 0
  br i1 %445, label %446, label %460

446:                                              ; preds = %443
  %447 = load i32, ptr %22, align 4, !tbaa !9
  %448 = icmp ne i32 %447, 0
  br i1 %448, label %449, label %456

449:                                              ; preds = %446
  %450 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.420)
          to label %451 unwind label %452

451:                                              ; preds = %449
  br label %459

452:                                              ; preds = %517, %512, %507, %503, %500, %491, %485, %477, %475, %468, %463, %456, %449, %422
  %453 = landingpad { ptr, i32 }
          cleanup
  %454 = extractvalue { ptr, i32 } %453, 0
  store ptr %454, ptr %17, align 8
  %455 = extractvalue { ptr, i32 } %453, 1
  store i32 %455, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  br label %525

456:                                              ; preds = %446
  %457 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.418)
          to label %458 unwind label %452

458:                                              ; preds = %456
  br label %459

459:                                              ; preds = %458, %451
  br label %460

460:                                              ; preds = %459, %443
  %461 = load i32, ptr %23, align 4, !tbaa !9
  %462 = icmp sgt i32 %461, 0
  br i1 %462, label %463, label %472

463:                                              ; preds = %460
  %464 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.430)
          to label %465 unwind label %452

465:                                              ; preds = %463
  %466 = load i32, ptr %23, align 4, !tbaa !9
  %467 = icmp eq i32 %466, 2
  br i1 %467, label %468, label %471

468:                                              ; preds = %465
  %469 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.431)
          to label %470 unwind label %452

470:                                              ; preds = %468
  br label %471

471:                                              ; preds = %470, %465
  br label %472

472:                                              ; preds = %471, %460
  %473 = load i32, ptr %25, align 4, !tbaa !9
  %474 = icmp ne i32 %473, 0
  br i1 %474, label %475, label %488

475:                                              ; preds = %472
  %476 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.426)
          to label %477 unwind label %452

477:                                              ; preds = %475
  %478 = getelementptr inbounds %"class.glslang::TBuiltIns", ptr %29, i32 0, i32 2
  %479 = load i32, ptr %6, align 4
  %480 = and i32 %479, 255
  %481 = zext i32 %480 to i64
  %482 = getelementptr inbounds [22 x ptr], ptr %478, i64 0, i64 %481
  %483 = load ptr, ptr %482, align 8, !tbaa !5
  %484 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef %483)
          to label %485 unwind label %452

485:                                              ; preds = %477
  %486 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.402)
          to label %487 unwind label %452

487:                                              ; preds = %485
  br label %488

488:                                              ; preds = %487, %472
  %489 = load i32, ptr %24, align 4, !tbaa !9
  %490 = icmp ne i32 %489, 0
  br i1 %490, label %491, label %494

491:                                              ; preds = %488
  %492 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.419)
          to label %493 unwind label %452

493:                                              ; preds = %491
  br label %494

494:                                              ; preds = %493, %488
  %495 = load i32, ptr %20, align 4, !tbaa !9
  %496 = icmp ne i32 %495, 0
  br i1 %496, label %497, label %507

497:                                              ; preds = %494
  %498 = load i32, ptr %22, align 4, !tbaa !9
  %499 = icmp ne i32 %498, 0
  br i1 %499, label %500, label %503

500:                                              ; preds = %497
  %501 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.420)
          to label %502 unwind label %452

502:                                              ; preds = %500
  br label %506

503:                                              ; preds = %497
  %504 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.418)
          to label %505 unwind label %452

505:                                              ; preds = %503
  br label %506

506:                                              ; preds = %505, %502
  br label %507

507:                                              ; preds = %506, %494
  %508 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef @.str.350)
          to label %509 unwind label %452

509:                                              ; preds = %507
  %510 = load i32, ptr %20, align 4, !tbaa !9
  %511 = icmp ne i32 %510, 0
  br i1 %511, label %512, label %517

512:                                              ; preds = %509
  %513 = getelementptr inbounds %"class.glslang::TBuiltInParseables", ptr %29, i32 0, i32 2
  %514 = getelementptr inbounds [14 x %"class.std::__cxx11::basic_string"], ptr %513, i64 0, i64 4
  %515 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendERKS6_(ptr noundef nonnull align 8 dereferenceable(40) %514, ptr noundef nonnull align 8 dereferenceable(40) %26)
          to label %516 unwind label %452

516:                                              ; preds = %512
  br label %521

517:                                              ; preds = %509
  %518 = getelementptr inbounds %"class.glslang::TBuiltInParseables", ptr %29, i32 0, i32 1
  %519 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendERKS6_(ptr noundef nonnull align 8 dereferenceable(40) %518, ptr noundef nonnull align 8 dereferenceable(40) %26)
          to label %520 unwind label %452

520:                                              ; preds = %517
  br label %521

521:                                              ; preds = %520, %516
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #3
  br label %522

522:                                              ; preds = %521, %349
  %523 = load i32, ptr %25, align 4, !tbaa !9
  %524 = add nsw i32 %523, 1
  store i32 %524, ptr %25, align 4, !tbaa !9
  br label %336, !llvm.loop !18

525:                                              ; preds = %452, %356
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  br label %547

526:                                              ; preds = %339
  br label %527

527:                                              ; preds = %526, %334, %325
  %528 = load i32, ptr %24, align 4, !tbaa !9
  %529 = add nsw i32 %528, 1
  store i32 %529, ptr %24, align 4, !tbaa !9
  br label %315, !llvm.loop !19

530:                                              ; preds = %318
  br label %531

531:                                              ; preds = %530
  %532 = load i32, ptr %23, align 4, !tbaa !9
  %533 = add nsw i32 %532, 1
  store i32 %533, ptr %23, align 4, !tbaa !9
  br label %310, !llvm.loop !20

534:                                              ; preds = %313
  br label %535

535:                                              ; preds = %534, %308
  %536 = load i32, ptr %22, align 4, !tbaa !9
  %537 = add nsw i32 %536, 1
  store i32 %537, ptr %22, align 4, !tbaa !9
  br label %297, !llvm.loop !21

538:                                              ; preds = %300
  br label %539

539:                                              ; preds = %538, %295
  %540 = load i32, ptr %21, align 4, !tbaa !9
  %541 = add nsw i32 %540, 1
  store i32 %541, ptr %21, align 4, !tbaa !9
  br label %279, !llvm.loop !22

542:                                              ; preds = %282
  br label %543

543:                                              ; preds = %542
  %544 = load i32, ptr %20, align 4, !tbaa !9
  %545 = add nsw i32 %544, 1
  store i32 %545, ptr %20, align 4, !tbaa !9
  br label %274, !llvm.loop !23

546:                                              ; preds = %277, %272, %265, %50, %37, %34
  ret void

547:                                              ; preds = %525, %242
  %548 = load ptr, ptr %17, align 8
  %549 = load i32, ptr %18, align 4
  %550 = insertvalue { ptr, i32 } poison, ptr %548, 0
  %551 = insertvalue { ptr, i32 } %550, i32 %549, 1
  resume { ptr, i32 } %551
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang8TSampler13isMultiSampleEv(ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ 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 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}


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

%"struct.glslang::TSampler" = type { i32 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>::_Alloc_hider" = type { %"class.glslang::pool_allocator", ptr }
%"class.glslang::pool_allocator" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.350 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.351 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.397 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.402 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.408 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.411 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.413 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.418 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.419 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.420 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.423 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.424 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.426 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.427 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.428 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.429 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.430 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.431 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.432 = external hidden unnamed_addr constant [4 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 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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7glslang9TBuiltIns18addGatherFunctionsENS_8TSamplerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEi8EProfile(ptr noundef nonnull align 8 dereferenceable(856) %0, i32 %1, ptr noundef nonnull align 8 dereferenceable(40) %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"struct.glslang::TSampler", align 4
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  store i32 %1, ptr %6, align 4
  %9 = lshr i32 %1, 8
  %trunc = trunc i32 %9 to i8
  switch i8 %trunc, label %.loopexit124 [
    i8 2, label %10
    i8 5, label %10
    i8 4, label %10
  ]

10:                                               ; preds = %5, %5, %5
  %11 = call noundef zeroext i1 @_ZNK7glslang8TSampler13isMultiSampleEv(ptr noundef nonnull align 4 dereferenceable(4) %6)
  br i1 %11, label %.loopexit124, label %12

12:                                               ; preds = %10
  %13 = icmp slt i32 %3, 140
  br i1 %13, label %14, label %19

14:                                               ; preds = %12
  %15 = load i32, ptr %6, align 4
  %16 = and i32 %15, 65280
  %17 = icmp ne i32 %16, 1280
  %18 = and i32 %15, 255
  %.not = icmp eq i32 %18, 1
  %or.cond115 = or i1 %17, %.not
  br i1 %or.cond115, label %19, label %.loopexit124

19:                                               ; preds = %14, %12
  %20 = icmp eq i32 %4, 8
  %21 = icmp slt i32 %3, 450
  %or.cond = or i1 %21, %20
  %22 = getelementptr inbounds i8, ptr %0, i64 648
  %23 = getelementptr inbounds i8, ptr %0, i64 824
  %24 = getelementptr inbounds i8, ptr %0, i64 608
  %25 = getelementptr inbounds i8, ptr %0, i64 8
  br label %30

.loopexit127.thread:                              ; preds = %31, %.loopexit127
  %26 = load i32, ptr %6, align 4
  %27 = and i32 %26, 65280
  %28 = icmp eq i32 %27, 1280
  %29 = and i32 %26, 131072
  %.not95 = icmp ne i32 %29, 0
  %or.cond116.not172 = or i1 %28, %.not95
  %brmerge = or i1 %or.cond116.not172, %or.cond
  br i1 %brmerge, label %.loopexit124, label %.preheader123

30:                                               ; preds = %19, %.loopexit127
  %.not103 = phi i1 [ true, %19 ], [ false, %.loopexit127 ]
  br i1 %.not103, label %.preheader126.preheader, label %31

31:                                               ; preds = %30
  %32 = load i32, ptr %6, align 4
  %33 = and i32 %32, 255
  %.not104 = icmp eq i32 %33, 3
  br i1 %.not104, label %.preheader126.preheader, label %.loopexit127.thread

.preheader126.preheader:                          ; preds = %31, %30
  %.str.424..str.423 = select i1 %.not103, ptr @.str.424, ptr @.str.423
  %.str.424..str.423154 = select i1 %.not103, ptr @.str.424, ptr @.str.423
  br label %.preheader126

.preheader126:                                    ; preds = %.preheader126.preheader, %.loopexit125.thread
  %.094130 = phi i32 [ %35, %.loopexit125.thread ], [ 0, %.preheader126.preheader ]
  %.not106 = icmp eq i32 %.094130, 0
  %34 = icmp eq i32 %.094130, 2
  br label %36

.loopexit125.thread:                              ; preds = %38, %.loopexit125
  %35 = add nuw nsw i32 %.094130, 1
  %exitcond.not = icmp eq i32 %35, 3
  br i1 %exitcond.not, label %.loopexit127, label %.preheader126, !llvm.loop !5

36:                                               ; preds = %.preheader126, %.loopexit125
  %37 = phi i1 [ false, %.preheader126 ], [ true, %.loopexit125 ]
  %.not111 = phi i1 [ true, %.preheader126 ], [ false, %.loopexit125 ]
  br i1 %37, label %38, label %41

38:                                               ; preds = %36
  %39 = load i32, ptr %6, align 4
  %40 = and i32 %39, 131072
  %.not105 = icmp eq i32 %40, 0
  br i1 %.not105, label %41, label %.loopexit125.thread

41:                                               ; preds = %38, %36
  br i1 %.not106, label %48, label %42

42:                                               ; preds = %41
  %43 = load i32, ptr %6, align 4
  %44 = and i32 %43, 65280
  %45 = icmp eq i32 %44, 1024
  br i1 %45, label %.loopexit125, label %48

46:                                               ; preds = %.invoke153, %.invoke152, %.invoke151, %.invoke, %114, %112, %110, %104, %102, %65, %63, %57, %55, %48
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %160

48:                                               ; preds = %41, %42
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7)
  %49 = load i32, ptr %6, align 4
  %50 = and i32 %49, 255
  %51 = zext nneg i32 %50 to i64
  %52 = getelementptr inbounds [22 x ptr], ptr %22, i64 0, i64 %51
  %53 = load ptr, ptr %52, align 8, !tbaa !7
  %54 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef %53)
          to label %55 unwind label %46

55:                                               ; preds = %48
  %56 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.402)
          to label %57 unwind label %46

57:                                               ; preds = %55
  %58 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.428)
          to label %59 unwind label %46

59:                                               ; preds = %57
  switch i32 %.094130, label %63 [
    i32 1, label %.invoke153
    i32 2, label %60
  ]

60:                                               ; preds = %59
  br label %.invoke153

.invoke153:                                       ; preds = %59, %60
  %61 = phi ptr [ @.str.429, %60 ], [ @.str.411, %59 ]
  %62 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull %61)
          to label %63 unwind label %46

63:                                               ; preds = %.invoke153, %59
  %64 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.397)
          to label %65 unwind label %46

65:                                               ; preds = %63
  %66 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendERKS6_(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull align 8 dereferenceable(40) %2)
          to label %.invoke152 unwind label %46

.invoke152:                                       ; preds = %65
  %67 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull %.str.424..str.423)
          to label %68 unwind label %46

68:                                               ; preds = %.invoke152
  %69 = load i32, ptr %6, align 4
  %70 = lshr i32 %69, 8
  %71 = and i32 %70, 255
  %72 = zext nneg i32 %71 to i64
  %73 = getelementptr inbounds [8 x i32], ptr %23, i64 0, i64 %72
  %74 = load i32, ptr %73, align 4, !tbaa !11
  %75 = lshr i32 %69, 16
  %.lobit109 = and i32 %75, 1
  %76 = add nsw i32 %.lobit109, %74
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [5 x ptr], ptr %24, i64 0, i64 %77
  %79 = load ptr, ptr %78, align 8, !tbaa !7
  %80 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef %79)
          to label %81 unwind label %86

81:                                               ; preds = %68
  %82 = load i32, ptr %6, align 4
  %83 = and i32 %82, 131072
  %.not110 = icmp eq i32 %83, 0
  br i1 %.not110, label %88, label %84

84:                                               ; preds = %81
  %85 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.418)
          to label %88 unwind label %86

86:                                               ; preds = %157, %155, %153, %150, %143, %141, %139, %136, %133, %117, %99, %97, %95, %92, %89, %84, %68
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %160

88:                                               ; preds = %84, %81
  br i1 %.not106, label %94, label %89

89:                                               ; preds = %88
  %90 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.430)
          to label %91 unwind label %86

91:                                               ; preds = %89
  br i1 %34, label %92, label %94

92:                                               ; preds = %91
  %93 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.431)
          to label %94 unwind label %86

94:                                               ; preds = %88, %92, %91
  br i1 %.not111, label %97, label %95

95:                                               ; preds = %94
  %96 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.419)
          to label %97 unwind label %86

97:                                               ; preds = %95, %94
  %98 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.350)
          to label %99 unwind label %86

99:                                               ; preds = %97
  %100 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendERKS6_(ptr noundef nonnull align 8 dereferenceable(40) %25, ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %101 unwind label %86

101:                                              ; preds = %99
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #3
  br i1 %or.cond, label %.loopexit125, label %102

102:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7)
  %103 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.351)
          to label %104 unwind label %46

104:                                              ; preds = %102
  %105 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.427)
          to label %106 unwind label %46

106:                                              ; preds = %104
  switch i32 %.094130, label %110 [
    i32 1, label %107
    i32 2, label %.invoke151
  ]

107:                                              ; preds = %106
  br label %.invoke151

.invoke151:                                       ; preds = %106, %107
  %108 = phi ptr [ @.str.411, %107 ], [ @.str.429, %106 ]
  %109 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull %108)
          to label %110 unwind label %46

110:                                              ; preds = %.invoke151, %106
  %111 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.413)
          to label %112 unwind label %46

112:                                              ; preds = %110
  %113 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.397)
          to label %114 unwind label %46

114:                                              ; preds = %112
  %115 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendERKS6_(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull align 8 dereferenceable(40) %2)
          to label %.invoke unwind label %46

.invoke:                                          ; preds = %114
  %116 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull %.str.424..str.423154)
          to label %117 unwind label %46

117:                                              ; preds = %.invoke
  %118 = load i32, ptr %6, align 4
  %119 = lshr i32 %118, 8
  %120 = and i32 %119, 255
  %121 = zext nneg i32 %120 to i64
  %122 = getelementptr inbounds [8 x i32], ptr %23, i64 0, i64 %121
  %123 = load i32, ptr %122, align 4, !tbaa !11
  %124 = lshr i32 %118, 16
  %.lobit109.1 = and i32 %124, 1
  %125 = add nsw i32 %.lobit109.1, %123
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [5 x ptr], ptr %24, i64 0, i64 %126
  %128 = load ptr, ptr %127, align 8, !tbaa !7
  %129 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef %128)
          to label %130 unwind label %86

130:                                              ; preds = %117
  %131 = load i32, ptr %6, align 4
  %132 = and i32 %131, 131072
  %.not110.1 = icmp eq i32 %132, 0
  br i1 %.not110.1, label %135, label %133

133:                                              ; preds = %130
  %134 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.418)
          to label %135 unwind label %86

135:                                              ; preds = %133, %130
  br i1 %.not106, label %141, label %136

136:                                              ; preds = %135
  %137 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.430)
          to label %138 unwind label %86

138:                                              ; preds = %136
  br i1 %34, label %139, label %141

139:                                              ; preds = %138
  %140 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.431)
          to label %141 unwind label %86

141:                                              ; preds = %135, %138, %139
  %142 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.426)
          to label %143 unwind label %86

143:                                              ; preds = %141
  %144 = load i32, ptr %6, align 4
  %145 = and i32 %144, 255
  %146 = zext nneg i32 %145 to i64
  %147 = getelementptr inbounds [22 x ptr], ptr %22, i64 0, i64 %146
  %148 = load ptr, ptr %147, align 8, !tbaa !7
  %149 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef %148)
          to label %150 unwind label %86

150:                                              ; preds = %143
  %151 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.402)
          to label %152 unwind label %86

152:                                              ; preds = %150
  br i1 %.not111, label %155, label %153

153:                                              ; preds = %152
  %154 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.419)
          to label %155 unwind label %86

155:                                              ; preds = %153, %152
  %156 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull @.str.350)
          to label %157 unwind label %86

157:                                              ; preds = %155
  %158 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendERKS6_(ptr noundef nonnull align 8 dereferenceable(40) %25, ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %159 unwind label %86

159:                                              ; preds = %157
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #3
  br label %.loopexit125

160:                                              ; preds = %86, %46
  %.pn112 = phi { ptr, i32 } [ %87, %86 ], [ %47, %46 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #3
  br label %300

.loopexit125:                                     ; preds = %101, %159, %42
  br i1 %.not111, label %36, label %.loopexit125.thread, !llvm.loop !13

.loopexit127:                                     ; preds = %.loopexit125.thread
  br i1 %.not103, label %30, label %.loopexit127.thread, !llvm.loop !14

.preheader123:                                    ; preds = %.loopexit127.thread
  %161 = getelementptr inbounds i8, ptr %0, i64 208
  br label %.preheader122

.preheader122:                                    ; preds = %.preheader123, %164
  %162 = phi i1 [ false, %.preheader123 ], [ true, %164 ]
  %163 = phi i1 [ true, %.preheader123 ], [ false, %164 ]
  %.087137 = phi i32 [ 0, %.preheader123 ], [ 1, %164 ]
  %. = select i1 %162, ptr %161, ptr %25
  %.170 = select i1 %162, ptr %161, ptr %25
  br label %165

164:                                              ; preds = %.loopexit121
  br i1 %163, label %.preheader122, label %.loopexit124, !llvm.loop !15

165:                                              ; preds = %.preheader122, %.loopexit121
  %166 = phi i1 [ false, %.preheader122 ], [ true, %.loopexit121 ]
  %167 = phi i1 [ true, %.preheader122 ], [ false, %.loopexit121 ]
  %.086136 = phi i32 [ 0, %.preheader122 ], [ 1, %.loopexit121 ]
  %or.cond5 = and i1 %162, %166
  %168 = or i32 %.086136, %.087137
  %or.cond7 = icmp eq i32 %168, 0
  %or.cond117 = or i1 %or.cond5, %or.cond7
  br i1 %or.cond117, label %.loopexit121, label %.preheader120.preheader

.preheader120.preheader:                          ; preds = %165
  %.str.432..str.413 = select i1 %166, ptr @.str.432, ptr @.str.413
  br label %.preheader120

.preheader120:                                    ; preds = %.preheader120.preheader, %.loopexit119
  %.not96 = phi i1 [ false, %.loopexit119 ], [ true, %.preheader120.preheader ]
  br i1 %.not96, label %.preheader.preheader, label %169

169:                                              ; preds = %.preheader120
  %170 = load i32, ptr %6, align 4
  %171 = and i32 %170, 255
  %.not97 = icmp eq i32 %171, 3
  br i1 %.not97, label %.preheader.preheader, label %.loopexit121

.preheader.preheader:                             ; preds = %169, %.preheader120
  %.str.424..str.423160 = select i1 %.not96, ptr @.str.424, ptr @.str.423
  %172 = select i1 %.not96, ptr @.str.418, ptr @.str.420
  %.str.418..str.420 = select i1 %.not96, ptr @.str.418, ptr @.str.420
  %.str.424..str.423167 = select i1 %.not96, ptr @.str.424, ptr @.str.423
  %.str.418..str.420168 = select i1 %.not96, ptr @.str.418, ptr @.str.420
  %.str.418..str.420169 = select i1 %.not96, ptr @.str.418, ptr @.str.420
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %174
  %.084134 = phi i32 [ %175, %174 ], [ 0, %.preheader.preheader ]
  %.not98 = icmp eq i32 %.084134, 0
  %173 = icmp eq i32 %.084134, 2
  br label %176

174:                                              ; preds = %.loopexit
  %175 = add nuw nsw i32 %.084134, 1
  %exitcond138.not = icmp eq i32 %175, 3
  br i1 %exitcond138.not, label %.loopexit119, label %.preheader, !llvm.loop !16

176:                                              ; preds = %.preheader, %.loopexit
  %177 = phi i1 [ true, %.preheader ], [ false, %.loopexit ]
  %or.cond9 = and i1 %162, %177
  br i1 %or.cond9, label %.loopexit, label %178

178:                                              ; preds = %176
  br i1 %.not98, label %185, label %179

179:                                              ; preds = %178
  %180 = load i32, ptr %6, align 4
  %181 = and i32 %180, 65280
  %182 = icmp eq i32 %181, 1024
  br i1 %182, label %.loopexit, label %185

183:                                              ; preds = %.invoke159, %.invoke158, %.invoke157, %.invoke156, %.invoke155, %256, %254, %247, %244, %242, %208, %206, %204, %197, %194, %192, %185
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %299

185:                                              ; preds = %178, %179
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8)
  %186 = load i32, ptr %6, align 4
  %187 = and i32 %186, 255
  %188 = zext nneg i32 %187 to i64
  %189 = getelementptr inbounds [22 x ptr], ptr %22, i64 0, i64 %188
  %190 = load ptr, ptr %189, align 8, !tbaa !7
  %191 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef %190)
          to label %192 unwind label %183

192:                                              ; preds = %185
  %193 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.402)
          to label %194 unwind label %183

194:                                              ; preds = %192
  %195 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.428)
          to label %196 unwind label %183

196:                                              ; preds = %194
  br i1 %166, label %197, label %199

197:                                              ; preds = %196
  %198 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.408)
          to label %199 unwind label %183

199:                                              ; preds = %197, %196
  switch i32 %.084134, label %203 [
    i32 1, label %.invoke159
    i32 2, label %200
  ]

200:                                              ; preds = %199
  br label %.invoke159

.invoke159:                                       ; preds = %199, %200
  %201 = phi ptr [ @.str.429, %200 ], [ @.str.411, %199 ]
  %202 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %201)
          to label %203 unwind label %183

203:                                              ; preds = %.invoke159, %199
  br i1 %166, label %204, label %206

204:                                              ; preds = %203
  %205 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.432)
          to label %206 unwind label %183

206:                                              ; preds = %203, %204
  %207 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.397)
          to label %208 unwind label %183

208:                                              ; preds = %206
  %209 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendERKS6_(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull align 8 dereferenceable(40) %2)
          to label %.invoke158 unwind label %183

.invoke158:                                       ; preds = %208
  %210 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %.str.424..str.423160)
          to label %211 unwind label %183

211:                                              ; preds = %.invoke158
  %212 = load i32, ptr %6, align 4
  %213 = lshr i32 %212, 8
  %214 = and i32 %213, 255
  %215 = zext nneg i32 %214 to i64
  %216 = getelementptr inbounds [8 x i32], ptr %23, i64 0, i64 %215
  %217 = load i32, ptr %216, align 4, !tbaa !11
  %218 = lshr i32 %212, 16
  %.lobit = and i32 %218, 1
  %219 = add nsw i32 %.lobit, %217
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds [5 x ptr], ptr %24, i64 0, i64 %220
  %222 = load ptr, ptr %221, align 8, !tbaa !7
  %223 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef %222)
          to label %224 unwind label %226

224:                                              ; preds = %211
  br i1 %166, label %.invoke166, label %228

.invoke166:                                       ; preds = %224
  %225 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %172)
          to label %228 unwind label %226

226:                                              ; preds = %.invoke166, %.invoke165, %.invoke164, %.invoke163, %.invoke162, %.invoke161, %296, %292, %289, %282, %280, %278, %275, %259, %239, %235, %232, %229, %211
  %227 = landingpad { ptr, i32 }
          cleanup
  br label %299

228:                                              ; preds = %.invoke166, %224
  br i1 %.not98, label %234, label %229

229:                                              ; preds = %228
  %230 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.430)
          to label %231 unwind label %226

231:                                              ; preds = %229
  br i1 %173, label %232, label %234

232:                                              ; preds = %231
  %233 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.431)
          to label %234 unwind label %226

234:                                              ; preds = %228, %232, %231
  br i1 %177, label %237, label %235

235:                                              ; preds = %234
  %236 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.419)
          to label %237 unwind label %226

237:                                              ; preds = %235, %234
  br i1 %162, label %.invoke165, label %239

.invoke165:                                       ; preds = %237
  %238 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %.str.418..str.420)
          to label %239 unwind label %226

239:                                              ; preds = %.invoke165, %237
  %240 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.350)
          to label %.invoke164 unwind label %226

.invoke164:                                       ; preds = %239
  %241 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendERKS6_(ptr noundef nonnull align 8 dereferenceable(40) %., ptr noundef nonnull align 8 dereferenceable(40) %8)
          to label %242 unwind label %226

242:                                              ; preds = %.invoke164
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8)
  %243 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.351)
          to label %244 unwind label %183

244:                                              ; preds = %242
  %245 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.427)
          to label %246 unwind label %183

246:                                              ; preds = %244
  br i1 %166, label %247, label %249

247:                                              ; preds = %246
  %248 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.408)
          to label %249 unwind label %183

249:                                              ; preds = %247, %246
  switch i32 %.084134, label %.invoke156 [
    i32 1, label %250
    i32 2, label %.invoke157
  ]

250:                                              ; preds = %249
  br label %.invoke157

.invoke157:                                       ; preds = %249, %250
  %251 = phi ptr [ @.str.411, %250 ], [ @.str.429, %249 ]
  %252 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %251)
          to label %.invoke156 unwind label %183

.invoke156:                                       ; preds = %.invoke157, %249
  %253 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %.str.432..str.413)
          to label %254 unwind label %183

254:                                              ; preds = %.invoke156
  %255 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.397)
          to label %256 unwind label %183

256:                                              ; preds = %254
  %257 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendERKS6_(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull align 8 dereferenceable(40) %2)
          to label %.invoke155 unwind label %183

.invoke155:                                       ; preds = %256
  %258 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %.str.424..str.423167)
          to label %259 unwind label %183

259:                                              ; preds = %.invoke155
  %260 = load i32, ptr %6, align 4
  %261 = lshr i32 %260, 8
  %262 = and i32 %261, 255
  %263 = zext nneg i32 %262 to i64
  %264 = getelementptr inbounds [8 x i32], ptr %23, i64 0, i64 %263
  %265 = load i32, ptr %264, align 4, !tbaa !11
  %266 = lshr i32 %260, 16
  %.lobit.1 = and i32 %266, 1
  %267 = add nsw i32 %.lobit.1, %265
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds [5 x ptr], ptr %24, i64 0, i64 %268
  %270 = load ptr, ptr %269, align 8, !tbaa !7
  %271 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef %270)
          to label %272 unwind label %226

272:                                              ; preds = %259
  br i1 %166, label %.invoke163, label %274

.invoke163:                                       ; preds = %272
  %273 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %.str.418..str.420168)
          to label %274 unwind label %226

274:                                              ; preds = %.invoke163, %272
  br i1 %.not98, label %280, label %275

275:                                              ; preds = %274
  %276 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.430)
          to label %277 unwind label %226

277:                                              ; preds = %275
  br i1 %173, label %278, label %280

278:                                              ; preds = %277
  %279 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.431)
          to label %280 unwind label %226

280:                                              ; preds = %274, %277, %278
  %281 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.426)
          to label %282 unwind label %226

282:                                              ; preds = %280
  %283 = load i32, ptr %6, align 4
  %284 = and i32 %283, 255
  %285 = zext nneg i32 %284 to i64
  %286 = getelementptr inbounds [22 x ptr], ptr %22, i64 0, i64 %285
  %287 = load ptr, ptr %286, align 8, !tbaa !7
  %288 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef %287)
          to label %289 unwind label %226

289:                                              ; preds = %282
  %290 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.402)
          to label %291 unwind label %226

291:                                              ; preds = %289
  br i1 %177, label %294, label %292

292:                                              ; preds = %291
  %293 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.419)
          to label %294 unwind label %226

294:                                              ; preds = %292, %291
  br i1 %162, label %.invoke162, label %296

.invoke162:                                       ; preds = %294
  %295 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %.str.418..str.420169)
          to label %296 unwind label %226

296:                                              ; preds = %.invoke162, %294
  %297 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.350)
          to label %.invoke161 unwind label %226

.invoke161:                                       ; preds = %296
  %298 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE6appendERKS6_(ptr noundef nonnull align 8 dereferenceable(40) %.170, ptr noundef nonnull align 8 dereferenceable(40) %8)
          to label %.loopexit.loopexit unwind label %226

.loopexit.loopexit:                               ; preds = %.invoke161
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #3
  br label %.loopexit

299:                                              ; preds = %226, %183
  %.pn = phi { ptr, i32 } [ %227, %226 ], [ %184, %183 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #3
  br label %300

.loopexit:                                        ; preds = %.loopexit.loopexit, %179, %176
  br i1 %177, label %176, label %174, !llvm.loop !17

.loopexit119:                                     ; preds = %174
  br i1 %.not96, label %.preheader120, label %.loopexit121, !llvm.loop !18

.loopexit121:                                     ; preds = %169, %.loopexit119, %165
  br i1 %167, label %165, label %164, !llvm.loop !19

.loopexit124:                                     ; preds = %164, %.loopexit127.thread, %14, %10, %5
  ret void

300:                                              ; preds = %299, %160
  %.pn112.pn = phi { ptr, i32 } [ %.pn112, %160 ], [ %.pn, %299 ]
  resume { ptr, i32 } %.pn112.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang8TSampler13isMultiSampleEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

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

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


; Effective O3 passes: ADCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass