; LLVM IR from dmr-goncalves/HumanAwareRobotNavigation :: src/husky/husky_base/src/horizon_legacy/Message.ll (ZN9clearpath7Message7factoryEPvm)

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

; 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: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #1

declare i32 @__gxx_personality_v0(...)

declare noundef i64 @_ZN9clearpath4btouEPvm(ptr noundef, i64 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN9clearpath7Message7factoryEPvm(ptr noundef %0, i64 noundef %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i16, align 2
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2, ptr %6) #5
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 9
  %12 = call noundef i64 @_ZN9clearpath4btouEPvm(ptr noundef %11, i64 noundef 2)
  %13 = trunc i64 %12 to i16
  store i16 %13, ptr %6, align 2, !tbaa !11
  %14 = load i16, ptr %6, align 2, !tbaa !11
  %15 = zext i16 %14 to i32
  switch i32 %15, label %286 [
    i32 34306, label %16
    i32 41237, label %25
    i32 33283, label %34
    i32 41232, label %43
    i32 32770, label %52
    i32 33281, label %61
    i32 33280, label %70
    i32 33282, label %79
    i32 34048, label %88
    i32 34049, label %97
    i32 32768, label %106
    i32 34816, label %115
    i32 34817, label %124
    i32 32771, label %133
    i32 41236, label %142
    i32 34310, label %151
    i32 41238, label %160
    i32 33297, label %169
    i32 33296, label %178
    i32 34304, label %187
    i32 41235, label %196
    i32 32769, label %205
    i32 32773, label %214
    i32 32774, label %223
    i32 34305, label %232
    i32 32784, label %241
    i32 32772, label %250
    i32 41234, label %259
    i32 33284, label %268
    i32 41233, label %277
  ]

16:                                               ; preds = %2
  %17 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath24DataPlatformAccelerationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %17, ptr noundef %18, i64 noundef %19)
          to label %20 unwind label %21

20:                                               ; preds = %16
  store ptr %17, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

21:                                               ; preds = %16
  %22 = landingpad { ptr, i32 }
          cleanup
  %23 = extractvalue { ptr, i32 } %22, 0
  store ptr %23, ptr %7, align 8
  %24 = extractvalue { ptr, i32 } %22, 1
  store i32 %24, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %17, i64 noundef 280) #7
  br label %297

25:                                               ; preds = %2
  %26 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath19DataRawAccelerationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %26, ptr noundef %27, i64 noundef %28)
          to label %29 unwind label %30

29:                                               ; preds = %25
  store ptr %26, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

30:                                               ; preds = %25
  %31 = landingpad { ptr, i32 }
          cleanup
  %32 = extractvalue { ptr, i32 } %31, 0
  store ptr %32, ptr %7, align 8
  %33 = extractvalue { ptr, i32 } %31, 1
  store i32 %33, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %26, i64 noundef 280) #7
  br label %297

34:                                               ; preds = %2
  %35 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath19DataAckermannOutputC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %35, ptr noundef %36, i64 noundef %37)
          to label %38 unwind label %39

38:                                               ; preds = %34
  store ptr %35, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

39:                                               ; preds = %34
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %7, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %35, i64 noundef 280) #7
  br label %297

43:                                               ; preds = %2
  %44 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath14DataRawCurrentC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %44, ptr noundef %45, i64 noundef %46)
          to label %47 unwind label %48

47:                                               ; preds = %43
  store ptr %44, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

48:                                               ; preds = %43
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %7, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %44, i64 noundef 280) #7
  br label %297

52:                                               ; preds = %2
  %53 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath16DataPlatformNameC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %53, ptr noundef %54, i64 noundef %55)
          to label %56 unwind label %57

56:                                               ; preds = %52
  store ptr %53, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

57:                                               ; preds = %52
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %7, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %53, i64 noundef 280) #7
  br label %297

61:                                               ; preds = %2
  %62 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath23DataDifferentialControlC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %62, ptr noundef %63, i64 noundef %64)
          to label %65 unwind label %66

65:                                               ; preds = %61
  store ptr %62, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

66:                                               ; preds = %61
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %7, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %62, i64 noundef 280) #7
  br label %297

70:                                               ; preds = %2
  %71 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath21DataDifferentialSpeedC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %71, ptr noundef %72, i64 noundef %73)
          to label %74 unwind label %75

74:                                               ; preds = %70
  store ptr %71, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

75:                                               ; preds = %70
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %7, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %71, i64 noundef 280) #7
  br label %297

79:                                               ; preds = %2
  %80 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath22DataDifferentialOutputC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %80, ptr noundef %81, i64 noundef %82)
          to label %83 unwind label %84

83:                                               ; preds = %79
  store ptr %80, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

84:                                               ; preds = %79
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %7, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %80, i64 noundef 280) #7
  br label %297

88:                                               ; preds = %2
  %89 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath16DataRangefindersC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %89, ptr noundef %90, i64 noundef %91)
          to label %92 unwind label %93

92:                                               ; preds = %88
  store ptr %89, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

93:                                               ; preds = %88
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %7, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %89, i64 noundef 280) #7
  br label %297

97:                                               ; preds = %2
  %98 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath22DataRangefinderTimingsC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %98, ptr noundef %99, i64 noundef %100)
          to label %101 unwind label %102

101:                                              ; preds = %97
  store ptr %98, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

102:                                              ; preds = %97
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %7, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %98, i64 noundef 280) #7
  br label %297

106:                                              ; preds = %2
  %107 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath8DataEchoC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %107, ptr noundef %108, i64 noundef %109)
          to label %110 unwind label %111

110:                                              ; preds = %106
  store ptr %107, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

111:                                              ; preds = %106
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %7, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %107, i64 noundef 280) #7
  br label %297

115:                                              ; preds = %2
  %116 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 296) #6
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath12DataEncodersC1EPvm(ptr noundef nonnull align 8 dereferenceable(296) %116, ptr noundef %117, i64 noundef %118)
          to label %119 unwind label %120

119:                                              ; preds = %115
  store ptr %116, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

120:                                              ; preds = %115
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %7, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %116, i64 noundef 296) #7
  br label %297

124:                                              ; preds = %2
  %125 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath15DataEncodersRawC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %125, ptr noundef %126, i64 noundef %127)
          to label %128 unwind label %129

128:                                              ; preds = %124
  store ptr %125, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

129:                                              ; preds = %124
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %7, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %125, i64 noundef 280) #7
  br label %297

133:                                              ; preds = %2
  %134 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath16DataFirmwareInfoC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %134, ptr noundef %135, i64 noundef %136)
          to label %137 unwind label %138

137:                                              ; preds = %133
  store ptr %134, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

138:                                              ; preds = %133
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %7, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %134, i64 noundef 280) #7
  br label %297

142:                                              ; preds = %2
  %143 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %144 = load ptr, ptr %4, align 8, !tbaa !5
  %145 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath11DataRawGyroC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %143, ptr noundef %144, i64 noundef %145)
          to label %146 unwind label %147

146:                                              ; preds = %142
  store ptr %143, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

147:                                              ; preds = %142
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %7, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %143, i64 noundef 280) #7
  br label %297

151:                                              ; preds = %2
  %152 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath24DataPlatformMagnetometerC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %152, ptr noundef %153, i64 noundef %154)
          to label %155 unwind label %156

155:                                              ; preds = %151
  store ptr %152, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

156:                                              ; preds = %151
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %7, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %152, i64 noundef 280) #7
  br label %297

160:                                              ; preds = %2
  %161 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  %163 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath19DataRawMagnetometerC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %161, ptr noundef %162, i64 noundef %163)
          to label %164 unwind label %165

164:                                              ; preds = %160
  store ptr %161, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

165:                                              ; preds = %160
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %7, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %161, i64 noundef 280) #7
  br label %297

169:                                              ; preds = %2
  %170 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath19DataMaxAccelerationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %170, ptr noundef %171, i64 noundef %172)
          to label %173 unwind label %174

173:                                              ; preds = %169
  store ptr %170, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

174:                                              ; preds = %169
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %7, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %170, i64 noundef 280) #7
  br label %297

178:                                              ; preds = %2
  %179 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %180 = load ptr, ptr %4, align 8, !tbaa !5
  %181 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath12DataMaxSpeedC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %179, ptr noundef %180, i64 noundef %181)
          to label %182 unwind label %183

182:                                              ; preds = %178
  store ptr %179, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

183:                                              ; preds = %178
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %7, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %179, i64 noundef 280) #7
  br label %297

187:                                              ; preds = %2
  %188 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %189 = load ptr, ptr %4, align 8, !tbaa !5
  %190 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath23DataPlatformOrientationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %188, ptr noundef %189, i64 noundef %190)
          to label %191 unwind label %192

191:                                              ; preds = %187
  store ptr %188, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

192:                                              ; preds = %187
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %7, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %188, i64 noundef 280) #7
  br label %297

196:                                              ; preds = %2
  %197 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %198 = load ptr, ptr %4, align 8, !tbaa !5
  %199 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath18DataRawOrientationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %197, ptr noundef %198, i64 noundef %199)
          to label %200 unwind label %201

200:                                              ; preds = %196
  store ptr %197, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

201:                                              ; preds = %196
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %7, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %197, i64 noundef 280) #7
  br label %297

205:                                              ; preds = %2
  %206 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %207 = load ptr, ptr %4, align 8, !tbaa !5
  %208 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath16DataPlatformInfoC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %206, ptr noundef %207, i64 noundef %208)
          to label %209 unwind label %210

209:                                              ; preds = %205
  store ptr %206, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

210:                                              ; preds = %205
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %7, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %206, i64 noundef 280) #7
  br label %297

214:                                              ; preds = %2
  %215 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %216 = load ptr, ptr %4, align 8, !tbaa !5
  %217 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath15DataPowerSystemC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %215, ptr noundef %216, i64 noundef %217)
          to label %218 unwind label %219

218:                                              ; preds = %214
  store ptr %215, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

219:                                              ; preds = %214
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %7, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %215, i64 noundef 280) #7
  br label %297

223:                                              ; preds = %2
  %224 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %225 = load ptr, ptr %4, align 8, !tbaa !5
  %226 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath19DataProcessorStatusC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %224, ptr noundef %225, i64 noundef %226)
          to label %227 unwind label %228

227:                                              ; preds = %223
  store ptr %224, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

228:                                              ; preds = %223
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %7, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %224, i64 noundef 280) #7
  br label %297

232:                                              ; preds = %2
  %233 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %234 = load ptr, ptr %4, align 8, !tbaa !5
  %235 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath20DataPlatformRotationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %233, ptr noundef %234, i64 noundef %235)
          to label %236 unwind label %237

236:                                              ; preds = %232
  store ptr %233, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

237:                                              ; preds = %232
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %7, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %233, i64 noundef 280) #7
  br label %297

241:                                              ; preds = %2
  %242 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %243 = load ptr, ptr %4, align 8, !tbaa !5
  %244 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath22DataSafetySystemStatusC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %242, ptr noundef %243, i64 noundef %244)
          to label %245 unwind label %246

245:                                              ; preds = %241
  store ptr %242, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

246:                                              ; preds = %241
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %7, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %242, i64 noundef 280) #7
  br label %297

250:                                              ; preds = %2
  %251 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %252 = load ptr, ptr %4, align 8, !tbaa !5
  %253 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath16DataSystemStatusC1EPvm(ptr noundef nonnull align 8 dereferenceable(276) %251, ptr noundef %252, i64 noundef %253)
          to label %254 unwind label %255

254:                                              ; preds = %250
  store ptr %251, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

255:                                              ; preds = %250
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %7, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %251, i64 noundef 280) #7
  br label %297

259:                                              ; preds = %2
  %260 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %261 = load ptr, ptr %4, align 8, !tbaa !5
  %262 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath18DataRawTemperatureC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %260, ptr noundef %261, i64 noundef %262)
          to label %263 unwind label %264

263:                                              ; preds = %259
  store ptr %260, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

264:                                              ; preds = %259
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %7, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %260, i64 noundef 280) #7
  br label %297

268:                                              ; preds = %2
  %269 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %270 = load ptr, ptr %4, align 8, !tbaa !5
  %271 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath12DataVelocityC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %269, ptr noundef %270, i64 noundef %271)
          to label %272 unwind label %273

272:                                              ; preds = %268
  store ptr %269, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

273:                                              ; preds = %268
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %7, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %269, i64 noundef 280) #7
  br label %297

277:                                              ; preds = %2
  %278 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %279 = load ptr, ptr %4, align 8, !tbaa !5
  %280 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath14DataRawVoltageC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %278, ptr noundef %279, i64 noundef %280)
          to label %281 unwind label %282

281:                                              ; preds = %277
  store ptr %278, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

282:                                              ; preds = %277
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %7, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %278, i64 noundef 280) #7
  br label %297

286:                                              ; preds = %2
  %287 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #6
  %288 = load ptr, ptr %4, align 8, !tbaa !5
  %289 = load i64, ptr %5, align 8, !tbaa !9
  invoke void @_ZN9clearpath7MessageC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %287, ptr noundef %288, i64 noundef %289)
          to label %290 unwind label %291

290:                                              ; preds = %286
  store ptr %287, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %295

291:                                              ; preds = %286
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %7, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %287, i64 noundef 280) #7
  br label %297

295:                                              ; preds = %290, %281, %272, %263, %254, %245, %236, %227, %218, %209, %200, %191, %182, %173, %164, %155, %146, %137, %128, %119, %110, %101, %92, %83, %74, %65, %56, %47, %38, %29, %20
  call void @llvm.lifetime.end.p0(i64 2, ptr %6) #5
  %296 = load ptr, ptr %3, align 8
  ret ptr %296

297:                                              ; preds = %291, %282, %273, %264, %255, %246, %237, %228, %219, %210, %201, %192, %183, %174, %165, %156, %147, %138, %129, %120, %111, %102, %93, %84, %75, %66, %57, %48, %39, %30, %21
  call void @llvm.lifetime.end.p0(i64 2, ptr %6) #5
  br label %298

298:                                              ; preds = %297
  %299 = load ptr, ptr %7, align 8
  %300 = load i32, ptr %8, align 4
  %301 = insertvalue { ptr, i32 } poison, ptr %299, 0
  %302 = insertvalue { ptr, i32 } %301, i32 %300, 1
  resume { ptr, i32 } %302
}

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

declare void @_ZN9clearpath24DataPlatformAccelerationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath19DataRawAccelerationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath19DataAckermannOutputC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath14DataRawCurrentC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath16DataPlatformNameC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath23DataDifferentialControlC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath21DataDifferentialSpeedC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath22DataDifferentialOutputC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath16DataRangefindersC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath22DataRangefinderTimingsC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath8DataEchoC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath12DataEncodersC1EPvm(ptr noundef nonnull align 8 dereferenceable(296), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath15DataEncodersRawC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath16DataFirmwareInfoC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath11DataRawGyroC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath24DataPlatformMagnetometerC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath19DataRawMagnetometerC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath19DataMaxAccelerationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath12DataMaxSpeedC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath23DataPlatformOrientationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath18DataRawOrientationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath16DataPlatformInfoC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath15DataPowerSystemC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath19DataProcessorStatusC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath20DataPlatformRotationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath22DataSafetySystemStatusC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath16DataSystemStatusC1EPvm(ptr noundef nonnull align 8 dereferenceable(276), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath18DataRawTemperatureC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath12DataVelocityC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath14DataRawVoltageC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #2

declare void @_ZN9clearpath7MessageC1EPvm(ptr, ptr, i64)

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"short", !7, 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"

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

declare i32 @__gxx_personality_v0(...)

declare noundef i64 @_ZN9clearpath4btouEPvm(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull ptr @_ZN9clearpath7Message7factoryEPvm(ptr noundef %0, i64 noundef %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = getelementptr inbounds i8, ptr %0, i64 9
  %4 = tail call noundef i64 @_ZN9clearpath4btouEPvm(ptr noundef nonnull %3, i64 noundef 2)
  %5 = trunc i64 %4 to i16
  switch i16 %5, label %126 [
    i16 -31230, label %6
    i16 -24299, label %10
    i16 -32253, label %14
    i16 -24304, label %18
    i16 -32766, label %22
    i16 -32255, label %26
    i16 -32256, label %30
    i16 -32254, label %34
    i16 -31488, label %38
    i16 -31487, label %42
    i16 -32768, label %46
    i16 -30720, label %50
    i16 -30719, label %54
    i16 -32765, label %58
    i16 -24300, label %62
    i16 -31226, label %66
    i16 -24298, label %70
    i16 -32239, label %74
    i16 -32240, label %78
    i16 -31232, label %82
    i16 -24301, label %86
    i16 -32767, label %90
    i16 -32763, label %94
    i16 -32762, label %98
    i16 -31231, label %102
    i16 -32752, label %106
    i16 -32764, label %110
    i16 -24302, label %114
    i16 -32252, label %118
    i16 -24303, label %122
  ]

6:                                                ; preds = %2
  %7 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath24DataPlatformAccelerationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %7, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %8

8:                                                ; preds = %6
  %9 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %7, i64 noundef 280) #5
  br label %131

10:                                               ; preds = %2
  %11 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath19DataRawAccelerationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %11, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %12

12:                                               ; preds = %10
  %13 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %11, i64 noundef 280) #5
  br label %131

14:                                               ; preds = %2
  %15 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath19DataAckermannOutputC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %15, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %16

16:                                               ; preds = %14
  %17 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %15, i64 noundef 280) #5
  br label %131

18:                                               ; preds = %2
  %19 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath14DataRawCurrentC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %19, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %20

20:                                               ; preds = %18
  %21 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %19, i64 noundef 280) #5
  br label %131

22:                                               ; preds = %2
  %23 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath16DataPlatformNameC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %23, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %24

24:                                               ; preds = %22
  %25 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %23, i64 noundef 280) #5
  br label %131

26:                                               ; preds = %2
  %27 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath23DataDifferentialControlC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %27, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %28

28:                                               ; preds = %26
  %29 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %27, i64 noundef 280) #5
  br label %131

30:                                               ; preds = %2
  %31 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath21DataDifferentialSpeedC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %31, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %32

32:                                               ; preds = %30
  %33 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %31, i64 noundef 280) #5
  br label %131

34:                                               ; preds = %2
  %35 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath22DataDifferentialOutputC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %35, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %36

36:                                               ; preds = %34
  %37 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %35, i64 noundef 280) #5
  br label %131

38:                                               ; preds = %2
  %39 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath16DataRangefindersC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %39, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %40

40:                                               ; preds = %38
  %41 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %39, i64 noundef 280) #5
  br label %131

42:                                               ; preds = %2
  %43 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath22DataRangefinderTimingsC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %43, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %44

44:                                               ; preds = %42
  %45 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %43, i64 noundef 280) #5
  br label %131

46:                                               ; preds = %2
  %47 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath8DataEchoC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %47, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %48

48:                                               ; preds = %46
  %49 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %47, i64 noundef 280) #5
  br label %131

50:                                               ; preds = %2
  %51 = tail call noalias noundef nonnull dereferenceable(296) ptr @_Znwm(i64 noundef 296) #4
  invoke void @_ZN9clearpath12DataEncodersC1EPvm(ptr noundef nonnull align 8 dereferenceable(296) %51, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %52

52:                                               ; preds = %50
  %53 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %51, i64 noundef 296) #5
  br label %131

54:                                               ; preds = %2
  %55 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath15DataEncodersRawC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %55, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %56

56:                                               ; preds = %54
  %57 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %55, i64 noundef 280) #5
  br label %131

58:                                               ; preds = %2
  %59 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath16DataFirmwareInfoC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %59, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %60

60:                                               ; preds = %58
  %61 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %59, i64 noundef 280) #5
  br label %131

62:                                               ; preds = %2
  %63 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath11DataRawGyroC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %63, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %64

64:                                               ; preds = %62
  %65 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %63, i64 noundef 280) #5
  br label %131

66:                                               ; preds = %2
  %67 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath24DataPlatformMagnetometerC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %67, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %68

68:                                               ; preds = %66
  %69 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %67, i64 noundef 280) #5
  br label %131

70:                                               ; preds = %2
  %71 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath19DataRawMagnetometerC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %71, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %72

72:                                               ; preds = %70
  %73 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %71, i64 noundef 280) #5
  br label %131

74:                                               ; preds = %2
  %75 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath19DataMaxAccelerationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %75, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %76

76:                                               ; preds = %74
  %77 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %75, i64 noundef 280) #5
  br label %131

78:                                               ; preds = %2
  %79 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath12DataMaxSpeedC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %79, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %80

80:                                               ; preds = %78
  %81 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %79, i64 noundef 280) #5
  br label %131

82:                                               ; preds = %2
  %83 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath23DataPlatformOrientationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %83, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %84

84:                                               ; preds = %82
  %85 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %83, i64 noundef 280) #5
  br label %131

86:                                               ; preds = %2
  %87 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath18DataRawOrientationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %87, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %88

88:                                               ; preds = %86
  %89 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %87, i64 noundef 280) #5
  br label %131

90:                                               ; preds = %2
  %91 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath16DataPlatformInfoC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %91, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %92

92:                                               ; preds = %90
  %93 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %91, i64 noundef 280) #5
  br label %131

94:                                               ; preds = %2
  %95 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath15DataPowerSystemC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %95, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %96

96:                                               ; preds = %94
  %97 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %95, i64 noundef 280) #5
  br label %131

98:                                               ; preds = %2
  %99 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath19DataProcessorStatusC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %99, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %100

100:                                              ; preds = %98
  %101 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %99, i64 noundef 280) #5
  br label %131

102:                                              ; preds = %2
  %103 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath20DataPlatformRotationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %103, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %104

104:                                              ; preds = %102
  %105 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %103, i64 noundef 280) #5
  br label %131

106:                                              ; preds = %2
  %107 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath22DataSafetySystemStatusC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %107, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %108

108:                                              ; preds = %106
  %109 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %107, i64 noundef 280) #5
  br label %131

110:                                              ; preds = %2
  %111 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath16DataSystemStatusC1EPvm(ptr noundef nonnull align 8 dereferenceable(276) %111, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %112

112:                                              ; preds = %110
  %113 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %111, i64 noundef 280) #5
  br label %131

114:                                              ; preds = %2
  %115 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath18DataRawTemperatureC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %115, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %116

116:                                              ; preds = %114
  %117 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %115, i64 noundef 280) #5
  br label %131

118:                                              ; preds = %2
  %119 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath12DataVelocityC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %119, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %120

120:                                              ; preds = %118
  %121 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %119, i64 noundef 280) #5
  br label %131

122:                                              ; preds = %2
  %123 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath14DataRawVoltageC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %123, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %124

124:                                              ; preds = %122
  %125 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %123, i64 noundef 280) #5
  br label %131

126:                                              ; preds = %2
  %127 = tail call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #4
  invoke void @_ZN9clearpath7MessageC1EPvm(ptr noundef nonnull align 8 dereferenceable(273) %127, ptr noundef %0, i64 noundef %1)
          to label %130 unwind label %128

128:                                              ; preds = %126
  %129 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %127, i64 noundef 280) #5
  br label %131

130:                                              ; preds = %126, %122, %118, %114, %110, %106, %102, %98, %94, %90, %86, %82, %78, %74, %70, %66, %62, %58, %54, %50, %46, %42, %38, %34, %30, %26, %22, %18, %14, %10, %6
  %.067 = phi ptr [ %7, %6 ], [ %11, %10 ], [ %15, %14 ], [ %19, %18 ], [ %23, %22 ], [ %27, %26 ], [ %31, %30 ], [ %35, %34 ], [ %39, %38 ], [ %43, %42 ], [ %47, %46 ], [ %51, %50 ], [ %55, %54 ], [ %59, %58 ], [ %63, %62 ], [ %67, %66 ], [ %71, %70 ], [ %75, %74 ], [ %79, %78 ], [ %83, %82 ], [ %87, %86 ], [ %91, %90 ], [ %95, %94 ], [ %99, %98 ], [ %103, %102 ], [ %107, %106 ], [ %111, %110 ], [ %115, %114 ], [ %119, %118 ], [ %123, %122 ], [ %127, %126 ]
  ret ptr %.067

131:                                              ; preds = %128, %124, %120, %116, %112, %108, %104, %100, %96, %92, %88, %84, %80, %76, %72, %68, %64, %60, %56, %52, %48, %44, %40, %36, %32, %28, %24, %20, %16, %12, %8
  %.pn = phi { ptr, i32 } [ %129, %128 ], [ %125, %124 ], [ %121, %120 ], [ %117, %116 ], [ %113, %112 ], [ %109, %108 ], [ %105, %104 ], [ %101, %100 ], [ %97, %96 ], [ %93, %92 ], [ %89, %88 ], [ %85, %84 ], [ %81, %80 ], [ %77, %76 ], [ %73, %72 ], [ %69, %68 ], [ %65, %64 ], [ %61, %60 ], [ %57, %56 ], [ %53, %52 ], [ %49, %48 ], [ %45, %44 ], [ %41, %40 ], [ %37, %36 ], [ %33, %32 ], [ %29, %28 ], [ %25, %24 ], [ %21, %20 ], [ %17, %16 ], [ %13, %12 ], [ %9, %8 ]
  resume { ptr, i32 } %.pn
}

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

declare void @_ZN9clearpath24DataPlatformAccelerationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath19DataRawAccelerationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath19DataAckermannOutputC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath14DataRawCurrentC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath16DataPlatformNameC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath23DataDifferentialControlC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath21DataDifferentialSpeedC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath22DataDifferentialOutputC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath16DataRangefindersC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath22DataRangefinderTimingsC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath8DataEchoC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath12DataEncodersC1EPvm(ptr noundef nonnull align 8 dereferenceable(296), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath15DataEncodersRawC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath16DataFirmwareInfoC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath11DataRawGyroC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath24DataPlatformMagnetometerC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath19DataRawMagnetometerC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath19DataMaxAccelerationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath12DataMaxSpeedC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath23DataPlatformOrientationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath18DataRawOrientationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath16DataPlatformInfoC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath15DataPowerSystemC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath19DataProcessorStatusC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath20DataPlatformRotationC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath22DataSafetySystemStatusC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath16DataSystemStatusC1EPvm(ptr noundef nonnull align 8 dereferenceable(276), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath18DataRawTemperatureC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath12DataVelocityC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath14DataRawVoltageC1EPvm(ptr noundef nonnull align 8 dereferenceable(273), ptr noundef, i64 noundef) unnamed_addr #1

declare void @_ZN9clearpath7MessageC1EPvm(ptr, ptr, i64) local_unnamed_addr

attributes #0 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { builtin allocsize(0) }
attributes #5 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: CorrelatedValuePropagationPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass