; LLVM IR from syw-robotics/Nabo_Pointfoot_Bipedal_Robot :: nabo_mujoco/main.ll (Z7runCtrlR7mjData_)

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

%"struct.Nabo::inputStruct" = type <{ i32, [4 x i8], double, double, double, [3 x double], [3 x double], [3 x double], [3 x double], [3 x double], [6 x double], [6 x double], [6 x double], i8, [7 x i8] }>
%"struct.Nabo::outputStruct" = type { [6 x double], [6 x double], [6 x double] }
%struct.mjData_ = type { i64, i64, i32, i64, i64, i64, i64, [128 x i64], i64, i32, i32, [8 x %struct.mjWarningStat_], [15 x %struct.mjTimerStat_], [4000 x %struct.mjSolverStat_], i32, [20 x i32], [20 x i32], [2 x double], i32, i32, i32, i32, i32, i32, i32, double, [2 x double], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64 }
%struct.mjWarningStat_ = type { i32, i32 }
%struct.mjTimerStat_ = type { double, i32 }
%struct.mjSolverStat_ = type { double, double, double, i32, i32, i32, i32 }

@dt = external dso_local global double, align 8
@in = external dso_local global %"struct.Nabo::inputStruct", align 8
@out = external dso_local global %"struct.Nabo::outputStruct", align 8
@floatBaseFlag = external dso_local global i8, align 1
@startLogFlag = external dso_local global i8, align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7runCtrlR7mjData_(ptr noundef nonnull align 8 dereferenceable(162712) %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.mjData_, ptr %8, i32 0, i32 25
  %10 = load double, ptr %9, align 8, !tbaa !9
  %11 = load double, ptr @dt, align 8, !tbaa !14
  %12 = fdiv double %10, %11
  %13 = fptosi double %12 to i32
  store i32 %13, ptr @in, align 8, !tbaa !15
  %14 = load i8, ptr @floatBaseFlag, align 1, !tbaa !18, !range !19, !noundef !20
  %15 = trunc i8 %14 to i1
  br i1 %15, label %16, label %194

16:                                               ; preds = %1
  %17 = load i8, ptr @startLogFlag, align 1, !tbaa !18, !range !19, !noundef !20
  %18 = trunc i8 %17 to i1
  %19 = zext i1 %18 to i8
  store i8 %19, ptr getelementptr inbounds (%"struct.Nabo::inputStruct", ptr @in, i32 0, i32 13), align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.mjData_, ptr %20, i32 0, i32 29
  %22 = load ptr, ptr %21, align 8, !tbaa !22
  %23 = getelementptr inbounds double, ptr %22, i64 3
  store ptr %23, ptr %3, align 8, !tbaa !5
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = getelementptr inbounds double, ptr %24, i64 0
  %26 = load double, ptr %25, align 8, !tbaa !14
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds double, ptr %27, i64 1
  %29 = load double, ptr %28, align 8, !tbaa !14
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds double, ptr %30, i64 2
  %32 = load double, ptr %31, align 8, !tbaa !14
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds double, ptr %33, i64 3
  %35 = load double, ptr %34, align 8, !tbaa !14
  %36 = fmul double %32, %35
  %37 = call double @llvm.fmuladd.f64(double %26, double %29, double %36)
  %38 = fmul double 2.000000e+00, %37
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds double, ptr %39, i64 1
  %41 = load double, ptr %40, align 8, !tbaa !14
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds double, ptr %42, i64 1
  %44 = load double, ptr %43, align 8, !tbaa !14
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = getelementptr inbounds double, ptr %45, i64 2
  %47 = load double, ptr %46, align 8, !tbaa !14
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds double, ptr %48, i64 2
  %50 = load double, ptr %49, align 8, !tbaa !14
  %51 = fmul double %47, %50
  %52 = call double @llvm.fmuladd.f64(double %41, double %44, double %51)
  %53 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %52, double 1.000000e+00)
  %54 = call double @atan2(double noundef %38, double noundef %53) #5
  store double %54, ptr getelementptr inbounds (%"struct.Nabo::inputStruct", ptr @in, i32 0, i32 7), align 8, !tbaa !14
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds double, ptr %55, i64 0
  %57 = load double, ptr %56, align 8, !tbaa !14
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds double, ptr %58, i64 2
  %60 = load double, ptr %59, align 8, !tbaa !14
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = getelementptr inbounds double, ptr %61, i64 3
  %63 = load double, ptr %62, align 8, !tbaa !14
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds double, ptr %64, i64 1
  %66 = load double, ptr %65, align 8, !tbaa !14
  %67 = fmul double %63, %66
  %68 = fneg double %67
  %69 = call double @llvm.fmuladd.f64(double %57, double %60, double %68)
  %70 = fmul double 2.000000e+00, %69
  %71 = call double @asin(double noundef %70) #5
  store double %71, ptr getelementptr inbounds ([3 x double], ptr getelementptr inbounds (%"struct.Nabo::inputStruct", ptr @in, i32 0, i32 7), i64 0, i64 1), align 8, !tbaa !14
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = getelementptr inbounds double, ptr %72, i64 0
  %74 = load double, ptr %73, align 8, !tbaa !14
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = getelementptr inbounds double, ptr %75, i64 3
  %77 = load double, ptr %76, align 8, !tbaa !14
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = getelementptr inbounds double, ptr %78, i64 1
  %80 = load double, ptr %79, align 8, !tbaa !14
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = getelementptr inbounds double, ptr %81, i64 2
  %83 = load double, ptr %82, align 8, !tbaa !14
  %84 = fmul double %80, %83
  %85 = call double @llvm.fmuladd.f64(double %74, double %77, double %84)
  %86 = fmul double 2.000000e+00, %85
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = getelementptr inbounds double, ptr %87, i64 2
  %89 = load double, ptr %88, align 8, !tbaa !14
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = getelementptr inbounds double, ptr %90, i64 2
  %92 = load double, ptr %91, align 8, !tbaa !14
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = getelementptr inbounds double, ptr %93, i64 3
  %95 = load double, ptr %94, align 8, !tbaa !14
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  %97 = getelementptr inbounds double, ptr %96, i64 3
  %98 = load double, ptr %97, align 8, !tbaa !14
  %99 = fmul double %95, %98
  %100 = call double @llvm.fmuladd.f64(double %89, double %92, double %99)
  %101 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %100, double 1.000000e+00)
  %102 = call double @atan2(double noundef %86, double noundef %101) #5
  store double %102, ptr getelementptr inbounds ([3 x double], ptr getelementptr inbounds (%"struct.Nabo::inputStruct", ptr @in, i32 0, i32 7), i64 0, i64 2), align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 0, ptr %4, align 4, !tbaa !23
  br label %103

103:                                              ; preds = %149, %16
  %104 = load i32, ptr %4, align 4, !tbaa !23
  %105 = icmp slt i32 %104, 3
  br i1 %105, label %107, label %106

106:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %152

107:                                              ; preds = %103
  %108 = load ptr, ptr %2, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.mjData_, ptr %108, i32 0, i32 30
  %110 = load ptr, ptr %109, align 8, !tbaa !24
  %111 = load i32, ptr %4, align 4, !tbaa !23
  %112 = add nsw i32 %111, 3
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds double, ptr %110, i64 %113
  %115 = load double, ptr %114, align 8, !tbaa !14
  %116 = load i32, ptr %4, align 4, !tbaa !23
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [3 x double], ptr getelementptr inbounds (%"struct.Nabo::inputStruct", ptr @in, i32 0, i32 8), i64 0, i64 %117
  store double %115, ptr %118, align 8, !tbaa !14
  %119 = load ptr, ptr %2, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.mjData_, ptr %119, i32 0, i32 40
  %121 = load ptr, ptr %120, align 8, !tbaa !25
  %122 = load i32, ptr %4, align 4, !tbaa !23
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds double, ptr %121, i64 %123
  %125 = load double, ptr %124, align 8, !tbaa !14
  %126 = load i32, ptr %4, align 4, !tbaa !23
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [3 x double], ptr getelementptr inbounds (%"struct.Nabo::inputStruct", ptr @in, i32 0, i32 9), i64 0, i64 %127
  store double %125, ptr %128, align 8, !tbaa !14
  %129 = load ptr, ptr %2, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.mjData_, ptr %129, i32 0, i32 29
  %131 = load ptr, ptr %130, align 8, !tbaa !22
  %132 = load i32, ptr %4, align 4, !tbaa !23
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds double, ptr %131, i64 %133
  %135 = load double, ptr %134, align 8, !tbaa !14
  %136 = load i32, ptr %4, align 4, !tbaa !23
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [3 x double], ptr getelementptr inbounds (%"struct.Nabo::inputStruct", ptr @in, i32 0, i32 5), i64 0, i64 %137
  store double %135, ptr %138, align 8, !tbaa !14
  %139 = load ptr, ptr %2, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.mjData_, ptr %139, i32 0, i32 30
  %141 = load ptr, ptr %140, align 8, !tbaa !24
  %142 = load i32, ptr %4, align 4, !tbaa !23
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds double, ptr %141, i64 %143
  %145 = load double, ptr %144, align 8, !tbaa !14
  %146 = load i32, ptr %4, align 4, !tbaa !23
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [3 x double], ptr getelementptr inbounds (%"struct.Nabo::inputStruct", ptr @in, i32 0, i32 6), i64 0, i64 %147
  store double %145, ptr %148, align 8, !tbaa !14
  br label %149

149:                                              ; preds = %107
  %150 = load i32, ptr %4, align 4, !tbaa !23
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr %4, align 4, !tbaa !23
  br label %103, !llvm.loop !26

152:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !23
  br label %153

153:                                              ; preds = %190, %152
  %154 = load i32, ptr %5, align 4, !tbaa !23
  %155 = icmp slt i32 %154, 6
  br i1 %155, label %157, label %156

156:                                              ; preds = %153
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %193

157:                                              ; preds = %153
  %158 = load ptr, ptr %2, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.mjData_, ptr %158, i32 0, i32 29
  %160 = load ptr, ptr %159, align 8, !tbaa !22
  %161 = load i32, ptr %5, align 4, !tbaa !23
  %162 = add nsw i32 %161, 7
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds double, ptr %160, i64 %163
  %165 = load double, ptr %164, align 8, !tbaa !14
  %166 = load i32, ptr %5, align 4, !tbaa !23
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds [6 x double], ptr getelementptr inbounds (%"struct.Nabo::inputStruct", ptr @in, i32 0, i32 10), i64 0, i64 %167
  store double %165, ptr %168, align 8, !tbaa !14
  %169 = load ptr, ptr %2, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.mjData_, ptr %169, i32 0, i32 30
  %171 = load ptr, ptr %170, align 8, !tbaa !24
  %172 = load i32, ptr %5, align 4, !tbaa !23
  %173 = add nsw i32 %172, 6
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds double, ptr %171, i64 %174
  %176 = load double, ptr %175, align 8, !tbaa !14
  %177 = load i32, ptr %5, align 4, !tbaa !23
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [6 x double], ptr getelementptr inbounds (%"struct.Nabo::inputStruct", ptr @in, i32 0, i32 11), i64 0, i64 %178
  store double %176, ptr %179, align 8, !tbaa !14
  %180 = load ptr, ptr %2, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.mjData_, ptr %180, i32 0, i32 112
  %182 = load ptr, ptr %181, align 8, !tbaa !28
  %183 = load i32, ptr %5, align 4, !tbaa !23
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds double, ptr %182, i64 %184
  %186 = load double, ptr %185, align 8, !tbaa !14
  %187 = load i32, ptr %5, align 4, !tbaa !23
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [6 x double], ptr getelementptr inbounds (%"struct.Nabo::inputStruct", ptr @in, i32 0, i32 12), i64 0, i64 %188
  store double %186, ptr %189, align 8, !tbaa !14
  br label %190

190:                                              ; preds = %157
  %191 = load i32, ptr %5, align 4, !tbaa !23
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %5, align 4, !tbaa !23
  br label %153, !llvm.loop !29

193:                                              ; preds = %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %234

194:                                              ; preds = %1
  store double 4.500000e-01, ptr getelementptr inbounds ([3 x double], ptr getelementptr inbounds (%"struct.Nabo::inputStruct", ptr @in, i32 0, i32 5), i64 0, i64 2), align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !23
  br label %195

195:                                              ; preds = %230, %194
  %196 = load i32, ptr %6, align 4, !tbaa !23
  %197 = icmp slt i32 %196, 6
  br i1 %197, label %199, label %198

198:                                              ; preds = %195
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %233

199:                                              ; preds = %195
  %200 = load ptr, ptr %2, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.mjData_, ptr %200, i32 0, i32 29
  %202 = load ptr, ptr %201, align 8, !tbaa !22
  %203 = load i32, ptr %6, align 4, !tbaa !23
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds double, ptr %202, i64 %204
  %206 = load double, ptr %205, align 8, !tbaa !14
  %207 = load i32, ptr %6, align 4, !tbaa !23
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [6 x double], ptr getelementptr inbounds (%"struct.Nabo::inputStruct", ptr @in, i32 0, i32 10), i64 0, i64 %208
  store double %206, ptr %209, align 8, !tbaa !14
  %210 = load ptr, ptr %2, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.mjData_, ptr %210, i32 0, i32 30
  %212 = load ptr, ptr %211, align 8, !tbaa !24
  %213 = load i32, ptr %6, align 4, !tbaa !23
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds double, ptr %212, i64 %214
  %216 = load double, ptr %215, align 8, !tbaa !14
  %217 = load i32, ptr %6, align 4, !tbaa !23
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds [6 x double], ptr getelementptr inbounds (%"struct.Nabo::inputStruct", ptr @in, i32 0, i32 11), i64 0, i64 %218
  store double %216, ptr %219, align 8, !tbaa !14
  %220 = load ptr, ptr %2, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.mjData_, ptr %220, i32 0, i32 112
  %222 = load ptr, ptr %221, align 8, !tbaa !28
  %223 = load i32, ptr %6, align 4, !tbaa !23
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds double, ptr %222, i64 %224
  %226 = load double, ptr %225, align 8, !tbaa !14
  %227 = load i32, ptr %6, align 4, !tbaa !23
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds [6 x double], ptr getelementptr inbounds (%"struct.Nabo::inputStruct", ptr @in, i32 0, i32 12), i64 0, i64 %228
  store double %226, ptr %229, align 8, !tbaa !14
  br label %230

230:                                              ; preds = %199
  %231 = load i32, ptr %6, align 4, !tbaa !23
  %232 = add nsw i32 %231, 1
  store i32 %232, ptr %6, align 4, !tbaa !23
  br label %195, !llvm.loop !30

233:                                              ; preds = %198
  br label %234

234:                                              ; preds = %233, %193
  call void @run(ptr noundef nonnull align 8 dereferenceable(297) @in, ptr noundef nonnull align 8 dereferenceable(144) @out)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !23
  br label %235

235:                                              ; preds = %250, %234
  %236 = load i32, ptr %7, align 4, !tbaa !23
  %237 = icmp slt i32 %236, 6
  br i1 %237, label %239, label %238

238:                                              ; preds = %235
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %253

239:                                              ; preds = %235
  %240 = load i32, ptr %7, align 4, !tbaa !23
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds [6 x double], ptr getelementptr inbounds (%"struct.Nabo::outputStruct", ptr @out, i32 0, i32 2), i64 0, i64 %241
  %243 = load double, ptr %242, align 8, !tbaa !14
  %244 = load ptr, ptr %2, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.mjData_, ptr %244, i32 0, i32 34
  %246 = load ptr, ptr %245, align 8, !tbaa !31
  %247 = load i32, ptr %7, align 4, !tbaa !23
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds double, ptr %246, i64 %248
  store double %243, ptr %249, align 8, !tbaa !14
  br label %250

250:                                              ; preds = %239
  %251 = load i32, ptr %7, align 4, !tbaa !23
  %252 = add nsw i32 %251, 1
  store i32 %252, ptr %7, align 4, !tbaa !23
  br label %235, !llvm.loop !32

253:                                              ; preds = %238
  ret void
}

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

; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #2

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

; Function Attrs: nounwind
declare double @asin(double noundef) #2

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

declare void @run(ptr noundef nonnull align 8 dereferenceable(297), ptr noundef nonnull align 8 dereferenceable(144)) #4

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 161616}
!10 = !{!"_ZTS7mjData_", !11, i64 0, !11, i64 8, !12, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !7, i64 56, !11, i64 1080, !12, i64 1088, !12, i64 1092, !7, i64 1096, !7, i64 1160, !7, i64 1400, !12, i64 161400, !7, i64 161404, !7, i64 161484, !7, i64 161568, !12, i64 161584, !12, i64 161588, !12, i64 161592, !12, i64 161596, !12, i64 161600, !12, i64 161604, !12, i64 161608, !13, i64 161616, !7, i64 161624, !6, i64 161640, !6, i64 161648, !6, i64 161656, !6, i64 161664, !6, i64 161672, !6, i64 161680, !6, i64 161688, !6, i64 161696, !6, i64 161704, !6, i64 161712, !6, i64 161720, !6, i64 161728, !6, i64 161736, !6, i64 161744, !6, i64 161752, !6, i64 161760, !6, i64 161768, !6, i64 161776, !6, i64 161784, !6, i64 161792, !6, i64 161800, !6, i64 161808, !6, i64 161816, !6, i64 161824, !6, i64 161832, !6, i64 161840, !6, i64 161848, !6, i64 161856, !6, i64 161864, !6, i64 161872, !6, i64 161880, !6, i64 161888, !6, i64 161896, !6, i64 161904, !6, i64 161912, !6, i64 161920, !6, i64 161928, !6, i64 161936, !6, i64 161944, !6, i64 161952, !6, i64 161960, !6, i64 161968, !6, i64 161976, !6, i64 161984, !6, i64 161992, !6, i64 162000, !6, i64 162008, !6, i64 162016, !6, i64 162024, !6, i64 162032, !6, i64 162040, !6, i64 162048, !6, i64 162056, !6, i64 162064, !6, i64 162072, !6, i64 162080, !6, i64 162088, !6, i64 162096, !6, i64 162104, !6, i64 162112, !6, i64 162120, !6, i64 162128, !6, i64 162136, !6, i64 162144, !6, i64 162152, !6, i64 162160, !6, i64 162168, !6, i64 162176, !6, i64 162184, !6, i64 162192, !6, i64 162200, !6, i64 162208, !6, i64 162216, !6, i64 162224, !6, i64 162232, !6, i64 162240, !6, i64 162248, !6, i64 162256, !6, i64 162264, !6, i64 162272, !6, i64 162280, !6, i64 162288, !6, i64 162296, !6, i64 162304, !6, i64 162312, !6, i64 162320, !6, i64 162328, !6, i64 162336, !6, i64 162344, !6, i64 162352, !6, i64 162360, !6, i64 162368, !6, i64 162376, !6, i64 162384, !6, i64 162392, !6, i64 162400, !6, i64 162408, !6, i64 162416, !6, i64 162424, !6, i64 162432, !6, i64 162440, !6, i64 162448, !6, i64 162456, !6, i64 162464, !6, i64 162472, !6, i64 162480, !6, i64 162488, !6, i64 162496, !6, i64 162504, !6, i64 162512, !6, i64 162520, !6, i64 162528, !6, i64 162536, !6, i64 162544, !6, i64 162552, !6, i64 162560, !6, i64 162568, !6, i64 162576, !6, i64 162584, !6, i64 162592, !6, i64 162600, !6, i64 162608, !6, i64 162616, !6, i64 162624, !6, i64 162632, !6, i64 162640, !6, i64 162648, !6, i64 162656, !6, i64 162664, !6, i64 162672, !6, i64 162680, !6, i64 162688, !6, i64 162696, !11, i64 162704}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"_ZTSN4Nabo11inputStructE", !12, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !7, i64 32, !7, i64 56, !7, i64 80, !7, i64 104, !7, i64 128, !7, i64 152, !7, i64 200, !7, i64 248, !17, i64 296}
!17 = !{!"bool", !7, i64 0}
!18 = !{!17, !17, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!16, !17, i64 296}
!22 = !{!10, !6, i64 161656}
!23 = !{!12, !12, i64 0}
!24 = !{!10, !6, i64 161664}
!25 = !{!10, !6, i64 161744}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!10, !6, i64 162320}
!29 = distinct !{!29, !27}
!30 = distinct !{!30, !27}
!31 = !{!10, !6, i64 161696}
!32 = distinct !{!32, !27}


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

%"struct.Nabo::inputStruct" = type <{ i32, [4 x i8], double, double, double, [3 x double], [3 x double], [3 x double], [3 x double], [3 x double], [6 x double], [6 x double], [6 x double], i8, [7 x i8] }>
%"struct.Nabo::outputStruct" = type { [6 x double], [6 x double], [6 x double] }

@dt = external dso_local local_unnamed_addr global double, align 8
@in = external dso_local global %"struct.Nabo::inputStruct", align 8
@out = external dso_local global %"struct.Nabo::outputStruct", align 8
@floatBaseFlag = external dso_local local_unnamed_addr global i8, align 1
@startLogFlag = external dso_local local_unnamed_addr global i8, align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7runCtrlR7mjData_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(162712) %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 161616
  %3 = load double, ptr %2, align 8, !tbaa !5
  %4 = load double, ptr @dt, align 8, !tbaa !13
  %5 = fdiv double %3, %4
  %6 = fptosi double %5 to i32
  store i32 %6, ptr @in, align 8, !tbaa !14
  %7 = load i8, ptr @floatBaseFlag, align 1, !tbaa !17, !range !18, !noundef !19
  %8 = trunc nuw i8 %7 to i1
  br i1 %8, label %.preheader, label %.loopexit.loopexit72

.preheader:                                       ; preds = %1
  %9 = load i8, ptr @startLogFlag, align 1, !tbaa !17, !range !18, !noundef !19
  store i8 %9, ptr getelementptr inbounds (i8, ptr @in, i64 296), align 8, !tbaa !20
  %10 = getelementptr inbounds i8, ptr %0, i64 161656
  %11 = load ptr, ptr %10, align 8, !tbaa !21
  %12 = getelementptr inbounds i8, ptr %11, i64 24
  %13 = load double, ptr %12, align 8, !tbaa !13
  %14 = getelementptr inbounds i8, ptr %11, i64 32
  %15 = load double, ptr %14, align 8, !tbaa !13
  %16 = getelementptr inbounds i8, ptr %11, i64 40
  %17 = load double, ptr %16, align 8, !tbaa !13
  %18 = getelementptr inbounds i8, ptr %11, i64 48
  %19 = load double, ptr %18, align 8, !tbaa !13
  %20 = fmul double %17, %19
  %21 = tail call double @llvm.fmuladd.f64(double %13, double %15, double %20)
  %22 = fmul double %21, 2.000000e+00
  %23 = fmul double %17, %17
  %24 = tail call double @llvm.fmuladd.f64(double %15, double %15, double %23)
  %25 = tail call double @llvm.fmuladd.f64(double %24, double -2.000000e+00, double 1.000000e+00)
  %26 = tail call double @atan2(double noundef %22, double noundef %25) #4
  store double %26, ptr getelementptr inbounds (i8, ptr @in, i64 80), align 8, !tbaa !13
  %27 = load double, ptr %12, align 8, !tbaa !13
  %28 = load double, ptr %16, align 8, !tbaa !13
  %29 = load double, ptr %18, align 8, !tbaa !13
  %30 = load double, ptr %14, align 8, !tbaa !13
  %31 = fneg double %29
  %32 = fmul double %30, %31
  %33 = tail call double @llvm.fmuladd.f64(double %27, double %28, double %32)
  %34 = fmul double %33, 2.000000e+00
  %35 = tail call double @asin(double noundef %34) #4
  store double %35, ptr getelementptr inbounds (i8, ptr @in, i64 88), align 8, !tbaa !13
  %36 = load double, ptr %12, align 8, !tbaa !13
  %37 = load double, ptr %18, align 8, !tbaa !13
  %38 = load double, ptr %14, align 8, !tbaa !13
  %39 = load double, ptr %16, align 8, !tbaa !13
  %40 = fmul double %38, %39
  %41 = tail call double @llvm.fmuladd.f64(double %36, double %37, double %40)
  %42 = fmul double %41, 2.000000e+00
  %43 = fmul double %37, %37
  %44 = tail call double @llvm.fmuladd.f64(double %39, double %39, double %43)
  %45 = tail call double @llvm.fmuladd.f64(double %44, double -2.000000e+00, double 1.000000e+00)
  %46 = tail call double @atan2(double noundef %42, double noundef %45) #4
  store double %46, ptr getelementptr inbounds (i8, ptr @in, i64 96), align 8, !tbaa !13
  %47 = getelementptr inbounds i8, ptr %0, i64 161664
  %48 = load ptr, ptr %47, align 8, !tbaa !22
  %49 = getelementptr inbounds i8, ptr %0, i64 161744
  %50 = load ptr, ptr %49, align 8, !tbaa !23
  %51 = load ptr, ptr %10, align 8, !tbaa !21
  %52 = getelementptr inbounds i8, ptr %48, i64 24
  %53 = load double, ptr %52, align 8, !tbaa !13
  store double %53, ptr getelementptr inbounds (i8, ptr @in, i64 104), align 8, !tbaa !13
  %54 = load double, ptr %50, align 8, !tbaa !13
  store double %54, ptr getelementptr inbounds (i8, ptr @in, i64 128), align 8, !tbaa !13
  %55 = load double, ptr %51, align 8, !tbaa !13
  store double %55, ptr getelementptr inbounds (i8, ptr @in, i64 32), align 8, !tbaa !13
  %56 = load double, ptr %48, align 8, !tbaa !13
  store double %56, ptr getelementptr inbounds (i8, ptr @in, i64 56), align 8, !tbaa !13
  %57 = getelementptr inbounds i8, ptr %48, i64 8
  %58 = getelementptr inbounds i8, ptr %48, i64 32
  %59 = load double, ptr %58, align 8, !tbaa !13
  store double %59, ptr getelementptr inbounds (i8, ptr @in, i64 112), align 8, !tbaa !13
  %60 = getelementptr inbounds i8, ptr %50, i64 8
  %61 = load double, ptr %60, align 8, !tbaa !13
  store double %61, ptr getelementptr inbounds (i8, ptr @in, i64 136), align 8, !tbaa !13
  %62 = getelementptr inbounds i8, ptr %51, i64 8
  %63 = load double, ptr %62, align 8, !tbaa !13
  store double %63, ptr getelementptr inbounds (i8, ptr @in, i64 40), align 8, !tbaa !13
  %64 = load double, ptr %57, align 8, !tbaa !13
  store double %64, ptr getelementptr inbounds (i8, ptr @in, i64 64), align 8, !tbaa !13
  %65 = getelementptr inbounds i8, ptr %48, i64 16
  %66 = getelementptr inbounds i8, ptr %48, i64 40
  %67 = load double, ptr %66, align 8, !tbaa !13
  store double %67, ptr getelementptr inbounds (i8, ptr @in, i64 120), align 8, !tbaa !13
  %68 = getelementptr inbounds i8, ptr %50, i64 16
  %69 = load double, ptr %68, align 8, !tbaa !13
  store double %69, ptr getelementptr inbounds (i8, ptr @in, i64 144), align 8, !tbaa !13
  %70 = getelementptr inbounds i8, ptr %51, i64 16
  %71 = load double, ptr %70, align 8, !tbaa !13
  store double %71, ptr getelementptr inbounds (i8, ptr @in, i64 48), align 8, !tbaa !13
  %72 = load double, ptr %65, align 8, !tbaa !13
  store double %72, ptr getelementptr inbounds (i8, ptr @in, i64 72), align 8, !tbaa !13
  %invariant.gep = getelementptr inbounds i8, ptr %51, i64 56
  %invariant.gep68 = getelementptr inbounds i8, ptr %48, i64 48
  %73 = getelementptr inbounds i8, ptr %0, i64 162320
  %74 = load ptr, ptr %73, align 8, !tbaa !24
  %75 = load double, ptr %invariant.gep, align 8, !tbaa !13
  store double %75, ptr getelementptr inbounds (i8, ptr @in, i64 152), align 8, !tbaa !13
  %76 = load double, ptr %invariant.gep68, align 8, !tbaa !13
  store double %76, ptr getelementptr inbounds (i8, ptr @in, i64 200), align 8, !tbaa !13
  %77 = load double, ptr %74, align 8, !tbaa !13
  store double %77, ptr getelementptr inbounds (i8, ptr @in, i64 248), align 8, !tbaa !13
  %gep.1 = getelementptr inbounds i8, ptr %51, i64 64
  %78 = load double, ptr %gep.1, align 8, !tbaa !13
  store double %78, ptr getelementptr inbounds (i8, ptr @in, i64 160), align 8, !tbaa !13
  %gep69.1 = getelementptr inbounds i8, ptr %48, i64 56
  %79 = load double, ptr %gep69.1, align 8, !tbaa !13
  store double %79, ptr getelementptr inbounds (i8, ptr @in, i64 208), align 8, !tbaa !13
  %80 = getelementptr inbounds i8, ptr %74, i64 8
  %81 = load double, ptr %80, align 8, !tbaa !13
  store double %81, ptr getelementptr inbounds (i8, ptr @in, i64 256), align 8, !tbaa !13
  %gep.2 = getelementptr inbounds i8, ptr %51, i64 72
  %82 = load double, ptr %gep.2, align 8, !tbaa !13
  store double %82, ptr getelementptr inbounds (i8, ptr @in, i64 168), align 8, !tbaa !13
  %gep69.2 = getelementptr inbounds i8, ptr %48, i64 64
  %83 = load double, ptr %gep69.2, align 8, !tbaa !13
  store double %83, ptr getelementptr inbounds (i8, ptr @in, i64 216), align 8, !tbaa !13
  %84 = getelementptr inbounds i8, ptr %74, i64 16
  %85 = load double, ptr %84, align 8, !tbaa !13
  store double %85, ptr getelementptr inbounds (i8, ptr @in, i64 264), align 8, !tbaa !13
  %gep.3 = getelementptr inbounds i8, ptr %51, i64 80
  %86 = load double, ptr %gep.3, align 8, !tbaa !13
  store double %86, ptr getelementptr inbounds (i8, ptr @in, i64 176), align 8, !tbaa !13
  %gep69.3 = getelementptr inbounds i8, ptr %48, i64 72
  %87 = load double, ptr %gep69.3, align 8, !tbaa !13
  store double %87, ptr getelementptr inbounds (i8, ptr @in, i64 224), align 8, !tbaa !13
  %88 = getelementptr inbounds i8, ptr %74, i64 24
  %89 = load double, ptr %88, align 8, !tbaa !13
  store double %89, ptr getelementptr inbounds (i8, ptr @in, i64 272), align 8, !tbaa !13
  %gep.4 = getelementptr inbounds i8, ptr %51, i64 88
  %90 = load double, ptr %gep.4, align 8, !tbaa !13
  store double %90, ptr getelementptr inbounds (i8, ptr @in, i64 184), align 8, !tbaa !13
  %gep69.4 = getelementptr inbounds i8, ptr %48, i64 80
  %91 = load double, ptr %gep69.4, align 8, !tbaa !13
  store double %91, ptr getelementptr inbounds (i8, ptr @in, i64 232), align 8, !tbaa !13
  %92 = getelementptr inbounds i8, ptr %74, i64 32
  %93 = load double, ptr %92, align 8, !tbaa !13
  store double %93, ptr getelementptr inbounds (i8, ptr @in, i64 280), align 8, !tbaa !13
  %gep.5 = getelementptr inbounds i8, ptr %51, i64 96
  %94 = load double, ptr %gep.5, align 8, !tbaa !13
  store double %94, ptr getelementptr inbounds (i8, ptr @in, i64 192), align 8, !tbaa !13
  %gep69.5 = getelementptr inbounds i8, ptr %48, i64 88
  br label %.loopexit

.loopexit.loopexit72:                             ; preds = %1
  store double 4.500000e-01, ptr getelementptr inbounds (i8, ptr @in, i64 48), align 8, !tbaa !13
  %95 = getelementptr inbounds i8, ptr %0, i64 161656
  %96 = load ptr, ptr %95, align 8, !tbaa !21
  %97 = getelementptr inbounds i8, ptr %0, i64 161664
  %98 = load ptr, ptr %97, align 8, !tbaa !22
  %99 = getelementptr inbounds i8, ptr %0, i64 162320
  %100 = load ptr, ptr %99, align 8, !tbaa !24
  %101 = load double, ptr %96, align 8, !tbaa !13
  store double %101, ptr getelementptr inbounds (i8, ptr @in, i64 152), align 8, !tbaa !13
  %102 = load double, ptr %98, align 8, !tbaa !13
  store double %102, ptr getelementptr inbounds (i8, ptr @in, i64 200), align 8, !tbaa !13
  %103 = load double, ptr %100, align 8, !tbaa !13
  store double %103, ptr getelementptr inbounds (i8, ptr @in, i64 248), align 8, !tbaa !13
  %104 = getelementptr inbounds i8, ptr %96, i64 8
  %105 = load double, ptr %104, align 8, !tbaa !13
  store double %105, ptr getelementptr inbounds (i8, ptr @in, i64 160), align 8, !tbaa !13
  %106 = getelementptr inbounds i8, ptr %98, i64 8
  %107 = load double, ptr %106, align 8, !tbaa !13
  store double %107, ptr getelementptr inbounds (i8, ptr @in, i64 208), align 8, !tbaa !13
  %108 = getelementptr inbounds i8, ptr %100, i64 8
  %109 = load double, ptr %108, align 8, !tbaa !13
  store double %109, ptr getelementptr inbounds (i8, ptr @in, i64 256), align 8, !tbaa !13
  %110 = getelementptr inbounds i8, ptr %96, i64 16
  %111 = load double, ptr %110, align 8, !tbaa !13
  store double %111, ptr getelementptr inbounds (i8, ptr @in, i64 168), align 8, !tbaa !13
  %112 = getelementptr inbounds i8, ptr %98, i64 16
  %113 = load double, ptr %112, align 8, !tbaa !13
  store double %113, ptr getelementptr inbounds (i8, ptr @in, i64 216), align 8, !tbaa !13
  %114 = getelementptr inbounds i8, ptr %100, i64 16
  %115 = load double, ptr %114, align 8, !tbaa !13
  store double %115, ptr getelementptr inbounds (i8, ptr @in, i64 264), align 8, !tbaa !13
  %116 = getelementptr inbounds i8, ptr %96, i64 24
  %117 = load double, ptr %116, align 8, !tbaa !13
  store double %117, ptr getelementptr inbounds (i8, ptr @in, i64 176), align 8, !tbaa !13
  %118 = getelementptr inbounds i8, ptr %98, i64 24
  %119 = load double, ptr %118, align 8, !tbaa !13
  store double %119, ptr getelementptr inbounds (i8, ptr @in, i64 224), align 8, !tbaa !13
  %120 = getelementptr inbounds i8, ptr %100, i64 24
  %121 = load double, ptr %120, align 8, !tbaa !13
  store double %121, ptr getelementptr inbounds (i8, ptr @in, i64 272), align 8, !tbaa !13
  %122 = getelementptr inbounds i8, ptr %96, i64 32
  %123 = load double, ptr %122, align 8, !tbaa !13
  store double %123, ptr getelementptr inbounds (i8, ptr @in, i64 184), align 8, !tbaa !13
  %124 = getelementptr inbounds i8, ptr %98, i64 32
  %125 = load double, ptr %124, align 8, !tbaa !13
  store double %125, ptr getelementptr inbounds (i8, ptr @in, i64 232), align 8, !tbaa !13
  %126 = getelementptr inbounds i8, ptr %100, i64 32
  %127 = load double, ptr %126, align 8, !tbaa !13
  store double %127, ptr getelementptr inbounds (i8, ptr @in, i64 280), align 8, !tbaa !13
  %128 = getelementptr inbounds i8, ptr %96, i64 40
  %129 = load double, ptr %128, align 8, !tbaa !13
  store double %129, ptr getelementptr inbounds (i8, ptr @in, i64 192), align 8, !tbaa !13
  %130 = getelementptr inbounds i8, ptr %98, i64 40
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit72, %.preheader
  %storemerge77.in = phi ptr [ %130, %.loopexit.loopexit72 ], [ %gep69.5, %.preheader ]
  %.pn = phi ptr [ %100, %.loopexit.loopexit72 ], [ %74, %.preheader ]
  %storemerge77 = load double, ptr %storemerge77.in, align 8, !tbaa !13
  store double %storemerge77, ptr getelementptr inbounds (i8, ptr @in, i64 240), align 8, !tbaa !13
  %storemerge.in = getelementptr inbounds i8, ptr %.pn, i64 40
  %storemerge = load double, ptr %storemerge.in, align 8, !tbaa !13
  store double %storemerge, ptr getelementptr inbounds (i8, ptr @in, i64 288), align 8, !tbaa !13
  tail call void @run(ptr noundef nonnull align 8 dereferenceable(297) @in, ptr noundef nonnull align 8 dereferenceable(144) @out)
  %131 = getelementptr inbounds i8, ptr %0, i64 161696
  %132 = load ptr, ptr %131, align 8, !tbaa !25
  %133 = load double, ptr getelementptr inbounds (i8, ptr @out, i64 96), align 8, !tbaa !13
  store double %133, ptr %132, align 8, !tbaa !13
  %134 = load double, ptr getelementptr inbounds (i8, ptr @out, i64 104), align 8, !tbaa !13
  %135 = getelementptr inbounds i8, ptr %132, i64 8
  store double %134, ptr %135, align 8, !tbaa !13
  %136 = load double, ptr getelementptr inbounds (i8, ptr @out, i64 112), align 8, !tbaa !13
  %137 = getelementptr inbounds i8, ptr %132, i64 16
  store double %136, ptr %137, align 8, !tbaa !13
  %138 = load double, ptr getelementptr inbounds (i8, ptr @out, i64 120), align 8, !tbaa !13
  %139 = getelementptr inbounds i8, ptr %132, i64 24
  store double %138, ptr %139, align 8, !tbaa !13
  %140 = load double, ptr getelementptr inbounds (i8, ptr @out, i64 128), align 8, !tbaa !13
  %141 = getelementptr inbounds i8, ptr %132, i64 32
  store double %140, ptr %141, align 8, !tbaa !13
  %142 = load double, ptr getelementptr inbounds (i8, ptr @out, i64 136), align 8, !tbaa !13
  %143 = getelementptr inbounds i8, ptr %132, i64 40
  store double %142, ptr %143, align 8, !tbaa !13
  ret void
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @atan2(double noundef, double noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @asin(double noundef) local_unnamed_addr #1

declare void @run(ptr noundef nonnull align 8 dereferenceable(297), ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #3

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(write) "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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !11, i64 161616}
!6 = !{!"_ZTS7mjData_", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !8, i64 56, !7, i64 1080, !10, i64 1088, !10, i64 1092, !8, i64 1096, !8, i64 1160, !8, i64 1400, !10, i64 161400, !8, i64 161404, !8, i64 161484, !8, i64 161568, !10, i64 161584, !10, i64 161588, !10, i64 161592, !10, i64 161596, !10, i64 161600, !10, i64 161604, !10, i64 161608, !11, i64 161616, !8, i64 161624, !12, i64 161640, !12, i64 161648, !12, i64 161656, !12, i64 161664, !12, i64 161672, !12, i64 161680, !12, i64 161688, !12, i64 161696, !12, i64 161704, !12, i64 161712, !12, i64 161720, !12, i64 161728, !12, i64 161736, !12, i64 161744, !12, i64 161752, !12, i64 161760, !12, i64 161768, !12, i64 161776, !12, i64 161784, !12, i64 161792, !12, i64 161800, !12, i64 161808, !12, i64 161816, !12, i64 161824, !12, i64 161832, !12, i64 161840, !12, i64 161848, !12, i64 161856, !12, i64 161864, !12, i64 161872, !12, i64 161880, !12, i64 161888, !12, i64 161896, !12, i64 161904, !12, i64 161912, !12, i64 161920, !12, i64 161928, !12, i64 161936, !12, i64 161944, !12, i64 161952, !12, i64 161960, !12, i64 161968, !12, i64 161976, !12, i64 161984, !12, i64 161992, !12, i64 162000, !12, i64 162008, !12, i64 162016, !12, i64 162024, !12, i64 162032, !12, i64 162040, !12, i64 162048, !12, i64 162056, !12, i64 162064, !12, i64 162072, !12, i64 162080, !12, i64 162088, !12, i64 162096, !12, i64 162104, !12, i64 162112, !12, i64 162120, !12, i64 162128, !12, i64 162136, !12, i64 162144, !12, i64 162152, !12, i64 162160, !12, i64 162168, !12, i64 162176, !12, i64 162184, !12, i64 162192, !12, i64 162200, !12, i64 162208, !12, i64 162216, !12, i64 162224, !12, i64 162232, !12, i64 162240, !12, i64 162248, !12, i64 162256, !12, i64 162264, !12, i64 162272, !12, i64 162280, !12, i64 162288, !12, i64 162296, !12, i64 162304, !12, i64 162312, !12, i64 162320, !12, i64 162328, !12, i64 162336, !12, i64 162344, !12, i64 162352, !12, i64 162360, !12, i64 162368, !12, i64 162376, !12, i64 162384, !12, i64 162392, !12, i64 162400, !12, i64 162408, !12, i64 162416, !12, i64 162424, !12, i64 162432, !12, i64 162440, !12, i64 162448, !12, i64 162456, !12, i64 162464, !12, i64 162472, !12, i64 162480, !12, i64 162488, !12, i64 162496, !12, i64 162504, !12, i64 162512, !12, i64 162520, !12, i64 162528, !12, i64 162536, !12, i64 162544, !12, i64 162552, !12, i64 162560, !12, i64 162568, !12, i64 162576, !12, i64 162584, !12, i64 162592, !12, i64 162600, !12, i64 162608, !12, i64 162616, !12, i64 162624, !12, i64 162632, !12, i64 162640, !12, i64 162648, !12, i64 162656, !12, i64 162664, !12, i64 162672, !12, i64 162680, !12, i64 162688, !12, i64 162696, !7, i64 162704}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !10, i64 0}
!15 = !{!"_ZTSN4Nabo11inputStructE", !10, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !8, i64 32, !8, i64 56, !8, i64 80, !8, i64 104, !8, i64 128, !8, i64 152, !8, i64 200, !8, i64 248, !16, i64 296}
!16 = !{!"bool", !8, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!15, !16, i64 296}
!21 = !{!6, !12, i64 161656}
!22 = !{!6, !12, i64 161664}
!23 = !{!6, !12, i64 161744}
!24 = !{!6, !12, i64 162320}
!25 = !{!6, !12, i64 161696}


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