; LLVM IR from sp-nitech/SPTK :: src/filter (world_synthesis)

; 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::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<const double *, std::allocator<const double *>>::_Vector_impl" }
%"struct.std::_Vector_base<const double *, std::allocator<const double *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const double *, std::allocator<const double *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const double *, std::allocator<const double *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.sptk::WorldSynthesis" = type <{ ptr, i32, i32, double, i8, [7 x i8] }>

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk14WorldSynthesis3RunERKSt6vectorIdSaIdEERKS1_IS3_SaIS3_EES9_PS3_(ptr noundef nonnull align 8 dereferenceable(25) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef %4) #0 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca %"class.std::vector.5", align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.std::vector.5", align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca double, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %33 = load ptr, ptr %7, align 8
  %34 = getelementptr inbounds %"class.sptk::WorldSynthesis", ptr %33, i32 0, i32 4
  %35 = load i8, ptr %34, align 8, !tbaa !9, !range !14, !noundef !15
  %36 = trunc i8 %35 to i1
  br i1 %36, label %37, label %40

37:                                               ; preds = %5
  %38 = load ptr, ptr %11, align 8, !tbaa !5
  %39 = icmp eq ptr null, %38
  br i1 %39, label %40, label %41

40:                                               ; preds = %37, %5
  store i1 false, ptr %6, align 1
  br label %237

41:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #5
  %44 = trunc i64 %43 to i32
  store i32 %44, ptr %12, align 4, !tbaa !16
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #5
  %47 = trunc i64 %46 to i32
  %48 = load i32, ptr %12, align 4, !tbaa !16
  %49 = icmp slt i32 %47, %48
  br i1 %49, label %50, label %54

50:                                               ; preds = %41
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #5
  %53 = trunc i64 %52 to i32
  store i32 %53, ptr %12, align 4, !tbaa !16
  br label %54

54:                                               ; preds = %50, %41
  %55 = load ptr, ptr %10, align 8, !tbaa !5
  %56 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #5
  %57 = trunc i64 %56 to i32
  %58 = load i32, ptr %12, align 4, !tbaa !16
  %59 = icmp slt i32 %57, %58
  br i1 %59, label %60, label %64

60:                                               ; preds = %54
  %61 = load ptr, ptr %10, align 8, !tbaa !5
  %62 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #5
  %63 = trunc i64 %62 to i32
  store i32 %63, ptr %12, align 4, !tbaa !16
  br label %64

64:                                               ; preds = %60, %54
  %65 = load i32, ptr %12, align 4, !tbaa !16
  %66 = icmp sle i32 %65, 0
  br i1 %66, label %67, label %68

67:                                               ; preds = %64
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %236

68:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %69 = getelementptr inbounds %"class.sptk::WorldSynthesis", ptr %33, i32 0, i32 3
  %70 = load double, ptr %69, align 8, !tbaa !17
  %71 = fmul double 5.000000e-01, %70
  store double %71, ptr %14, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !16
  br label %72

72:                                               ; preds = %94, %68
  %73 = load i32, ptr %15, align 4, !tbaa !16
  %74 = load i32, ptr %12, align 4, !tbaa !16
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %72
  store i32 2, ptr %13, align 4
  br label %97

77:                                               ; preds = %72
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = load i32, ptr %15, align 4, !tbaa !16
  %80 = sext i32 %79 to i64
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %80) #5
  %82 = load double, ptr %81, align 8, !tbaa !18
  %83 = fcmp olt double %82, 0.000000e+00
  br i1 %83, label %92, label %84

84:                                               ; preds = %77
  %85 = load double, ptr %14, align 8, !tbaa !18
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = load i32, ptr %15, align 4, !tbaa !16
  %88 = sext i32 %87 to i64
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %88) #5
  %90 = load double, ptr %89, align 8, !tbaa !18
  %91 = fcmp olt double %85, %90
  br i1 %91, label %92, label %93

92:                                               ; preds = %84, %77
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %97

93:                                               ; preds = %84
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr %15, align 4, !tbaa !16
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %15, align 4, !tbaa !16
  br label %72, !llvm.loop !19

97:                                               ; preds = %92, %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  %98 = load i32, ptr %13, align 4
  switch i32 %98, label %235 [
    i32 2, label %99
  ]

99:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %100 = getelementptr inbounds %"class.sptk::WorldSynthesis", ptr %33, i32 0, i32 1
  %101 = load i32, ptr %100, align 8, !tbaa !21
  %102 = sdiv i32 %101, 2
  %103 = add nsw i32 %102, 1
  %104 = sext i32 %103 to i64
  store i64 %104, ptr %16, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #5
  call void @_ZNSt6vectorIPKdSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  %105 = load i32, ptr %12, align 4, !tbaa !16
  %106 = sext i32 %105 to i64
  invoke void @_ZNSt6vectorIPKdSaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %106)
          to label %107 unwind label %118

107:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %108 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %108, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %109 = load ptr, ptr %20, align 8, !tbaa !5
  %110 = call ptr @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %109) #5
  %111 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %110, ptr %111, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %112 = load ptr, ptr %20, align 8, !tbaa !5
  %113 = call ptr @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %112) #5
  %114 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %113, ptr %114, align 8
  br label %115

115:                                              ; preds = %136, %107
  %116 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt6vectorIdSaIdEES1_IS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  br i1 %116, label %122, label %117

117:                                              ; preds = %115
  store i32 5, ptr %13, align 4
  br label %142

118:                                              ; preds = %99
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %18, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %19, align 4
  br label %234

122:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %123 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES1_IS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  store ptr %123, ptr %23, align 8, !tbaa !5
  %124 = load ptr, ptr %23, align 8, !tbaa !5
  %125 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %124) #5
  %126 = load i64, ptr %16, align 8, !tbaa !22
  %127 = icmp ne i64 %125, %126
  br i1 %127, label %128, label %129

128:                                              ; preds = %122
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %133

129:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %130 = load ptr, ptr %23, align 8, !tbaa !5
  %131 = call noundef ptr @_ZNKSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %130) #5
  store ptr %131, ptr %24, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPKdSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %132 unwind label %138

132:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  store i32 0, ptr %13, align 4
  br label %133

133:                                              ; preds = %132, %128
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  %134 = load i32, ptr %13, align 4
  switch i32 %134, label %142 [
    i32 0, label %135
  ]

135:                                              ; preds = %133
  br label %136

136:                                              ; preds = %135
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES1_IS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  br label %115

138:                                              ; preds = %129
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %18, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %234

142:                                              ; preds = %133, %117
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  %143 = load i32, ptr %13, align 4
  switch i32 %143, label %233 [
    i32 5, label %144
  ]

144:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #5
  call void @_ZNSt6vectorIPKdSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  %145 = load i32, ptr %12, align 4, !tbaa !16
  %146 = sext i32 %145 to i64
  invoke void @_ZNSt6vectorIPKdSaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %146)
          to label %147 unwind label %158

147:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %148 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %148, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %149 = load ptr, ptr %26, align 8, !tbaa !5
  %150 = call ptr @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %149) #5
  %151 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  store ptr %150, ptr %151, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %152 = load ptr, ptr %26, align 8, !tbaa !5
  %153 = call ptr @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %152) #5
  %154 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  store ptr %153, ptr %154, align 8
  br label %155

155:                                              ; preds = %176, %147
  %156 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt6vectorIdSaIdEES1_IS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #5
  br i1 %156, label %162, label %157

157:                                              ; preds = %155
  store i32 7, ptr %13, align 4
  br label %182

158:                                              ; preds = %144
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %18, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %19, align 4
  br label %232

162:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %163 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES1_IS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #5
  store ptr %163, ptr %29, align 8, !tbaa !5
  %164 = load ptr, ptr %29, align 8, !tbaa !5
  %165 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %164) #5
  %166 = load i64, ptr %16, align 8, !tbaa !22
  %167 = icmp ne i64 %165, %166
  br i1 %167, label %168, label %169

168:                                              ; preds = %162
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %173

169:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %170 = load ptr, ptr %29, align 8, !tbaa !5
  %171 = call noundef ptr @_ZNKSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %170) #5
  store ptr %171, ptr %30, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPKdSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %172 unwind label %178

172:                                              ; preds = %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  store i32 0, ptr %13, align 4
  br label %173

173:                                              ; preds = %172, %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  %174 = load i32, ptr %13, align 4
  switch i32 %174, label %182 [
    i32 0, label %175
  ]

175:                                              ; preds = %173
  br label %176

176:                                              ; preds = %175
  %177 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES1_IS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #5
  br label %155

178:                                              ; preds = %169
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %18, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  br label %232

182:                                              ; preds = %173, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  %183 = load i32, ptr %13, align 4
  switch i32 %183, label %231 [
    i32 7, label %184
  ]

184:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  %185 = load i32, ptr %12, align 4, !tbaa !16
  %186 = getelementptr inbounds %"class.sptk::WorldSynthesis", ptr %33, i32 0, i32 2
  %187 = load i32, ptr %186, align 4, !tbaa !24
  %188 = mul nsw i32 %185, %187
  store i32 %188, ptr %31, align 4, !tbaa !16
  %189 = load ptr, ptr %11, align 8, !tbaa !5
  %190 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %189) #5
  %191 = load i32, ptr %31, align 4, !tbaa !16
  %192 = sext i32 %191 to i64
  %193 = icmp ne i64 %190, %192
  br i1 %193, label %194, label %203

194:                                              ; preds = %184
  %195 = load ptr, ptr %11, align 8, !tbaa !5
  %196 = load i32, ptr %31, align 4, !tbaa !16
  %197 = sext i32 %196 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %195, i64 noundef %197)
          to label %198 unwind label %199

198:                                              ; preds = %194
  br label %203

199:                                              ; preds = %194
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %18, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %19, align 4
  br label %230

203:                                              ; preds = %198, %184
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %204 = getelementptr inbounds %"class.sptk::WorldSynthesis", ptr %33, i32 0, i32 2
  %205 = load i32, ptr %204, align 4, !tbaa !24
  %206 = sitofp i32 %205 to double
  %207 = fmul double %206, 1.000000e+03
  %208 = getelementptr inbounds %"class.sptk::WorldSynthesis", ptr %33, i32 0, i32 3
  %209 = load double, ptr %208, align 8, !tbaa !17
  %210 = fdiv double %207, %209
  store double %210, ptr %32, align 8, !tbaa !18
  %211 = load ptr, ptr %8, align 8, !tbaa !5
  %212 = call noundef ptr @_ZNKSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %211) #5
  %213 = load i32, ptr %12, align 4, !tbaa !16
  %214 = call noundef ptr @_ZNSt6vectorIPKdSaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  %215 = call noundef ptr @_ZNSt6vectorIPKdSaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  %216 = getelementptr inbounds %"class.sptk::WorldSynthesis", ptr %33, i32 0, i32 1
  %217 = load i32, ptr %216, align 8, !tbaa !21
  %218 = load double, ptr %32, align 8, !tbaa !18
  %219 = getelementptr inbounds %"class.sptk::WorldSynthesis", ptr %33, i32 0, i32 3
  %220 = load double, ptr %219, align 8, !tbaa !17
  %221 = fptosi double %220 to i32
  %222 = load i32, ptr %31, align 4, !tbaa !16
  %223 = load ptr, ptr %11, align 8, !tbaa !5
  %224 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %223) #5
  invoke void @_ZN4sptk5world9SynthesisEPKdiPKS2_S4_idiiPd(ptr noundef %212, i32 noundef %213, ptr noundef %214, ptr noundef %215, i32 noundef %217, double noundef %218, i32 noundef %221, i32 noundef %222, ptr noundef %224)
          to label %225 unwind label %226

225:                                              ; preds = %203
  store i1 true, ptr %6, align 1
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %231

226:                                              ; preds = %203
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %18, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %230

230:                                              ; preds = %226, %199
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %232

231:                                              ; preds = %225, %182
  call void @_ZNSt6vectorIPKdSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #5
  br label %233

232:                                              ; preds = %230, %178, %158
  call void @_ZNSt6vectorIPKdSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #5
  br label %234

233:                                              ; preds = %231, %142
  call void @_ZNSt6vectorIPKdSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %235

234:                                              ; preds = %232, %138, %118
  call void @_ZNSt6vectorIPKdSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %239

235:                                              ; preds = %233, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %236

236:                                              ; preds = %235, %67
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %237

237:                                              ; preds = %236, %40
  %238 = load i1, ptr %6, align 1
  ret i1 %238

239:                                              ; preds = %234
  %240 = load ptr, ptr %18, align 8
  %241 = load i32, ptr %19, align 4
  %242 = insertvalue { ptr, i32 } poison, ptr %240, 0
  %243 = insertvalue { ptr, i32 } %242, i32 %241, 1
  resume { ptr, i32 } %243
}

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

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

declare void @_ZN4sptk5world9SynthesisEPKdiPKS2_S4_idiiPd(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, i32 noundef, i32 noundef, ptr noundef) #4

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

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

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

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


; 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::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<const double *, std::allocator<const double *>>::_Vector_impl" }
%"struct.std::_Vector_base<const double *, std::allocator<const double *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const double *, std::allocator<const double *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const double *, std::allocator<const double *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk14WorldSynthesis3RunERKSt6vectorIdSaIdEERKS1_IS3_SaIS3_EES9_PS3_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(25) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef %4) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.std::vector.5", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.std::vector.5", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca ptr, align 8
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  %15 = load i8, ptr %14, align 8, !tbaa !5, !range !12, !noundef !13
  %16 = trunc nuw i8 %15 to i1
  %17 = icmp ne ptr %4, null
  %or.cond.not = and i1 %17, %16
  br i1 %or.cond.not, label %18, label %.loopexit

18:                                               ; preds = %5
  %19 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %20 = trunc i64 %19 to i32
  %21 = tail call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %22 = trunc i64 %21 to i32
  %23 = icmp slt i32 %22, %20
  br i1 %23, label %24, label %27

24:                                               ; preds = %18
  %25 = tail call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %26 = trunc i64 %25 to i32
  br label %27

27:                                               ; preds = %24, %18
  %.054 = phi i32 [ %26, %24 ], [ %20, %18 ]
  %28 = tail call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  %29 = trunc i64 %28 to i32
  %30 = icmp sgt i32 %.054, %29
  br i1 %30, label %31, label %34

31:                                               ; preds = %27
  %32 = tail call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  %33 = trunc i64 %32 to i32
  br label %34

34:                                               ; preds = %31, %27
  %.155 = phi i32 [ %33, %31 ], [ %.054, %27 ]
  %35 = icmp slt i32 %.155, 1
  br i1 %35, label %.loopexit, label %36

36:                                               ; preds = %34
  %37 = getelementptr inbounds i8, ptr %0, i64 16
  %38 = load double, ptr %37, align 8, !tbaa !14
  %39 = fmul double %38, 5.000000e-01
  %wide.trip.count = zext nneg i32 %.155 to i64
  br label %41

40:                                               ; preds = %45
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.critedge, label %41, !llvm.loop !15

41:                                               ; preds = %36, %40
  %indvars.iv = phi i64 [ 0, %36 ], [ %indvars.iv.next, %40 ]
  %42 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv) #5
  %43 = load double, ptr %42, align 8, !tbaa !17
  %44 = fcmp olt double %43, 0.000000e+00
  br i1 %44, label %.loopexit, label %45

45:                                               ; preds = %41
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv) #5
  %47 = load double, ptr %46, align 8, !tbaa !17
  %48 = fcmp olt double %39, %47
  br i1 %48, label %.loopexit, label %40

.critedge:                                        ; preds = %40
  %49 = getelementptr inbounds i8, ptr %0, i64 8
  %50 = load i32, ptr %49, align 8, !tbaa !18
  %51 = sdiv i32 %50, 2
  %52 = add nsw i32 %51, 1
  %53 = sext i32 %52 to i64
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  call void @_ZNSt6vectorIPKdSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  invoke void @_ZNSt6vectorIPKdSaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %wide.trip.count)
          to label %54 unwind label %58

54:                                               ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %55 = call ptr @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %55, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %56 = call ptr @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %56, ptr %8, align 8
  %57 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt6vectorIdSaIdEES1_IS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br i1 %57, label %.lr.ph, label %._crit_edge

58:                                               ; preds = %.critedge
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %110

.lr.ph:                                           ; preds = %54, %64
  %60 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES1_IS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %61 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #5
  %.not71 = icmp eq i64 %61, %53
  br i1 %.not71, label %62, label %.critedge78

62:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %63 = call noundef ptr @_ZNKSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #5
  store ptr %63, ptr %9, align 8, !tbaa !19
  invoke void @_ZNSt6vectorIPKdSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %64 unwind label %67

64:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES1_IS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %66 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt6vectorIdSaIdEES1_IS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br i1 %66, label %.lr.ph, label %._crit_edge

67:                                               ; preds = %62
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %110

.critedge78:                                      ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %109

._crit_edge:                                      ; preds = %64, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #5
  call void @_ZNSt6vectorIPKdSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  invoke void @_ZNSt6vectorIPKdSaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %wide.trip.count)
          to label %69 unwind label %73

69:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %70 = call ptr @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  store ptr %70, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %71 = call ptr @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  store ptr %71, ptr %12, align 8
  %72 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt6vectorIdSaIdEES1_IS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  br i1 %72, label %.lr.ph87, label %._crit_edge88

73:                                               ; preds = %._crit_edge
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %108

.lr.ph87:                                         ; preds = %69, %79
  %75 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES1_IS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %76 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %75) #5
  %.not72 = icmp eq i64 %76, %53
  br i1 %.not72, label %77, label %.critedge81

77:                                               ; preds = %.lr.ph87
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %78 = call noundef ptr @_ZNKSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %75) #5
  store ptr %78, ptr %13, align 8, !tbaa !19
  invoke void @_ZNSt6vectorIPKdSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %79 unwind label %82

79:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES1_IS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %81 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt6vectorIdSaIdEES1_IS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  br i1 %81, label %.lr.ph87, label %._crit_edge88

82:                                               ; preds = %77
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %108

.critedge81:                                      ; preds = %.lr.ph87
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %107

._crit_edge88:                                    ; preds = %79, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  %84 = getelementptr inbounds i8, ptr %0, i64 12
  %85 = load i32, ptr %84, align 4, !tbaa !21
  %86 = mul nsw i32 %85, %.155
  %87 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  %88 = sext i32 %86 to i64
  %.not73 = icmp eq i64 %87, %88
  br i1 %.not73, label %92, label %89

89:                                               ; preds = %._crit_edge88
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %88)
          to label %92 unwind label %90

90:                                               ; preds = %89
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %108

92:                                               ; preds = %89, %._crit_edge88
  %93 = load i32, ptr %84, align 4, !tbaa !21
  %94 = sitofp i32 %93 to double
  %95 = fmul double %94, 1.000000e+03
  %96 = load double, ptr %37, align 8, !tbaa !14
  %97 = fdiv double %95, %96
  %98 = call noundef ptr @_ZNKSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %99 = call noundef ptr @_ZNSt6vectorIPKdSaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %100 = call noundef ptr @_ZNSt6vectorIPKdSaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  %101 = load i32, ptr %49, align 8, !tbaa !18
  %102 = load double, ptr %37, align 8, !tbaa !14
  %103 = fptosi double %102 to i32
  %104 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  invoke void @_ZN4sptk5world9SynthesisEPKdiPKS2_S4_idiiPd(ptr noundef %98, i32 noundef %.155, ptr noundef %99, ptr noundef %100, i32 noundef %101, double noundef %97, i32 noundef %103, i32 noundef %86, ptr noundef %104)
          to label %107 unwind label %105

105:                                              ; preds = %92
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %108

107:                                              ; preds = %.critedge81, %92
  %.7 = phi i1 [ false, %.critedge81 ], [ true, %92 ]
  call void @_ZNSt6vectorIPKdSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  br label %109

108:                                              ; preds = %90, %105, %82, %73
  %.pn.pn = phi { ptr, i32 } [ %83, %82 ], [ %74, %73 ], [ %106, %105 ], [ %91, %90 ]
  call void @_ZNSt6vectorIPKdSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  br label %110

109:                                              ; preds = %.critedge78, %107
  %.8 = phi i1 [ %.7, %107 ], [ false, %.critedge78 ]
  call void @_ZNSt6vectorIPKdSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  br label %.loopexit

110:                                              ; preds = %108, %67, %58
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %108 ], [ %68, %67 ], [ %59, %58 ]
  call void @_ZNSt6vectorIPKdSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  resume { ptr, i32 } %.pn.pn.pn

.loopexit:                                        ; preds = %45, %41, %34, %109, %5
  %.11 = phi i1 [ false, %5 ], [ false, %34 ], [ %.8, %109 ], [ false, %41 ], [ false, %45 ]
  ret i1 %.11
}

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

declare void @_ZN4sptk5world9SynthesisEPKdiPKS2_S4_idiiPd(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

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

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

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

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

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

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


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