; LLVM IR from mackorone/mms :: old/v2/src/sim (TransformationMatrix)

; 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%"struct.std::pair" = type { double, double }
%"struct.std::pair.0" = type { i32, i32 }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::allocator" = type { i8 }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3sim20TransformationMatrix30getFullMapTransformationMatrixERKNS_8DistanceESt4pairIddES4_IiiES6_S6_(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %1, double %2, double %3, i64 %4, i64 %5, i64 %6) #0 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca %"struct.std::pair", align 8
  %10 = alloca %"struct.std::pair.0", align 4
  %11 = alloca %"struct.std::pair.0", align 4
  %12 = alloca %"struct.std::pair.0", align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca %"class.std::initializer_list", align 8
  %16 = alloca [16 x float], align 4
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca %"struct.std::pair", align 8
  %28 = alloca %"struct.std::pair", align 8
  %29 = alloca %"struct.std::pair.0", align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %"struct.std::pair.0", align 4
  %33 = alloca %"struct.std::pair", align 8
  %34 = alloca %"struct.std::pair", align 8
  %35 = alloca %"struct.std::pair.0", align 4
  %36 = alloca double, align 8
  %37 = alloca double, align 8
  %38 = alloca double, align 8
  %39 = alloca double, align 8
  %40 = alloca %"class.std::vector", align 8
  %41 = alloca %"class.std::initializer_list", align 8
  %42 = alloca [16 x float], align 4
  %43 = alloca %"class.std::allocator", align 1
  %44 = alloca double, align 8
  %45 = alloca double, align 8
  %46 = alloca %"struct.std::pair", align 8
  %47 = alloca %"struct.std::pair", align 8
  %48 = alloca %"struct.std::pair.0", align 4
  %49 = alloca %"class.std::vector", align 8
  %50 = alloca %"class.std::initializer_list", align 8
  %51 = alloca [16 x float], align 4
  %52 = alloca %"class.std::allocator", align 1
  %53 = alloca i1, align 1
  %54 = alloca %"class.std::vector", align 8
  %55 = alloca %"class.std::vector", align 8
  %56 = alloca %"class.std::vector", align 8
  %57 = alloca %"class.std::vector", align 8
  store ptr %0, ptr %8, align 8
  %58 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 0
  store double %2, ptr %58, align 8
  %59 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 1
  store double %3, ptr %59, align 8
  store i64 %4, ptr %10, align 4
  store i64 %5, ptr %11, align 4
  store i64 %6, ptr %12, align 4
  store ptr %1, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #8
  store float 1.000000e+00, ptr %16, align 4, !tbaa !9
  %60 = getelementptr inbounds float, ptr %16, i64 1
  store float 0.000000e+00, ptr %60, align 4, !tbaa !9
  %61 = getelementptr inbounds float, ptr %16, i64 2
  store float 0.000000e+00, ptr %61, align 4, !tbaa !9
  %62 = getelementptr inbounds float, ptr %16, i64 3
  %63 = load ptr, ptr %13, align 8, !tbaa !5
  %64 = call noundef double @_ZNK3sim8Distance9getMetersEv(ptr noundef nonnull align 8 dereferenceable(16) %63)
  %65 = fmul double 5.000000e-01, %64
  %66 = fptrunc double %65 to float
  store float %66, ptr %62, align 4, !tbaa !9
  %67 = getelementptr inbounds float, ptr %16, i64 4
  store float 0.000000e+00, ptr %67, align 4, !tbaa !9
  %68 = getelementptr inbounds float, ptr %16, i64 5
  store float 1.000000e+00, ptr %68, align 4, !tbaa !9
  %69 = getelementptr inbounds float, ptr %16, i64 6
  store float 0.000000e+00, ptr %69, align 4, !tbaa !9
  %70 = getelementptr inbounds float, ptr %16, i64 7
  %71 = load ptr, ptr %13, align 8, !tbaa !5
  %72 = call noundef double @_ZNK3sim8Distance9getMetersEv(ptr noundef nonnull align 8 dereferenceable(16) %71)
  %73 = fmul double 5.000000e-01, %72
  %74 = fptrunc double %73 to float
  store float %74, ptr %70, align 4, !tbaa !9
  %75 = getelementptr inbounds float, ptr %16, i64 8
  store float 0.000000e+00, ptr %75, align 4, !tbaa !9
  %76 = getelementptr inbounds float, ptr %16, i64 9
  store float 0.000000e+00, ptr %76, align 4, !tbaa !9
  %77 = getelementptr inbounds float, ptr %16, i64 10
  store float 1.000000e+00, ptr %77, align 4, !tbaa !9
  %78 = getelementptr inbounds float, ptr %16, i64 11
  store float 0.000000e+00, ptr %78, align 4, !tbaa !9
  %79 = getelementptr inbounds float, ptr %16, i64 12
  store float 0.000000e+00, ptr %79, align 4, !tbaa !9
  %80 = getelementptr inbounds float, ptr %16, i64 13
  store float 0.000000e+00, ptr %80, align 4, !tbaa !9
  %81 = getelementptr inbounds float, ptr %16, i64 14
  store float 0.000000e+00, ptr %81, align 4, !tbaa !9
  %82 = getelementptr inbounds float, ptr %16, i64 15
  store float 1.000000e+00, ptr %82, align 4, !tbaa !9
  %83 = getelementptr inbounds %"class.std::initializer_list", ptr %15, i32 0, i32 0
  store ptr %16, ptr %83, align 8, !tbaa !11
  %84 = getelementptr inbounds %"class.std::initializer_list", ptr %15, i32 0, i32 1
  store i64 16, ptr %84, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #8
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  %85 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 0
  %86 = load ptr, ptr %85, align 8
  %87 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 1
  %88 = load i64, ptr %87, align 8
  invoke void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr %86, i64 %88, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %89 unwind label %255

89:                                               ; preds = %7
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %90 = getelementptr inbounds %"struct.std::pair", ptr %9, i32 0, i32 0
  %91 = load double, ptr %90, align 8, !tbaa !15
  store double %91, ptr %20, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %92 = getelementptr inbounds %"struct.std::pair", ptr %9, i32 0, i32 1
  %93 = load double, ptr %92, align 8, !tbaa !19
  store double %93, ptr %21, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %94 = getelementptr inbounds %"struct.std::pair.0", ptr %11, i32 0, i32 0
  %95 = load i32, ptr %94, align 4, !tbaa !20
  %96 = sitofp i32 %95 to double
  %97 = load double, ptr %20, align 8, !tbaa !18
  %98 = fdiv double %96, %97
  store double %98, ptr %23, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %99 = getelementptr inbounds %"struct.std::pair.0", ptr %11, i32 0, i32 1
  %100 = load i32, ptr %99, align 4, !tbaa !23
  %101 = sitofp i32 %100 to double
  %102 = load double, ptr %21, align 8, !tbaa !18
  %103 = fdiv double %101, %102
  store double %103, ptr %24, align 8, !tbaa !18
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %105 unwind label %259

105:                                              ; preds = %89
  %106 = load double, ptr %104, align 8, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  store double %106, ptr %22, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %107 = load double, ptr %22, align 8, !tbaa !18
  %108 = load double, ptr %20, align 8, !tbaa !18
  %109 = fmul double %107, %108
  store double %109, ptr %25, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %110 = load double, ptr %22, align 8, !tbaa !18
  %111 = load double, ptr %21, align 8, !tbaa !18
  %112 = fmul double %110, %111
  store double %112, ptr %26, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  store i32 0, ptr %30, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  store i32 0, ptr %31, align 4, !tbaa !24
  %113 = invoke i64 @_ZSt9make_pairIiiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %31)
          to label %114 unwind label %263

114:                                              ; preds = %105
  store i64 %113, ptr %29, align 4
  invoke void @_ZNSt4pairIddEC2IiiTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS_IS3_S4_E(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 4 dereferenceable(8) %29)
          to label %115 unwind label %263

115:                                              ; preds = %114
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %12, i64 8, i1 false)
  %116 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %117 = load double, ptr %116, align 8
  %118 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %119 = load double, ptr %118, align 8
  %120 = load i64, ptr %32, align 4
  %121 = invoke { double, double } @_ZN3sim20TransformationMatrix36mapPixelCoordinateToOpenGlCoordinateESt4pairIddES1_IiiE(double %117, double %119, i64 %120)
          to label %122 unwind label %263

122:                                              ; preds = %115
  %123 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 0
  %124 = extractvalue { double, double } %121, 0
  store double %124, ptr %123, align 8
  %125 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 1
  %126 = extractvalue { double, double } %121, 1
  store double %126, ptr %125, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #8
  %127 = invoke { double, double } @_ZSt9make_pairIRdS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %128 unwind label %267

128:                                              ; preds = %122
  %129 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %130 = extractvalue { double, double } %127, 0
  store double %130, ptr %129, align 8
  %131 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %132 = extractvalue { double, double } %127, 1
  store double %132, ptr %131, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %12, i64 8, i1 false)
  %133 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %134 = load double, ptr %133, align 8
  %135 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %136 = load double, ptr %135, align 8
  %137 = load i64, ptr %35, align 4
  %138 = invoke { double, double } @_ZN3sim20TransformationMatrix36mapPixelCoordinateToOpenGlCoordinateESt4pairIddES1_IiiE(double %134, double %136, i64 %137)
          to label %139 unwind label %267

139:                                              ; preds = %128
  %140 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %141 = extractvalue { double, double } %138, 0
  store double %141, ptr %140, align 8
  %142 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %143 = extractvalue { double, double } %138, 1
  store double %143, ptr %142, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %144 = getelementptr inbounds %"struct.std::pair", ptr %33, i32 0, i32 0
  %145 = load double, ptr %144, align 8, !tbaa !15
  %146 = getelementptr inbounds %"struct.std::pair", ptr %27, i32 0, i32 0
  %147 = load double, ptr %146, align 8, !tbaa !15
  %148 = fsub double %145, %147
  store double %148, ptr %36, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %149 = getelementptr inbounds %"struct.std::pair", ptr %33, i32 0, i32 1
  %150 = load double, ptr %149, align 8, !tbaa !19
  %151 = getelementptr inbounds %"struct.std::pair", ptr %27, i32 0, i32 1
  %152 = load double, ptr %151, align 8, !tbaa !19
  %153 = fsub double %150, %152
  store double %153, ptr %37, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %154 = load double, ptr %36, align 8, !tbaa !18
  %155 = load double, ptr %20, align 8, !tbaa !18
  %156 = fdiv double %154, %155
  store double %156, ptr %38, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %157 = load double, ptr %37, align 8, !tbaa !18
  %158 = load double, ptr %21, align 8, !tbaa !18
  %159 = fdiv double %157, %158
  store double %159, ptr %39, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %42) #8
  call void @llvm.memset.p0.i64(ptr align 4 %42, i8 0, i64 64, i1 false)
  %160 = load double, ptr %38, align 8, !tbaa !18
  %161 = fptrunc double %160 to float
  store float %161, ptr %42, align 4, !tbaa !9
  %162 = getelementptr inbounds float, ptr %42, i64 1
  %163 = getelementptr inbounds float, ptr %42, i64 2
  %164 = getelementptr inbounds float, ptr %42, i64 3
  %165 = getelementptr inbounds float, ptr %42, i64 4
  %166 = getelementptr inbounds float, ptr %42, i64 5
  %167 = load double, ptr %39, align 8, !tbaa !18
  %168 = fptrunc double %167 to float
  store float %168, ptr %166, align 4, !tbaa !9
  %169 = getelementptr inbounds float, ptr %42, i64 6
  %170 = getelementptr inbounds float, ptr %42, i64 7
  %171 = getelementptr inbounds float, ptr %42, i64 8
  %172 = getelementptr inbounds float, ptr %42, i64 9
  %173 = getelementptr inbounds float, ptr %42, i64 10
  store float 1.000000e+00, ptr %173, align 4, !tbaa !9
  %174 = getelementptr inbounds float, ptr %42, i64 11
  %175 = getelementptr inbounds float, ptr %42, i64 12
  %176 = getelementptr inbounds float, ptr %42, i64 13
  %177 = getelementptr inbounds float, ptr %42, i64 14
  %178 = getelementptr inbounds float, ptr %42, i64 15
  store float 1.000000e+00, ptr %178, align 4, !tbaa !9
  %179 = getelementptr inbounds %"class.std::initializer_list", ptr %41, i32 0, i32 0
  store ptr %42, ptr %179, align 8, !tbaa !11
  %180 = getelementptr inbounds %"class.std::initializer_list", ptr %41, i32 0, i32 1
  store i64 16, ptr %180, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #8
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #8
  %181 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 0
  %182 = load ptr, ptr %181, align 8
  %183 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 1
  %184 = load i64, ptr %183, align 8
  invoke void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr %182, i64 %184, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %185 unwind label %271

185:                                              ; preds = %139
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %186 = getelementptr inbounds %"struct.std::pair.0", ptr %10, i32 0, i32 0
  %187 = load i32, ptr %186, align 4, !tbaa !20
  %188 = sitofp i32 %187 to double
  %189 = getelementptr inbounds %"struct.std::pair.0", ptr %11, i32 0, i32 0
  %190 = load i32, ptr %189, align 4, !tbaa !20
  %191 = sitofp i32 %190 to double
  %192 = load double, ptr %25, align 8, !tbaa !18
  %193 = fsub double %191, %192
  %194 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %193, double %188)
  store double %194, ptr %44, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %195 = getelementptr inbounds %"struct.std::pair.0", ptr %10, i32 0, i32 1
  %196 = load i32, ptr %195, align 4, !tbaa !23
  %197 = sitofp i32 %196 to double
  %198 = getelementptr inbounds %"struct.std::pair.0", ptr %11, i32 0, i32 1
  %199 = load i32, ptr %198, align 4, !tbaa !23
  %200 = sitofp i32 %199 to double
  %201 = load double, ptr %26, align 8, !tbaa !18
  %202 = fsub double %200, %201
  %203 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %202, double %197)
  store double %203, ptr %45, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #8
  %204 = invoke { double, double } @_ZSt9make_pairIRdS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %45)
          to label %205 unwind label %275

205:                                              ; preds = %185
  %206 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %207 = extractvalue { double, double } %204, 0
  store double %207, ptr %206, align 8
  %208 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %209 = extractvalue { double, double } %204, 1
  store double %209, ptr %208, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 %12, i64 8, i1 false)
  %210 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %211 = load double, ptr %210, align 8
  %212 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %213 = load double, ptr %212, align 8
  %214 = load i64, ptr %48, align 4
  %215 = invoke { double, double } @_ZN3sim20TransformationMatrix36mapPixelCoordinateToOpenGlCoordinateESt4pairIddES1_IiiE(double %211, double %213, i64 %214)
          to label %216 unwind label %275

216:                                              ; preds = %205
  %217 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 0
  %218 = extractvalue { double, double } %215, 0
  store double %218, ptr %217, align 8
  %219 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 1
  %220 = extractvalue { double, double } %215, 1
  store double %220, ptr %219, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %51) #8
  store float 1.000000e+00, ptr %51, align 4, !tbaa !9
  %221 = getelementptr inbounds float, ptr %51, i64 1
  store float 0.000000e+00, ptr %221, align 4, !tbaa !9
  %222 = getelementptr inbounds float, ptr %51, i64 2
  store float 0.000000e+00, ptr %222, align 4, !tbaa !9
  %223 = getelementptr inbounds float, ptr %51, i64 3
  %224 = getelementptr inbounds %"struct.std::pair", ptr %46, i32 0, i32 0
  %225 = load double, ptr %224, align 8, !tbaa !15
  %226 = fptrunc double %225 to float
  store float %226, ptr %223, align 4, !tbaa !9
  %227 = getelementptr inbounds float, ptr %51, i64 4
  store float 0.000000e+00, ptr %227, align 4, !tbaa !9
  %228 = getelementptr inbounds float, ptr %51, i64 5
  store float 1.000000e+00, ptr %228, align 4, !tbaa !9
  %229 = getelementptr inbounds float, ptr %51, i64 6
  store float 0.000000e+00, ptr %229, align 4, !tbaa !9
  %230 = getelementptr inbounds float, ptr %51, i64 7
  %231 = getelementptr inbounds %"struct.std::pair", ptr %46, i32 0, i32 1
  %232 = load double, ptr %231, align 8, !tbaa !19
  %233 = fptrunc double %232 to float
  store float %233, ptr %230, align 4, !tbaa !9
  %234 = getelementptr inbounds float, ptr %51, i64 8
  store float 0.000000e+00, ptr %234, align 4, !tbaa !9
  %235 = getelementptr inbounds float, ptr %51, i64 9
  store float 0.000000e+00, ptr %235, align 4, !tbaa !9
  %236 = getelementptr inbounds float, ptr %51, i64 10
  store float 1.000000e+00, ptr %236, align 4, !tbaa !9
  %237 = getelementptr inbounds float, ptr %51, i64 11
  store float 0.000000e+00, ptr %237, align 4, !tbaa !9
  %238 = getelementptr inbounds float, ptr %51, i64 12
  store float 0.000000e+00, ptr %238, align 4, !tbaa !9
  %239 = getelementptr inbounds float, ptr %51, i64 13
  store float 0.000000e+00, ptr %239, align 4, !tbaa !9
  %240 = getelementptr inbounds float, ptr %51, i64 14
  store float 0.000000e+00, ptr %240, align 4, !tbaa !9
  %241 = getelementptr inbounds float, ptr %51, i64 15
  store float 1.000000e+00, ptr %241, align 4, !tbaa !9
  %242 = getelementptr inbounds %"class.std::initializer_list", ptr %50, i32 0, i32 0
  store ptr %51, ptr %242, align 8, !tbaa !11
  %243 = getelementptr inbounds %"class.std::initializer_list", ptr %50, i32 0, i32 1
  store i64 16, ptr %243, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %52) #8
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #8
  %244 = getelementptr inbounds { ptr, i64 }, ptr %50, i32 0, i32 0
  %245 = load ptr, ptr %244, align 8
  %246 = getelementptr inbounds { ptr, i64 }, ptr %50, i32 0, i32 1
  %247 = load i64, ptr %246, align 8
  invoke void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr %245, i64 %247, ptr noundef nonnull align 1 dereferenceable(1) %52)
          to label %248 unwind label %279

248:                                              ; preds = %216
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %51) #8
  store i1 false, ptr %53, align 1
  invoke void @_ZNSt6vectorIfSaIfEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull align 8 dereferenceable(24) %49)
          to label %249 unwind label %283

249:                                              ; preds = %248
  invoke void @_ZNSt6vectorIfSaIfEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %56, ptr noundef nonnull align 8 dereferenceable(24) %40)
          to label %250 unwind label %287

250:                                              ; preds = %249
  invoke void @_ZNSt6vectorIfSaIfEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %251 unwind label %291

251:                                              ; preds = %250
  invoke void @_ZN3sim20TransformationMatrix19multiply4x4MatricesESt6vectorIfSaIfEES3_(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %55, ptr noundef %56, ptr noundef %57)
          to label %252 unwind label %295

252:                                              ; preds = %251
  invoke void @_ZN3sim20TransformationMatrix19multiply4x4MatricesESt6vectorIfSaIfEES3_(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, ptr noundef %54, ptr noundef %55)
          to label %253 unwind label %299

253:                                              ; preds = %252
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #8
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #8
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #8
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #8
  store i1 true, ptr %53, align 1
  %254 = load i1, ptr %53, align 1
  br i1 %254, label %307, label %306

255:                                              ; preds = %7
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %18, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %19, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #8
  br label %315

259:                                              ; preds = %89
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %18, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %314

263:                                              ; preds = %115, %114, %105
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %18, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %313

267:                                              ; preds = %128, %122
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %18, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %19, align 4
  br label %312

271:                                              ; preds = %139
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %18, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %19, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #8
  br label %311

275:                                              ; preds = %205, %185
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %18, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %19, align 4
  br label %310

279:                                              ; preds = %216
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %18, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %19, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %51) #8
  br label %309

283:                                              ; preds = %248
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %18, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %19, align 4
  br label %308

287:                                              ; preds = %249
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %18, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %19, align 4
  br label %305

291:                                              ; preds = %250
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %18, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %19, align 4
  br label %304

295:                                              ; preds = %251
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %18, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %19, align 4
  br label %303

299:                                              ; preds = %252
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %18, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %19, align 4
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #8
  br label %303

303:                                              ; preds = %299, %295
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #8
  br label %304

304:                                              ; preds = %303, %291
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #8
  br label %305

305:                                              ; preds = %304, %287
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #8
  br label %308

306:                                              ; preds = %253
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  br label %307

307:                                              ; preds = %306, %253
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  ret void

308:                                              ; preds = %305, %283
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  br label %309

309:                                              ; preds = %308, %279
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #8
  br label %310

310:                                              ; preds = %309, %275
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  br label %311

311:                                              ; preds = %310, %271
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %312

312:                                              ; preds = %311, %267
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #8
  br label %313

313:                                              ; preds = %312, %263
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %314

314:                                              ; preds = %313, %259
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  br label %315

315:                                              ; preds = %314, %255
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  br label %316

316:                                              ; preds = %315
  %317 = load ptr, ptr %18, align 8
  %318 = load i32, ptr %19, align 4
  %319 = insertvalue { ptr, i32 } poison, ptr %317, 0
  %320 = insertvalue { ptr, i32 } %319, i32 %318, 1
  resume { ptr, i32 } %320
}

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

declare noundef double @_ZNK3sim8Distance9getMetersEv(ptr noundef nonnull align 8 dereferenceable(16)) #2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZN3sim20TransformationMatrix36mapPixelCoordinateToOpenGlCoordinateESt4pairIddES1_IiiE(double, double, i64) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIiiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIddEC2IiiTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS_IS3_S4_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #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) #5

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZSt9make_pairIRdS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #0

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3sim20TransformationMatrix19multiply4x4MatricesESt6vectorIfSaIfEES3_(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef, ptr noundef) #0 align 2

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

; 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 @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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::allocator" = type { i8 }
%"struct.std::pair" = type { double, double }
%"struct.std::pair.0" = type { i32, i32 }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3sim20TransformationMatrix30getFullMapTransformationMatrixERKNS_8DistanceESt4pairIddES4_IiiES6_S6_(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %1, double %2, double %3, i64 %4, i64 %5, i64 %6) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca [16 x float], align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca %"struct.std::pair", align 8
  %16 = alloca %"struct.std::pair.0", align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca [16 x float], align 4
  %21 = alloca %"class.std::allocator", align 1
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca %"class.std::vector", align 8
  %25 = alloca [16 x float], align 8
  %26 = alloca %"class.std::allocator", align 1
  %27 = alloca %"class.std::vector", align 8
  %28 = alloca %"class.std::vector", align 8
  %29 = alloca %"class.std::vector", align 8
  %30 = alloca %"class.std::vector", align 8
  %.sroa.038.0.extract.trunc = trunc i64 %4 to i32
  %.sroa.239.0.extract.shift = lshr i64 %4, 32
  %.sroa.239.0.extract.trunc = trunc nuw i64 %.sroa.239.0.extract.shift to i32
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #7
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %9, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %9, i64 8
  store float 0.000000e+00, ptr %31, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %9, i64 12
  %33 = tail call noundef double @_ZNK3sim8Distance9getMetersEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %34 = fmul double %33, 5.000000e-01
  %35 = fptrunc double %34 to float
  store float %35, ptr %32, align 4, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %9, i64 16
  store <2 x float> <float 0.000000e+00, float 1.000000e+00>, ptr %36, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %9, i64 24
  store float 0.000000e+00, ptr %37, align 8, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %9, i64 28
  %39 = tail call noundef double @_ZNK3sim8Distance9getMetersEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %40 = fmul double %39, 5.000000e-01
  %41 = fptrunc double %40 to float
  store float %41, ptr %38, align 4, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %9, i64 32
  store <2 x float> zeroinitializer, ptr %42, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %9, i64 40
  store float 1.000000e+00, ptr %43, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %9, i64 44
  %45 = getelementptr inbounds i8, ptr %9, i64 60
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %44, i8 0, i64 16, i1 false)
  store float 1.000000e+00, ptr %45, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #7
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  invoke void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr nonnull %9, i64 16, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %46 unwind label %116

46:                                               ; preds = %7
  %.sroa.3.0.extract.shift = lshr i64 %5, 32
  %.sroa.3.0.extract.trunc = trunc nuw i64 %.sroa.3.0.extract.shift to i32
  %.sroa.035.0.extract.trunc = trunc i64 %5 to i32
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %47 = sitofp i32 %.sroa.035.0.extract.trunc to double
  %48 = fdiv double %47, %2
  store double %48, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %49 = sitofp i32 %.sroa.3.0.extract.trunc to double
  %50 = fdiv double %49, %3
  store double %50, ptr %12, align 8, !tbaa !9
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %52 = load double, ptr %51, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %53 = fmul double %52, %2
  store double %53, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %54 = fmul double %52, %3
  store double %54, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #7
  store i32 0, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #7
  store i32 0, ptr %18, align 4, !tbaa !11
  %55 = invoke i64 @_ZSt9make_pairIiiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %56 unwind label %118

56:                                               ; preds = %46
  store i64 %55, ptr %16, align 8
  call void @_ZNSt4pairIddEC2IiiTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS_IS3_S4_E(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(8) %16)
  %57 = load double, ptr %15, align 8
  %58 = getelementptr inbounds i8, ptr %15, i64 8
  %59 = load double, ptr %58, align 8
  %60 = invoke { double, double } @_ZN3sim20TransformationMatrix36mapPixelCoordinateToOpenGlCoordinateESt4pairIddES1_IiiE(double %57, double %59, i64 %6)
          to label %61 unwind label %118

61:                                               ; preds = %56
  %62 = extractvalue { double, double } %60, 0
  %63 = extractvalue { double, double } %60, 1
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  %64 = invoke { double, double } @_ZSt9make_pairIRdS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %65 unwind label %120

65:                                               ; preds = %61
  %66 = extractvalue { double, double } %64, 0
  %67 = extractvalue { double, double } %64, 1
  %68 = invoke { double, double } @_ZN3sim20TransformationMatrix36mapPixelCoordinateToOpenGlCoordinateESt4pairIddES1_IiiE(double %66, double %67, i64 %6)
          to label %69 unwind label %120

69:                                               ; preds = %65
  %70 = extractvalue { double, double } %68, 0
  %71 = extractvalue { double, double } %68, 1
  %72 = fsub double %70, %62
  %73 = fsub double %71, %63
  %74 = fdiv double %72, %2
  %75 = fdiv double %73, %3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %20) #7
  %76 = getelementptr inbounds i8, ptr %20, i64 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %76, i8 0, i64 56, i1 false)
  %77 = fptrunc double %74 to float
  store float %77, ptr %20, align 4, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %20, i64 20
  %79 = fptrunc double %75 to float
  store float %79, ptr %78, align 4, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %20, i64 40
  store float 1.000000e+00, ptr %80, align 4, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %20, i64 60
  store float 1.000000e+00, ptr %81, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #7
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  invoke void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr nonnull %20, i64 16, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %82 unwind label %122

82:                                               ; preds = %69
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  %83 = sitofp i32 %.sroa.038.0.extract.trunc to double
  %84 = load double, ptr %13, align 8, !tbaa !9
  %85 = fsub double %47, %84
  %86 = call double @llvm.fmuladd.f64(double %85, double 5.000000e-01, double %83)
  store double %86, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  %87 = sitofp i32 %.sroa.239.0.extract.trunc to double
  %88 = load double, ptr %14, align 8, !tbaa !9
  %89 = fsub double %49, %88
  %90 = call double @llvm.fmuladd.f64(double %89, double 5.000000e-01, double %87)
  store double %90, ptr %23, align 8, !tbaa !9
  %91 = invoke { double, double } @_ZSt9make_pairIRdS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %92 unwind label %124

92:                                               ; preds = %82
  %93 = extractvalue { double, double } %91, 0
  %94 = extractvalue { double, double } %91, 1
  %95 = invoke { double, double } @_ZN3sim20TransformationMatrix36mapPixelCoordinateToOpenGlCoordinateESt4pairIddES1_IiiE(double %93, double %94, i64 %6)
          to label %96 unwind label %124

96:                                               ; preds = %92
  %97 = extractvalue { double, double } %95, 0
  %98 = extractvalue { double, double } %95, 1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %25) #7
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %25, align 8, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %25, i64 8
  store float 0.000000e+00, ptr %99, align 8, !tbaa !5
  %100 = getelementptr inbounds i8, ptr %25, i64 12
  %101 = fptrunc double %97 to float
  store float %101, ptr %100, align 4, !tbaa !5
  %102 = getelementptr inbounds i8, ptr %25, i64 16
  store <2 x float> <float 0.000000e+00, float 1.000000e+00>, ptr %102, align 8, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %25, i64 24
  store float 0.000000e+00, ptr %103, align 8, !tbaa !5
  %104 = getelementptr inbounds i8, ptr %25, i64 28
  %105 = fptrunc double %98 to float
  store float %105, ptr %104, align 4, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %25, i64 32
  store <2 x float> zeroinitializer, ptr %106, align 8, !tbaa !5
  %107 = getelementptr inbounds i8, ptr %25, i64 40
  store float 1.000000e+00, ptr %107, align 8, !tbaa !5
  %108 = getelementptr inbounds i8, ptr %25, i64 44
  %109 = getelementptr inbounds i8, ptr %25, i64 60
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %108, i8 0, i64 16, i1 false)
  store float 1.000000e+00, ptr %109, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #7
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  invoke void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr nonnull %25, i64 16, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %110 unwind label %126

110:                                              ; preds = %96
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %25) #7
  invoke void @_ZNSt6vectorIfSaIfEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(24) %24)
          to label %111 unwind label %128

111:                                              ; preds = %110
  invoke void @_ZNSt6vectorIfSaIfEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %112 unwind label %130

112:                                              ; preds = %111
  invoke void @_ZNSt6vectorIfSaIfEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %113 unwind label %132

113:                                              ; preds = %112
  invoke void @_ZN3sim20TransformationMatrix19multiply4x4MatricesESt6vectorIfSaIfEES3_(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %28, ptr noundef nonnull %29, ptr noundef nonnull %30)
          to label %114 unwind label %134

114:                                              ; preds = %113
  invoke void @_ZN3sim20TransformationMatrix19multiply4x4MatricesESt6vectorIfSaIfEES3_(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull %27, ptr noundef nonnull %28)
          to label %115 unwind label %136

115:                                              ; preds = %114
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  ret void

116:                                              ; preds = %7
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #7
  br label %146

118:                                              ; preds = %56, %46
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  br label %145

120:                                              ; preds = %65, %61
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %145

122:                                              ; preds = %69
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #7
  br label %144

124:                                              ; preds = %92, %82
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %143

126:                                              ; preds = %96
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %25) #7
  br label %142

128:                                              ; preds = %110
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %141

130:                                              ; preds = %111
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %140

132:                                              ; preds = %112
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %139

134:                                              ; preds = %113
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %138

136:                                              ; preds = %114
  %137 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  br label %138

138:                                              ; preds = %136, %134
  %.pn = phi { ptr, i32 } [ %137, %136 ], [ %135, %134 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  br label %139

139:                                              ; preds = %138, %132
  %.pn.pn = phi { ptr, i32 } [ %.pn, %138 ], [ %133, %132 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  br label %140

140:                                              ; preds = %139, %130
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %139 ], [ %131, %130 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #7
  br label %141

141:                                              ; preds = %140, %128
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %140 ], [ %129, %128 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  br label %142

142:                                              ; preds = %141, %126
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %141 ], [ %127, %126 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #7
  br label %143

143:                                              ; preds = %142, %124
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %142 ], [ %125, %124 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  br label %144

144:                                              ; preds = %143, %122
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %143 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #7
  br label %145

145:                                              ; preds = %120, %144, %118
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %119, %118 ], [ %.pn.pn.pn.pn.pn.pn.pn, %144 ], [ %121, %120 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  br label %146

146:                                              ; preds = %145, %116
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %145 ], [ %117, %116 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

declare noundef double @_ZNK3sim8Distance9getMetersEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZN3sim20TransformationMatrix36mapPixelCoordinateToOpenGlCoordinateESt4pairIddES1_IiiE(double, double, i64) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIiiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZSt9make_pairIRdS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3sim20TransformationMatrix19multiply4x4MatricesESt6vectorIfSaIfEES3_(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef, ptr noundef) local_unnamed_addr #0 align 2

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

; 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 @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass