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

%"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 }>

@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZN7glslangL29E_GL_EXT_nonuniform_qualifierE = external hidden constant ptr, align 8
@.str.462 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.463 = external hidden unnamed_addr constant [74 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 noundef ptr @_ZNK7glslang5TType9getStructEv(ptr noundef nonnull align 8 dereferenceable(144)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK7glslang20TIntermConstantUnion13getConstArrayEv(ptr noundef nonnull align 8 dereferenceable(193)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNK7glslang16TConstUnionArrayixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7glslang13TParseContext19checkRuntimeSizableERKNS_10TSourceLocERKNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(176) %2) #1 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = 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
  %11 = load ptr, ptr %4, align 8
  %12 = load ptr, ptr %6, align 8, !tbaa !5
  %13 = call noundef zeroext i1 @_ZNK7glslang13TParseContext15isRuntimeLengthERKNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(24912) %11, ptr noundef nonnull align 8 dereferenceable(176) %12)
  br i1 %13, label %14, label %15

14:                                               ; preds = %3
  br label %157

15:                                               ; preds = %3
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  %18 = getelementptr inbounds ptr, ptr %17, i64 30
  %19 = load ptr, ptr %18, align 8
  %20 = call noundef nonnull align 8 dereferenceable(144) ptr %19(ptr noundef nonnull align 8 dereferenceable(176) %16)
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  %22 = getelementptr inbounds ptr, ptr %21, i64 11
  %23 = load ptr, ptr %22, align 8
  %24 = call noundef nonnull align 8 dereferenceable(72) ptr %23(ptr noundef nonnull align 8 dereferenceable(144) %20)
  %25 = getelementptr inbounds %"class.glslang::TQualifier", ptr %24, i32 0, i32 1
  %26 = load i64, ptr %25, align 8
  %27 = lshr i64 %26, 6
  %28 = and i64 %27, 511
  %29 = trunc i64 %28 to i32
  %30 = icmp eq i32 %29, 71
  br i1 %30, label %31, label %32

31:                                               ; preds = %15
  br label %157

32:                                               ; preds = %15
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = getelementptr inbounds ptr, ptr %34, i64 30
  %36 = load ptr, ptr %35, align 8
  %37 = call noundef nonnull align 8 dereferenceable(144) ptr %36(ptr noundef nonnull align 8 dereferenceable(176) %33)
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = getelementptr inbounds ptr, ptr %38, i64 11
  %40 = load ptr, ptr %39, align 8
  %41 = call noundef nonnull align 8 dereferenceable(72) ptr %40(ptr noundef nonnull align 8 dereferenceable(144) %37)
  %42 = getelementptr inbounds %"class.glslang::TQualifier", ptr %41, i32 0, i32 1
  %43 = load i64, ptr %42, align 8
  %44 = and i64 %43, 63
  %45 = trunc i64 %44 to i32
  %46 = icmp eq i32 %45, 6
  br i1 %46, label %47, label %108

47:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = load ptr, ptr %48, align 8, !tbaa !9
  %50 = getelementptr inbounds ptr, ptr %49, i64 20
  %51 = load ptr, ptr %50, align 8
  %52 = call noundef ptr %51(ptr noundef nonnull align 8 dereferenceable(32) %48)
  store ptr %52, ptr %7, align 8, !tbaa !5
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %104

55:                                               ; preds = %47
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %56)
  %58 = icmp eq i32 %57, 182
  br i1 %58, label %59, label %104

59:                                               ; preds = %55
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = load ptr, ptr %60, align 8, !tbaa !9
  %62 = getelementptr inbounds ptr, ptr %61, i64 50
  %63 = load ptr, ptr %62, align 8
  %64 = call noundef ptr %63(ptr noundef nonnull align 8 dereferenceable(200) %60)
  %65 = call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %64)
  br i1 %65, label %66, label %104

66:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = load ptr, ptr %67, align 8, !tbaa !9
  %69 = getelementptr inbounds ptr, ptr %68, i64 51
  %70 = load ptr, ptr %69, align 8
  %71 = call noundef ptr %70(ptr noundef nonnull align 8 dereferenceable(200) %67)
  %72 = load ptr, ptr %71, align 8, !tbaa !9
  %73 = getelementptr inbounds ptr, ptr %72, i64 5
  %74 = load ptr, ptr %73, align 8
  %75 = call noundef ptr %74(ptr noundef nonnull align 8 dereferenceable(32) %71)
  %76 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK7glslang20TIntermConstantUnion13getConstArrayEv(ptr noundef nonnull align 8 dereferenceable(193) %75)
  %77 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNK7glslang16TConstUnionArrayixEm(ptr noundef nonnull align 8 dereferenceable(16) %76, i64 noundef 0)
  %78 = call noundef i32 @_ZNK7glslang11TConstUnion9getIConstEv(ptr noundef nonnull align 8 dereferenceable(12) %77)
  store i32 %78, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = load ptr, ptr %79, align 8, !tbaa !9
  %81 = getelementptr inbounds ptr, ptr %80, i64 50
  %82 = load ptr, ptr %81, align 8
  %83 = call noundef ptr %82(ptr noundef nonnull align 8 dereferenceable(200) %79)
  %84 = load ptr, ptr %83, align 8, !tbaa !9
  %85 = getelementptr inbounds ptr, ptr %84, i64 30
  %86 = load ptr, ptr %85, align 8
  %87 = call noundef nonnull align 8 dereferenceable(144) ptr %86(ptr noundef nonnull align 8 dereferenceable(176) %83)
  %88 = load ptr, ptr %87, align 8, !tbaa !9
  %89 = getelementptr inbounds ptr, ptr %88, i64 21
  %90 = load ptr, ptr %89, align 8
  %91 = call noundef ptr %90(ptr noundef nonnull align 8 dereferenceable(144) %87)
  %92 = call noundef ptr @_ZNK7glslang5TType9getStructEv(ptr noundef nonnull align 8 dereferenceable(144) %91)
  %93 = call noundef i64 @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %92) #3
  %94 = trunc i64 %93 to i32
  store i32 %94, ptr %9, align 4, !tbaa !11
  %95 = load i32, ptr %8, align 4, !tbaa !11
  %96 = load i32, ptr %9, align 4, !tbaa !11
  %97 = sub nsw i32 %96, 1
  %98 = icmp eq i32 %95, %97
  br i1 %98, label %99, label %100

99:                                               ; preds = %66
  store i32 1, ptr %10, align 4
  br label %101

100:                                              ; preds = %66
  store i32 0, ptr %10, align 4
  br label %101

101:                                              ; preds = %100, %99
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  %102 = load i32, ptr %10, align 4
  switch i32 %102, label %105 [
    i32 0, label %103
  ]

103:                                              ; preds = %101
  br label %104

104:                                              ; preds = %103, %59, %55, %47
  store i32 0, ptr %10, align 4
  br label %105

105:                                              ; preds = %104, %101
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  %106 = load i32, ptr %10, align 4
  switch i32 %106, label %158 [
    i32 0, label %107
    i32 1, label %157
  ]

107:                                              ; preds = %105
  br label %108

108:                                              ; preds = %107, %32
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = load ptr, ptr %109, align 8, !tbaa !9
  %111 = getelementptr inbounds ptr, ptr %110, i64 32
  %112 = load ptr, ptr %111, align 8
  %113 = call noundef i32 %112(ptr noundef nonnull align 8 dereferenceable(176) %109)
  %114 = icmp eq i32 %113, 14
  br i1 %114, label %147, label %115

115:                                              ; preds = %108
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = load ptr, ptr %116, align 8, !tbaa !9
  %118 = getelementptr inbounds ptr, ptr %117, i64 32
  %119 = load ptr, ptr %118, align 8
  %120 = call noundef i32 %119(ptr noundef nonnull align 8 dereferenceable(176) %116)
  %121 = icmp eq i32 %120, 17
  br i1 %121, label %147, label %122

122:                                              ; preds = %115
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = load ptr, ptr %123, align 8, !tbaa !9
  %125 = getelementptr inbounds ptr, ptr %124, i64 32
  %126 = load ptr, ptr %125, align 8
  %127 = call noundef i32 %126(ptr noundef nonnull align 8 dereferenceable(176) %123)
  %128 = icmp eq i32 %127, 19
  br i1 %128, label %147, label %129

129:                                              ; preds = %122
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = load ptr, ptr %130, align 8, !tbaa !9
  %132 = getelementptr inbounds ptr, ptr %131, i64 32
  %133 = load ptr, ptr %132, align 8
  %134 = call noundef i32 %133(ptr noundef nonnull align 8 dereferenceable(176) %130)
  %135 = icmp eq i32 %134, 16
  br i1 %135, label %136, label %152

136:                                              ; preds = %129
  %137 = load ptr, ptr %6, align 8, !tbaa !5
  %138 = load ptr, ptr %137, align 8, !tbaa !9
  %139 = getelementptr inbounds ptr, ptr %138, i64 30
  %140 = load ptr, ptr %139, align 8
  %141 = call noundef nonnull align 8 dereferenceable(144) ptr %140(ptr noundef nonnull align 8 dereferenceable(176) %137)
  %142 = load ptr, ptr %141, align 8, !tbaa !9
  %143 = getelementptr inbounds ptr, ptr %142, i64 11
  %144 = load ptr, ptr %143, align 8
  %145 = call noundef nonnull align 8 dereferenceable(72) ptr %144(ptr noundef nonnull align 8 dereferenceable(144) %141)
  %146 = call noundef zeroext i1 @_ZNK7glslang10TQualifier17isUniformOrBufferEv(ptr noundef nonnull align 8 dereferenceable(72) %145)
  br i1 %146, label %147, label %152

147:                                              ; preds = %136, %122, %115, %108
  %148 = load ptr, ptr %5, align 8, !tbaa !5
  %149 = load ptr, ptr %11, align 8, !tbaa !9
  %150 = getelementptr inbounds ptr, ptr %149, i64 5
  %151 = load ptr, ptr %150, align 8
  call void %151(ptr noundef nonnull align 8 dereferenceable(192) %11, ptr noundef nonnull align 8 dereferenceable(24) %148, i32 noundef 1, ptr noundef @_ZN7glslangL29E_GL_EXT_nonuniform_qualifierE, ptr noundef @.str.462)
  br label %157

152:                                              ; preds = %136, %129
  %153 = load ptr, ptr %5, align 8, !tbaa !5
  %154 = load ptr, ptr %11, align 8, !tbaa !9
  %155 = getelementptr inbounds ptr, ptr %154, i64 42
  %156 = load ptr, ptr %155, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %156(ptr noundef nonnull align 8 dereferenceable(1176) %11, ptr noundef nonnull align 8 dereferenceable(24) %153, ptr noundef @.str.2, ptr noundef @.str.60, ptr noundef @.str.463)
  br label %157

157:                                              ; preds = %152, %147, %105, %31, %14
  ret void

158:                                              ; preds = %105
  unreachable
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang13TParseContext15isRuntimeLengthERKNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(24912), ptr noundef nonnull align 8 dereferenceable(176)) #1 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


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

@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZN7glslangL29E_GL_EXT_nonuniform_qualifierE = external hidden constant ptr, align 8
@.str.462 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.463 = external hidden unnamed_addr constant [74 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7glslang5TType9getStructEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK7glslang20TIntermConstantUnion13getConstArrayEv(ptr noundef nonnull align 8 dereferenceable(193)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNK7glslang16TConstUnionArrayixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7glslang13TParseContext19checkRuntimeSizableERKNS_10TSourceLocERKNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(176) %2) local_unnamed_addr #0 align 2 {
  %4 = tail call noundef zeroext i1 @_ZNK7glslang13TParseContext15isRuntimeLengthERKNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(176) %2)
  br i1 %4, label %114, label %5

5:                                                ; preds = %3
  %6 = load ptr, ptr %2, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %6, i64 240
  %8 = load ptr, ptr %7, align 8
  %9 = tail call noundef nonnull align 8 dereferenceable(144) ptr %8(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 88
  %12 = load ptr, ptr %11, align 8
  %13 = tail call noundef nonnull align 8 dereferenceable(72) ptr %12(ptr noundef nonnull align 8 dereferenceable(144) %9)
  %14 = getelementptr inbounds i8, ptr %13, i64 8
  %15 = load i64, ptr %14, align 8
  %16 = and i64 %15, 32704
  %17 = icmp eq i64 %16, 4544
  br i1 %17, label %114, label %18

18:                                               ; preds = %5
  %19 = load ptr, ptr %2, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %19, i64 240
  %21 = load ptr, ptr %20, align 8
  %22 = tail call noundef nonnull align 8 dereferenceable(144) ptr %21(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %23 = load ptr, ptr %22, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %23, i64 88
  %25 = load ptr, ptr %24, align 8
  %26 = tail call noundef nonnull align 8 dereferenceable(72) ptr %25(ptr noundef nonnull align 8 dereferenceable(144) %22)
  %27 = getelementptr inbounds i8, ptr %26, i64 8
  %28 = load i64, ptr %27, align 8
  %29 = and i64 %28, 63
  %30 = icmp eq i64 %29, 6
  br i1 %30, label %31, label %.thread

31:                                               ; preds = %18
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %32, i64 160
  %34 = load ptr, ptr %33, align 8
  %35 = tail call noundef ptr %34(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %.not = icmp eq ptr %35, null
  br i1 %.not, label %.thread, label %36

36:                                               ; preds = %31
  %37 = tail call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %35)
  %38 = icmp eq i32 %37, 182
  br i1 %38, label %39, label %.thread

39:                                               ; preds = %36
  %40 = load ptr, ptr %35, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %40, i64 400
  %42 = load ptr, ptr %41, align 8
  %43 = tail call noundef ptr %42(ptr noundef nonnull align 8 dereferenceable(200) %35)
  %44 = tail call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %43)
  br i1 %44, label %45, label %.thread

45:                                               ; preds = %39
  %46 = load ptr, ptr %35, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 408
  %48 = load ptr, ptr %47, align 8
  %49 = tail call noundef ptr %48(ptr noundef nonnull align 8 dereferenceable(200) %35)
  %50 = load ptr, ptr %49, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %50, i64 40
  %52 = load ptr, ptr %51, align 8
  %53 = tail call noundef ptr %52(ptr noundef nonnull align 8 dereferenceable(32) %49)
  %54 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK7glslang20TIntermConstantUnion13getConstArrayEv(ptr noundef nonnull align 8 dereferenceable(193) %53)
  %55 = tail call noundef nonnull align 8 dereferenceable(12) ptr @_ZNK7glslang16TConstUnionArrayixEm(ptr noundef nonnull align 8 dereferenceable(16) %54, i64 noundef 0)
  %56 = tail call noundef i32 @_ZNK7glslang11TConstUnion9getIConstEv(ptr noundef nonnull align 8 dereferenceable(12) %55)
  %57 = load ptr, ptr %35, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %57, i64 400
  %59 = load ptr, ptr %58, align 8
  %60 = tail call noundef ptr %59(ptr noundef nonnull align 8 dereferenceable(200) %35)
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %61, i64 240
  %63 = load ptr, ptr %62, align 8
  %64 = tail call noundef nonnull align 8 dereferenceable(144) ptr %63(ptr noundef nonnull align 8 dereferenceable(176) %60)
  %65 = load ptr, ptr %64, align 8, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %65, i64 168
  %67 = load ptr, ptr %66, align 8
  %68 = tail call noundef ptr %67(ptr noundef nonnull align 8 dereferenceable(144) %64)
  %69 = tail call noundef ptr @_ZNK7glslang5TType9getStructEv(ptr noundef nonnull align 8 dereferenceable(144) %68)
  %70 = tail call noundef i64 @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %69) #2
  %71 = trunc i64 %70 to i32
  %72 = add nsw i32 %71, -1
  %.not21 = icmp eq i32 %56, %72
  br i1 %.not21, label %114, label %.thread

.thread:                                          ; preds = %45, %39, %36, %31, %18
  %73 = load ptr, ptr %2, align 8, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %73, i64 256
  %75 = load ptr, ptr %74, align 8
  %76 = tail call noundef i32 %75(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %77 = icmp eq i32 %76, 14
  br i1 %77, label %106, label %78

78:                                               ; preds = %.thread
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %79, i64 256
  %81 = load ptr, ptr %80, align 8
  %82 = tail call noundef i32 %81(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %83 = icmp eq i32 %82, 17
  br i1 %83, label %106, label %84

84:                                               ; preds = %78
  %85 = load ptr, ptr %2, align 8, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %85, i64 256
  %87 = load ptr, ptr %86, align 8
  %88 = tail call noundef i32 %87(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %89 = icmp eq i32 %88, 19
  br i1 %89, label %106, label %90

90:                                               ; preds = %84
  %91 = load ptr, ptr %2, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %91, i64 256
  %93 = load ptr, ptr %92, align 8
  %94 = tail call noundef i32 %93(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %95 = icmp eq i32 %94, 16
  br i1 %95, label %96, label %110

96:                                               ; preds = %90
  %97 = load ptr, ptr %2, align 8, !tbaa !5
  %98 = getelementptr inbounds i8, ptr %97, i64 240
  %99 = load ptr, ptr %98, align 8
  %100 = tail call noundef nonnull align 8 dereferenceable(144) ptr %99(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %101 = load ptr, ptr %100, align 8, !tbaa !5
  %102 = getelementptr inbounds i8, ptr %101, i64 88
  %103 = load ptr, ptr %102, align 8
  %104 = tail call noundef nonnull align 8 dereferenceable(72) ptr %103(ptr noundef nonnull align 8 dereferenceable(144) %100)
  %105 = tail call noundef zeroext i1 @_ZNK7glslang10TQualifier17isUniformOrBufferEv(ptr noundef nonnull align 8 dereferenceable(72) %104)
  br i1 %105, label %106, label %110

106:                                              ; preds = %96, %84, %78, %.thread
  %107 = load ptr, ptr %0, align 8, !tbaa !5
  %108 = getelementptr inbounds i8, ptr %107, i64 40
  %109 = load ptr, ptr %108, align 8
  tail call void %109(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef 1, ptr noundef nonnull @_ZN7glslangL29E_GL_EXT_nonuniform_qualifierE, ptr noundef nonnull @.str.462)
  br label %114

110:                                              ; preds = %96, %90
  %111 = load ptr, ptr %0, align 8, !tbaa !5
  %112 = getelementptr inbounds i8, ptr %111, i64 336
  %113 = load ptr, ptr %112, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %113(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.60, ptr noundef nonnull @.str.463)
  br label %114

114:                                              ; preds = %45, %5, %3, %110, %106
  ret void
}

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

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

; 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 uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang13TParseContext15isRuntimeLengthERKNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(24912), ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #0 align 2

attributes #0 = { 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 #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 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


; Effective O3 passes: GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass