; LLVM IR from Try/Tempest :: Engine/gapi/spirv (meshconverter)

; 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.libspirv::MutableBytecode::Iterator" = type { %"struct.libspirv::Bytecode::Iterator.base", ptr }
%"struct.libspirv::Bytecode::Iterator.base" = type <{ ptr, i32 }>
%"struct.libspirv::Bytecode::Iterator" = type <{ ptr, i32, [4 x i8] }>
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::basic_string_view" = type { i64, ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.std::__detail::_Node_iterator.26" = type { %"struct.std::__detail::_Node_iterator_base.27" }
%"struct.std::__detail::_Node_iterator_base.27" = type { ptr }
%class.MeshConverter = type <{ %"struct.MeshConverter::Options", [6 x i8], ptr, %"class.libspirv::MutableBytecode", %"class.libspirv::MutableBytecode", [3 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i8], %"class.std::unordered_map", %"class.std::unordered_map", %"class.std::unordered_map.5", %"class.std::vector.19", i32, i32, i32, i32, i32, i32, i8, [7 x i8] }>
%"struct.MeshConverter::Options" = type { i8, i8 }
%"class.libspirv::MutableBytecode" = type { %"class.libspirv::Bytecode.base", %"class.std::vector" }
%"class.libspirv::Bytecode.base" = type <{ ptr, i64, i32 }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<libspirv::Bytecode::OpCode, std::allocator<libspirv::Bytecode::OpCode>>::_Vector_impl" }
%"struct.std::_Vector_base<libspirv::Bytecode::OpCode, std::allocator<libspirv::Bytecode::OpCode>>::_Vector_impl" = type { %"struct.std::_Vector_base<libspirv::Bytecode::OpCode, std::allocator<libspirv::Bytecode::OpCode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<libspirv::Bytecode::OpCode, std::allocator<libspirv::Bytecode::OpCode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_map.5" = type { %"class.std::_Hashtable.6" }
%"class.std::_Hashtable.6" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.28" = type { i32, i64 }

@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13MeshConverter8emitCompERN8libspirv15MutableBytecodeE(ptr noundef nonnull align 8 dereferenceable(425) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %12 = alloca %"struct.libspirv::Bytecode::Iterator", align 8
  %13 = alloca { ptr, i32 }, align 8
  %14 = alloca %"struct.libspirv::Bytecode::Iterator", align 8
  %15 = alloca { ptr, i32 }, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca %"class.std::initializer_list", align 8
  %19 = alloca [1 x i32], align 4
  %20 = alloca %"class.std::basic_string_view", align 8
  %21 = alloca %"class.std::basic_string_view", align 8
  %22 = alloca %"class.std::basic_string_view", align 8
  %23 = alloca %"class.std::basic_string_view", align 8
  %24 = alloca %"class.std::basic_string_view", align 8
  %25 = alloca %"class.std::basic_string_view", align 8
  %26 = alloca i64, align 8
  %27 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %28 = alloca [128 x i32], align 16
  %29 = alloca i32, align 4
  %30 = alloca i64, align 8
  %31 = alloca i32, align 4
  %32 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %33 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %34 = alloca i64, align 8
  %35 = alloca %"class.std::basic_string_view", align 8
  %36 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %37 = alloca i32, align 4
  %38 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %39 = alloca i32, align 4
  %40 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %41 = alloca i64, align 8
  %42 = alloca %"class.std::basic_string_view", align 8
  %43 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %44 = alloca i32, align 4
  %45 = alloca i64, align 8
  %46 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %47 = alloca i64, align 8
  %48 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %49 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %50 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %51 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %55 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %56 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %57 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %58 = alloca i32, align 4
  %59 = alloca i32, align 4
  %60 = alloca %"class.std::initializer_list", align 8
  %61 = alloca [3 x i32], align 4
  %62 = alloca %"class.std::initializer_list", align 8
  %63 = alloca [3 x i32], align 4
  %64 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %65 = alloca %"class.std::initializer_list", align 8
  %66 = alloca [2 x i32], align 4
  %67 = alloca %"class.std::initializer_list", align 8
  %68 = alloca [2 x i32], align 4
  %69 = alloca i32, align 4
  %70 = alloca i32, align 4
  %71 = alloca %"class.std::initializer_list", align 8
  %72 = alloca [5 x i32], align 4
  %73 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %74 = alloca i32, align 4
  %75 = alloca i32, align 4
  %76 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %77 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %78 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %79 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %80 = alloca i32, align 4
  %81 = alloca i32, align 4
  %82 = alloca i32, align 4
  %83 = alloca %"class.std::initializer_list", align 8
  %84 = alloca [3 x i32], align 4
  %85 = alloca %"class.std::initializer_list", align 8
  %86 = alloca [3 x i32], align 4
  %87 = alloca %"class.std::initializer_list", align 8
  %88 = alloca [3 x i32], align 4
  %89 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %90 = alloca %"class.std::initializer_list", align 8
  %91 = alloca [2 x i32], align 4
  %92 = alloca %"class.std::initializer_list", align 8
  %93 = alloca [2 x i32], align 4
  %94 = alloca %"class.std::initializer_list", align 8
  %95 = alloca [2 x i32], align 4
  %96 = alloca i32, align 4
  %97 = alloca i32, align 4
  %98 = alloca %"class.std::initializer_list", align 8
  %99 = alloca [6 x i32], align 4
  %100 = alloca %"class.std::initializer_list", align 8
  %101 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %102 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %103 = alloca i32, align 4
  %104 = alloca %"struct.std::__detail::_Node_iterator.26", align 8
  %105 = alloca %"struct.std::__detail::_Node_iterator.26", align 8
  %106 = alloca %"struct.std::__detail::_Node_iterator.26", align 8
  %107 = alloca %"struct.std::__detail::_Node_iterator.26", align 8
  %108 = alloca i32, align 4
  %109 = alloca i32, align 4
  %110 = alloca i32, align 4
  %111 = alloca i32, align 4
  %112 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %113 = alloca i32, align 4
  %114 = alloca i32, align 4
  %115 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %116 = alloca %"class.std::initializer_list", align 8
  %117 = alloca [3 x i32], align 4
  %118 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %119 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %120 = alloca ptr, align 8
  %121 = alloca i8, align 1
  %122 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %123 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %124 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %125 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %126 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %127 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %128 = alloca i32, align 4
  %129 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %130 = alloca i32, align 4
  %131 = alloca i32, align 4
  %132 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %133 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %134 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %135 = alloca %"class.std::initializer_list", align 8
  %136 = alloca [3 x i32], align 4
  %137 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %138 = alloca %"class.std::basic_string_view", align 8
  %139 = alloca i32, align 4
  %140 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %141 = alloca i32, align 4
  %142 = alloca i32, align 4
  %143 = alloca i32, align 4
  %144 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %145 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %146 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %147 = alloca %"class.std::initializer_list", align 8
  %148 = alloca [3 x i32], align 4
  %149 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %150 = alloca %"class.std::basic_string_view", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %151 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #6
  store i8 0, ptr %5, align 1, !tbaa !9
  %152 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 2
  %153 = load ptr, ptr %152, align 8, !tbaa !11
  %154 = call noundef i32 @_ZNK8libspirv8Bytecode18findExecutionModelEv(ptr noundef nonnull align 8 dereferenceable(20) %153)
  %155 = icmp eq i32 %154, 5365
  %156 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 37
  %157 = zext i1 %155 to i8
  store i8 %157, ptr %156, align 8, !tbaa !33
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 2
  %160 = load ptr, ptr %159, align 8, !tbaa !11
  %161 = call noundef i32 @_ZNK8libspirv8Bytecode12spirvVersionEv(ptr noundef nonnull align 8 dereferenceable(20) %160)
  call void @_ZN8libspirv15MutableBytecode15setSpirvVersionEj(ptr noundef nonnull align 8 dereferenceable(48) %158, i32 noundef %161)
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  %163 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 2
  %164 = load ptr, ptr %163, align 8, !tbaa !11
  %165 = call noundef i32 @_ZNK8libspirv8Bytecode5boundEv(ptr noundef nonnull align 8 dereferenceable(20) %164)
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = call noundef i32 @_ZNK8libspirv8Bytecode5boundEv(ptr noundef nonnull align 8 dereferenceable(20) %166)
  %168 = sub i32 %165, %167
  %169 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEj(ptr noundef nonnull align 8 dereferenceable(48) %162, i32 noundef %168)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %170 = load ptr, ptr %4, align 8, !tbaa !5
  %171 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %170)
  store i32 %171, ptr %6, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !34
  %172 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 0
  %173 = getelementptr inbounds %"struct.MeshConverter::Options", ptr %172, i32 0, i32 1
  %174 = load i8, ptr %173, align 1, !tbaa !35, !range !36, !noundef !37
  %175 = trunc i8 %174 to i1
  br i1 %175, label %176, label %186

176:                                              ; preds = %2
  %177 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 2
  %178 = load ptr, ptr %177, align 8, !tbaa !11
  %179 = call noundef i32 @_ZNK8libspirv8Bytecode18findExecutionModelEv(ptr noundef nonnull align 8 dereferenceable(20) %178)
  %180 = icmp eq i32 %179, 5365
  br i1 %180, label %181, label %186

181:                                              ; preds = %176
  %182 = load ptr, ptr %4, align 8, !tbaa !5
  %183 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %182)
  store i32 %183, ptr %9, align 4, !tbaa !34
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  %185 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %184)
  store i32 %185, ptr %10, align 4, !tbaa !34
  br label %186

186:                                              ; preds = %181, %176, %2
  %187 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 2
  %188 = load ptr, ptr %187, align 8, !tbaa !11
  %189 = call noundef i32 @_ZNK8libspirv8Bytecode18findExecutionModelEv(ptr noundef nonnull align 8 dereferenceable(20) %188)
  %190 = icmp eq i32 %189, 5364
  br i1 %190, label %191, label %194

191:                                              ; preds = %186
  %192 = load ptr, ptr %4, align 8, !tbaa !5
  %193 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %192)
  store i32 %193, ptr %8, align 4, !tbaa !34
  br label %194

194:                                              ; preds = %191, %186
  %195 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 2
  %196 = load ptr, ptr %195, align 8, !tbaa !11
  %197 = call noundef i32 @_ZNK8libspirv8Bytecode18findExecutionModelEv(ptr noundef nonnull align 8 dereferenceable(20) %196)
  %198 = icmp eq i32 %197, 5365
  br i1 %198, label %199, label %202

199:                                              ; preds = %194
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %200)
  store i32 %201, ptr %7, align 4, !tbaa !34
  br label %202

202:                                              ; preds = %199, %194
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #6
  %203 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %11, ptr noundef nonnull align 8 dereferenceable(48) %203)
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  %204 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 2
  %205 = load ptr, ptr %204, align 8, !tbaa !11
  %206 = call { ptr, i32 } @_ZNK8libspirv8Bytecode5beginEv(ptr noundef nonnull align 8 dereferenceable(20) %205)
  store { ptr, i32 } %206, ptr %13, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %13, i64 12, i1 false)
  br label %207

207:                                              ; preds = %1026, %202
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %208 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 2
  %209 = load ptr, ptr %208, align 8, !tbaa !11
  %210 = call { ptr, i32 } @_ZNK8libspirv8Bytecode3endEv(ptr noundef nonnull align 8 dereferenceable(20) %209)
  store { ptr, i32 } %210, ptr %15, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %15, i64 12, i1 false)
  %211 = call noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %12, ptr noundef nonnull align 8 dereferenceable(12) %14)
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  br i1 %211, label %213, label %212

212:                                              ; preds = %207
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  br label %1027

213:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %214 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %12)
  store ptr %214, ptr %17, align 8, !tbaa !5
  %215 = load ptr, ptr %17, align 8, !tbaa !5
  %216 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %215)
  %217 = icmp eq i32 %216, 17
  br i1 %217, label %218, label %231

218:                                              ; preds = %213
  %219 = load ptr, ptr %17, align 8, !tbaa !5
  %220 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %219, i16 noundef zeroext 1)
  %221 = load i32, ptr %220, align 4, !tbaa !34
  %222 = icmp eq i32 %221, 5283
  br i1 %222, label %223, label %230

223:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 1, ptr %19, align 4, !tbaa !34
  %224 = getelementptr inbounds %"class.std::initializer_list", ptr %18, i32 0, i32 0
  store ptr %19, ptr %224, align 8, !tbaa !38
  %225 = getelementptr inbounds %"class.std::initializer_list", ptr %18, i32 0, i32 1
  store i64 1, ptr %225, align 8, !tbaa !40
  %226 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 0
  %227 = load ptr, ptr %226, align 8
  %228 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 1
  %229 = load i64, ptr %228, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 17, ptr %227, i64 %229)
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  store i32 4, ptr %16, align 4
  br label %1023

230:                                              ; preds = %218
  br label %231

231:                                              ; preds = %230, %213
  %232 = load ptr, ptr %17, align 8, !tbaa !5
  %233 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %232)
  %234 = icmp eq i32 %233, 4
  br i1 %234, label %235, label %252

235:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  %236 = load ptr, ptr %17, align 8, !tbaa !5
  %237 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %236, i16 noundef zeroext 1)
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef %237) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %20, i64 16, i1 false), !tbaa.struct !41
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef @.str) #6
  %238 = getelementptr inbounds { i64, ptr }, ptr %21, i32 0, i32 0
  %239 = load i64, ptr %238, align 8
  %240 = getelementptr inbounds { i64, ptr }, ptr %21, i32 0, i32 1
  %241 = load ptr, ptr %240, align 8
  %242 = getelementptr inbounds { i64, ptr }, ptr %22, i32 0, i32 0
  %243 = load i64, ptr %242, align 8
  %244 = getelementptr inbounds { i64, ptr }, ptr %22, i32 0, i32 1
  %245 = load ptr, ptr %244, align 8
  %246 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %239, ptr %241, i64 %243, ptr %245) #6
  br i1 %246, label %247, label %248

247:                                              ; preds = %235
  store i32 4, ptr %16, align 4
  br label %249

248:                                              ; preds = %235
  store i32 0, ptr %16, align 4
  br label %249

249:                                              ; preds = %248, %247
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  %250 = load i32, ptr %16, align 4
  switch i32 %250, label %1023 [
    i32 0, label %251
  ]

251:                                              ; preds = %249
  br label %252

252:                                              ; preds = %251, %231
  %253 = load ptr, ptr %17, align 8, !tbaa !5
  %254 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %253)
  %255 = icmp eq i32 %254, 10
  br i1 %255, label %256, label %273

256:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  %257 = load ptr, ptr %17, align 8, !tbaa !5
  %258 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %257, i16 noundef zeroext 1)
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef %258) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %24, ptr align 8 %23, i64 16, i1 false), !tbaa.struct !41
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef @.str.1) #6
  %259 = getelementptr inbounds { i64, ptr }, ptr %24, i32 0, i32 0
  %260 = load i64, ptr %259, align 8
  %261 = getelementptr inbounds { i64, ptr }, ptr %24, i32 0, i32 1
  %262 = load ptr, ptr %261, align 8
  %263 = getelementptr inbounds { i64, ptr }, ptr %25, i32 0, i32 0
  %264 = load i64, ptr %263, align 8
  %265 = getelementptr inbounds { i64, ptr }, ptr %25, i32 0, i32 1
  %266 = load ptr, ptr %265, align 8
  %267 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %260, ptr %262, i64 %264, ptr %266) #6
  br i1 %267, label %268, label %269

268:                                              ; preds = %256
  store i32 4, ptr %16, align 4
  br label %270

269:                                              ; preds = %256
  store i32 0, ptr %16, align 4
  br label %270

270:                                              ; preds = %269, %268
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  %271 = load i32, ptr %16, align 4
  switch i32 %271, label %1023 [
    i32 0, label %272
  ]

272:                                              ; preds = %270
  br label %273

273:                                              ; preds = %272, %252
  %274 = load ptr, ptr %17, align 8, !tbaa !5
  %275 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %274)
  %276 = icmp eq i32 %275, 16
  br i1 %276, label %277, label %338

277:                                              ; preds = %273
  %278 = load ptr, ptr %17, align 8, !tbaa !5
  %279 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %278, i16 noundef zeroext 2)
  %280 = load i32, ptr %279, align 4, !tbaa !34
  %281 = icmp eq i32 %280, 17
  br i1 %281, label %282, label %298

282:                                              ; preds = %277
  %283 = load ptr, ptr %17, align 8, !tbaa !5
  %284 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %283, i16 noundef zeroext 3)
  %285 = load i32, ptr %284, align 4, !tbaa !34
  %286 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 5
  %287 = getelementptr inbounds [3 x i32], ptr %286, i64 0, i64 0
  store i32 %285, ptr %287, align 8, !tbaa !34
  %288 = load ptr, ptr %17, align 8, !tbaa !5
  %289 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %288, i16 noundef zeroext 4)
  %290 = load i32, ptr %289, align 4, !tbaa !34
  %291 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 5
  %292 = getelementptr inbounds [3 x i32], ptr %291, i64 0, i64 1
  store i32 %290, ptr %292, align 4, !tbaa !34
  %293 = load ptr, ptr %17, align 8, !tbaa !5
  %294 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %293, i16 noundef zeroext 5)
  %295 = load i32, ptr %294, align 4, !tbaa !34
  %296 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 5
  %297 = getelementptr inbounds [3 x i32], ptr %296, i64 0, i64 2
  store i32 %295, ptr %297, align 8, !tbaa !34
  br label %298

298:                                              ; preds = %282, %277
  %299 = load ptr, ptr %17, align 8, !tbaa !5
  %300 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %299, i16 noundef zeroext 2)
  %301 = load i32, ptr %300, align 4, !tbaa !34
  %302 = icmp eq i32 %301, 26
  br i1 %302, label %303, label %304

303:                                              ; preds = %298
  store i32 4, ptr %16, align 4
  br label %1023

304:                                              ; preds = %298
  %305 = load ptr, ptr %17, align 8, !tbaa !5
  %306 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %305, i16 noundef zeroext 2)
  %307 = load i32, ptr %306, align 4, !tbaa !34
  %308 = icmp eq i32 %307, 5270
  br i1 %308, label %309, label %310

309:                                              ; preds = %304
  store i32 4, ptr %16, align 4
  br label %1023

310:                                              ; preds = %304
  %311 = load ptr, ptr %17, align 8, !tbaa !5
  %312 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %311, i16 noundef zeroext 2)
  %313 = load i32, ptr %312, align 4, !tbaa !34
  %314 = icmp eq i32 %313, 5298
  br i1 %314, label %315, label %316

315:                                              ; preds = %310
  store i32 4, ptr %16, align 4
  br label %1023

316:                                              ; preds = %310
  %317 = load ptr, ptr %17, align 8, !tbaa !5
  %318 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %317, i16 noundef zeroext 1)
  %319 = load i32, ptr %318, align 4, !tbaa !34
  %320 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 14
  %321 = load i32, ptr %320, align 4, !tbaa !43
  %322 = icmp eq i32 %319, %321
  br i1 %322, label %323, label %337

323:                                              ; preds = %316
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %324 = call noundef i64 @_ZNK8libspirv15MutableBytecode8Iterator8toOffsetEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
  store i64 %324, ptr %26, align 8, !tbaa !42
  %325 = load ptr, ptr %17, align 8, !tbaa !5
  %326 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %325)
  %327 = load ptr, ptr %17, align 8, !tbaa !5
  %328 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %327, i16 noundef zeroext 1)
  %329 = load ptr, ptr %17, align 8, !tbaa !5
  %330 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %329)
  %331 = zext i16 %330 to i32
  %332 = sub nsw i32 %331, 1
  %333 = sext i32 %332 to i64
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef %326, ptr noundef %328, i64 noundef %333)
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #6
  %334 = load ptr, ptr %4, align 8, !tbaa !5
  %335 = load i64, ptr %26, align 8, !tbaa !42
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %27, ptr noundef nonnull align 8 dereferenceable(48) %334, i64 noundef %335)
  %336 = load i32, ptr %6, align 4, !tbaa !34
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %27, i16 noundef zeroext 1, i32 noundef %336)
  store i32 4, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %1023

337:                                              ; preds = %316
  br label %338

338:                                              ; preds = %337, %273
  %339 = load ptr, ptr %17, align 8, !tbaa !5
  %340 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %339)
  %341 = icmp eq i32 %340, 15
  br i1 %341, label %342, label %405

342:                                              ; preds = %338
  call void @llvm.lifetime.start.p0(i64 512, ptr %28) #6
  call void @llvm.memset.p0.i64(ptr align 16 %28, i8 0, i64 512, i1 false)
  %343 = getelementptr inbounds [128 x i32], ptr %28, i64 0, i64 0
  store i32 15, ptr %343, align 16, !tbaa !34
  %344 = getelementptr inbounds [128 x i32], ptr %28, i64 0, i64 1
  store i32 5, ptr %344, align 4, !tbaa !34
  %345 = load i32, ptr %6, align 4, !tbaa !34
  %346 = getelementptr inbounds [128 x i32], ptr %28, i64 0, i64 2
  store i32 %345, ptr %346, align 8, !tbaa !34
  %347 = getelementptr inbounds [128 x i32], ptr %28, i64 0, i64 3
  store i32 1852399981, ptr %347, align 4, !tbaa !34
  %348 = getelementptr inbounds [128 x i32], ptr %28, i64 0, i64 4
  store i32 0, ptr %348, align 16, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  store i32 5, ptr %29, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  store i64 5, ptr %30, align 8, !tbaa !42
  br label %349

349:                                              ; preds = %395, %342
  %350 = load i64, ptr %30, align 8, !tbaa !42
  %351 = load ptr, ptr %17, align 8, !tbaa !5
  %352 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %351)
  %353 = zext i16 %352 to i64
  %354 = icmp ult i64 %350, %353
  br i1 %354, label %356, label %355

355:                                              ; preds = %349
  store i32 5, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %398

356:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %357 = load ptr, ptr %17, align 8, !tbaa !5
  %358 = load i64, ptr %30, align 8, !tbaa !42
  %359 = trunc i64 %358 to i16
  %360 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %357, i16 noundef zeroext %359)
  %361 = load i32, ptr %360, align 4, !tbaa !34
  store i32 %361, ptr %31, align 4, !tbaa !34
  %362 = load i32, ptr %31, align 4, !tbaa !34
  %363 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 13
  %364 = load i32, ptr %363, align 8, !tbaa !44
  %365 = icmp eq i32 %362, %364
  br i1 %365, label %366, label %367

366:                                              ; preds = %356
  store i32 7, ptr %16, align 4
  br label %392

367:                                              ; preds = %356
  %368 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 0
  %369 = getelementptr inbounds %"struct.MeshConverter::Options", ptr %368, i32 0, i32 1
  %370 = load i8, ptr %369, align 1, !tbaa !35, !range !36, !noundef !37
  %371 = trunc i8 %370 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  br i1 %371, label %382, label %372

372:                                              ; preds = %367
  %373 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 29
  %374 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56) %373, ptr noundef nonnull align 4 dereferenceable(4) %31)
  %375 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %32, i32 0, i32 0
  %376 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %375, i32 0, i32 0
  store ptr %374, ptr %376, align 8
  %377 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 29
  %378 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %377) #6
  %379 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %33, i32 0, i32 0
  %380 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %379, i32 0, i32 0
  store ptr %378, ptr %380, align 8
  %381 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN13MeshConverter7VaryingEELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  br label %382

382:                                              ; preds = %372, %367
  %383 = phi i1 [ false, %367 ], [ %381, %372 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br i1 %383, label %384, label %385

384:                                              ; preds = %382
  store i32 7, ptr %16, align 4
  br label %392

385:                                              ; preds = %382
  %386 = load i32, ptr %31, align 4, !tbaa !34
  %387 = load i32, ptr %29, align 4, !tbaa !34
  %388 = zext i32 %387 to i64
  %389 = getelementptr inbounds [128 x i32], ptr %28, i64 0, i64 %388
  store i32 %386, ptr %389, align 4, !tbaa !34
  %390 = load i32, ptr %29, align 4, !tbaa !34
  %391 = add i32 %390, 1
  store i32 %391, ptr %29, align 4, !tbaa !34
  store i32 0, ptr %16, align 4
  br label %392

392:                                              ; preds = %385, %384, %366
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  %393 = load i32, ptr %16, align 4
  switch i32 %393, label %1341 [
    i32 0, label %394
    i32 7, label %395
  ]

394:                                              ; preds = %392
  br label %395

395:                                              ; preds = %394, %392
  %396 = load i64, ptr %30, align 8, !tbaa !42
  %397 = add i64 %396, 1
  store i64 %397, ptr %30, align 8, !tbaa !42
  br label %349, !llvm.loop !45

398:                                              ; preds = %355
  %399 = load ptr, ptr %17, align 8, !tbaa !5
  %400 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %399)
  %401 = getelementptr inbounds [128 x i32], ptr %28, i64 0, i64 1
  %402 = load i32, ptr %29, align 4, !tbaa !34
  %403 = sub i32 %402, 1
  %404 = zext i32 %403 to i64
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef %400, ptr noundef %401, i64 noundef %404)
  store i32 4, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 512, ptr %28) #6
  br label %1023

405:                                              ; preds = %338
  %406 = load ptr, ptr %17, align 8, !tbaa !5
  %407 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %406)
  %408 = icmp eq i32 %407, 71
  br i1 %408, label %409, label %444

409:                                              ; preds = %405
  %410 = load ptr, ptr %17, align 8, !tbaa !5
  %411 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %410, i16 noundef zeroext 2)
  %412 = load i32, ptr %411, align 4, !tbaa !34
  %413 = icmp eq i32 %412, 11
  br i1 %413, label %414, label %444

414:                                              ; preds = %409
  %415 = load ptr, ptr %17, align 8, !tbaa !5
  %416 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %415, i16 noundef zeroext 3)
  %417 = load i32, ptr %416, align 4, !tbaa !34
  %418 = icmp eq i32 %417, 5294
  br i1 %418, label %429, label %419

419:                                              ; preds = %414
  %420 = load ptr, ptr %17, align 8, !tbaa !5
  %421 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %420, i16 noundef zeroext 3)
  %422 = load i32, ptr %421, align 4, !tbaa !34
  %423 = icmp eq i32 %422, 5295
  br i1 %423, label %429, label %424

424:                                              ; preds = %419
  %425 = load ptr, ptr %17, align 8, !tbaa !5
  %426 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %425, i16 noundef zeroext 3)
  %427 = load i32, ptr %426, align 4, !tbaa !34
  %428 = icmp eq i32 %427, 5296
  br i1 %428, label %429, label %430

429:                                              ; preds = %424, %419, %414
  store i32 4, ptr %16, align 4
  br label %1023

430:                                              ; preds = %424
  %431 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 2
  %432 = load ptr, ptr %431, align 8, !tbaa !11
  %433 = call noundef i32 @_ZNK8libspirv8Bytecode18findExecutionModelEv(ptr noundef nonnull align 8 dereferenceable(20) %432)
  %434 = icmp eq i32 %433, 5365
  br i1 %434, label %435, label %443

435:                                              ; preds = %430
  %436 = load ptr, ptr %17, align 8, !tbaa !5
  %437 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %436, i16 noundef zeroext 1)
  %438 = load i32, ptr %437, align 4, !tbaa !34
  %439 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 8
  %440 = load i32, ptr %439, align 4, !tbaa !47
  %441 = icmp eq i32 %438, %440
  br i1 %441, label %442, label %443

442:                                              ; preds = %435
  store i32 4, ptr %16, align 4
  br label %1023

443:                                              ; preds = %435, %430
  br label %444

444:                                              ; preds = %443, %409, %405
  %445 = load ptr, ptr %17, align 8, !tbaa !5
  %446 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %445)
  %447 = icmp eq i32 %446, 71
  br i1 %447, label %448, label %454

448:                                              ; preds = %444
  %449 = load ptr, ptr %17, align 8, !tbaa !5
  %450 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %449, i16 noundef zeroext 2)
  %451 = load i32, ptr %450, align 4, !tbaa !34
  %452 = icmp eq i32 %451, 30
  br i1 %452, label %453, label %454

453:                                              ; preds = %448
  store i32 4, ptr %16, align 4
  br label %1023

454:                                              ; preds = %448, %444
  %455 = load ptr, ptr %17, align 8, !tbaa !5
  %456 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %455)
  %457 = icmp eq i32 %456, 72
  br i1 %457, label %458, label %464

458:                                              ; preds = %454
  %459 = load ptr, ptr %17, align 8, !tbaa !5
  %460 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %459, i16 noundef zeroext 3)
  %461 = load i32, ptr %460, align 4, !tbaa !34
  %462 = icmp eq i32 %461, 11
  br i1 %462, label %463, label %464

463:                                              ; preds = %458
  store i32 4, ptr %16, align 4
  br label %1023

464:                                              ; preds = %458, %454
  %465 = load ptr, ptr %17, align 8, !tbaa !5
  %466 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %465)
  %467 = icmp eq i32 %466, 5
  br i1 %467, label %468, label %560

468:                                              ; preds = %464
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %469 = call noundef i64 @_ZNK8libspirv15MutableBytecode8Iterator8toOffsetEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
  store i64 %469, ptr %34, align 8, !tbaa !42
  %470 = load ptr, ptr %17, align 8, !tbaa !5
  %471 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %470)
  %472 = load ptr, ptr %17, align 8, !tbaa !5
  %473 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %472, i16 noundef zeroext 1)
  %474 = load ptr, ptr %17, align 8, !tbaa !5
  %475 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %474)
  %476 = zext i16 %475 to i32
  %477 = sub nsw i32 %476, 1
  %478 = sext i32 %477 to i64
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef %471, ptr noundef %473, i64 noundef %478)
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #6
  %479 = load ptr, ptr %17, align 8, !tbaa !5
  %480 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %479, i16 noundef zeroext 2)
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef %480) #6
  %481 = call noundef i64 @_ZNKSt17basic_string_viewIcSt11char_traitsIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef @.str.2, i64 noundef 0) #6
  %482 = icmp eq i64 %481, 0
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #6
  br i1 %482, label %483, label %547

483:                                              ; preds = %468
  %484 = load ptr, ptr %17, align 8, !tbaa !5
  %485 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %484, i16 noundef zeroext 1)
  %486 = load i32, ptr %485, align 4, !tbaa !34
  %487 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 6
  %488 = load i32, ptr %487, align 4, !tbaa !48
  %489 = icmp ne i32 %486, %488
  br i1 %489, label %490, label %526

490:                                              ; preds = %483
  %491 = load ptr, ptr %17, align 8, !tbaa !5
  %492 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %491, i16 noundef zeroext 1)
  %493 = load i32, ptr %492, align 4, !tbaa !34
  %494 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 7
  %495 = load i32, ptr %494, align 8, !tbaa !49
  %496 = icmp ne i32 %493, %495
  br i1 %496, label %497, label %526

497:                                              ; preds = %490
  %498 = load ptr, ptr %17, align 8, !tbaa !5
  %499 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %498, i16 noundef zeroext 1)
  %500 = load i32, ptr %499, align 4, !tbaa !34
  %501 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 8
  %502 = load i32, ptr %501, align 4, !tbaa !47
  %503 = icmp ne i32 %500, %502
  br i1 %503, label %504, label %526

504:                                              ; preds = %497
  %505 = load ptr, ptr %17, align 8, !tbaa !5
  %506 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %505, i16 noundef zeroext 1)
  %507 = load i32, ptr %506, align 4, !tbaa !34
  %508 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 9
  %509 = load i32, ptr %508, align 8, !tbaa !50
  %510 = icmp ne i32 %507, %509
  br i1 %510, label %511, label %526

511:                                              ; preds = %504
  %512 = load ptr, ptr %17, align 8, !tbaa !5
  %513 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %512, i16 noundef zeroext 1)
  %514 = load i32, ptr %513, align 4, !tbaa !34
  %515 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 11
  %516 = load i32, ptr %515, align 8, !tbaa !51
  %517 = icmp ne i32 %514, %516
  br i1 %517, label %518, label %526

518:                                              ; preds = %511
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #6
  %519 = load ptr, ptr %4, align 8, !tbaa !5
  %520 = load i64, ptr %34, align 8, !tbaa !42
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %36, ptr noundef nonnull align 8 dereferenceable(48) %519, i64 noundef %520)
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  %521 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %36)
  %522 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %521, i16 noundef zeroext 2)
  %523 = load i32, ptr %522, align 4, !tbaa !34
  store i32 %523, ptr %37, align 4, !tbaa !34
  %524 = getelementptr inbounds i8, ptr %37, i64 1
  store i8 49, ptr %524, align 1, !tbaa !52
  %525 = load i32, ptr %37, align 4, !tbaa !34
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %36, i16 noundef zeroext 2, i32 noundef %525)
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #6
  br label %546

526:                                              ; preds = %511, %504, %497, %490, %483
  %527 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 37
  %528 = load i8, ptr %527, align 8, !tbaa !33, !range !36, !noundef !37
  %529 = trunc i8 %528 to i1
  br i1 %529, label %530, label %545

530:                                              ; preds = %526
  %531 = load ptr, ptr %17, align 8, !tbaa !5
  %532 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %531, i16 noundef zeroext 1)
  %533 = load i32, ptr %532, align 4, !tbaa !34
  %534 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 8
  %535 = load i32, ptr %534, align 4, !tbaa !47
  %536 = icmp eq i32 %533, %535
  br i1 %536, label %537, label %545

537:                                              ; preds = %530
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #6
  %538 = load ptr, ptr %4, align 8, !tbaa !5
  %539 = load i64, ptr %34, align 8, !tbaa !42
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %38, ptr noundef nonnull align 8 dereferenceable(48) %538, i64 noundef %539)
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  %540 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %38)
  %541 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %540, i16 noundef zeroext 2)
  %542 = load i32, ptr %541, align 4, !tbaa !34
  store i32 %542, ptr %39, align 4, !tbaa !34
  %543 = getelementptr inbounds i8, ptr %39, i64 1
  store i8 120, ptr %543, align 1, !tbaa !52
  %544 = load i32, ptr %39, align 4, !tbaa !34
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %38, i16 noundef zeroext 2, i32 noundef %544)
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #6
  br label %545

545:                                              ; preds = %537, %530, %526
  br label %546

546:                                              ; preds = %545, %518
  br label %559

547:                                              ; preds = %468
  %548 = load ptr, ptr %17, align 8, !tbaa !5
  %549 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %548, i16 noundef zeroext 1)
  %550 = load i32, ptr %549, align 4, !tbaa !34
  %551 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 14
  %552 = load i32, ptr %551, align 4, !tbaa !43
  %553 = icmp eq i32 %550, %552
  br i1 %553, label %554, label %558

554:                                              ; preds = %547
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #6
  %555 = load ptr, ptr %4, align 8, !tbaa !5
  %556 = load i64, ptr %34, align 8, !tbaa !42
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %40, ptr noundef nonnull align 8 dereferenceable(48) %555, i64 noundef %556)
  %557 = load i32, ptr %6, align 4, !tbaa !34
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %40, i16 noundef zeroext 1, i32 noundef %557)
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #6
  br label %558

558:                                              ; preds = %554, %547
  br label %559

559:                                              ; preds = %558, %546
  store i32 4, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br label %1023

560:                                              ; preds = %464
  %561 = load ptr, ptr %17, align 8, !tbaa !5
  %562 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %561)
  %563 = icmp eq i32 %562, 6
  br i1 %563, label %564, label %588

564:                                              ; preds = %560
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  %565 = call noundef i64 @_ZNK8libspirv15MutableBytecode8Iterator8toOffsetEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
  store i64 %565, ptr %41, align 8, !tbaa !42
  %566 = load ptr, ptr %17, align 8, !tbaa !5
  %567 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %566)
  %568 = load ptr, ptr %17, align 8, !tbaa !5
  %569 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %568, i16 noundef zeroext 1)
  %570 = load ptr, ptr %17, align 8, !tbaa !5
  %571 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %570)
  %572 = zext i16 %571 to i32
  %573 = sub nsw i32 %572, 1
  %574 = sext i32 %573 to i64
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef %567, ptr noundef %569, i64 noundef %574)
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #6
  %575 = load ptr, ptr %17, align 8, !tbaa !5
  %576 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %575, i16 noundef zeroext 3)
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef %576) #6
  %577 = call noundef i64 @_ZNKSt17basic_string_viewIcSt11char_traitsIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef @.str.2, i64 noundef 0) #6
  %578 = icmp eq i64 %577, 0
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  br i1 %578, label %579, label %587

579:                                              ; preds = %564
  call void @llvm.lifetime.start.p0(i64 24, ptr %43) #6
  %580 = load ptr, ptr %4, align 8, !tbaa !5
  %581 = load i64, ptr %41, align 8, !tbaa !42
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %43, ptr noundef nonnull align 8 dereferenceable(48) %580, i64 noundef %581)
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  %582 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %43)
  %583 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %582, i16 noundef zeroext 3)
  %584 = load i32, ptr %583, align 4, !tbaa !34
  store i32 %584, ptr %44, align 4, !tbaa !34
  %585 = getelementptr inbounds i8, ptr %44, i64 1
  store i8 49, ptr %585, align 1, !tbaa !52
  %586 = load i32, ptr %44, align 4, !tbaa !34
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %43, i16 noundef zeroext 3, i32 noundef %586)
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #6
  br label %587

587:                                              ; preds = %579, %564
  store i32 4, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  br label %1023

588:                                              ; preds = %560
  %589 = load ptr, ptr %17, align 8, !tbaa !5
  %590 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %589)
  %591 = icmp eq i32 %590, 32
  br i1 %591, label %592, label %616

592:                                              ; preds = %588
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #6
  %593 = call noundef i64 @_ZNK8libspirv15MutableBytecode8Iterator8toOffsetEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
  store i64 %593, ptr %45, align 8, !tbaa !42
  %594 = load ptr, ptr %17, align 8, !tbaa !5
  %595 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %594)
  %596 = load ptr, ptr %17, align 8, !tbaa !5
  %597 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %596, i16 noundef zeroext 1)
  %598 = load ptr, ptr %17, align 8, !tbaa !5
  %599 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %598)
  %600 = zext i16 %599 to i32
  %601 = sub nsw i32 %600, 1
  %602 = sext i32 %601 to i64
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef %595, ptr noundef %597, i64 noundef %602)
  %603 = load ptr, ptr %17, align 8, !tbaa !5
  %604 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %603, i16 noundef zeroext 2)
  %605 = load i32, ptr %604, align 4, !tbaa !34
  %606 = icmp eq i32 %605, 3
  br i1 %606, label %612, label %607

607:                                              ; preds = %592
  %608 = load ptr, ptr %17, align 8, !tbaa !5
  %609 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %608, i16 noundef zeroext 2)
  %610 = load i32, ptr %609, align 4, !tbaa !34
  %611 = icmp eq i32 %610, 5402
  br i1 %611, label %612, label %615

612:                                              ; preds = %607, %592
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #6
  %613 = load ptr, ptr %4, align 8, !tbaa !5
  %614 = load i64, ptr %45, align 8, !tbaa !42
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %46, ptr noundef nonnull align 8 dereferenceable(48) %613, i64 noundef %614)
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %46, i16 noundef zeroext 2, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #6
  br label %615

615:                                              ; preds = %612, %607
  store i32 4, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  br label %1023

616:                                              ; preds = %588
  %617 = load ptr, ptr %17, align 8, !tbaa !5
  %618 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %617)
  %619 = icmp eq i32 %618, 59
  br i1 %619, label %620, label %672

620:                                              ; preds = %616
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #6
  %621 = call noundef i64 @_ZNK8libspirv15MutableBytecode8Iterator8toOffsetEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
  store i64 %621, ptr %47, align 8, !tbaa !42
  %622 = load ptr, ptr %17, align 8, !tbaa !5
  %623 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %622)
  %624 = load ptr, ptr %17, align 8, !tbaa !5
  %625 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %624, i16 noundef zeroext 1)
  %626 = load ptr, ptr %17, align 8, !tbaa !5
  %627 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %626)
  %628 = zext i16 %627 to i32
  %629 = sub nsw i32 %628, 1
  %630 = sext i32 %629 to i64
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef %623, ptr noundef %625, i64 noundef %630)
  %631 = load ptr, ptr %17, align 8, !tbaa !5
  %632 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %631, i16 noundef zeroext 3)
  %633 = load i32, ptr %632, align 4, !tbaa !34
  %634 = icmp eq i32 %633, 5402
  br i1 %634, label %635, label %644

635:                                              ; preds = %620
  %636 = load ptr, ptr %17, align 8, !tbaa !5
  %637 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %636, i16 noundef zeroext 1)
  %638 = load i32, ptr %637, align 4, !tbaa !34
  %639 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 16
  store i32 %638, ptr %639, align 4, !tbaa !53
  %640 = load ptr, ptr %17, align 8, !tbaa !5
  %641 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %640, i16 noundef zeroext 2)
  %642 = load i32, ptr %641, align 4, !tbaa !34
  %643 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 15
  store i32 %642, ptr %643, align 8, !tbaa !54
  br label %644

644:                                              ; preds = %635, %620
  %645 = load ptr, ptr %17, align 8, !tbaa !5
  %646 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %645, i16 noundef zeroext 3)
  %647 = load i32, ptr %646, align 4, !tbaa !34
  %648 = icmp eq i32 %647, 3
  br i1 %648, label %654, label %649

649:                                              ; preds = %644
  %650 = load ptr, ptr %17, align 8, !tbaa !5
  %651 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %650, i16 noundef zeroext 3)
  %652 = load i32, ptr %651, align 4, !tbaa !34
  %653 = icmp eq i32 %652, 5402
  br i1 %653, label %654, label %657

654:                                              ; preds = %649, %644
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #6
  %655 = load ptr, ptr %4, align 8, !tbaa !5
  %656 = load i64, ptr %47, align 8, !tbaa !42
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %48, ptr noundef nonnull align 8 dereferenceable(48) %655, i64 noundef %656)
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %48, i16 noundef zeroext 3, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #6
  br label %657

657:                                              ; preds = %654, %649
  %658 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 37
  %659 = load i8, ptr %658, align 8, !tbaa !33, !range !36, !noundef !37
  %660 = trunc i8 %659 to i1
  br i1 %660, label %661, label %671

661:                                              ; preds = %657
  %662 = load ptr, ptr %17, align 8, !tbaa !5
  %663 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %662, i16 noundef zeroext 2)
  %664 = load i32, ptr %663, align 4, !tbaa !34
  %665 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 8
  %666 = load i32, ptr %665, align 4, !tbaa !47
  %667 = icmp eq i32 %664, %666
  br i1 %667, label %668, label %671

668:                                              ; preds = %661
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #6
  %669 = load ptr, ptr %4, align 8, !tbaa !5
  %670 = load i64, ptr %47, align 8, !tbaa !42
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %49, ptr noundef nonnull align 8 dereferenceable(48) %669, i64 noundef %670)
  call void @_ZN8libspirv15MutableBytecode8Iterator8setToNopEv(ptr noundef nonnull align 8 dereferenceable(24) %49)
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #6
  br label %671

671:                                              ; preds = %668, %661, %657
  store i32 4, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #6
  br label %1023

672:                                              ; preds = %616
  %673 = load ptr, ptr %17, align 8, !tbaa !5
  %674 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %673)
  %675 = icmp eq i32 %674, 54
  br i1 %675, label %676, label %684

676:                                              ; preds = %672
  %677 = load i8, ptr %5, align 1, !tbaa !9, !range !36, !noundef !37
  %678 = trunc i8 %677 to i1
  br i1 %678, label %683, label %679

679:                                              ; preds = %676
  %680 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN13MeshConverter13emitConstantsERN8libspirv15MutableBytecodeE(ptr noundef nonnull align 8 dereferenceable(425) %151, ptr noundef nonnull align 8 dereferenceable(48) %680)
  %681 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN13MeshConverter11emitEngSsboERN8libspirv15MutableBytecodeEN3spv14ExecutionModelE(ptr noundef nonnull align 8 dereferenceable(425) %151, ptr noundef nonnull align 8 dereferenceable(48) %681, i32 noundef 5)
  store i8 1, ptr %5, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %50) #6
  %682 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %50, ptr noundef nonnull align 8 dereferenceable(48) %682)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %50, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #6
  br label %683

683:                                              ; preds = %679, %676
  br label %684

684:                                              ; preds = %683, %672
  %685 = load ptr, ptr %17, align 8, !tbaa !5
  %686 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %685)
  %687 = icmp eq i32 %686, 5295
  br i1 %687, label %688, label %784

688:                                              ; preds = %684
  call void @llvm.lifetime.start.p0(i64 24, ptr %51) #6
  %689 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %51, ptr noundef nonnull align 8 dereferenceable(48) %689, i8 noundef zeroext 9)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %51, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #6
  %690 = load ptr, ptr %4, align 8, !tbaa !5
  %691 = call noundef i32 @_ZN8libspirv15MutableBytecode9OpTypeIntERNS0_8IteratorEtb(ptr noundef nonnull align 8 dereferenceable(48) %690, ptr noundef nonnull align 8 dereferenceable(24) %11, i16 noundef zeroext 32, i1 noundef zeroext false)
  store i32 %691, ptr %52, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #6
  %692 = load ptr, ptr %4, align 8, !tbaa !5
  %693 = load i32, ptr %52, align 4, !tbaa !34
  %694 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %692, ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 7, i32 noundef %693)
  store i32 %694, ptr %53, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 24, ptr %54) #6
  %695 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %54, ptr noundef nonnull align 8 dereferenceable(48) %695)
  br label %696

696:                                              ; preds = %716, %688
  call void @llvm.lifetime.start.p0(i64 24, ptr %55) #6
  %697 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %55, ptr noundef nonnull align 8 dereferenceable(48) %697)
  %698 = call noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %11, ptr noundef nonnull align 8 dereferenceable(12) %55)
  call void @llvm.lifetime.end.p0(i64 24, ptr %55) #6
  br i1 %698, label %699, label %717

699:                                              ; preds = %696
  %700 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %11)
  %701 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %700)
  %702 = icmp eq i32 %701, 54
  br i1 %702, label %703, label %705

703:                                              ; preds = %699
  call void @llvm.lifetime.start.p0(i64 24, ptr %56) #6
  %704 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %56, ptr noundef nonnull align 8 dereferenceable(48) %704)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %54, ptr align 8 %56, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %56) #6
  br label %705

705:                                              ; preds = %703, %699
  %706 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %11)
  %707 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %706)
  %708 = icmp eq i32 %707, 248
  call void @llvm.lifetime.start.p0(i64 24, ptr %57) #6
  br i1 %708, label %709, label %712

709:                                              ; preds = %705
  %710 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %57, ptr noundef nonnull align 8 dereferenceable(48) %710)
  %711 = call noundef zeroext i1 @_ZN8libspirveqERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %54, ptr noundef nonnull align 8 dereferenceable(12) %57)
  br label %712

712:                                              ; preds = %709, %705
  %713 = phi i1 [ false, %705 ], [ %711, %709 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr %57) #6
  br i1 %713, label %714, label %715

714:                                              ; preds = %712
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %54, ptr align 8 %11, i64 24, i1 false)
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %54)
  br label %715

715:                                              ; preds = %714, %712
  br label %716

716:                                              ; preds = %715
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %11)
  br label %696, !llvm.loop !55

717:                                              ; preds = %696
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %54, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #6
  %718 = load ptr, ptr %4, align 8, !tbaa !5
  %719 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %718)
  store i32 %719, ptr %58, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #6
  %720 = load ptr, ptr %4, align 8, !tbaa !5
  %721 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %720)
  store i32 %721, ptr %59, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 12, ptr %61) #6
  %722 = load i32, ptr %53, align 4, !tbaa !34
  store i32 %722, ptr %61, align 4, !tbaa !34
  %723 = getelementptr inbounds i32, ptr %61, i64 1
  %724 = load i32, ptr %58, align 4, !tbaa !34
  store i32 %724, ptr %723, align 4, !tbaa !34
  %725 = getelementptr inbounds i32, ptr %61, i64 2
  store i32 7, ptr %725, align 4, !tbaa !34
  %726 = getelementptr inbounds %"class.std::initializer_list", ptr %60, i32 0, i32 0
  store ptr %61, ptr %726, align 8, !tbaa !38
  %727 = getelementptr inbounds %"class.std::initializer_list", ptr %60, i32 0, i32 1
  store i64 3, ptr %727, align 8, !tbaa !40
  %728 = getelementptr inbounds { ptr, i64 }, ptr %60, i32 0, i32 0
  %729 = load ptr, ptr %728, align 8
  %730 = getelementptr inbounds { ptr, i64 }, ptr %60, i32 0, i32 1
  %731 = load i64, ptr %730, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 59, ptr %729, i64 %731)
  call void @llvm.lifetime.end.p0(i64 12, ptr %61) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %63) #6
  %732 = load i32, ptr %53, align 4, !tbaa !34
  store i32 %732, ptr %63, align 4, !tbaa !34
  %733 = getelementptr inbounds i32, ptr %63, i64 1
  %734 = load i32, ptr %59, align 4, !tbaa !34
  store i32 %734, ptr %733, align 4, !tbaa !34
  %735 = getelementptr inbounds i32, ptr %63, i64 2
  store i32 7, ptr %735, align 4, !tbaa !34
  %736 = getelementptr inbounds %"class.std::initializer_list", ptr %62, i32 0, i32 0
  store ptr %63, ptr %736, align 8, !tbaa !38
  %737 = getelementptr inbounds %"class.std::initializer_list", ptr %62, i32 0, i32 1
  store i64 3, ptr %737, align 8, !tbaa !40
  %738 = getelementptr inbounds { ptr, i64 }, ptr %62, i32 0, i32 0
  %739 = load ptr, ptr %738, align 8
  %740 = getelementptr inbounds { ptr, i64 }, ptr %62, i32 0, i32 1
  %741 = load i64, ptr %740, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 59, ptr %739, i64 %741)
  call void @llvm.lifetime.end.p0(i64 12, ptr %63) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %64) #6
  %742 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %64, ptr noundef nonnull align 8 dereferenceable(48) %742)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %64, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %64) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #6
  %743 = load i32, ptr %58, align 4, !tbaa !34
  store i32 %743, ptr %66, align 4, !tbaa !34
  %744 = getelementptr inbounds i32, ptr %66, i64 1
  %745 = load ptr, ptr %17, align 8, !tbaa !5
  %746 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %745, i16 noundef zeroext 1)
  %747 = load i32, ptr %746, align 4, !tbaa !34
  store i32 %747, ptr %744, align 4, !tbaa !34
  %748 = getelementptr inbounds %"class.std::initializer_list", ptr %65, i32 0, i32 0
  store ptr %66, ptr %748, align 8, !tbaa !38
  %749 = getelementptr inbounds %"class.std::initializer_list", ptr %65, i32 0, i32 1
  store i64 2, ptr %749, align 8, !tbaa !40
  %750 = getelementptr inbounds { ptr, i64 }, ptr %65, i32 0, i32 0
  %751 = load ptr, ptr %750, align 8
  %752 = getelementptr inbounds { ptr, i64 }, ptr %65, i32 0, i32 1
  %753 = load i64, ptr %752, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 62, ptr %751, i64 %753)
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #6
  %754 = load i32, ptr %59, align 4, !tbaa !34
  store i32 %754, ptr %68, align 4, !tbaa !34
  %755 = getelementptr inbounds i32, ptr %68, i64 1
  %756 = load ptr, ptr %17, align 8, !tbaa !5
  %757 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %756, i16 noundef zeroext 2)
  %758 = load i32, ptr %757, align 4, !tbaa !34
  store i32 %758, ptr %755, align 4, !tbaa !34
  %759 = getelementptr inbounds %"class.std::initializer_list", ptr %67, i32 0, i32 0
  store ptr %68, ptr %759, align 8, !tbaa !38
  %760 = getelementptr inbounds %"class.std::initializer_list", ptr %67, i32 0, i32 1
  store i64 2, ptr %760, align 8, !tbaa !40
  %761 = getelementptr inbounds { ptr, i64 }, ptr %67, i32 0, i32 0
  %762 = load ptr, ptr %761, align 8
  %763 = getelementptr inbounds { ptr, i64 }, ptr %67, i32 0, i32 1
  %764 = load i64, ptr %763, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 62, ptr %762, i64 %764)
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #6
  %765 = load ptr, ptr %4, align 8, !tbaa !5
  %766 = call noundef i32 @_ZN8libspirv15MutableBytecode10OpTypeVoidERNS0_8IteratorE(ptr noundef nonnull align 8 dereferenceable(48) %765, ptr noundef nonnull align 8 dereferenceable(24) %11)
  store i32 %766, ptr %69, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #6
  %767 = load ptr, ptr %4, align 8, !tbaa !5
  %768 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %767)
  store i32 %768, ptr %70, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 20, ptr %72) #6
  %769 = load i32, ptr %69, align 4, !tbaa !34
  store i32 %769, ptr %72, align 4, !tbaa !34
  %770 = getelementptr inbounds i32, ptr %72, i64 1
  %771 = load i32, ptr %70, align 4, !tbaa !34
  store i32 %771, ptr %770, align 4, !tbaa !34
  %772 = getelementptr inbounds i32, ptr %72, i64 2
  %773 = load i32, ptr %7, align 4, !tbaa !34
  store i32 %773, ptr %772, align 4, !tbaa !34
  %774 = getelementptr inbounds i32, ptr %72, i64 3
  %775 = load i32, ptr %58, align 4, !tbaa !34
  store i32 %775, ptr %774, align 4, !tbaa !34
  %776 = getelementptr inbounds i32, ptr %72, i64 4
  %777 = load i32, ptr %59, align 4, !tbaa !34
  store i32 %777, ptr %776, align 4, !tbaa !34
  %778 = getelementptr inbounds %"class.std::initializer_list", ptr %71, i32 0, i32 0
  store ptr %72, ptr %778, align 8, !tbaa !38
  %779 = getelementptr inbounds %"class.std::initializer_list", ptr %71, i32 0, i32 1
  store i64 5, ptr %779, align 8, !tbaa !40
  %780 = getelementptr inbounds { ptr, i64 }, ptr %71, i32 0, i32 0
  %781 = load ptr, ptr %780, align 8
  %782 = getelementptr inbounds { ptr, i64 }, ptr %71, i32 0, i32 1
  %783 = load i64, ptr %782, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 57, ptr %781, i64 %783)
  call void @llvm.lifetime.end.p0(i64 20, ptr %72) #6
  store i32 4, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #6
  br label %1023

784:                                              ; preds = %684
  %785 = load ptr, ptr %17, align 8, !tbaa !5
  %786 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %785)
  %787 = icmp eq i32 %786, 5294
  br i1 %787, label %788, label %913

788:                                              ; preds = %784
  call void @llvm.lifetime.start.p0(i64 24, ptr %73) #6
  %789 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %73, ptr noundef nonnull align 8 dereferenceable(48) %789, i8 noundef zeroext 9)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %73, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %73) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #6
  %790 = load ptr, ptr %4, align 8, !tbaa !5
  %791 = call noundef i32 @_ZN8libspirv15MutableBytecode9OpTypeIntERNS0_8IteratorEtb(ptr noundef nonnull align 8 dereferenceable(48) %790, ptr noundef nonnull align 8 dereferenceable(24) %11, i16 noundef zeroext 32, i1 noundef zeroext false)
  store i32 %791, ptr %74, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #6
  %792 = load ptr, ptr %4, align 8, !tbaa !5
  %793 = load i32, ptr %74, align 4, !tbaa !34
  %794 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %792, ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 7, i32 noundef %793)
  store i32 %794, ptr %75, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 24, ptr %76) #6
  %795 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %76, ptr noundef nonnull align 8 dereferenceable(48) %795)
  br label %796

796:                                              ; preds = %816, %788
  call void @llvm.lifetime.start.p0(i64 24, ptr %77) #6
  %797 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %77, ptr noundef nonnull align 8 dereferenceable(48) %797)
  %798 = call noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %11, ptr noundef nonnull align 8 dereferenceable(12) %77)
  call void @llvm.lifetime.end.p0(i64 24, ptr %77) #6
  br i1 %798, label %799, label %817

799:                                              ; preds = %796
  %800 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %11)
  %801 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %800)
  %802 = icmp eq i32 %801, 54
  br i1 %802, label %803, label %805

803:                                              ; preds = %799
  call void @llvm.lifetime.start.p0(i64 24, ptr %78) #6
  %804 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %78, ptr noundef nonnull align 8 dereferenceable(48) %804)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %76, ptr align 8 %78, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %78) #6
  br label %805

805:                                              ; preds = %803, %799
  %806 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %11)
  %807 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %806)
  %808 = icmp eq i32 %807, 248
  call void @llvm.lifetime.start.p0(i64 24, ptr %79) #6
  br i1 %808, label %809, label %812

809:                                              ; preds = %805
  %810 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %79, ptr noundef nonnull align 8 dereferenceable(48) %810)
  %811 = call noundef zeroext i1 @_ZN8libspirveqERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %76, ptr noundef nonnull align 8 dereferenceable(12) %79)
  br label %812

812:                                              ; preds = %809, %805
  %813 = phi i1 [ false, %805 ], [ %811, %809 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr %79) #6
  br i1 %813, label %814, label %815

814:                                              ; preds = %812
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %76, ptr align 8 %11, i64 24, i1 false)
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %76)
  br label %815

815:                                              ; preds = %814, %812
  br label %816

816:                                              ; preds = %815
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %11)
  br label %796, !llvm.loop !56

817:                                              ; preds = %796
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %76, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %80) #6
  %818 = load ptr, ptr %4, align 8, !tbaa !5
  %819 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %818)
  store i32 %819, ptr %80, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %81) #6
  %820 = load ptr, ptr %4, align 8, !tbaa !5
  %821 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %820)
  store i32 %821, ptr %81, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %82) #6
  %822 = load ptr, ptr %4, align 8, !tbaa !5
  %823 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %822)
  store i32 %823, ptr %82, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 12, ptr %84) #6
  %824 = load i32, ptr %75, align 4, !tbaa !34
  store i32 %824, ptr %84, align 4, !tbaa !34
  %825 = getelementptr inbounds i32, ptr %84, i64 1
  %826 = load i32, ptr %80, align 4, !tbaa !34
  store i32 %826, ptr %825, align 4, !tbaa !34
  %827 = getelementptr inbounds i32, ptr %84, i64 2
  store i32 7, ptr %827, align 4, !tbaa !34
  %828 = getelementptr inbounds %"class.std::initializer_list", ptr %83, i32 0, i32 0
  store ptr %84, ptr %828, align 8, !tbaa !38
  %829 = getelementptr inbounds %"class.std::initializer_list", ptr %83, i32 0, i32 1
  store i64 3, ptr %829, align 8, !tbaa !40
  %830 = getelementptr inbounds { ptr, i64 }, ptr %83, i32 0, i32 0
  %831 = load ptr, ptr %830, align 8
  %832 = getelementptr inbounds { ptr, i64 }, ptr %83, i32 0, i32 1
  %833 = load i64, ptr %832, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 59, ptr %831, i64 %833)
  call void @llvm.lifetime.end.p0(i64 12, ptr %84) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %86) #6
  %834 = load i32, ptr %75, align 4, !tbaa !34
  store i32 %834, ptr %86, align 4, !tbaa !34
  %835 = getelementptr inbounds i32, ptr %86, i64 1
  %836 = load i32, ptr %81, align 4, !tbaa !34
  store i32 %836, ptr %835, align 4, !tbaa !34
  %837 = getelementptr inbounds i32, ptr %86, i64 2
  store i32 7, ptr %837, align 4, !tbaa !34
  %838 = getelementptr inbounds %"class.std::initializer_list", ptr %85, i32 0, i32 0
  store ptr %86, ptr %838, align 8, !tbaa !38
  %839 = getelementptr inbounds %"class.std::initializer_list", ptr %85, i32 0, i32 1
  store i64 3, ptr %839, align 8, !tbaa !40
  %840 = getelementptr inbounds { ptr, i64 }, ptr %85, i32 0, i32 0
  %841 = load ptr, ptr %840, align 8
  %842 = getelementptr inbounds { ptr, i64 }, ptr %85, i32 0, i32 1
  %843 = load i64, ptr %842, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 59, ptr %841, i64 %843)
  call void @llvm.lifetime.end.p0(i64 12, ptr %86) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %88) #6
  %844 = load i32, ptr %75, align 4, !tbaa !34
  store i32 %844, ptr %88, align 4, !tbaa !34
  %845 = getelementptr inbounds i32, ptr %88, i64 1
  %846 = load i32, ptr %82, align 4, !tbaa !34
  store i32 %846, ptr %845, align 4, !tbaa !34
  %847 = getelementptr inbounds i32, ptr %88, i64 2
  store i32 7, ptr %847, align 4, !tbaa !34
  %848 = getelementptr inbounds %"class.std::initializer_list", ptr %87, i32 0, i32 0
  store ptr %88, ptr %848, align 8, !tbaa !38
  %849 = getelementptr inbounds %"class.std::initializer_list", ptr %87, i32 0, i32 1
  store i64 3, ptr %849, align 8, !tbaa !40
  %850 = getelementptr inbounds { ptr, i64 }, ptr %87, i32 0, i32 0
  %851 = load ptr, ptr %850, align 8
  %852 = getelementptr inbounds { ptr, i64 }, ptr %87, i32 0, i32 1
  %853 = load i64, ptr %852, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 59, ptr %851, i64 %853)
  call void @llvm.lifetime.end.p0(i64 12, ptr %88) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %89) #6
  %854 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %89, ptr noundef nonnull align 8 dereferenceable(48) %854)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %89, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %89) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %91) #6
  %855 = load i32, ptr %80, align 4, !tbaa !34
  store i32 %855, ptr %91, align 4, !tbaa !34
  %856 = getelementptr inbounds i32, ptr %91, i64 1
  %857 = load ptr, ptr %17, align 8, !tbaa !5
  %858 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %857, i16 noundef zeroext 1)
  %859 = load i32, ptr %858, align 4, !tbaa !34
  store i32 %859, ptr %856, align 4, !tbaa !34
  %860 = getelementptr inbounds %"class.std::initializer_list", ptr %90, i32 0, i32 0
  store ptr %91, ptr %860, align 8, !tbaa !38
  %861 = getelementptr inbounds %"class.std::initializer_list", ptr %90, i32 0, i32 1
  store i64 2, ptr %861, align 8, !tbaa !40
  %862 = getelementptr inbounds { ptr, i64 }, ptr %90, i32 0, i32 0
  %863 = load ptr, ptr %862, align 8
  %864 = getelementptr inbounds { ptr, i64 }, ptr %90, i32 0, i32 1
  %865 = load i64, ptr %864, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 62, ptr %863, i64 %865)
  call void @llvm.lifetime.end.p0(i64 8, ptr %91) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %93) #6
  %866 = load i32, ptr %81, align 4, !tbaa !34
  store i32 %866, ptr %93, align 4, !tbaa !34
  %867 = getelementptr inbounds i32, ptr %93, i64 1
  %868 = load ptr, ptr %17, align 8, !tbaa !5
  %869 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %868, i16 noundef zeroext 2)
  %870 = load i32, ptr %869, align 4, !tbaa !34
  store i32 %870, ptr %867, align 4, !tbaa !34
  %871 = getelementptr inbounds %"class.std::initializer_list", ptr %92, i32 0, i32 0
  store ptr %93, ptr %871, align 8, !tbaa !38
  %872 = getelementptr inbounds %"class.std::initializer_list", ptr %92, i32 0, i32 1
  store i64 2, ptr %872, align 8, !tbaa !40
  %873 = getelementptr inbounds { ptr, i64 }, ptr %92, i32 0, i32 0
  %874 = load ptr, ptr %873, align 8
  %875 = getelementptr inbounds { ptr, i64 }, ptr %92, i32 0, i32 1
  %876 = load i64, ptr %875, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 62, ptr %874, i64 %876)
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %95) #6
  %877 = load i32, ptr %82, align 4, !tbaa !34
  store i32 %877, ptr %95, align 4, !tbaa !34
  %878 = getelementptr inbounds i32, ptr %95, i64 1
  %879 = load ptr, ptr %17, align 8, !tbaa !5
  %880 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %879, i16 noundef zeroext 3)
  %881 = load i32, ptr %880, align 4, !tbaa !34
  store i32 %881, ptr %878, align 4, !tbaa !34
  %882 = getelementptr inbounds %"class.std::initializer_list", ptr %94, i32 0, i32 0
  store ptr %95, ptr %882, align 8, !tbaa !38
  %883 = getelementptr inbounds %"class.std::initializer_list", ptr %94, i32 0, i32 1
  store i64 2, ptr %883, align 8, !tbaa !40
  %884 = getelementptr inbounds { ptr, i64 }, ptr %94, i32 0, i32 0
  %885 = load ptr, ptr %884, align 8
  %886 = getelementptr inbounds { ptr, i64 }, ptr %94, i32 0, i32 1
  %887 = load i64, ptr %886, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 62, ptr %885, i64 %887)
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %96) #6
  %888 = load ptr, ptr %4, align 8, !tbaa !5
  %889 = call noundef i32 @_ZN8libspirv15MutableBytecode10OpTypeVoidERNS0_8IteratorE(ptr noundef nonnull align 8 dereferenceable(48) %888, ptr noundef nonnull align 8 dereferenceable(24) %11)
  store i32 %889, ptr %96, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %97) #6
  %890 = load ptr, ptr %4, align 8, !tbaa !5
  %891 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %890)
  store i32 %891, ptr %97, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 24, ptr %99) #6
  %892 = load i32, ptr %96, align 4, !tbaa !34
  store i32 %892, ptr %99, align 4, !tbaa !34
  %893 = getelementptr inbounds i32, ptr %99, i64 1
  %894 = load i32, ptr %97, align 4, !tbaa !34
  store i32 %894, ptr %893, align 4, !tbaa !34
  %895 = getelementptr inbounds i32, ptr %99, i64 2
  %896 = load i32, ptr %8, align 4, !tbaa !34
  store i32 %896, ptr %895, align 4, !tbaa !34
  %897 = getelementptr inbounds i32, ptr %99, i64 3
  %898 = load i32, ptr %80, align 4, !tbaa !34
  store i32 %898, ptr %897, align 4, !tbaa !34
  %899 = getelementptr inbounds i32, ptr %99, i64 4
  %900 = load i32, ptr %81, align 4, !tbaa !34
  store i32 %900, ptr %899, align 4, !tbaa !34
  %901 = getelementptr inbounds i32, ptr %99, i64 5
  %902 = load i32, ptr %82, align 4, !tbaa !34
  store i32 %902, ptr %901, align 4, !tbaa !34
  %903 = getelementptr inbounds %"class.std::initializer_list", ptr %98, i32 0, i32 0
  store ptr %99, ptr %903, align 8, !tbaa !38
  %904 = getelementptr inbounds %"class.std::initializer_list", ptr %98, i32 0, i32 1
  store i64 6, ptr %904, align 8, !tbaa !40
  %905 = getelementptr inbounds { ptr, i64 }, ptr %98, i32 0, i32 0
  %906 = load ptr, ptr %905, align 8
  %907 = getelementptr inbounds { ptr, i64 }, ptr %98, i32 0, i32 1
  %908 = load i64, ptr %907, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 57, ptr %906, i64 %908)
  call void @llvm.lifetime.end.p0(i64 24, ptr %99) #6
  call void @_ZNSt16initializer_listIjEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %100) #6
  %909 = getelementptr inbounds { ptr, i64 }, ptr %100, i32 0, i32 0
  %910 = load ptr, ptr %909, align 8
  %911 = getelementptr inbounds { ptr, i64 }, ptr %100, i32 0, i32 1
  %912 = load i64, ptr %911, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef 253, ptr %910, i64 %912)
  store i32 4, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %97) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %96) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %76) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #6
  br label %1023

913:                                              ; preds = %784
  %914 = load ptr, ptr %17, align 8, !tbaa !5
  %915 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %914)
  %916 = icmp eq i32 %915, 65
  br i1 %916, label %917, label %962

917:                                              ; preds = %913
  %918 = load ptr, ptr %17, align 8, !tbaa !5
  %919 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %918, i16 noundef zeroext 3)
  %920 = load i32, ptr %919, align 4, !tbaa !34
  %921 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 13
  %922 = load i32, ptr %921, align 8, !tbaa !44
  %923 = icmp eq i32 %920, %922
  br i1 %923, label %924, label %933

924:                                              ; preds = %917
  %925 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 2
  %926 = load ptr, ptr %925, align 8, !tbaa !11
  %927 = load ptr, ptr %17, align 8, !tbaa !5
  %928 = call noundef i64 @_ZNK8libspirv8Bytecode8toOffsetERKNS0_6OpCodeE(ptr noundef nonnull align 8 dereferenceable(20) %926, ptr noundef nonnull align 4 dereferenceable(4) %927)
  %929 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 27
  %930 = load ptr, ptr %17, align 8, !tbaa !5
  %931 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %930, i16 noundef zeroext 2)
  %932 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %929, ptr noundef nonnull align 4 dereferenceable(4) %931)
  store i64 %928, ptr %932, align 8, !tbaa !42
  store i32 4, ptr %16, align 4
  br label %1023

933:                                              ; preds = %917
  %934 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 0
  %935 = getelementptr inbounds %"struct.MeshConverter::Options", ptr %934, i32 0, i32 1
  %936 = load i8, ptr %935, align 1, !tbaa !35, !range !36, !noundef !37
  %937 = trunc i8 %936 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr %101) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %102) #6
  br i1 %937, label %950, label %938

938:                                              ; preds = %933
  %939 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 29
  %940 = load ptr, ptr %17, align 8, !tbaa !5
  %941 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %940, i16 noundef zeroext 3)
  %942 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56) %939, ptr noundef nonnull align 4 dereferenceable(4) %941)
  %943 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %101, i32 0, i32 0
  %944 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %943, i32 0, i32 0
  store ptr %942, ptr %944, align 8
  %945 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 29
  %946 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %945) #6
  %947 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %102, i32 0, i32 0
  %948 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %947, i32 0, i32 0
  store ptr %946, ptr %948, align 8
  %949 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN13MeshConverter7VaryingEELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef nonnull align 8 dereferenceable(8) %102) #6
  br label %950

950:                                              ; preds = %938, %933
  %951 = phi i1 [ false, %933 ], [ %949, %938 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %102) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #6
  br i1 %951, label %952, label %961

952:                                              ; preds = %950
  %953 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 2
  %954 = load ptr, ptr %953, align 8, !tbaa !11
  %955 = load ptr, ptr %17, align 8, !tbaa !5
  %956 = call noundef i64 @_ZNK8libspirv8Bytecode8toOffsetERKNS0_6OpCodeE(ptr noundef nonnull align 8 dereferenceable(20) %954, ptr noundef nonnull align 4 dereferenceable(4) %955)
  %957 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 28
  %958 = load ptr, ptr %17, align 8, !tbaa !5
  %959 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %958, i16 noundef zeroext 2)
  %960 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %957, ptr noundef nonnull align 4 dereferenceable(4) %959)
  store i64 %956, ptr %960, align 8, !tbaa !42
  store i32 4, ptr %16, align 4
  br label %1023

961:                                              ; preds = %950
  br label %962

962:                                              ; preds = %961, %913
  %963 = load ptr, ptr %17, align 8, !tbaa !5
  %964 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %963)
  %965 = icmp eq i32 %964, 62
  br i1 %965, label %966, label %1013

966:                                              ; preds = %962
  call void @llvm.lifetime.start.p0(i64 4, ptr %103) #6
  %967 = load ptr, ptr %17, align 8, !tbaa !5
  %968 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %967, i16 noundef zeroext 1)
  %969 = load i32, ptr %968, align 4, !tbaa !34
  store i32 %969, ptr %103, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %104) #6
  %970 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 27
  %971 = call ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) %970, ptr noundef nonnull align 4 dereferenceable(4) %103)
  %972 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.26", ptr %104, i32 0, i32 0
  %973 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.27", ptr %972, i32 0, i32 0
  store ptr %971, ptr %973, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %105) #6
  %974 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 27
  %975 = call ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %974) #6
  %976 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.26", ptr %105, i32 0, i32 0
  %977 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.27", ptr %976, i32 0, i32 0
  store ptr %975, ptr %977, align 8
  %978 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjmELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef nonnull align 8 dereferenceable(8) %105) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %105) #6
  br i1 %978, label %979, label %986

979:                                              ; preds = %966
  %980 = load ptr, ptr %4, align 8, !tbaa !5
  %981 = load ptr, ptr %17, align 8, !tbaa !5
  %982 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKjmELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104) #6
  %983 = getelementptr inbounds %"struct.std::pair.28", ptr %982, i32 0, i32 1
  %984 = load i64, ptr %983, align 8, !tbaa !57
  %985 = trunc i64 %984 to i32
  call void @_ZN13MeshConverter12emitIboStoreERN8libspirv15MutableBytecodeERNS1_8IteratorERKNS0_8Bytecode6OpCodeEj(ptr noundef nonnull align 8 dereferenceable(425) %151, ptr noundef nonnull align 8 dereferenceable(48) %980, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 4 dereferenceable(4) %981, i32 noundef %985)
  store i32 4, ptr %16, align 4
  br label %987

986:                                              ; preds = %966
  store i32 0, ptr %16, align 4
  br label %987

987:                                              ; preds = %986, %979
  call void @llvm.lifetime.end.p0(i64 8, ptr %104) #6
  %988 = load i32, ptr %16, align 4
  switch i32 %988, label %1010 [
    i32 0, label %989
  ]

989:                                              ; preds = %987
  call void @llvm.lifetime.start.p0(i64 8, ptr %106) #6
  %990 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 28
  %991 = call ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) %990, ptr noundef nonnull align 4 dereferenceable(4) %103)
  %992 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.26", ptr %106, i32 0, i32 0
  %993 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.27", ptr %992, i32 0, i32 0
  store ptr %991, ptr %993, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %107) #6
  %994 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 28
  %995 = call ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %994) #6
  %996 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.26", ptr %107, i32 0, i32 0
  %997 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.27", ptr %996, i32 0, i32 0
  store ptr %995, ptr %997, align 8
  %998 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjmELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8) %106, ptr noundef nonnull align 8 dereferenceable(8) %107) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %107) #6
  br i1 %998, label %999, label %1006

999:                                              ; preds = %989
  %1000 = load ptr, ptr %4, align 8, !tbaa !5
  %1001 = load ptr, ptr %17, align 8, !tbaa !5
  %1002 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKjmELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %106) #6
  %1003 = getelementptr inbounds %"struct.std::pair.28", ptr %1002, i32 0, i32 1
  %1004 = load i64, ptr %1003, align 8, !tbaa !57
  %1005 = trunc i64 %1004 to i32
  call void @_ZN13MeshConverter12emitVboStoreERN8libspirv15MutableBytecodeERNS1_8IteratorERKNS0_8Bytecode6OpCodeEj(ptr noundef nonnull align 8 dereferenceable(425) %151, ptr noundef nonnull align 8 dereferenceable(48) %1000, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 4 dereferenceable(4) %1001, i32 noundef %1005)
  store i32 4, ptr %16, align 4
  br label %1007

1006:                                             ; preds = %989
  store i32 0, ptr %16, align 4
  br label %1007

1007:                                             ; preds = %1006, %999
  call void @llvm.lifetime.end.p0(i64 8, ptr %106) #6
  %1008 = load i32, ptr %16, align 4
  switch i32 %1008, label %1010 [
    i32 0, label %1009
  ]

1009:                                             ; preds = %1007
  store i32 0, ptr %16, align 4
  br label %1010

1010:                                             ; preds = %1009, %1007, %987
  call void @llvm.lifetime.end.p0(i64 4, ptr %103) #6
  %1011 = load i32, ptr %16, align 4
  switch i32 %1011, label %1023 [
    i32 0, label %1012
  ]

1012:                                             ; preds = %1010
  br label %1013

1013:                                             ; preds = %1012, %962
  %1014 = load ptr, ptr %17, align 8, !tbaa !5
  %1015 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %1014)
  %1016 = load ptr, ptr %17, align 8, !tbaa !5
  %1017 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %1016, i16 noundef zeroext 1)
  %1018 = load ptr, ptr %17, align 8, !tbaa !5
  %1019 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %1018)
  %1020 = zext i16 %1019 to i32
  %1021 = sub nsw i32 %1020, 1
  %1022 = sext i32 %1021 to i64
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef %1015, ptr noundef %1017, i64 noundef %1022)
  store i32 0, ptr %16, align 4
  br label %1023

1023:                                             ; preds = %1013, %1010, %952, %924, %817, %717, %671, %615, %587, %559, %463, %453, %442, %429, %398, %323, %315, %309, %303, %270, %249, %223
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  %1024 = load i32, ptr %16, align 4
  switch i32 %1024, label %1341 [
    i32 0, label %1025
    i32 4, label %1026
  ]

1025:                                             ; preds = %1023
  br label %1026

1026:                                             ; preds = %1025, %1023
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %12)
  br label %207, !llvm.loop !59

1027:                                             ; preds = %212
  call void @llvm.lifetime.start.p0(i64 4, ptr %108) #6
  store i32 0, ptr %108, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %109) #6
  store i32 0, ptr %109, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %110) #6
  store i32 0, ptr %110, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %111) #6
  store i32 0, ptr %111, align 4, !tbaa !34
  %1028 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 8
  %1029 = load i32, ptr %1028, align 4, !tbaa !47
  %1030 = icmp ne i32 %1029, 0
  br i1 %1030, label %1031, label %1066

1031:                                             ; preds = %1027
  %1032 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 37
  %1033 = load i8, ptr %1032, align 8, !tbaa !33, !range !36, !noundef !37
  %1034 = trunc i8 %1033 to i1
  br i1 %1034, label %1035, label %1066

1035:                                             ; preds = %1031
  call void @llvm.lifetime.start.p0(i64 24, ptr %112) #6
  %1036 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %112, ptr noundef nonnull align 8 dereferenceable(48) %1036, i8 noundef zeroext 9)
  call void @llvm.lifetime.start.p0(i64 4, ptr %113) #6
  %1037 = load ptr, ptr %4, align 8, !tbaa !5
  %1038 = call noundef i32 @_ZN8libspirv15MutableBytecode9OpTypeIntERNS0_8IteratorEtb(ptr noundef nonnull align 8 dereferenceable(48) %1037, ptr noundef nonnull align 8 dereferenceable(24) %112, i16 noundef zeroext 32, i1 noundef zeroext false)
  store i32 %1038, ptr %113, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %114) #6
  %1039 = load ptr, ptr %4, align 8, !tbaa !5
  %1040 = load i32, ptr %113, align 4, !tbaa !34
  %1041 = call noundef i32 @_ZN8libspirv15MutableBytecode12OpTypeVectorERNS0_8IteratorEjj(ptr noundef nonnull align 8 dereferenceable(48) %1039, ptr noundef nonnull align 8 dereferenceable(24) %112, i32 noundef %1040, i32 noundef 3)
  store i32 %1041, ptr %114, align 4, !tbaa !34
  %1042 = load ptr, ptr %4, align 8, !tbaa !5
  %1043 = load i32, ptr %113, align 4, !tbaa !34
  %1044 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %1042, ptr noundef nonnull align 8 dereferenceable(24) %112, i32 noundef 6, i32 noundef %1043)
  store i32 %1044, ptr %110, align 4, !tbaa !34
  %1045 = load ptr, ptr %4, align 8, !tbaa !5
  %1046 = load i32, ptr %114, align 4, !tbaa !34
  %1047 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %1045, ptr noundef nonnull align 8 dereferenceable(24) %112, i32 noundef 6, i32 noundef %1046)
  store i32 %1047, ptr %108, align 4, !tbaa !34
  %1048 = load ptr, ptr %4, align 8, !tbaa !5
  %1049 = load i32, ptr %113, align 4, !tbaa !34
  %1050 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %1048, ptr noundef nonnull align 8 dereferenceable(24) %112, i32 noundef 1, i32 noundef %1049)
  store i32 %1050, ptr %111, align 4, !tbaa !34
  %1051 = load ptr, ptr %4, align 8, !tbaa !5
  %1052 = load i32, ptr %114, align 4, !tbaa !34
  %1053 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %1051, ptr noundef nonnull align 8 dereferenceable(24) %112, i32 noundef 1, i32 noundef %1052)
  store i32 %1053, ptr %109, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 24, ptr %115) #6
  %1054 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %115, ptr noundef nonnull align 8 dereferenceable(48) %1054, i8 noundef zeroext 9)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %112, ptr align 8 %115, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %115) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %117) #6
  %1055 = load i32, ptr %108, align 4, !tbaa !34
  store i32 %1055, ptr %117, align 4, !tbaa !34
  %1056 = getelementptr inbounds i32, ptr %117, i64 1
  %1057 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 8
  %1058 = load i32, ptr %1057, align 4, !tbaa !47
  store i32 %1058, ptr %1056, align 4, !tbaa !34
  %1059 = getelementptr inbounds i32, ptr %117, i64 2
  store i32 6, ptr %1059, align 4, !tbaa !34
  %1060 = getelementptr inbounds %"class.std::initializer_list", ptr %116, i32 0, i32 0
  store ptr %117, ptr %1060, align 8, !tbaa !38
  %1061 = getelementptr inbounds %"class.std::initializer_list", ptr %116, i32 0, i32 1
  store i64 3, ptr %1061, align 8, !tbaa !40
  %1062 = getelementptr inbounds { ptr, i64 }, ptr %116, i32 0, i32 0
  %1063 = load ptr, ptr %1062, align 8
  %1064 = getelementptr inbounds { ptr, i64 }, ptr %116, i32 0, i32 1
  %1065 = load i64, ptr %1064, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %112, i32 noundef 59, ptr %1063, i64 %1065)
  call void @llvm.lifetime.end.p0(i64 12, ptr %117) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %114) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %113) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %112) #6
  br label %1066

1066:                                             ; preds = %1035, %1031, %1027
  call void @llvm.lifetime.start.p0(i64 24, ptr %118) #6
  %1067 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode5beginEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %118, ptr noundef nonnull align 8 dereferenceable(48) %1067)
  call void @llvm.lifetime.start.p0(i64 24, ptr %119) #6
  %1068 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %119, ptr noundef nonnull align 8 dereferenceable(48) %1068)
  br label %1069

1069:                                             ; preds = %1229, %1066
  %1070 = call noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %118, ptr noundef nonnull align 8 dereferenceable(12) %119)
  br i1 %1070, label %1072, label %1071

1071:                                             ; preds = %1069
  store i32 14, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %119) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %118) #6
  br label %1230

1072:                                             ; preds = %1069
  call void @llvm.lifetime.start.p0(i64 8, ptr %120) #6
  %1073 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %118)
  store ptr %1073, ptr %120, align 8, !tbaa !5
  %1074 = load ptr, ptr %120, align 8, !tbaa !5
  %1075 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %1074)
  %1076 = icmp eq i32 %1075, 71
  br i1 %1076, label %1077, label %1090

1077:                                             ; preds = %1072
  %1078 = load ptr, ptr %120, align 8, !tbaa !5
  %1079 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %1078, i16 noundef zeroext 1)
  %1080 = load i32, ptr %1079, align 4, !tbaa !34
  %1081 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 12
  %1082 = load i32, ptr %1081, align 4, !tbaa !60
  %1083 = icmp eq i32 %1080, %1082
  br i1 %1083, label %1084, label %1090

1084:                                             ; preds = %1077
  %1085 = load ptr, ptr %120, align 8, !tbaa !5
  %1086 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %1085, i16 noundef zeroext 2)
  %1087 = load i32, ptr %1086, align 4, !tbaa !34
  %1088 = icmp eq i32 %1087, 2
  br i1 %1088, label %1089, label %1090

1089:                                             ; preds = %1084
  call void @_ZN8libspirv15MutableBytecode8Iterator8setToNopEv(ptr noundef nonnull align 8 dereferenceable(24) %118)
  br label %1090

1090:                                             ; preds = %1089, %1084, %1077, %1072
  call void @llvm.lifetime.start.p0(i64 1, ptr %121) #6
  %1091 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 0
  %1092 = getelementptr inbounds %"struct.MeshConverter::Options", ptr %1091, i32 0, i32 1
  %1093 = load i8, ptr %1092, align 1, !tbaa !35, !range !36, !noundef !37
  %1094 = trunc i8 %1093 to i1
  %1095 = xor i1 %1094, true
  %1096 = zext i1 %1095 to i8
  store i8 %1096, ptr %121, align 1, !tbaa !9
  %1097 = load ptr, ptr %120, align 8, !tbaa !5
  %1098 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %1097)
  %1099 = icmp eq i32 %1098, 5
  call void @llvm.lifetime.start.p0(i64 8, ptr %122) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %123) #6
  br i1 %1099, label %1100, label %1126

1100:                                             ; preds = %1090
  %1101 = load ptr, ptr %120, align 8, !tbaa !5
  %1102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %1101, i16 noundef zeroext 1)
  %1103 = load i32, ptr %1102, align 4, !tbaa !34
  %1104 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 13
  %1105 = load i32, ptr %1104, align 8, !tbaa !44
  %1106 = icmp eq i32 %1103, %1105
  br i1 %1106, label %1124, label %1107

1107:                                             ; preds = %1100
  %1108 = load i8, ptr %121, align 1, !tbaa !9, !range !36, !noundef !37
  %1109 = trunc i8 %1108 to i1
  br i1 %1109, label %1110, label %1122

1110:                                             ; preds = %1107
  %1111 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 29
  %1112 = load ptr, ptr %120, align 8, !tbaa !5
  %1113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %1112, i16 noundef zeroext 1)
  %1114 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56) %1111, ptr noundef nonnull align 4 dereferenceable(4) %1113)
  %1115 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %122, i32 0, i32 0
  %1116 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %1115, i32 0, i32 0
  store ptr %1114, ptr %1116, align 8
  %1117 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 29
  %1118 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %1117) #6
  %1119 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %123, i32 0, i32 0
  %1120 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %1119, i32 0, i32 0
  store ptr %1118, ptr %1120, align 8
  %1121 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN13MeshConverter7VaryingEELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %122, ptr noundef nonnull align 8 dereferenceable(8) %123) #6
  br label %1122

1122:                                             ; preds = %1110, %1107
  %1123 = phi i1 [ false, %1107 ], [ %1121, %1110 ]
  br label %1124

1124:                                             ; preds = %1122, %1100
  %1125 = phi i1 [ true, %1100 ], [ %1123, %1122 ]
  br label %1126

1126:                                             ; preds = %1124, %1090
  %1127 = phi i1 [ false, %1090 ], [ %1125, %1124 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %123) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %122) #6
  br i1 %1127, label %1128, label %1129

1128:                                             ; preds = %1126
  call void @_ZN8libspirv15MutableBytecode8Iterator8setToNopEv(ptr noundef nonnull align 8 dereferenceable(24) %118)
  br label %1129

1129:                                             ; preds = %1128, %1126
  %1130 = load ptr, ptr %120, align 8, !tbaa !5
  %1131 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %1130)
  %1132 = icmp eq i32 %1131, 71
  call void @llvm.lifetime.start.p0(i64 8, ptr %124) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %125) #6
  br i1 %1132, label %1133, label %1159

1133:                                             ; preds = %1129
  %1134 = load ptr, ptr %120, align 8, !tbaa !5
  %1135 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %1134, i16 noundef zeroext 1)
  %1136 = load i32, ptr %1135, align 4, !tbaa !34
  %1137 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 13
  %1138 = load i32, ptr %1137, align 8, !tbaa !44
  %1139 = icmp eq i32 %1136, %1138
  br i1 %1139, label %1157, label %1140

1140:                                             ; preds = %1133
  %1141 = load i8, ptr %121, align 1, !tbaa !9, !range !36, !noundef !37
  %1142 = trunc i8 %1141 to i1
  br i1 %1142, label %1143, label %1155

1143:                                             ; preds = %1140
  %1144 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 29
  %1145 = load ptr, ptr %120, align 8, !tbaa !5
  %1146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %1145, i16 noundef zeroext 1)
  %1147 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56) %1144, ptr noundef nonnull align 4 dereferenceable(4) %1146)
  %1148 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %124, i32 0, i32 0
  %1149 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %1148, i32 0, i32 0
  store ptr %1147, ptr %1149, align 8
  %1150 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 29
  %1151 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %1150) #6
  %1152 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %125, i32 0, i32 0
  %1153 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %1152, i32 0, i32 0
  store ptr %1151, ptr %1153, align 8
  %1154 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN13MeshConverter7VaryingEELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef nonnull align 8 dereferenceable(8) %125) #6
  br label %1155

1155:                                             ; preds = %1143, %1140
  %1156 = phi i1 [ false, %1140 ], [ %1154, %1143 ]
  br label %1157

1157:                                             ; preds = %1155, %1133
  %1158 = phi i1 [ true, %1133 ], [ %1156, %1155 ]
  br label %1159

1159:                                             ; preds = %1157, %1129
  %1160 = phi i1 [ false, %1129 ], [ %1158, %1157 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %125) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %124) #6
  br i1 %1160, label %1161, label %1162

1161:                                             ; preds = %1159
  call void @_ZN8libspirv15MutableBytecode8Iterator8setToNopEv(ptr noundef nonnull align 8 dereferenceable(24) %118)
  br label %1162

1162:                                             ; preds = %1161, %1159
  %1163 = load ptr, ptr %120, align 8, !tbaa !5
  %1164 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %1163)
  %1165 = icmp eq i32 %1164, 59
  call void @llvm.lifetime.start.p0(i64 8, ptr %126) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %127) #6
  br i1 %1165, label %1166, label %1192

1166:                                             ; preds = %1162
  %1167 = load ptr, ptr %120, align 8, !tbaa !5
  %1168 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %1167, i16 noundef zeroext 2)
  %1169 = load i32, ptr %1168, align 4, !tbaa !34
  %1170 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 13
  %1171 = load i32, ptr %1170, align 8, !tbaa !44
  %1172 = icmp eq i32 %1169, %1171
  br i1 %1172, label %1190, label %1173

1173:                                             ; preds = %1166
  %1174 = load i8, ptr %121, align 1, !tbaa !9, !range !36, !noundef !37
  %1175 = trunc i8 %1174 to i1
  br i1 %1175, label %1176, label %1188

1176:                                             ; preds = %1173
  %1177 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 29
  %1178 = load ptr, ptr %120, align 8, !tbaa !5
  %1179 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %1178, i16 noundef zeroext 2)
  %1180 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56) %1177, ptr noundef nonnull align 4 dereferenceable(4) %1179)
  %1181 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %126, i32 0, i32 0
  %1182 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %1181, i32 0, i32 0
  store ptr %1180, ptr %1182, align 8
  %1183 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 29
  %1184 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %1183) #6
  %1185 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %127, i32 0, i32 0
  %1186 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %1185, i32 0, i32 0
  store ptr %1184, ptr %1186, align 8
  %1187 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN13MeshConverter7VaryingEELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef nonnull align 8 dereferenceable(8) %127) #6
  br label %1188

1188:                                             ; preds = %1176, %1173
  %1189 = phi i1 [ false, %1173 ], [ %1187, %1176 ]
  br label %1190

1190:                                             ; preds = %1188, %1166
  %1191 = phi i1 [ true, %1166 ], [ %1189, %1188 ]
  br label %1192

1192:                                             ; preds = %1190, %1162
  %1193 = phi i1 [ false, %1162 ], [ %1191, %1190 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %127) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %126) #6
  br i1 %1193, label %1194, label %1195

1194:                                             ; preds = %1192
  call void @_ZN8libspirv15MutableBytecode8Iterator8setToNopEv(ptr noundef nonnull align 8 dereferenceable(24) %118)
  br label %1195

1195:                                             ; preds = %1194, %1192
  %1196 = load ptr, ptr %120, align 8, !tbaa !5
  %1197 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %1196)
  %1198 = icmp eq i32 %1197, 65
  br i1 %1198, label %1199, label %1228

1199:                                             ; preds = %1195
  %1200 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 37
  %1201 = load i8, ptr %1200, align 8, !tbaa !33, !range !36, !noundef !37
  %1202 = trunc i8 %1201 to i1
  br i1 %1202, label %1203, label %1228

1203:                                             ; preds = %1199
  %1204 = load ptr, ptr %120, align 8, !tbaa !5
  %1205 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %1204, i16 noundef zeroext 3)
  %1206 = load i32, ptr %1205, align 4, !tbaa !34
  %1207 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 8
  %1208 = load i32, ptr %1207, align 4, !tbaa !47
  %1209 = icmp eq i32 %1206, %1208
  br i1 %1209, label %1210, label %1228

1210:                                             ; preds = %1203
  %1211 = load ptr, ptr %120, align 8, !tbaa !5
  %1212 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %1211, i16 noundef zeroext 1)
  %1213 = load i32, ptr %1212, align 4, !tbaa !34
  %1214 = load i32, ptr %111, align 4, !tbaa !34
  %1215 = icmp eq i32 %1213, %1214
  br i1 %1215, label %1216, label %1218

1216:                                             ; preds = %1210
  %1217 = load i32, ptr %110, align 4, !tbaa !34
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %118, i16 noundef zeroext 1, i32 noundef %1217)
  br label %1227

1218:                                             ; preds = %1210
  %1219 = load ptr, ptr %120, align 8, !tbaa !5
  %1220 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %1219, i16 noundef zeroext 1)
  %1221 = load i32, ptr %1220, align 4, !tbaa !34
  %1222 = load i32, ptr %109, align 4, !tbaa !34
  %1223 = icmp eq i32 %1221, %1222
  br i1 %1223, label %1224, label %1226

1224:                                             ; preds = %1218
  %1225 = load i32, ptr %108, align 4, !tbaa !34
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %118, i16 noundef zeroext 1, i32 noundef %1225)
  br label %1226

1226:                                             ; preds = %1224, %1218
  br label %1227

1227:                                             ; preds = %1226, %1216
  br label %1228

1228:                                             ; preds = %1227, %1203, %1199, %1195
  call void @llvm.lifetime.end.p0(i64 1, ptr %121) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %120) #6
  br label %1229

1229:                                             ; preds = %1228
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %118)
  br label %1069, !llvm.loop !61

1230:                                             ; preds = %1071
  %1231 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode10removeNopsEv(ptr noundef nonnull align 8 dereferenceable(48) %1231)
  call void @llvm.lifetime.start.p0(i64 4, ptr %128) #6
  %1232 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 10
  %1233 = load i32, ptr %1232, align 4, !tbaa !62
  store i32 %1233, ptr %128, align 4, !tbaa !34
  %1234 = load i32, ptr %128, align 4, !tbaa !34
  %1235 = icmp eq i32 %1234, 0
  br i1 %1235, label %1236, label %1265

1236:                                             ; preds = %1230
  call void @llvm.lifetime.start.p0(i64 24, ptr %129) #6
  %1237 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %129, ptr noundef nonnull align 8 dereferenceable(48) %1237, i8 noundef zeroext 9)
  call void @llvm.lifetime.start.p0(i64 4, ptr %130) #6
  %1238 = load ptr, ptr %4, align 8, !tbaa !5
  %1239 = call noundef i32 @_ZN8libspirv15MutableBytecode9OpTypeIntERNS0_8IteratorEtb(ptr noundef nonnull align 8 dereferenceable(48) %1238, ptr noundef nonnull align 8 dereferenceable(24) %129, i16 noundef zeroext 32, i1 noundef zeroext false)
  store i32 %1239, ptr %130, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %131) #6
  %1240 = load ptr, ptr %4, align 8, !tbaa !5
  %1241 = load i32, ptr %130, align 4, !tbaa !34
  %1242 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %1240, ptr noundef nonnull align 8 dereferenceable(24) %129, i32 noundef 1, i32 noundef %1241)
  store i32 %1242, ptr %131, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 24, ptr %132) #6
  %1243 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %132, ptr noundef nonnull align 8 dereferenceable(48) %1243, i8 noundef zeroext 9)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %129, ptr align 8 %132, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %132) #6
  %1244 = load ptr, ptr %4, align 8, !tbaa !5
  %1245 = load i32, ptr %131, align 4, !tbaa !34
  %1246 = call noundef i32 @_ZN8libspirv15MutableBytecode10OpVariableERNS0_8IteratorEjN3spv12StorageClassE(ptr noundef nonnull align 8 dereferenceable(48) %1244, ptr noundef nonnull align 8 dereferenceable(24) %129, i32 noundef %1245, i32 noundef 1)
  store i32 %1246, ptr %128, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 24, ptr %133) #6
  %1247 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %133, ptr noundef nonnull align 8 dereferenceable(48) %1247, i8 noundef zeroext 7)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %129, ptr align 8 %133, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %133) #6
  %1248 = load i32, ptr %128, align 4, !tbaa !34
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEjPKc(ptr noundef nonnull align 8 dereferenceable(24) %129, i32 noundef 5, i32 noundef %1248, ptr noundef @.str.3)
  call void @llvm.lifetime.start.p0(i64 24, ptr %134) #6
  %1249 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %134, ptr noundef nonnull align 8 dereferenceable(48) %1249, i8 noundef zeroext 8)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %129, ptr align 8 %134, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %134) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %136) #6
  %1250 = load i32, ptr %128, align 4, !tbaa !34
  store i32 %1250, ptr %136, align 4, !tbaa !34
  %1251 = getelementptr inbounds i32, ptr %136, i64 1
  store i32 11, ptr %1251, align 4, !tbaa !34
  %1252 = getelementptr inbounds i32, ptr %136, i64 2
  store i32 29, ptr %1252, align 4, !tbaa !34
  %1253 = getelementptr inbounds %"class.std::initializer_list", ptr %135, i32 0, i32 0
  store ptr %136, ptr %1253, align 8, !tbaa !38
  %1254 = getelementptr inbounds %"class.std::initializer_list", ptr %135, i32 0, i32 1
  store i64 3, ptr %1254, align 8, !tbaa !40
  %1255 = getelementptr inbounds { ptr, i64 }, ptr %135, i32 0, i32 0
  %1256 = load ptr, ptr %1255, align 8
  %1257 = getelementptr inbounds { ptr, i64 }, ptr %135, i32 0, i32 1
  %1258 = load i64, ptr %1257, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %129, i32 noundef 71, ptr %1256, i64 %1258)
  call void @llvm.lifetime.end.p0(i64 12, ptr %136) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %137) #6
  %1259 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %138, ptr noundef @.str.4) #6
  %1260 = getelementptr inbounds { i64, ptr }, ptr %138, i32 0, i32 0
  %1261 = load i64, ptr %1260, align 8
  %1262 = getelementptr inbounds { i64, ptr }, ptr %138, i32 0, i32 1
  %1263 = load ptr, ptr %1262, align 8
  call void @_ZN8libspirv15MutableBytecode16findOpEntryPointEN3spv14ExecutionModelESt17basic_string_viewIcSt11char_traitsIcEE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %137, ptr noundef nonnull align 8 dereferenceable(48) %1259, i32 noundef 5, i64 %1261, ptr %1263)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %129, ptr align 8 %137, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %137) #6
  %1264 = load i32, ptr %128, align 4, !tbaa !34
  call void @_ZN8libspirv15MutableBytecode8Iterator6appendEj(ptr noundef nonnull align 8 dereferenceable(24) %129, i32 noundef %1264)
  call void @llvm.lifetime.end.p0(i64 4, ptr %131) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %130) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %129) #6
  br label %1265

1265:                                             ; preds = %1236, %1230
  call void @llvm.lifetime.start.p0(i64 4, ptr %139) #6
  %1266 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 8
  %1267 = load i32, ptr %1266, align 4, !tbaa !47
  store i32 %1267, ptr %139, align 4, !tbaa !34
  %1268 = load i32, ptr %139, align 4, !tbaa !34
  %1269 = icmp eq i32 %1268, 0
  br i1 %1269, label %1274, label %1270

1270:                                             ; preds = %1265
  %1271 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 37
  %1272 = load i8, ptr %1271, align 8, !tbaa !33, !range !36, !noundef !37
  %1273 = trunc i8 %1272 to i1
  br i1 %1273, label %1274, label %1308

1274:                                             ; preds = %1270, %1265
  call void @llvm.lifetime.start.p0(i64 24, ptr %140) #6
  %1275 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %140, ptr noundef nonnull align 8 dereferenceable(48) %1275, i8 noundef zeroext 9)
  call void @llvm.lifetime.start.p0(i64 4, ptr %141) #6
  %1276 = load ptr, ptr %4, align 8, !tbaa !5
  %1277 = call noundef i32 @_ZN8libspirv15MutableBytecode9OpTypeIntERNS0_8IteratorEtb(ptr noundef nonnull align 8 dereferenceable(48) %1276, ptr noundef nonnull align 8 dereferenceable(24) %140, i16 noundef zeroext 32, i1 noundef zeroext false)
  store i32 %1277, ptr %141, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %142) #6
  %1278 = load ptr, ptr %4, align 8, !tbaa !5
  %1279 = load i32, ptr %141, align 4, !tbaa !34
  %1280 = call noundef i32 @_ZN8libspirv15MutableBytecode12OpTypeVectorERNS0_8IteratorEjj(ptr noundef nonnull align 8 dereferenceable(48) %1278, ptr noundef nonnull align 8 dereferenceable(24) %140, i32 noundef %1279, i32 noundef 3)
  store i32 %1280, ptr %142, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %143) #6
  %1281 = load ptr, ptr %4, align 8, !tbaa !5
  %1282 = load i32, ptr %142, align 4, !tbaa !34
  %1283 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %1281, ptr noundef nonnull align 8 dereferenceable(24) %140, i32 noundef 1, i32 noundef %1282)
  store i32 %1283, ptr %143, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 24, ptr %144) #6
  %1284 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %144, ptr noundef nonnull align 8 dereferenceable(48) %1284, i8 noundef zeroext 9)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %140, ptr align 8 %144, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %144) #6
  %1285 = load ptr, ptr %4, align 8, !tbaa !5
  %1286 = load i32, ptr %143, align 4, !tbaa !34
  %1287 = call noundef i32 @_ZN8libspirv15MutableBytecode10OpVariableERNS0_8IteratorEjN3spv12StorageClassE(ptr noundef nonnull align 8 dereferenceable(48) %1285, ptr noundef nonnull align 8 dereferenceable(24) %140, i32 noundef %1286, i32 noundef 1)
  store i32 %1287, ptr %139, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 24, ptr %145) #6
  %1288 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %145, ptr noundef nonnull align 8 dereferenceable(48) %1288, i8 noundef zeroext 7)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %140, ptr align 8 %145, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %145) #6
  %1289 = load i32, ptr %139, align 4, !tbaa !34
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEjPKc(ptr noundef nonnull align 8 dereferenceable(24) %140, i32 noundef 5, i32 noundef %1289, ptr noundef @.str.5)
  call void @llvm.lifetime.start.p0(i64 24, ptr %146) #6
  %1290 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %146, ptr noundef nonnull align 8 dereferenceable(48) %1290, i8 noundef zeroext 8)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %140, ptr align 8 %146, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %146) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %148) #6
  %1291 = load i32, ptr %139, align 4, !tbaa !34
  store i32 %1291, ptr %148, align 4, !tbaa !34
  %1292 = getelementptr inbounds i32, ptr %148, i64 1
  store i32 11, ptr %1292, align 4, !tbaa !34
  %1293 = getelementptr inbounds i32, ptr %148, i64 2
  store i32 26, ptr %1293, align 4, !tbaa !34
  %1294 = getelementptr inbounds %"class.std::initializer_list", ptr %147, i32 0, i32 0
  store ptr %148, ptr %1294, align 8, !tbaa !38
  %1295 = getelementptr inbounds %"class.std::initializer_list", ptr %147, i32 0, i32 1
  store i64 3, ptr %1295, align 8, !tbaa !40
  %1296 = getelementptr inbounds { ptr, i64 }, ptr %147, i32 0, i32 0
  %1297 = load ptr, ptr %1296, align 8
  %1298 = getelementptr inbounds { ptr, i64 }, ptr %147, i32 0, i32 1
  %1299 = load i64, ptr %1298, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %140, i32 noundef 71, ptr %1297, i64 %1299)
  call void @llvm.lifetime.end.p0(i64 12, ptr %148) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %149) #6
  %1300 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %150, ptr noundef @.str.4) #6
  %1301 = getelementptr inbounds { i64, ptr }, ptr %150, i32 0, i32 0
  %1302 = load i64, ptr %1301, align 8
  %1303 = getelementptr inbounds { i64, ptr }, ptr %150, i32 0, i32 1
  %1304 = load ptr, ptr %1303, align 8
  call void @_ZN8libspirv15MutableBytecode16findOpEntryPointEN3spv14ExecutionModelESt17basic_string_viewIcSt11char_traitsIcEE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %149, ptr noundef nonnull align 8 dereferenceable(48) %1300, i32 noundef 5, i64 %1302, ptr %1304)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %140, ptr align 8 %149, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %149) #6
  %1305 = load i32, ptr %139, align 4, !tbaa !34
  call void @_ZN8libspirv15MutableBytecode8Iterator6appendEj(ptr noundef nonnull align 8 dereferenceable(24) %140, i32 noundef %1305)
  %1306 = load i32, ptr %139, align 4, !tbaa !34
  %1307 = getelementptr inbounds %class.MeshConverter, ptr %151, i32 0, i32 8
  store i32 %1306, ptr %1307, align 4, !tbaa !47
  call void @llvm.lifetime.end.p0(i64 4, ptr %143) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %142) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %141) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %140) #6
  br label %1308

1308:                                             ; preds = %1274, %1270
  %1309 = load i32, ptr %8, align 4, !tbaa !34
  %1310 = icmp ne i32 %1309, 0
  br i1 %1310, label %1311, label %1315

1311:                                             ; preds = %1308
  %1312 = load ptr, ptr %4, align 8, !tbaa !5
  %1313 = load i32, ptr %8, align 4, !tbaa !34
  %1314 = load i32, ptr %128, align 4, !tbaa !34
  call void @_ZN13MeshConverter17emitEmitMeshTasksERN8libspirv15MutableBytecodeEjj(ptr noundef nonnull align 8 dereferenceable(425) %151, ptr noundef nonnull align 8 dereferenceable(48) %1312, i32 noundef %1313, i32 noundef %1314)
  br label %1315

1315:                                             ; preds = %1311, %1308
  %1316 = load i32, ptr %7, align 4, !tbaa !34
  %1317 = icmp ne i32 %1316, 0
  br i1 %1317, label %1318, label %1323

1318:                                             ; preds = %1315
  %1319 = load ptr, ptr %4, align 8, !tbaa !5
  %1320 = load i32, ptr %7, align 4, !tbaa !34
  %1321 = load i32, ptr %128, align 4, !tbaa !34
  %1322 = load i32, ptr %139, align 4, !tbaa !34
  call void @_ZN13MeshConverter18emitSetMeshOutputsERN8libspirv15MutableBytecodeEjjj(ptr noundef nonnull align 8 dereferenceable(425) %151, ptr noundef nonnull align 8 dereferenceable(48) %1319, i32 noundef %1320, i32 noundef %1321, i32 noundef %1322)
  br label %1323

1323:                                             ; preds = %1318, %1315
  %1324 = load i32, ptr %9, align 4, !tbaa !34
  %1325 = icmp ne i32 %1324, 0
  br i1 %1325, label %1326, label %1329

1326:                                             ; preds = %1323
  %1327 = load ptr, ptr %4, align 8, !tbaa !5
  %1328 = load i32, ptr %9, align 4, !tbaa !34
  call void @_ZN13MeshConverter14emitPayoadLoadERN8libspirv15MutableBytecodeEj(ptr noundef nonnull align 8 dereferenceable(425) %151, ptr noundef nonnull align 8 dereferenceable(48) %1327, i32 noundef %1328)
  br label %1329

1329:                                             ; preds = %1326, %1323
  %1330 = load i32, ptr %10, align 4, !tbaa !34
  %1331 = icmp ne i32 %1330, 0
  br i1 %1331, label %1332, label %1336

1332:                                             ; preds = %1329
  %1333 = load ptr, ptr %4, align 8, !tbaa !5
  %1334 = load i32, ptr %10, align 4, !tbaa !34
  %1335 = load i32, ptr %128, align 4, !tbaa !34
  call void @_ZN13MeshConverter13emitTailStoreERN8libspirv15MutableBytecodeEjj(ptr noundef nonnull align 8 dereferenceable(425) %151, ptr noundef nonnull align 8 dereferenceable(48) %1333, i32 noundef %1334, i32 noundef %1335)
  br label %1336

1336:                                             ; preds = %1332, %1329
  %1337 = load ptr, ptr %4, align 8, !tbaa !5
  %1338 = load i32, ptr %6, align 4, !tbaa !34
  %1339 = load i32, ptr %9, align 4, !tbaa !34
  %1340 = load i32, ptr %10, align 4, !tbaa !34
  call void @_ZN13MeshConverter11emitEngMainERN8libspirv15MutableBytecodeEjjj(ptr noundef nonnull align 8 dereferenceable(425) %151, ptr noundef nonnull align 8 dereferenceable(48) %1337, i32 noundef %1338, i32 noundef %1339, i32 noundef %1340)
  call void @llvm.lifetime.end.p0(i64 4, ptr %139) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %128) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %111) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %110) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %109) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %108) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #6
  ret void

1341:                                             ; preds = %1023, %392
  unreachable
}

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

declare { ptr, i32 } @_ZNK8libspirv8Bytecode5beginEv(ptr noundef nonnull align 8 dereferenceable(20)) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

declare { ptr, i32 } @_ZNK8libspirv8Bytecode3endEv(ptr noundef nonnull align 8 dereferenceable(20)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #4

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) #4 align 2

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

declare noundef i32 @_ZNK8libspirv8Bytecode18findExecutionModelEv(ptr noundef nonnull align 8 dereferenceable(20)) #2

declare void @_ZN8libspirv15MutableBytecode15setSpirvVersionEj(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #2

declare noundef i32 @_ZNK8libspirv8Bytecode12spirvVersionEv(ptr noundef nonnull align 8 dereferenceable(20)) #2

declare noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEj(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #2

declare noundef i32 @_ZNK8libspirv8Bytecode5boundEv(ptr noundef nonnull align 8 dereferenceable(20)) #2

declare noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48)) #2

declare void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #2

declare void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr, i64) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64, ptr, i64, ptr) #4

declare noundef i64 @_ZNK8libspirv15MutableBytecode8Iterator8toOffsetEv(ptr noundef nonnull align 8 dereferenceable(24)) #2

declare void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef, i64 noundef) #2

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

declare void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48), i64 noundef) #2

declare void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24), i16 noundef zeroext, i32 noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

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

declare void @_ZN8libspirv15MutableBytecode8Iterator8setToNopEv(ptr noundef nonnull align 8 dereferenceable(24)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter13emitConstantsERN8libspirv15MutableBytecodeE(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter11emitEngSsboERN8libspirv15MutableBytecodeEN3spv14ExecutionModelE(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #0 align 2

declare void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48), i8 noundef zeroext) #2

declare noundef i32 @_ZN8libspirv15MutableBytecode9OpTypeIntERNS0_8IteratorEtb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), i16 noundef zeroext, i1 noundef zeroext) #2

declare noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8libspirveqERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #4

declare noundef i32 @_ZN8libspirv15MutableBytecode10OpTypeVoidERNS0_8IteratorE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24)) #2

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

declare noundef i64 @_ZNK8libspirv8Bytecode8toOffsetERKNS0_6OpCodeE(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(4)) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter12emitIboStoreERN8libspirv15MutableBytecodeERNS1_8IteratorERKNS0_8Bytecode6OpCodeEj(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter12emitVboStoreERN8libspirv15MutableBytecodeERNS1_8IteratorERKNS0_8Bytecode6OpCodeEj(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #0 align 2

declare noundef i32 @_ZN8libspirv15MutableBytecode12OpTypeVectorERNS0_8IteratorEjj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) #2

declare void @_ZN8libspirv15MutableBytecode5beginEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #2

declare void @_ZN8libspirv15MutableBytecode10removeNopsEv(ptr noundef nonnull align 8 dereferenceable(48)) #2

declare noundef i32 @_ZN8libspirv15MutableBytecode10OpVariableERNS0_8IteratorEjN3spv12StorageClassE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) #2

declare void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEjPKc(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef, ptr noundef) #2

declare void @_ZN8libspirv15MutableBytecode16findOpEntryPointEN3spv14ExecutionModelESt17basic_string_viewIcSt11char_traitsIcEE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i64, ptr) #2

declare void @_ZN8libspirv15MutableBytecode8Iterator6appendEj(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter17emitEmitMeshTasksERN8libspirv15MutableBytecodeEjj(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter18emitSetMeshOutputsERN8libspirv15MutableBytecodeEjjj(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i32 noundef, i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter14emitPayoadLoadERN8libspirv15MutableBytecodeEj(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter13emitTailStoreERN8libspirv15MutableBytecodeEjj(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter11emitEngMainERN8libspirv15MutableBytecodeEjjj(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i32 noundef, i32 noundef) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"_ZTS13MeshConverter", !13, i64 0, !6, i64 8, !14, i64 16, !14, i64 64, !7, i64 112, !17, i64 124, !17, i64 128, !17, i64 132, !17, i64 136, !17, i64 140, !17, i64 144, !17, i64 148, !17, i64 152, !17, i64 156, !17, i64 160, !17, i64 164, !17, i64 168, !17, i64 172, !17, i64 176, !17, i64 180, !17, i64 184, !17, i64 188, !17, i64 192, !17, i64 196, !17, i64 200, !22, i64 208, !22, i64 264, !27, i64 320, !29, i64 376, !17, i64 400, !17, i64 404, !17, i64 408, !17, i64 412, !17, i64 416, !17, i64 420, !10, i64 424}
!13 = !{!"_ZTSN13MeshConverter7OptionsE", !10, i64 0, !10, i64 1}
!14 = !{!"_ZTSN8libspirv15MutableBytecodeE", !15, i64 0, !18, i64 24}
!15 = !{!"_ZTSN8libspirv8BytecodeE", !6, i64 0, !16, i64 8, !17, i64 16}
!16 = !{!"long", !7, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSSt6vectorIN8libspirv8Bytecode6OpCodeESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN8libspirv8Bytecode6OpCodeESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN8libspirv8Bytecode6OpCodeESaIS2_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN8libspirv8Bytecode6OpCodeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEE", !23, i64 0}
!23 = !{!"_ZTSSt10_HashtableIjSt4pairIKjmESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !16, i64 8, !24, i64 16, !16, i64 24, !25, i64 32, !6, i64 48}
!24 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!25 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !26, i64 0, !16, i64 8}
!26 = !{!"float", !7, i64 0}
!27 = !{!"_ZTSSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !28, i64 0}
!28 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN13MeshConverter7VaryingEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !16, i64 8, !24, i64 16, !16, i64 24, !25, i64 32, !6, i64 48}
!29 = !{!"_ZTSSt6vectorIjSaIjEE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!12, !10, i64 424}
!34 = !{!17, !17, i64 0}
!35 = !{!12, !10, i64 1}
!36 = !{i8 0, i8 2}
!37 = !{}
!38 = !{!39, !6, i64 0}
!39 = !{!"_ZTSSt16initializer_listIjE", !6, i64 0, !16, i64 8}
!40 = !{!39, !16, i64 8}
!41 = !{i64 0, i64 8, !42, i64 8, i64 8, !5}
!42 = !{!16, !16, i64 0}
!43 = !{!12, !17, i64 156}
!44 = !{!12, !17, i64 152}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.mustprogress"}
!47 = !{!12, !17, i64 132}
!48 = !{!12, !17, i64 124}
!49 = !{!12, !17, i64 128}
!50 = !{!12, !17, i64 136}
!51 = !{!12, !17, i64 144}
!52 = !{!7, !7, i64 0}
!53 = !{!12, !17, i64 164}
!54 = !{!12, !17, i64 160}
!55 = distinct !{!55, !46}
!56 = distinct !{!56, !46}
!57 = !{!58, !16, i64 8}
!58 = !{!"_ZTSSt4pairIKjmE", !17, i64 0, !16, i64 8}
!59 = distinct !{!59, !46}
!60 = !{!12, !17, i64 148}
!61 = distinct !{!61, !46}
!62 = !{!12, !17, i64 140}


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

%"struct.libspirv::MutableBytecode::Iterator" = type { %"struct.libspirv::Bytecode::Iterator.base", ptr }
%"struct.libspirv::Bytecode::Iterator.base" = type <{ ptr, i32 }>
%"struct.libspirv::Bytecode::Iterator" = type <{ ptr, i32, [4 x i8] }>
%"class.std::basic_string_view" = type { i64, ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"struct.std::__detail::_Node_iterator.26" = type { %"struct.std::__detail::_Node_iterator_base.27" }
%"struct.std::__detail::_Node_iterator_base.27" = type { ptr }

@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13MeshConverter8emitCompERN8libspirv15MutableBytecodeE(ptr noundef nonnull align 8 dereferenceable(425) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) local_unnamed_addr #0 align 2 {
  %3 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %4 = alloca %"struct.libspirv::Bytecode::Iterator", align 8
  %5 = alloca %"struct.libspirv::Bytecode::Iterator", align 8
  %6 = alloca [1 x i32], align 4
  %7 = alloca %"class.std::basic_string_view", align 8
  %8 = alloca %"class.std::basic_string_view", align 8
  %9 = alloca %"class.std::basic_string_view", align 8
  %10 = alloca %"class.std::basic_string_view", align 8
  %11 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %12 = alloca [128 x i32], align 16
  %13 = alloca i32, align 4
  %14 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %15 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %16 = alloca %"class.std::basic_string_view", align 8
  %17 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %18 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %19 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %20 = alloca %"class.std::basic_string_view", align 8
  %21 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %22 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %23 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %24 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %25 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %26 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %27 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %28 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %29 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %30 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %31 = alloca [3 x i32], align 4
  %32 = alloca [3 x i32], align 4
  %33 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %34 = alloca [2 x i32], align 4
  %35 = alloca [2 x i32], align 4
  %36 = alloca [5 x i32], align 4
  %37 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %38 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %39 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %40 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %41 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %42 = alloca [3 x i32], align 4
  %43 = alloca [3 x i32], align 4
  %44 = alloca [3 x i32], align 4
  %45 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %46 = alloca [2 x i32], align 4
  %47 = alloca [2 x i32], align 4
  %48 = alloca [2 x i32], align 4
  %49 = alloca [6 x i32], align 4
  %50 = alloca %"class.std::initializer_list", align 8
  %51 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %52 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %53 = alloca i32, align 4
  %54 = alloca %"struct.std::__detail::_Node_iterator.26", align 8
  %55 = alloca %"struct.std::__detail::_Node_iterator.26", align 8
  %56 = alloca %"struct.std::__detail::_Node_iterator.26", align 8
  %57 = alloca %"struct.std::__detail::_Node_iterator.26", align 8
  %58 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %59 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %60 = alloca [3 x i32], align 4
  %61 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %62 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %63 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %64 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %65 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %66 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %67 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %68 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %69 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %70 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %71 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %72 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %73 = alloca [3 x i32], align 4
  %74 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %75 = alloca %"class.std::basic_string_view", align 8
  %76 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %77 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %78 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %79 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %80 = alloca [3 x i32], align 4
  %81 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %82 = alloca %"class.std::basic_string_view", align 8
  %83 = getelementptr inbounds i8, ptr %0, i64 8
  %84 = load ptr, ptr %83, align 8, !tbaa !5
  %85 = tail call noundef i32 @_ZNK8libspirv8Bytecode18findExecutionModelEv(ptr noundef nonnull align 8 dereferenceable(20) %84)
  %86 = icmp eq i32 %85, 5365
  %87 = getelementptr inbounds i8, ptr %0, i64 424
  %88 = zext i1 %86 to i8
  store i8 %88, ptr %87, align 8, !tbaa !31
  %89 = load ptr, ptr %83, align 8, !tbaa !5
  %90 = tail call noundef i32 @_ZNK8libspirv8Bytecode12spirvVersionEv(ptr noundef nonnull align 8 dereferenceable(20) %89)
  tail call void @_ZN8libspirv15MutableBytecode15setSpirvVersionEj(ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %90)
  %91 = load ptr, ptr %83, align 8, !tbaa !5
  %92 = tail call noundef i32 @_ZNK8libspirv8Bytecode5boundEv(ptr noundef nonnull align 8 dereferenceable(20) %91)
  %93 = tail call noundef i32 @_ZNK8libspirv8Bytecode5boundEv(ptr noundef nonnull align 8 dereferenceable(20) %1)
  %94 = sub i32 %92, %93
  %95 = tail call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEj(ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %94)
  %96 = tail call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %97 = getelementptr inbounds i8, ptr %0, i64 1
  %98 = load i8, ptr %97, align 1, !tbaa !32, !range !33, !noundef !34
  %99 = trunc nuw i8 %98 to i1
  br i1 %99, label %100, label %107

100:                                              ; preds = %2
  %101 = load ptr, ptr %83, align 8, !tbaa !5
  %102 = tail call noundef i32 @_ZNK8libspirv8Bytecode18findExecutionModelEv(ptr noundef nonnull align 8 dereferenceable(20) %101)
  %103 = icmp eq i32 %102, 5365
  br i1 %103, label %104, label %107

104:                                              ; preds = %100
  %105 = tail call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %106 = tail call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  br label %107

107:                                              ; preds = %104, %100, %2
  %.0348 = phi i32 [ %106, %104 ], [ 0, %100 ], [ 0, %2 ]
  %.0347 = phi i32 [ %105, %104 ], [ 0, %100 ], [ 0, %2 ]
  %108 = load ptr, ptr %83, align 8, !tbaa !5
  %109 = tail call noundef i32 @_ZNK8libspirv8Bytecode18findExecutionModelEv(ptr noundef nonnull align 8 dereferenceable(20) %108)
  %110 = icmp eq i32 %109, 5364
  br i1 %110, label %111, label %113

111:                                              ; preds = %107
  %112 = tail call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  br label %113

113:                                              ; preds = %111, %107
  %.0346 = phi i32 [ %112, %111 ], [ 0, %107 ]
  %114 = load ptr, ptr %83, align 8, !tbaa !5
  %115 = tail call noundef i32 @_ZNK8libspirv8Bytecode18findExecutionModelEv(ptr noundef nonnull align 8 dereferenceable(20) %114)
  %116 = icmp eq i32 %115, 5365
  br i1 %116, label %117, label %119

117:                                              ; preds = %113
  %118 = tail call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  br label %119

119:                                              ; preds = %117, %113
  %.0345 = phi i32 [ %118, %117 ], [ 0, %113 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %3, ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  %120 = load ptr, ptr %83, align 8, !tbaa !5
  %121 = call { ptr, i32 } @_ZNK8libspirv8Bytecode5beginEv(ptr noundef nonnull align 8 dereferenceable(20) %120)
  %.fca.0.extract243 = extractvalue { ptr, i32 } %121, 0
  %.fca.1.extract244 = extractvalue { ptr, i32 } %121, 1
  store ptr %.fca.0.extract243, ptr %4, align 8
  %.sroa.2246.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  store i32 %.fca.1.extract244, ptr %.sroa.2246.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  %122 = load ptr, ptr %83, align 8, !tbaa !5
  %123 = call { ptr, i32 } @_ZNK8libspirv8Bytecode3endEv(ptr noundef nonnull align 8 dereferenceable(20) %122)
  %.fca.0.extract388 = extractvalue { ptr, i32 } %123, 0
  %.fca.1.extract389 = extractvalue { ptr, i32 } %123, 1
  store ptr %.fca.0.extract388, ptr %5, align 8
  %.sroa.2242.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  store i32 %.fca.1.extract389, ptr %.sroa.2242.0..sroa_idx, align 8
  %124 = call noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull align 8 dereferenceable(12) %5)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  br i1 %124, label %.lr.ph392, label %._crit_edge393

.lr.ph392:                                        ; preds = %119
  %.sroa.2146.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  %125 = getelementptr inbounds i8, ptr %8, i64 8
  %.sroa.2144.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  %126 = getelementptr inbounds i8, ptr %10, i64 8
  %127 = getelementptr inbounds i8, ptr %0, i64 112
  %128 = getelementptr inbounds i8, ptr %0, i64 116
  %129 = getelementptr inbounds i8, ptr %0, i64 120
  %130 = getelementptr inbounds i8, ptr %0, i64 156
  %131 = getelementptr inbounds i8, ptr %0, i64 132
  %132 = getelementptr inbounds i8, ptr %0, i64 152
  %133 = getelementptr inbounds i8, ptr %0, i64 320
  %134 = getelementptr inbounds i8, ptr %0, i64 264
  %135 = getelementptr inbounds i8, ptr %0, i64 208
  %136 = getelementptr inbounds i8, ptr %42, i64 4
  %137 = getelementptr inbounds i8, ptr %42, i64 8
  %138 = getelementptr inbounds i8, ptr %43, i64 4
  %139 = getelementptr inbounds i8, ptr %43, i64 8
  %140 = getelementptr inbounds i8, ptr %44, i64 4
  %141 = getelementptr inbounds i8, ptr %44, i64 8
  %142 = getelementptr inbounds i8, ptr %46, i64 4
  %143 = getelementptr inbounds i8, ptr %47, i64 4
  %144 = getelementptr inbounds i8, ptr %48, i64 4
  %145 = getelementptr inbounds i8, ptr %49, i64 4
  %146 = getelementptr inbounds i8, ptr %49, i64 8
  %147 = getelementptr inbounds i8, ptr %49, i64 12
  %148 = getelementptr inbounds i8, ptr %49, i64 16
  %149 = getelementptr inbounds i8, ptr %49, i64 20
  %150 = getelementptr inbounds i8, ptr %50, i64 8
  %151 = getelementptr inbounds i8, ptr %31, i64 4
  %152 = getelementptr inbounds i8, ptr %31, i64 8
  %153 = getelementptr inbounds i8, ptr %32, i64 4
  %154 = getelementptr inbounds i8, ptr %32, i64 8
  %155 = getelementptr inbounds i8, ptr %34, i64 4
  %156 = getelementptr inbounds i8, ptr %35, i64 4
  %157 = getelementptr inbounds i8, ptr %36, i64 4
  %158 = getelementptr inbounds i8, ptr %36, i64 8
  %159 = getelementptr inbounds i8, ptr %36, i64 12
  %160 = getelementptr inbounds i8, ptr %36, i64 16
  %161 = getelementptr inbounds i8, ptr %0, i64 164
  %162 = getelementptr inbounds i8, ptr %0, i64 160
  %163 = getelementptr inbounds i8, ptr %0, i64 124
  %164 = getelementptr inbounds i8, ptr %0, i64 128
  %165 = getelementptr inbounds i8, ptr %0, i64 136
  %166 = getelementptr inbounds i8, ptr %0, i64 144
  %167 = getelementptr inbounds i8, ptr %12, i64 4
  %168 = getelementptr inbounds i8, ptr %12, i64 8
  %169 = getelementptr inbounds i8, ptr %12, i64 12
  %170 = getelementptr inbounds i8, ptr %12, i64 16
  br label %173

._crit_edge393:                                   ; preds = %552, %119
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  %171 = getelementptr inbounds i8, ptr %0, i64 132
  %172 = load i32, ptr %171, align 4, !tbaa !35
  %.not = icmp eq i32 %172, 0
  br i1 %.not, label %569, label %556

173:                                              ; preds = %.lr.ph392, %552
  %.0390 = phi i1 [ false, %.lr.ph392 ], [ %.2, %552 ]
  %174 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %4)
  %175 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %176 = icmp eq i32 %175, 17
  br i1 %176, label %177, label %182

177:                                              ; preds = %173
  %178 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %179 = load i32, ptr %178, align 4, !tbaa !36
  %180 = icmp eq i32 %179, 5283
  br i1 %180, label %181, label %182

181:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  store i32 1, ptr %6, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 17, ptr nonnull %6, i64 1)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  br label %552

182:                                              ; preds = %177, %173
  %183 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %184 = icmp eq i32 %183, 4
  br i1 %184, label %185, label %190

185:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %186) #6
  %.sroa.0145.0.copyload = load i64, ptr %7, align 8, !tbaa !37
  %.sroa.2146.0.copyload = load ptr, ptr %.sroa.2146.0..sroa_idx, align 8, !tbaa !38
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef @.str) #6
  %187 = load i64, ptr %8, align 8
  %188 = load ptr, ptr %125, align 8
  %189 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %.sroa.0145.0.copyload, ptr %.sroa.2146.0.copyload, i64 %187, ptr %188) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br i1 %189, label %552, label %190

190:                                              ; preds = %185, %182
  %191 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %192 = icmp eq i32 %191, 10
  br i1 %192, label %193, label %198

193:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef %194) #6
  %.sroa.0143.0.copyload = load i64, ptr %9, align 8, !tbaa !37
  %.sroa.2144.0.copyload = load ptr, ptr %.sroa.2144.0..sroa_idx, align 8, !tbaa !38
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef @.str.1) #6
  %195 = load i64, ptr %10, align 8
  %196 = load ptr, ptr %126, align 8
  %197 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %.sroa.0143.0.copyload, ptr %.sroa.2144.0.copyload, i64 %195, ptr %196) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br i1 %197, label %552, label %198

198:                                              ; preds = %193, %190
  %199 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %200 = icmp eq i32 %199, 16
  br i1 %200, label %201, label %236

201:                                              ; preds = %198
  %202 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 2)
  %203 = load i32, ptr %202, align 4, !tbaa !36
  %204 = icmp eq i32 %203, 17
  br i1 %204, label %205, label %212

205:                                              ; preds = %201
  %206 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 3)
  %207 = load i32, ptr %206, align 4, !tbaa !36
  store i32 %207, ptr %127, align 8, !tbaa !36
  %208 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 4)
  %209 = load i32, ptr %208, align 4, !tbaa !36
  store i32 %209, ptr %128, align 4, !tbaa !36
  %210 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 5)
  %211 = load i32, ptr %210, align 4, !tbaa !36
  store i32 %211, ptr %129, align 8, !tbaa !36
  br label %212

212:                                              ; preds = %205, %201
  %213 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 2)
  %214 = load i32, ptr %213, align 4, !tbaa !36
  %215 = icmp eq i32 %214, 26
  br i1 %215, label %552, label %216

216:                                              ; preds = %212
  %217 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 2)
  %218 = load i32, ptr %217, align 4, !tbaa !36
  %219 = icmp eq i32 %218, 5270
  br i1 %219, label %552, label %220

220:                                              ; preds = %216
  %221 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 2)
  %222 = load i32, ptr %221, align 4, !tbaa !36
  %223 = icmp eq i32 %222, 5298
  br i1 %223, label %552, label %224

224:                                              ; preds = %220
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %226 = load i32, ptr %225, align 4, !tbaa !36
  %227 = load i32, ptr %130, align 4, !tbaa !39
  %228 = icmp eq i32 %226, %227
  br i1 %228, label %229, label %236

229:                                              ; preds = %224
  %230 = call noundef i64 @_ZNK8libspirv15MutableBytecode8Iterator8toOffsetEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  %231 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %232 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %233 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %234 = zext i16 %233 to i64
  %235 = add nsw i64 %234, -1
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %231, ptr noundef nonnull %232, i64 noundef %235)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %11, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 noundef %230)
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %11, i16 noundef zeroext 1, i32 noundef %96)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  br label %552

236:                                              ; preds = %224, %198
  %237 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %238 = icmp eq i32 %237, 15
  br i1 %238, label %239, label %267

239:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %12) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(512) %170, i8 0, i64 496, i1 false)
  store i32 15, ptr %12, align 16, !tbaa !36
  store i32 5, ptr %167, align 4, !tbaa !36
  store i32 %96, ptr %168, align 8, !tbaa !36
  store i32 1852399981, ptr %169, align 4, !tbaa !36
  %240 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %241 = icmp ugt i16 %240, 5
  br i1 %241, label %.lr.ph386, label %._crit_edge387

._crit_edge387:                                   ; preds = %262, %239
  %.0353.lcssa = phi i32 [ 5, %239 ], [ %.1354, %262 ]
  %242 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %243 = add i32 %.0353.lcssa, -1
  %244 = zext i32 %243 to i64
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %242, ptr noundef nonnull %167, i64 noundef %244)
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %12) #6
  br label %552

.lr.ph386:                                        ; preds = %239, %262
  %.0353384 = phi i32 [ %.1354, %262 ], [ 5, %239 ]
  %.0355383 = phi i64 [ %263, %262 ], [ 5, %239 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  %245 = trunc nuw i64 %.0355383 to i16
  %246 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext %245)
  %247 = load i32, ptr %246, align 4, !tbaa !36
  store i32 %247, ptr %13, align 4, !tbaa !36
  %248 = load i32, ptr %132, align 8, !tbaa !40
  %249 = icmp eq i32 %247, %248
  br i1 %249, label %262, label %250

250:                                              ; preds = %.lr.ph386
  %251 = load i8, ptr %97, align 1, !tbaa !32, !range !33, !noundef !34
  %252 = trunc nuw i8 %251 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  br i1 %252, label %.critedge, label %253

253:                                              ; preds = %250
  %254 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56) %133, ptr noundef nonnull align 4 dereferenceable(4) %13)
  store ptr %254, ptr %14, align 8
  %255 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %133) #6
  store ptr %255, ptr %15, align 8
  %256 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN13MeshConverter7VaryingEELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br i1 %256, label %262, label %._crit_edge397

._crit_edge397:                                   ; preds = %253
  %.pre = load i32, ptr %13, align 4, !tbaa !36
  br label %257

.critedge:                                        ; preds = %250
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br label %257

257:                                              ; preds = %._crit_edge397, %.critedge
  %258 = phi i32 [ %.pre, %._crit_edge397 ], [ %247, %.critedge ]
  %259 = zext i32 %.0353384 to i64
  %260 = getelementptr inbounds [128 x i32], ptr %12, i64 0, i64 %259
  store i32 %258, ptr %260, align 4, !tbaa !36
  %261 = add i32 %.0353384, 1
  br label %262

262:                                              ; preds = %253, %.lr.ph386, %257
  %.1354 = phi i32 [ %261, %257 ], [ %.0353384, %.lr.ph386 ], [ %.0353384, %253 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  %263 = add nuw nsw i64 %.0355383, 1
  %264 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %265 = zext i16 %264 to i64
  %266 = icmp ult i64 %263, %265
  br i1 %266, label %.lr.ph386, label %._crit_edge387, !llvm.loop !41

267:                                              ; preds = %236
  %268 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %269 = icmp eq i32 %268, 71
  br i1 %269, label %270, label %295

270:                                              ; preds = %267
  %271 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 2)
  %272 = load i32, ptr %271, align 4, !tbaa !36
  %273 = icmp eq i32 %272, 11
  br i1 %273, label %274, label %295

274:                                              ; preds = %270
  %275 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 3)
  %276 = load i32, ptr %275, align 4, !tbaa !36
  %277 = icmp eq i32 %276, 5294
  br i1 %277, label %552, label %278

278:                                              ; preds = %274
  %279 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 3)
  %280 = load i32, ptr %279, align 4, !tbaa !36
  %281 = icmp eq i32 %280, 5295
  br i1 %281, label %552, label %282

282:                                              ; preds = %278
  %283 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 3)
  %284 = load i32, ptr %283, align 4, !tbaa !36
  %285 = icmp eq i32 %284, 5296
  br i1 %285, label %552, label %286

286:                                              ; preds = %282
  %287 = load ptr, ptr %83, align 8, !tbaa !5
  %288 = call noundef i32 @_ZNK8libspirv8Bytecode18findExecutionModelEv(ptr noundef nonnull align 8 dereferenceable(20) %287)
  %289 = icmp eq i32 %288, 5365
  br i1 %289, label %290, label %295

290:                                              ; preds = %286
  %291 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %292 = load i32, ptr %291, align 4, !tbaa !36
  %293 = load i32, ptr %131, align 4, !tbaa !35
  %294 = icmp eq i32 %292, %293
  br i1 %294, label %552, label %295

295:                                              ; preds = %286, %290, %270, %267
  %296 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %297 = icmp eq i32 %296, 71
  br i1 %297, label %298, label %302

298:                                              ; preds = %295
  %299 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 2)
  %300 = load i32, ptr %299, align 4, !tbaa !36
  %301 = icmp eq i32 %300, 30
  br i1 %301, label %552, label %302

302:                                              ; preds = %298, %295
  %303 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %304 = icmp eq i32 %303, 72
  br i1 %304, label %305, label %309

305:                                              ; preds = %302
  %306 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 3)
  %307 = load i32, ptr %306, align 4, !tbaa !36
  %308 = icmp eq i32 %307, 11
  br i1 %308, label %552, label %309

309:                                              ; preds = %305, %302
  %310 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %311 = icmp eq i32 %310, 5
  br i1 %311, label %312, label %362

312:                                              ; preds = %309
  %313 = call noundef i64 @_ZNK8libspirv15MutableBytecode8Iterator8toOffsetEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  %314 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %315 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %316 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %317 = zext i16 %316 to i64
  %318 = add nsw i64 %317, -1
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %314, ptr noundef nonnull %315, i64 noundef %318)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  %319 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 2)
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %319) #6
  %320 = call noundef i64 @_ZNKSt17basic_string_viewIcSt11char_traitsIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef @.str.2, i64 noundef 0) #6
  %321 = icmp eq i64 %320, 0
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  %322 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %323 = load i32, ptr %322, align 4, !tbaa !36
  br i1 %321, label %324, label %358

324:                                              ; preds = %312
  %325 = load i32, ptr %163, align 4, !tbaa !43
  %.not367 = icmp eq i32 %323, %325
  br i1 %.not367, label %346, label %326

326:                                              ; preds = %324
  %327 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %328 = load i32, ptr %327, align 4, !tbaa !36
  %329 = load i32, ptr %164, align 8, !tbaa !44
  %.not368 = icmp eq i32 %328, %329
  br i1 %.not368, label %346, label %330

330:                                              ; preds = %326
  %331 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %332 = load i32, ptr %331, align 4, !tbaa !36
  %333 = load i32, ptr %131, align 4, !tbaa !35
  %.not369 = icmp eq i32 %332, %333
  br i1 %.not369, label %346, label %334

334:                                              ; preds = %330
  %335 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %336 = load i32, ptr %335, align 4, !tbaa !36
  %337 = load i32, ptr %165, align 8, !tbaa !45
  %.not370 = icmp eq i32 %336, %337
  br i1 %.not370, label %346, label %338

338:                                              ; preds = %334
  %339 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %340 = load i32, ptr %339, align 4, !tbaa !36
  %341 = load i32, ptr %166, align 8, !tbaa !46
  %.not371 = icmp eq i32 %340, %341
  br i1 %.not371, label %346, label %342

342:                                              ; preds = %338
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #6
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %17, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 noundef %313)
  %343 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %17)
  %344 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %343, i16 noundef zeroext 2)
  %345 = load i32, ptr %344, align 4, !tbaa !36
  %.sroa.4131.0.insert.insert = and i32 %345, -65281
  %.sroa.0130.0.insert.insert = or disjoint i32 %.sroa.4131.0.insert.insert, 12544
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %17, i16 noundef zeroext 2, i32 noundef %.sroa.0130.0.insert.insert)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #6
  br label %552

346:                                              ; preds = %338, %334, %330, %326, %324
  %347 = load i8, ptr %87, align 8, !tbaa !31, !range !33, !noundef !34
  %348 = trunc nuw i8 %347 to i1
  br i1 %348, label %349, label %552

349:                                              ; preds = %346
  %350 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %351 = load i32, ptr %350, align 4, !tbaa !36
  %352 = load i32, ptr %131, align 4, !tbaa !35
  %353 = icmp eq i32 %351, %352
  br i1 %353, label %354, label %552

354:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #6
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %18, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 noundef %313)
  %355 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %18)
  %356 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %355, i16 noundef zeroext 2)
  %357 = load i32, ptr %356, align 4, !tbaa !36
  %.sroa.4128.0.insert.insert = and i32 %357, -65281
  %.sroa.0127.0.insert.insert = or disjoint i32 %.sroa.4128.0.insert.insert, 30720
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %18, i16 noundef zeroext 2, i32 noundef %.sroa.0127.0.insert.insert)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #6
  br label %552

358:                                              ; preds = %312
  %359 = load i32, ptr %130, align 4, !tbaa !39
  %360 = icmp eq i32 %323, %359
  br i1 %360, label %361, label %552

361:                                              ; preds = %358
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #6
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %19, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 noundef %313)
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %19, i16 noundef zeroext 1, i32 noundef %96)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #6
  br label %552

362:                                              ; preds = %309
  %363 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %364 = icmp eq i32 %363, 6
  br i1 %364, label %365, label %379

365:                                              ; preds = %362
  %366 = call noundef i64 @_ZNK8libspirv15MutableBytecode8Iterator8toOffsetEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  %367 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %368 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %369 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %370 = zext i16 %369 to i64
  %371 = add nsw i64 %370, -1
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %367, ptr noundef nonnull %368, i64 noundef %371)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #6
  %372 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 3)
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef %372) #6
  %373 = call noundef i64 @_ZNKSt17basic_string_viewIcSt11char_traitsIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef @.str.2, i64 noundef 0) #6
  %374 = icmp eq i64 %373, 0
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #6
  br i1 %374, label %375, label %552

375:                                              ; preds = %365
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #6
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %21, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 noundef %366)
  %376 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %21)
  %377 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %376, i16 noundef zeroext 3)
  %378 = load i32, ptr %377, align 4, !tbaa !36
  %.sroa.4.0.insert.insert = and i32 %378, -65281
  %.sroa.0125.0.insert.insert = or disjoint i32 %.sroa.4.0.insert.insert, 12544
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %21, i16 noundef zeroext 3, i32 noundef %.sroa.0125.0.insert.insert)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #6
  br label %552

379:                                              ; preds = %362
  %380 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %381 = icmp eq i32 %380, 32
  br i1 %381, label %382, label %397

382:                                              ; preds = %379
  %383 = call noundef i64 @_ZNK8libspirv15MutableBytecode8Iterator8toOffsetEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  %384 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %385 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %386 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %387 = zext i16 %386 to i64
  %388 = add nsw i64 %387, -1
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %384, ptr noundef nonnull %385, i64 noundef %388)
  %389 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 2)
  %390 = load i32, ptr %389, align 4, !tbaa !36
  %391 = icmp eq i32 %390, 3
  br i1 %391, label %396, label %392

392:                                              ; preds = %382
  %393 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 2)
  %394 = load i32, ptr %393, align 4, !tbaa !36
  %395 = icmp eq i32 %394, 5402
  br i1 %395, label %396, label %552

396:                                              ; preds = %392, %382
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #6
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %22, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 noundef %383)
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %22, i16 noundef zeroext 2, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #6
  br label %552

397:                                              ; preds = %379
  %398 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %399 = icmp eq i32 %398, 59
  br i1 %399, label %400, label %433

400:                                              ; preds = %397
  %401 = call noundef i64 @_ZNK8libspirv15MutableBytecode8Iterator8toOffsetEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  %402 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %403 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %404 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %405 = zext i16 %404 to i64
  %406 = add nsw i64 %405, -1
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %402, ptr noundef nonnull %403, i64 noundef %406)
  %407 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 3)
  %408 = load i32, ptr %407, align 4, !tbaa !36
  %409 = icmp eq i32 %408, 5402
  br i1 %409, label %410, label %415

410:                                              ; preds = %400
  %411 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %412 = load i32, ptr %411, align 4, !tbaa !36
  store i32 %412, ptr %161, align 4, !tbaa !47
  %413 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 2)
  %414 = load i32, ptr %413, align 4, !tbaa !36
  store i32 %414, ptr %162, align 8, !tbaa !48
  br label %415

415:                                              ; preds = %410, %400
  %416 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 3)
  %417 = load i32, ptr %416, align 4, !tbaa !36
  %418 = icmp eq i32 %417, 3
  br i1 %418, label %423, label %419

419:                                              ; preds = %415
  %420 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 3)
  %421 = load i32, ptr %420, align 4, !tbaa !36
  %422 = icmp eq i32 %421, 5402
  br i1 %422, label %423, label %424

423:                                              ; preds = %419, %415
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #6
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %23, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 noundef %401)
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %23, i16 noundef zeroext 3, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #6
  br label %424

424:                                              ; preds = %423, %419
  %425 = load i8, ptr %87, align 8, !tbaa !31, !range !33, !noundef !34
  %426 = trunc nuw i8 %425 to i1
  br i1 %426, label %427, label %552

427:                                              ; preds = %424
  %428 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 2)
  %429 = load i32, ptr %428, align 4, !tbaa !36
  %430 = load i32, ptr %131, align 4, !tbaa !35
  %431 = icmp eq i32 %429, %430
  br i1 %431, label %432, label %552

432:                                              ; preds = %427
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #6
  call void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %24, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 noundef %401)
  call void @_ZN8libspirv15MutableBytecode8Iterator8setToNopEv(ptr noundef nonnull align 8 dereferenceable(24) %24)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #6
  br label %552

433:                                              ; preds = %397
  %434 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %435 = icmp ne i32 %434, 54
  %brmerge = select i1 %435, i1 true, i1 %.0390
  br i1 %brmerge, label %437, label %436

436:                                              ; preds = %433
  call void @_ZN13MeshConverter13emitConstantsERN8libspirv15MutableBytecodeE(ptr noundef nonnull align 8 dereferenceable(425) %0, ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @_ZN13MeshConverter11emitEngSsboERN8libspirv15MutableBytecodeEN3spv14ExecutionModelE(ptr noundef nonnull align 8 dereferenceable(425) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef 5)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #6
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %25, ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %25, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #6
  br label %437

437:                                              ; preds = %433, %436
  %.1 = phi i1 [ true, %436 ], [ %.0390, %433 ]
  %438 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %439 = icmp eq i32 %438, 5295
  br i1 %439, label %440, label %465

440:                                              ; preds = %437
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %26) #6
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %26, ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext 9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %26, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #6
  %441 = call noundef i32 @_ZN8libspirv15MutableBytecode9OpTypeIntERNS0_8IteratorEtb(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %3, i16 noundef zeroext 32, i1 noundef zeroext false)
  %442 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 7, i32 noundef %441)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #6
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %27, ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #6
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %28, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %443 = call noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %3, ptr noundef nonnull align 8 dereferenceable(12) %28)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #6
  br i1 %443, label %.lr.ph381, label %._crit_edge382

.lr.ph381:                                        ; preds = %440, %455
  %444 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %3)
  %445 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %444)
  %446 = icmp eq i32 %445, 54
  br i1 %446, label %447, label %448

447:                                              ; preds = %.lr.ph381
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #6
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %29, ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(24) %29, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #6
  br label %448

448:                                              ; preds = %447, %.lr.ph381
  %449 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %3)
  %450 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %449)
  %451 = icmp eq i32 %450, 248
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %30) #6
  br i1 %451, label %452, label %.critedge6

452:                                              ; preds = %448
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %30, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %453 = call noundef zeroext i1 @_ZN8libspirveqERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %27, ptr noundef nonnull align 8 dereferenceable(12) %30)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #6
  br i1 %453, label %454, label %455

454:                                              ; preds = %452
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(24) %3, i64 24, i1 false)
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %27)
  br label %455

.critedge6:                                       ; preds = %448
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #6
  br label %455

455:                                              ; preds = %452, %454, %.critedge6
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #6
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %28, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %456 = call noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %3, ptr noundef nonnull align 8 dereferenceable(12) %28)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #6
  br i1 %456, label %.lr.ph381, label %._crit_edge382, !llvm.loop !49

._crit_edge382:                                   ; preds = %455, %440
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %27, i64 24, i1 false)
  %457 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %458 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %31) #6
  store i32 %442, ptr %31, align 4, !tbaa !36
  store i32 %457, ptr %151, align 4, !tbaa !36
  store i32 7, ptr %152, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 59, ptr nonnull %31, i64 3)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %31) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %32) #6
  store i32 %442, ptr %32, align 4, !tbaa !36
  store i32 %458, ptr %153, align 4, !tbaa !36
  store i32 7, ptr %154, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 59, ptr nonnull %32, i64 3)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %32) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #6
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %33, ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %33, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #6
  store i32 %457, ptr %34, align 4, !tbaa !36
  %459 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %460 = load i32, ptr %459, align 4, !tbaa !36
  store i32 %460, ptr %155, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 62, ptr nonnull %34, i64 2)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #6
  store i32 %458, ptr %35, align 4, !tbaa !36
  %461 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 2)
  %462 = load i32, ptr %461, align 4, !tbaa !36
  store i32 %462, ptr %156, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 62, ptr nonnull %35, i64 2)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #6
  %463 = call noundef i32 @_ZN8libspirv15MutableBytecode10OpTypeVoidERNS0_8IteratorE(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %3)
  %464 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %36) #6
  store i32 %463, ptr %36, align 4, !tbaa !36
  store i32 %464, ptr %157, align 4, !tbaa !36
  store i32 %.0345, ptr %158, align 4, !tbaa !36
  store i32 %457, ptr %159, align 4, !tbaa !36
  store i32 %458, ptr %160, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 57, ptr nonnull %36, i64 5)
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %36) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #6
  br label %552

465:                                              ; preds = %437
  %466 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %467 = icmp eq i32 %466, 5294
  br i1 %467, label %468, label %498

468:                                              ; preds = %465
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %37) #6
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %37, ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext 9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %37, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #6
  %469 = call noundef i32 @_ZN8libspirv15MutableBytecode9OpTypeIntERNS0_8IteratorEtb(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %3, i16 noundef zeroext 32, i1 noundef zeroext false)
  %470 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 7, i32 noundef %469)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %38) #6
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %38, ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %39) #6
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %39, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %471 = call noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %3, ptr noundef nonnull align 8 dereferenceable(12) %39)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #6
  br i1 %471, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %468, %483
  %472 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %3)
  %473 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %472)
  %474 = icmp eq i32 %473, 54
  br i1 %474, label %475, label %476

475:                                              ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %40) #6
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %40, ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %40, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #6
  br label %476

476:                                              ; preds = %475, %.lr.ph
  %477 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %3)
  %478 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %477)
  %479 = icmp eq i32 %478, 248
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %41) #6
  br i1 %479, label %480, label %.critedge8

480:                                              ; preds = %476
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %41, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %481 = call noundef zeroext i1 @_ZN8libspirveqERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %38, ptr noundef nonnull align 8 dereferenceable(12) %41)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %41) #6
  br i1 %481, label %482, label %483

482:                                              ; preds = %480
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %3, i64 24, i1 false)
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %38)
  br label %483

.critedge8:                                       ; preds = %476
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %41) #6
  br label %483

483:                                              ; preds = %480, %482, %.critedge8
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %39) #6
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %39, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %484 = call noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %3, ptr noundef nonnull align 8 dereferenceable(12) %39)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #6
  br i1 %484, label %.lr.ph, label %._crit_edge, !llvm.loop !50

._crit_edge:                                      ; preds = %483, %468
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %38, i64 24, i1 false)
  %485 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %486 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %487 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %42) #6
  store i32 %470, ptr %42, align 4, !tbaa !36
  store i32 %485, ptr %136, align 4, !tbaa !36
  store i32 7, ptr %137, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 59, ptr nonnull %42, i64 3)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %42) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %43) #6
  store i32 %470, ptr %43, align 4, !tbaa !36
  store i32 %486, ptr %138, align 4, !tbaa !36
  store i32 7, ptr %139, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 59, ptr nonnull %43, i64 3)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %43) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %44) #6
  store i32 %470, ptr %44, align 4, !tbaa !36
  store i32 %487, ptr %140, align 4, !tbaa !36
  store i32 7, ptr %141, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 59, ptr nonnull %44, i64 3)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %44) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %45) #6
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %45, ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %45, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %45) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %46) #6
  store i32 %485, ptr %46, align 4, !tbaa !36
  %488 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %489 = load i32, ptr %488, align 4, !tbaa !36
  store i32 %489, ptr %142, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 62, ptr nonnull %46, i64 2)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %46) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %47) #6
  store i32 %486, ptr %47, align 4, !tbaa !36
  %490 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 2)
  %491 = load i32, ptr %490, align 4, !tbaa !36
  store i32 %491, ptr %143, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 62, ptr nonnull %47, i64 2)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %48) #6
  store i32 %487, ptr %48, align 4, !tbaa !36
  %492 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 3)
  %493 = load i32, ptr %492, align 4, !tbaa !36
  store i32 %493, ptr %144, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 62, ptr nonnull %48, i64 2)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #6
  %494 = call noundef i32 @_ZN8libspirv15MutableBytecode10OpTypeVoidERNS0_8IteratorE(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %3)
  %495 = call noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %49) #6
  store i32 %494, ptr %49, align 4, !tbaa !36
  store i32 %495, ptr %145, align 4, !tbaa !36
  store i32 %.0346, ptr %146, align 4, !tbaa !36
  store i32 %485, ptr %147, align 4, !tbaa !36
  store i32 %486, ptr %148, align 4, !tbaa !36
  store i32 %487, ptr %149, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 57, ptr nonnull %49, i64 6)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #6
  call void @_ZNSt16initializer_listIjEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %50) #6
  %496 = load ptr, ptr %50, align 8
  %497 = load i64, ptr %150, align 8
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 253, ptr %496, i64 %497)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #6
  br label %552

498:                                              ; preds = %465
  %499 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %500 = icmp eq i32 %499, 65
  br i1 %500, label %501, label %524

501:                                              ; preds = %498
  %502 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 3)
  %503 = load i32, ptr %502, align 4, !tbaa !36
  %504 = load i32, ptr %132, align 8, !tbaa !40
  %505 = icmp eq i32 %503, %504
  br i1 %505, label %506, label %511

506:                                              ; preds = %501
  %507 = load ptr, ptr %83, align 8, !tbaa !5
  %508 = call noundef i64 @_ZNK8libspirv8Bytecode8toOffsetERKNS0_6OpCodeE(ptr noundef nonnull align 8 dereferenceable(20) %507, ptr noundef nonnull align 4 dereferenceable(4) %174)
  %509 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 2)
  %510 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %135, ptr noundef nonnull align 4 dereferenceable(4) %509)
  store i64 %508, ptr %510, align 8, !tbaa !37
  br label %552

511:                                              ; preds = %501
  %512 = load i8, ptr %97, align 1, !tbaa !32, !range !33, !noundef !34
  %513 = trunc nuw i8 %512 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %51) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %52) #6
  br i1 %513, label %.critedge10, label %514

514:                                              ; preds = %511
  %515 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 3)
  %516 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56) %133, ptr noundef nonnull align 4 dereferenceable(4) %515)
  store ptr %516, ptr %51, align 8
  %517 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %133) #6
  store ptr %517, ptr %52, align 8
  %518 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN13MeshConverter7VaryingEELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 8 dereferenceable(8) %52) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %51) #6
  br i1 %518, label %519, label %524

519:                                              ; preds = %514
  %520 = load ptr, ptr %83, align 8, !tbaa !5
  %521 = call noundef i64 @_ZNK8libspirv8Bytecode8toOffsetERKNS0_6OpCodeE(ptr noundef nonnull align 8 dereferenceable(20) %520, ptr noundef nonnull align 4 dereferenceable(4) %174)
  %522 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 2)
  %523 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %134, ptr noundef nonnull align 4 dereferenceable(4) %522)
  store i64 %521, ptr %523, align 8, !tbaa !37
  br label %552

.critedge10:                                      ; preds = %511
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %51) #6
  br label %524

524:                                              ; preds = %514, %.critedge10, %498
  %525 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %526 = icmp eq i32 %525, 62
  br i1 %526, label %527, label %546

527:                                              ; preds = %524
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %53) #6
  %528 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %529 = load i32, ptr %528, align 4, !tbaa !36
  store i32 %529, ptr %53, align 4, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %54) #6
  %530 = call ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) %135, ptr noundef nonnull align 4 dereferenceable(4) %53)
  store ptr %530, ptr %54, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %55) #6
  %531 = call ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %135) #6
  store ptr %531, ptr %55, align 8
  %532 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjmELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef nonnull align 8 dereferenceable(8) %55) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %55) #6
  br i1 %532, label %.thread373, label %537

.thread373:                                       ; preds = %527
  %533 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKjmELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %54) #6
  %534 = getelementptr inbounds i8, ptr %533, i64 8
  %535 = load i64, ptr %534, align 8, !tbaa !51
  %536 = trunc i64 %535 to i32
  call void @_ZN13MeshConverter12emitIboStoreERN8libspirv15MutableBytecodeERNS1_8IteratorERKNS0_8Bytecode6OpCodeEj(ptr noundef nonnull align 8 dereferenceable(425) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(4) %174, i32 noundef %536)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %54) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #6
  br label %552

537:                                              ; preds = %527
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %54) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %56) #6
  %538 = call ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) %134, ptr noundef nonnull align 4 dereferenceable(4) %53)
  store ptr %538, ptr %56, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %57) #6
  %539 = call ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %134) #6
  store ptr %539, ptr %57, align 8
  %540 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjmELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(8) %57) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %57) #6
  br i1 %540, label %541, label %.thread376

.thread376:                                       ; preds = %537
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %56) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #6
  br label %546

541:                                              ; preds = %537
  %542 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKjmELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %56) #6
  %543 = getelementptr inbounds i8, ptr %542, i64 8
  %544 = load i64, ptr %543, align 8, !tbaa !51
  %545 = trunc i64 %544 to i32
  call void @_ZN13MeshConverter12emitVboStoreERN8libspirv15MutableBytecodeERNS1_8IteratorERKNS0_8Bytecode6OpCodeEj(ptr noundef nonnull align 8 dereferenceable(425) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(4) %174, i32 noundef %545)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %56) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #6
  br label %552

546:                                              ; preds = %.thread376, %524
  %547 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %548 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %174, i16 noundef zeroext 1)
  %549 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %174)
  %550 = zext i16 %549 to i64
  %551 = add nsw i64 %550, -1
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %547, ptr noundef nonnull %548, i64 noundef %551)
  br label %552

552:                                              ; preds = %541, %.thread373, %424, %427, %432, %392, %396, %365, %375, %346, %349, %354, %342, %361, %358, %305, %298, %290, %274, %278, %282, %220, %216, %212, %185, %193, %546, %519, %506, %._crit_edge, %._crit_edge382, %._crit_edge387, %229, %181
  %.2 = phi i1 [ %.0390, %181 ], [ %.0390, %229 ], [ %.0390, %._crit_edge387 ], [ %.1, %._crit_edge382 ], [ %.1, %._crit_edge ], [ %.1, %506 ], [ %.1, %546 ], [ %.1, %541 ], [ %.1, %519 ], [ %.0390, %193 ], [ %.0390, %185 ], [ %.0390, %212 ], [ %.0390, %216 ], [ %.0390, %220 ], [ %.0390, %282 ], [ %.0390, %278 ], [ %.0390, %274 ], [ %.0390, %290 ], [ %.0390, %298 ], [ %.0390, %305 ], [ %.0390, %358 ], [ %.0390, %361 ], [ %.0390, %342 ], [ %.0390, %354 ], [ %.0390, %349 ], [ %.0390, %346 ], [ %.0390, %375 ], [ %.0390, %365 ], [ %.0390, %396 ], [ %.0390, %392 ], [ %.0390, %432 ], [ %.0390, %427 ], [ %.0390, %424 ], [ %.1, %.thread373 ]
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %4)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  %553 = load ptr, ptr %83, align 8, !tbaa !5
  %554 = call { ptr, i32 } @_ZNK8libspirv8Bytecode3endEv(ptr noundef nonnull align 8 dereferenceable(20) %553)
  %.fca.0.extract = extractvalue { ptr, i32 } %554, 0
  %.fca.1.extract = extractvalue { ptr, i32 } %554, 1
  store ptr %.fca.0.extract, ptr %5, align 8
  store i32 %.fca.1.extract, ptr %.sroa.2242.0..sroa_idx, align 8
  %555 = call noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull align 8 dereferenceable(12) %5)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  br i1 %555, label %173, label %._crit_edge393, !llvm.loop !53

556:                                              ; preds = %._crit_edge393
  %557 = load i8, ptr %87, align 8, !tbaa !31, !range !33, !noundef !34
  %558 = trunc nuw i8 %557 to i1
  br i1 %558, label %559, label %569

559:                                              ; preds = %556
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %58) #6
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %58, ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext 9)
  %560 = call noundef i32 @_ZN8libspirv15MutableBytecode9OpTypeIntERNS0_8IteratorEtb(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %58, i16 noundef zeroext 32, i1 noundef zeroext false)
  %561 = call noundef i32 @_ZN8libspirv15MutableBytecode12OpTypeVectorERNS0_8IteratorEjj(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %58, i32 noundef %560, i32 noundef 3)
  %562 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %58, i32 noundef 6, i32 noundef %560)
  %563 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %58, i32 noundef 6, i32 noundef %561)
  %564 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %58, i32 noundef 1, i32 noundef %560)
  %565 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %58, i32 noundef 1, i32 noundef %561)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %59) #6
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %59, ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext 9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %58, ptr noundef nonnull align 8 dereferenceable(24) %59, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %59) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %60) #6
  store i32 %563, ptr %60, align 4, !tbaa !36
  %566 = getelementptr inbounds i8, ptr %60, i64 4
  %567 = load i32, ptr %171, align 4, !tbaa !35
  store i32 %567, ptr %566, align 4, !tbaa !36
  %568 = getelementptr inbounds i8, ptr %60, i64 8
  store i32 6, ptr %568, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %58, i32 noundef 59, ptr nonnull %60, i64 3)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %60) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %58) #6
  br label %569

569:                                              ; preds = %559, %556, %._crit_edge393
  %.0360 = phi i32 [ %564, %559 ], [ 0, %556 ], [ 0, %._crit_edge393 ]
  %.0359 = phi i32 [ %562, %559 ], [ 0, %556 ], [ 0, %._crit_edge393 ]
  %.0358 = phi i32 [ %565, %559 ], [ 0, %556 ], [ 0, %._crit_edge393 ]
  %.0356 = phi i32 [ %563, %559 ], [ 0, %556 ], [ 0, %._crit_edge393 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %61) #6
  call void @_ZN8libspirv15MutableBytecode5beginEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %61, ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %62) #6
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %62, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %570 = call noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %61, ptr noundef nonnull align 8 dereferenceable(12) %62)
  br i1 %570, label %.lr.ph395, label %._crit_edge396

.lr.ph395:                                        ; preds = %569
  %571 = getelementptr inbounds i8, ptr %0, i64 148
  %572 = getelementptr inbounds i8, ptr %0, i64 152
  %573 = getelementptr inbounds i8, ptr %0, i64 320
  br label %577

._crit_edge396:                                   ; preds = %657, %569
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %62) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %61) #6
  call void @_ZN8libspirv15MutableBytecode10removeNopsEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %574 = getelementptr inbounds i8, ptr %0, i64 140
  %575 = load i32, ptr %574, align 4, !tbaa !54
  %576 = icmp eq i32 %575, 0
  br i1 %576, label %659, label %668

577:                                              ; preds = %.lr.ph395, %657
  %578 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %61)
  %579 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %578)
  %580 = icmp eq i32 %579, 71
  br i1 %580, label %581, label %591

581:                                              ; preds = %577
  %582 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %578, i16 noundef zeroext 1)
  %583 = load i32, ptr %582, align 4, !tbaa !36
  %584 = load i32, ptr %571, align 4, !tbaa !55
  %585 = icmp eq i32 %583, %584
  br i1 %585, label %586, label %591

586:                                              ; preds = %581
  %587 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %578, i16 noundef zeroext 2)
  %588 = load i32, ptr %587, align 4, !tbaa !36
  %589 = icmp eq i32 %588, 2
  br i1 %589, label %590, label %591

590:                                              ; preds = %586
  call void @_ZN8libspirv15MutableBytecode8Iterator8setToNopEv(ptr noundef nonnull align 8 dereferenceable(24) %61)
  br label %591

591:                                              ; preds = %590, %586, %581, %577
  %592 = load i8, ptr %97, align 1, !tbaa !32, !range !33, !noundef !34
  %593 = trunc nuw i8 %592 to i1
  %594 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %578)
  %595 = icmp eq i32 %594, 5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %63) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %64) #6
  br i1 %595, label %596, label %.critedge12

596:                                              ; preds = %591
  %597 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %578, i16 noundef zeroext 1)
  %598 = load i32, ptr %597, align 4, !tbaa !36
  %599 = load i32, ptr %572, align 8, !tbaa !40
  %600 = icmp eq i32 %598, %599
  br i1 %600, label %.critedge14, label %601

601:                                              ; preds = %596
  br i1 %593, label %.critedge12, label %602

602:                                              ; preds = %601
  %603 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %578, i16 noundef zeroext 1)
  %604 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56) %573, ptr noundef nonnull align 4 dereferenceable(4) %603)
  store ptr %604, ptr %63, align 8
  %605 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %573) #6
  store ptr %605, ptr %64, align 8
  %606 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN13MeshConverter7VaryingEELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(8) %64) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %64) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %63) #6
  br i1 %606, label %607, label %608

.critedge14:                                      ; preds = %596
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %64) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %63) #6
  br label %607

607:                                              ; preds = %.critedge14, %602
  call void @_ZN8libspirv15MutableBytecode8Iterator8setToNopEv(ptr noundef nonnull align 8 dereferenceable(24) %61)
  br label %608

.critedge12:                                      ; preds = %601, %591
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %64) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %63) #6
  br label %608

608:                                              ; preds = %.critedge12, %607, %602
  %609 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %578)
  %610 = icmp eq i32 %609, 71
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %65) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %66) #6
  br i1 %610, label %611, label %.critedge16

611:                                              ; preds = %608
  %612 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %578, i16 noundef zeroext 1)
  %613 = load i32, ptr %612, align 4, !tbaa !36
  %614 = load i32, ptr %572, align 8, !tbaa !40
  %615 = icmp eq i32 %613, %614
  br i1 %615, label %.critedge18, label %616

616:                                              ; preds = %611
  br i1 %593, label %.critedge16, label %617

617:                                              ; preds = %616
  %618 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %578, i16 noundef zeroext 1)
  %619 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56) %573, ptr noundef nonnull align 4 dereferenceable(4) %618)
  store ptr %619, ptr %65, align 8
  %620 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %573) #6
  store ptr %620, ptr %66, align 8
  %621 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN13MeshConverter7VaryingEELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 8 dereferenceable(8) %66) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %66) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %65) #6
  br i1 %621, label %622, label %623

.critedge18:                                      ; preds = %611
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %66) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %65) #6
  br label %622

622:                                              ; preds = %.critedge18, %617
  call void @_ZN8libspirv15MutableBytecode8Iterator8setToNopEv(ptr noundef nonnull align 8 dereferenceable(24) %61)
  br label %623

.critedge16:                                      ; preds = %616, %608
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %66) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %65) #6
  br label %623

623:                                              ; preds = %.critedge16, %622, %617
  %624 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %578)
  %625 = icmp eq i32 %624, 59
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %67) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %68) #6
  br i1 %625, label %626, label %.critedge20

626:                                              ; preds = %623
  %627 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %578, i16 noundef zeroext 2)
  %628 = load i32, ptr %627, align 4, !tbaa !36
  %629 = load i32, ptr %572, align 8, !tbaa !40
  %630 = icmp eq i32 %628, %629
  br i1 %630, label %.critedge22, label %631

631:                                              ; preds = %626
  br i1 %593, label %.critedge20, label %632

632:                                              ; preds = %631
  %633 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %578, i16 noundef zeroext 2)
  %634 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56) %573, ptr noundef nonnull align 4 dereferenceable(4) %633)
  store ptr %634, ptr %67, align 8
  %635 = call ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %573) #6
  store ptr %635, ptr %68, align 8
  %636 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN13MeshConverter7VaryingEELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull align 8 dereferenceable(8) %68) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %68) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %67) #6
  br i1 %636, label %637, label %638

.critedge22:                                      ; preds = %626
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %68) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %67) #6
  br label %637

637:                                              ; preds = %.critedge22, %632
  call void @_ZN8libspirv15MutableBytecode8Iterator8setToNopEv(ptr noundef nonnull align 8 dereferenceable(24) %61)
  br label %638

.critedge20:                                      ; preds = %631, %623
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %68) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %67) #6
  br label %638

638:                                              ; preds = %.critedge20, %637, %632
  %639 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %578)
  %640 = icmp eq i32 %639, 65
  br i1 %640, label %641, label %657

641:                                              ; preds = %638
  %642 = load i8, ptr %87, align 8, !tbaa !31, !range !33, !noundef !34
  %643 = trunc nuw i8 %642 to i1
  br i1 %643, label %644, label %657

644:                                              ; preds = %641
  %645 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %578, i16 noundef zeroext 3)
  %646 = load i32, ptr %645, align 4, !tbaa !36
  %647 = load i32, ptr %171, align 4, !tbaa !35
  %648 = icmp eq i32 %646, %647
  br i1 %648, label %649, label %657

649:                                              ; preds = %644
  %650 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %578, i16 noundef zeroext 1)
  %651 = load i32, ptr %650, align 4, !tbaa !36
  %652 = icmp eq i32 %651, %.0360
  br i1 %652, label %.sink.split, label %653

653:                                              ; preds = %649
  %654 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %578, i16 noundef zeroext 1)
  %655 = load i32, ptr %654, align 4, !tbaa !36
  %656 = icmp eq i32 %655, %.0358
  br i1 %656, label %.sink.split, label %657

.sink.split:                                      ; preds = %653, %649
  %.0359.sink = phi i32 [ %.0359, %649 ], [ %.0356, %653 ]
  call void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24) %61, i16 noundef zeroext 1, i32 noundef %.0359.sink)
  br label %657

657:                                              ; preds = %.sink.split, %653, %644, %641, %638
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %61)
  %658 = call noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %61, ptr noundef nonnull align 8 dereferenceable(12) %62)
  br i1 %658, label %577, label %._crit_edge396, !llvm.loop !56

659:                                              ; preds = %._crit_edge396
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %69) #6
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %69, ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext 9)
  %660 = call noundef i32 @_ZN8libspirv15MutableBytecode9OpTypeIntERNS0_8IteratorEtb(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %69, i16 noundef zeroext 32, i1 noundef zeroext false)
  %661 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %69, i32 noundef 1, i32 noundef %660)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %70) #6
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %70, ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext 9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %69, ptr noundef nonnull align 8 dereferenceable(24) %70, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %70) #6
  %662 = call noundef i32 @_ZN8libspirv15MutableBytecode10OpVariableERNS0_8IteratorEjN3spv12StorageClassE(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %69, i32 noundef %661, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %71) #6
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %71, ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext 7)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %69, ptr noundef nonnull align 8 dereferenceable(24) %71, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %71) #6
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEjPKc(ptr noundef nonnull align 8 dereferenceable(24) %69, i32 noundef 5, i32 noundef %662, ptr noundef nonnull @.str.3)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %72) #6
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %72, ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext 8)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %69, ptr noundef nonnull align 8 dereferenceable(24) %72, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %72) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %73) #6
  store i32 %662, ptr %73, align 4, !tbaa !36
  %663 = getelementptr inbounds i8, ptr %73, i64 4
  store i32 11, ptr %663, align 4, !tbaa !36
  %664 = getelementptr inbounds i8, ptr %73, i64 8
  store i32 29, ptr %664, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %69, i32 noundef 71, ptr nonnull %73, i64 3)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %73) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %74) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %75, ptr noundef @.str.4) #6
  %665 = load i64, ptr %75, align 8
  %666 = getelementptr inbounds i8, ptr %75, i64 8
  %667 = load ptr, ptr %666, align 8
  call void @_ZN8libspirv15MutableBytecode16findOpEntryPointEN3spv14ExecutionModelESt17basic_string_viewIcSt11char_traitsIcEE(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %74, ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef 5, i64 %665, ptr %667)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %69, ptr noundef nonnull align 8 dereferenceable(24) %74, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %74) #6
  call void @_ZN8libspirv15MutableBytecode8Iterator6appendEj(ptr noundef nonnull align 8 dereferenceable(24) %69, i32 noundef %662)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %69) #6
  br label %668

668:                                              ; preds = %659, %._crit_edge396
  %.0357 = phi i32 [ %662, %659 ], [ %575, %._crit_edge396 ]
  %669 = load i32, ptr %171, align 4, !tbaa !35
  %670 = icmp eq i32 %669, 0
  br i1 %670, label %674, label %671

671:                                              ; preds = %668
  %672 = load i8, ptr %87, align 8, !tbaa !31, !range !33, !noundef !34
  %673 = trunc nuw i8 %672 to i1
  br i1 %673, label %674, label %684

674:                                              ; preds = %671, %668
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %76) #6
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %76, ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext 9)
  %675 = call noundef i32 @_ZN8libspirv15MutableBytecode9OpTypeIntERNS0_8IteratorEtb(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %76, i16 noundef zeroext 32, i1 noundef zeroext false)
  %676 = call noundef i32 @_ZN8libspirv15MutableBytecode12OpTypeVectorERNS0_8IteratorEjj(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %76, i32 noundef %675, i32 noundef 3)
  %677 = call noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %76, i32 noundef 1, i32 noundef %676)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %77) #6
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %77, ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext 9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef nonnull align 8 dereferenceable(24) %77, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %77) #6
  %678 = call noundef i32 @_ZN8libspirv15MutableBytecode10OpVariableERNS0_8IteratorEjN3spv12StorageClassE(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %76, i32 noundef %677, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %78) #6
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %78, ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext 7)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef nonnull align 8 dereferenceable(24) %78, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %78) #6
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEjPKc(ptr noundef nonnull align 8 dereferenceable(24) %76, i32 noundef 5, i32 noundef %678, ptr noundef nonnull @.str.5)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %79) #6
  call void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %79, ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext 8)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef nonnull align 8 dereferenceable(24) %79, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %79) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %80) #6
  store i32 %678, ptr %80, align 4, !tbaa !36
  %679 = getelementptr inbounds i8, ptr %80, i64 4
  store i32 11, ptr %679, align 4, !tbaa !36
  %680 = getelementptr inbounds i8, ptr %80, i64 8
  store i32 26, ptr %680, align 4, !tbaa !36
  call void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24) %76, i32 noundef 71, ptr nonnull %80, i64 3)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %80) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %81) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %82, ptr noundef @.str.4) #6
  %681 = load i64, ptr %82, align 8
  %682 = getelementptr inbounds i8, ptr %82, i64 8
  %683 = load ptr, ptr %682, align 8
  call void @_ZN8libspirv15MutableBytecode16findOpEntryPointEN3spv14ExecutionModelESt17basic_string_viewIcSt11char_traitsIcEE(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %81, ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef 5, i64 %681, ptr %683)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef nonnull align 8 dereferenceable(24) %81, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %81) #6
  call void @_ZN8libspirv15MutableBytecode8Iterator6appendEj(ptr noundef nonnull align 8 dereferenceable(24) %76, i32 noundef %678)
  store i32 %678, ptr %171, align 4, !tbaa !35
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %76) #6
  br label %684

684:                                              ; preds = %674, %671
  %.0349 = phi i32 [ %678, %674 ], [ %669, %671 ]
  %.not363 = icmp eq i32 %.0346, 0
  br i1 %.not363, label %686, label %685

685:                                              ; preds = %684
  call void @_ZN13MeshConverter17emitEmitMeshTasksERN8libspirv15MutableBytecodeEjj(ptr noundef nonnull align 8 dereferenceable(425) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %.0346, i32 noundef %.0357)
  br label %686

686:                                              ; preds = %685, %684
  %.not364 = icmp eq i32 %.0345, 0
  br i1 %.not364, label %688, label %687

687:                                              ; preds = %686
  call void @_ZN13MeshConverter18emitSetMeshOutputsERN8libspirv15MutableBytecodeEjjj(ptr noundef nonnull align 8 dereferenceable(425) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %.0345, i32 noundef %.0357, i32 noundef %.0349)
  br label %688

688:                                              ; preds = %687, %686
  %.not365 = icmp eq i32 %.0347, 0
  br i1 %.not365, label %690, label %689

689:                                              ; preds = %688
  call void @_ZN13MeshConverter14emitPayoadLoadERN8libspirv15MutableBytecodeEj(ptr noundef nonnull align 8 dereferenceable(425) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %.0347)
  br label %690

690:                                              ; preds = %689, %688
  %.not366 = icmp eq i32 %.0348, 0
  br i1 %.not366, label %692, label %691

691:                                              ; preds = %690
  call void @_ZN13MeshConverter13emitTailStoreERN8libspirv15MutableBytecodeEjj(ptr noundef nonnull align 8 dereferenceable(425) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %.0348, i32 noundef %.0357)
  br label %692

692:                                              ; preds = %691, %690
  call void @_ZN13MeshConverter11emitEngMainERN8libspirv15MutableBytecodeEjjj(ptr noundef nonnull align 8 dereferenceable(425) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %96, i32 noundef %.0347, i32 noundef %.0348)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  ret void
}

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

declare { ptr, i32 } @_ZNK8libspirv8Bytecode5beginEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

declare { ptr, i32 } @_ZNK8libspirv8Bytecode3endEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #4 align 2

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

declare noundef i32 @_ZNK8libspirv8Bytecode18findExecutionModelEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #2

declare void @_ZN8libspirv15MutableBytecode15setSpirvVersionEj(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #2

declare noundef i32 @_ZNK8libspirv8Bytecode12spirvVersionEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #2

declare noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEj(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #2

declare noundef i32 @_ZNK8libspirv8Bytecode5boundEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #2

declare noundef i32 @_ZN8libspirv15MutableBytecode13fetchAddBoundEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2

declare void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2

declare void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpESt16initializer_listIjE(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr, i64) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64, ptr, i64, ptr) local_unnamed_addr #4

declare noundef i64 @_ZNK8libspirv15MutableBytecode8Iterator8toOffsetEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

declare void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEPKjm(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

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

declare void @_ZN8libspirv15MutableBytecode10fromOffsetEm(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48), i64 noundef) local_unnamed_addr #2

declare void @_ZN8libspirv15MutableBytecode8Iterator3setEtj(ptr noundef nonnull align 8 dereferenceable(24), i16 noundef zeroext, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

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

declare void @_ZN8libspirv15MutableBytecode8Iterator8setToNopEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter13emitConstantsERN8libspirv15MutableBytecodeE(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter11emitEngSsboERN8libspirv15MutableBytecodeEN3spv14ExecutionModelE(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #0 align 2

declare void @_ZN8libspirv15MutableBytecode14findSectionEndENS_8Bytecode7SectionE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48), i8 noundef zeroext) local_unnamed_addr #2

declare noundef i32 @_ZN8libspirv15MutableBytecode9OpTypeIntERNS0_8IteratorEtb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), i16 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #2

declare noundef i32 @_ZN8libspirv15MutableBytecode13OpTypePointerERNS0_8IteratorEN3spv12StorageClassEj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8libspirveqERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #4

declare noundef i32 @_ZN8libspirv15MutableBytecode10OpTypeVoidERNS0_8IteratorE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

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

declare noundef i64 @_ZNK8libspirv8Bytecode8toOffsetERKNS0_6OpCodeE(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter12emitIboStoreERN8libspirv15MutableBytecodeERNS1_8IteratorERKNS0_8Bytecode6OpCodeEj(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter12emitVboStoreERN8libspirv15MutableBytecodeERNS1_8IteratorERKNS0_8Bytecode6OpCodeEj(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #0 align 2

declare noundef i32 @_ZN8libspirv15MutableBytecode12OpTypeVectorERNS0_8IteratorEjj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @_ZN8libspirv15MutableBytecode5beginEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2

declare void @_ZN8libspirv15MutableBytecode10removeNopsEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2

declare noundef i32 @_ZN8libspirv15MutableBytecode10OpVariableERNS0_8IteratorEjN3spv12StorageClassE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @_ZN8libspirv15MutableBytecode8Iterator6insertEN3spv2OpEjPKc(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN8libspirv15MutableBytecode16findOpEntryPointEN3spv14ExecutionModelESt17basic_string_viewIcSt11char_traitsIcEE(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i64, ptr) local_unnamed_addr #2

declare void @_ZN8libspirv15MutableBytecode8Iterator6appendEj(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter17emitEmitMeshTasksERN8libspirv15MutableBytecodeEjj(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter18emitSetMeshOutputsERN8libspirv15MutableBytecodeEjjj(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter14emitPayoadLoadERN8libspirv15MutableBytecodeEj(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter13emitTailStoreERN8libspirv15MutableBytecodeEjj(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13MeshConverter11emitEngMainERN8libspirv15MutableBytecodeEjjj(ptr noundef nonnull align 8 dereferenceable(425), ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i32 noundef, i32 noundef) 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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, !11, i64 8}
!6 = !{!"_ZTS13MeshConverter", !7, i64 0, !11, i64 8, !12, i64 16, !12, i64 64, !9, i64 112, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !15, i64 148, !15, i64 152, !15, i64 156, !15, i64 160, !15, i64 164, !15, i64 168, !15, i64 172, !15, i64 176, !15, i64 180, !15, i64 184, !15, i64 188, !15, i64 192, !15, i64 196, !15, i64 200, !20, i64 208, !20, i64 264, !25, i64 320, !27, i64 376, !15, i64 400, !15, i64 404, !15, i64 408, !15, i64 412, !15, i64 416, !15, i64 420, !8, i64 424}
!7 = !{!"_ZTSN13MeshConverter7OptionsE", !8, i64 0, !8, i64 1}
!8 = !{!"bool", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_ZTSN8libspirv15MutableBytecodeE", !13, i64 0, !16, i64 24}
!13 = !{!"_ZTSN8libspirv8BytecodeE", !11, i64 0, !14, i64 8, !15, i64 16}
!14 = !{!"long", !9, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!"_ZTSSt6vectorIN8libspirv8Bytecode6OpCodeESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN8libspirv8Bytecode6OpCodeESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN8libspirv8Bytecode6OpCodeESaIS2_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN8libspirv8Bytecode6OpCodeESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!20 = !{!"_ZTSSt13unordered_mapIjmSt4hashIjESt8equal_toIjESaISt4pairIKjmEEE", !21, i64 0}
!21 = !{!"_ZTSSt10_HashtableIjSt4pairIKjmESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !11, i64 0, !14, i64 8, !22, i64 16, !14, i64 24, !23, i64 32, !11, i64 48}
!22 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !11, i64 0}
!23 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !24, i64 0, !14, i64 8}
!24 = !{!"float", !9, i64 0}
!25 = !{!"_ZTSSt13unordered_mapIjN13MeshConverter7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !26, i64 0}
!26 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN13MeshConverter7VaryingEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !11, i64 0, !14, i64 8, !22, i64 16, !14, i64 24, !23, i64 32, !11, i64 48}
!27 = !{!"_ZTSSt6vectorIjSaIjEE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!31 = !{!6, !8, i64 424}
!32 = !{!6, !8, i64 1}
!33 = !{i8 0, i8 2}
!34 = !{}
!35 = !{!6, !15, i64 132}
!36 = !{!15, !15, i64 0}
!37 = !{!14, !14, i64 0}
!38 = !{!11, !11, i64 0}
!39 = !{!6, !15, i64 156}
!40 = !{!6, !15, i64 152}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}
!43 = !{!6, !15, i64 124}
!44 = !{!6, !15, i64 128}
!45 = !{!6, !15, i64 136}
!46 = !{!6, !15, i64 144}
!47 = !{!6, !15, i64 164}
!48 = !{!6, !15, i64 160}
!49 = distinct !{!49, !42}
!50 = distinct !{!50, !42}
!51 = !{!52, !14, i64 8}
!52 = !{!"_ZTSSt4pairIKjmE", !15, i64 0, !14, i64 8}
!53 = distinct !{!53, !42}
!54 = !{!6, !15, i64 140}
!55 = !{!6, !15, i64 148}
!56 = distinct !{!56, !42}


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