; LLVM IR from mhsitu/welding_robot :: coppeliaSim-client/common (scriptFunctionData)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%class.CScriptFunctionDataItem = type <{ ptr, %"class.std::vector.0", %"class.std::vector.4", %"class.std::vector.9", %"class.std::vector.14", %"class.std::vector.19", i32, i8, [3 x i8], i32, [4 x i8] }>
%"class.std::vector.0" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.14" = type { %"struct.std::_Vector_base.15" }
%"struct.std::_Vector_base.15" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Bit_const_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"class.std::allocator.24" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.27" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@simPopStackItem = external global ptr, align 8
@simGetStackSize = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@simSetLastError = external global ptr, align 8
@simMoveStackItemToTop = external global ptr, align 8
@simIsStackValueNull = external global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@simGetStackTableInfo = external global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [36 x i8], align 1
@simUnfoldStackTable = external global ptr, align 8
@simGetStackBoolValue = external global ptr, align 8
@simPushTableOntoStack = external global ptr, align 8
@simGetStackInt32Table = external global ptr, align 8
@simGetStackFloatTable = external global ptr, align 8
@simGetStackDoubleTable = external global ptr, align 8
@simGetStackStringValue = external global ptr, align 8
@simReleaseBuffer = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [20 x i8], align 1
@simGetStackInt32Value = external global ptr, align 8
@simGetStackFloatValue = external global ptr, align 8
@simGetStackDoubleValue = external global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #0

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN19CScriptFunctionData9_readDataEiPKiiPKcS3_S3_RSt6vectorI23CScriptFunctionDataItemSaIS5_EE(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef nonnull align 8 dereferenceable(24) %7) #2 align 2 personality ptr @__gxx_personality_v0 {
  %9 = alloca i1, align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i8, align 1
  %26 = alloca %class.CScriptFunctionDataItem, align 8
  %27 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca i32, align 4
  %30 = alloca i8, align 1
  %31 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca ptr, align 8
  %42 = alloca %class.CScriptFunctionDataItem, align 8
  %43 = alloca %"class.std::vector.0", align 8
  %44 = alloca i32, align 4
  %45 = alloca i8, align 1
  %46 = alloca %"struct.std::_Bit_const_iterator", align 8
  %47 = alloca %"struct.std::_Bit_iterator", align 8
  %48 = alloca { ptr, i32 }, align 8
  %49 = alloca i8, align 1
  %50 = alloca %"struct.std::_Bit_iterator", align 8
  %51 = alloca %class.CScriptFunctionDataItem, align 8
  %52 = alloca %"class.std::vector.4", align 8
  %53 = alloca %class.CScriptFunctionDataItem, align 8
  %54 = alloca %"class.std::vector.9", align 8
  %55 = alloca %class.CScriptFunctionDataItem, align 8
  %56 = alloca %"class.std::vector.14", align 8
  %57 = alloca %class.CScriptFunctionDataItem, align 8
  %58 = alloca %"class.std::vector.19", align 8
  %59 = alloca i32, align 4
  %60 = alloca i32, align 4
  %61 = alloca ptr, align 8
  %62 = alloca %"class.std::__cxx11::basic_string", align 8
  %63 = alloca %"class.std::allocator.24", align 1
  %64 = alloca %"class.__gnu_cxx::__normal_iterator.27", align 8
  %65 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %66 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %67 = alloca %class.CScriptFunctionDataItem, align 8
  %68 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %69 = alloca %"class.std::__cxx11::basic_string", align 8
  %70 = alloca i32, align 4
  %71 = alloca i8, align 1
  %72 = alloca %class.CScriptFunctionDataItem, align 8
  %73 = alloca i8, align 1
  %74 = alloca %class.CScriptFunctionDataItem, align 8
  %75 = alloca i32, align 4
  %76 = alloca %class.CScriptFunctionDataItem, align 8
  %77 = alloca float, align 4
  %78 = alloca %class.CScriptFunctionDataItem, align 8
  %79 = alloca double, align 8
  %80 = alloca %class.CScriptFunctionDataItem, align 8
  %81 = alloca i32, align 4
  %82 = alloca ptr, align 8
  %83 = alloca %"class.std::__cxx11::basic_string", align 8
  %84 = alloca %"class.std::allocator.24", align 1
  %85 = alloca %class.CScriptFunctionDataItem, align 8
  %86 = alloca i32, align 4
  %87 = alloca ptr, align 8
  %88 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %89 = alloca %"class.std::__cxx11::basic_string", align 8
  %90 = alloca %class.CScriptFunctionDataItem, align 8
  %91 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %92 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %10, align 8, !tbaa !5
  store i32 %1, ptr %11, align 4, !tbaa !9
  store ptr %2, ptr %12, align 8, !tbaa !5
  store i32 %3, ptr %13, align 4, !tbaa !9
  store ptr %4, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  %93 = load ptr, ptr %10, align 8
  %94 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %94) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %95 = load ptr, ptr @simGetStackSize, align 8, !tbaa !5
  %96 = load i32, ptr %11, align 4, !tbaa !9
  %97 = call noundef i32 %95(i32 noundef %96)
  store i32 %97, ptr %18, align 4, !tbaa !9
  %98 = load i32, ptr %18, align 4, !tbaa !9
  %99 = load i32, ptr %13, align 4, !tbaa !9
  %100 = icmp slt i32 %98, %99
  br i1 %100, label %101, label %127

101:                                              ; preds = %8
  call void @llvm.lifetime.start.p0(i64 376, ptr %19) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %19)
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef @.str.4)
          to label %103 unwind label %113

103:                                              ; preds = %101
  %104 = load ptr, ptr %15, align 8, !tbaa !5
  %105 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef %104)
          to label %106 unwind label %113

106:                                              ; preds = %103
  %107 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  %108 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #9
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %22, ptr noundef nonnull align 8 dereferenceable(112) %19)
          to label %109 unwind label %117

109:                                              ; preds = %106
  %110 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  %111 = invoke noundef i32 %107(ptr noundef %108, ptr noundef %110)
          to label %112 unwind label %121

112:                                              ; preds = %109
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #9
  store i1 false, ptr %9, align 1
  store i32 1, ptr %23, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %19) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %19) #9
  br label %989

113:                                              ; preds = %103, %101
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %20, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %21, align 4
  br label %126

117:                                              ; preds = %106
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %20, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %21, align 4
  br label %125

121:                                              ; preds = %109
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %20, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  br label %125

125:                                              ; preds = %121, %117
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #9
  br label %126

126:                                              ; preds = %125, %113
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %19) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %19) #9
  br label %991

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

128:                                              ; preds = %982, %127
  %129 = load i32, ptr %24, align 4, !tbaa !9
  %130 = load i32, ptr %18, align 4, !tbaa !9
  %131 = icmp slt i32 %129, %130
  br i1 %131, label %133, label %132

132:                                              ; preds = %128
  store i32 2, ptr %23, align 4
  br label %986

133:                                              ; preds = %128
  %134 = load i32, ptr %24, align 4, !tbaa !9
  %135 = load ptr, ptr %12, align 8, !tbaa !5
  %136 = getelementptr inbounds i32, ptr %135, i64 0
  %137 = load i32, ptr %136, align 4, !tbaa !9
  %138 = icmp sge i32 %134, %137
  br i1 %138, label %139, label %140

139:                                              ; preds = %133
  store i32 2, ptr %23, align 4
  br label %986

140:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #9
  store i8 0, ptr %25, align 1, !tbaa !11
  %141 = load ptr, ptr @simMoveStackItemToTop, align 8, !tbaa !5
  %142 = load i32, ptr %11, align 4, !tbaa !9
  %143 = call noundef i32 %141(i32 noundef %142, i32 noundef 0)
  %144 = load ptr, ptr @simIsStackValueNull, align 8, !tbaa !5
  %145 = load i32, ptr %11, align 4, !tbaa !9
  %146 = call noundef i32 %144(i32 noundef %145)
  %147 = icmp eq i32 %146, 1
  br i1 %147, label %148, label %204

148:                                              ; preds = %140
  %149 = load ptr, ptr %12, align 8, !tbaa !5
  %150 = load i32, ptr %24, align 4, !tbaa !9
  %151 = mul nsw i32 %150, 2
  %152 = add nsw i32 1, %151
  %153 = add nsw i32 %152, 0
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds i32, ptr %149, i64 %154
  %156 = load i32, ptr %155, align 4, !tbaa !9
  %157 = and i32 %156, 65536
  %158 = icmp ne i32 %157, 0
  br i1 %158, label %159, label %166

159:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 160, ptr %26) #9
  call void @_ZN23CScriptFunctionDataItemC1Ev(ptr noundef nonnull align 8 dereferenceable(156) %26)
  %160 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %160, ptr noundef nonnull align 8 dereferenceable(156) %26)
          to label %161 unwind label %162

161:                                              ; preds = %159
  store i8 1, ptr %25, align 1, !tbaa !11
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %26) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %26) #9
  br label %203

162:                                              ; preds = %159
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %20, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %21, align 4
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %26) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %26) #9
  br label %985

166:                                              ; preds = %148
  %167 = load ptr, ptr %17, align 8, !tbaa !5
  %168 = call noundef i64 @_ZNKSt6vectorI23CScriptFunctionDataItemSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %167) #9
  %169 = trunc i64 %168 to i32
  %170 = load i32, ptr %13, align 4, !tbaa !9
  %171 = icmp slt i32 %169, %170
  br i1 %171, label %172, label %202

172:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 376, ptr %27) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %27)
  %173 = load ptr, ptr %16, align 8, !tbaa !5
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef %173)
          to label %175 unwind label %188

175:                                              ; preds = %172
  %176 = load i32, ptr %24, align 4, !tbaa !9
  %177 = add nsw i32 %176, 1
  %178 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %174, i32 noundef %177)
          to label %179 unwind label %188

179:                                              ; preds = %175
  %180 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %178, ptr noundef @.str.5)
          to label %181 unwind label %188

181:                                              ; preds = %179
  %182 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  %183 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #9
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %28, ptr noundef nonnull align 8 dereferenceable(112) %27)
          to label %184 unwind label %192

184:                                              ; preds = %181
  %185 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  %186 = invoke noundef i32 %182(ptr noundef %183, ptr noundef %185)
          to label %187 unwind label %196

187:                                              ; preds = %184
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #9
  store i1 false, ptr %9, align 1
  store i32 1, ptr %23, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %27) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %27) #9
  br label %979

188:                                              ; preds = %179, %175, %172
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %20, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %21, align 4
  br label %201

192:                                              ; preds = %181
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %20, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %21, align 4
  br label %200

196:                                              ; preds = %184
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %20, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  br label %200

200:                                              ; preds = %196, %192
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #9
  br label %201

201:                                              ; preds = %200, %188
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %27) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %27) #9
  br label %985

202:                                              ; preds = %166
  store i32 2, ptr %23, align 4
  br label %979

203:                                              ; preds = %161
  br label %204

204:                                              ; preds = %203, %140
  %205 = load i8, ptr %25, align 1, !tbaa !11, !range !13, !noundef !14
  %206 = trunc i8 %205 to i1
  br i1 %206, label %975, label %207

207:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  %208 = load ptr, ptr @simGetStackTableInfo, align 8, !tbaa !5
  %209 = load i32, ptr %11, align 4, !tbaa !9
  %210 = call noundef i32 %208(i32 noundef %209, i32 noundef 0)
  store i32 %210, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #9
  %211 = load ptr, ptr %12, align 8, !tbaa !5
  %212 = load i32, ptr %24, align 4, !tbaa !9
  %213 = mul nsw i32 %212, 2
  %214 = add nsw i32 1, %213
  %215 = add nsw i32 %214, 0
  %216 = sext i32 %215 to i64
  %217 = getelementptr inbounds i32, ptr %211, i64 %216
  %218 = load i32, ptr %217, align 4, !tbaa !9
  %219 = or i32 %218, 65536
  %220 = sub nsw i32 %219, 65536
  %221 = and i32 %220, 8
  %222 = icmp ne i32 %221, 0
  %223 = zext i1 %222 to i8
  store i8 %223, ptr %30, align 1, !tbaa !11
  %224 = load i32, ptr %29, align 4, !tbaa !9
  %225 = icmp sge i32 %224, 0
  %226 = zext i1 %225 to i32
  %227 = load i8, ptr %30, align 1, !tbaa !11, !range !13, !noundef !14
  %228 = trunc i8 %227 to i1
  %229 = zext i1 %228 to i32
  %230 = icmp ne i32 %226, %229
  br i1 %230, label %231, label %261

231:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 376, ptr %31) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %31)
  %232 = load ptr, ptr %16, align 8, !tbaa !5
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef %232)
          to label %234 unwind label %247

234:                                              ; preds = %231
  %235 = load i32, ptr %24, align 4, !tbaa !9
  %236 = add nsw i32 %235, 1
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %233, i32 noundef %236)
          to label %238 unwind label %247

238:                                              ; preds = %234
  %239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %237, ptr noundef @.str.5)
          to label %240 unwind label %247

240:                                              ; preds = %238
  %241 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  %242 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #9
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %32, ptr noundef nonnull align 8 dereferenceable(112) %31)
          to label %243 unwind label %251

243:                                              ; preds = %240
  %244 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  %245 = invoke noundef i32 %241(ptr noundef %242, ptr noundef %244)
          to label %246 unwind label %255

246:                                              ; preds = %243
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #9
  store i1 false, ptr %9, align 1
  store i32 1, ptr %23, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %31) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %31) #9
  br label %970

247:                                              ; preds = %238, %234, %231
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %20, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %21, align 4
  br label %260

251:                                              ; preds = %240
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %20, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %21, align 4
  br label %259

255:                                              ; preds = %243
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %20, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  br label %259

259:                                              ; preds = %255, %251
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #9
  br label %260

260:                                              ; preds = %259, %247
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %31) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %31) #9
  br label %974

261:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  %262 = load ptr, ptr %12, align 8, !tbaa !5
  %263 = load i32, ptr %24, align 4, !tbaa !9
  %264 = mul nsw i32 %263, 2
  %265 = add nsw i32 1, %264
  %266 = add nsw i32 %265, 0
  %267 = sext i32 %266 to i64
  %268 = getelementptr inbounds i32, ptr %262, i64 %267
  %269 = load i32, ptr %268, align 4, !tbaa !9
  %270 = or i32 %269, 65536
  %271 = sub nsw i32 %270, 65536
  %272 = or i32 %271, 8
  %273 = sub nsw i32 %272, 8
  store i32 %273, ptr %33, align 4, !tbaa !9
  %274 = load i8, ptr %30, align 1, !tbaa !11, !range !13, !noundef !14
  %275 = trunc i8 %274 to i1
  br i1 %275, label %276, label %715

276:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  store i32 0, ptr %34, align 4, !tbaa !9
  %277 = load i32, ptr %33, align 4, !tbaa !9
  %278 = icmp eq i32 %277, 0
  br i1 %278, label %279, label %280

279:                                              ; preds = %276
  store i32 1, ptr %34, align 4, !tbaa !9
  br label %280

280:                                              ; preds = %279, %276
  %281 = load i32, ptr %33, align 4, !tbaa !9
  %282 = icmp eq i32 %281, 1
  br i1 %282, label %283, label %284

283:                                              ; preds = %280
  store i32 3, ptr %34, align 4, !tbaa !9
  br label %284

284:                                              ; preds = %283, %280
  %285 = load i32, ptr %33, align 4, !tbaa !9
  %286 = icmp eq i32 %285, 3
  br i1 %286, label %287, label %288

287:                                              ; preds = %284
  store i32 2, ptr %34, align 4, !tbaa !9
  br label %288

288:                                              ; preds = %287, %284
  %289 = load i32, ptr %33, align 4, !tbaa !9
  %290 = icmp eq i32 %289, 2
  br i1 %290, label %291, label %292

291:                                              ; preds = %288
  store i32 2, ptr %34, align 4, !tbaa !9
  br label %292

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

295:                                              ; preds = %292
  store i32 4, ptr %34, align 4, !tbaa !9
  br label %296

296:                                              ; preds = %295, %292
  %297 = load i32, ptr %33, align 4, !tbaa !9
  %298 = icmp eq i32 %297, 6
  br i1 %298, label %299, label %300

299:                                              ; preds = %296
  store i32 4, ptr %34, align 4, !tbaa !9
  br label %300

300:                                              ; preds = %299, %296
  %301 = load i32, ptr %33, align 4, !tbaa !9
  %302 = icmp eq i32 %301, 7
  br i1 %302, label %303, label %304

303:                                              ; preds = %300
  store i32 2, ptr %34, align 4, !tbaa !9
  br label %304

304:                                              ; preds = %303, %300
  %305 = load ptr, ptr @simGetStackTableInfo, align 8, !tbaa !5
  %306 = load i32, ptr %11, align 4, !tbaa !9
  %307 = load i32, ptr %34, align 4, !tbaa !9
  %308 = call noundef i32 %305(i32 noundef %306, i32 noundef %307)
  %309 = icmp slt i32 %308, 1
  br i1 %309, label %310, label %340

310:                                              ; preds = %304
  call void @llvm.lifetime.start.p0(i64 376, ptr %35) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %35)
  %311 = load ptr, ptr %16, align 8, !tbaa !5
  %312 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef %311)
          to label %313 unwind label %326

313:                                              ; preds = %310
  %314 = load i32, ptr %24, align 4, !tbaa !9
  %315 = add nsw i32 %314, 1
  %316 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %312, i32 noundef %315)
          to label %317 unwind label %326

317:                                              ; preds = %313
  %318 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %316, ptr noundef @.str.5)
          to label %319 unwind label %326

319:                                              ; preds = %317
  %320 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  %321 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #9
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %36, ptr noundef nonnull align 8 dereferenceable(112) %35)
          to label %322 unwind label %330

322:                                              ; preds = %319
  %323 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  %324 = invoke noundef i32 %320(ptr noundef %321, ptr noundef %323)
          to label %325 unwind label %334

325:                                              ; preds = %322
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  store i1 false, ptr %9, align 1
  store i32 1, ptr %23, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %35) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %35) #9
  br label %711

326:                                              ; preds = %317, %313, %310
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %20, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %21, align 4
  br label %339

330:                                              ; preds = %319
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %20, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %21, align 4
  br label %338

334:                                              ; preds = %322
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %20, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  br label %338

338:                                              ; preds = %334, %330
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  br label %339

339:                                              ; preds = %338, %326
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %35) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %35) #9
  br label %714

340:                                              ; preds = %304
  %341 = load i32, ptr %29, align 4, !tbaa !9
  %342 = load ptr, ptr %12, align 8, !tbaa !5
  %343 = load i32, ptr %24, align 4, !tbaa !9
  %344 = mul nsw i32 %343, 2
  %345 = add nsw i32 1, %344
  %346 = add nsw i32 %345, 1
  %347 = sext i32 %346 to i64
  %348 = getelementptr inbounds i32, ptr %342, i64 %347
  %349 = load i32, ptr %348, align 4, !tbaa !9
  %350 = icmp slt i32 %341, %349
  br i1 %350, label %351, label %391

351:                                              ; preds = %340
  %352 = load ptr, ptr %12, align 8, !tbaa !5
  %353 = load i32, ptr %24, align 4, !tbaa !9
  %354 = mul nsw i32 %353, 2
  %355 = add nsw i32 1, %354
  %356 = add nsw i32 %355, 1
  %357 = sext i32 %356 to i64
  %358 = getelementptr inbounds i32, ptr %352, i64 %357
  %359 = load i32, ptr %358, align 4, !tbaa !9
  %360 = icmp ne i32 %359, 0
  br i1 %360, label %361, label %391

361:                                              ; preds = %351
  call void @llvm.lifetime.start.p0(i64 376, ptr %37) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %37)
  %362 = load ptr, ptr %16, align 8, !tbaa !5
  %363 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef %362)
          to label %364 unwind label %377

364:                                              ; preds = %361
  %365 = load i32, ptr %24, align 4, !tbaa !9
  %366 = add nsw i32 %365, 1
  %367 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %363, i32 noundef %366)
          to label %368 unwind label %377

368:                                              ; preds = %364
  %369 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %367, ptr noundef @.str.6)
          to label %370 unwind label %377

370:                                              ; preds = %368
  %371 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  %372 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #9
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %38, ptr noundef nonnull align 8 dereferenceable(112) %37)
          to label %373 unwind label %381

373:                                              ; preds = %370
  %374 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %38) #9
  %375 = invoke noundef i32 %371(ptr noundef %372, ptr noundef %374)
          to label %376 unwind label %385

376:                                              ; preds = %373
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #9
  store i1 false, ptr %9, align 1
  store i32 1, ptr %23, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %37) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %37) #9
  br label %711

377:                                              ; preds = %368, %364, %361
  %378 = landingpad { ptr, i32 }
          cleanup
  %379 = extractvalue { ptr, i32 } %378, 0
  store ptr %379, ptr %20, align 8
  %380 = extractvalue { ptr, i32 } %378, 1
  store i32 %380, ptr %21, align 4
  br label %390

381:                                              ; preds = %370
  %382 = landingpad { ptr, i32 }
          cleanup
  %383 = extractvalue { ptr, i32 } %382, 0
  store ptr %383, ptr %20, align 8
  %384 = extractvalue { ptr, i32 } %382, 1
  store i32 %384, ptr %21, align 4
  br label %389

385:                                              ; preds = %373
  %386 = landingpad { ptr, i32 }
          cleanup
  %387 = extractvalue { ptr, i32 } %386, 0
  store ptr %387, ptr %20, align 8
  %388 = extractvalue { ptr, i32 } %386, 1
  store i32 %388, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #9
  br label %389

389:                                              ; preds = %385, %381
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #9
  br label %390

390:                                              ; preds = %389, %377
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %37) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %37) #9
  br label %714

391:                                              ; preds = %351, %340
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  %392 = load i32, ptr %33, align 4, !tbaa !9
  store i32 %392, ptr %39, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #9
  %393 = load i32, ptr %29, align 4, !tbaa !9
  store i32 %393, ptr %40, align 4, !tbaa !9
  %394 = load i32, ptr %39, align 4, !tbaa !9
  %395 = icmp eq i32 %394, 0
  br i1 %395, label %396, label %414

396:                                              ; preds = %391
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #9
  %397 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 160) #10
  invoke void @_ZN23CScriptFunctionDataItemC1Ev(ptr noundef nonnull align 8 dereferenceable(156) %397)
          to label %398 unwind label %405

398:                                              ; preds = %396
  store ptr %397, ptr %41, align 8, !tbaa !5
  %399 = load ptr, ptr %41, align 8, !tbaa !5
  %400 = load i32, ptr %40, align 4, !tbaa !9
  call void @_ZN23CScriptFunctionDataItem11setNilTableEi(ptr noundef nonnull align 8 dereferenceable(156) %399, i32 noundef %400)
  call void @llvm.lifetime.start.p0(i64 160, ptr %42) #9
  call void @_ZN23CScriptFunctionDataItemC1Ev(ptr noundef nonnull align 8 dereferenceable(156) %42)
  %401 = load i32, ptr %40, align 4, !tbaa !9
  invoke void @_ZN23CScriptFunctionDataItem11setNilTableEi(ptr noundef nonnull align 8 dereferenceable(156) %42, i32 noundef %401)
          to label %402 unwind label %409

402:                                              ; preds = %398
  %403 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %403, ptr noundef nonnull align 8 dereferenceable(156) %42)
          to label %404 unwind label %409

404:                                              ; preds = %402
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %42) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #9
  br label %414

405:                                              ; preds = %396
  %406 = landingpad { ptr, i32 }
          cleanup
  %407 = extractvalue { ptr, i32 } %406, 0
  store ptr %407, ptr %20, align 8
  %408 = extractvalue { ptr, i32 } %406, 1
  store i32 %408, ptr %21, align 4
  call void @_ZdlPvm(ptr noundef %397, i64 noundef 160) #11
  br label %413

409:                                              ; preds = %402, %398
  %410 = landingpad { ptr, i32 }
          cleanup
  %411 = extractvalue { ptr, i32 } %410, 0
  store ptr %411, ptr %20, align 8
  %412 = extractvalue { ptr, i32 } %410, 1
  store i32 %412, ptr %21, align 4
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %42) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %42) #9
  br label %413

413:                                              ; preds = %409, %405
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #9
  br label %709

414:                                              ; preds = %404, %391
  %415 = load i32, ptr %39, align 4, !tbaa !9
  %416 = icmp eq i32 %415, 1
  br i1 %416, label %417, label %491

417:                                              ; preds = %414
  call void @llvm.lifetime.start.p0(i64 40, ptr %43) #9
  call void @_ZNSt6vectorIbSaIbEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %43) #9
  %418 = load ptr, ptr @simUnfoldStackTable, align 8, !tbaa !5
  %419 = load i32, ptr %11, align 4, !tbaa !9
  %420 = invoke noundef i32 %418(i32 noundef %419)
          to label %421 unwind label %427

421:                                              ; preds = %417
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #9
  store i32 0, ptr %44, align 4, !tbaa !9
  br label %422

422:                                              ; preds = %456, %421
  %423 = load i32, ptr %44, align 4, !tbaa !9
  %424 = load i32, ptr %40, align 4, !tbaa !9
  %425 = icmp slt i32 %423, %424
  br i1 %425, label %431, label %426

426:                                              ; preds = %422
  store i32 5, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  br label %473

427:                                              ; preds = %473, %417
  %428 = landingpad { ptr, i32 }
          cleanup
  %429 = extractvalue { ptr, i32 } %428, 0
  store ptr %429, ptr %20, align 8
  %430 = extractvalue { ptr, i32 } %428, 1
  store i32 %430, ptr %21, align 4
  br label %490

431:                                              ; preds = %422
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #9
  %432 = load ptr, ptr @simGetStackBoolValue, align 8, !tbaa !5
  %433 = load i32, ptr %11, align 4, !tbaa !9
  %434 = invoke noundef i32 %432(i32 noundef %433, ptr noundef %45)
          to label %435 unwind label %459

435:                                              ; preds = %431
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #9
  %436 = call { ptr, i32 } @_ZNSt6vectorIbSaIbEE5beginEv(ptr noundef nonnull align 8 dereferenceable(40) %43) #9
  store { ptr, i32 } %436, ptr %48, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %47, ptr align 8 %48, i64 12, i1 false)
  invoke void @_ZNSt19_Bit_const_iteratorC2ERKSt13_Bit_iterator(ptr noundef nonnull align 8 dereferenceable(12) %46, ptr noundef nonnull align 8 dereferenceable(12) %47)
          to label %437 unwind label %463

437:                                              ; preds = %435
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #9
  %438 = load i8, ptr %45, align 1, !tbaa !15
  %439 = zext i8 %438 to i32
  %440 = icmp ne i32 %439, 0
  %441 = zext i1 %440 to i8
  store i8 %441, ptr %49, align 1, !tbaa !11
  %442 = getelementptr inbounds { ptr, i32 }, ptr %46, i32 0, i32 0
  %443 = load ptr, ptr %442, align 8
  %444 = getelementptr inbounds { ptr, i32 }, ptr %46, i32 0, i32 1
  %445 = load i32, ptr %444, align 8
  %446 = invoke { ptr, i32 } @_ZNSt6vectorIbSaIbEE6insertESt19_Bit_const_iteratorRKb(ptr noundef nonnull align 8 dereferenceable(40) %43, ptr %443, i32 %445, ptr noundef nonnull align 1 dereferenceable(1) %49)
          to label %447 unwind label %467

447:                                              ; preds = %437
  %448 = getelementptr inbounds { ptr, i32 }, ptr %50, i32 0, i32 0
  %449 = extractvalue { ptr, i32 } %446, 0
  store ptr %449, ptr %448, align 8
  %450 = getelementptr inbounds { ptr, i32 }, ptr %50, i32 0, i32 1
  %451 = extractvalue { ptr, i32 } %446, 1
  store i32 %451, ptr %450, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #9
  %452 = load ptr, ptr @simPopStackItem, align 8, !tbaa !5
  %453 = load i32, ptr %11, align 4, !tbaa !9
  %454 = invoke noundef i32 %452(i32 noundef %453, i32 noundef 2)
          to label %455 unwind label %459

455:                                              ; preds = %447
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #9
  br label %456

456:                                              ; preds = %455
  %457 = load i32, ptr %44, align 4, !tbaa !9
  %458 = add nsw i32 %457, 1
  store i32 %458, ptr %44, align 4, !tbaa !9
  br label %422, !llvm.loop !16

459:                                              ; preds = %447, %431
  %460 = landingpad { ptr, i32 }
          cleanup
  %461 = extractvalue { ptr, i32 } %460, 0
  store ptr %461, ptr %20, align 8
  %462 = extractvalue { ptr, i32 } %460, 1
  store i32 %462, ptr %21, align 4
  br label %472

463:                                              ; preds = %435
  %464 = landingpad { ptr, i32 }
          cleanup
  %465 = extractvalue { ptr, i32 } %464, 0
  store ptr %465, ptr %20, align 8
  %466 = extractvalue { ptr, i32 } %464, 1
  store i32 %466, ptr %21, align 4
  br label %471

467:                                              ; preds = %437
  %468 = landingpad { ptr, i32 }
          cleanup
  %469 = extractvalue { ptr, i32 } %468, 0
  store ptr %469, ptr %20, align 8
  %470 = extractvalue { ptr, i32 } %468, 1
  store i32 %470, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #9
  br label %471

471:                                              ; preds = %467, %463
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #9
  br label %472

472:                                              ; preds = %471, %459
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  br label %490

473:                                              ; preds = %426
  %474 = load ptr, ptr @simPushTableOntoStack, align 8, !tbaa !5
  %475 = load i32, ptr %11, align 4, !tbaa !9
  %476 = invoke noundef i32 %474(i32 noundef %475)
          to label %477 unwind label %427

477:                                              ; preds = %473
  call void @llvm.lifetime.start.p0(i64 160, ptr %51) #9
  invoke void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIbSaIbEE(ptr noundef nonnull align 8 dereferenceable(156) %51, ptr noundef nonnull align 8 dereferenceable(40) %43)
          to label %478 unwind label %481

478:                                              ; preds = %477
  %479 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %479, ptr noundef nonnull align 8 dereferenceable(156) %51)
          to label %480 unwind label %485

480:                                              ; preds = %478
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %51) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %51) #9
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %43) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #9
  br label %491

481:                                              ; preds = %477
  %482 = landingpad { ptr, i32 }
          cleanup
  %483 = extractvalue { ptr, i32 } %482, 0
  store ptr %483, ptr %20, align 8
  %484 = extractvalue { ptr, i32 } %482, 1
  store i32 %484, ptr %21, align 4
  br label %489

485:                                              ; preds = %478
  %486 = landingpad { ptr, i32 }
          cleanup
  %487 = extractvalue { ptr, i32 } %486, 0
  store ptr %487, ptr %20, align 8
  %488 = extractvalue { ptr, i32 } %486, 1
  store i32 %488, ptr %21, align 4
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %51) #9
  br label %489

489:                                              ; preds = %485, %481
  call void @llvm.lifetime.end.p0(i64 160, ptr %51) #9
  br label %490

490:                                              ; preds = %489, %472, %427
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %43) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #9
  br label %709

491:                                              ; preds = %480, %414
  %492 = load i32, ptr %39, align 4, !tbaa !9
  %493 = icmp eq i32 %492, 2
  br i1 %493, label %494, label %525

494:                                              ; preds = %491
  call void @llvm.lifetime.start.p0(i64 24, ptr %52) #9
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #9
  %495 = load i32, ptr %40, align 4, !tbaa !9
  %496 = icmp sgt i32 %495, 0
  br i1 %496, label %497, label %511

497:                                              ; preds = %494
  %498 = load i32, ptr %40, align 4, !tbaa !9
  %499 = sext i32 %498 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %499)
          to label %500 unwind label %507

500:                                              ; preds = %497
  %501 = load ptr, ptr @simGetStackInt32Table, align 8, !tbaa !5
  %502 = load i32, ptr %11, align 4, !tbaa !9
  %503 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef 0) #9
  %504 = load i32, ptr %40, align 4, !tbaa !9
  %505 = invoke noundef i32 %501(i32 noundef %502, ptr noundef %503, i32 noundef %504)
          to label %506 unwind label %507

506:                                              ; preds = %500
  br label %511

507:                                              ; preds = %500, %497
  %508 = landingpad { ptr, i32 }
          cleanup
  %509 = extractvalue { ptr, i32 } %508, 0
  store ptr %509, ptr %20, align 8
  %510 = extractvalue { ptr, i32 } %508, 1
  store i32 %510, ptr %21, align 4
  br label %524

511:                                              ; preds = %506, %494
  call void @llvm.lifetime.start.p0(i64 160, ptr %53) #9
  invoke void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(156) %53, ptr noundef nonnull align 8 dereferenceable(24) %52)
          to label %512 unwind label %515

512:                                              ; preds = %511
  %513 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %513, ptr noundef nonnull align 8 dereferenceable(156) %53)
          to label %514 unwind label %519

514:                                              ; preds = %512
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %53) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %53) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #9
  br label %525

515:                                              ; preds = %511
  %516 = landingpad { ptr, i32 }
          cleanup
  %517 = extractvalue { ptr, i32 } %516, 0
  store ptr %517, ptr %20, align 8
  %518 = extractvalue { ptr, i32 } %516, 1
  store i32 %518, ptr %21, align 4
  br label %523

519:                                              ; preds = %512
  %520 = landingpad { ptr, i32 }
          cleanup
  %521 = extractvalue { ptr, i32 } %520, 0
  store ptr %521, ptr %20, align 8
  %522 = extractvalue { ptr, i32 } %520, 1
  store i32 %522, ptr %21, align 4
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %53) #9
  br label %523

523:                                              ; preds = %519, %515
  call void @llvm.lifetime.end.p0(i64 160, ptr %53) #9
  br label %524

524:                                              ; preds = %523, %507
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #9
  br label %709

525:                                              ; preds = %514, %491
  %526 = load i32, ptr %39, align 4, !tbaa !9
  %527 = icmp eq i32 %526, 3
  br i1 %527, label %528, label %559

528:                                              ; preds = %525
  call void @llvm.lifetime.start.p0(i64 24, ptr %54) #9
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #9
  %529 = load i32, ptr %40, align 4, !tbaa !9
  %530 = icmp sgt i32 %529, 0
  br i1 %530, label %531, label %545

531:                                              ; preds = %528
  %532 = load i32, ptr %40, align 4, !tbaa !9
  %533 = sext i32 %532 to i64
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %533)
          to label %534 unwind label %541

534:                                              ; preds = %531
  %535 = load ptr, ptr @simGetStackFloatTable, align 8, !tbaa !5
  %536 = load i32, ptr %11, align 4, !tbaa !9
  %537 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef 0) #9
  %538 = load i32, ptr %40, align 4, !tbaa !9
  %539 = invoke noundef i32 %535(i32 noundef %536, ptr noundef %537, i32 noundef %538)
          to label %540 unwind label %541

540:                                              ; preds = %534
  br label %545

541:                                              ; preds = %534, %531
  %542 = landingpad { ptr, i32 }
          cleanup
  %543 = extractvalue { ptr, i32 } %542, 0
  store ptr %543, ptr %20, align 8
  %544 = extractvalue { ptr, i32 } %542, 1
  store i32 %544, ptr %21, align 4
  br label %558

545:                                              ; preds = %540, %528
  call void @llvm.lifetime.start.p0(i64 160, ptr %55) #9
  invoke void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIfSaIfEE(ptr noundef nonnull align 8 dereferenceable(156) %55, ptr noundef nonnull align 8 dereferenceable(24) %54)
          to label %546 unwind label %549

546:                                              ; preds = %545
  %547 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %547, ptr noundef nonnull align 8 dereferenceable(156) %55)
          to label %548 unwind label %553

548:                                              ; preds = %546
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %55) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %55) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #9
  br label %559

549:                                              ; preds = %545
  %550 = landingpad { ptr, i32 }
          cleanup
  %551 = extractvalue { ptr, i32 } %550, 0
  store ptr %551, ptr %20, align 8
  %552 = extractvalue { ptr, i32 } %550, 1
  store i32 %552, ptr %21, align 4
  br label %557

553:                                              ; preds = %546
  %554 = landingpad { ptr, i32 }
          cleanup
  %555 = extractvalue { ptr, i32 } %554, 0
  store ptr %555, ptr %20, align 8
  %556 = extractvalue { ptr, i32 } %554, 1
  store i32 %556, ptr %21, align 4
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %55) #9
  br label %557

557:                                              ; preds = %553, %549
  call void @llvm.lifetime.end.p0(i64 160, ptr %55) #9
  br label %558

558:                                              ; preds = %557, %541
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #9
  br label %709

559:                                              ; preds = %548, %525
  %560 = load i32, ptr %39, align 4, !tbaa !9
  %561 = icmp eq i32 %560, 7
  br i1 %561, label %562, label %593

562:                                              ; preds = %559
  call void @llvm.lifetime.start.p0(i64 24, ptr %56) #9
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #9
  %563 = load i32, ptr %40, align 4, !tbaa !9
  %564 = icmp sgt i32 %563, 0
  br i1 %564, label %565, label %579

565:                                              ; preds = %562
  %566 = load i32, ptr %40, align 4, !tbaa !9
  %567 = sext i32 %566 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %567)
          to label %568 unwind label %575

568:                                              ; preds = %565
  %569 = load ptr, ptr @simGetStackDoubleTable, align 8, !tbaa !5
  %570 = load i32, ptr %11, align 4, !tbaa !9
  %571 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef 0) #9
  %572 = load i32, ptr %40, align 4, !tbaa !9
  %573 = invoke noundef i32 %569(i32 noundef %570, ptr noundef %571, i32 noundef %572)
          to label %574 unwind label %575

574:                                              ; preds = %568
  br label %579

575:                                              ; preds = %568, %565
  %576 = landingpad { ptr, i32 }
          cleanup
  %577 = extractvalue { ptr, i32 } %576, 0
  store ptr %577, ptr %20, align 8
  %578 = extractvalue { ptr, i32 } %576, 1
  store i32 %578, ptr %21, align 4
  br label %592

579:                                              ; preds = %574, %562
  call void @llvm.lifetime.start.p0(i64 160, ptr %57) #9
  invoke void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(156) %57, ptr noundef nonnull align 8 dereferenceable(24) %56)
          to label %580 unwind label %583

580:                                              ; preds = %579
  %581 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %581, ptr noundef nonnull align 8 dereferenceable(156) %57)
          to label %582 unwind label %587

582:                                              ; preds = %580
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %57) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %57) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %56) #9
  br label %593

583:                                              ; preds = %579
  %584 = landingpad { ptr, i32 }
          cleanup
  %585 = extractvalue { ptr, i32 } %584, 0
  store ptr %585, ptr %20, align 8
  %586 = extractvalue { ptr, i32 } %584, 1
  store i32 %586, ptr %21, align 4
  br label %591

587:                                              ; preds = %580
  %588 = landingpad { ptr, i32 }
          cleanup
  %589 = extractvalue { ptr, i32 } %588, 0
  store ptr %589, ptr %20, align 8
  %590 = extractvalue { ptr, i32 } %588, 1
  store i32 %590, ptr %21, align 4
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %57) #9
  br label %591

591:                                              ; preds = %587, %583
  call void @llvm.lifetime.end.p0(i64 160, ptr %57) #9
  br label %592

592:                                              ; preds = %591, %575
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %56) #9
  br label %709

593:                                              ; preds = %582, %559
  %594 = load i32, ptr %39, align 4, !tbaa !9
  %595 = icmp eq i32 %594, 4
  br i1 %595, label %596, label %672

596:                                              ; preds = %593
  call void @llvm.lifetime.start.p0(i64 24, ptr %58) #9
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #9
  %597 = load ptr, ptr @simUnfoldStackTable, align 8, !tbaa !5
  %598 = load i32, ptr %11, align 4, !tbaa !9
  %599 = invoke noundef i32 %597(i32 noundef %598)
          to label %600 unwind label %606

600:                                              ; preds = %596
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #9
  store i32 0, ptr %59, align 4, !tbaa !9
  br label %601

601:                                              ; preds = %632, %600
  %602 = load i32, ptr %59, align 4, !tbaa !9
  %603 = load i32, ptr %40, align 4, !tbaa !9
  %604 = icmp slt i32 %602, %603
  br i1 %604, label %610, label %605

605:                                              ; preds = %601
  store i32 8, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #9
  br label %654

606:                                              ; preds = %654, %596
  %607 = landingpad { ptr, i32 }
          cleanup
  %608 = extractvalue { ptr, i32 } %607, 0
  store ptr %608, ptr %20, align 8
  %609 = extractvalue { ptr, i32 } %607, 1
  store i32 %609, ptr %21, align 4
  br label %671

610:                                              ; preds = %601
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #9
  %611 = load ptr, ptr @simGetStackStringValue, align 8, !tbaa !5
  %612 = load i32, ptr %11, align 4, !tbaa !9
  %613 = invoke noundef ptr %611(i32 noundef %612, ptr noundef %60)
          to label %614 unwind label %635

614:                                              ; preds = %610
  store ptr %613, ptr %61, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %62) #9
  %615 = load ptr, ptr %61, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %63) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef %615, ptr noundef nonnull align 1 dereferenceable(1) %63)
          to label %616 unwind label %639

616:                                              ; preds = %614
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %63) #9
  %617 = load ptr, ptr @simReleaseBuffer, align 8, !tbaa !5
  %618 = load ptr, ptr %61, align 8, !tbaa !5
  %619 = invoke noundef i32 %617(ptr noundef %618)
          to label %620 unwind label %643

620:                                              ; preds = %616
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #9
  %621 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #9
  %622 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %65, i32 0, i32 0
  store ptr %621, ptr %622, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEC2IPS6_vEERKNS0_IT_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull align 8 dereferenceable(8) %65) #9
  %623 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.27", ptr %64, i32 0, i32 0
  %624 = load ptr, ptr %623, align 8
  %625 = invoke ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE6insertEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EERSA_(ptr noundef nonnull align 8 dereferenceable(24) %58, ptr %624, ptr noundef nonnull align 8 dereferenceable(32) %62)
          to label %626 unwind label %647

626:                                              ; preds = %620
  %627 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %66, i32 0, i32 0
  store ptr %625, ptr %627, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #9
  %628 = load ptr, ptr @simPopStackItem, align 8, !tbaa !5
  %629 = load i32, ptr %11, align 4, !tbaa !9
  %630 = invoke noundef i32 %628(i32 noundef %629, i32 noundef 2)
          to label %631 unwind label %643

631:                                              ; preds = %626
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #9
  br label %632

632:                                              ; preds = %631
  %633 = load i32, ptr %59, align 4, !tbaa !9
  %634 = add nsw i32 %633, 1
  store i32 %634, ptr %59, align 4, !tbaa !9
  br label %601, !llvm.loop !18

635:                                              ; preds = %610
  %636 = landingpad { ptr, i32 }
          cleanup
  %637 = extractvalue { ptr, i32 } %636, 0
  store ptr %637, ptr %20, align 8
  %638 = extractvalue { ptr, i32 } %636, 1
  store i32 %638, ptr %21, align 4
  br label %653

639:                                              ; preds = %614
  %640 = landingpad { ptr, i32 }
          cleanup
  %641 = extractvalue { ptr, i32 } %640, 0
  store ptr %641, ptr %20, align 8
  %642 = extractvalue { ptr, i32 } %640, 1
  store i32 %642, ptr %21, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %63) #9
  br label %652

643:                                              ; preds = %626, %616
  %644 = landingpad { ptr, i32 }
          cleanup
  %645 = extractvalue { ptr, i32 } %644, 0
  store ptr %645, ptr %20, align 8
  %646 = extractvalue { ptr, i32 } %644, 1
  store i32 %646, ptr %21, align 4
  br label %651

647:                                              ; preds = %620
  %648 = landingpad { ptr, i32 }
          cleanup
  %649 = extractvalue { ptr, i32 } %648, 0
  store ptr %649, ptr %20, align 8
  %650 = extractvalue { ptr, i32 } %648, 1
  store i32 %650, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #9
  br label %651

651:                                              ; preds = %647, %643
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #9
  br label %652

652:                                              ; preds = %651, %639
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #9
  br label %653

653:                                              ; preds = %652, %635
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #9
  br label %671

654:                                              ; preds = %605
  %655 = load ptr, ptr @simPushTableOntoStack, align 8, !tbaa !5
  %656 = load i32, ptr %11, align 4, !tbaa !9
  %657 = invoke noundef i32 %655(i32 noundef %656)
          to label %658 unwind label %606

658:                                              ; preds = %654
  call void @llvm.lifetime.start.p0(i64 160, ptr %67) #9
  invoke void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE(ptr noundef nonnull align 8 dereferenceable(156) %67, ptr noundef nonnull align 8 dereferenceable(24) %58)
          to label %659 unwind label %662

659:                                              ; preds = %658
  %660 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %660, ptr noundef nonnull align 8 dereferenceable(156) %67)
          to label %661 unwind label %666

661:                                              ; preds = %659
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %67) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %67) #9
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #9
  br label %672

662:                                              ; preds = %658
  %663 = landingpad { ptr, i32 }
          cleanup
  %664 = extractvalue { ptr, i32 } %663, 0
  store ptr %664, ptr %20, align 8
  %665 = extractvalue { ptr, i32 } %663, 1
  store i32 %665, ptr %21, align 4
  br label %670

666:                                              ; preds = %659
  %667 = landingpad { ptr, i32 }
          cleanup
  %668 = extractvalue { ptr, i32 } %667, 0
  store ptr %668, ptr %20, align 8
  %669 = extractvalue { ptr, i32 } %667, 1
  store i32 %669, ptr %21, align 4
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %67) #9
  br label %670

670:                                              ; preds = %666, %662
  call void @llvm.lifetime.end.p0(i64 160, ptr %67) #9
  br label %671

671:                                              ; preds = %670, %653, %606
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #9
  br label %709

672:                                              ; preds = %661, %593
  %673 = load i32, ptr %39, align 4, !tbaa !9
  %674 = icmp eq i32 %673, 6
  br i1 %674, label %675, label %705

675:                                              ; preds = %672
  call void @llvm.lifetime.start.p0(i64 376, ptr %68) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %68)
  %676 = load ptr, ptr %16, align 8, !tbaa !5
  %677 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef %676)
          to label %678 unwind label %691

678:                                              ; preds = %675
  %679 = load i32, ptr %24, align 4, !tbaa !9
  %680 = add nsw i32 %679, 1
  %681 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %677, i32 noundef %680)
          to label %682 unwind label %691

682:                                              ; preds = %678
  %683 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %681, ptr noundef @.str.7)
          to label %684 unwind label %691

684:                                              ; preds = %682
  %685 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  %686 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %69) #9
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %69, ptr noundef nonnull align 8 dereferenceable(112) %68)
          to label %687 unwind label %695

687:                                              ; preds = %684
  %688 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %69) #9
  %689 = invoke noundef i32 %685(ptr noundef %686, ptr noundef %688)
          to label %690 unwind label %699

690:                                              ; preds = %687
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #9
  store i1 false, ptr %9, align 1
  store i32 1, ptr %23, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %68) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %68) #9
  br label %706

691:                                              ; preds = %682, %678, %675
  %692 = landingpad { ptr, i32 }
          cleanup
  %693 = extractvalue { ptr, i32 } %692, 0
  store ptr %693, ptr %20, align 8
  %694 = extractvalue { ptr, i32 } %692, 1
  store i32 %694, ptr %21, align 4
  br label %704

695:                                              ; preds = %684
  %696 = landingpad { ptr, i32 }
          cleanup
  %697 = extractvalue { ptr, i32 } %696, 0
  store ptr %697, ptr %20, align 8
  %698 = extractvalue { ptr, i32 } %696, 1
  store i32 %698, ptr %21, align 4
  br label %703

699:                                              ; preds = %687
  %700 = landingpad { ptr, i32 }
          cleanup
  %701 = extractvalue { ptr, i32 } %700, 0
  store ptr %701, ptr %20, align 8
  %702 = extractvalue { ptr, i32 } %700, 1
  store i32 %702, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #9
  br label %703

703:                                              ; preds = %699, %695
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #9
  br label %704

704:                                              ; preds = %703, %691
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %68) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %68) #9
  br label %709

705:                                              ; preds = %672
  store i32 0, ptr %23, align 4
  br label %706

706:                                              ; preds = %705, %690
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  %707 = load i32, ptr %23, align 4
  switch i32 %707, label %711 [
    i32 0, label %708
  ]

708:                                              ; preds = %706
  br label %710

709:                                              ; preds = %704, %671, %592, %558, %524, %490, %413
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  br label %714

710:                                              ; preds = %708
  store i32 0, ptr %23, align 4
  br label %711

711:                                              ; preds = %710, %706, %376, %325
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  %712 = load i32, ptr %23, align 4
  switch i32 %712, label %969 [
    i32 0, label %713
  ]

713:                                              ; preds = %711
  br label %968

714:                                              ; preds = %709, %390, %339
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  br label %973

715:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #9
  %716 = load i32, ptr %33, align 4, !tbaa !9
  store i32 %716, ptr %70, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %71) #9
  store i8 0, ptr %71, align 1, !tbaa !11
  %717 = load i32, ptr %70, align 4, !tbaa !9
  %718 = icmp eq i32 %717, 0
  br i1 %718, label %719, label %733

719:                                              ; preds = %715
  %720 = load ptr, ptr @simIsStackValueNull, align 8, !tbaa !5
  %721 = load i32, ptr %11, align 4, !tbaa !9
  %722 = call noundef i32 %720(i32 noundef %721)
  %723 = icmp sgt i32 %722, 0
  br i1 %723, label %724, label %731

724:                                              ; preds = %719
  call void @llvm.lifetime.start.p0(i64 160, ptr %72) #9
  call void @_ZN23CScriptFunctionDataItemC1Ev(ptr noundef nonnull align 8 dereferenceable(156) %72)
  %725 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %725, ptr noundef nonnull align 8 dereferenceable(156) %72)
          to label %726 unwind label %727

726:                                              ; preds = %724
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %72) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %72) #9
  br label %732

727:                                              ; preds = %724
  %728 = landingpad { ptr, i32 }
          cleanup
  %729 = extractvalue { ptr, i32 } %728, 0
  store ptr %729, ptr %20, align 8
  %730 = extractvalue { ptr, i32 } %728, 1
  store i32 %730, ptr %21, align 4
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %72) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %72) #9
  br label %967

731:                                              ; preds = %719
  store i8 1, ptr %71, align 1, !tbaa !11
  br label %732

732:                                              ; preds = %731, %726
  br label %733

733:                                              ; preds = %732, %715
  %734 = load i32, ptr %70, align 4, !tbaa !9
  %735 = icmp eq i32 %734, 1
  br i1 %735, label %736, label %753

736:                                              ; preds = %733
  call void @llvm.lifetime.start.p0(i64 1, ptr %73) #9
  store i8 0, ptr %73, align 1, !tbaa !15
  %737 = load ptr, ptr @simGetStackBoolValue, align 8, !tbaa !5
  %738 = load i32, ptr %11, align 4, !tbaa !9
  %739 = call noundef i32 %737(i32 noundef %738, ptr noundef %73)
  %740 = icmp eq i32 %739, 1
  br i1 %740, label %741, label %751

741:                                              ; preds = %736
  call void @llvm.lifetime.start.p0(i64 160, ptr %74) #9
  %742 = load i8, ptr %73, align 1, !tbaa !15
  %743 = zext i8 %742 to i32
  %744 = icmp ne i32 %743, 0
  call void @_ZN23CScriptFunctionDataItemC1Eb(ptr noundef nonnull align 8 dereferenceable(156) %74, i1 noundef zeroext %744)
  %745 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %745, ptr noundef nonnull align 8 dereferenceable(156) %74)
          to label %746 unwind label %747

746:                                              ; preds = %741
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %74) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %74) #9
  br label %752

747:                                              ; preds = %741
  %748 = landingpad { ptr, i32 }
          cleanup
  %749 = extractvalue { ptr, i32 } %748, 0
  store ptr %749, ptr %20, align 8
  %750 = extractvalue { ptr, i32 } %748, 1
  store i32 %750, ptr %21, align 4
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %74) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %74) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %73) #9
  br label %967

751:                                              ; preds = %736
  store i8 1, ptr %71, align 1, !tbaa !11
  br label %752

752:                                              ; preds = %751, %746
  call void @llvm.lifetime.end.p0(i64 1, ptr %73) #9
  br label %753

753:                                              ; preds = %752, %733
  %754 = load i32, ptr %70, align 4, !tbaa !9
  %755 = icmp eq i32 %754, 2
  br i1 %755, label %756, label %771

756:                                              ; preds = %753
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #9
  store i32 0, ptr %75, align 4, !tbaa !9
  %757 = load ptr, ptr @simGetStackInt32Value, align 8, !tbaa !5
  %758 = load i32, ptr %11, align 4, !tbaa !9
  %759 = call noundef i32 %757(i32 noundef %758, ptr noundef %75)
  %760 = icmp eq i32 %759, 1
  br i1 %760, label %761, label %769

761:                                              ; preds = %756
  call void @llvm.lifetime.start.p0(i64 160, ptr %76) #9
  %762 = load i32, ptr %75, align 4, !tbaa !9
  call void @_ZN23CScriptFunctionDataItemC1Ei(ptr noundef nonnull align 8 dereferenceable(156) %76, i32 noundef %762)
  %763 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %763, ptr noundef nonnull align 8 dereferenceable(156) %76)
          to label %764 unwind label %765

764:                                              ; preds = %761
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %76) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %76) #9
  br label %770

765:                                              ; preds = %761
  %766 = landingpad { ptr, i32 }
          cleanup
  %767 = extractvalue { ptr, i32 } %766, 0
  store ptr %767, ptr %20, align 8
  %768 = extractvalue { ptr, i32 } %766, 1
  store i32 %768, ptr %21, align 4
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %76) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %76) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #9
  br label %967

769:                                              ; preds = %756
  store i8 1, ptr %71, align 1, !tbaa !11
  br label %770

770:                                              ; preds = %769, %764
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #9
  br label %771

771:                                              ; preds = %770, %753
  %772 = load i32, ptr %70, align 4, !tbaa !9
  %773 = icmp eq i32 %772, 3
  br i1 %773, label %774, label %789

774:                                              ; preds = %771
  call void @llvm.lifetime.start.p0(i64 4, ptr %77) #9
  store float 0.000000e+00, ptr %77, align 4, !tbaa !19
  %775 = load ptr, ptr @simGetStackFloatValue, align 8, !tbaa !5
  %776 = load i32, ptr %11, align 4, !tbaa !9
  %777 = call noundef i32 %775(i32 noundef %776, ptr noundef %77)
  %778 = icmp eq i32 %777, 1
  br i1 %778, label %779, label %787

779:                                              ; preds = %774
  call void @llvm.lifetime.start.p0(i64 160, ptr %78) #9
  %780 = load float, ptr %77, align 4, !tbaa !19
  call void @_ZN23CScriptFunctionDataItemC1Ef(ptr noundef nonnull align 8 dereferenceable(156) %78, float noundef %780)
  %781 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %781, ptr noundef nonnull align 8 dereferenceable(156) %78)
          to label %782 unwind label %783

782:                                              ; preds = %779
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %78) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %78) #9
  br label %788

783:                                              ; preds = %779
  %784 = landingpad { ptr, i32 }
          cleanup
  %785 = extractvalue { ptr, i32 } %784, 0
  store ptr %785, ptr %20, align 8
  %786 = extractvalue { ptr, i32 } %784, 1
  store i32 %786, ptr %21, align 4
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %78) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %78) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #9
  br label %967

787:                                              ; preds = %774
  store i8 1, ptr %71, align 1, !tbaa !11
  br label %788

788:                                              ; preds = %787, %782
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #9
  br label %789

789:                                              ; preds = %788, %771
  %790 = load i32, ptr %70, align 4, !tbaa !9
  %791 = icmp eq i32 %790, 7
  br i1 %791, label %792, label %807

792:                                              ; preds = %789
  call void @llvm.lifetime.start.p0(i64 8, ptr %79) #9
  store double 0.000000e+00, ptr %79, align 8, !tbaa !21
  %793 = load ptr, ptr @simGetStackDoubleValue, align 8, !tbaa !5
  %794 = load i32, ptr %11, align 4, !tbaa !9
  %795 = call noundef i32 %793(i32 noundef %794, ptr noundef %79)
  %796 = icmp eq i32 %795, 1
  br i1 %796, label %797, label %805

797:                                              ; preds = %792
  call void @llvm.lifetime.start.p0(i64 160, ptr %80) #9
  %798 = load double, ptr %79, align 8, !tbaa !21
  call void @_ZN23CScriptFunctionDataItemC1Ed(ptr noundef nonnull align 8 dereferenceable(156) %80, double noundef %798)
  %799 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %799, ptr noundef nonnull align 8 dereferenceable(156) %80)
          to label %800 unwind label %801

800:                                              ; preds = %797
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %80) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %80) #9
  br label %806

801:                                              ; preds = %797
  %802 = landingpad { ptr, i32 }
          cleanup
  %803 = extractvalue { ptr, i32 } %802, 0
  store ptr %803, ptr %20, align 8
  %804 = extractvalue { ptr, i32 } %802, 1
  store i32 %804, ptr %21, align 4
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %80) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %80) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #9
  br label %967

805:                                              ; preds = %792
  store i8 1, ptr %71, align 1, !tbaa !11
  br label %806

806:                                              ; preds = %805, %800
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #9
  br label %807

807:                                              ; preds = %806, %789
  %808 = load i32, ptr %70, align 4, !tbaa !9
  %809 = icmp eq i32 %808, 4
  br i1 %809, label %810, label %847

810:                                              ; preds = %807
  call void @llvm.lifetime.start.p0(i64 4, ptr %81) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #9
  %811 = load ptr, ptr @simGetStackStringValue, align 8, !tbaa !5
  %812 = load i32, ptr %11, align 4, !tbaa !9
  %813 = call noundef ptr %811(i32 noundef %812, ptr noundef %81)
  store ptr %813, ptr %82, align 8, !tbaa !5
  %814 = load ptr, ptr %82, align 8, !tbaa !5
  %815 = icmp ne ptr %814, null
  br i1 %815, label %816, label %845

816:                                              ; preds = %810
  call void @llvm.lifetime.start.p0(i64 32, ptr %83) #9
  %817 = load ptr, ptr %82, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %84) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %84) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %83, ptr noundef %817, ptr noundef nonnull align 1 dereferenceable(1) %84)
          to label %818 unwind label %826

818:                                              ; preds = %816
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %84) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %84) #9
  %819 = load ptr, ptr @simReleaseBuffer, align 8, !tbaa !5
  %820 = load ptr, ptr %82, align 8, !tbaa !5
  %821 = invoke noundef i32 %819(ptr noundef %820)
          to label %822 unwind label %830

822:                                              ; preds = %818
  call void @llvm.lifetime.start.p0(i64 160, ptr %85) #9
  invoke void @_ZN23CScriptFunctionDataItemC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(156) %85, ptr noundef nonnull align 8 dereferenceable(32) %83)
          to label %823 unwind label %834

823:                                              ; preds = %822
  %824 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %824, ptr noundef nonnull align 8 dereferenceable(156) %85)
          to label %825 unwind label %838

825:                                              ; preds = %823
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %85) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %85) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %83) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %83) #9
  br label %846

826:                                              ; preds = %816
  %827 = landingpad { ptr, i32 }
          cleanup
  %828 = extractvalue { ptr, i32 } %827, 0
  store ptr %828, ptr %20, align 8
  %829 = extractvalue { ptr, i32 } %827, 1
  store i32 %829, ptr %21, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %84) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %84) #9
  br label %844

830:                                              ; preds = %818
  %831 = landingpad { ptr, i32 }
          cleanup
  %832 = extractvalue { ptr, i32 } %831, 0
  store ptr %832, ptr %20, align 8
  %833 = extractvalue { ptr, i32 } %831, 1
  store i32 %833, ptr %21, align 4
  br label %843

834:                                              ; preds = %822
  %835 = landingpad { ptr, i32 }
          cleanup
  %836 = extractvalue { ptr, i32 } %835, 0
  store ptr %836, ptr %20, align 8
  %837 = extractvalue { ptr, i32 } %835, 1
  store i32 %837, ptr %21, align 4
  br label %842

838:                                              ; preds = %823
  %839 = landingpad { ptr, i32 }
          cleanup
  %840 = extractvalue { ptr, i32 } %839, 0
  store ptr %840, ptr %20, align 8
  %841 = extractvalue { ptr, i32 } %839, 1
  store i32 %841, ptr %21, align 4
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %85) #9
  br label %842

842:                                              ; preds = %838, %834
  call void @llvm.lifetime.end.p0(i64 160, ptr %85) #9
  br label %843

843:                                              ; preds = %842, %830
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %83) #9
  br label %844

844:                                              ; preds = %843, %826
  call void @llvm.lifetime.end.p0(i64 32, ptr %83) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #9
  br label %967

845:                                              ; preds = %810
  store i8 1, ptr %71, align 1, !tbaa !11
  br label %846

846:                                              ; preds = %845, %825
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #9
  br label %847

847:                                              ; preds = %846, %807
  %848 = load i32, ptr %70, align 4, !tbaa !9
  %849 = icmp eq i32 %848, 6
  br i1 %849, label %850, label %930

850:                                              ; preds = %847
  call void @llvm.lifetime.start.p0(i64 4, ptr %86) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %87) #9
  %851 = load ptr, ptr @simGetStackStringValue, align 8, !tbaa !5
  %852 = load i32, ptr %11, align 4, !tbaa !9
  %853 = call noundef ptr %851(i32 noundef %852, ptr noundef %86)
  store ptr %853, ptr %87, align 8, !tbaa !5
  %854 = load ptr, ptr %87, align 8, !tbaa !5
  %855 = icmp ne ptr %854, null
  br i1 %855, label %856, label %924

856:                                              ; preds = %850
  %857 = load i32, ptr %86, align 4, !tbaa !9
  %858 = load ptr, ptr %12, align 8, !tbaa !5
  %859 = load i32, ptr %24, align 4, !tbaa !9
  %860 = mul nsw i32 %859, 2
  %861 = add nsw i32 1, %860
  %862 = add nsw i32 %861, 1
  %863 = sext i32 %862 to i64
  %864 = getelementptr inbounds i32, ptr %858, i64 %863
  %865 = load i32, ptr %864, align 4, !tbaa !9
  %866 = icmp slt i32 %857, %865
  br i1 %866, label %867, label %910

867:                                              ; preds = %856
  %868 = load ptr, ptr %12, align 8, !tbaa !5
  %869 = load i32, ptr %24, align 4, !tbaa !9
  %870 = mul nsw i32 %869, 2
  %871 = add nsw i32 1, %870
  %872 = add nsw i32 %871, 1
  %873 = sext i32 %872 to i64
  %874 = getelementptr inbounds i32, ptr %868, i64 %873
  %875 = load i32, ptr %874, align 4, !tbaa !9
  %876 = icmp ne i32 %875, 0
  br i1 %876, label %877, label %910

877:                                              ; preds = %867
  %878 = load ptr, ptr @simReleaseBuffer, align 8, !tbaa !5
  %879 = load ptr, ptr %87, align 8, !tbaa !5
  %880 = call noundef i32 %878(ptr noundef %879)
  call void @llvm.lifetime.start.p0(i64 376, ptr %88) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %88)
  %881 = load ptr, ptr %16, align 8, !tbaa !5
  %882 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef %881)
          to label %883 unwind label %896

883:                                              ; preds = %877
  %884 = load i32, ptr %24, align 4, !tbaa !9
  %885 = add nsw i32 %884, 1
  %886 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %882, i32 noundef %885)
          to label %887 unwind label %896

887:                                              ; preds = %883
  %888 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %886, ptr noundef @.str.8)
          to label %889 unwind label %896

889:                                              ; preds = %887
  %890 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  %891 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %89) #9
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %89, ptr noundef nonnull align 8 dereferenceable(112) %88)
          to label %892 unwind label %900

892:                                              ; preds = %889
  %893 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %89) #9
  %894 = invoke noundef i32 %890(ptr noundef %891, ptr noundef %893)
          to label %895 unwind label %904

895:                                              ; preds = %892
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %89) #9
  store i1 false, ptr %9, align 1
  store i32 1, ptr %23, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %88) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %88) #9
  br label %926

896:                                              ; preds = %887, %883, %877
  %897 = landingpad { ptr, i32 }
          cleanup
  %898 = extractvalue { ptr, i32 } %897, 0
  store ptr %898, ptr %20, align 8
  %899 = extractvalue { ptr, i32 } %897, 1
  store i32 %899, ptr %21, align 4
  br label %909

900:                                              ; preds = %889
  %901 = landingpad { ptr, i32 }
          cleanup
  %902 = extractvalue { ptr, i32 } %901, 0
  store ptr %902, ptr %20, align 8
  %903 = extractvalue { ptr, i32 } %901, 1
  store i32 %903, ptr %21, align 4
  br label %908

904:                                              ; preds = %892
  %905 = landingpad { ptr, i32 }
          cleanup
  %906 = extractvalue { ptr, i32 } %905, 0
  store ptr %906, ptr %20, align 8
  %907 = extractvalue { ptr, i32 } %905, 1
  store i32 %907, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #9
  br label %908

908:                                              ; preds = %904, %900
  call void @llvm.lifetime.end.p0(i64 32, ptr %89) #9
  br label %909

909:                                              ; preds = %908, %896
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %88) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %88) #9
  br label %929

910:                                              ; preds = %867, %856
  call void @llvm.lifetime.start.p0(i64 160, ptr %90) #9
  %911 = load ptr, ptr %87, align 8, !tbaa !5
  %912 = load i32, ptr %86, align 4, !tbaa !9
  call void @_ZN23CScriptFunctionDataItemC1EPKcj(ptr noundef nonnull align 8 dereferenceable(156) %90, ptr noundef %911, i32 noundef %912)
  %913 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %913, ptr noundef nonnull align 8 dereferenceable(156) %90)
          to label %914 unwind label %919

914:                                              ; preds = %910
  %915 = load ptr, ptr @simReleaseBuffer, align 8, !tbaa !5
  %916 = load ptr, ptr %87, align 8, !tbaa !5
  %917 = invoke noundef i32 %915(ptr noundef %916)
          to label %918 unwind label %919

918:                                              ; preds = %914
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %90) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %90) #9
  br label %923

919:                                              ; preds = %914, %910
  %920 = landingpad { ptr, i32 }
          cleanup
  %921 = extractvalue { ptr, i32 } %920, 0
  store ptr %921, ptr %20, align 8
  %922 = extractvalue { ptr, i32 } %920, 1
  store i32 %922, ptr %21, align 4
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %90) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %90) #9
  br label %929

923:                                              ; preds = %918
  br label %925

924:                                              ; preds = %850
  store i8 1, ptr %71, align 1, !tbaa !11
  br label %925

925:                                              ; preds = %924, %923
  store i32 0, ptr %23, align 4
  br label %926

926:                                              ; preds = %925, %895
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %86) #9
  %927 = load i32, ptr %23, align 4
  switch i32 %927, label %964 [
    i32 0, label %928
  ]

928:                                              ; preds = %926
  br label %930

929:                                              ; preds = %919, %909
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %86) #9
  br label %967

930:                                              ; preds = %928, %847
  %931 = load i8, ptr %71, align 1, !tbaa !11, !range !13, !noundef !14
  %932 = trunc i8 %931 to i1
  br i1 %932, label %933, label %963

933:                                              ; preds = %930
  call void @llvm.lifetime.start.p0(i64 376, ptr %91) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %91)
  %934 = load ptr, ptr %16, align 8, !tbaa !5
  %935 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %91, ptr noundef %934)
          to label %936 unwind label %949

936:                                              ; preds = %933
  %937 = load i32, ptr %24, align 4, !tbaa !9
  %938 = add nsw i32 %937, 1
  %939 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %935, i32 noundef %938)
          to label %940 unwind label %949

940:                                              ; preds = %936
  %941 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %939, ptr noundef @.str.5)
          to label %942 unwind label %949

942:                                              ; preds = %940
  %943 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  %944 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %92) #9
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %92, ptr noundef nonnull align 8 dereferenceable(112) %91)
          to label %945 unwind label %953

945:                                              ; preds = %942
  %946 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %92) #9
  %947 = invoke noundef i32 %943(ptr noundef %944, ptr noundef %946)
          to label %948 unwind label %957

948:                                              ; preds = %945
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %92) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %92) #9
  store i1 false, ptr %9, align 1
  store i32 1, ptr %23, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %91) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %91) #9
  br label %964

949:                                              ; preds = %940, %936, %933
  %950 = landingpad { ptr, i32 }
          cleanup
  %951 = extractvalue { ptr, i32 } %950, 0
  store ptr %951, ptr %20, align 8
  %952 = extractvalue { ptr, i32 } %950, 1
  store i32 %952, ptr %21, align 4
  br label %962

953:                                              ; preds = %942
  %954 = landingpad { ptr, i32 }
          cleanup
  %955 = extractvalue { ptr, i32 } %954, 0
  store ptr %955, ptr %20, align 8
  %956 = extractvalue { ptr, i32 } %954, 1
  store i32 %956, ptr %21, align 4
  br label %961

957:                                              ; preds = %945
  %958 = landingpad { ptr, i32 }
          cleanup
  %959 = extractvalue { ptr, i32 } %958, 0
  store ptr %959, ptr %20, align 8
  %960 = extractvalue { ptr, i32 } %958, 1
  store i32 %960, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %92) #9
  br label %961

961:                                              ; preds = %957, %953
  call void @llvm.lifetime.end.p0(i64 32, ptr %92) #9
  br label %962

962:                                              ; preds = %961, %949
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %91) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %91) #9
  br label %967

963:                                              ; preds = %930
  store i32 0, ptr %23, align 4
  br label %964

964:                                              ; preds = %963, %948, %926
  call void @llvm.lifetime.end.p0(i64 1, ptr %71) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #9
  %965 = load i32, ptr %23, align 4
  switch i32 %965, label %969 [
    i32 0, label %966
  ]

966:                                              ; preds = %964
  br label %968

967:                                              ; preds = %962, %929, %844, %801, %783, %765, %747, %727
  call void @llvm.lifetime.end.p0(i64 1, ptr %71) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #9
  br label %973

968:                                              ; preds = %966, %713
  store i32 0, ptr %23, align 4
  br label %969

969:                                              ; preds = %968, %964, %711
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  br label %970

970:                                              ; preds = %969, %246
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  %971 = load i32, ptr %23, align 4
  switch i32 %971, label %979 [
    i32 0, label %972
  ]

972:                                              ; preds = %970
  br label %975

973:                                              ; preds = %967, %714
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  br label %974

974:                                              ; preds = %973, %260
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  br label %985

975:                                              ; preds = %972, %204
  %976 = load ptr, ptr @simPopStackItem, align 8, !tbaa !5
  %977 = load i32, ptr %11, align 4, !tbaa !9
  %978 = call noundef i32 %976(i32 noundef %977, i32 noundef 1)
  store i32 0, ptr %23, align 4
  br label %979

979:                                              ; preds = %975, %970, %202, %187
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  %980 = load i32, ptr %23, align 4
  switch i32 %980, label %986 [
    i32 0, label %981
  ]

981:                                              ; preds = %979
  br label %982

982:                                              ; preds = %981
  %983 = load i32, ptr %24, align 4, !tbaa !9
  %984 = add nsw i32 %983, 1
  store i32 %984, ptr %24, align 4, !tbaa !9
  br label %128, !llvm.loop !23

985:                                              ; preds = %974, %201, %162
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  br label %991

986:                                              ; preds = %979, %139, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  %987 = load i32, ptr %23, align 4
  switch i32 %987, label %989 [
    i32 2, label %988
  ]

988:                                              ; preds = %986
  store i1 true, ptr %9, align 1
  store i32 1, ptr %23, align 4
  br label %989

989:                                              ; preds = %988, %986, %112
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  %990 = load i1, ptr %9, align 1
  ret i1 %990

991:                                              ; preds = %985, %126
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %992

992:                                              ; preds = %991
  %993 = load ptr, ptr %20, align 8
  %994 = load i32, ptr %21, align 4
  %995 = insertvalue { ptr, i32 } poison, ptr %993, 0
  %996 = insertvalue { ptr, i32 } %995, i32 %994, 1
  resume { ptr, i32 } %996
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(156)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(112)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #3 align 2

declare void @_ZN23CScriptFunctionDataItemC1Ev(ptr noundef nonnull align 8 dereferenceable(156)) unnamed_addr #5

; Function Attrs: nounwind
declare void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156)) unnamed_addr #6

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #5

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #7

declare void @_ZN23CScriptFunctionDataItem11setNilTableEi(ptr noundef nonnull align 8 dereferenceable(156), i32 noundef) #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { ptr, i32 } @_ZNSt6vectorIbSaIbEE5beginEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 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) #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt19_Bit_const_iteratorC2ERKSt13_Bit_iterator(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #3 align 2

declare void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIbSaIbEE(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

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

declare void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

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

declare void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIfSaIfEE(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

declare void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE6insertEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EERSA_(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

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

declare void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5

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

declare void @_ZN23CScriptFunctionDataItemC1Eb(ptr noundef nonnull align 8 dereferenceable(156), i1 noundef zeroext) unnamed_addr #5

declare void @_ZN23CScriptFunctionDataItemC1Ei(ptr noundef nonnull align 8 dereferenceable(156), i32 noundef) unnamed_addr #5

declare void @_ZN23CScriptFunctionDataItemC1Ef(ptr noundef nonnull align 8 dereferenceable(156), float noundef) unnamed_addr #5

declare void @_ZN23CScriptFunctionDataItemC1Ed(ptr noundef nonnull align 8 dereferenceable(156), double noundef) unnamed_addr #5

declare void @_ZN23CScriptFunctionDataItemC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5

declare void @_ZN23CScriptFunctionDataItemC1EPKcj(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef, i32 noundef) unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

attributes #0 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint 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 #5 = { "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 #6 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nobuiltin allocsize(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 #8 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin nounwind }

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

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


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

%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%class.CScriptFunctionDataItem = type <{ ptr, %"class.std::vector.0", %"class.std::vector.4", %"class.std::vector.9", %"class.std::vector.14", %"class.std::vector.19", i32, i8, [3 x i8], i32, [4 x i8] }>
%"class.std::vector.0" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.14" = type { %"struct.std::_Vector_base.15" }
%"struct.std::_Vector_base.15" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Bit_const_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"class.std::allocator.24" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.27" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@simPopStackItem = external local_unnamed_addr global ptr, align 8
@simGetStackSize = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@simSetLastError = external local_unnamed_addr global ptr, align 8
@simMoveStackItemToTop = external local_unnamed_addr global ptr, align 8
@simIsStackValueNull = external local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@simGetStackTableInfo = external local_unnamed_addr global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [36 x i8], align 1
@simUnfoldStackTable = external local_unnamed_addr global ptr, align 8
@simGetStackBoolValue = external local_unnamed_addr global ptr, align 8
@simPushTableOntoStack = external local_unnamed_addr global ptr, align 8
@simGetStackInt32Table = external local_unnamed_addr global ptr, align 8
@simGetStackFloatTable = external local_unnamed_addr global ptr, align 8
@simGetStackDoubleTable = external local_unnamed_addr global ptr, align 8
@simGetStackStringValue = external local_unnamed_addr global ptr, align 8
@simReleaseBuffer = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [20 x i8], align 1
@simGetStackInt32Value = external local_unnamed_addr global ptr, align 8
@simGetStackFloatValue = external local_unnamed_addr global ptr, align 8
@simGetStackDoubleValue = external local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN19CScriptFunctionData9_readDataEiPKiiPKcS3_S3_RSt6vectorI23CScriptFunctionDataItemSaIS5_EE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(56) %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef nonnull align 8 dereferenceable(24) %7) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %9 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %class.CScriptFunctionDataItem, align 8
  %12 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %class.CScriptFunctionDataItem, align 8
  %21 = alloca %"class.std::vector.0", align 8
  %22 = alloca i8, align 1
  %23 = alloca %"struct.std::_Bit_const_iterator", align 8
  %24 = alloca %"struct.std::_Bit_iterator", align 8
  %25 = alloca i8, align 1
  %26 = alloca %class.CScriptFunctionDataItem, align 8
  %27 = alloca %"class.std::vector.4", align 8
  %28 = alloca %class.CScriptFunctionDataItem, align 8
  %29 = alloca %"class.std::vector.9", align 8
  %30 = alloca %class.CScriptFunctionDataItem, align 8
  %31 = alloca %"class.std::vector.14", align 8
  %32 = alloca %class.CScriptFunctionDataItem, align 8
  %33 = alloca %"class.std::vector.19", align 8
  %34 = alloca i32, align 4
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::allocator.24", align 1
  %37 = alloca %"class.__gnu_cxx::__normal_iterator.27", align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %39 = alloca %class.CScriptFunctionDataItem, align 8
  %40 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca %class.CScriptFunctionDataItem, align 8
  %43 = alloca i8, align 1
  %44 = alloca %class.CScriptFunctionDataItem, align 8
  %45 = alloca i32, align 4
  %46 = alloca %class.CScriptFunctionDataItem, align 8
  %47 = alloca float, align 4
  %48 = alloca %class.CScriptFunctionDataItem, align 8
  %49 = alloca double, align 8
  %50 = alloca %class.CScriptFunctionDataItem, align 8
  %51 = alloca i32, align 4
  %52 = alloca %"class.std::__cxx11::basic_string", align 8
  %53 = alloca %"class.std::allocator.24", align 1
  %54 = alloca %class.CScriptFunctionDataItem, align 8
  %55 = alloca i32, align 4
  %56 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %57 = alloca %"class.std::__cxx11::basic_string", align 8
  %58 = alloca %class.CScriptFunctionDataItem, align 8
  %59 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %60 = alloca %"class.std::__cxx11::basic_string", align 8
  tail call void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %61 = load ptr, ptr @simGetStackSize, align 8, !tbaa !5
  %62 = tail call noundef i32 %61(i32 noundef %1)
  %63 = icmp slt i32 %62, %3
  br i1 %63, label %66, label %.preheader366

.preheader366:                                    ; preds = %8
  %invariant.gep = getelementptr inbounds i8, ptr %2, i64 8
  %64 = icmp sgt i32 %62, 0
  br i1 %64, label %.lr.ph418, label %.thread358

.lr.ph418:                                        ; preds = %.preheader366
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %24, i64 8
  %65 = getelementptr inbounds i8, ptr %23, i64 8
  %wide.trip.count = zext nneg i32 %62 to i64
  br label %84

66:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %9) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %9)
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull @.str.4)
          to label %68 unwind label %76

68:                                               ; preds = %66
  %69 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef %5)
          to label %70 unwind label %76

70:                                               ; preds = %68
  %71 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #8
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(112) %9)
          to label %72 unwind label %78

72:                                               ; preds = %70
  %73 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  %74 = invoke noundef i32 %71(ptr noundef %4, ptr noundef %73)
          to label %75 unwind label %80

75:                                               ; preds = %72
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %9) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %9) #8
  br label %.thread358

76:                                               ; preds = %68, %66
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %83

78:                                               ; preds = %70
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %82

80:                                               ; preds = %72
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  br label %82

82:                                               ; preds = %80, %78
  %.pn319 = phi { ptr, i32 } [ %81, %80 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  br label %83

83:                                               ; preds = %82, %76
  %.pn319.pn = phi { ptr, i32 } [ %.pn319, %82 ], [ %77, %76 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %9) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %9) #8
  br label %514

84:                                               ; preds = %.lr.ph418, %.thread329.thread
  %indvars.iv = phi i64 [ 0, %.lr.ph418 ], [ %indvars.iv.next, %.thread329.thread ]
  %85 = load i32, ptr %2, align 4, !tbaa !9
  %86 = sext i32 %85 to i64
  %.not = icmp slt i64 %indvars.iv, %86
  br i1 %.not, label %87, label %.thread358

87:                                               ; preds = %84
  %88 = load ptr, ptr @simMoveStackItemToTop, align 8, !tbaa !5
  %89 = call noundef i32 %88(i32 noundef %1, i32 noundef 0)
  %90 = load ptr, ptr @simIsStackValueNull, align 8, !tbaa !5
  %91 = call noundef i32 %90(i32 noundef %1)
  %92 = icmp eq i32 %91, 1
  br i1 %92, label %93, label %.critedge

93:                                               ; preds = %87
  %94 = shl nuw nsw i64 %indvars.iv, 1
  %95 = or disjoint i64 %94, 1
  %96 = getelementptr inbounds i32, ptr %2, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !9
  %98 = and i32 %97, 65536
  %.not258 = icmp eq i32 %98, 0
  br i1 %.not258, label %103, label %99

99:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %11) #8
  call void @_ZN23CScriptFunctionDataItemC1Ev(ptr noundef nonnull align 8 dereferenceable(156) %11)
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(156) %11)
          to label %100 unwind label %101

100:                                              ; preds = %99
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %11) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %11) #8
  br label %.thread329.thread

101:                                              ; preds = %99
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %11) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %11) #8
  br label %514

103:                                              ; preds = %93
  %104 = trunc nuw nsw i64 %indvars.iv to i32
  %105 = call noundef i64 @_ZNKSt6vectorI23CScriptFunctionDataItemSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %106 = trunc i64 %105 to i32
  %107 = icmp slt i32 %106, %3
  br i1 %107, label %108, label %.thread358

108:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %12) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %12)
  %109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef %6)
          to label %110 unwind label %121

110:                                              ; preds = %108
  %111 = add nuw nsw i32 %104, 1
  %112 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %109, i32 noundef %111)
          to label %113 unwind label %121

113:                                              ; preds = %110
  %114 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull @.str.5)
          to label %115 unwind label %121

115:                                              ; preds = %113
  %116 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #8
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull align 8 dereferenceable(112) %12)
          to label %117 unwind label %123

117:                                              ; preds = %115
  %118 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  %119 = invoke noundef i32 %116(ptr noundef %4, ptr noundef %118)
          to label %120 unwind label %125

120:                                              ; preds = %117
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %12) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %12) #8
  br label %.thread358

121:                                              ; preds = %113, %110, %108
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %128

123:                                              ; preds = %115
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %127

125:                                              ; preds = %117
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  br label %127

127:                                              ; preds = %125, %123
  %.pn = phi { ptr, i32 } [ %126, %125 ], [ %124, %123 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  br label %128

128:                                              ; preds = %127, %121
  %.pn.pn = phi { ptr, i32 } [ %.pn, %127 ], [ %122, %121 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %12) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %12) #8
  br label %514

.critedge:                                        ; preds = %87
  %129 = load ptr, ptr @simGetStackTableInfo, align 8, !tbaa !5
  %130 = call noundef i32 %129(i32 noundef %1, i32 noundef 0)
  %131 = shl nuw nsw i64 %indvars.iv, 1
  %132 = or disjoint i64 %131, 1
  %133 = getelementptr inbounds i32, ptr %2, i64 %132
  %134 = load i32, ptr %133, align 4, !tbaa !9
  %135 = and i32 %134, 8
  %136 = icmp sgt i32 %130, -1
  %137 = zext i1 %136 to i32
  %.lobit = lshr exact i32 %135, 3
  %.not262 = icmp eq i32 %.lobit, %137
  br i1 %.not262, label %160, label %138

138:                                              ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %14) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %14)
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef %6)
          to label %140 unwind label %152

140:                                              ; preds = %138
  %141 = trunc nuw nsw i64 %indvars.iv to i32
  %142 = add nuw nsw i32 %141, 1
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %139, i32 noundef %142)
          to label %144 unwind label %152

144:                                              ; preds = %140
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %143, ptr noundef nonnull @.str.5)
          to label %146 unwind label %152

146:                                              ; preds = %144
  %147 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #8
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %15, ptr noundef nonnull align 8 dereferenceable(112) %14)
          to label %148 unwind label %154

148:                                              ; preds = %146
  %149 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  %150 = invoke noundef i32 %147(ptr noundef %4, ptr noundef %149)
          to label %151 unwind label %156

151:                                              ; preds = %148
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %14) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %14) #8
  br label %.thread358

152:                                              ; preds = %144, %140, %138
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %159

154:                                              ; preds = %146
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %158

156:                                              ; preds = %148
  %157 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  br label %158

158:                                              ; preds = %156, %154
  %.pn314 = phi { ptr, i32 } [ %157, %156 ], [ %155, %154 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  br label %159

159:                                              ; preds = %158, %152
  %.pn314.pn = phi { ptr, i32 } [ %.pn314, %158 ], [ %153, %152 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %14) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %14) #8
  br label %514

160:                                              ; preds = %.critedge
  %.not261 = icmp eq i32 %135, 0
  %161 = and i32 %134, -65545
  br i1 %.not261, label %393, label %162

162:                                              ; preds = %160
  %163 = icmp eq i32 %161, 0
  %spec.store.select = zext i1 %163 to i32
  %164 = icmp eq i32 %161, 1
  %spec.store.select7 = select i1 %164, i32 3, i32 %spec.store.select
  %165 = and i32 %134, -65546
  %166 = icmp eq i32 %165, 2
  %spec.store.select10 = select i1 %166, i32 2, i32 %spec.store.select7
  %167 = icmp eq i32 %161, 4
  %168 = icmp eq i32 %161, 6
  %169 = or i1 %168, %167
  %spec.store.select12 = select i1 %169, i32 4, i32 %spec.store.select10
  %170 = icmp eq i32 %161, 7
  %spec.store.select13 = select i1 %170, i32 2, i32 %spec.store.select12
  %171 = load ptr, ptr @simGetStackTableInfo, align 8, !tbaa !5
  %172 = call noundef i32 %171(i32 noundef %1, i32 noundef %spec.store.select13)
  %173 = icmp slt i32 %172, 1
  br i1 %173, label %174, label %196

174:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %16) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %16)
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef %6)
          to label %176 unwind label %188

176:                                              ; preds = %174
  %177 = trunc nuw nsw i64 %indvars.iv to i32
  %178 = add nuw nsw i32 %177, 1
  %179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %175, i32 noundef %178)
          to label %180 unwind label %188

180:                                              ; preds = %176
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %179, ptr noundef nonnull @.str.5)
          to label %182 unwind label %188

182:                                              ; preds = %180
  %183 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #8
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(112) %16)
          to label %184 unwind label %190

184:                                              ; preds = %182
  %185 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  %186 = invoke noundef i32 %183(ptr noundef %4, ptr noundef %185)
          to label %187 unwind label %192

187:                                              ; preds = %184
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %16) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %16) #8
  br label %.thread358

188:                                              ; preds = %180, %176, %174
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %195

190:                                              ; preds = %182
  %191 = landingpad { ptr, i32 }
          cleanup
  br label %194

192:                                              ; preds = %184
  %193 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  br label %194

194:                                              ; preds = %192, %190
  %.pn309 = phi { ptr, i32 } [ %193, %192 ], [ %191, %190 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #8
  br label %195

195:                                              ; preds = %194, %188
  %.pn309.pn = phi { ptr, i32 } [ %.pn309, %194 ], [ %189, %188 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %16) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %16) #8
  br label %514

196:                                              ; preds = %162
  %gep = getelementptr inbounds i32, ptr %invariant.gep, i64 %131
  %197 = load i32, ptr %gep, align 4, !tbaa !9
  %198 = icmp sge i32 %130, %197
  %.not278 = icmp eq i32 %197, 0
  %or.cond = or i1 %198, %.not278
  br i1 %or.cond, label %221, label %199

199:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %18) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %18)
  %200 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef %6)
          to label %201 unwind label %213

201:                                              ; preds = %199
  %202 = trunc nuw nsw i64 %indvars.iv to i32
  %203 = add nuw nsw i32 %202, 1
  %204 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %200, i32 noundef %203)
          to label %205 unwind label %213

205:                                              ; preds = %201
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %204, ptr noundef nonnull @.str.6)
          to label %207 unwind label %213

207:                                              ; preds = %205
  %208 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #8
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %19, ptr noundef nonnull align 8 dereferenceable(112) %18)
          to label %209 unwind label %215

209:                                              ; preds = %207
  %210 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  %211 = invoke noundef i32 %208(ptr noundef %4, ptr noundef %210)
          to label %212 unwind label %217

212:                                              ; preds = %209
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %18) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %18) #8
  br label %.thread358

213:                                              ; preds = %205, %201, %199
  %214 = landingpad { ptr, i32 }
          cleanup
  br label %220

215:                                              ; preds = %207
  %216 = landingpad { ptr, i32 }
          cleanup
  br label %219

217:                                              ; preds = %209
  %218 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  br label %219

219:                                              ; preds = %217, %215
  %.pn306 = phi { ptr, i32 } [ %218, %217 ], [ %216, %215 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #8
  br label %220

220:                                              ; preds = %219, %213
  %.pn306.pn = phi { ptr, i32 } [ %.pn306, %219 ], [ %214, %213 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %18) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %18) #8
  br label %514

221:                                              ; preds = %196
  br i1 %163, label %222, label %230

222:                                              ; preds = %221
  %223 = call noalias noundef nonnull dereferenceable(160) ptr @_Znwm(i64 noundef 160) #9
  invoke void @_ZN23CScriptFunctionDataItemC1Ev(ptr noundef nonnull align 8 dereferenceable(156) %223)
          to label %224 unwind label %226

224:                                              ; preds = %222
  call void @_ZN23CScriptFunctionDataItem11setNilTableEi(ptr noundef nonnull align 8 dereferenceable(156) %223, i32 noundef %130)
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %20) #8
  call void @_ZN23CScriptFunctionDataItemC1Ev(ptr noundef nonnull align 8 dereferenceable(156) %20)
  invoke void @_ZN23CScriptFunctionDataItem11setNilTableEi(ptr noundef nonnull align 8 dereferenceable(156) %20, i32 noundef %130)
          to label %225 unwind label %228

225:                                              ; preds = %224
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(156) %20)
          to label %.thread326 unwind label %228

.thread326:                                       ; preds = %225
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %20) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %20) #8
  br label %.thread329.thread

226:                                              ; preds = %222
  %227 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %223, i64 noundef 160) #10
  br label %514

228:                                              ; preds = %225, %224
  %229 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %20) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %20) #8
  br label %514

230:                                              ; preds = %221
  br i1 %164, label %231, label %268

231:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %21) #8
  call void @_ZNSt6vectorIbSaIbEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #8
  %232 = load ptr, ptr @simUnfoldStackTable, align 8, !tbaa !5
  %233 = invoke noundef i32 %232(i32 noundef %1)
          to label %.preheader365 unwind label %237

.preheader365:                                    ; preds = %231
  %234 = icmp sgt i32 %130, 0
  br i1 %234, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %252, %.preheader365
  %235 = load ptr, ptr @simPushTableOntoStack, align 8, !tbaa !5
  %236 = invoke noundef i32 %235(i32 noundef %1)
          to label %259 unwind label %237

237:                                              ; preds = %._crit_edge, %231
  %238 = landingpad { ptr, i32 }
          cleanup
  br label %267

.lr.ph:                                           ; preds = %.preheader365, %252
  %.0248411 = phi i32 [ %253, %252 ], [ 0, %.preheader365 ]
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #8
  %239 = load ptr, ptr @simGetStackBoolValue, align 8, !tbaa !5
  %240 = invoke noundef i32 %239(i32 noundef %1, ptr noundef nonnull %22)
          to label %241 unwind label %254

241:                                              ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #8
  %242 = call { ptr, i32 } @_ZNSt6vectorIbSaIbEE5beginEv(ptr noundef nonnull align 8 dereferenceable(40) %21) #8
  %.fca.0.extract = extractvalue { ptr, i32 } %242, 0
  %.fca.1.extract = extractvalue { ptr, i32 } %242, 1
  store ptr %.fca.0.extract, ptr %24, align 8
  store i32 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @_ZNSt19_Bit_const_iteratorC2ERKSt13_Bit_iterator(ptr noundef nonnull align 8 dereferenceable(12) %23, ptr noundef nonnull align 8 dereferenceable(12) %24)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #8
  %243 = load i8, ptr %22, align 1, !tbaa !11
  %244 = icmp ne i8 %243, 0
  %245 = zext i1 %244 to i8
  store i8 %245, ptr %25, align 1, !tbaa !12
  %246 = load ptr, ptr %23, align 8
  %247 = load i32, ptr %65, align 8
  %248 = invoke { ptr, i32 } @_ZNSt6vectorIbSaIbEE6insertESt19_Bit_const_iteratorRKb(ptr noundef nonnull align 8 dereferenceable(40) %21, ptr %246, i32 %247, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %249 unwind label %256

249:                                              ; preds = %241
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #8
  %250 = load ptr, ptr @simPopStackItem, align 8, !tbaa !5
  %251 = invoke noundef i32 %250(i32 noundef %1, i32 noundef 2)
          to label %252 unwind label %254

252:                                              ; preds = %249
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #8
  %253 = add nuw nsw i32 %.0248411, 1
  %exitcond.not = icmp eq i32 %253, %130
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !14

254:                                              ; preds = %249, %.lr.ph
  %255 = landingpad { ptr, i32 }
          cleanup
  br label %258

256:                                              ; preds = %241
  %257 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #8
  br label %258

258:                                              ; preds = %256, %254
  %.pn302 = phi { ptr, i32 } [ %255, %254 ], [ %257, %256 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #8
  br label %267

259:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %26) #8
  invoke void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIbSaIbEE(ptr noundef nonnull align 8 dereferenceable(156) %26, ptr noundef nonnull align 8 dereferenceable(40) %21)
          to label %260 unwind label %262

260:                                              ; preds = %259
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(156) %26)
          to label %261 unwind label %264

261:                                              ; preds = %260
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %26) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %26) #8
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #8
  br label %268

262:                                              ; preds = %259
  %263 = landingpad { ptr, i32 }
          cleanup
  br label %266

264:                                              ; preds = %260
  %265 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %26) #8
  br label %266

266:                                              ; preds = %264, %262
  %.pn281 = phi { ptr, i32 } [ %265, %264 ], [ %263, %262 ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %26) #8
  br label %267

267:                                              ; preds = %266, %258, %237
  %.pn302.pn = phi { ptr, i32 } [ %.pn302, %258 ], [ %.pn281, %266 ], [ %238, %237 ]
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #8
  br label %514

268:                                              ; preds = %261, %230
  switch i32 %161, label %307 [
    i32 2, label %269
    i32 3, label %288
  ]

269:                                              ; preds = %268
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  %270 = icmp sgt i32 %130, 0
  br i1 %270, label %271, label %279

271:                                              ; preds = %269
  %272 = zext nneg i32 %130 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %272)
          to label %273 unwind label %277

273:                                              ; preds = %271
  %274 = load ptr, ptr @simGetStackInt32Table, align 8, !tbaa !5
  %275 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef 0) #8
  %276 = invoke noundef i32 %274(i32 noundef %1, ptr noundef nonnull %275, i32 noundef %130)
          to label %279 unwind label %277

277:                                              ; preds = %273, %271
  %278 = landingpad { ptr, i32 }
          cleanup
  br label %287

279:                                              ; preds = %273, %269
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %28) #8
  invoke void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(156) %28, ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %280 unwind label %282

280:                                              ; preds = %279
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(156) %28)
          to label %281 unwind label %284

281:                                              ; preds = %280
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %28) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %28) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #8
  br label %.thread329.thread

282:                                              ; preds = %279
  %283 = landingpad { ptr, i32 }
          cleanup
  br label %286

284:                                              ; preds = %280
  %285 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %28) #8
  br label %286

286:                                              ; preds = %284, %282
  %.pn283 = phi { ptr, i32 } [ %285, %284 ], [ %283, %282 ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %28) #8
  br label %287

287:                                              ; preds = %286, %277
  %.pn283.pn = phi { ptr, i32 } [ %.pn283, %286 ], [ %278, %277 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #8
  br label %514

288:                                              ; preds = %268
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #8
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #8
  %289 = icmp sgt i32 %130, 0
  br i1 %289, label %290, label %298

290:                                              ; preds = %288
  %291 = zext nneg i32 %130 to i64
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %291)
          to label %292 unwind label %296

292:                                              ; preds = %290
  %293 = load ptr, ptr @simGetStackFloatTable, align 8, !tbaa !5
  %294 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef 0) #8
  %295 = invoke noundef i32 %293(i32 noundef %1, ptr noundef nonnull %294, i32 noundef %130)
          to label %298 unwind label %296

296:                                              ; preds = %292, %290
  %297 = landingpad { ptr, i32 }
          cleanup
  br label %306

298:                                              ; preds = %292, %288
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %30) #8
  invoke void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIfSaIfEE(ptr noundef nonnull align 8 dereferenceable(156) %30, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %299 unwind label %301

299:                                              ; preds = %298
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(156) %30)
          to label %300 unwind label %303

300:                                              ; preds = %299
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %30) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %30) #8
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #8
  br label %.thread329.thread

301:                                              ; preds = %298
  %302 = landingpad { ptr, i32 }
          cleanup
  br label %305

303:                                              ; preds = %299
  %304 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %30) #8
  br label %305

305:                                              ; preds = %303, %301
  %.pn286 = phi { ptr, i32 } [ %304, %303 ], [ %302, %301 ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %30) #8
  br label %306

306:                                              ; preds = %305, %296
  %.pn286.pn = phi { ptr, i32 } [ %.pn286, %305 ], [ %297, %296 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #8
  br label %514

307:                                              ; preds = %268
  br i1 %170, label %308, label %327

308:                                              ; preds = %307
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %31) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  %309 = icmp sgt i32 %130, 0
  br i1 %309, label %310, label %318

310:                                              ; preds = %308
  %311 = zext nneg i32 %130 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %311)
          to label %312 unwind label %316

312:                                              ; preds = %310
  %313 = load ptr, ptr @simGetStackDoubleTable, align 8, !tbaa !5
  %314 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef 0) #8
  %315 = invoke noundef i32 %313(i32 noundef %1, ptr noundef nonnull %314, i32 noundef %130)
          to label %318 unwind label %316

316:                                              ; preds = %312, %310
  %317 = landingpad { ptr, i32 }
          cleanup
  br label %326

318:                                              ; preds = %312, %308
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %32) #8
  invoke void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(156) %32, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %319 unwind label %321

319:                                              ; preds = %318
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(156) %32)
          to label %320 unwind label %323

320:                                              ; preds = %319
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %32) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %32) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #8
  br label %.thread329.thread

321:                                              ; preds = %318
  %322 = landingpad { ptr, i32 }
          cleanup
  br label %325

323:                                              ; preds = %319
  %324 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %32) #8
  br label %325

325:                                              ; preds = %323, %321
  %.pn289 = phi { ptr, i32 } [ %324, %323 ], [ %322, %321 ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %32) #8
  br label %326

326:                                              ; preds = %325, %316
  %.pn289.pn = phi { ptr, i32 } [ %.pn289, %325 ], [ %317, %316 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #8
  br label %514

327:                                              ; preds = %307
  br i1 %167, label %328, label %.thread329

328:                                              ; preds = %327
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #8
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  %329 = load ptr, ptr @simUnfoldStackTable, align 8, !tbaa !5
  %330 = invoke noundef i32 %329(i32 noundef %1)
          to label %.preheader unwind label %334

.preheader:                                       ; preds = %328
  %331 = icmp sgt i32 %130, 0
  br i1 %331, label %.lr.ph413, label %._crit_edge414

._crit_edge414:                                   ; preds = %349, %.preheader
  %332 = load ptr, ptr @simPushTableOntoStack, align 8, !tbaa !5
  %333 = invoke noundef i32 %332(i32 noundef %1)
          to label %362 unwind label %334

334:                                              ; preds = %._crit_edge414, %328
  %335 = landingpad { ptr, i32 }
          cleanup
  br label %370

.lr.ph413:                                        ; preds = %.preheader, %349
  %.0246412 = phi i32 [ %350, %349 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %34) #8
  %336 = load ptr, ptr @simGetStackStringValue, align 8, !tbaa !5
  %337 = invoke noundef ptr %336(i32 noundef %1, ptr noundef nonnull %34)
          to label %338 unwind label %351

338:                                              ; preds = %.lr.ph413
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %35) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %36) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef %337, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %339 unwind label %353

339:                                              ; preds = %338
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #8
  %340 = load ptr, ptr @simReleaseBuffer, align 8, !tbaa !5
  %341 = invoke noundef i32 %340(ptr noundef %337)
          to label %342 unwind label %355

342:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #8
  %343 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  store ptr %343, ptr %38, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEC2IPS6_vEERKNS0_IT_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38) #8
  %344 = load ptr, ptr %37, align 8
  %345 = invoke ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE6insertEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EERSA_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr %344, ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %346 unwind label %357

346:                                              ; preds = %342
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #8
  %347 = load ptr, ptr @simPopStackItem, align 8, !tbaa !5
  %348 = invoke noundef i32 %347(i32 noundef %1, i32 noundef 2)
          to label %349 unwind label %355

349:                                              ; preds = %346
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #8
  %350 = add nuw nsw i32 %.0246412, 1
  %exitcond464.not = icmp eq i32 %350, %130
  br i1 %exitcond464.not, label %._crit_edge414, label %.lr.ph413, !llvm.loop !16

351:                                              ; preds = %.lr.ph413
  %352 = landingpad { ptr, i32 }
          cleanup
  br label %361

353:                                              ; preds = %338
  %354 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #8
  br label %360

355:                                              ; preds = %346, %339
  %356 = landingpad { ptr, i32 }
          cleanup
  br label %359

357:                                              ; preds = %342
  %358 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #8
  br label %359

359:                                              ; preds = %357, %355
  %.pn297 = phi { ptr, i32 } [ %356, %355 ], [ %358, %357 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #8
  br label %360

360:                                              ; preds = %359, %353
  %.pn297.pn = phi { ptr, i32 } [ %.pn297, %359 ], [ %354, %353 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #8
  br label %361

361:                                              ; preds = %360, %351
  %.pn297.pn.pn = phi { ptr, i32 } [ %.pn297.pn, %360 ], [ %352, %351 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #8
  br label %370

362:                                              ; preds = %._crit_edge414
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %39) #8
  invoke void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE(ptr noundef nonnull align 8 dereferenceable(156) %39, ptr noundef nonnull align 8 dereferenceable(24) %33)
          to label %363 unwind label %365

363:                                              ; preds = %362
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(156) %39)
          to label %364 unwind label %367

364:                                              ; preds = %363
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %39) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %39) #8
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #8
  br label %.thread329

365:                                              ; preds = %362
  %366 = landingpad { ptr, i32 }
          cleanup
  br label %369

367:                                              ; preds = %363
  %368 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %39) #8
  br label %369

369:                                              ; preds = %367, %365
  %.pn292 = phi { ptr, i32 } [ %368, %367 ], [ %366, %365 ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %39) #8
  br label %370

370:                                              ; preds = %369, %361, %334
  %.pn297.pn.pn.pn = phi { ptr, i32 } [ %.pn297.pn.pn, %361 ], [ %.pn292, %369 ], [ %335, %334 ]
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #8
  br label %514

.thread329:                                       ; preds = %364, %327
  br i1 %168, label %371, label %.thread329.thread

371:                                              ; preds = %.thread329
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %40) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %40)
  %372 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef %6)
          to label %373 unwind label %385

373:                                              ; preds = %371
  %374 = trunc nuw nsw i64 %indvars.iv to i32
  %375 = add nuw nsw i32 %374, 1
  %376 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %372, i32 noundef %375)
          to label %377 unwind label %385

377:                                              ; preds = %373
  %378 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %376, ptr noundef nonnull @.str.7)
          to label %379 unwind label %385

379:                                              ; preds = %377
  %380 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %41) #8
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %41, ptr noundef nonnull align 8 dereferenceable(112) %40)
          to label %381 unwind label %387

381:                                              ; preds = %379
  %382 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %41) #8
  %383 = invoke noundef i32 %380(ptr noundef %4, ptr noundef %382)
          to label %384 unwind label %389

384:                                              ; preds = %381
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %41) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %40) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %40) #8
  br label %.thread358

385:                                              ; preds = %377, %373, %371
  %386 = landingpad { ptr, i32 }
          cleanup
  br label %392

387:                                              ; preds = %379
  %388 = landingpad { ptr, i32 }
          cleanup
  br label %391

389:                                              ; preds = %381
  %390 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #8
  br label %391

391:                                              ; preds = %389, %387
  %.pn294 = phi { ptr, i32 } [ %390, %389 ], [ %388, %387 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %41) #8
  br label %392

392:                                              ; preds = %391, %385
  %.pn294.pn = phi { ptr, i32 } [ %.pn294, %391 ], [ %386, %385 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %40) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %40) #8
  br label %514

393:                                              ; preds = %160
  switch i32 %161, label %.thread329.thread [
    i32 0, label %394
    i32 1, label %401
    i32 2, label %410
    i32 3, label %418
    i32 7, label %426
    i32 4, label %433
    i32 6, label %453
  ]

394:                                              ; preds = %393
  %395 = load ptr, ptr @simIsStackValueNull, align 8, !tbaa !5
  %396 = call noundef i32 %395(i32 noundef %1)
  %397 = icmp sgt i32 %396, 0
  br i1 %397, label %398, label %.thread347.thread.thread

398:                                              ; preds = %394
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %42) #8
  call void @_ZN23CScriptFunctionDataItemC1Ev(ptr noundef nonnull align 8 dereferenceable(156) %42)
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(156) %42)
          to label %.thread347.thread.thread363 unwind label %399

.thread347.thread.thread363:                      ; preds = %398
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %42) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %42) #8
  br label %.thread329.thread

399:                                              ; preds = %398
  %400 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %42) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %42) #8
  br label %514

401:                                              ; preds = %393
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %43) #8
  store i8 0, ptr %43, align 1, !tbaa !11
  %402 = load ptr, ptr @simGetStackBoolValue, align 8, !tbaa !5
  %403 = call noundef i32 %402(i32 noundef %1, ptr noundef nonnull %43)
  %.not549 = icmp eq i32 %403, 1
  br i1 %.not549, label %404, label %.thread

.thread:                                          ; preds = %401
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %43) #8
  br label %.thread347.thread.thread

404:                                              ; preds = %401
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %44) #8
  %405 = load i8, ptr %43, align 1, !tbaa !11
  %406 = icmp ne i8 %405, 0
  call void @_ZN23CScriptFunctionDataItemC1Eb(ptr noundef nonnull align 8 dereferenceable(156) %44, i1 noundef zeroext %406)
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(156) %44)
          to label %409 unwind label %407

407:                                              ; preds = %404
  %408 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %44) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %44) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %43) #8
  br label %514

409:                                              ; preds = %404
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %44) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %44) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %43) #8
  br label %.thread329.thread

410:                                              ; preds = %393
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %45) #8
  store i32 0, ptr %45, align 4, !tbaa !9
  %411 = load ptr, ptr @simGetStackInt32Value, align 8, !tbaa !5
  %412 = call noundef i32 %411(i32 noundef %1, ptr noundef nonnull %45)
  %.not548 = icmp eq i32 %412, 1
  br i1 %.not548, label %413, label %.thread468

.thread468:                                       ; preds = %410
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #8
  br label %.thread347.thread.thread

413:                                              ; preds = %410
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %46) #8
  %414 = load i32, ptr %45, align 4, !tbaa !9
  call void @_ZN23CScriptFunctionDataItemC1Ei(ptr noundef nonnull align 8 dereferenceable(156) %46, i32 noundef %414)
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(156) %46)
          to label %417 unwind label %415

415:                                              ; preds = %413
  %416 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %46) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %46) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #8
  br label %514

417:                                              ; preds = %413
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %46) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %46) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #8
  br label %.thread329.thread

418:                                              ; preds = %393
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %47) #8
  store float 0.000000e+00, ptr %47, align 4, !tbaa !17
  %419 = load ptr, ptr @simGetStackFloatValue, align 8, !tbaa !5
  %420 = call noundef i32 %419(i32 noundef %1, ptr noundef nonnull %47)
  %.not547 = icmp eq i32 %420, 1
  br i1 %.not547, label %421, label %.thread469

.thread469:                                       ; preds = %418
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %47) #8
  br label %.thread347.thread.thread

421:                                              ; preds = %418
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %48) #8
  %422 = load float, ptr %47, align 4, !tbaa !17
  call void @_ZN23CScriptFunctionDataItemC1Ef(ptr noundef nonnull align 8 dereferenceable(156) %48, float noundef %422)
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(156) %48)
          to label %425 unwind label %423

423:                                              ; preds = %421
  %424 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %48) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %48) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %47) #8
  br label %514

425:                                              ; preds = %421
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %48) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %48) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %47) #8
  br label %.thread329.thread

426:                                              ; preds = %393
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %49) #8
  store double 0.000000e+00, ptr %49, align 8, !tbaa !19
  %427 = load ptr, ptr @simGetStackDoubleValue, align 8, !tbaa !5
  %428 = call noundef i32 %427(i32 noundef %1, ptr noundef nonnull %49)
  %.not546 = icmp eq i32 %428, 1
  br i1 %.not546, label %429, label %.thread347.thread.thread467

.thread347.thread.thread467:                      ; preds = %426
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #8
  br label %.thread347.thread.thread

429:                                              ; preds = %426
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %50) #8
  %430 = load double, ptr %49, align 8, !tbaa !19
  call void @_ZN23CScriptFunctionDataItemC1Ed(ptr noundef nonnull align 8 dereferenceable(156) %50, double noundef %430)
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(156) %50)
          to label %.thread347.thread unwind label %431

431:                                              ; preds = %429
  %432 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %50) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #8
  br label %514

433:                                              ; preds = %393
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %51) #8
  %434 = load ptr, ptr @simGetStackStringValue, align 8, !tbaa !5
  %435 = call noundef ptr %434(i32 noundef %1, ptr noundef nonnull %51)
  %.not263 = icmp eq ptr %435, null
  br i1 %.not263, label %.thread349.thread, label %436

.thread349.thread:                                ; preds = %433
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %51) #8
  br label %.thread347.thread.thread

436:                                              ; preds = %433
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %52) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %53) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef nonnull %435, ptr noundef nonnull align 1 dereferenceable(1) %53)
          to label %437 unwind label %442

437:                                              ; preds = %436
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %53) #8
  %438 = load ptr, ptr @simReleaseBuffer, align 8, !tbaa !5
  %439 = invoke noundef i32 %438(ptr noundef nonnull %435)
          to label %440 unwind label %444

440:                                              ; preds = %437
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %54) #8
  invoke void @_ZN23CScriptFunctionDataItemC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(156) %54, ptr noundef nonnull align 8 dereferenceable(32) %52)
          to label %441 unwind label %446

441:                                              ; preds = %440
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(156) %54)
          to label %.thread349 unwind label %448

442:                                              ; preds = %436
  %443 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %53) #8
  br label %452

444:                                              ; preds = %437
  %445 = landingpad { ptr, i32 }
          cleanup
  br label %451

446:                                              ; preds = %440
  %447 = landingpad { ptr, i32 }
          cleanup
  br label %450

448:                                              ; preds = %441
  %449 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %54) #8
  br label %450

450:                                              ; preds = %448, %446
  %.pn264 = phi { ptr, i32 } [ %449, %448 ], [ %447, %446 ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %54) #8
  br label %451

451:                                              ; preds = %450, %444
  %.pn264.pn = phi { ptr, i32 } [ %.pn264, %450 ], [ %445, %444 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #8
  br label %452

452:                                              ; preds = %451, %442
  %.pn264.pn.pn = phi { ptr, i32 } [ %.pn264.pn, %451 ], [ %443, %442 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %52) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %51) #8
  br label %514

.thread349:                                       ; preds = %441
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %54) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %54) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %52) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %51) #8
  br label %.thread329.thread

453:                                              ; preds = %393
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %55) #8
  %454 = load ptr, ptr @simGetStackStringValue, align 8, !tbaa !5
  %455 = call noundef ptr %454(i32 noundef %1, ptr noundef nonnull %55)
  %.not268 = icmp eq ptr %455, null
  br i1 %.not268, label %.thread352.thread, label %456

.thread352.thread:                                ; preds = %453
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %55) #8
  br label %.thread347.thread.thread

456:                                              ; preds = %453
  %457 = load i32, ptr %55, align 4, !tbaa !9
  %gep416 = getelementptr inbounds i32, ptr %invariant.gep, i64 %131
  %458 = load i32, ptr %gep416, align 4, !tbaa !9
  %459 = icmp sge i32 %457, %458
  %.not269 = icmp eq i32 %458, 0
  %or.cond323 = or i1 %459, %.not269
  br i1 %or.cond323, label %483, label %460

460:                                              ; preds = %456
  %461 = load ptr, ptr @simReleaseBuffer, align 8, !tbaa !5
  %462 = call noundef i32 %461(ptr noundef nonnull %455)
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %56) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %56)
  %463 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef %6)
          to label %464 unwind label %475

464:                                              ; preds = %460
  %465 = trunc nuw nsw i64 %indvars.iv to i32
  %466 = add nuw nsw i32 %465, 1
  %467 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %463, i32 noundef %466)
          to label %468 unwind label %475

468:                                              ; preds = %464
  %469 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %467, ptr noundef nonnull @.str.8)
          to label %470 unwind label %475

470:                                              ; preds = %468
  %471 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %57) #8
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %57, ptr noundef nonnull align 8 dereferenceable(112) %56)
          to label %472 unwind label %477

472:                                              ; preds = %470
  %473 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %57) #8
  %474 = invoke noundef i32 %471(ptr noundef %4, ptr noundef %473)
          to label %489 unwind label %479

475:                                              ; preds = %468, %464, %460
  %476 = landingpad { ptr, i32 }
          cleanup
  br label %482

477:                                              ; preds = %470
  %478 = landingpad { ptr, i32 }
          cleanup
  br label %481

479:                                              ; preds = %472
  %480 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #8
  br label %481

481:                                              ; preds = %479, %477
  %.pn270 = phi { ptr, i32 } [ %480, %479 ], [ %478, %477 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #8
  br label %482

482:                                              ; preds = %481, %475
  %.pn270.pn = phi { ptr, i32 } [ %.pn270, %481 ], [ %476, %475 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %56) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %56) #8
  br label %490

483:                                              ; preds = %456
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %58) #8
  call void @_ZN23CScriptFunctionDataItemC1EPKcj(ptr noundef nonnull align 8 dereferenceable(156) %58, ptr noundef nonnull %455, i32 noundef %457)
  invoke void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(156) %58)
          to label %484 unwind label %487

484:                                              ; preds = %483
  %485 = load ptr, ptr @simReleaseBuffer, align 8, !tbaa !5
  %486 = invoke noundef i32 %485(ptr noundef nonnull %455)
          to label %.thread352 unwind label %487

487:                                              ; preds = %484, %483
  %488 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %58) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %58) #8
  br label %490

.thread352:                                       ; preds = %484
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %58) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %58) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %55) #8
  br label %.thread329.thread

489:                                              ; preds = %472
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %56) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %56) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %55) #8
  br label %.thread358

490:                                              ; preds = %487, %482
  %.pn270.pn.pn = phi { ptr, i32 } [ %.pn270.pn, %482 ], [ %488, %487 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %55) #8
  br label %514

.thread347.thread:                                ; preds = %429
  call void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156) %50) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #8
  br label %.thread329.thread

.thread347.thread.thread:                         ; preds = %394, %.thread352.thread, %.thread349.thread, %.thread469, %.thread468, %.thread, %.thread347.thread.thread467
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %59) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %59)
  %491 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef %6)
          to label %492 unwind label %504

492:                                              ; preds = %.thread347.thread.thread
  %493 = trunc i64 %indvars.iv to i32
  %494 = add nuw nsw i32 %493, 1
  %495 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %491, i32 noundef %494)
          to label %496 unwind label %504

496:                                              ; preds = %492
  %497 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %495, ptr noundef nonnull @.str.5)
          to label %498 unwind label %504

498:                                              ; preds = %496
  %499 = load ptr, ptr @simSetLastError, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %60) #8
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %60, ptr noundef nonnull align 8 dereferenceable(112) %59)
          to label %500 unwind label %506

500:                                              ; preds = %498
  %501 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %60) #8
  %502 = invoke noundef i32 %499(ptr noundef %4, ptr noundef %501)
          to label %503 unwind label %508

503:                                              ; preds = %500
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %60) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %59) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %59) #8
  br label %.thread358

504:                                              ; preds = %496, %492, %.thread347.thread.thread
  %505 = landingpad { ptr, i32 }
          cleanup
  br label %511

506:                                              ; preds = %498
  %507 = landingpad { ptr, i32 }
          cleanup
  br label %510

508:                                              ; preds = %500
  %509 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #8
  br label %510

510:                                              ; preds = %508, %506
  %.pn274 = phi { ptr, i32 } [ %509, %508 ], [ %507, %506 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %60) #8
  br label %511

511:                                              ; preds = %510, %504
  %.pn274.pn = phi { ptr, i32 } [ %.pn274, %510 ], [ %505, %504 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %59) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %59) #8
  br label %514

.thread329.thread:                                ; preds = %.thread352, %.thread349, %425, %417, %409, %.thread347.thread, %393, %.thread347.thread.thread363, %320, %281, %.thread326, %300, %.thread329, %100
  %512 = load ptr, ptr @simPopStackItem, align 8, !tbaa !5
  %513 = call noundef i32 %512(i32 noundef %1, i32 noundef 1)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond466.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond466.not, label %.thread358, label %84, !llvm.loop !21

.thread358:                                       ; preds = %84, %.thread329.thread, %.preheader366, %120, %103, %151, %489, %503, %187, %212, %384, %75
  %.12 = phi i1 [ false, %75 ], [ true, %103 ], [ false, %120 ], [ false, %151 ], [ false, %489 ], [ false, %503 ], [ false, %187 ], [ false, %212 ], [ false, %384 ], [ true, %.preheader366 ], [ true, %.thread329.thread ], [ true, %84 ]
  ret i1 %.12

514:                                              ; preds = %101, %128, %267, %287, %306, %326, %370, %392, %228, %226, %220, %195, %511, %490, %452, %431, %423, %415, %407, %399, %159, %83
  %.pn319.pn.pn = phi { ptr, i32 } [ %.pn319.pn, %83 ], [ %102, %101 ], [ %.pn.pn, %128 ], [ %.pn314.pn, %159 ], [ %.pn309.pn, %195 ], [ %.pn306.pn, %220 ], [ %.pn302.pn, %267 ], [ %.pn297.pn.pn.pn, %370 ], [ %.pn294.pn, %392 ], [ %.pn289.pn, %326 ], [ %.pn286.pn, %306 ], [ %.pn283.pn, %287 ], [ %229, %228 ], [ %227, %226 ], [ %.pn274.pn, %511 ], [ %.pn270.pn.pn, %490 ], [ %.pn264.pn.pn, %452 ], [ %432, %431 ], [ %424, %423 ], [ %416, %415 ], [ %408, %407 ], [ %400, %399 ]
  resume { ptr, i32 } %.pn319.pn.pn
}

; 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 uwtable
declare dso_local void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(156)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI23CScriptFunctionDataItemSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #3 align 2

declare void @_ZN23CScriptFunctionDataItemC1Ev(ptr noundef nonnull align 8 dereferenceable(156)) unnamed_addr #5

; Function Attrs: nounwind
declare void @_ZN23CScriptFunctionDataItemD1Ev(ptr noundef nonnull align 8 dereferenceable(156)) unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorI23CScriptFunctionDataItemSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #5

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #7

declare void @_ZN23CScriptFunctionDataItem11setNilTableEi(ptr noundef nonnull align 8 dereferenceable(156), i32 noundef) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { ptr, i32 } @_ZNSt6vectorIbSaIbEE5beginEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt19_Bit_const_iteratorC2ERKSt13_Bit_iterator(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #3 align 2

declare void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIbSaIbEE(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

declare void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

declare void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIfSaIfEE(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

declare void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE6insertEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EERSA_(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

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

declare void @_ZN23CScriptFunctionDataItemC1ERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5

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

declare void @_ZN23CScriptFunctionDataItemC1Eb(ptr noundef nonnull align 8 dereferenceable(156), i1 noundef zeroext) unnamed_addr #5

declare void @_ZN23CScriptFunctionDataItemC1Ei(ptr noundef nonnull align 8 dereferenceable(156), i32 noundef) unnamed_addr #5

declare void @_ZN23CScriptFunctionDataItemC1Ef(ptr noundef nonnull align 8 dereferenceable(156), float noundef) unnamed_addr #5

declare void @_ZN23CScriptFunctionDataItemC1Ed(ptr noundef nonnull align 8 dereferenceable(156), double noundef) unnamed_addr #5

declare void @_ZN23CScriptFunctionDataItemC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5

declare void @_ZN23CScriptFunctionDataItemC1EPKcj(ptr noundef nonnull align 8 dereferenceable(156), ptr noundef, i32 noundef) unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

attributes #0 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint 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 #5 = { "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 #6 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nobuiltin allocsize(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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

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

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


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