; 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::TShaderQualifiers" = type { i32, i8, i8, i32, i32, i32, i32, i8, [3 x i32], [3 x i8], [3 x i32], i8, i8, i32, i8, i32, i32, i8, i8, i8, i32, i8 }
%"class.glslang::TParseVersions" = type { ptr, i8, i32, ptr, i32, i32, %"struct.glslang::SpvVersion", ptr, %"class.glslang::TMap", %"class.glslang::TMap.0", i32, i32, ptr }
%"struct.glslang::SpvVersion" = type <{ i32, i32, i32, i32, i8, [3 x i8] }>
%"class.glslang::TMap" = type { %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>>::_Rb_tree_impl" = type { %"class.glslang::pool_allocator", [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.glslang::pool_allocator" = type { ptr }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.glslang::TMap.0" = type { %"class.std::map.1" }
%"class.std::map.1" = type { %"class.std::_Rb_tree.2" }
%"class.std::_Rb_tree.2" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>>::_Rb_tree_impl" = type { %"class.glslang::pool_allocator.3", [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.glslang::pool_allocator.3" = type { ptr }

@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.383 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.581 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.585 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.586 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.606 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.645 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.650 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.665 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.750 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.751 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__._ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE = external hidden unnamed_addr constant [97 x i8], align 1
@.str.752 = external hidden unnamed_addr constant [34 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7glslang10TQualifier17getGeometryStringENS_15TLayoutGeometryE(i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE(ptr noundef nonnull align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(88) %2) #3 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
  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
  %9 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store ptr @.str.750, ptr %7, align 8, !tbaa !5
  %10 = load ptr, ptr %6, align 8, !tbaa !5
  %11 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %10, i32 0, i32 0
  %12 = load i32, ptr %11, align 4, !tbaa !9
  %13 = icmp ne i32 %12, 0
  br i1 %13, label %14, label %24

14:                                               ; preds = %3
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = load ptr, ptr %7, align 8, !tbaa !5
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %17, i32 0, i32 0
  %19 = load i32, ptr %18, align 4, !tbaa !9
  %20 = call noundef ptr @_ZN7glslang10TQualifier17getGeometryStringENS_15TLayoutGeometryE(i32 noundef %19)
  %21 = load ptr, ptr %9, align 8, !tbaa !18
  %22 = getelementptr inbounds ptr, ptr %21, i64 42
  %23 = load ptr, ptr %22, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %23(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef %16, ptr noundef %20, ptr noundef @.str.2)
  br label %24

24:                                               ; preds = %14, %3
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %25, i32 0, i32 5
  %27 = load i32, ptr %26, align 4, !tbaa !20
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %29, label %39

29:                                               ; preds = %24
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %32, i32 0, i32 5
  %34 = load i32, ptr %33, align 4, !tbaa !20
  %35 = call noundef ptr @_ZN7glslang10TQualifier22getVertexSpacingStringENS_14TVertexSpacingE(i32 noundef %34)
  %36 = load ptr, ptr %9, align 8, !tbaa !18
  %37 = getelementptr inbounds ptr, ptr %36, i64 42
  %38 = load ptr, ptr %37, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %38(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef %31, ptr noundef %35, ptr noundef @.str.2)
  br label %39

39:                                               ; preds = %29, %24
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %40, i32 0, i32 6
  %42 = load i32, ptr %41, align 4, !tbaa !21
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %44, label %54

44:                                               ; preds = %39
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %47, i32 0, i32 6
  %49 = load i32, ptr %48, align 4, !tbaa !21
  %50 = call noundef ptr @_ZN7glslang10TQualifier20getVertexOrderStringENS_12TVertexOrderE(i32 noundef %49)
  %51 = load ptr, ptr %9, align 8, !tbaa !18
  %52 = getelementptr inbounds ptr, ptr %51, i64 42
  %53 = load ptr, ptr %52, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %53(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef %46, ptr noundef %50, ptr noundef @.str.2)
  br label %54

54:                                               ; preds = %44, %39
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %55, i32 0, i32 7
  %57 = load i8, ptr %56, align 4, !tbaa !22, !range !23, !noundef !24
  %58 = trunc i8 %57 to i1
  br i1 %58, label %59, label %65

59:                                               ; preds = %54
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = load ptr, ptr %9, align 8, !tbaa !18
  %63 = getelementptr inbounds ptr, ptr %62, i64 42
  %64 = load ptr, ptr %63, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %64(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %60, ptr noundef %61, ptr noundef @.str.581, ptr noundef @.str.2)
  br label %65

65:                                               ; preds = %59, %54
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %66, i32 0, i32 3
  %68 = load i32, ptr %67, align 4, !tbaa !25
  %69 = icmp ne i32 %68, -1
  br i1 %69, label %70, label %76

70:                                               ; preds = %65
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = load ptr, ptr %9, align 8, !tbaa !18
  %74 = getelementptr inbounds ptr, ptr %73, i64 42
  %75 = load ptr, ptr %74, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %75(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %71, ptr noundef %72, ptr noundef @.str.650, ptr noundef @.str.2)
  br label %76

76:                                               ; preds = %70, %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !26
  br label %77

77:                                               ; preds = %110, %76
  %78 = load i32, ptr %8, align 4, !tbaa !26
  %79 = icmp slt i32 %78, 3
  br i1 %79, label %81, label %80

80:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %113

81:                                               ; preds = %77
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %82, i32 0, i32 8
  %84 = load i32, ptr %8, align 4, !tbaa !26
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [3 x i32], ptr %83, i64 0, i64 %85
  %87 = load i32, ptr %86, align 4, !tbaa !26
  %88 = icmp sgt i32 %87, 1
  br i1 %88, label %89, label %95

89:                                               ; preds = %81
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = load ptr, ptr %9, align 8, !tbaa !18
  %93 = getelementptr inbounds ptr, ptr %92, i64 42
  %94 = load ptr, ptr %93, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %94(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %90, ptr noundef %91, ptr noundef @.str.665, ptr noundef @.str.2)
  br label %95

95:                                               ; preds = %89, %81
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %96, i32 0, i32 10
  %98 = load i32, ptr %8, align 4, !tbaa !26
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [3 x i32], ptr %97, i64 0, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !26
  %102 = icmp ne i32 %101, -1
  br i1 %102, label %103, label %109

103:                                              ; preds = %95
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = load ptr, ptr %9, align 8, !tbaa !18
  %107 = getelementptr inbounds ptr, ptr %106, i64 42
  %108 = load ptr, ptr %107, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %108(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %104, ptr noundef %105, ptr noundef @.str.751, ptr noundef @.str.2)
  br label %109

109:                                              ; preds = %103, %95
  br label %110

110:                                              ; preds = %109
  %111 = load i32, ptr %8, align 4, !tbaa !26
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %8, align 4, !tbaa !26
  br label %77, !llvm.loop !27

113:                                              ; preds = %80
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %114, i32 0, i32 4
  %116 = load i32, ptr %115, align 4, !tbaa !29
  %117 = icmp ne i32 %116, -1
  br i1 %117, label %118, label %145

118:                                              ; preds = %113
  %119 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %9, i32 0, i32 5
  %120 = load i32, ptr %119, align 4, !tbaa !30
  %121 = icmp eq i32 %120, 3
  br i1 %121, label %126, label %122

122:                                              ; preds = %118
  %123 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %9, i32 0, i32 5
  %124 = load i32, ptr %123, align 4, !tbaa !30
  %125 = icmp eq i32 %124, 13
  br i1 %125, label %126, label %132

126:                                              ; preds = %122, %118
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = load ptr, ptr %9, align 8, !tbaa !18
  %130 = getelementptr inbounds ptr, ptr %129, i64 42
  %131 = load ptr, ptr %130, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %131(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %127, ptr noundef %128, ptr noundef @.str.83, ptr noundef @.str.2)
  br label %144

132:                                              ; preds = %122
  %133 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %9, i32 0, i32 5
  %134 = load i32, ptr %133, align 4, !tbaa !30
  %135 = icmp eq i32 %134, 1
  br i1 %135, label %136, label %142

136:                                              ; preds = %132
  %137 = load ptr, ptr %5, align 8, !tbaa !5
  %138 = load ptr, ptr %7, align 8, !tbaa !5
  %139 = load ptr, ptr %9, align 8, !tbaa !18
  %140 = getelementptr inbounds ptr, ptr %139, i64 42
  %141 = load ptr, ptr %140, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %141(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %137, ptr noundef %138, ptr noundef @.str.80, ptr noundef @.str.2)
  br label %143

142:                                              ; preds = %132
  call void @__assert_fail(ptr noundef @.str.88, ptr noundef @.str.68, i32 noundef 6588, ptr noundef @__PRETTY_FUNCTION__._ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE) #5
  unreachable

143:                                              ; preds = %136
  br label %144

144:                                              ; preds = %143, %126
  br label %145

145:                                              ; preds = %144, %113
  %146 = load ptr, ptr %6, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %146, i32 0, i32 11
  %148 = load i8, ptr %147, align 4, !tbaa !52, !range !23, !noundef !24
  %149 = trunc i8 %148 to i1
  br i1 %149, label %150, label %156

150:                                              ; preds = %145
  %151 = load ptr, ptr %5, align 8, !tbaa !5
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = load ptr, ptr %9, align 8, !tbaa !18
  %154 = getelementptr inbounds ptr, ptr %153, i64 42
  %155 = load ptr, ptr %154, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %155(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %151, ptr noundef %152, ptr noundef @.str.585, ptr noundef @.str.2)
  br label %156

156:                                              ; preds = %150, %145
  %157 = load ptr, ptr %6, align 8, !tbaa !5
  %158 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %157, i32 0, i32 12
  %159 = load i8, ptr %158, align 1, !tbaa !53, !range !23, !noundef !24
  %160 = trunc i8 %159 to i1
  br i1 %160, label %161, label %167

161:                                              ; preds = %156
  %162 = load ptr, ptr %5, align 8, !tbaa !5
  %163 = load ptr, ptr %7, align 8, !tbaa !5
  %164 = load ptr, ptr %9, align 8, !tbaa !18
  %165 = getelementptr inbounds ptr, ptr %164, i64 42
  %166 = load ptr, ptr %165, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %166(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %162, ptr noundef %163, ptr noundef @.str.586, ptr noundef @.str.2)
  br label %167

167:                                              ; preds = %161, %156
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %168, i32 0, i32 20
  %170 = load i32, ptr %169, align 4, !tbaa !54
  %171 = icmp ne i32 %170, -1
  br i1 %171, label %172, label %184

172:                                              ; preds = %167
  %173 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %9, i32 0, i32 5
  %174 = load i32, ptr %173, align 4, !tbaa !30
  %175 = icmp eq i32 %174, 13
  br i1 %175, label %176, label %182

176:                                              ; preds = %172
  %177 = load ptr, ptr %5, align 8, !tbaa !5
  %178 = load ptr, ptr %7, align 8, !tbaa !5
  %179 = load ptr, ptr %9, align 8, !tbaa !18
  %180 = getelementptr inbounds ptr, ptr %179, i64 42
  %181 = load ptr, ptr %180, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %181(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %177, ptr noundef %178, ptr noundef @.str.82, ptr noundef @.str.2)
  br label %183

182:                                              ; preds = %172
  call void @__assert_fail(ptr noundef @.str.88, ptr noundef @.str.68, i32 noundef 6598, ptr noundef @__PRETTY_FUNCTION__._ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE) #5
  unreachable

183:                                              ; preds = %176
  br label %184

184:                                              ; preds = %183, %167
  %185 = load ptr, ptr %6, align 8, !tbaa !5
  %186 = call noundef zeroext i1 @_ZNK7glslang17TShaderQualifiers16hasBlendEquationEv(ptr noundef nonnull align 4 dereferenceable(88) %185)
  br i1 %186, label %187, label %193

187:                                              ; preds = %184
  %188 = load ptr, ptr %5, align 8, !tbaa !5
  %189 = load ptr, ptr %7, align 8, !tbaa !5
  %190 = load ptr, ptr %9, align 8, !tbaa !18
  %191 = getelementptr inbounds ptr, ptr %190, i64 42
  %192 = load ptr, ptr %191, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %192(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %188, ptr noundef %189, ptr noundef @.str.383, ptr noundef @.str.2)
  br label %193

193:                                              ; preds = %187, %184
  %194 = load ptr, ptr %6, align 8, !tbaa !5
  %195 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %194, i32 0, i32 15
  %196 = load i32, ptr %195, align 4, !tbaa !55
  %197 = icmp ne i32 %196, -1
  br i1 %197, label %198, label %204

198:                                              ; preds = %193
  %199 = load ptr, ptr %5, align 8, !tbaa !5
  %200 = load ptr, ptr %7, align 8, !tbaa !5
  %201 = load ptr, ptr %9, align 8, !tbaa !18
  %202 = getelementptr inbounds ptr, ptr %201, i64 42
  %203 = load ptr, ptr %202, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %203(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %199, ptr noundef %200, ptr noundef @.str.645, ptr noundef @.str.2)
  br label %204

204:                                              ; preds = %198, %193
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %205, i32 0, i32 16
  %207 = load i32, ptr %206, align 4, !tbaa !56
  %208 = icmp ne i32 %207, 0
  br i1 %208, label %209, label %219

209:                                              ; preds = %204
  %210 = load ptr, ptr %5, align 8, !tbaa !5
  %211 = load ptr, ptr %7, align 8, !tbaa !5
  %212 = load ptr, ptr %6, align 8, !tbaa !5
  %213 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %212, i32 0, i32 16
  %214 = load i32, ptr %213, align 4, !tbaa !56
  %215 = call noundef ptr @_ZN7glslang10TQualifier26getInterlockOrderingStringENS_18TInterlockOrderingE(i32 noundef %214)
  %216 = load ptr, ptr %9, align 8, !tbaa !18
  %217 = getelementptr inbounds ptr, ptr %216, i64 42
  %218 = load ptr, ptr %217, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %218(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %210, ptr noundef %211, ptr noundef %215, ptr noundef @.str.2)
  br label %219

219:                                              ; preds = %209, %204
  %220 = load ptr, ptr %6, align 8, !tbaa !5
  %221 = getelementptr inbounds %"struct.glslang::TShaderQualifiers", ptr %220, i32 0, i32 21
  %222 = load i8, ptr %221, align 4, !tbaa !57, !range !23, !noundef !24
  %223 = trunc i8 %222 to i1
  br i1 %223, label %224, label %229

224:                                              ; preds = %219
  %225 = load ptr, ptr %5, align 8, !tbaa !5
  %226 = load ptr, ptr %9, align 8, !tbaa !18
  %227 = getelementptr inbounds ptr, ptr %226, i64 42
  %228 = load ptr, ptr %227, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %228(ptr noundef nonnull align 8 dereferenceable(1176) %9, ptr noundef nonnull align 8 dereferenceable(24) %225, ptr noundef @.str.752, ptr noundef @.str.606, ptr noundef @.str.2)
  br label %229

229:                                              ; preds = %224, %219
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7glslang10TQualifier22getVertexSpacingStringENS_14TVertexSpacingE(i32 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7glslang10TQualifier20getVertexOrderStringENS_12TVertexOrderE(i32 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7glslang10TQualifier26getInterlockOrderingStringENS_18TInterlockOrderingE(i32 noundef) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "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 = { 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 #4 = { nounwind }
attributes #5 = { noreturn 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, !11, i64 0}
!10 = !{!"_ZTSN7glslang17TShaderQualifiersE", !11, i64 0, !12, i64 4, !12, i64 5, !13, i64 8, !13, i64 12, !14, i64 16, !15, i64 20, !12, i64 24, !7, i64 28, !7, i64 40, !7, i64 44, !12, i64 56, !12, i64 57, !16, i64 60, !12, i64 64, !13, i64 68, !17, i64 72, !12, i64 76, !12, i64 77, !12, i64 78, !13, i64 80, !12, i64 84}
!11 = !{!"_ZTSN7glslang15TLayoutGeometryE", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSN7glslang14TVertexSpacingE", !7, i64 0}
!15 = !{!"_ZTSN7glslang12TVertexOrderE", !7, i64 0}
!16 = !{!"_ZTSN7glslang12TLayoutDepthE", !7, i64 0}
!17 = !{!"_ZTSN7glslang18TInterlockOrderingE", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"vtable pointer", !8, i64 0}
!20 = !{!10, !14, i64 16}
!21 = !{!10, !15, i64 20}
!22 = !{!10, !12, i64 24}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!10, !13, i64 8}
!26 = !{!13, !13, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!10, !13, i64 12}
!30 = !{!31, !33, i64 28}
!31 = !{!"_ZTSN7glslang14TParseVersionsE", !12, i64 8, !32, i64 12, !6, i64 16, !13, i64 24, !33, i64 28, !34, i64 32, !6, i64 56, !35, i64 64, !46, i64 120, !51, i64 176, !13, i64 180, !6, i64 184}
!32 = !{!"_ZTS8EProfile", !7, i64 0}
!33 = !{!"_ZTS11EShLanguage", !7, i64 0}
!34 = !{!"_ZTSN7glslang10SpvVersionE", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !12, i64 16}
!35 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_18TExtensionBehaviorESt4lessIS7_EEE", !36, i64 0}
!36 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_18TExtensionBehaviorESt4lessIS7_ENS5_ISt4pairIKS7_S8_EEEE", !37, i64 0}
!37 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE", !38, i64 0}
!38 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE13_Rb_tree_implISF_Lb1EEE", !39, i64 0, !40, i64 8, !42, i64 16}
!39 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEENS_18TExtensionBehaviorEEEEE", !6, i64 0}
!40 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEEE", !41, i64 0}
!41 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEE"}
!42 = !{!"_ZTSSt15_Rb_tree_header", !43, i64 0, !45, i64 32}
!43 = !{!"_ZTSSt18_Rb_tree_node_base", !44, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!44 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!45 = !{!"long", !7, i64 0}
!46 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEjSt4lessIS7_EEE", !47, i64 0}
!47 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEjSt4lessIS7_ENS5_ISt4pairIKS7_jEEEE", !48, i64 0}
!48 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE", !49, i64 0}
!49 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE13_Rb_tree_implISE_Lb1EEE", !50, i64 0, !40, i64 8, !42, i64 16}
!50 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEEjEEEE", !6, i64 0}
!51 = !{!"_ZTS11EShMessages", !7, i64 0}
!52 = !{!10, !12, i64 56}
!53 = !{!10, !12, i64 57}
!54 = !{!10, !13, i64 80}
!55 = !{!10, !13, i64 68}
!56 = !{!10, !17, i64 72}
!57 = !{!10, !12, i64 84}


; 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.68 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.383 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.581 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.585 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.586 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.606 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.645 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.650 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.665 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.750 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.751 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__._ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE = external hidden unnamed_addr constant [97 x i8], align 1
@.str.752 = external hidden unnamed_addr constant [34 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7glslang10TQualifier17getGeometryStringENS_15TLayoutGeometryE(i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE(ptr noundef nonnull align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(88) %2) local_unnamed_addr #2 align 2 {
  %4 = load i32, ptr %2, align 4, !tbaa !5
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %10, label %5

5:                                                ; preds = %3
  %6 = tail call noundef ptr @_ZN7glslang10TQualifier17getGeometryStringENS_15TLayoutGeometryE(i32 noundef %4)
  %7 = load ptr, ptr %0, align 8, !tbaa !16
  %8 = getelementptr inbounds i8, ptr %7, i64 336
  %9 = load ptr, ptr %8, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %9(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef %6, ptr noundef nonnull @.str.2)
  br label %10

10:                                               ; preds = %5, %3
  %11 = getelementptr inbounds i8, ptr %2, i64 16
  %12 = load i32, ptr %11, align 4, !tbaa !18
  %.not59 = icmp eq i32 %12, 0
  br i1 %.not59, label %18, label %13

13:                                               ; preds = %10
  %14 = tail call noundef ptr @_ZN7glslang10TQualifier22getVertexSpacingStringENS_14TVertexSpacingE(i32 noundef %12)
  %15 = load ptr, ptr %0, align 8, !tbaa !16
  %16 = getelementptr inbounds i8, ptr %15, i64 336
  %17 = load ptr, ptr %16, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %17(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef %14, ptr noundef nonnull @.str.2)
  br label %18

18:                                               ; preds = %13, %10
  %19 = getelementptr inbounds i8, ptr %2, i64 20
  %20 = load i32, ptr %19, align 4, !tbaa !19
  %.not60 = icmp eq i32 %20, 0
  br i1 %.not60, label %26, label %21

21:                                               ; preds = %18
  %22 = tail call noundef ptr @_ZN7glslang10TQualifier20getVertexOrderStringENS_12TVertexOrderE(i32 noundef %20)
  %23 = load ptr, ptr %0, align 8, !tbaa !16
  %24 = getelementptr inbounds i8, ptr %23, i64 336
  %25 = load ptr, ptr %24, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %25(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef %22, ptr noundef nonnull @.str.2)
  br label %26

26:                                               ; preds = %21, %18
  %27 = getelementptr inbounds i8, ptr %2, i64 24
  %28 = load i8, ptr %27, align 4, !tbaa !20, !range !21, !noundef !22
  %29 = trunc nuw i8 %28 to i1
  br i1 %29, label %30, label %34

30:                                               ; preds = %26
  %31 = load ptr, ptr %0, align 8, !tbaa !16
  %32 = getelementptr inbounds i8, ptr %31, i64 336
  %33 = load ptr, ptr %32, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %33(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef nonnull @.str.581, ptr noundef nonnull @.str.2)
  br label %34

34:                                               ; preds = %30, %26
  %35 = getelementptr inbounds i8, ptr %2, i64 8
  %36 = load i32, ptr %35, align 4, !tbaa !23
  %.not61 = icmp eq i32 %36, -1
  br i1 %.not61, label %41, label %37

37:                                               ; preds = %34
  %38 = load ptr, ptr %0, align 8, !tbaa !16
  %39 = getelementptr inbounds i8, ptr %38, i64 336
  %40 = load ptr, ptr %39, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %40(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef nonnull @.str.650, ptr noundef nonnull @.str.2)
  br label %41

41:                                               ; preds = %37, %34
  %42 = getelementptr inbounds i8, ptr %2, i64 28
  %43 = getelementptr inbounds i8, ptr %2, i64 44
  %44 = load i32, ptr %42, align 4, !tbaa !24
  %45 = icmp sgt i32 %44, 1
  br i1 %45, label %46, label %50

46:                                               ; preds = %41
  %47 = load ptr, ptr %0, align 8, !tbaa !16
  %48 = getelementptr inbounds i8, ptr %47, i64 336
  %49 = load ptr, ptr %48, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %49(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef nonnull @.str.665, ptr noundef nonnull @.str.2)
  br label %50

50:                                               ; preds = %46, %41
  %51 = load i32, ptr %43, align 4, !tbaa !24
  %.not66 = icmp eq i32 %51, -1
  br i1 %.not66, label %56, label %52

52:                                               ; preds = %50
  %53 = load ptr, ptr %0, align 8, !tbaa !16
  %54 = getelementptr inbounds i8, ptr %53, i64 336
  %55 = load ptr, ptr %54, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %55(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef nonnull @.str.751, ptr noundef nonnull @.str.2)
  br label %56

56:                                               ; preds = %50, %52
  %57 = getelementptr inbounds i8, ptr %2, i64 32
  %58 = load i32, ptr %57, align 4, !tbaa !24
  %59 = icmp sgt i32 %58, 1
  br i1 %59, label %60, label %64

60:                                               ; preds = %56
  %61 = load ptr, ptr %0, align 8, !tbaa !16
  %62 = getelementptr inbounds i8, ptr %61, i64 336
  %63 = load ptr, ptr %62, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %63(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef nonnull @.str.665, ptr noundef nonnull @.str.2)
  br label %64

64:                                               ; preds = %60, %56
  %65 = getelementptr inbounds i8, ptr %2, i64 48
  %66 = load i32, ptr %65, align 4, !tbaa !24
  %.not66.1 = icmp eq i32 %66, -1
  br i1 %.not66.1, label %71, label %67

67:                                               ; preds = %64
  %68 = load ptr, ptr %0, align 8, !tbaa !16
  %69 = getelementptr inbounds i8, ptr %68, i64 336
  %70 = load ptr, ptr %69, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %70(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef nonnull @.str.751, ptr noundef nonnull @.str.2)
  br label %71

71:                                               ; preds = %67, %64
  %72 = getelementptr inbounds i8, ptr %2, i64 36
  %73 = load i32, ptr %72, align 4, !tbaa !24
  %74 = icmp sgt i32 %73, 1
  br i1 %74, label %75, label %79

75:                                               ; preds = %71
  %76 = load ptr, ptr %0, align 8, !tbaa !16
  %77 = getelementptr inbounds i8, ptr %76, i64 336
  %78 = load ptr, ptr %77, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %78(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef nonnull @.str.665, ptr noundef nonnull @.str.2)
  br label %79

79:                                               ; preds = %75, %71
  %80 = getelementptr inbounds i8, ptr %2, i64 52
  %81 = load i32, ptr %80, align 4, !tbaa !24
  %.not66.2 = icmp eq i32 %81, -1
  br i1 %.not66.2, label %86, label %82

82:                                               ; preds = %79
  %83 = load ptr, ptr %0, align 8, !tbaa !16
  %84 = getelementptr inbounds i8, ptr %83, i64 336
  %85 = load ptr, ptr %84, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %85(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef nonnull @.str.751, ptr noundef nonnull @.str.2)
  br label %86

86:                                               ; preds = %82, %79
  %87 = getelementptr inbounds i8, ptr %2, i64 12
  %88 = load i32, ptr %87, align 4, !tbaa !25
  %.not62 = icmp eq i32 %88, -1
  br i1 %.not62, label %97, label %89

89:                                               ; preds = %86
  %90 = getelementptr inbounds i8, ptr %0, i64 28
  %91 = load i32, ptr %90, align 4, !tbaa !26
  switch i32 %91, label %93 [
    i32 3, label %.sink.split
    i32 13, label %.sink.split
    i32 1, label %92
  ]

92:                                               ; preds = %89
  br label %.sink.split

93:                                               ; preds = %89
  tail call void @__assert_fail(ptr noundef nonnull @.str.88, ptr noundef nonnull @.str.68, i32 noundef 6588, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE) #3
  unreachable

.sink.split:                                      ; preds = %89, %89, %92
  %.str.83.sink = phi ptr [ @.str.80, %92 ], [ @.str.83, %89 ], [ @.str.83, %89 ]
  %94 = load ptr, ptr %0, align 8, !tbaa !16
  %95 = getelementptr inbounds i8, ptr %94, i64 336
  %96 = load ptr, ptr %95, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %96(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef nonnull %.str.83.sink, ptr noundef nonnull @.str.2)
  br label %97

97:                                               ; preds = %.sink.split, %86
  %98 = getelementptr inbounds i8, ptr %2, i64 56
  %99 = load i8, ptr %98, align 4, !tbaa !49, !range !21, !noundef !22
  %100 = trunc nuw i8 %99 to i1
  br i1 %100, label %101, label %105

101:                                              ; preds = %97
  %102 = load ptr, ptr %0, align 8, !tbaa !16
  %103 = getelementptr inbounds i8, ptr %102, i64 336
  %104 = load ptr, ptr %103, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %104(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef nonnull @.str.585, ptr noundef nonnull @.str.2)
  br label %105

105:                                              ; preds = %101, %97
  %106 = getelementptr inbounds i8, ptr %2, i64 57
  %107 = load i8, ptr %106, align 1, !tbaa !50, !range !21, !noundef !22
  %108 = trunc nuw i8 %107 to i1
  br i1 %108, label %109, label %113

109:                                              ; preds = %105
  %110 = load ptr, ptr %0, align 8, !tbaa !16
  %111 = getelementptr inbounds i8, ptr %110, i64 336
  %112 = load ptr, ptr %111, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %112(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef nonnull @.str.586, ptr noundef nonnull @.str.2)
  br label %113

113:                                              ; preds = %109, %105
  %114 = getelementptr inbounds i8, ptr %2, i64 80
  %115 = load i32, ptr %114, align 4, !tbaa !51
  %.not63 = icmp eq i32 %115, -1
  br i1 %.not63, label %125, label %116

116:                                              ; preds = %113
  %117 = getelementptr inbounds i8, ptr %0, i64 28
  %118 = load i32, ptr %117, align 4, !tbaa !26
  %119 = icmp eq i32 %118, 13
  br i1 %119, label %120, label %124

120:                                              ; preds = %116
  %121 = load ptr, ptr %0, align 8, !tbaa !16
  %122 = getelementptr inbounds i8, ptr %121, i64 336
  %123 = load ptr, ptr %122, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %123(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.2)
  br label %125

124:                                              ; preds = %116
  tail call void @__assert_fail(ptr noundef nonnull @.str.88, ptr noundef nonnull @.str.68, i32 noundef 6598, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE) #3
  unreachable

125:                                              ; preds = %120, %113
  %126 = tail call noundef zeroext i1 @_ZNK7glslang17TShaderQualifiers16hasBlendEquationEv(ptr noundef nonnull align 4 dereferenceable(88) %2)
  br i1 %126, label %127, label %131

127:                                              ; preds = %125
  %128 = load ptr, ptr %0, align 8, !tbaa !16
  %129 = getelementptr inbounds i8, ptr %128, i64 336
  %130 = load ptr, ptr %129, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %130(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef nonnull @.str.383, ptr noundef nonnull @.str.2)
  br label %131

131:                                              ; preds = %127, %125
  %132 = getelementptr inbounds i8, ptr %2, i64 68
  %133 = load i32, ptr %132, align 4, !tbaa !52
  %.not64 = icmp eq i32 %133, -1
  br i1 %.not64, label %138, label %134

134:                                              ; preds = %131
  %135 = load ptr, ptr %0, align 8, !tbaa !16
  %136 = getelementptr inbounds i8, ptr %135, i64 336
  %137 = load ptr, ptr %136, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %137(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef nonnull @.str.645, ptr noundef nonnull @.str.2)
  br label %138

138:                                              ; preds = %134, %131
  %139 = getelementptr inbounds i8, ptr %2, i64 72
  %140 = load i32, ptr %139, align 4, !tbaa !53
  %.not65 = icmp eq i32 %140, 0
  br i1 %.not65, label %146, label %141

141:                                              ; preds = %138
  %142 = tail call noundef ptr @_ZN7glslang10TQualifier26getInterlockOrderingStringENS_18TInterlockOrderingE(i32 noundef %140)
  %143 = load ptr, ptr %0, align 8, !tbaa !16
  %144 = getelementptr inbounds i8, ptr %143, i64 336
  %145 = load ptr, ptr %144, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %145(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.750, ptr noundef %142, ptr noundef nonnull @.str.2)
  br label %146

146:                                              ; preds = %141, %138
  %147 = getelementptr inbounds i8, ptr %2, i64 84
  %148 = load i8, ptr %147, align 4, !tbaa !54, !range !21, !noundef !22
  %149 = trunc nuw i8 %148 to i1
  br i1 %149, label %150, label %154

150:                                              ; preds = %146
  %151 = load ptr, ptr %0, align 8, !tbaa !16
  %152 = getelementptr inbounds i8, ptr %151, i64 336
  %153 = load ptr, ptr %152, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %153(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.752, ptr noundef nonnull @.str.606, ptr noundef nonnull @.str.2)
  br label %154

154:                                              ; preds = %150, %146
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7glslang10TQualifier22getVertexSpacingStringENS_14TVertexSpacingE(i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7glslang10TQualifier20getVertexOrderStringENS_12TVertexOrderE(i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7glslang10TQualifier26getInterlockOrderingStringENS_18TInterlockOrderingE(i32 noundef) local_unnamed_addr #1 align 2

attributes #0 = { noreturn nounwind "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 = { 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 = { noreturn 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, !7, i64 0}
!6 = !{!"_ZTSN7glslang17TShaderQualifiersE", !7, i64 0, !10, i64 4, !10, i64 5, !11, i64 8, !11, i64 12, !12, i64 16, !13, i64 20, !10, i64 24, !8, i64 28, !8, i64 40, !8, i64 44, !10, i64 56, !10, i64 57, !14, i64 60, !10, i64 64, !11, i64 68, !15, i64 72, !10, i64 76, !10, i64 77, !10, i64 78, !11, i64 80, !10, i64 84}
!7 = !{!"_ZTSN7glslang15TLayoutGeometryE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"_ZTSN7glslang14TVertexSpacingE", !8, i64 0}
!13 = !{!"_ZTSN7glslang12TVertexOrderE", !8, i64 0}
!14 = !{!"_ZTSN7glslang12TLayoutDepthE", !8, i64 0}
!15 = !{!"_ZTSN7glslang18TInterlockOrderingE", !8, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"vtable pointer", !9, i64 0}
!18 = !{!6, !12, i64 16}
!19 = !{!6, !13, i64 20}
!20 = !{!6, !10, i64 24}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!6, !11, i64 8}
!24 = !{!11, !11, i64 0}
!25 = !{!6, !11, i64 12}
!26 = !{!27, !30, i64 28}
!27 = !{!"_ZTSN7glslang14TParseVersionsE", !10, i64 8, !28, i64 12, !29, i64 16, !11, i64 24, !30, i64 28, !31, i64 32, !29, i64 56, !32, i64 64, !43, i64 120, !48, i64 176, !11, i64 180, !29, i64 184}
!28 = !{!"_ZTS8EProfile", !8, i64 0}
!29 = !{!"any pointer", !8, i64 0}
!30 = !{!"_ZTS11EShLanguage", !8, i64 0}
!31 = !{!"_ZTSN7glslang10SpvVersionE", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !10, i64 16}
!32 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_18TExtensionBehaviorESt4lessIS7_EEE", !33, i64 0}
!33 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_18TExtensionBehaviorESt4lessIS7_ENS5_ISt4pairIKS7_S8_EEEE", !34, i64 0}
!34 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE", !35, i64 0}
!35 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE13_Rb_tree_implISF_Lb1EEE", !36, i64 0, !37, i64 8, !39, i64 16}
!36 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEENS_18TExtensionBehaviorEEEEE", !29, i64 0}
!37 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEEE", !38, i64 0}
!38 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEE"}
!39 = !{!"_ZTSSt15_Rb_tree_header", !40, i64 0, !42, i64 32}
!40 = !{!"_ZTSSt18_Rb_tree_node_base", !41, i64 0, !29, i64 8, !29, i64 16, !29, i64 24}
!41 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!42 = !{!"long", !8, i64 0}
!43 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEjSt4lessIS7_EEE", !44, i64 0}
!44 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEjSt4lessIS7_ENS5_ISt4pairIKS7_jEEEE", !45, i64 0}
!45 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE", !46, i64 0}
!46 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE13_Rb_tree_implISE_Lb1EEE", !47, i64 0, !37, i64 8, !39, i64 16}
!47 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEEjEEEE", !29, i64 0}
!48 = !{!"_ZTS11EShMessages", !8, i64 0}
!49 = !{!6, !10, i64 56}
!50 = !{!6, !10, i64 57}
!51 = !{!6, !11, i64 80}
!52 = !{!6, !11, i64 68}
!53 = !{!6, !15, i64 72}
!54 = !{!6, !10, i64 84}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass