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

; 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::TParameter" = type { ptr, ptr, ptr }
%"class.glslang::TQualifier" = type <{ ptr, i64, i8, [3 x i8], i32, i32, i64, i64, i8, i8, i8, i8, i8, [3 x i8], i32, i8, [3 x i8], i32, ptr }>

; 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7glslang13TParseContext24computeBuiltinPrecisionsERNS_12TIntermTypedERKNS_9TFunctionE(ptr noundef nonnull align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(328) %2) #2 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %20 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  %23 = getelementptr inbounds ptr, ptr %22, i64 4
  %24 = load ptr, ptr %23, align 8
  %25 = call noundef ptr %24(ptr noundef nonnull align 8 dereferenceable(32) %21)
  store ptr %25, ptr %9, align 8, !tbaa !5
  %26 = load ptr, ptr %9, align 8, !tbaa !5
  %27 = icmp eq ptr %26, null
  br i1 %27, label %28, label %29

28:                                               ; preds = %3
  store i32 1, ptr %10, align 4
  br label %312

29:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = load ptr, ptr %30, align 8, !tbaa !11
  %32 = getelementptr inbounds ptr, ptr %31, i64 7
  %33 = load ptr, ptr %32, align 8
  %34 = call noundef ptr %33(ptr noundef nonnull align 8 dereferenceable(32) %30)
  store ptr %34, ptr %11, align 8, !tbaa !5
  %35 = load ptr, ptr %11, align 8, !tbaa !5
  %36 = icmp ne ptr %35, null
  br i1 %36, label %37, label %120

37:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = load ptr, ptr %38, align 8, !tbaa !11
  %40 = getelementptr inbounds ptr, ptr %39, i64 40
  %41 = load ptr, ptr %40, align 8
  %42 = call noundef nonnull align 8 dereferenceable(24) ptr %41(ptr noundef nonnull align 8 dereferenceable(328) %38, i32 noundef 0)
  %43 = getelementptr inbounds %"struct.glslang::TParameter", ptr %42, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8, !tbaa !13
  %45 = load ptr, ptr %44, align 8, !tbaa !11
  %46 = getelementptr inbounds ptr, ptr %45, i64 10
  %47 = load ptr, ptr %46, align 8
  %48 = call noundef nonnull align 8 dereferenceable(72) ptr %47(ptr noundef nonnull align 8 dereferenceable(144) %44)
  %49 = getelementptr inbounds %"class.glslang::TQualifier", ptr %48, i32 0, i32 1
  %50 = load i64, ptr %49, align 8
  %51 = lshr i64 %50, 24
  %52 = and i64 %51, 7
  %53 = trunc i64 %52 to i32
  store i32 %53, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = load ptr, ptr %54, align 8, !tbaa !11
  %56 = getelementptr inbounds ptr, ptr %55, i64 49
  %57 = load ptr, ptr %56, align 8
  %58 = call noundef ptr %57(ptr noundef nonnull align 8 dereferenceable(240) %54)
  %59 = load ptr, ptr %58, align 8, !tbaa !11
  %60 = getelementptr inbounds ptr, ptr %59, i64 30
  %61 = load ptr, ptr %60, align 8
  %62 = call noundef nonnull align 8 dereferenceable(144) ptr %61(ptr noundef nonnull align 8 dereferenceable(176) %58)
  %63 = load ptr, ptr %62, align 8, !tbaa !11
  %64 = getelementptr inbounds ptr, ptr %63, i64 11
  %65 = load ptr, ptr %64, align 8
  %66 = call noundef nonnull align 8 dereferenceable(72) ptr %65(ptr noundef nonnull align 8 dereferenceable(144) %62)
  %67 = getelementptr inbounds %"class.glslang::TQualifier", ptr %66, i32 0, i32 1
  %68 = load i64, ptr %67, align 8
  %69 = lshr i64 %68, 24
  %70 = and i64 %69, 7
  %71 = trunc i64 %70 to i32
  store i32 %71, ptr %13, align 4, !tbaa !9
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIN7glslang19TPrecisionQualifierEERKT_S4_S4_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %73 = load i32, ptr %72, align 4, !tbaa !9
  store i32 %73, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = load ptr, ptr %74, align 8, !tbaa !11
  %76 = getelementptr inbounds ptr, ptr %75, i64 12
  %77 = load ptr, ptr %76, align 8
  %78 = call noundef nonnull align 8 dereferenceable(144) ptr %77(ptr noundef nonnull align 8 dereferenceable(328) %74)
  %79 = load ptr, ptr %78, align 8, !tbaa !11
  %80 = getelementptr inbounds ptr, ptr %79, i64 7
  %81 = load ptr, ptr %80, align 8
  %82 = call noundef i32 %81(ptr noundef nonnull align 8 dereferenceable(144) %78)
  %83 = icmp ne i32 %82, 12
  br i1 %83, label %84, label %119

84:                                               ; preds = %37
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = load ptr, ptr %85, align 8, !tbaa !11
  %87 = getelementptr inbounds ptr, ptr %86, i64 12
  %88 = load ptr, ptr %87, align 8
  %89 = call noundef nonnull align 8 dereferenceable(144) ptr %88(ptr noundef nonnull align 8 dereferenceable(328) %85)
  %90 = load ptr, ptr %89, align 8, !tbaa !11
  %91 = getelementptr inbounds ptr, ptr %90, i64 11
  %92 = load ptr, ptr %91, align 8
  %93 = call noundef nonnull align 8 dereferenceable(72) ptr %92(ptr noundef nonnull align 8 dereferenceable(144) %89)
  %94 = getelementptr inbounds %"class.glslang::TQualifier", ptr %93, i32 0, i32 1
  %95 = load i64, ptr %94, align 8
  %96 = lshr i64 %95, 24
  %97 = and i64 %96, 7
  %98 = trunc i64 %97 to i32
  %99 = icmp eq i32 %98, 0
  br i1 %99, label %100, label %102

100:                                              ; preds = %84
  %101 = load i32, ptr %7, align 4, !tbaa !9
  br label %117

102:                                              ; preds = %84
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = load ptr, ptr %103, align 8, !tbaa !11
  %105 = getelementptr inbounds ptr, ptr %104, i64 12
  %106 = load ptr, ptr %105, align 8
  %107 = call noundef nonnull align 8 dereferenceable(144) ptr %106(ptr noundef nonnull align 8 dereferenceable(328) %103)
  %108 = load ptr, ptr %107, align 8, !tbaa !11
  %109 = getelementptr inbounds ptr, ptr %108, i64 11
  %110 = load ptr, ptr %109, align 8
  %111 = call noundef nonnull align 8 dereferenceable(72) ptr %110(ptr noundef nonnull align 8 dereferenceable(144) %107)
  %112 = getelementptr inbounds %"class.glslang::TQualifier", ptr %111, i32 0, i32 1
  %113 = load i64, ptr %112, align 8
  %114 = lshr i64 %113, 24
  %115 = and i64 %114, 7
  %116 = trunc i64 %115 to i32
  br label %117

117:                                              ; preds = %102, %100
  %118 = phi i32 [ %101, %100 ], [ %116, %102 ]
  store i32 %118, ptr %8, align 4, !tbaa !9
  br label %119

119:                                              ; preds = %117, %37
  br label %278

120:                                              ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %121 = load ptr, ptr %5, align 8, !tbaa !5
  %122 = load ptr, ptr %121, align 8, !tbaa !11
  %123 = getelementptr inbounds ptr, ptr %122, i64 6
  %124 = load ptr, ptr %123, align 8
  %125 = call noundef ptr %124(ptr noundef nonnull align 8 dereferenceable(32) %121)
  store ptr %125, ptr %14, align 8, !tbaa !5
  %126 = load ptr, ptr %14, align 8, !tbaa !5
  %127 = icmp ne ptr %126, null
  br i1 %127, label %128, label %277

128:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %129 = load ptr, ptr %14, align 8, !tbaa !5
  %130 = load ptr, ptr %129, align 8, !tbaa !11
  %131 = getelementptr inbounds ptr, ptr %130, i64 50
  %132 = load ptr, ptr %131, align 8
  %133 = call noundef nonnull align 8 dereferenceable(32) ptr %132(ptr noundef nonnull align 8 dereferenceable(352) %129)
  store ptr %133, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %134 = load ptr, ptr %15, align 8, !tbaa !5
  %135 = call noundef i64 @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %134) #4
  %136 = trunc i64 %135 to i32
  store i32 %136, ptr %16, align 4, !tbaa !15
  %137 = load ptr, ptr %14, align 8, !tbaa !5
  %138 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %137)
  switch i32 %138, label %143 [
    i32 679, label %139
    i32 680, label %140
    i32 291, label %141
    i32 293, label %141
    i32 292, label %141
    i32 454, label %142
  ]

139:                                              ; preds = %128
  store i32 1, ptr %16, align 4, !tbaa !15
  br label %144

140:                                              ; preds = %128
  store i32 2, ptr %16, align 4, !tbaa !15
  br label %144

141:                                              ; preds = %128, %128, %128
  store i32 1, ptr %16, align 4, !tbaa !15
  br label %144

142:                                              ; preds = %128
  store i32 0, ptr %16, align 4, !tbaa !15
  br label %144

143:                                              ; preds = %128
  br label %144

144:                                              ; preds = %143, %142, %141, %140, %139
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !15
  br label %145

145:                                              ; preds = %190, %144
  %146 = load i32, ptr %17, align 4, !tbaa !15
  %147 = load i32, ptr %16, align 4, !tbaa !15
  %148 = icmp ult i32 %146, %147
  br i1 %148, label %150, label %149

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

150:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %151 = load ptr, ptr %15, align 8, !tbaa !5
  %152 = load i32, ptr %17, align 4, !tbaa !15
  %153 = zext i32 %152 to i64
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %151, i64 noundef %153) #4
  %155 = load ptr, ptr %154, align 8, !tbaa !5
  %156 = load ptr, ptr %155, align 8, !tbaa !11
  %157 = getelementptr inbounds ptr, ptr %156, i64 3
  %158 = load ptr, ptr %157, align 8
  %159 = call noundef ptr %158(ptr noundef nonnull align 8 dereferenceable(32) %155)
  %160 = load ptr, ptr %159, align 8, !tbaa !11
  %161 = getelementptr inbounds ptr, ptr %160, i64 33
  %162 = load ptr, ptr %161, align 8
  %163 = call noundef nonnull align 8 dereferenceable(72) ptr %162(ptr noundef nonnull align 8 dereferenceable(176) %159)
  %164 = getelementptr inbounds %"class.glslang::TQualifier", ptr %163, i32 0, i32 1
  %165 = load i64, ptr %164, align 8
  %166 = lshr i64 %165, 24
  %167 = and i64 %166, 7
  %168 = trunc i64 %167 to i32
  store i32 %168, ptr %18, align 4, !tbaa !9
  %169 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIN7glslang19TPrecisionQualifierEERKT_S4_S4_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %170 = load i32, ptr %169, align 4, !tbaa !9
  store i32 %170, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = load i32, ptr %17, align 4, !tbaa !15
  %173 = load ptr, ptr %171, align 8, !tbaa !11
  %174 = getelementptr inbounds ptr, ptr %173, i64 40
  %175 = load ptr, ptr %174, align 8
  %176 = call noundef nonnull align 8 dereferenceable(24) ptr %175(ptr noundef nonnull align 8 dereferenceable(328) %171, i32 noundef %172)
  %177 = getelementptr inbounds %"struct.glslang::TParameter", ptr %176, i32 0, i32 1
  %178 = load ptr, ptr %177, align 8, !tbaa !13
  %179 = load ptr, ptr %178, align 8, !tbaa !11
  %180 = getelementptr inbounds ptr, ptr %179, i64 10
  %181 = load ptr, ptr %180, align 8
  %182 = call noundef nonnull align 8 dereferenceable(72) ptr %181(ptr noundef nonnull align 8 dereferenceable(144) %178)
  %183 = getelementptr inbounds %"class.glslang::TQualifier", ptr %182, i32 0, i32 1
  %184 = load i64, ptr %183, align 8
  %185 = lshr i64 %184, 24
  %186 = and i64 %185, 7
  %187 = trunc i64 %186 to i32
  store i32 %187, ptr %19, align 4, !tbaa !9
  %188 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIN7glslang19TPrecisionQualifierEERKT_S4_S4_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %19)
  %189 = load i32, ptr %188, align 4, !tbaa !9
  store i32 %189, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %190

190:                                              ; preds = %150
  %191 = load i32, ptr %17, align 4, !tbaa !15
  %192 = add i32 %191, 1
  store i32 %192, ptr %17, align 4, !tbaa !15
  br label %145, !llvm.loop !17

193:                                              ; preds = %149
  %194 = load ptr, ptr %14, align 8, !tbaa !5
  %195 = call noundef zeroext i1 @_ZNK7glslang15TIntermOperator10isSamplingEv(ptr noundef nonnull align 8 dereferenceable(184) %194)
  br i1 %195, label %212, label %196

196:                                              ; preds = %193
  %197 = load ptr, ptr %14, align 8, !tbaa !5
  %198 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %197)
  %199 = icmp eq i32 %198, 594
  br i1 %199, label %212, label %200

200:                                              ; preds = %196
  %201 = load ptr, ptr %14, align 8, !tbaa !5
  %202 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %201)
  %203 = icmp eq i32 %202, 595
  br i1 %203, label %212, label %204

204:                                              ; preds = %200
  %205 = load ptr, ptr %14, align 8, !tbaa !5
  %206 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %205)
  %207 = icmp eq i32 %206, 596
  br i1 %207, label %212, label %208

208:                                              ; preds = %204
  %209 = load ptr, ptr %14, align 8, !tbaa !5
  %210 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %209)
  %211 = icmp eq i32 %210, 597
  br i1 %211, label %212, label %229

212:                                              ; preds = %208, %204, %200, %196, %193
  %213 = load ptr, ptr %15, align 8, !tbaa !5
  %214 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %213, i64 noundef 0) #4
  %215 = load ptr, ptr %214, align 8, !tbaa !5
  %216 = load ptr, ptr %215, align 8, !tbaa !11
  %217 = getelementptr inbounds ptr, ptr %216, i64 3
  %218 = load ptr, ptr %217, align 8
  %219 = call noundef ptr %218(ptr noundef nonnull align 8 dereferenceable(32) %215)
  %220 = load ptr, ptr %219, align 8, !tbaa !11
  %221 = getelementptr inbounds ptr, ptr %220, i64 33
  %222 = load ptr, ptr %221, align 8
  %223 = call noundef nonnull align 8 dereferenceable(72) ptr %222(ptr noundef nonnull align 8 dereferenceable(176) %219)
  %224 = getelementptr inbounds %"class.glslang::TQualifier", ptr %223, i32 0, i32 1
  %225 = load i64, ptr %224, align 8
  %226 = lshr i64 %225, 24
  %227 = and i64 %226, 7
  %228 = trunc i64 %227 to i32
  store i32 %228, ptr %8, align 4, !tbaa !9
  br label %276

229:                                              ; preds = %208
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = load ptr, ptr %230, align 8, !tbaa !11
  %232 = getelementptr inbounds ptr, ptr %231, i64 12
  %233 = load ptr, ptr %232, align 8
  %234 = call noundef nonnull align 8 dereferenceable(144) ptr %233(ptr noundef nonnull align 8 dereferenceable(328) %230)
  %235 = load ptr, ptr %234, align 8, !tbaa !11
  %236 = getelementptr inbounds ptr, ptr %235, i64 7
  %237 = load ptr, ptr %236, align 8
  %238 = call noundef i32 %237(ptr noundef nonnull align 8 dereferenceable(144) %234)
  %239 = icmp ne i32 %238, 12
  br i1 %239, label %240, label %275

240:                                              ; preds = %229
  %241 = load ptr, ptr %6, align 8, !tbaa !5
  %242 = load ptr, ptr %241, align 8, !tbaa !11
  %243 = getelementptr inbounds ptr, ptr %242, i64 12
  %244 = load ptr, ptr %243, align 8
  %245 = call noundef nonnull align 8 dereferenceable(144) ptr %244(ptr noundef nonnull align 8 dereferenceable(328) %241)
  %246 = load ptr, ptr %245, align 8, !tbaa !11
  %247 = getelementptr inbounds ptr, ptr %246, i64 11
  %248 = load ptr, ptr %247, align 8
  %249 = call noundef nonnull align 8 dereferenceable(72) ptr %248(ptr noundef nonnull align 8 dereferenceable(144) %245)
  %250 = getelementptr inbounds %"class.glslang::TQualifier", ptr %249, i32 0, i32 1
  %251 = load i64, ptr %250, align 8
  %252 = lshr i64 %251, 24
  %253 = and i64 %252, 7
  %254 = trunc i64 %253 to i32
  %255 = icmp eq i32 %254, 0
  br i1 %255, label %256, label %258

256:                                              ; preds = %240
  %257 = load i32, ptr %7, align 4, !tbaa !9
  br label %273

258:                                              ; preds = %240
  %259 = load ptr, ptr %6, align 8, !tbaa !5
  %260 = load ptr, ptr %259, align 8, !tbaa !11
  %261 = getelementptr inbounds ptr, ptr %260, i64 12
  %262 = load ptr, ptr %261, align 8
  %263 = call noundef nonnull align 8 dereferenceable(144) ptr %262(ptr noundef nonnull align 8 dereferenceable(328) %259)
  %264 = load ptr, ptr %263, align 8, !tbaa !11
  %265 = getelementptr inbounds ptr, ptr %264, i64 11
  %266 = load ptr, ptr %265, align 8
  %267 = call noundef nonnull align 8 dereferenceable(72) ptr %266(ptr noundef nonnull align 8 dereferenceable(144) %263)
  %268 = getelementptr inbounds %"class.glslang::TQualifier", ptr %267, i32 0, i32 1
  %269 = load i64, ptr %268, align 8
  %270 = lshr i64 %269, 24
  %271 = and i64 %270, 7
  %272 = trunc i64 %271 to i32
  br label %273

273:                                              ; preds = %258, %256
  %274 = phi i32 [ %257, %256 ], [ %272, %258 ]
  store i32 %274, ptr %8, align 4, !tbaa !9
  br label %275

275:                                              ; preds = %273, %229
  br label %276

276:                                              ; preds = %275, %212
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %277

277:                                              ; preds = %276, %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %278

278:                                              ; preds = %277, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  %279 = load ptr, ptr %9, align 8, !tbaa !5
  %280 = load ptr, ptr %279, align 8, !tbaa !11
  %281 = getelementptr inbounds ptr, ptr %280, i64 33
  %282 = load ptr, ptr %281, align 8
  %283 = call noundef nonnull align 8 dereferenceable(72) ptr %282(ptr noundef nonnull align 8 dereferenceable(176) %279)
  %284 = getelementptr inbounds %"class.glslang::TQualifier", ptr %283, i32 0, i32 1
  %285 = load i64, ptr %284, align 8
  %286 = and i64 %285, -117440513
  %287 = or i64 %286, 0
  store i64 %287, ptr %284, align 8
  %288 = load i32, ptr %7, align 4, !tbaa !9
  %289 = icmp ne i32 %288, 0
  br i1 %289, label %290, label %298

290:                                              ; preds = %278
  %291 = load ptr, ptr %9, align 8, !tbaa !5
  %292 = load i32, ptr %7, align 4, !tbaa !9
  %293 = load ptr, ptr %291, align 8, !tbaa !11
  %294 = getelementptr inbounds ptr, ptr %293, i64 37
  %295 = load ptr, ptr %294, align 8
  call void %295(ptr noundef nonnull align 8 dereferenceable(176) %291, i32 noundef %292)
  %296 = load ptr, ptr %9, align 8, !tbaa !5
  %297 = load i32, ptr %7, align 4, !tbaa !9
  call void @_ZN7glslang15TIntermOperator21setOperationPrecisionENS_19TPrecisionQualifierE(ptr noundef nonnull align 8 dereferenceable(184) %296, i32 noundef %297)
  br label %298

298:                                              ; preds = %290, %278
  %299 = load i32, ptr %8, align 4, !tbaa !9
  %300 = load ptr, ptr %9, align 8, !tbaa !5
  %301 = load ptr, ptr %300, align 8, !tbaa !11
  %302 = getelementptr inbounds ptr, ptr %301, i64 33
  %303 = load ptr, ptr %302, align 8
  %304 = call noundef nonnull align 8 dereferenceable(72) ptr %303(ptr noundef nonnull align 8 dereferenceable(176) %300)
  %305 = getelementptr inbounds %"class.glslang::TQualifier", ptr %304, i32 0, i32 1
  %306 = zext i32 %299 to i64
  %307 = load i64, ptr %305, align 8
  %308 = and i64 %306, 7
  %309 = shl i64 %308, 24
  %310 = and i64 %307, -117440513
  %311 = or i64 %310, %309
  store i64 %311, ptr %305, align 8
  store i32 0, ptr %10, align 4
  br label %312

312:                                              ; preds = %298, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  %313 = load i32, ptr %10, align 4
  switch i32 %313, label %315 [
    i32 0, label %314
    i32 1, label %314
  ]

314:                                              ; preds = %312, %312
  ret void

315:                                              ; preds = %312
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIN7glslang19TPrecisionQualifierEERKT_S4_S4_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang15TIntermOperator10isSamplingEv(ptr noundef nonnull align 8 dereferenceable(184)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang15TIntermOperator21setOperationPrecisionENS_19TPrecisionQualifierE(ptr noundef nonnull align 8 dereferenceable(184), i32 noundef) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint 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 #4 = { 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 = !{!"_ZTSN7glslang19TPrecisionQualifierE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !6, i64 8}
!14 = !{!"_ZTSN7glslang10TParameterE", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


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

; 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7glslang13TParseContext24computeBuiltinPrecisionsERNS_12TIntermTypedERKNS_9TFunctionE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(328) %2) local_unnamed_addr #2 align 2 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  store i32 0, ptr %4, align 4, !tbaa !5
  %9 = load ptr, ptr %1, align 8, !tbaa !9
  %10 = getelementptr inbounds i8, ptr %9, i64 32
  %11 = load ptr, ptr %10, align 8
  %12 = tail call noundef ptr %11(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %13 = icmp eq ptr %12, null
  br i1 %13, label %229, label %14

14:                                               ; preds = %3
  %15 = load ptr, ptr %1, align 8, !tbaa !9
  %16 = getelementptr inbounds i8, ptr %15, i64 56
  %17 = load ptr, ptr %16, align 8
  %18 = tail call noundef ptr %17(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %.not = icmp eq ptr %18, null
  br i1 %.not, label %88, label %19

19:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %20 = load ptr, ptr %2, align 8, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %20, i64 320
  %22 = load ptr, ptr %21, align 8
  %23 = tail call noundef nonnull align 8 dereferenceable(24) ptr %22(ptr noundef nonnull align 8 dereferenceable(328) %2, i32 noundef 0)
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  %26 = load ptr, ptr %25, align 8, !tbaa !9
  %27 = getelementptr inbounds i8, ptr %26, i64 80
  %28 = load ptr, ptr %27, align 8
  %29 = tail call noundef nonnull align 8 dereferenceable(72) ptr %28(ptr noundef nonnull align 8 dereferenceable(144) %25)
  %30 = getelementptr inbounds i8, ptr %29, i64 8
  %31 = load i64, ptr %30, align 8
  %32 = trunc i64 %31 to i32
  %33 = lshr i32 %32, 24
  %34 = and i32 %33, 7
  store i32 %34, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  %35 = load ptr, ptr %18, align 8, !tbaa !9
  %36 = getelementptr inbounds i8, ptr %35, i64 392
  %37 = load ptr, ptr %36, align 8
  %38 = tail call noundef ptr %37(ptr noundef nonnull align 8 dereferenceable(240) %18)
  %39 = load ptr, ptr %38, align 8, !tbaa !9
  %40 = getelementptr inbounds i8, ptr %39, i64 240
  %41 = load ptr, ptr %40, align 8
  %42 = tail call noundef nonnull align 8 dereferenceable(144) ptr %41(ptr noundef nonnull align 8 dereferenceable(176) %38)
  %43 = load ptr, ptr %42, align 8, !tbaa !9
  %44 = getelementptr inbounds i8, ptr %43, i64 88
  %45 = load ptr, ptr %44, align 8
  %46 = tail call noundef nonnull align 8 dereferenceable(72) ptr %45(ptr noundef nonnull align 8 dereferenceable(144) %42)
  %47 = getelementptr inbounds i8, ptr %46, i64 8
  %48 = load i64, ptr %47, align 8
  %49 = trunc i64 %48 to i32
  %50 = lshr i32 %49, 24
  %51 = and i32 %50, 7
  store i32 %51, ptr %6, align 4, !tbaa !5
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIN7glslang19TPrecisionQualifierEERKT_S4_S4_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %53 = load i32, ptr %52, align 4, !tbaa !5
  store i32 %53, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  %54 = load ptr, ptr %2, align 8, !tbaa !9
  %55 = getelementptr inbounds i8, ptr %54, i64 96
  %56 = load ptr, ptr %55, align 8
  %57 = call noundef nonnull align 8 dereferenceable(144) ptr %56(ptr noundef nonnull align 8 dereferenceable(328) %2)
  %58 = load ptr, ptr %57, align 8, !tbaa !9
  %59 = getelementptr inbounds i8, ptr %58, i64 56
  %60 = load ptr, ptr %59, align 8
  %61 = call noundef i32 %60(ptr noundef nonnull align 8 dereferenceable(144) %57)
  %.not43 = icmp eq i32 %61, 12
  br i1 %.not43, label %203, label %62

62:                                               ; preds = %19
  %63 = load ptr, ptr %2, align 8, !tbaa !9
  %64 = getelementptr inbounds i8, ptr %63, i64 96
  %65 = load ptr, ptr %64, align 8
  %66 = call noundef nonnull align 8 dereferenceable(144) ptr %65(ptr noundef nonnull align 8 dereferenceable(328) %2)
  %67 = load ptr, ptr %66, align 8, !tbaa !9
  %68 = getelementptr inbounds i8, ptr %67, i64 88
  %69 = load ptr, ptr %68, align 8
  %70 = call noundef nonnull align 8 dereferenceable(72) ptr %69(ptr noundef nonnull align 8 dereferenceable(144) %66)
  %71 = getelementptr inbounds i8, ptr %70, i64 8
  %72 = load i64, ptr %71, align 8
  %73 = and i64 %72, 117440512
  %74 = icmp eq i64 %73, 0
  br i1 %74, label %203, label %75

75:                                               ; preds = %62
  %76 = load ptr, ptr %2, align 8, !tbaa !9
  %77 = getelementptr inbounds i8, ptr %76, i64 96
  %78 = load ptr, ptr %77, align 8
  %79 = call noundef nonnull align 8 dereferenceable(144) ptr %78(ptr noundef nonnull align 8 dereferenceable(328) %2)
  %80 = load ptr, ptr %79, align 8, !tbaa !9
  %81 = getelementptr inbounds i8, ptr %80, i64 88
  %82 = load ptr, ptr %81, align 8
  %83 = call noundef nonnull align 8 dereferenceable(72) ptr %82(ptr noundef nonnull align 8 dereferenceable(144) %79)
  %84 = getelementptr inbounds i8, ptr %83, i64 8
  %85 = load i64, ptr %84, align 8
  %86 = trunc i64 %85 to i32
  %87 = lshr i32 %86, 24
  br label %203

88:                                               ; preds = %14
  %89 = load ptr, ptr %1, align 8, !tbaa !9
  %90 = getelementptr inbounds i8, ptr %89, i64 48
  %91 = load ptr, ptr %90, align 8
  %92 = tail call noundef ptr %91(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %.not41 = icmp eq ptr %92, null
  br i1 %.not41, label %203, label %93

93:                                               ; preds = %88
  %94 = load ptr, ptr %92, align 8, !tbaa !9
  %95 = getelementptr inbounds i8, ptr %94, i64 400
  %96 = load ptr, ptr %95, align 8
  %97 = tail call noundef nonnull align 8 dereferenceable(32) ptr %96(ptr noundef nonnull align 8 dereferenceable(352) %92)
  %98 = tail call noundef i64 @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %97) #4
  %99 = tail call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %92)
  switch i32 %99, label %101 [
    i32 679, label %.lr.ph.preheader
    i32 680, label %100
    i32 291, label %.lr.ph.preheader
    i32 293, label %.lr.ph.preheader
    i32 292, label %.lr.ph.preheader
    i32 454, label %._crit_edge
  ]

100:                                              ; preds = %93
  br label %.lr.ph.preheader

101:                                              ; preds = %93
  %102 = and i64 %98, 4294967295
  %.not46 = icmp eq i64 %102, 0
  br i1 %.not46, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %93, %93, %93, %93, %100, %101
  %.03550 = phi i64 [ %98, %101 ], [ 2, %100 ], [ 1, %93 ], [ 1, %93 ], [ 1, %93 ], [ 1, %93 ]
  %wide.trip.count = and i64 %.03550, 4294967295
  br label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %93, %101
  %103 = call noundef zeroext i1 @_ZNK7glslang15TIntermOperator10isSamplingEv(ptr noundef nonnull align 8 dereferenceable(184) %92)
  br i1 %103, label %151, label %139

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %97, i64 noundef %indvars.iv) #4
  %105 = load ptr, ptr %104, align 8, !tbaa !14
  %106 = load ptr, ptr %105, align 8, !tbaa !9
  %107 = getelementptr inbounds i8, ptr %106, i64 24
  %108 = load ptr, ptr %107, align 8
  %109 = call noundef ptr %108(ptr noundef nonnull align 8 dereferenceable(32) %105)
  %110 = load ptr, ptr %109, align 8, !tbaa !9
  %111 = getelementptr inbounds i8, ptr %110, i64 264
  %112 = load ptr, ptr %111, align 8
  %113 = call noundef nonnull align 8 dereferenceable(72) ptr %112(ptr noundef nonnull align 8 dereferenceable(176) %109)
  %114 = getelementptr inbounds i8, ptr %113, i64 8
  %115 = load i64, ptr %114, align 8
  %116 = trunc i64 %115 to i32
  %117 = lshr i32 %116, 24
  %118 = and i32 %117, 7
  store i32 %118, ptr %7, align 4, !tbaa !5
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIN7glslang19TPrecisionQualifierEERKT_S4_S4_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %120 = load i32, ptr %119, align 4, !tbaa !5
  store i32 %120, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
  %121 = load ptr, ptr %2, align 8, !tbaa !9
  %122 = getelementptr inbounds i8, ptr %121, i64 320
  %123 = load ptr, ptr %122, align 8
  %124 = trunc nuw i64 %indvars.iv to i32
  %125 = call noundef nonnull align 8 dereferenceable(24) ptr %123(ptr noundef nonnull align 8 dereferenceable(328) %2, i32 noundef %124)
  %126 = getelementptr inbounds i8, ptr %125, i64 8
  %127 = load ptr, ptr %126, align 8, !tbaa !11
  %128 = load ptr, ptr %127, align 8, !tbaa !9
  %129 = getelementptr inbounds i8, ptr %128, i64 80
  %130 = load ptr, ptr %129, align 8
  %131 = call noundef nonnull align 8 dereferenceable(72) ptr %130(ptr noundef nonnull align 8 dereferenceable(144) %127)
  %132 = getelementptr inbounds i8, ptr %131, i64 8
  %133 = load i64, ptr %132, align 8
  %134 = trunc i64 %133 to i32
  %135 = lshr i32 %134, 24
  %136 = and i32 %135, 7
  store i32 %136, ptr %8, align 4, !tbaa !5
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIN7glslang19TPrecisionQualifierEERKT_S4_S4_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %138 = load i32, ptr %137, align 4, !tbaa !5
  store i32 %138, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !15

139:                                              ; preds = %._crit_edge
  %140 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %92)
  %141 = icmp eq i32 %140, 594
  br i1 %141, label %151, label %142

142:                                              ; preds = %139
  %143 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %92)
  %144 = icmp eq i32 %143, 595
  br i1 %144, label %151, label %145

145:                                              ; preds = %142
  %146 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %92)
  %147 = icmp eq i32 %146, 596
  br i1 %147, label %151, label %148

148:                                              ; preds = %145
  %149 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %92)
  %150 = icmp eq i32 %149, 597
  br i1 %150, label %151, label %166

151:                                              ; preds = %148, %145, %142, %139, %._crit_edge
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %97, i64 noundef 0) #4
  %153 = load ptr, ptr %152, align 8, !tbaa !14
  %154 = load ptr, ptr %153, align 8, !tbaa !9
  %155 = getelementptr inbounds i8, ptr %154, i64 24
  %156 = load ptr, ptr %155, align 8
  %157 = call noundef ptr %156(ptr noundef nonnull align 8 dereferenceable(32) %153)
  %158 = load ptr, ptr %157, align 8, !tbaa !9
  %159 = getelementptr inbounds i8, ptr %158, i64 264
  %160 = load ptr, ptr %159, align 8
  %161 = call noundef nonnull align 8 dereferenceable(72) ptr %160(ptr noundef nonnull align 8 dereferenceable(176) %157)
  %162 = getelementptr inbounds i8, ptr %161, i64 8
  %163 = load i64, ptr %162, align 8
  %164 = trunc i64 %163 to i32
  %165 = lshr i32 %164, 24
  br label %203

166:                                              ; preds = %148
  %167 = load ptr, ptr %2, align 8, !tbaa !9
  %168 = getelementptr inbounds i8, ptr %167, i64 96
  %169 = load ptr, ptr %168, align 8
  %170 = call noundef nonnull align 8 dereferenceable(144) ptr %169(ptr noundef nonnull align 8 dereferenceable(328) %2)
  %171 = load ptr, ptr %170, align 8, !tbaa !9
  %172 = getelementptr inbounds i8, ptr %171, i64 56
  %173 = load ptr, ptr %172, align 8
  %174 = call noundef i32 %173(ptr noundef nonnull align 8 dereferenceable(144) %170)
  %.not42 = icmp eq i32 %174, 12
  br i1 %.not42, label %203, label %175

175:                                              ; preds = %166
  %176 = load ptr, ptr %2, align 8, !tbaa !9
  %177 = getelementptr inbounds i8, ptr %176, i64 96
  %178 = load ptr, ptr %177, align 8
  %179 = call noundef nonnull align 8 dereferenceable(144) ptr %178(ptr noundef nonnull align 8 dereferenceable(328) %2)
  %180 = load ptr, ptr %179, align 8, !tbaa !9
  %181 = getelementptr inbounds i8, ptr %180, i64 88
  %182 = load ptr, ptr %181, align 8
  %183 = call noundef nonnull align 8 dereferenceable(72) ptr %182(ptr noundef nonnull align 8 dereferenceable(144) %179)
  %184 = getelementptr inbounds i8, ptr %183, i64 8
  %185 = load i64, ptr %184, align 8
  %186 = and i64 %185, 117440512
  %187 = icmp eq i64 %186, 0
  br i1 %187, label %188, label %190

188:                                              ; preds = %175
  %189 = load i32, ptr %4, align 4, !tbaa !5
  br label %203

190:                                              ; preds = %175
  %191 = load ptr, ptr %2, align 8, !tbaa !9
  %192 = getelementptr inbounds i8, ptr %191, i64 96
  %193 = load ptr, ptr %192, align 8
  %194 = call noundef nonnull align 8 dereferenceable(144) ptr %193(ptr noundef nonnull align 8 dereferenceable(328) %2)
  %195 = load ptr, ptr %194, align 8, !tbaa !9
  %196 = getelementptr inbounds i8, ptr %195, i64 88
  %197 = load ptr, ptr %196, align 8
  %198 = call noundef nonnull align 8 dereferenceable(72) ptr %197(ptr noundef nonnull align 8 dereferenceable(144) %194)
  %199 = getelementptr inbounds i8, ptr %198, i64 8
  %200 = load i64, ptr %199, align 8
  %201 = trunc i64 %200 to i32
  %202 = lshr i32 %201, 24
  br label %203

203:                                              ; preds = %62, %88, %188, %190, %166, %151, %75, %19
  %.2 = phi i32 [ 0, %19 ], [ %87, %75 ], [ 0, %88 ], [ %165, %151 ], [ 0, %166 ], [ %189, %188 ], [ %202, %190 ], [ %53, %62 ]
  %204 = load ptr, ptr %12, align 8, !tbaa !9
  %205 = getelementptr inbounds i8, ptr %204, i64 264
  %206 = load ptr, ptr %205, align 8
  %207 = call noundef nonnull align 8 dereferenceable(72) ptr %206(ptr noundef nonnull align 8 dereferenceable(176) %12)
  %208 = getelementptr inbounds i8, ptr %207, i64 8
  %209 = load i64, ptr %208, align 8
  %210 = and i64 %209, -117440513
  store i64 %210, ptr %208, align 8
  %211 = load i32, ptr %4, align 4, !tbaa !5
  %.not44 = icmp eq i32 %211, 0
  br i1 %.not44, label %217, label %212

212:                                              ; preds = %203
  %213 = load ptr, ptr %12, align 8, !tbaa !9
  %214 = getelementptr inbounds i8, ptr %213, i64 296
  %215 = load ptr, ptr %214, align 8
  call void %215(ptr noundef nonnull align 8 dereferenceable(176) %12, i32 noundef %211)
  %216 = load i32, ptr %4, align 4, !tbaa !5
  call void @_ZN7glslang15TIntermOperator21setOperationPrecisionENS_19TPrecisionQualifierE(ptr noundef nonnull align 8 dereferenceable(184) %12, i32 noundef %216)
  br label %217

217:                                              ; preds = %212, %203
  %218 = load ptr, ptr %12, align 8, !tbaa !9
  %219 = getelementptr inbounds i8, ptr %218, i64 264
  %220 = load ptr, ptr %219, align 8
  %221 = call noundef nonnull align 8 dereferenceable(72) ptr %220(ptr noundef nonnull align 8 dereferenceable(176) %12)
  %222 = getelementptr inbounds i8, ptr %221, i64 8
  %223 = load i64, ptr %222, align 8
  %224 = shl i32 %.2, 24
  %225 = and i32 %224, 117440512
  %226 = zext nneg i32 %225 to i64
  %227 = and i64 %223, -117440513
  %228 = or disjoint i64 %227, %226
  store i64 %228, ptr %222, align 8
  br label %229

229:                                              ; preds = %3, %217
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIN7glslang19TPrecisionQualifierEERKT_S4_S4_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang15TIntermOperator10isSamplingEv(ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang15TIntermOperator21setOperationPrecisionENS_19TPrecisionQualifierE(ptr noundef nonnull align 8 dereferenceable(184), i32 noundef) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint 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 #4 = { 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 = !{!"_ZTSN7glslang19TPrecisionQualifierE", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"_ZTSN7glslang10TParameterE", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass