; LLVM IR from godofecht/GANN-Object-Avoidance :: Box2D/Testbed/Framework/Test.ll (ZN4Test4StepEP8Settings)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%class.DebugDraw = type { %class.b2Draw.base, ptr, ptr, ptr }
%class.b2Draw.base = type <{ ptr, i32 }>
%struct.b2Profile = type { float, float, float, float, float, float, float, float }
%struct.b2Vec2 = type { float, float }
%struct.b2Color = type { float, float, float, float }
%struct.Settings = type { float, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }
%class.Test = type { %class.b2ContactListener, ptr, %struct.b2AABB, [2048 x %struct.ContactPoint], i32, %class.DestructionListener, i32, ptr, ptr, ptr, %struct.b2Vec2, i8, %struct.b2Vec2, i32, %struct.b2Profile, %struct.b2Profile }
%class.b2ContactListener = type { ptr }
%struct.b2AABB = type { %struct.b2Vec2, %struct.b2Vec2 }
%struct.ContactPoint = type { ptr, ptr, %struct.b2Vec2, %struct.b2Vec2, i32, float, float, float }
%class.DestructionListener = type { %class.b2DestructionListener, ptr }
%class.b2DestructionListener = type { ptr }

@g_debugDraw = external global %class.DebugDraw, align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [48 x i8], align 1

; 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

declare void @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, ptr noundef, ...) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZmlfRK6b2Vec2(float noundef, ptr noundef nonnull align 4 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Test4StepEP8Settings(ptr noundef nonnull align 8 dereferenceable(98480) %0, ptr noundef %1) unnamed_addr #5 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca float, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca float, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %struct.b2Profile, align 4
  %17 = alloca float, align 4
  %18 = alloca %struct.b2Vec2, align 4
  %19 = alloca %struct.b2Vec2, align 4
  %20 = alloca %struct.b2Color, align 4
  %21 = alloca %struct.b2Color, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca %struct.b2Color, align 4
  %27 = alloca %struct.b2Color, align 4
  %28 = alloca %struct.b2Vec2, align 4
  %29 = alloca %struct.b2Vec2, align 4
  %30 = alloca %struct.b2Vec2, align 4
  %31 = alloca %struct.b2Color, align 4
  %32 = alloca %struct.b2Vec2, align 4
  %33 = alloca %struct.b2Vec2, align 4
  %34 = alloca %struct.b2Vec2, align 4
  %35 = alloca %struct.b2Color, align 4
  %36 = alloca %struct.b2Vec2, align 4
  %37 = alloca %struct.b2Vec2, align 4
  %38 = alloca %struct.b2Vec2, align 4
  %39 = alloca %struct.b2Vec2, align 4
  %40 = alloca %struct.b2Color, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %41 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.Settings, ptr %42, i32 0, i32 0
  %44 = load float, ptr %43, align 4, !tbaa !9
  %45 = fcmp ogt float %44, 0.000000e+00
  br i1 %45, label %46, label %51

46:                                               ; preds = %2
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.Settings, ptr %47, i32 0, i32 0
  %49 = load float, ptr %48, align 4, !tbaa !9
  %50 = fdiv float 1.000000e+00, %49
  br label %52

51:                                               ; preds = %2
  br label %52

52:                                               ; preds = %51, %46
  %53 = phi float [ %50, %46 ], [ 0.000000e+00, %51 ]
  store float %53, ptr %5, align 4, !tbaa !14
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.Settings, ptr %54, i32 0, i32 17
  %56 = load i8, ptr %55, align 2, !tbaa !15, !range !16, !noundef !17
  %57 = trunc i8 %56 to i1
  br i1 %57, label %58, label %73

58:                                               ; preds = %52
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.Settings, ptr %59, i32 0, i32 18
  %61 = load i8, ptr %60, align 1, !tbaa !18, !range !16, !noundef !17
  %62 = trunc i8 %61 to i1
  br i1 %62, label %63, label %66

63:                                               ; preds = %58
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.Settings, ptr %64, i32 0, i32 18
  store i8 0, ptr %65, align 1, !tbaa !18
  br label %67

66:                                               ; preds = %58
  store float 0.000000e+00, ptr %5, align 4, !tbaa !14
  br label %67

67:                                               ; preds = %66, %63
  %68 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %69 = load i32, ptr %68, align 8, !tbaa !19
  call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %69, ptr noundef @.str)
  %70 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %71 = load i32, ptr %70, align 8, !tbaa !19
  %72 = add nsw i32 %71, 16
  store i32 %72, ptr %70, align 8, !tbaa !19
  br label %73

73:                                               ; preds = %67, %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 0, ptr %6, align 4, !tbaa !27
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.Settings, ptr %74, i32 0, i32 3
  %76 = load i8, ptr %75, align 4, !tbaa !28, !range !16, !noundef !17
  %77 = trunc i8 %76 to i1
  %78 = zext i1 %77 to i32
  %79 = mul nsw i32 %78, 1
  %80 = load i32, ptr %6, align 4, !tbaa !27
  %81 = add i32 %80, %79
  store i32 %81, ptr %6, align 4, !tbaa !27
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.Settings, ptr %82, i32 0, i32 4
  %84 = load i8, ptr %83, align 1, !tbaa !29, !range !16, !noundef !17
  %85 = trunc i8 %84 to i1
  %86 = zext i1 %85 to i32
  %87 = mul nsw i32 %86, 2
  %88 = load i32, ptr %6, align 4, !tbaa !27
  %89 = add i32 %88, %87
  store i32 %89, ptr %6, align 4, !tbaa !27
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.Settings, ptr %90, i32 0, i32 5
  %92 = load i8, ptr %91, align 2, !tbaa !30, !range !16, !noundef !17
  %93 = trunc i8 %92 to i1
  %94 = zext i1 %93 to i32
  %95 = mul nsw i32 %94, 4
  %96 = load i32, ptr %6, align 4, !tbaa !27
  %97 = add i32 %96, %95
  store i32 %97, ptr %6, align 4, !tbaa !27
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.Settings, ptr %98, i32 0, i32 10
  %100 = load i8, ptr %99, align 1, !tbaa !31, !range !16, !noundef !17
  %101 = trunc i8 %100 to i1
  %102 = zext i1 %101 to i32
  %103 = mul nsw i32 %102, 16
  %104 = load i32, ptr %6, align 4, !tbaa !27
  %105 = add i32 %104, %103
  store i32 %105, ptr %6, align 4, !tbaa !27
  %106 = load i32, ptr %6, align 4, !tbaa !27
  call void @_ZN6b2Draw8SetFlagsEj(ptr noundef nonnull align 8 dereferenceable(12) @g_debugDraw, i32 noundef %106)
  %107 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 7
  %108 = load ptr, ptr %107, align 8, !tbaa !32
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.Settings, ptr %109, i32 0, i32 16
  %111 = load i8, ptr %110, align 1, !tbaa !33, !range !16, !noundef !17
  %112 = trunc i8 %111 to i1
  call void @_ZN7b2World16SetAllowSleepingEb(ptr noundef nonnull align 8 dereferenceable(103296) %108, i1 noundef zeroext %112)
  %113 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 7
  %114 = load ptr, ptr %113, align 8, !tbaa !32
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.Settings, ptr %115, i32 0, i32 13
  %117 = load i8, ptr %116, align 2, !tbaa !34, !range !16, !noundef !17
  %118 = trunc i8 %117 to i1
  call void @_ZN7b2World15SetWarmStartingEb(ptr noundef nonnull align 8 dereferenceable(103296) %114, i1 noundef zeroext %118)
  %119 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 7
  %120 = load ptr, ptr %119, align 8, !tbaa !32
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.Settings, ptr %121, i32 0, i32 14
  %123 = load i8, ptr %122, align 1, !tbaa !35, !range !16, !noundef !17
  %124 = trunc i8 %123 to i1
  call void @_ZN7b2World20SetContinuousPhysicsEb(ptr noundef nonnull align 8 dereferenceable(103296) %120, i1 noundef zeroext %124)
  %125 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 7
  %126 = load ptr, ptr %125, align 8, !tbaa !32
  %127 = load ptr, ptr %4, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.Settings, ptr %127, i32 0, i32 15
  %129 = load i8, ptr %128, align 4, !tbaa !36, !range !16, !noundef !17
  %130 = trunc i8 %129 to i1
  call void @_ZN7b2World14SetSubSteppingEb(ptr noundef nonnull align 8 dereferenceable(103296) %126, i1 noundef zeroext %130)
  %131 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 4
  store i32 0, ptr %131, align 8, !tbaa !37
  %132 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 7
  %133 = load ptr, ptr %132, align 8, !tbaa !32
  %134 = load float, ptr %5, align 4, !tbaa !14
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.Settings, ptr %135, i32 0, i32 1
  %137 = load i32, ptr %136, align 4, !tbaa !38
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.Settings, ptr %138, i32 0, i32 2
  %140 = load i32, ptr %139, align 4, !tbaa !39
  call void @_ZN7b2World4StepEfii(ptr noundef nonnull align 8 dereferenceable(103296) %133, float noundef %134, i32 noundef %137, i32 noundef %140)
  %141 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 7
  %142 = load ptr, ptr %141, align 8, !tbaa !32
  call void @_ZN7b2World13DrawDebugDataEv(ptr noundef nonnull align 8 dereferenceable(103296) %142)
  call void @_ZN9DebugDraw5FlushEv(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw)
  %143 = load float, ptr %5, align 4, !tbaa !14
  %144 = fcmp ogt float %143, 0.000000e+00
  br i1 %144, label %145, label %149

145:                                              ; preds = %73
  %146 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 13
  %147 = load i32, ptr %146, align 4, !tbaa !40
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %146, align 4, !tbaa !40
  br label %149

149:                                              ; preds = %145, %73
  %150 = load ptr, ptr %4, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.Settings, ptr %150, i32 0, i32 11
  %152 = load i8, ptr %151, align 4, !tbaa !41, !range !16, !noundef !17
  %153 = trunc i8 %152 to i1
  br i1 %153, label %154, label %194

154:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  %155 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 7
  %156 = load ptr, ptr %155, align 8, !tbaa !32
  %157 = call noundef i32 @_ZNK7b2World12GetBodyCountEv(ptr noundef nonnull align 8 dereferenceable(103296) %156)
  store i32 %157, ptr %7, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  %158 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 7
  %159 = load ptr, ptr %158, align 8, !tbaa !32
  %160 = call noundef i32 @_ZNK7b2World15GetContactCountEv(ptr noundef nonnull align 8 dereferenceable(103296) %159)
  store i32 %160, ptr %8, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  %161 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 7
  %162 = load ptr, ptr %161, align 8, !tbaa !32
  %163 = call noundef i32 @_ZNK7b2World13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(103296) %162)
  store i32 %163, ptr %9, align 4, !tbaa !27
  %164 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %165 = load i32, ptr %164, align 8, !tbaa !19
  %166 = load i32, ptr %7, align 4, !tbaa !27
  %167 = load i32, ptr %8, align 4, !tbaa !27
  %168 = load i32, ptr %9, align 4, !tbaa !27
  call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %165, ptr noundef @.str.1, i32 noundef %166, i32 noundef %167, i32 noundef %168)
  %169 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %170 = load i32, ptr %169, align 8, !tbaa !19
  %171 = add nsw i32 %170, 16
  store i32 %171, ptr %169, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  %172 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 7
  %173 = load ptr, ptr %172, align 8, !tbaa !32
  %174 = call noundef i32 @_ZNK7b2World13GetProxyCountEv(ptr noundef nonnull align 8 dereferenceable(103296) %173)
  store i32 %174, ptr %10, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %175 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 7
  %176 = load ptr, ptr %175, align 8, !tbaa !32
  %177 = call noundef i32 @_ZNK7b2World13GetTreeHeightEv(ptr noundef nonnull align 8 dereferenceable(103296) %176)
  store i32 %177, ptr %11, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %178 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 7
  %179 = load ptr, ptr %178, align 8, !tbaa !32
  %180 = call noundef i32 @_ZNK7b2World14GetTreeBalanceEv(ptr noundef nonnull align 8 dereferenceable(103296) %179)
  store i32 %180, ptr %12, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %181 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 7
  %182 = load ptr, ptr %181, align 8, !tbaa !32
  %183 = call noundef float @_ZNK7b2World14GetTreeQualityEv(ptr noundef nonnull align 8 dereferenceable(103296) %182)
  store float %183, ptr %13, align 4, !tbaa !14
  %184 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %185 = load i32, ptr %184, align 8, !tbaa !19
  %186 = load i32, ptr %10, align 4, !tbaa !27
  %187 = load i32, ptr %11, align 4, !tbaa !27
  %188 = load i32, ptr %12, align 4, !tbaa !27
  %189 = load float, ptr %13, align 4, !tbaa !14
  %190 = fpext float %189 to double
  call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %185, ptr noundef @.str.2, i32 noundef %186, i32 noundef %187, i32 noundef %188, double noundef %190)
  %191 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %192 = load i32, ptr %191, align 8, !tbaa !19
  %193 = add nsw i32 %192, 16
  store i32 %193, ptr %191, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %194

194:                                              ; preds = %154, %149
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %195 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 7
  %196 = load ptr, ptr %195, align 8, !tbaa !32
  %197 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNK7b2World10GetProfileEv(ptr noundef nonnull align 8 dereferenceable(103296) %196)
  store ptr %197, ptr %14, align 8, !tbaa !5
  %198 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %199 = getelementptr inbounds %struct.b2Profile, ptr %198, i32 0, i32 0
  %200 = load float, ptr %199, align 8, !tbaa !42
  %201 = load ptr, ptr %14, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.b2Profile, ptr %201, i32 0, i32 0
  %203 = load float, ptr %202, align 4, !tbaa !43
  %204 = call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %200, float noundef %203)
  %205 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %206 = getelementptr inbounds %struct.b2Profile, ptr %205, i32 0, i32 0
  store float %204, ptr %206, align 8, !tbaa !42
  %207 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %208 = getelementptr inbounds %struct.b2Profile, ptr %207, i32 0, i32 1
  %209 = load float, ptr %208, align 4, !tbaa !44
  %210 = load ptr, ptr %14, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.b2Profile, ptr %210, i32 0, i32 1
  %212 = load float, ptr %211, align 4, !tbaa !45
  %213 = call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %209, float noundef %212)
  %214 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %215 = getelementptr inbounds %struct.b2Profile, ptr %214, i32 0, i32 1
  store float %213, ptr %215, align 4, !tbaa !44
  %216 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %217 = getelementptr inbounds %struct.b2Profile, ptr %216, i32 0, i32 2
  %218 = load float, ptr %217, align 8, !tbaa !46
  %219 = load ptr, ptr %14, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.b2Profile, ptr %219, i32 0, i32 2
  %221 = load float, ptr %220, align 4, !tbaa !47
  %222 = call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %218, float noundef %221)
  %223 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %224 = getelementptr inbounds %struct.b2Profile, ptr %223, i32 0, i32 2
  store float %222, ptr %224, align 8, !tbaa !46
  %225 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %226 = getelementptr inbounds %struct.b2Profile, ptr %225, i32 0, i32 3
  %227 = load float, ptr %226, align 4, !tbaa !48
  %228 = load ptr, ptr %14, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.b2Profile, ptr %228, i32 0, i32 3
  %230 = load float, ptr %229, align 4, !tbaa !49
  %231 = call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %227, float noundef %230)
  %232 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %233 = getelementptr inbounds %struct.b2Profile, ptr %232, i32 0, i32 3
  store float %231, ptr %233, align 4, !tbaa !48
  %234 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %235 = getelementptr inbounds %struct.b2Profile, ptr %234, i32 0, i32 4
  %236 = load float, ptr %235, align 8, !tbaa !50
  %237 = load ptr, ptr %14, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.b2Profile, ptr %237, i32 0, i32 4
  %239 = load float, ptr %238, align 4, !tbaa !51
  %240 = call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %236, float noundef %239)
  %241 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %242 = getelementptr inbounds %struct.b2Profile, ptr %241, i32 0, i32 4
  store float %240, ptr %242, align 8, !tbaa !50
  %243 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %244 = getelementptr inbounds %struct.b2Profile, ptr %243, i32 0, i32 5
  %245 = load float, ptr %244, align 4, !tbaa !52
  %246 = load ptr, ptr %14, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.b2Profile, ptr %246, i32 0, i32 5
  %248 = load float, ptr %247, align 4, !tbaa !53
  %249 = call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %245, float noundef %248)
  %250 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %251 = getelementptr inbounds %struct.b2Profile, ptr %250, i32 0, i32 5
  store float %249, ptr %251, align 4, !tbaa !52
  %252 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %253 = getelementptr inbounds %struct.b2Profile, ptr %252, i32 0, i32 7
  %254 = load float, ptr %253, align 4, !tbaa !54
  %255 = load ptr, ptr %14, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.b2Profile, ptr %255, i32 0, i32 7
  %257 = load float, ptr %256, align 4, !tbaa !55
  %258 = call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %254, float noundef %257)
  %259 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %260 = getelementptr inbounds %struct.b2Profile, ptr %259, i32 0, i32 7
  store float %258, ptr %260, align 4, !tbaa !54
  %261 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %262 = getelementptr inbounds %struct.b2Profile, ptr %261, i32 0, i32 6
  %263 = load float, ptr %262, align 8, !tbaa !56
  %264 = load ptr, ptr %14, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.b2Profile, ptr %264, i32 0, i32 6
  %266 = load float, ptr %265, align 4, !tbaa !57
  %267 = call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %263, float noundef %266)
  %268 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %269 = getelementptr inbounds %struct.b2Profile, ptr %268, i32 0, i32 6
  store float %267, ptr %269, align 8, !tbaa !56
  %270 = load ptr, ptr %14, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.b2Profile, ptr %270, i32 0, i32 0
  %272 = load float, ptr %271, align 4, !tbaa !43
  %273 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %274 = getelementptr inbounds %struct.b2Profile, ptr %273, i32 0, i32 0
  %275 = load float, ptr %274, align 8, !tbaa !58
  %276 = fadd float %275, %272
  store float %276, ptr %274, align 8, !tbaa !58
  %277 = load ptr, ptr %14, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.b2Profile, ptr %277, i32 0, i32 1
  %279 = load float, ptr %278, align 4, !tbaa !45
  %280 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %281 = getelementptr inbounds %struct.b2Profile, ptr %280, i32 0, i32 1
  %282 = load float, ptr %281, align 4, !tbaa !59
  %283 = fadd float %282, %279
  store float %283, ptr %281, align 4, !tbaa !59
  %284 = load ptr, ptr %14, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.b2Profile, ptr %284, i32 0, i32 2
  %286 = load float, ptr %285, align 4, !tbaa !47
  %287 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %288 = getelementptr inbounds %struct.b2Profile, ptr %287, i32 0, i32 2
  %289 = load float, ptr %288, align 8, !tbaa !60
  %290 = fadd float %289, %286
  store float %290, ptr %288, align 8, !tbaa !60
  %291 = load ptr, ptr %14, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.b2Profile, ptr %291, i32 0, i32 3
  %293 = load float, ptr %292, align 4, !tbaa !49
  %294 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %295 = getelementptr inbounds %struct.b2Profile, ptr %294, i32 0, i32 3
  %296 = load float, ptr %295, align 4, !tbaa !61
  %297 = fadd float %296, %293
  store float %297, ptr %295, align 4, !tbaa !61
  %298 = load ptr, ptr %14, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.b2Profile, ptr %298, i32 0, i32 4
  %300 = load float, ptr %299, align 4, !tbaa !51
  %301 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %302 = getelementptr inbounds %struct.b2Profile, ptr %301, i32 0, i32 4
  %303 = load float, ptr %302, align 8, !tbaa !62
  %304 = fadd float %303, %300
  store float %304, ptr %302, align 8, !tbaa !62
  %305 = load ptr, ptr %14, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.b2Profile, ptr %305, i32 0, i32 5
  %307 = load float, ptr %306, align 4, !tbaa !53
  %308 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %309 = getelementptr inbounds %struct.b2Profile, ptr %308, i32 0, i32 5
  %310 = load float, ptr %309, align 4, !tbaa !63
  %311 = fadd float %310, %307
  store float %311, ptr %309, align 4, !tbaa !63
  %312 = load ptr, ptr %14, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.b2Profile, ptr %312, i32 0, i32 7
  %314 = load float, ptr %313, align 4, !tbaa !55
  %315 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %316 = getelementptr inbounds %struct.b2Profile, ptr %315, i32 0, i32 7
  %317 = load float, ptr %316, align 4, !tbaa !64
  %318 = fadd float %317, %314
  store float %318, ptr %316, align 4, !tbaa !64
  %319 = load ptr, ptr %14, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.b2Profile, ptr %319, i32 0, i32 6
  %321 = load float, ptr %320, align 4, !tbaa !57
  %322 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %323 = getelementptr inbounds %struct.b2Profile, ptr %322, i32 0, i32 6
  %324 = load float, ptr %323, align 8, !tbaa !65
  %325 = fadd float %324, %321
  store float %325, ptr %323, align 8, !tbaa !65
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  %326 = load ptr, ptr %4, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.Settings, ptr %326, i32 0, i32 12
  %328 = load i8, ptr %327, align 1, !tbaa !66, !range !16, !noundef !17
  %329 = trunc i8 %328 to i1
  br i1 %329, label %330, label %519

330:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %331 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 7
  %332 = load ptr, ptr %331, align 8, !tbaa !32
  %333 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNK7b2World10GetProfileEv(ptr noundef nonnull align 8 dereferenceable(103296) %332)
  store ptr %333, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #8
  call void @llvm.memset.p0.i64(ptr align 4 %16, i8 0, i64 32, i1 false)
  %334 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 13
  %335 = load i32, ptr %334, align 4, !tbaa !40
  %336 = icmp sgt i32 %335, 0
  br i1 %336, label %337, label %390

337:                                              ; preds = %330
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %338 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 13
  %339 = load i32, ptr %338, align 4, !tbaa !40
  %340 = sitofp i32 %339 to float
  %341 = fdiv float 1.000000e+00, %340
  store float %341, ptr %17, align 4, !tbaa !14
  %342 = load float, ptr %17, align 4, !tbaa !14
  %343 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %344 = getelementptr inbounds %struct.b2Profile, ptr %343, i32 0, i32 0
  %345 = load float, ptr %344, align 8, !tbaa !58
  %346 = fmul float %342, %345
  %347 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 0
  store float %346, ptr %347, align 4, !tbaa !43
  %348 = load float, ptr %17, align 4, !tbaa !14
  %349 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %350 = getelementptr inbounds %struct.b2Profile, ptr %349, i32 0, i32 1
  %351 = load float, ptr %350, align 4, !tbaa !59
  %352 = fmul float %348, %351
  %353 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 1
  store float %352, ptr %353, align 4, !tbaa !45
  %354 = load float, ptr %17, align 4, !tbaa !14
  %355 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %356 = getelementptr inbounds %struct.b2Profile, ptr %355, i32 0, i32 2
  %357 = load float, ptr %356, align 8, !tbaa !60
  %358 = fmul float %354, %357
  %359 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 2
  store float %358, ptr %359, align 4, !tbaa !47
  %360 = load float, ptr %17, align 4, !tbaa !14
  %361 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %362 = getelementptr inbounds %struct.b2Profile, ptr %361, i32 0, i32 3
  %363 = load float, ptr %362, align 4, !tbaa !61
  %364 = fmul float %360, %363
  %365 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 3
  store float %364, ptr %365, align 4, !tbaa !49
  %366 = load float, ptr %17, align 4, !tbaa !14
  %367 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %368 = getelementptr inbounds %struct.b2Profile, ptr %367, i32 0, i32 4
  %369 = load float, ptr %368, align 8, !tbaa !62
  %370 = fmul float %366, %369
  %371 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 4
  store float %370, ptr %371, align 4, !tbaa !51
  %372 = load float, ptr %17, align 4, !tbaa !14
  %373 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %374 = getelementptr inbounds %struct.b2Profile, ptr %373, i32 0, i32 5
  %375 = load float, ptr %374, align 4, !tbaa !63
  %376 = fmul float %372, %375
  %377 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 5
  store float %376, ptr %377, align 4, !tbaa !53
  %378 = load float, ptr %17, align 4, !tbaa !14
  %379 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %380 = getelementptr inbounds %struct.b2Profile, ptr %379, i32 0, i32 7
  %381 = load float, ptr %380, align 4, !tbaa !64
  %382 = fmul float %378, %381
  %383 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 7
  store float %382, ptr %383, align 4, !tbaa !55
  %384 = load float, ptr %17, align 4, !tbaa !14
  %385 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 15
  %386 = getelementptr inbounds %struct.b2Profile, ptr %385, i32 0, i32 6
  %387 = load float, ptr %386, align 8, !tbaa !65
  %388 = fmul float %384, %387
  %389 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 6
  store float %388, ptr %389, align 4, !tbaa !57
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %390

390:                                              ; preds = %337, %330
  %391 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %392 = load i32, ptr %391, align 8, !tbaa !19
  %393 = load ptr, ptr %15, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.b2Profile, ptr %393, i32 0, i32 0
  %395 = load float, ptr %394, align 4, !tbaa !43
  %396 = fpext float %395 to double
  %397 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 0
  %398 = load float, ptr %397, align 4, !tbaa !43
  %399 = fpext float %398 to double
  %400 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %401 = getelementptr inbounds %struct.b2Profile, ptr %400, i32 0, i32 0
  %402 = load float, ptr %401, align 8, !tbaa !42
  %403 = fpext float %402 to double
  call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %392, ptr noundef @.str.3, double noundef %396, double noundef %399, double noundef %403)
  %404 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %405 = load i32, ptr %404, align 8, !tbaa !19
  %406 = add nsw i32 %405, 16
  store i32 %406, ptr %404, align 8, !tbaa !19
  %407 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %408 = load i32, ptr %407, align 8, !tbaa !19
  %409 = load ptr, ptr %15, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.b2Profile, ptr %409, i32 0, i32 1
  %411 = load float, ptr %410, align 4, !tbaa !45
  %412 = fpext float %411 to double
  %413 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 1
  %414 = load float, ptr %413, align 4, !tbaa !45
  %415 = fpext float %414 to double
  %416 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %417 = getelementptr inbounds %struct.b2Profile, ptr %416, i32 0, i32 1
  %418 = load float, ptr %417, align 4, !tbaa !44
  %419 = fpext float %418 to double
  call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %408, ptr noundef @.str.4, double noundef %412, double noundef %415, double noundef %419)
  %420 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %421 = load i32, ptr %420, align 8, !tbaa !19
  %422 = add nsw i32 %421, 16
  store i32 %422, ptr %420, align 8, !tbaa !19
  %423 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %424 = load i32, ptr %423, align 8, !tbaa !19
  %425 = load ptr, ptr %15, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.b2Profile, ptr %425, i32 0, i32 2
  %427 = load float, ptr %426, align 4, !tbaa !47
  %428 = fpext float %427 to double
  %429 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 2
  %430 = load float, ptr %429, align 4, !tbaa !47
  %431 = fpext float %430 to double
  %432 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %433 = getelementptr inbounds %struct.b2Profile, ptr %432, i32 0, i32 2
  %434 = load float, ptr %433, align 8, !tbaa !46
  %435 = fpext float %434 to double
  call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %424, ptr noundef @.str.5, double noundef %428, double noundef %431, double noundef %435)
  %436 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %437 = load i32, ptr %436, align 8, !tbaa !19
  %438 = add nsw i32 %437, 16
  store i32 %438, ptr %436, align 8, !tbaa !19
  %439 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %440 = load i32, ptr %439, align 8, !tbaa !19
  %441 = load ptr, ptr %15, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.b2Profile, ptr %441, i32 0, i32 3
  %443 = load float, ptr %442, align 4, !tbaa !49
  %444 = fpext float %443 to double
  %445 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 3
  %446 = load float, ptr %445, align 4, !tbaa !49
  %447 = fpext float %446 to double
  %448 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %449 = getelementptr inbounds %struct.b2Profile, ptr %448, i32 0, i32 3
  %450 = load float, ptr %449, align 4, !tbaa !48
  %451 = fpext float %450 to double
  call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %440, ptr noundef @.str.6, double noundef %444, double noundef %447, double noundef %451)
  %452 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %453 = load i32, ptr %452, align 8, !tbaa !19
  %454 = add nsw i32 %453, 16
  store i32 %454, ptr %452, align 8, !tbaa !19
  %455 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %456 = load i32, ptr %455, align 8, !tbaa !19
  %457 = load ptr, ptr %15, align 8, !tbaa !5
  %458 = getelementptr inbounds %struct.b2Profile, ptr %457, i32 0, i32 4
  %459 = load float, ptr %458, align 4, !tbaa !51
  %460 = fpext float %459 to double
  %461 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 4
  %462 = load float, ptr %461, align 4, !tbaa !51
  %463 = fpext float %462 to double
  %464 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %465 = getelementptr inbounds %struct.b2Profile, ptr %464, i32 0, i32 4
  %466 = load float, ptr %465, align 8, !tbaa !50
  %467 = fpext float %466 to double
  call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %456, ptr noundef @.str.7, double noundef %460, double noundef %463, double noundef %467)
  %468 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %469 = load i32, ptr %468, align 8, !tbaa !19
  %470 = add nsw i32 %469, 16
  store i32 %470, ptr %468, align 8, !tbaa !19
  %471 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %472 = load i32, ptr %471, align 8, !tbaa !19
  %473 = load ptr, ptr %15, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.b2Profile, ptr %473, i32 0, i32 5
  %475 = load float, ptr %474, align 4, !tbaa !53
  %476 = fpext float %475 to double
  %477 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 5
  %478 = load float, ptr %477, align 4, !tbaa !53
  %479 = fpext float %478 to double
  %480 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %481 = getelementptr inbounds %struct.b2Profile, ptr %480, i32 0, i32 5
  %482 = load float, ptr %481, align 4, !tbaa !52
  %483 = fpext float %482 to double
  call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %472, ptr noundef @.str.8, double noundef %476, double noundef %479, double noundef %483)
  %484 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %485 = load i32, ptr %484, align 8, !tbaa !19
  %486 = add nsw i32 %485, 16
  store i32 %486, ptr %484, align 8, !tbaa !19
  %487 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %488 = load i32, ptr %487, align 8, !tbaa !19
  %489 = load ptr, ptr %15, align 8, !tbaa !5
  %490 = getelementptr inbounds %struct.b2Profile, ptr %489, i32 0, i32 7
  %491 = load float, ptr %490, align 4, !tbaa !55
  %492 = fpext float %491 to double
  %493 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 7
  %494 = load float, ptr %493, align 4, !tbaa !55
  %495 = fpext float %494 to double
  %496 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %497 = getelementptr inbounds %struct.b2Profile, ptr %496, i32 0, i32 7
  %498 = load float, ptr %497, align 4, !tbaa !54
  %499 = fpext float %498 to double
  call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %488, ptr noundef @.str.9, double noundef %492, double noundef %495, double noundef %499)
  %500 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %501 = load i32, ptr %500, align 8, !tbaa !19
  %502 = add nsw i32 %501, 16
  store i32 %502, ptr %500, align 8, !tbaa !19
  %503 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %504 = load i32, ptr %503, align 8, !tbaa !19
  %505 = load ptr, ptr %15, align 8, !tbaa !5
  %506 = getelementptr inbounds %struct.b2Profile, ptr %505, i32 0, i32 6
  %507 = load float, ptr %506, align 4, !tbaa !57
  %508 = fpext float %507 to double
  %509 = getelementptr inbounds %struct.b2Profile, ptr %16, i32 0, i32 6
  %510 = load float, ptr %509, align 4, !tbaa !57
  %511 = fpext float %510 to double
  %512 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 14
  %513 = getelementptr inbounds %struct.b2Profile, ptr %512, i32 0, i32 6
  %514 = load float, ptr %513, align 8, !tbaa !56
  %515 = fpext float %514 to double
  call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %504, ptr noundef @.str.10, double noundef %508, double noundef %511, double noundef %515)
  %516 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 6
  %517 = load i32, ptr %516, align 8, !tbaa !19
  %518 = add nsw i32 %517, 16
  store i32 %518, ptr %516, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %519

519:                                              ; preds = %390, %194
  %520 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 9
  %521 = load ptr, ptr %520, align 8, !tbaa !67
  %522 = icmp ne ptr %521, null
  br i1 %522, label %523, label %533

523:                                              ; preds = %519
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %524 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 9
  %525 = load ptr, ptr %524, align 8, !tbaa !67
  %526 = load ptr, ptr %525, align 8, !tbaa !68
  %527 = getelementptr inbounds ptr, ptr %526, i64 1
  %528 = load ptr, ptr %527, align 8
  %529 = call <2 x float> %528(ptr noundef nonnull align 8 dereferenceable(228) %525)
  store <2 x float> %529, ptr %18, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %530 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 9
  %531 = load ptr, ptr %530, align 8, !tbaa !67
  %532 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK12b2MouseJoint9GetTargetEv(ptr noundef nonnull align 8 dereferenceable(228) %531)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %532, i64 8, i1 false), !tbaa.struct !70
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  call void @_ZN7b2ColorC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %20)
  call void @_ZN7b2Color3SetEffff(ptr noundef nonnull align 4 dereferenceable(16) %20, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @_ZN9DebugDraw9DrawPointERK6b2Vec2fRK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef 4.000000e+00, ptr noundef nonnull align 4 dereferenceable(16) %20)
  call void @_ZN9DebugDraw9DrawPointERK6b2Vec2fRK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef 4.000000e+00, ptr noundef nonnull align 4 dereferenceable(16) %20)
  call void @_ZN7b2Color3SetEffff(ptr noundef nonnull align 4 dereferenceable(16) %20, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 1.000000e+00)
  call void @_ZN9DebugDraw11DrawSegmentERK6b2Vec2S2_RK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(16) %20)
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %533

533:                                              ; preds = %523, %519
  %534 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 11
  %535 = load i8, ptr %534, align 8, !tbaa !71, !range !16, !noundef !17
  %536 = trunc i8 %535 to i1
  br i1 %536, label %537, label %541

537:                                              ; preds = %533
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  call void @_ZN7b2ColorC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %21)
  call void @_ZN7b2Color3SetEffff(ptr noundef nonnull align 4 dereferenceable(16) %21, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %538 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 10
  call void @_ZN9DebugDraw9DrawPointERK6b2Vec2fRK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %538, float noundef 4.000000e+00, ptr noundef nonnull align 4 dereferenceable(16) %21)
  call void @_ZN7b2Color3SetEffff(ptr noundef nonnull align 4 dereferenceable(16) %21, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 1.000000e+00)
  %539 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 12
  %540 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 10
  call void @_ZN9DebugDraw11DrawSegmentERK6b2Vec2S2_RK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %539, ptr noundef nonnull align 4 dereferenceable(8) %540, ptr noundef nonnull align 4 dereferenceable(16) %21)
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  br label %541

541:                                              ; preds = %537, %533
  %542 = load ptr, ptr %4, align 8, !tbaa !5
  %543 = getelementptr inbounds %struct.Settings, ptr %542, i32 0, i32 6
  %544 = load i8, ptr %543, align 1, !tbaa !72, !range !16, !noundef !17
  %545 = trunc i8 %544 to i1
  br i1 %545, label %546, label %632

546:                                              ; preds = %541
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store float 0x3FB99999A0000000, ptr %22, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store float 0x3FD3333340000000, ptr %23, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  store i32 0, ptr %24, align 4, !tbaa !27
  br label %547

547:                                              ; preds = %628, %546
  %548 = load i32, ptr %24, align 4, !tbaa !27
  %549 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 4
  %550 = load i32, ptr %549, align 8, !tbaa !37
  %551 = icmp slt i32 %548, %550
  br i1 %551, label %553, label %552

552:                                              ; preds = %547
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %631

553:                                              ; preds = %547
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %554 = getelementptr inbounds %class.Test, ptr %41, i32 0, i32 3
  %555 = getelementptr inbounds [2048 x %struct.ContactPoint], ptr %554, i64 0, i64 0
  %556 = load i32, ptr %24, align 4, !tbaa !27
  %557 = sext i32 %556 to i64
  %558 = getelementptr inbounds %struct.ContactPoint, ptr %555, i64 %557
  store ptr %558, ptr %25, align 8, !tbaa !5
  %559 = load ptr, ptr %25, align 8, !tbaa !5
  %560 = getelementptr inbounds %struct.ContactPoint, ptr %559, i32 0, i32 4
  %561 = load i32, ptr %560, align 8, !tbaa !73
  %562 = icmp eq i32 %561, 1
  br i1 %562, label %563, label %566

563:                                              ; preds = %553
  %564 = load ptr, ptr %25, align 8, !tbaa !5
  %565 = getelementptr inbounds %struct.ContactPoint, ptr %564, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #8
  call void @_ZN7b2ColorC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %26, float noundef 0x3FD3333340000000, float noundef 0x3FEE666660000000, float noundef 0x3FD3333340000000, float noundef 1.000000e+00)
  call void @_ZN9DebugDraw9DrawPointERK6b2Vec2fRK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %565, float noundef 1.000000e+01, ptr noundef nonnull align 4 dereferenceable(16) %26)
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #8
  br label %575

566:                                              ; preds = %553
  %567 = load ptr, ptr %25, align 8, !tbaa !5
  %568 = getelementptr inbounds %struct.ContactPoint, ptr %567, i32 0, i32 4
  %569 = load i32, ptr %568, align 8, !tbaa !73
  %570 = icmp eq i32 %569, 2
  br i1 %570, label %571, label %574

571:                                              ; preds = %566
  %572 = load ptr, ptr %25, align 8, !tbaa !5
  %573 = getelementptr inbounds %struct.ContactPoint, ptr %572, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #8
  call void @_ZN7b2ColorC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %27, float noundef 0x3FD3333340000000, float noundef 0x3FD3333340000000, float noundef 0x3FEE666660000000, float noundef 1.000000e+00)
  call void @_ZN9DebugDraw9DrawPointERK6b2Vec2fRK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %573, float noundef 5.000000e+00, ptr noundef nonnull align 4 dereferenceable(16) %27)
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  br label %574

574:                                              ; preds = %571, %566
  br label %575

575:                                              ; preds = %574, %563
  %576 = load ptr, ptr %4, align 8, !tbaa !5
  %577 = getelementptr inbounds %struct.Settings, ptr %576, i32 0, i32 7
  %578 = load i8, ptr %577, align 4, !tbaa !76, !range !16, !noundef !17
  %579 = trunc i8 %578 to i1
  %580 = zext i1 %579 to i32
  %581 = icmp eq i32 %580, 1
  br i1 %581, label %582, label %589

582:                                              ; preds = %575
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %583 = load ptr, ptr %25, align 8, !tbaa !5
  %584 = getelementptr inbounds %struct.ContactPoint, ptr %583, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 8 %584, i64 8, i1 false), !tbaa.struct !70
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %585 = load ptr, ptr %25, align 8, !tbaa !5
  %586 = getelementptr inbounds %struct.ContactPoint, ptr %585, i32 0, i32 2
  %587 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef 0x3FD3333340000000, ptr noundef nonnull align 4 dereferenceable(8) %586)
  store <2 x float> %587, ptr %30, align 4
  %588 = call <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(8) %30)
  store <2 x float> %588, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #8
  call void @_ZN7b2ColorC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %31, float noundef 0x3FECCCCCC0000000, float noundef 0x3FECCCCCC0000000, float noundef 0x3FECCCCCC0000000, float noundef 1.000000e+00)
  call void @_ZN9DebugDraw11DrawSegmentERK6b2Vec2S2_RK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(16) %31)
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %608

589:                                              ; preds = %575
  %590 = load ptr, ptr %4, align 8, !tbaa !5
  %591 = getelementptr inbounds %struct.Settings, ptr %590, i32 0, i32 8
  %592 = load i8, ptr %591, align 1, !tbaa !77, !range !16, !noundef !17
  %593 = trunc i8 %592 to i1
  %594 = zext i1 %593 to i32
  %595 = icmp eq i32 %594, 1
  br i1 %595, label %596, label %607

596:                                              ; preds = %589
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %597 = load ptr, ptr %25, align 8, !tbaa !5
  %598 = getelementptr inbounds %struct.ContactPoint, ptr %597, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 8 %598, i64 8, i1 false), !tbaa.struct !70
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %599 = load ptr, ptr %25, align 8, !tbaa !5
  %600 = getelementptr inbounds %struct.ContactPoint, ptr %599, i32 0, i32 5
  %601 = load float, ptr %600, align 4, !tbaa !78
  %602 = fmul float 0x3FB99999A0000000, %601
  %603 = load ptr, ptr %25, align 8, !tbaa !5
  %604 = getelementptr inbounds %struct.ContactPoint, ptr %603, i32 0, i32 2
  %605 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef %602, ptr noundef nonnull align 4 dereferenceable(8) %604)
  store <2 x float> %605, ptr %34, align 4
  %606 = call <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %34)
  store <2 x float> %606, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #8
  call void @_ZN7b2ColorC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %35, float noundef 0x3FECCCCCC0000000, float noundef 0x3FECCCCCC0000000, float noundef 0x3FD3333340000000, float noundef 1.000000e+00)
  call void @_ZN9DebugDraw11DrawSegmentERK6b2Vec2S2_RK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(16) %35)
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %607

607:                                              ; preds = %596, %589
  br label %608

608:                                              ; preds = %607, %582
  %609 = load ptr, ptr %4, align 8, !tbaa !5
  %610 = getelementptr inbounds %struct.Settings, ptr %609, i32 0, i32 9
  %611 = load i8, ptr %610, align 2, !tbaa !79, !range !16, !noundef !17
  %612 = trunc i8 %611 to i1
  %613 = zext i1 %612 to i32
  %614 = icmp eq i32 %613, 1
  br i1 %614, label %615, label %627

615:                                              ; preds = %608
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %616 = load ptr, ptr %25, align 8, !tbaa !5
  %617 = getelementptr inbounds %struct.ContactPoint, ptr %616, i32 0, i32 2
  %618 = call <2 x float> @_Z7b2CrossRK6b2Vec2f(ptr noundef nonnull align 4 dereferenceable(8) %617, float noundef 1.000000e+00)
  store <2 x float> %618, ptr %36, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %619 = load ptr, ptr %25, align 8, !tbaa !5
  %620 = getelementptr inbounds %struct.ContactPoint, ptr %619, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 8 %620, i64 8, i1 false), !tbaa.struct !70
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %621 = load ptr, ptr %25, align 8, !tbaa !5
  %622 = getelementptr inbounds %struct.ContactPoint, ptr %621, i32 0, i32 6
  %623 = load float, ptr %622, align 8, !tbaa !80
  %624 = fmul float 0x3FB99999A0000000, %623
  %625 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef %624, ptr noundef nonnull align 4 dereferenceable(8) %36)
  store <2 x float> %625, ptr %39, align 4
  %626 = call <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 4 dereferenceable(8) %39)
  store <2 x float> %626, ptr %38, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #8
  call void @_ZN7b2ColorC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %40, float noundef 0x3FECCCCCC0000000, float noundef 0x3FECCCCCC0000000, float noundef 0x3FD3333340000000, float noundef 1.000000e+00)
  call void @_ZN9DebugDraw11DrawSegmentERK6b2Vec2S2_RK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 4 dereferenceable(8) %38, ptr noundef nonnull align 4 dereferenceable(16) %40)
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %627

627:                                              ; preds = %615, %608
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %628

628:                                              ; preds = %627
  %629 = load i32, ptr %24, align 4, !tbaa !27
  %630 = add nsw i32 %629, 1
  store i32 %630, ptr %24, align 4, !tbaa !27
  br label %547, !llvm.loop !81

631:                                              ; preds = %552
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %632

632:                                              ; preds = %631, %541
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  ret void
}

declare void @_ZN6b2Draw8SetFlagsEj(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7b2World15SetWarmStartingEb(ptr noundef nonnull align 8 dereferenceable(103296), i1 noundef zeroext) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7b2World20SetContinuousPhysicsEb(ptr noundef nonnull align 8 dereferenceable(103296), i1 noundef zeroext) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7b2World14SetSubSteppingEb(ptr noundef nonnull align 8 dereferenceable(103296), i1 noundef zeroext) #6 align 2

declare void @_ZN7b2World4StepEfii(ptr noundef nonnull align 8 dereferenceable(103296), float noundef, i32 noundef, i32 noundef) #3

declare void @_ZN7b2World13DrawDebugDataEv(ptr noundef nonnull align 8 dereferenceable(103296)) #3

declare void @_ZN9DebugDraw5FlushEv(ptr noundef nonnull align 8 dereferenceable(40)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7b2World12GetBodyCountEv(ptr noundef nonnull align 8 dereferenceable(103296)) #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7b2World15GetContactCountEv(ptr noundef nonnull align 8 dereferenceable(103296)) #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7b2World13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(103296)) #7 align 2

declare noundef i32 @_ZNK7b2World13GetProxyCountEv(ptr noundef nonnull align 8 dereferenceable(103296)) #3

declare noundef i32 @_ZNK7b2World13GetTreeHeightEv(ptr noundef nonnull align 8 dereferenceable(103296)) #3

declare noundef i32 @_ZNK7b2World14GetTreeBalanceEv(ptr noundef nonnull align 8 dereferenceable(103296)) #3

declare noundef float @_ZNK7b2World14GetTreeQualityEv(ptr noundef nonnull align 8 dereferenceable(103296)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(32) ptr @_ZNK7b2World10GetProfileEv(ptr noundef nonnull align 8 dereferenceable(103296)) #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z5b2MaxIfET_S0_S0_(float noundef, float noundef) #7

declare noundef nonnull align 4 dereferenceable(8) ptr @_ZNK12b2MouseJoint9GetTargetEv(ptr noundef nonnull align 8 dereferenceable(228)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7b2ColorC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7b2Color3SetEffff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) #6 align 2

declare void @_ZN9DebugDraw9DrawPointERK6b2Vec2fRK7b2Color(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(8), float noundef, ptr noundef nonnull align 4 dereferenceable(16)) #3

declare void @_ZN9DebugDraw11DrawSegmentERK6b2Vec2S2_RK7b2Color(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Z7b2CrossRK6b2Vec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) #4

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS8Settings", !11, i64 0, !12, i64 4, !12, i64 8, !13, i64 12, !13, i64 13, !13, i64 14, !13, i64 15, !13, i64 16, !13, i64 17, !13, i64 18, !13, i64 19, !13, i64 20, !13, i64 21, !13, i64 22, !13, i64 23, !13, i64 24, !13, i64 25, !13, i64 26, !13, i64 27}
!11 = !{!"float", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !13, i64 26}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!10, !13, i64 27}
!19 = !{!20, !12, i64 98360}
!20 = !{!"_ZTS4Test", !21, i64 0, !6, i64 8, !22, i64 16, !7, i64 32, !12, i64 98336, !24, i64 98344, !12, i64 98360, !6, i64 98368, !6, i64 98376, !6, i64 98384, !23, i64 98392, !13, i64 98400, !23, i64 98404, !12, i64 98412, !26, i64 98416, !26, i64 98448}
!21 = !{!"_ZTS17b2ContactListener"}
!22 = !{!"_ZTS6b2AABB", !23, i64 0, !23, i64 8}
!23 = !{!"_ZTS6b2Vec2", !11, i64 0, !11, i64 4}
!24 = !{!"_ZTS19DestructionListener", !25, i64 0, !6, i64 8}
!25 = !{!"_ZTS21b2DestructionListener"}
!26 = !{!"_ZTS9b2Profile", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28}
!27 = !{!12, !12, i64 0}
!28 = !{!10, !13, i64 12}
!29 = !{!10, !13, i64 13}
!30 = !{!10, !13, i64 14}
!31 = !{!10, !13, i64 19}
!32 = !{!20, !6, i64 98368}
!33 = !{!10, !13, i64 25}
!34 = !{!10, !13, i64 22}
!35 = !{!10, !13, i64 23}
!36 = !{!10, !13, i64 24}
!37 = !{!20, !12, i64 98336}
!38 = !{!10, !12, i64 4}
!39 = !{!10, !12, i64 8}
!40 = !{!20, !12, i64 98412}
!41 = !{!10, !13, i64 20}
!42 = !{!20, !11, i64 98416}
!43 = !{!26, !11, i64 0}
!44 = !{!20, !11, i64 98420}
!45 = !{!26, !11, i64 4}
!46 = !{!20, !11, i64 98424}
!47 = !{!26, !11, i64 8}
!48 = !{!20, !11, i64 98428}
!49 = !{!26, !11, i64 12}
!50 = !{!20, !11, i64 98432}
!51 = !{!26, !11, i64 16}
!52 = !{!20, !11, i64 98436}
!53 = !{!26, !11, i64 20}
!54 = !{!20, !11, i64 98444}
!55 = !{!26, !11, i64 28}
!56 = !{!20, !11, i64 98440}
!57 = !{!26, !11, i64 24}
!58 = !{!20, !11, i64 98448}
!59 = !{!20, !11, i64 98452}
!60 = !{!20, !11, i64 98456}
!61 = !{!20, !11, i64 98460}
!62 = !{!20, !11, i64 98464}
!63 = !{!20, !11, i64 98468}
!64 = !{!20, !11, i64 98476}
!65 = !{!20, !11, i64 98472}
!66 = !{!10, !13, i64 21}
!67 = !{!20, !6, i64 98384}
!68 = !{!69, !69, i64 0}
!69 = !{!"vtable pointer", !8, i64 0}
!70 = !{i64 0, i64 4, !14, i64 4, i64 4, !14}
!71 = !{!20, !13, i64 98400}
!72 = !{!10, !13, i64 15}
!73 = !{!74, !75, i64 32}
!74 = !{!"_ZTS12ContactPoint", !6, i64 0, !6, i64 8, !23, i64 16, !23, i64 24, !75, i64 32, !11, i64 36, !11, i64 40, !11, i64 44}
!75 = !{!"_ZTS12b2PointState", !7, i64 0}
!76 = !{!10, !13, i64 16}
!77 = !{!10, !13, i64 17}
!78 = !{!74, !11, i64 36}
!79 = !{!10, !13, i64 18}
!80 = !{!74, !11, i64 40}
!81 = distinct !{!81, !82}
!82 = !{!"llvm.loop.mustprogress"}


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

%class.DebugDraw = type { %class.b2Draw.base, ptr, ptr, ptr }
%class.b2Draw.base = type <{ ptr, i32 }>
%struct.b2Vec2 = type { float, float }
%struct.b2Color = type { float, float, float, float }
%struct.ContactPoint = type { ptr, ptr, %struct.b2Vec2, %struct.b2Vec2, i32, float, float, float }

@g_debugDraw = external global %class.DebugDraw, align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [48 x i8], align 1

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

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

declare void @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZmlfRK6b2Vec2(float noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Test4StepEP8Settings(ptr noundef nonnull align 8 dereferenceable(98480) %0, ptr nocapture noundef %1) unnamed_addr #3 align 2 {
  %3 = alloca %struct.b2Vec2, align 8
  %4 = alloca %struct.b2Vec2, align 8
  %5 = alloca %struct.b2Color, align 4
  %6 = alloca %struct.b2Color, align 4
  %7 = alloca %struct.b2Color, align 4
  %8 = alloca %struct.b2Color, align 4
  %9 = alloca %struct.b2Vec2, align 8
  %10 = alloca %struct.b2Vec2, align 8
  %11 = alloca %struct.b2Vec2, align 8
  %12 = alloca %struct.b2Color, align 4
  %13 = alloca %struct.b2Vec2, align 8
  %14 = alloca %struct.b2Vec2, align 8
  %15 = alloca %struct.b2Vec2, align 8
  %16 = alloca %struct.b2Color, align 4
  %17 = alloca %struct.b2Vec2, align 8
  %18 = alloca %struct.b2Vec2, align 8
  %19 = alloca %struct.b2Vec2, align 8
  %20 = alloca %struct.b2Vec2, align 8
  %21 = alloca %struct.b2Color, align 4
  %22 = load float, ptr %1, align 4, !tbaa !5
  %23 = fcmp ogt float %22, 0.000000e+00
  %24 = fdiv float 1.000000e+00, %22
  %25 = select i1 %23, float %24, float 0.000000e+00
  %26 = getelementptr inbounds i8, ptr %1, i64 26
  %27 = load i8, ptr %26, align 2, !tbaa !12, !range !13, !noundef !14
  %28 = trunc nuw i8 %27 to i1
  br i1 %28, label %29, label %39

29:                                               ; preds = %2
  %30 = getelementptr inbounds i8, ptr %1, i64 27
  %31 = load i8, ptr %30, align 1, !tbaa !15, !range !13, !noundef !14
  %32 = trunc nuw i8 %31 to i1
  br i1 %32, label %33, label %34

33:                                               ; preds = %29
  store i8 0, ptr %30, align 1, !tbaa !15
  br label %34

34:                                               ; preds = %29, %33
  %.0 = phi float [ %25, %33 ], [ 0.000000e+00, %29 ]
  %35 = getelementptr inbounds i8, ptr %0, i64 98360
  %36 = load i32, ptr %35, align 8, !tbaa !16
  tail call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %36, ptr noundef nonnull @.str)
  %37 = load i32, ptr %35, align 8, !tbaa !16
  %38 = add nsw i32 %37, 16
  store i32 %38, ptr %35, align 8, !tbaa !16
  br label %39

39:                                               ; preds = %34, %2
  %.1 = phi float [ %.0, %34 ], [ %25, %2 ]
  %40 = getelementptr inbounds i8, ptr %1, i64 12
  %41 = load i8, ptr %40, align 4, !tbaa !25, !range !13, !noundef !14
  %42 = getelementptr inbounds i8, ptr %1, i64 13
  %43 = load i8, ptr %42, align 1, !tbaa !26, !range !13, !noundef !14
  %44 = shl nuw nsw i8 %43, 1
  %45 = or disjoint i8 %44, %41
  %46 = getelementptr inbounds i8, ptr %1, i64 14
  %47 = load i8, ptr %46, align 2, !tbaa !27, !range !13, !noundef !14
  %48 = shl nuw nsw i8 %47, 2
  %49 = or disjoint i8 %45, %48
  %50 = getelementptr inbounds i8, ptr %1, i64 19
  %51 = load i8, ptr %50, align 1, !tbaa !28, !range !13, !noundef !14
  %52 = shl nuw nsw i8 %51, 4
  %53 = or disjoint i8 %49, %52
  %54 = zext nneg i8 %53 to i32
  tail call void @_ZN6b2Draw8SetFlagsEj(ptr noundef nonnull align 8 dereferenceable(12) @g_debugDraw, i32 noundef %54)
  %55 = getelementptr inbounds i8, ptr %0, i64 98368
  %56 = load ptr, ptr %55, align 8, !tbaa !29
  %57 = getelementptr inbounds i8, ptr %1, i64 25
  %58 = load i8, ptr %57, align 1, !tbaa !30, !range !13, !noundef !14
  %59 = trunc nuw i8 %58 to i1
  tail call void @_ZN7b2World16SetAllowSleepingEb(ptr noundef nonnull align 8 dereferenceable(103296) %56, i1 noundef zeroext %59)
  %60 = load ptr, ptr %55, align 8, !tbaa !29
  %61 = getelementptr inbounds i8, ptr %1, i64 22
  %62 = load i8, ptr %61, align 2, !tbaa !31, !range !13, !noundef !14
  %63 = trunc nuw i8 %62 to i1
  tail call void @_ZN7b2World15SetWarmStartingEb(ptr noundef nonnull align 8 dereferenceable(103296) %60, i1 noundef zeroext %63)
  %64 = load ptr, ptr %55, align 8, !tbaa !29
  %65 = getelementptr inbounds i8, ptr %1, i64 23
  %66 = load i8, ptr %65, align 1, !tbaa !32, !range !13, !noundef !14
  %67 = trunc nuw i8 %66 to i1
  tail call void @_ZN7b2World20SetContinuousPhysicsEb(ptr noundef nonnull align 8 dereferenceable(103296) %64, i1 noundef zeroext %67)
  %68 = load ptr, ptr %55, align 8, !tbaa !29
  %69 = getelementptr inbounds i8, ptr %1, i64 24
  %70 = load i8, ptr %69, align 4, !tbaa !33, !range !13, !noundef !14
  %71 = trunc nuw i8 %70 to i1
  tail call void @_ZN7b2World14SetSubSteppingEb(ptr noundef nonnull align 8 dereferenceable(103296) %68, i1 noundef zeroext %71)
  %72 = getelementptr inbounds i8, ptr %0, i64 98336
  store i32 0, ptr %72, align 8, !tbaa !34
  %73 = load ptr, ptr %55, align 8, !tbaa !29
  %74 = getelementptr inbounds i8, ptr %1, i64 4
  %75 = load i32, ptr %74, align 4, !tbaa !35
  %76 = getelementptr inbounds i8, ptr %1, i64 8
  %77 = load i32, ptr %76, align 4, !tbaa !36
  tail call void @_ZN7b2World4StepEfii(ptr noundef nonnull align 8 dereferenceable(103296) %73, float noundef %.1, i32 noundef %75, i32 noundef %77)
  %78 = load ptr, ptr %55, align 8, !tbaa !29
  tail call void @_ZN7b2World13DrawDebugDataEv(ptr noundef nonnull align 8 dereferenceable(103296) %78)
  tail call void @_ZN9DebugDraw5FlushEv(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw)
  %79 = fcmp ogt float %.1, 0.000000e+00
  br i1 %79, label %80, label %84

80:                                               ; preds = %39
  %81 = getelementptr inbounds i8, ptr %0, i64 98412
  %82 = load i32, ptr %81, align 4, !tbaa !37
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %81, align 4, !tbaa !37
  br label %84

84:                                               ; preds = %80, %39
  %85 = getelementptr inbounds i8, ptr %1, i64 20
  %86 = load i8, ptr %85, align 4, !tbaa !38, !range !13, !noundef !14
  %87 = trunc nuw i8 %86 to i1
  br i1 %87, label %88, label %111

88:                                               ; preds = %84
  %89 = load ptr, ptr %55, align 8, !tbaa !29
  %90 = tail call noundef i32 @_ZNK7b2World12GetBodyCountEv(ptr noundef nonnull align 8 dereferenceable(103296) %89)
  %91 = load ptr, ptr %55, align 8, !tbaa !29
  %92 = tail call noundef i32 @_ZNK7b2World15GetContactCountEv(ptr noundef nonnull align 8 dereferenceable(103296) %91)
  %93 = load ptr, ptr %55, align 8, !tbaa !29
  %94 = tail call noundef i32 @_ZNK7b2World13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(103296) %93)
  %95 = getelementptr inbounds i8, ptr %0, i64 98360
  %96 = load i32, ptr %95, align 8, !tbaa !16
  tail call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %96, ptr noundef nonnull @.str.1, i32 noundef %90, i32 noundef %92, i32 noundef %94)
  %97 = load i32, ptr %95, align 8, !tbaa !16
  %98 = add nsw i32 %97, 16
  store i32 %98, ptr %95, align 8, !tbaa !16
  %99 = load ptr, ptr %55, align 8, !tbaa !29
  %100 = tail call noundef i32 @_ZNK7b2World13GetProxyCountEv(ptr noundef nonnull align 8 dereferenceable(103296) %99)
  %101 = load ptr, ptr %55, align 8, !tbaa !29
  %102 = tail call noundef i32 @_ZNK7b2World13GetTreeHeightEv(ptr noundef nonnull align 8 dereferenceable(103296) %101)
  %103 = load ptr, ptr %55, align 8, !tbaa !29
  %104 = tail call noundef i32 @_ZNK7b2World14GetTreeBalanceEv(ptr noundef nonnull align 8 dereferenceable(103296) %103)
  %105 = load ptr, ptr %55, align 8, !tbaa !29
  %106 = tail call noundef float @_ZNK7b2World14GetTreeQualityEv(ptr noundef nonnull align 8 dereferenceable(103296) %105)
  %107 = load i32, ptr %95, align 8, !tbaa !16
  %108 = fpext float %106 to double
  tail call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %107, ptr noundef nonnull @.str.2, i32 noundef %100, i32 noundef %102, i32 noundef %104, double noundef %108)
  %109 = load i32, ptr %95, align 8, !tbaa !16
  %110 = add nsw i32 %109, 16
  store i32 %110, ptr %95, align 8, !tbaa !16
  br label %111

111:                                              ; preds = %88, %84
  %112 = load ptr, ptr %55, align 8, !tbaa !29
  %113 = tail call noundef nonnull align 4 dereferenceable(32) ptr @_ZNK7b2World10GetProfileEv(ptr noundef nonnull align 8 dereferenceable(103296) %112)
  %114 = getelementptr inbounds i8, ptr %0, i64 98416
  %115 = load float, ptr %114, align 8, !tbaa !39
  %116 = load float, ptr %113, align 4, !tbaa !40
  %117 = tail call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %115, float noundef %116)
  store float %117, ptr %114, align 8, !tbaa !39
  %118 = getelementptr inbounds i8, ptr %0, i64 98420
  %119 = load float, ptr %118, align 4, !tbaa !41
  %120 = getelementptr inbounds i8, ptr %113, i64 4
  %121 = load float, ptr %120, align 4, !tbaa !42
  %122 = tail call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %119, float noundef %121)
  store float %122, ptr %118, align 4, !tbaa !41
  %123 = getelementptr inbounds i8, ptr %0, i64 98424
  %124 = load float, ptr %123, align 8, !tbaa !43
  %125 = getelementptr inbounds i8, ptr %113, i64 8
  %126 = load float, ptr %125, align 4, !tbaa !44
  %127 = tail call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %124, float noundef %126)
  store float %127, ptr %123, align 8, !tbaa !43
  %128 = getelementptr inbounds i8, ptr %0, i64 98428
  %129 = load float, ptr %128, align 4, !tbaa !45
  %130 = getelementptr inbounds i8, ptr %113, i64 12
  %131 = load float, ptr %130, align 4, !tbaa !46
  %132 = tail call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %129, float noundef %131)
  store float %132, ptr %128, align 4, !tbaa !45
  %133 = getelementptr inbounds i8, ptr %0, i64 98432
  %134 = load float, ptr %133, align 8, !tbaa !47
  %135 = getelementptr inbounds i8, ptr %113, i64 16
  %136 = load float, ptr %135, align 4, !tbaa !48
  %137 = tail call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %134, float noundef %136)
  store float %137, ptr %133, align 8, !tbaa !47
  %138 = getelementptr inbounds i8, ptr %0, i64 98436
  %139 = load float, ptr %138, align 4, !tbaa !49
  %140 = getelementptr inbounds i8, ptr %113, i64 20
  %141 = load float, ptr %140, align 4, !tbaa !50
  %142 = tail call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %139, float noundef %141)
  store float %142, ptr %138, align 4, !tbaa !49
  %143 = getelementptr inbounds i8, ptr %0, i64 98444
  %144 = load float, ptr %143, align 4, !tbaa !51
  %145 = getelementptr inbounds i8, ptr %113, i64 28
  %146 = load float, ptr %145, align 4, !tbaa !52
  %147 = tail call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %144, float noundef %146)
  store float %147, ptr %143, align 4, !tbaa !51
  %148 = getelementptr inbounds i8, ptr %0, i64 98440
  %149 = load float, ptr %148, align 8, !tbaa !53
  %150 = getelementptr inbounds i8, ptr %113, i64 24
  %151 = load float, ptr %150, align 4, !tbaa !54
  %152 = tail call noundef float @_Z5b2MaxIfET_S0_S0_(float noundef %149, float noundef %151)
  store float %152, ptr %148, align 8, !tbaa !53
  %153 = getelementptr inbounds i8, ptr %0, i64 98448
  %154 = load <4 x float>, ptr %113, align 4, !tbaa !55
  %155 = load <4 x float>, ptr %153, align 8, !tbaa !55
  %156 = fadd <4 x float> %154, %155
  store <4 x float> %156, ptr %153, align 8, !tbaa !55
  %157 = getelementptr inbounds i8, ptr %0, i64 98464
  %158 = load <4 x float>, ptr %135, align 4, !tbaa !55
  %159 = load <4 x float>, ptr %157, align 8, !tbaa !55
  %160 = fadd <4 x float> %158, %159
  store <4 x float> %160, ptr %157, align 8, !tbaa !55
  %161 = getelementptr inbounds i8, ptr %1, i64 21
  %162 = load i8, ptr %161, align 1, !tbaa !56, !range !13, !noundef !14
  %163 = trunc nuw i8 %162 to i1
  br i1 %163, label %164, label %245

164:                                              ; preds = %111
  %165 = load ptr, ptr %55, align 8, !tbaa !29
  %166 = tail call noundef nonnull align 4 dereferenceable(32) ptr @_ZNK7b2World10GetProfileEv(ptr noundef nonnull align 8 dereferenceable(103296) %165)
  %167 = getelementptr inbounds i8, ptr %0, i64 98412
  %168 = load i32, ptr %167, align 4, !tbaa !37
  %169 = icmp sgt i32 %168, 0
  br i1 %169, label %170, label %178

170:                                              ; preds = %164
  %171 = uitofp nneg i32 %168 to float
  %172 = fdiv float 1.000000e+00, %171
  %173 = load <8 x float>, ptr %153, align 8, !tbaa !55
  %174 = insertelement <8 x float> poison, float %172, i64 0
  %175 = shufflevector <8 x float> %174, <8 x float> poison, <8 x i32> zeroinitializer
  %176 = fmul <8 x float> %175, %173
  %177 = fpext <8 x float> %176 to <8 x double>
  br label %178

178:                                              ; preds = %170, %164
  %179 = phi <8 x double> [ %177, %170 ], [ zeroinitializer, %164 ]
  %180 = getelementptr inbounds i8, ptr %0, i64 98360
  %181 = load i32, ptr %180, align 8, !tbaa !16
  %182 = load float, ptr %166, align 4, !tbaa !40
  %183 = fpext float %182 to double
  %184 = load float, ptr %114, align 8, !tbaa !39
  %185 = fpext float %184 to double
  %186 = extractelement <8 x double> %179, i64 0
  tail call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %181, ptr noundef nonnull @.str.3, double noundef %183, double noundef %186, double noundef %185)
  %187 = load i32, ptr %180, align 8, !tbaa !16
  %188 = add nsw i32 %187, 16
  store i32 %188, ptr %180, align 8, !tbaa !16
  %189 = getelementptr inbounds i8, ptr %166, i64 4
  %190 = load float, ptr %189, align 4, !tbaa !42
  %191 = fpext float %190 to double
  %192 = load float, ptr %118, align 4, !tbaa !41
  %193 = fpext float %192 to double
  %194 = extractelement <8 x double> %179, i64 1
  tail call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %188, ptr noundef nonnull @.str.4, double noundef %191, double noundef %194, double noundef %193)
  %195 = load i32, ptr %180, align 8, !tbaa !16
  %196 = add nsw i32 %195, 16
  store i32 %196, ptr %180, align 8, !tbaa !16
  %197 = getelementptr inbounds i8, ptr %166, i64 8
  %198 = load float, ptr %197, align 4, !tbaa !44
  %199 = fpext float %198 to double
  %200 = load float, ptr %123, align 8, !tbaa !43
  %201 = fpext float %200 to double
  %202 = extractelement <8 x double> %179, i64 2
  tail call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %196, ptr noundef nonnull @.str.5, double noundef %199, double noundef %202, double noundef %201)
  %203 = load i32, ptr %180, align 8, !tbaa !16
  %204 = add nsw i32 %203, 16
  store i32 %204, ptr %180, align 8, !tbaa !16
  %205 = getelementptr inbounds i8, ptr %166, i64 12
  %206 = load float, ptr %205, align 4, !tbaa !46
  %207 = fpext float %206 to double
  %208 = load float, ptr %128, align 4, !tbaa !45
  %209 = fpext float %208 to double
  %210 = extractelement <8 x double> %179, i64 3
  tail call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %204, ptr noundef nonnull @.str.6, double noundef %207, double noundef %210, double noundef %209)
  %211 = load i32, ptr %180, align 8, !tbaa !16
  %212 = add nsw i32 %211, 16
  store i32 %212, ptr %180, align 8, !tbaa !16
  %213 = getelementptr inbounds i8, ptr %166, i64 16
  %214 = load float, ptr %213, align 4, !tbaa !48
  %215 = fpext float %214 to double
  %216 = load float, ptr %133, align 8, !tbaa !47
  %217 = fpext float %216 to double
  %218 = extractelement <8 x double> %179, i64 4
  tail call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %212, ptr noundef nonnull @.str.7, double noundef %215, double noundef %218, double noundef %217)
  %219 = load i32, ptr %180, align 8, !tbaa !16
  %220 = add nsw i32 %219, 16
  store i32 %220, ptr %180, align 8, !tbaa !16
  %221 = getelementptr inbounds i8, ptr %166, i64 20
  %222 = load float, ptr %221, align 4, !tbaa !50
  %223 = fpext float %222 to double
  %224 = load float, ptr %138, align 4, !tbaa !49
  %225 = fpext float %224 to double
  %226 = extractelement <8 x double> %179, i64 5
  tail call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %220, ptr noundef nonnull @.str.8, double noundef %223, double noundef %226, double noundef %225)
  %227 = load i32, ptr %180, align 8, !tbaa !16
  %228 = add nsw i32 %227, 16
  store i32 %228, ptr %180, align 8, !tbaa !16
  %229 = getelementptr inbounds i8, ptr %166, i64 28
  %230 = load float, ptr %229, align 4, !tbaa !52
  %231 = fpext float %230 to double
  %232 = load float, ptr %143, align 4, !tbaa !51
  %233 = fpext float %232 to double
  %234 = extractelement <8 x double> %179, i64 7
  tail call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %228, ptr noundef nonnull @.str.9, double noundef %231, double noundef %234, double noundef %233)
  %235 = load i32, ptr %180, align 8, !tbaa !16
  %236 = add nsw i32 %235, 16
  store i32 %236, ptr %180, align 8, !tbaa !16
  %237 = getelementptr inbounds i8, ptr %166, i64 24
  %238 = load float, ptr %237, align 4, !tbaa !54
  %239 = fpext float %238 to double
  %240 = load float, ptr %148, align 8, !tbaa !53
  %241 = fpext float %240 to double
  %242 = extractelement <8 x double> %179, i64 6
  tail call void (ptr, i32, i32, ptr, ...) @_ZN9DebugDraw10DrawStringEiiPKcz(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, i32 noundef 5, i32 noundef %236, ptr noundef nonnull @.str.10, double noundef %239, double noundef %242, double noundef %241)
  %243 = load i32, ptr %180, align 8, !tbaa !16
  %244 = add nsw i32 %243, 16
  store i32 %244, ptr %180, align 8, !tbaa !16
  br label %245

245:                                              ; preds = %178, %111
  %246 = getelementptr inbounds i8, ptr %0, i64 98384
  %247 = load ptr, ptr %246, align 8, !tbaa !57
  %.not = icmp eq ptr %247, null
  br i1 %.not, label %256, label %248

248:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %249 = load ptr, ptr %247, align 8, !tbaa !58
  %250 = getelementptr inbounds i8, ptr %249, i64 8
  %251 = load ptr, ptr %250, align 8
  %252 = tail call <2 x float> %251(ptr noundef nonnull align 8 dereferenceable(228) %247)
  store <2 x float> %252, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %253 = load ptr, ptr %246, align 8, !tbaa !57
  %254 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK12b2MouseJoint9GetTargetEv(ptr noundef nonnull align 8 dereferenceable(228) %253)
  %255 = load i64, ptr %254, align 4
  store i64 %255, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @_ZN7b2ColorC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5)
  call void @_ZN7b2Color3SetEffff(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @_ZN9DebugDraw9DrawPointERK6b2Vec2fRK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef 4.000000e+00, ptr noundef nonnull align 4 dereferenceable(16) %5)
  call void @_ZN9DebugDraw9DrawPointERK6b2Vec2fRK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef 4.000000e+00, ptr noundef nonnull align 4 dereferenceable(16) %5)
  call void @_ZN7b2Color3SetEffff(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 1.000000e+00)
  call void @_ZN9DebugDraw11DrawSegmentERK6b2Vec2S2_RK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(16) %5)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  br label %256

256:                                              ; preds = %248, %245
  %257 = getelementptr inbounds i8, ptr %0, i64 98400
  %258 = load i8, ptr %257, align 8, !tbaa !60, !range !13, !noundef !14
  %259 = trunc nuw i8 %258 to i1
  br i1 %259, label %260, label %263

260:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  call void @_ZN7b2ColorC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %6)
  call void @_ZN7b2Color3SetEffff(ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %261 = getelementptr inbounds i8, ptr %0, i64 98392
  call void @_ZN9DebugDraw9DrawPointERK6b2Vec2fRK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %261, float noundef 4.000000e+00, ptr noundef nonnull align 4 dereferenceable(16) %6)
  call void @_ZN7b2Color3SetEffff(ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 1.000000e+00)
  %262 = getelementptr inbounds i8, ptr %0, i64 98404
  call void @_ZN9DebugDraw11DrawSegmentERK6b2Vec2S2_RK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %262, ptr noundef nonnull align 4 dereferenceable(8) %261, ptr noundef nonnull align 4 dereferenceable(16) %6)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  br label %263

263:                                              ; preds = %260, %256
  %264 = getelementptr inbounds i8, ptr %1, i64 15
  %265 = load i8, ptr %264, align 1, !tbaa !61, !range !13, !noundef !14
  %266 = trunc nuw i8 %265 to i1
  %267 = load i32, ptr %72, align 8
  %268 = icmp sgt i32 %267, 0
  %or.cond = select i1 %266, i1 %268, i1 false
  br i1 %or.cond, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %263
  %269 = getelementptr inbounds i8, ptr %0, i64 32
  %270 = getelementptr inbounds i8, ptr %1, i64 16
  %271 = getelementptr inbounds i8, ptr %1, i64 17
  %272 = getelementptr inbounds i8, ptr %1, i64 18
  br label %273

273:                                              ; preds = %.lr.ph, %315
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %315 ]
  %274 = getelementptr inbounds %struct.ContactPoint, ptr %269, i64 %indvars.iv
  %275 = getelementptr inbounds i8, ptr %274, i64 32
  %276 = load i32, ptr %275, align 8, !tbaa !62
  switch i32 %276, label %281 [
    i32 1, label %277
    i32 2, label %279
  ]

277:                                              ; preds = %273
  %278 = getelementptr inbounds i8, ptr %274, i64 24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  call void @_ZN7b2ColorC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %7, float noundef 0x3FD3333340000000, float noundef 0x3FEE666660000000, float noundef 0x3FD3333340000000, float noundef 1.000000e+00)
  call void @_ZN9DebugDraw9DrawPointERK6b2Vec2fRK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %278, float noundef 1.000000e+01, ptr noundef nonnull align 4 dereferenceable(16) %7)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %281

279:                                              ; preds = %273
  %280 = getelementptr inbounds i8, ptr %274, i64 24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  call void @_ZN7b2ColorC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef 0x3FD3333340000000, float noundef 0x3FD3333340000000, float noundef 0x3FEE666660000000, float noundef 1.000000e+00)
  call void @_ZN9DebugDraw9DrawPointERK6b2Vec2fRK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %280, float noundef 5.000000e+00, ptr noundef nonnull align 4 dereferenceable(16) %8)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  br label %281

281:                                              ; preds = %273, %279, %277
  %282 = load i8, ptr %270, align 4, !tbaa !65, !range !13, !noundef !14
  %283 = trunc nuw i8 %282 to i1
  br i1 %283, label %284, label %290

284:                                              ; preds = %281
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %285 = getelementptr inbounds i8, ptr %274, i64 24
  %286 = load i64, ptr %285, align 8
  store i64 %286, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %287 = getelementptr inbounds i8, ptr %274, i64 16
  %288 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef 0x3FD3333340000000, ptr noundef nonnull align 4 dereferenceable(8) %287)
  store <2 x float> %288, ptr %11, align 8
  %289 = call <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %289, ptr %10, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  call void @_ZN7b2ColorC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %12, float noundef 0x3FECCCCCC0000000, float noundef 0x3FECCCCCC0000000, float noundef 0x3FECCCCCC0000000, float noundef 1.000000e+00)
  call void @_ZN9DebugDraw11DrawSegmentERK6b2Vec2S2_RK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(16) %12)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  br label %302

290:                                              ; preds = %281
  %291 = load i8, ptr %271, align 1, !tbaa !66, !range !13, !noundef !14
  %292 = trunc nuw i8 %291 to i1
  br i1 %292, label %293, label %302

293:                                              ; preds = %290
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %294 = getelementptr inbounds i8, ptr %274, i64 24
  %295 = load i64, ptr %294, align 8
  store i64 %295, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %296 = getelementptr inbounds i8, ptr %274, i64 36
  %297 = load float, ptr %296, align 4, !tbaa !67
  %298 = fmul float %297, 0x3FB99999A0000000
  %299 = getelementptr inbounds i8, ptr %274, i64 16
  %300 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef %298, ptr noundef nonnull align 4 dereferenceable(8) %299)
  store <2 x float> %300, ptr %15, align 8
  %301 = call <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %301, ptr %14, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  call void @_ZN7b2ColorC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %16, float noundef 0x3FECCCCCC0000000, float noundef 0x3FECCCCCC0000000, float noundef 0x3FD3333340000000, float noundef 1.000000e+00)
  call void @_ZN9DebugDraw11DrawSegmentERK6b2Vec2S2_RK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(16) %16)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %302

302:                                              ; preds = %290, %293, %284
  %303 = load i8, ptr %272, align 2, !tbaa !68, !range !13, !noundef !14
  %304 = trunc nuw i8 %303 to i1
  br i1 %304, label %305, label %315

305:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  %306 = getelementptr inbounds i8, ptr %274, i64 16
  %307 = call <2 x float> @_Z7b2CrossRK6b2Vec2f(ptr noundef nonnull align 4 dereferenceable(8) %306, float noundef 1.000000e+00)
  store <2 x float> %307, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  %308 = getelementptr inbounds i8, ptr %274, i64 24
  %309 = load i64, ptr %308, align 8
  store i64 %309, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %310 = getelementptr inbounds i8, ptr %274, i64 40
  %311 = load float, ptr %310, align 8, !tbaa !69
  %312 = fmul float %311, 0x3FB99999A0000000
  %313 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef %312, ptr noundef nonnull align 4 dereferenceable(8) %17)
  store <2 x float> %313, ptr %20, align 8
  %314 = call <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %20)
  store <2 x float> %314, ptr %19, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #6
  call void @_ZN7b2ColorC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %21, float noundef 0x3FECCCCCC0000000, float noundef 0x3FECCCCCC0000000, float noundef 0x3FD3333340000000, float noundef 1.000000e+00)
  call void @_ZN9DebugDraw11DrawSegmentERK6b2Vec2S2_RK7b2Color(ptr noundef nonnull align 8 dereferenceable(40) @g_debugDraw, ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(16) %21)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  br label %315

315:                                              ; preds = %305, %302
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %316 = load i32, ptr %72, align 8, !tbaa !34
  %317 = sext i32 %316 to i64
  %318 = icmp slt i64 %indvars.iv.next, %317
  br i1 %318, label %273, label %.loopexit, !llvm.loop !70

.loopexit:                                        ; preds = %315, %263
  ret void
}

declare void @_ZN6b2Draw8SetFlagsEj(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef) local_unnamed_addr #1

declare void @_ZN7b2World16SetAllowSleepingEb(ptr noundef nonnull align 8 dereferenceable(103296), i1 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7b2World15SetWarmStartingEb(ptr noundef nonnull align 8 dereferenceable(103296), i1 noundef zeroext) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7b2World20SetContinuousPhysicsEb(ptr noundef nonnull align 8 dereferenceable(103296), i1 noundef zeroext) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7b2World14SetSubSteppingEb(ptr noundef nonnull align 8 dereferenceable(103296), i1 noundef zeroext) local_unnamed_addr #4 align 2

declare void @_ZN7b2World4StepEfii(ptr noundef nonnull align 8 dereferenceable(103296), float noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @_ZN7b2World13DrawDebugDataEv(ptr noundef nonnull align 8 dereferenceable(103296)) local_unnamed_addr #1

declare void @_ZN9DebugDraw5FlushEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7b2World12GetBodyCountEv(ptr noundef nonnull align 8 dereferenceable(103296)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7b2World15GetContactCountEv(ptr noundef nonnull align 8 dereferenceable(103296)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7b2World13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(103296)) local_unnamed_addr #5 align 2

declare noundef i32 @_ZNK7b2World13GetProxyCountEv(ptr noundef nonnull align 8 dereferenceable(103296)) local_unnamed_addr #1

declare noundef i32 @_ZNK7b2World13GetTreeHeightEv(ptr noundef nonnull align 8 dereferenceable(103296)) local_unnamed_addr #1

declare noundef i32 @_ZNK7b2World14GetTreeBalanceEv(ptr noundef nonnull align 8 dereferenceable(103296)) local_unnamed_addr #1

declare noundef float @_ZNK7b2World14GetTreeQualityEv(ptr noundef nonnull align 8 dereferenceable(103296)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(32) ptr @_ZNK7b2World10GetProfileEv(ptr noundef nonnull align 8 dereferenceable(103296)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z5b2MaxIfET_S0_S0_(float noundef, float noundef) local_unnamed_addr #5

declare noundef nonnull align 4 dereferenceable(8) ptr @_ZNK12b2MouseJoint9GetTargetEv(ptr noundef nonnull align 8 dereferenceable(228)) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7b2Color3SetEffff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #4 align 2

declare void @_ZN9DebugDraw9DrawPointERK6b2Vec2fRK7b2Color(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(8), float noundef, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1

declare void @_ZN9DebugDraw11DrawSegmentERK6b2Vec2S2_RK7b2Color(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Z7b2CrossRK6b2Vec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "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"="64" "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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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, !7, i64 0}
!6 = !{!"_ZTS8Settings", !7, i64 0, !10, i64 4, !10, i64 8, !11, i64 12, !11, i64 13, !11, i64 14, !11, i64 15, !11, i64 16, !11, i64 17, !11, i64 18, !11, i64 19, !11, i64 20, !11, i64 21, !11, i64 22, !11, i64 23, !11, i64 24, !11, i64 25, !11, i64 26, !11, i64 27}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!6, !11, i64 26}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!6, !11, i64 27}
!16 = !{!17, !10, i64 98360}
!17 = !{!"_ZTS4Test", !18, i64 0, !19, i64 8, !20, i64 16, !8, i64 32, !10, i64 98336, !22, i64 98344, !10, i64 98360, !19, i64 98368, !19, i64 98376, !19, i64 98384, !21, i64 98392, !11, i64 98400, !21, i64 98404, !10, i64 98412, !24, i64 98416, !24, i64 98448}
!18 = !{!"_ZTS17b2ContactListener"}
!19 = !{!"any pointer", !8, i64 0}
!20 = !{!"_ZTS6b2AABB", !21, i64 0, !21, i64 8}
!21 = !{!"_ZTS6b2Vec2", !7, i64 0, !7, i64 4}
!22 = !{!"_ZTS19DestructionListener", !23, i64 0, !19, i64 8}
!23 = !{!"_ZTS21b2DestructionListener"}
!24 = !{!"_ZTS9b2Profile", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28}
!25 = !{!6, !11, i64 12}
!26 = !{!6, !11, i64 13}
!27 = !{!6, !11, i64 14}
!28 = !{!6, !11, i64 19}
!29 = !{!17, !19, i64 98368}
!30 = !{!6, !11, i64 25}
!31 = !{!6, !11, i64 22}
!32 = !{!6, !11, i64 23}
!33 = !{!6, !11, i64 24}
!34 = !{!17, !10, i64 98336}
!35 = !{!6, !10, i64 4}
!36 = !{!6, !10, i64 8}
!37 = !{!17, !10, i64 98412}
!38 = !{!6, !11, i64 20}
!39 = !{!17, !7, i64 98416}
!40 = !{!24, !7, i64 0}
!41 = !{!17, !7, i64 98420}
!42 = !{!24, !7, i64 4}
!43 = !{!17, !7, i64 98424}
!44 = !{!24, !7, i64 8}
!45 = !{!17, !7, i64 98428}
!46 = !{!24, !7, i64 12}
!47 = !{!17, !7, i64 98432}
!48 = !{!24, !7, i64 16}
!49 = !{!17, !7, i64 98436}
!50 = !{!24, !7, i64 20}
!51 = !{!17, !7, i64 98444}
!52 = !{!24, !7, i64 28}
!53 = !{!17, !7, i64 98440}
!54 = !{!24, !7, i64 24}
!55 = !{!7, !7, i64 0}
!56 = !{!6, !11, i64 21}
!57 = !{!17, !19, i64 98384}
!58 = !{!59, !59, i64 0}
!59 = !{!"vtable pointer", !9, i64 0}
!60 = !{!17, !11, i64 98400}
!61 = !{!6, !11, i64 15}
!62 = !{!63, !64, i64 32}
!63 = !{!"_ZTS12ContactPoint", !19, i64 0, !19, i64 8, !21, i64 16, !21, i64 24, !64, i64 32, !7, i64 36, !7, i64 40, !7, i64 44}
!64 = !{!"_ZTS12b2PointState", !8, i64 0}
!65 = !{!6, !11, i64 16}
!66 = !{!6, !11, i64 17}
!67 = !{!63, !7, i64 36}
!68 = !{!6, !11, i64 18}
!69 = !{!63, !7, i64 40}
!70 = distinct !{!70, !71}
!71 = !{!"llvm.loop.mustprogress"}


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