; LLVM IR from thekyria/elabtsaot2 :: emulator_hw/hardware_model (sliceanalog)

; 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.elabtsaot::SliceAnalog" = type { double, double, %"class.elabtsaot::DAC", %"class.elabtsaot::DAC", %"class.std::vector" }
%"class.elabtsaot::DAC" = type <{ double, double, i32, i32, i32, [4 x i8], double, double, double, double, i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<elabtsaot::Atom>, std::allocator<std::vector<elabtsaot::Atom>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<elabtsaot::Atom>, std::allocator<std::vector<elabtsaot::Atom>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<elabtsaot::Atom>, std::allocator<std::vector<elabtsaot::Atom>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<elabtsaot::Atom>, std::allocator<std::vector<elabtsaot::Atom>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.elabtsaot::Atom" = type { %"class.elabtsaot::Node", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.10" }
%"class.elabtsaot::Node" = type { double, double, double, double, i8, i8, i8, i8, double, double, double, double, i8, i8, i8, i8, [4 x i8], %"class.elabtsaot::Potentiometer", %"class.elabtsaot::Potentiometer", %"class.elabtsaot::Potentiometer", %"class.elabtsaot::Potentiometer" }
%"class.elabtsaot::Potentiometer" = type <{ ptr, double, double, i32, [4 x i8], double, i32, i32, i8, i8, [6 x i8] }>
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<elabtsaot::EmulatorBranch, std::allocator<elabtsaot::EmulatorBranch>>::_Vector_impl" }
%"struct.std::_Vector_base<elabtsaot::EmulatorBranch, std::allocator<elabtsaot::EmulatorBranch>>::_Vector_impl" = type { %"struct.std::_Vector_base<elabtsaot::EmulatorBranch, std::allocator<elabtsaot::EmulatorBranch>>::_Vector_impl_data" }
%"struct.std::_Vector_base<elabtsaot::EmulatorBranch, std::allocator<elabtsaot::EmulatorBranch>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN9elabtsaot11SliceAnalog17nodeCurrentSourceEmmdd(ptr noundef nonnull align 8 dereferenceable(184) %0, i64 noundef %1, i64 noundef %2, double noundef %3, double noundef %4) #2 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i64 %1, ptr %7, align 8, !tbaa !9
  store i64 %2, ptr %8, align 8, !tbaa !9
  store double %3, ptr %9, align 8, !tbaa !11
  store double %4, ptr %10, align 8, !tbaa !11
  %12 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !13
  %13 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %14 = load i64, ptr %7, align 8, !tbaa !9
  %15 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %14) #4
  %16 = load i64, ptr %8, align 8, !tbaa !9
  %17 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %16) #4
  %18 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %17, i32 0, i32 0
  %19 = getelementptr inbounds %"class.elabtsaot::Node", ptr %18, i32 0, i32 5
  store i8 1, ptr %19, align 1, !tbaa !15
  %20 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %21 = load i64, ptr %7, align 8, !tbaa !9
  %22 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %21) #4
  %23 = load i64, ptr %8, align 8, !tbaa !9
  %24 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %23) #4
  %25 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %24, i32 0, i32 0
  %26 = getelementptr inbounds %"class.elabtsaot::Node", ptr %25, i32 0, i32 13
  store i8 1, ptr %26, align 1, !tbaa !30
  %27 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %28 = load i64, ptr %7, align 8, !tbaa !9
  %29 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %28) #4
  %30 = load i64, ptr %8, align 8, !tbaa !9
  %31 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %30) #4
  %32 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %31, i32 0, i32 0
  %33 = load double, ptr %9, align 8, !tbaa !11
  %34 = call noundef i32 @_ZN9elabtsaot4Node22set_real_pot_current_rEd(ptr noundef nonnull align 8 dereferenceable(304) %32, double noundef %33)
  %35 = load i32, ptr %11, align 4, !tbaa !13
  %36 = or i32 %35, %34
  store i32 %36, ptr %11, align 4, !tbaa !13
  %37 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %38 = load i64, ptr %7, align 8, !tbaa !9
  %39 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %38) #4
  %40 = load i64, ptr %8, align 8, !tbaa !9
  %41 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %40) #4
  %42 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %41, i32 0, i32 0
  %43 = load double, ptr %9, align 8, !tbaa !11
  %44 = call noundef i32 @_ZN9elabtsaot4Node22set_imag_pot_current_rEd(ptr noundef nonnull align 8 dereferenceable(304) %42, double noundef %43)
  %45 = load i32, ptr %11, align 4, !tbaa !13
  %46 = or i32 %45, %44
  store i32 %46, ptr %11, align 4, !tbaa !13
  %47 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %48 = load i64, ptr %7, align 8, !tbaa !9
  %49 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %48) #4
  %50 = load i64, ptr %8, align 8, !tbaa !9
  %51 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %50) #4
  %52 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %51, i32 0, i32 0
  call void @_ZN9elabtsaot4Node23set_real_pot_current_swEb(ptr noundef nonnull align 8 dereferenceable(304) %52, i1 noundef zeroext true)
  %53 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %54 = load i64, ptr %7, align 8, !tbaa !9
  %55 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %54) #4
  %56 = load i64, ptr %8, align 8, !tbaa !9
  %57 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef %56) #4
  %58 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %57, i32 0, i32 0
  call void @_ZN9elabtsaot4Node23set_imag_pot_current_swEb(ptr noundef nonnull align 8 dereferenceable(304) %58, i1 noundef zeroext true)
  %59 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %60 = load i64, ptr %7, align 8, !tbaa !9
  %61 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %60) #4
  %62 = load i64, ptr %8, align 8, !tbaa !9
  %63 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %62) #4
  %64 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %63, i32 0, i32 0
  %65 = getelementptr inbounds %"class.elabtsaot::Node", ptr %64, i32 0, i32 4
  store i8 0, ptr %65, align 8, !tbaa !31
  %66 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %67 = load i64, ptr %7, align 8, !tbaa !9
  %68 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %67) #4
  %69 = load i64, ptr %8, align 8, !tbaa !9
  %70 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %69) #4
  %71 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds %"class.elabtsaot::Node", ptr %71, i32 0, i32 12
  store i8 0, ptr %72, align 8, !tbaa !32
  %73 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %74 = load i64, ptr %7, align 8, !tbaa !9
  %75 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %74) #4
  %76 = load i64, ptr %8, align 8, !tbaa !9
  %77 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %75, i64 noundef %76) #4
  %78 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %77, i32 0, i32 0
  %79 = getelementptr inbounds %"class.elabtsaot::Node", ptr %78, i32 0, i32 6
  store i8 0, ptr %79, align 2, !tbaa !33
  %80 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %81 = load i64, ptr %7, align 8, !tbaa !9
  %82 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %81) #4
  %83 = load i64, ptr %8, align 8, !tbaa !9
  %84 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %83) #4
  %85 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %84, i32 0, i32 0
  %86 = getelementptr inbounds %"class.elabtsaot::Node", ptr %85, i32 0, i32 14
  store i8 0, ptr %86, align 2, !tbaa !34
  %87 = load double, ptr %10, align 8, !tbaa !11
  %88 = fcmp ogt double %87, 0.000000e+00
  br i1 %88, label %89, label %136

89:                                               ; preds = %5
  %90 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %91 = load i64, ptr %7, align 8, !tbaa !9
  %92 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef %91) #4
  %93 = load i64, ptr %8, align 8, !tbaa !9
  %94 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %93) #4
  %95 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %94, i32 0, i32 0
  %96 = getelementptr inbounds %"class.elabtsaot::Node", ptr %95, i32 0, i32 7
  store i8 1, ptr %96, align 1, !tbaa !35
  %97 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %98 = load i64, ptr %7, align 8, !tbaa !9
  %99 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef %98) #4
  %100 = load i64, ptr %8, align 8, !tbaa !9
  %101 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %99, i64 noundef %100) #4
  %102 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %101, i32 0, i32 0
  %103 = getelementptr inbounds %"class.elabtsaot::Node", ptr %102, i32 0, i32 15
  store i8 1, ptr %103, align 1, !tbaa !36
  %104 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %105 = load i64, ptr %7, align 8, !tbaa !9
  %106 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %105) #4
  %107 = load i64, ptr %8, align 8, !tbaa !9
  %108 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %106, i64 noundef %107) #4
  %109 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %108, i32 0, i32 0
  %110 = load double, ptr %10, align 8, !tbaa !11
  %111 = call noundef i32 @_ZN9elabtsaot4Node25set_real_pot_resistance_rEd(ptr noundef nonnull align 8 dereferenceable(304) %109, double noundef %110)
  %112 = load i32, ptr %11, align 4, !tbaa !13
  %113 = or i32 %112, %111
  store i32 %113, ptr %11, align 4, !tbaa !13
  %114 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %115 = load i64, ptr %7, align 8, !tbaa !9
  %116 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %115) #4
  %117 = load i64, ptr %8, align 8, !tbaa !9
  %118 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %117) #4
  %119 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %118, i32 0, i32 0
  %120 = load double, ptr %10, align 8, !tbaa !11
  %121 = call noundef i32 @_ZN9elabtsaot4Node25set_imag_pot_resistance_rEd(ptr noundef nonnull align 8 dereferenceable(304) %119, double noundef %120)
  %122 = load i32, ptr %11, align 4, !tbaa !13
  %123 = or i32 %122, %121
  store i32 %123, ptr %11, align 4, !tbaa !13
  %124 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %125 = load i64, ptr %7, align 8, !tbaa !9
  %126 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %124, i64 noundef %125) #4
  %127 = load i64, ptr %8, align 8, !tbaa !9
  %128 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %127) #4
  %129 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %128, i32 0, i32 0
  call void @_ZN9elabtsaot4Node26set_real_pot_resistance_swEb(ptr noundef nonnull align 8 dereferenceable(304) %129, i1 noundef zeroext true)
  %130 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %131 = load i64, ptr %7, align 8, !tbaa !9
  %132 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %130, i64 noundef %131) #4
  %133 = load i64, ptr %8, align 8, !tbaa !9
  %134 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %132, i64 noundef %133) #4
  %135 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %134, i32 0, i32 0
  call void @_ZN9elabtsaot4Node26set_imag_pot_resistance_swEb(ptr noundef nonnull align 8 dereferenceable(304) %135, i1 noundef zeroext true)
  br label %163

136:                                              ; preds = %5
  %137 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %138 = load i64, ptr %7, align 8, !tbaa !9
  %139 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %137, i64 noundef %138) #4
  %140 = load i64, ptr %8, align 8, !tbaa !9
  %141 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %139, i64 noundef %140) #4
  %142 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %141, i32 0, i32 0
  %143 = getelementptr inbounds %"class.elabtsaot::Node", ptr %142, i32 0, i32 7
  store i8 0, ptr %143, align 1, !tbaa !35
  %144 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %145 = load i64, ptr %7, align 8, !tbaa !9
  %146 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %144, i64 noundef %145) #4
  %147 = load i64, ptr %8, align 8, !tbaa !9
  %148 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %146, i64 noundef %147) #4
  %149 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %148, i32 0, i32 0
  %150 = getelementptr inbounds %"class.elabtsaot::Node", ptr %149, i32 0, i32 15
  store i8 0, ptr %150, align 1, !tbaa !36
  %151 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %152 = load i64, ptr %7, align 8, !tbaa !9
  %153 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %151, i64 noundef %152) #4
  %154 = load i64, ptr %8, align 8, !tbaa !9
  %155 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %153, i64 noundef %154) #4
  %156 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %155, i32 0, i32 0
  call void @_ZN9elabtsaot4Node26set_real_pot_resistance_swEb(ptr noundef nonnull align 8 dereferenceable(304) %156, i1 noundef zeroext false)
  %157 = getelementptr inbounds %"class.elabtsaot::SliceAnalog", ptr %12, i32 0, i32 4
  %158 = load i64, ptr %7, align 8, !tbaa !9
  %159 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %157, i64 noundef %158) #4
  %160 = load i64, ptr %8, align 8, !tbaa !9
  %161 = call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %159, i64 noundef %160) #4
  %162 = getelementptr inbounds %"class.elabtsaot::Atom", ptr %161, i32 0, i32 0
  call void @_ZN9elabtsaot4Node26set_imag_pot_resistance_swEb(ptr noundef nonnull align 8 dereferenceable(304) %162, i1 noundef zeroext false)
  br label %163

163:                                              ; preds = %136, %89
  %164 = load i32, ptr %11, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret i32 %164
}

declare noundef i32 @_ZN9elabtsaot4Node22set_real_pot_current_rEd(ptr noundef nonnull align 8 dereferenceable(304), double noundef) #3

declare noundef i32 @_ZN9elabtsaot4Node22set_imag_pot_current_rEd(ptr noundef nonnull align 8 dereferenceable(304), double noundef) #3

declare void @_ZN9elabtsaot4Node23set_real_pot_current_swEb(ptr noundef nonnull align 8 dereferenceable(304), i1 noundef zeroext) #3

declare void @_ZN9elabtsaot4Node23set_imag_pot_current_swEb(ptr noundef nonnull align 8 dereferenceable(304), i1 noundef zeroext) #3

declare noundef i32 @_ZN9elabtsaot4Node25set_real_pot_resistance_rEd(ptr noundef nonnull align 8 dereferenceable(304), double noundef) #3

declare noundef i32 @_ZN9elabtsaot4Node25set_imag_pot_resistance_rEd(ptr noundef nonnull align 8 dereferenceable(304), double noundef) #3

declare void @_ZN9elabtsaot4Node26set_real_pot_resistance_swEb(ptr noundef nonnull align 8 dereferenceable(304), i1 noundef zeroext) #3

declare void @_ZN9elabtsaot4Node26set_imag_pot_resistance_swEb(ptr noundef nonnull align 8 dereferenceable(304), i1 noundef zeroext) #3

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

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !18, i64 33}
!16 = !{!"_ZTSN9elabtsaot4AtomE", !17, i64 0, !20, i64 304, !20, i64 328, !24, i64 352}
!17 = !{!"_ZTSN9elabtsaot4NodeE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !18, i64 32, !18, i64 33, !18, i64 34, !18, i64 35, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !18, i64 72, !18, i64 73, !18, i64 74, !18, i64 75, !19, i64 80, !19, i64 136, !19, i64 192, !19, i64 248}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTSN9elabtsaot13PotentiometerE", !12, i64 8, !12, i64 16, !14, i64 24, !12, i64 32, !14, i64 40, !14, i64 44, !18, i64 48, !18, i64 49}
!20 = !{!"_ZTSSt6vectorIN9elabtsaot14EmulatorBranchESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN9elabtsaot14EmulatorBranchESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN9elabtsaot14EmulatorBranchESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN9elabtsaot14EmulatorBranchESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"_ZTSSt6vectorIbSaIbEE", !25, i64 0}
!25 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !26, i64 0}
!26 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !28, i64 0, !28, i64 16, !6, i64 32}
!28 = !{!"_ZTSSt13_Bit_iterator", !29, i64 0}
!29 = !{!"_ZTSSt18_Bit_iterator_base", !6, i64 0, !14, i64 8}
!30 = !{!16, !18, i64 73}
!31 = !{!16, !18, i64 32}
!32 = !{!16, !18, i64 72}
!33 = !{!16, !18, i64 34}
!34 = !{!16, !18, i64 74}
!35 = !{!16, !18, i64 35}
!36 = !{!16, !18, i64 75}


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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN9elabtsaot11SliceAnalog17nodeCurrentSourceEmmdd(ptr noundef nonnull align 8 dereferenceable(184) %0, i64 noundef %1, i64 noundef %2, double noundef %3, double noundef %4) local_unnamed_addr #1 align 2 {
  %6 = getelementptr inbounds i8, ptr %0, i64 160
  %7 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %8 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %2) #3
  %9 = getelementptr inbounds i8, ptr %8, i64 33
  store i8 1, ptr %9, align 1, !tbaa !5
  %10 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %11 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %2) #3
  %12 = getelementptr inbounds i8, ptr %11, i64 73
  store i8 1, ptr %12, align 1, !tbaa !25
  %13 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %14 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %2) #3
  %15 = tail call noundef i32 @_ZN9elabtsaot4Node22set_real_pot_current_rEd(ptr noundef nonnull align 8 dereferenceable(304) %14, double noundef %3)
  %16 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %17 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %2) #3
  %18 = tail call noundef i32 @_ZN9elabtsaot4Node22set_imag_pot_current_rEd(ptr noundef nonnull align 8 dereferenceable(304) %17, double noundef %3)
  %19 = or i32 %18, %15
  %20 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %21 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %2) #3
  tail call void @_ZN9elabtsaot4Node23set_real_pot_current_swEb(ptr noundef nonnull align 8 dereferenceable(304) %21, i1 noundef zeroext true)
  %22 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %23 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %2) #3
  tail call void @_ZN9elabtsaot4Node23set_imag_pot_current_swEb(ptr noundef nonnull align 8 dereferenceable(304) %23, i1 noundef zeroext true)
  %24 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %25 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %2) #3
  %26 = getelementptr inbounds i8, ptr %25, i64 32
  store i8 0, ptr %26, align 8, !tbaa !26
  %27 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %28 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %2) #3
  %29 = getelementptr inbounds i8, ptr %28, i64 72
  store i8 0, ptr %29, align 8, !tbaa !27
  %30 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %31 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %2) #3
  %32 = getelementptr inbounds i8, ptr %31, i64 34
  store i8 0, ptr %32, align 2, !tbaa !28
  %33 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %34 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %2) #3
  %35 = getelementptr inbounds i8, ptr %34, i64 74
  store i8 0, ptr %35, align 2, !tbaa !29
  %36 = fcmp ogt double %4, 0.000000e+00
  %37 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %38 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %2) #3
  %39 = getelementptr inbounds i8, ptr %38, i64 35
  br i1 %36, label %40, label %52

40:                                               ; preds = %5
  store i8 1, ptr %39, align 1, !tbaa !30
  %41 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %42 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %2) #3
  %43 = getelementptr inbounds i8, ptr %42, i64 75
  store i8 1, ptr %43, align 1, !tbaa !31
  %44 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %45 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %2) #3
  %46 = tail call noundef i32 @_ZN9elabtsaot4Node25set_real_pot_resistance_rEd(ptr noundef nonnull align 8 dereferenceable(304) %45, double noundef %4)
  %47 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %48 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %2) #3
  %49 = tail call noundef i32 @_ZN9elabtsaot4Node25set_imag_pot_resistance_rEd(ptr noundef nonnull align 8 dereferenceable(304) %48, double noundef %4)
  %50 = or i32 %46, %49
  %51 = or i32 %50, %19
  br label %56

52:                                               ; preds = %5
  store i8 0, ptr %39, align 1, !tbaa !30
  %53 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %54 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %2) #3
  %55 = getelementptr inbounds i8, ptr %54, i64 75
  store i8 0, ptr %55, align 1, !tbaa !31
  br label %56

56:                                               ; preds = %52, %40
  %.0 = phi i32 [ %19, %52 ], [ %51, %40 ]
  %57 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %58 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %2) #3
  tail call void @_ZN9elabtsaot4Node26set_real_pot_resistance_swEb(ptr noundef nonnull align 8 dereferenceable(304) %58, i1 noundef zeroext %36)
  %59 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN9elabtsaot4AtomESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %1) #3
  %60 = tail call noundef nonnull align 8 dereferenceable(392) ptr @_ZNSt6vectorIN9elabtsaot4AtomESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %2) #3
  tail call void @_ZN9elabtsaot4Node26set_imag_pot_resistance_swEb(ptr noundef nonnull align 8 dereferenceable(304) %60, i1 noundef zeroext %36)
  ret i32 %.0
}

declare noundef i32 @_ZN9elabtsaot4Node22set_real_pot_current_rEd(ptr noundef nonnull align 8 dereferenceable(304), double noundef) local_unnamed_addr #2

declare noundef i32 @_ZN9elabtsaot4Node22set_imag_pot_current_rEd(ptr noundef nonnull align 8 dereferenceable(304), double noundef) local_unnamed_addr #2

declare void @_ZN9elabtsaot4Node23set_real_pot_current_swEb(ptr noundef nonnull align 8 dereferenceable(304), i1 noundef zeroext) local_unnamed_addr #2

declare void @_ZN9elabtsaot4Node23set_imag_pot_current_swEb(ptr noundef nonnull align 8 dereferenceable(304), i1 noundef zeroext) local_unnamed_addr #2

declare noundef i32 @_ZN9elabtsaot4Node25set_real_pot_resistance_rEd(ptr noundef nonnull align 8 dereferenceable(304), double noundef) local_unnamed_addr #2

declare noundef i32 @_ZN9elabtsaot4Node25set_imag_pot_resistance_rEd(ptr noundef nonnull align 8 dereferenceable(304), double noundef) local_unnamed_addr #2

declare void @_ZN9elabtsaot4Node26set_real_pot_resistance_swEb(ptr noundef nonnull align 8 dereferenceable(304), i1 noundef zeroext) local_unnamed_addr #2

declare void @_ZN9elabtsaot4Node26set_imag_pot_resistance_swEb(ptr noundef nonnull align 8 dereferenceable(304), i1 noundef zeroext) local_unnamed_addr #2

attributes #0 = { 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 #1 = { 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 #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 = { 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 33}
!6 = !{!"_ZTSN9elabtsaot4AtomE", !7, i64 0, !14, i64 304, !14, i64 328, !19, i64 352}
!7 = !{!"_ZTSN9elabtsaot4NodeE", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !11, i64 32, !11, i64 33, !11, i64 34, !11, i64 35, !8, i64 40, !8, i64 48, !8, i64 56, !8, i64 64, !11, i64 72, !11, i64 73, !11, i64 74, !11, i64 75, !12, i64 80, !12, i64 136, !12, i64 192, !12, i64 248}
!8 = !{!"double", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"bool", !9, i64 0}
!12 = !{!"_ZTSN9elabtsaot13PotentiometerE", !8, i64 8, !8, i64 16, !13, i64 24, !8, i64 32, !13, i64 40, !13, i64 44, !11, i64 48, !11, i64 49}
!13 = !{!"int", !9, i64 0}
!14 = !{!"_ZTSSt6vectorIN9elabtsaot14EmulatorBranchESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN9elabtsaot14EmulatorBranchESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN9elabtsaot14EmulatorBranchESaIS1_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN9elabtsaot14EmulatorBranchESaIS1_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !9, i64 0}
!19 = !{!"_ZTSSt6vectorIbSaIbEE", !20, i64 0}
!20 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !21, i64 0}
!21 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !23, i64 0, !23, i64 16, !18, i64 32}
!23 = !{!"_ZTSSt13_Bit_iterator", !24, i64 0}
!24 = !{!"_ZTSSt18_Bit_iterator_base", !18, i64 0, !13, i64 8}
!25 = !{!6, !11, i64 73}
!26 = !{!6, !11, i64 32}
!27 = !{!6, !11, i64 72}
!28 = !{!6, !11, i64 34}
!29 = !{!6, !11, i64 74}
!30 = !{!6, !11, i64 35}
!31 = !{!6, !11, i64 75}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass