; LLVM IR from erincatto/box2d :: samples/doohickey.ll (ZN9Doohickey5SpawnE9b2WorldId6b2Vec2f)

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

%struct.b2WorldId = type { i16, i16 }
%struct.b2Vec2 = type { float, float }
%struct.b2BodyDef = type { i32, %struct.b2Vec2, %struct.b2Rot, %struct.b2Vec2, float, float, float, float, float, ptr, ptr, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2Rot = type { float, float }
%struct.b2ShapeDef = type { ptr, %struct.b2SurfaceMaterial, float, %struct.b2Filter, i8, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2SurfaceMaterial = type { float, float, float, float, i32, i32 }
%struct.b2Filter = type { i64, i64, i32 }
%struct.b2Circle = type { %struct.b2Vec2, float }
%struct.b2Capsule = type { %struct.b2Vec2, %struct.b2Vec2, float }
%struct.b2BodyId = type { i32, i16, i16 }
%struct.b2ShapeId = type { i32, i16, i16 }
%struct.b2RevoluteJointDef = type { %struct.b2BodyId, %struct.b2BodyId, %struct.b2Vec2, %struct.b2Vec2, float, i8, float, float, i8, float, float, i8, float, float, float, i8, ptr, i32 }
%struct.b2JointId = type { i32, i16, i16 }
%struct.b2PrismaticJointDef = type { %struct.b2BodyId, %struct.b2BodyId, %struct.b2Vec2, %struct.b2Vec2, %struct.b2Vec2, float, i8, float, float, i8, float, float, i8, float, float, i8, ptr, i32 }
%class.Doohickey = type <{ %struct.b2BodyId, %struct.b2BodyId, %struct.b2BodyId, %struct.b2BodyId, %struct.b2JointId, %struct.b2JointId, %struct.b2JointId, i8, [3 x i8] }>

@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [71 x i8], align 1
@__PRETTY_FUNCTION__._ZN9Doohickey5SpawnE9b2WorldId6b2Vec2f = 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: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, 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: mustprogress uwtable
define dso_local void @_ZN9Doohickey5SpawnE9b2WorldId6b2Vec2f(ptr noundef nonnull align 4 dereferenceable(57) %0, i32 %1, <2 x float> %2, float noundef %3) #2 align 2 {
  %5 = alloca %struct.b2WorldId, align 2
  %6 = alloca %struct.b2Vec2, align 4
  %7 = alloca ptr, align 8
  %8 = alloca float, align 4
  %9 = alloca %struct.b2BodyDef, align 8
  %10 = alloca %struct.b2ShapeDef, align 8
  %11 = alloca %struct.b2Circle, align 4
  %12 = alloca %struct.b2Capsule, align 4
  %13 = alloca %struct.b2Vec2, align 4
  %14 = alloca %struct.b2Vec2, align 4
  %15 = alloca %struct.b2Vec2, align 4
  %16 = alloca %struct.b2BodyId, align 4
  %17 = alloca %struct.b2WorldId, align 2
  %18 = alloca %struct.b2BodyId, align 4
  %19 = alloca %struct.b2ShapeId, align 4
  %20 = alloca %struct.b2Vec2, align 4
  %21 = alloca %struct.b2Vec2, align 4
  %22 = alloca %struct.b2Vec2, align 4
  %23 = alloca %struct.b2BodyId, align 4
  %24 = alloca %struct.b2WorldId, align 2
  %25 = alloca %struct.b2BodyId, align 4
  %26 = alloca %struct.b2ShapeId, align 4
  %27 = alloca %struct.b2Vec2, align 4
  %28 = alloca %struct.b2Vec2, align 4
  %29 = alloca %struct.b2Vec2, align 4
  %30 = alloca %struct.b2BodyId, align 4
  %31 = alloca %struct.b2WorldId, align 2
  %32 = alloca %struct.b2BodyId, align 4
  %33 = alloca %struct.b2ShapeId, align 4
  %34 = alloca %struct.b2Vec2, align 4
  %35 = alloca %struct.b2Vec2, align 4
  %36 = alloca %struct.b2Vec2, align 4
  %37 = alloca %struct.b2BodyId, align 4
  %38 = alloca %struct.b2WorldId, align 2
  %39 = alloca %struct.b2BodyId, align 4
  %40 = alloca %struct.b2ShapeId, align 4
  %41 = alloca %struct.b2RevoluteJointDef, align 8
  %42 = alloca %struct.b2Vec2, align 4
  %43 = alloca %struct.b2Vec2, align 4
  %44 = alloca %struct.b2WorldId, align 2
  %45 = alloca %struct.b2JointId, align 4
  %46 = alloca %struct.b2Vec2, align 4
  %47 = alloca %struct.b2Vec2, align 4
  %48 = alloca %struct.b2WorldId, align 2
  %49 = alloca %struct.b2JointId, align 4
  %50 = alloca %struct.b2PrismaticJointDef, align 8
  %51 = alloca %struct.b2Vec2, align 4
  %52 = alloca %struct.b2Vec2, align 4
  %53 = alloca %struct.b2Vec2, align 4
  %54 = alloca %struct.b2WorldId, align 2
  %55 = alloca %struct.b2JointId, align 4
  store i32 %1, ptr %5, align 2
  store <2 x float> %2, ptr %6, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store float %3, ptr %8, align 4, !tbaa !9
  %56 = load ptr, ptr %7, align 8
  %57 = getelementptr inbounds %class.Doohickey, ptr %56, i32 0, i32 7
  %58 = load i8, ptr %57, align 4, !tbaa !11, !range !18, !noundef !19
  %59 = trunc i8 %58 to i1
  %60 = zext i1 %59 to i32
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %62, label %63

62:                                               ; preds = %4
  br label %65

63:                                               ; preds = %4
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 27, ptr noundef @__PRETTY_FUNCTION__._ZN9Doohickey5SpawnE9b2WorldId6b2Vec2f) #6
  unreachable

64:                                               ; No predecessors!
  br label %65

65:                                               ; preds = %64, %62
  call void @llvm.lifetime.start.p0(i64 80, ptr %9) #7
  call void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8 %9)
  %66 = getelementptr inbounds %struct.b2BodyDef, ptr %9, i32 0, i32 0
  store i32 2, ptr %66, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 80, ptr %10) #7
  call void @b2DefaultShapeDef(ptr dead_on_unwind writable sret(%struct.b2ShapeDef) align 8 %10)
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #7
  %67 = getelementptr inbounds %struct.b2Circle, ptr %11, i32 0, i32 0
  %68 = getelementptr inbounds %struct.b2Vec2, ptr %67, i32 0, i32 0
  store float 0.000000e+00, ptr %68, align 4, !tbaa !25
  %69 = getelementptr inbounds %struct.b2Vec2, ptr %67, i32 0, i32 1
  store float 0.000000e+00, ptr %69, align 4, !tbaa !26
  %70 = getelementptr inbounds %struct.b2Circle, ptr %11, i32 0, i32 1
  %71 = load float, ptr %8, align 4, !tbaa !9
  %72 = fmul float 1.000000e+00, %71
  store float %72, ptr %70, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 20, ptr %12) #7
  %73 = getelementptr inbounds %struct.b2Capsule, ptr %12, i32 0, i32 0
  %74 = getelementptr inbounds %struct.b2Vec2, ptr %73, i32 0, i32 0
  %75 = load float, ptr %8, align 4, !tbaa !9
  %76 = fmul float -3.500000e+00, %75
  store float %76, ptr %74, align 4, !tbaa !25
  %77 = getelementptr inbounds %struct.b2Vec2, ptr %73, i32 0, i32 1
  store float 0.000000e+00, ptr %77, align 4, !tbaa !26
  %78 = getelementptr inbounds %struct.b2Capsule, ptr %12, i32 0, i32 1
  %79 = getelementptr inbounds %struct.b2Vec2, ptr %78, i32 0, i32 0
  %80 = load float, ptr %8, align 4, !tbaa !9
  %81 = fmul float 3.500000e+00, %80
  store float %81, ptr %79, align 4, !tbaa !25
  %82 = getelementptr inbounds %struct.b2Vec2, ptr %78, i32 0, i32 1
  store float 0.000000e+00, ptr %82, align 4, !tbaa !26
  %83 = getelementptr inbounds %struct.b2Capsule, ptr %12, i32 0, i32 2
  %84 = load float, ptr %8, align 4, !tbaa !9
  %85 = fmul float 0x3FC3333340000000, %84
  store float %85, ptr %83, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %6, i64 8, i1 false), !tbaa.struct !31
  %86 = load float, ptr %8, align 4, !tbaa !9
  %87 = getelementptr inbounds %struct.b2Vec2, ptr %15, i32 0, i32 0
  store float -5.000000e+00, ptr %87, align 4, !tbaa !25
  %88 = getelementptr inbounds %struct.b2Vec2, ptr %15, i32 0, i32 1
  store float 3.000000e+00, ptr %88, align 4, !tbaa !26
  %89 = load <2 x float>, ptr %14, align 4
  %90 = load <2 x float>, ptr %15, align 4
  %91 = call <2 x float> @_Z8b2MulAdd6b2Vec2fS_(<2 x float> %89, float noundef %86, <2 x float> %90)
  store <2 x float> %91, ptr %13, align 4
  %92 = getelementptr inbounds %struct.b2BodyDef, ptr %9, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %92, ptr align 4 %13, i64 8, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %17, ptr align 2 %5, i64 4, i1 false), !tbaa.struct !32
  %93 = load i32, ptr %17, align 2
  %94 = call i64 @b2CreateBody(i32 %93, ptr noundef %9)
  store i64 %94, ptr %16, align 4
  %95 = getelementptr inbounds %class.Doohickey, ptr %56, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %95, ptr align 4 %16, i64 8, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  %96 = getelementptr inbounds %class.Doohickey, ptr %56, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %96, i64 8, i1 false), !tbaa.struct !34
  %97 = load i64, ptr %18, align 4
  %98 = call i64 @b2CreateCircleShape(i64 %97, ptr noundef %10, ptr noundef %11)
  store i64 %98, ptr %19, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 4 %6, i64 8, i1 false), !tbaa.struct !31
  %99 = load float, ptr %8, align 4, !tbaa !9
  %100 = getelementptr inbounds %struct.b2Vec2, ptr %22, i32 0, i32 0
  store float 5.000000e+00, ptr %100, align 4, !tbaa !25
  %101 = getelementptr inbounds %struct.b2Vec2, ptr %22, i32 0, i32 1
  store float 3.000000e+00, ptr %101, align 4, !tbaa !26
  %102 = load <2 x float>, ptr %21, align 4
  %103 = load <2 x float>, ptr %22, align 4
  %104 = call <2 x float> @_Z8b2MulAdd6b2Vec2fS_(<2 x float> %102, float noundef %99, <2 x float> %103)
  store <2 x float> %104, ptr %20, align 4
  %105 = getelementptr inbounds %struct.b2BodyDef, ptr %9, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %105, ptr align 4 %20, i64 8, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %24, ptr align 2 %5, i64 4, i1 false), !tbaa.struct !32
  %106 = load i32, ptr %24, align 2
  %107 = call i64 @b2CreateBody(i32 %106, ptr noundef %9)
  store i64 %107, ptr %23, align 4
  %108 = getelementptr inbounds %class.Doohickey, ptr %56, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %108, ptr align 4 %23, i64 8, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  %109 = getelementptr inbounds %class.Doohickey, ptr %56, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %109, i64 8, i1 false), !tbaa.struct !34
  %110 = load i64, ptr %25, align 4
  %111 = call i64 @b2CreateCircleShape(i64 %110, ptr noundef %10, ptr noundef %11)
  store i64 %111, ptr %26, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %6, i64 8, i1 false), !tbaa.struct !31
  %112 = load float, ptr %8, align 4, !tbaa !9
  %113 = getelementptr inbounds %struct.b2Vec2, ptr %29, i32 0, i32 0
  store float -1.500000e+00, ptr %113, align 4, !tbaa !25
  %114 = getelementptr inbounds %struct.b2Vec2, ptr %29, i32 0, i32 1
  store float 3.000000e+00, ptr %114, align 4, !tbaa !26
  %115 = load <2 x float>, ptr %28, align 4
  %116 = load <2 x float>, ptr %29, align 4
  %117 = call <2 x float> @_Z8b2MulAdd6b2Vec2fS_(<2 x float> %115, float noundef %112, <2 x float> %116)
  store <2 x float> %117, ptr %27, align 4
  %118 = getelementptr inbounds %struct.b2BodyDef, ptr %9, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %118, ptr align 4 %27, i64 8, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %31, ptr align 2 %5, i64 4, i1 false), !tbaa.struct !32
  %119 = load i32, ptr %31, align 2
  %120 = call i64 @b2CreateBody(i32 %119, ptr noundef %9)
  store i64 %120, ptr %30, align 4
  %121 = getelementptr inbounds %class.Doohickey, ptr %56, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %121, ptr align 4 %30, i64 8, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  %122 = getelementptr inbounds %class.Doohickey, ptr %56, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %122, i64 8, i1 false), !tbaa.struct !34
  %123 = load i64, ptr %32, align 4
  %124 = call i64 @b2CreateCapsuleShape(i64 %123, ptr noundef %10, ptr noundef %12)
  store i64 %124, ptr %33, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %6, i64 8, i1 false), !tbaa.struct !31
  %125 = load float, ptr %8, align 4, !tbaa !9
  %126 = getelementptr inbounds %struct.b2Vec2, ptr %36, i32 0, i32 0
  store float 1.500000e+00, ptr %126, align 4, !tbaa !25
  %127 = getelementptr inbounds %struct.b2Vec2, ptr %36, i32 0, i32 1
  store float 3.000000e+00, ptr %127, align 4, !tbaa !26
  %128 = load <2 x float>, ptr %35, align 4
  %129 = load <2 x float>, ptr %36, align 4
  %130 = call <2 x float> @_Z8b2MulAdd6b2Vec2fS_(<2 x float> %128, float noundef %125, <2 x float> %129)
  store <2 x float> %130, ptr %34, align 4
  %131 = getelementptr inbounds %struct.b2BodyDef, ptr %9, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %131, ptr align 4 %34, i64 8, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %38, ptr align 2 %5, i64 4, i1 false), !tbaa.struct !32
  %132 = load i32, ptr %38, align 2
  %133 = call i64 @b2CreateBody(i32 %132, ptr noundef %9)
  store i64 %133, ptr %37, align 4
  %134 = getelementptr inbounds %class.Doohickey, ptr %56, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %134, ptr align 4 %37, i64 8, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  %135 = getelementptr inbounds %class.Doohickey, ptr %56, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 %135, i64 8, i1 false), !tbaa.struct !34
  %136 = load i64, ptr %39, align 4
  %137 = call i64 @b2CreateCapsuleShape(i64 %136, ptr noundef %10, ptr noundef %12)
  store i64 %137, ptr %40, align 4
  call void @llvm.lifetime.start.p0(i64 96, ptr %41) #7
  call void @b2DefaultRevoluteJointDef(ptr dead_on_unwind writable sret(%struct.b2RevoluteJointDef) align 8 %41)
  %138 = getelementptr inbounds %class.Doohickey, ptr %56, i32 0, i32 0
  %139 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %41, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %139, ptr align 4 %138, i64 8, i1 false), !tbaa.struct !34
  %140 = getelementptr inbounds %class.Doohickey, ptr %56, i32 0, i32 2
  %141 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %41, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %141, ptr align 4 %140, i64 8, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #7
  %142 = getelementptr inbounds %struct.b2Vec2, ptr %42, i32 0, i32 0
  store float 0.000000e+00, ptr %142, align 4, !tbaa !25
  %143 = getelementptr inbounds %struct.b2Vec2, ptr %42, i32 0, i32 1
  store float 0.000000e+00, ptr %143, align 4, !tbaa !26
  %144 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %41, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %144, ptr align 4 %42, i64 8, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %145 = getelementptr inbounds %struct.b2Vec2, ptr %43, i32 0, i32 0
  %146 = load float, ptr %8, align 4, !tbaa !9
  %147 = fmul float -3.500000e+00, %146
  store float %147, ptr %145, align 4, !tbaa !25
  %148 = getelementptr inbounds %struct.b2Vec2, ptr %43, i32 0, i32 1
  store float 0.000000e+00, ptr %148, align 4, !tbaa !26
  %149 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %41, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %149, ptr align 4 %43, i64 8, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  %150 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %41, i32 0, i32 11
  store i8 1, ptr %150, align 4, !tbaa !36
  %151 = load float, ptr %8, align 4, !tbaa !9
  %152 = fmul float 2.000000e+00, %151
  %153 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %41, i32 0, i32 12
  store float %152, ptr %153, align 8, !tbaa !38
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %44, ptr align 2 %5, i64 4, i1 false), !tbaa.struct !32
  %154 = load i32, ptr %44, align 2
  %155 = call i64 @b2CreateRevoluteJoint(i32 %154, ptr noundef %41)
  store i64 %155, ptr %45, align 4
  %156 = getelementptr inbounds %class.Doohickey, ptr %56, i32 0, i32 1
  %157 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %41, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %157, ptr align 4 %156, i64 8, i1 false), !tbaa.struct !34
  %158 = getelementptr inbounds %class.Doohickey, ptr %56, i32 0, i32 3
  %159 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %41, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %159, ptr align 4 %158, i64 8, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #7
  %160 = getelementptr inbounds %struct.b2Vec2, ptr %46, i32 0, i32 0
  store float 0.000000e+00, ptr %160, align 4, !tbaa !25
  %161 = getelementptr inbounds %struct.b2Vec2, ptr %46, i32 0, i32 1
  store float 0.000000e+00, ptr %161, align 4, !tbaa !26
  %162 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %41, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %162, ptr align 4 %46, i64 8, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #7
  %163 = getelementptr inbounds %struct.b2Vec2, ptr %47, i32 0, i32 0
  %164 = load float, ptr %8, align 4, !tbaa !9
  %165 = fmul float 3.500000e+00, %164
  store float %165, ptr %163, align 4, !tbaa !25
  %166 = getelementptr inbounds %struct.b2Vec2, ptr %47, i32 0, i32 1
  store float 0.000000e+00, ptr %166, align 4, !tbaa !26
  %167 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %41, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %167, ptr align 4 %47, i64 8, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  %168 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %41, i32 0, i32 11
  store i8 1, ptr %168, align 4, !tbaa !36
  %169 = load float, ptr %8, align 4, !tbaa !9
  %170 = fmul float 2.000000e+00, %169
  %171 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %41, i32 0, i32 12
  store float %170, ptr %171, align 8, !tbaa !38
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %48, ptr align 2 %5, i64 4, i1 false), !tbaa.struct !32
  %172 = load i32, ptr %48, align 2
  %173 = call i64 @b2CreateRevoluteJoint(i32 %172, ptr noundef %41)
  store i64 %173, ptr %49, align 4
  call void @llvm.lifetime.start.p0(i64 104, ptr %50) #7
  call void @b2DefaultPrismaticJointDef(ptr dead_on_unwind writable sret(%struct.b2PrismaticJointDef) align 8 %50)
  %174 = getelementptr inbounds %class.Doohickey, ptr %56, i32 0, i32 2
  %175 = getelementptr inbounds %struct.b2PrismaticJointDef, ptr %50, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %175, ptr align 4 %174, i64 8, i1 false), !tbaa.struct !34
  %176 = getelementptr inbounds %class.Doohickey, ptr %56, i32 0, i32 3
  %177 = getelementptr inbounds %struct.b2PrismaticJointDef, ptr %50, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %177, ptr align 4 %176, i64 8, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #7
  %178 = getelementptr inbounds %struct.b2Vec2, ptr %51, i32 0, i32 0
  store float 1.000000e+00, ptr %178, align 4, !tbaa !25
  %179 = getelementptr inbounds %struct.b2Vec2, ptr %51, i32 0, i32 1
  store float 0.000000e+00, ptr %179, align 4, !tbaa !26
  %180 = getelementptr inbounds %struct.b2PrismaticJointDef, ptr %50, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %180, ptr align 4 %51, i64 8, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #7
  %181 = getelementptr inbounds %struct.b2Vec2, ptr %52, i32 0, i32 0
  %182 = load float, ptr %8, align 4, !tbaa !9
  %183 = fmul float 2.000000e+00, %182
  store float %183, ptr %181, align 4, !tbaa !25
  %184 = getelementptr inbounds %struct.b2Vec2, ptr %52, i32 0, i32 1
  store float 0.000000e+00, ptr %184, align 4, !tbaa !26
  %185 = getelementptr inbounds %struct.b2PrismaticJointDef, ptr %50, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %185, ptr align 4 %52, i64 8, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #7
  %186 = getelementptr inbounds %struct.b2Vec2, ptr %53, i32 0, i32 0
  %187 = load float, ptr %8, align 4, !tbaa !9
  %188 = fmul float -2.000000e+00, %187
  store float %188, ptr %186, align 4, !tbaa !25
  %189 = getelementptr inbounds %struct.b2Vec2, ptr %53, i32 0, i32 1
  store float 0.000000e+00, ptr %189, align 4, !tbaa !26
  %190 = getelementptr inbounds %struct.b2PrismaticJointDef, ptr %50, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %190, ptr align 4 %53, i64 8, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  %191 = load float, ptr %8, align 4, !tbaa !9
  %192 = fmul float -2.000000e+00, %191
  %193 = getelementptr inbounds %struct.b2PrismaticJointDef, ptr %50, i32 0, i32 10
  store float %192, ptr %193, align 4, !tbaa !39
  %194 = load float, ptr %8, align 4, !tbaa !9
  %195 = fmul float 2.000000e+00, %194
  %196 = getelementptr inbounds %struct.b2PrismaticJointDef, ptr %50, i32 0, i32 11
  store float %195, ptr %196, align 8, !tbaa !41
  %197 = getelementptr inbounds %struct.b2PrismaticJointDef, ptr %50, i32 0, i32 9
  store i8 1, ptr %197, align 8, !tbaa !42
  %198 = getelementptr inbounds %struct.b2PrismaticJointDef, ptr %50, i32 0, i32 12
  store i8 1, ptr %198, align 4, !tbaa !43
  %199 = load float, ptr %8, align 4, !tbaa !9
  %200 = fmul float 2.000000e+00, %199
  %201 = getelementptr inbounds %struct.b2PrismaticJointDef, ptr %50, i32 0, i32 13
  store float %200, ptr %201, align 8, !tbaa !44
  %202 = getelementptr inbounds %struct.b2PrismaticJointDef, ptr %50, i32 0, i32 6
  store i8 1, ptr %202, align 4, !tbaa !45
  %203 = getelementptr inbounds %struct.b2PrismaticJointDef, ptr %50, i32 0, i32 7
  store float 1.000000e+00, ptr %203, align 8, !tbaa !46
  %204 = getelementptr inbounds %struct.b2PrismaticJointDef, ptr %50, i32 0, i32 8
  store float 5.000000e-01, ptr %204, align 4, !tbaa !47
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %54, ptr align 2 %5, i64 4, i1 false), !tbaa.struct !32
  %205 = load i32, ptr %54, align 2
  %206 = call i64 @b2CreatePrismaticJoint(i32 %205, ptr noundef %50)
  store i64 %206, ptr %55, align 4
  call void @llvm.lifetime.end.p0(i64 104, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 20, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %9) #7
  ret void
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

declare void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8) #4

declare void @b2DefaultShapeDef(ptr dead_on_unwind writable sret(%struct.b2ShapeDef) align 8) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local <2 x float> @_Z8b2MulAdd6b2Vec2fS_(<2 x float>, float noundef, <2 x float>) #5

declare i64 @b2CreateBody(i32, ptr noundef) #4

declare i64 @b2CreateCircleShape(i64, ptr noundef, ptr noundef) #4

declare i64 @b2CreateCapsuleShape(i64, ptr noundef, ptr noundef) #4

declare void @b2DefaultRevoluteJointDef(ptr dead_on_unwind writable sret(%struct.b2RevoluteJointDef) align 8) #4

declare i64 @b2CreateRevoluteJoint(i32, ptr noundef) #4

declare void @b2DefaultPrismaticJointDef(ptr dead_on_unwind writable sret(%struct.b2PrismaticJointDef) align 8) #4

declare i64 @b2CreatePrismaticJoint(i32, ptr noundef) #4

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !17, i64 56}
!12 = !{!"_ZTS9Doohickey", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !17, i64 56}
!13 = !{!"_ZTS8b2BodyId", !14, i64 0, !15, i64 4, !15, i64 6}
!14 = !{!"int", !7, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTS9b2JointId", !14, i64 0, !15, i64 4, !15, i64 6}
!17 = !{!"bool", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!21, !22, i64 0}
!21 = !{!"_ZTS9b2BodyDef", !22, i64 0, !23, i64 4, !24, i64 12, !23, i64 20, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !6, i64 48, !6, i64 56, !17, i64 64, !17, i64 65, !17, i64 66, !17, i64 67, !17, i64 68, !17, i64 69, !14, i64 72}
!22 = !{!"_ZTS10b2BodyType", !7, i64 0}
!23 = !{!"_ZTS6b2Vec2", !10, i64 0, !10, i64 4}
!24 = !{!"_ZTS5b2Rot", !10, i64 0, !10, i64 4}
!25 = !{!23, !10, i64 0}
!26 = !{!23, !10, i64 4}
!27 = !{!28, !10, i64 8}
!28 = !{!"_ZTS8b2Circle", !23, i64 0, !10, i64 8}
!29 = !{!30, !10, i64 16}
!30 = !{!"_ZTS9b2Capsule", !23, i64 0, !23, i64 8, !10, i64 16}
!31 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}
!32 = !{i64 0, i64 2, !33, i64 2, i64 2, !33}
!33 = !{!15, !15, i64 0}
!34 = !{i64 0, i64 4, !35, i64 4, i64 2, !33, i64 6, i64 2, !33}
!35 = !{!14, !14, i64 0}
!36 = !{!37, !17, i64 60}
!37 = !{!"_ZTS18b2RevoluteJointDef", !13, i64 0, !13, i64 8, !23, i64 16, !23, i64 24, !10, i64 32, !17, i64 36, !10, i64 40, !10, i64 44, !17, i64 48, !10, i64 52, !10, i64 56, !17, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !17, i64 76, !6, i64 80, !14, i64 88}
!38 = !{!37, !10, i64 64}
!39 = !{!40, !10, i64 60}
!40 = !{!"_ZTS19b2PrismaticJointDef", !13, i64 0, !13, i64 8, !23, i64 16, !23, i64 24, !23, i64 32, !10, i64 40, !17, i64 44, !10, i64 48, !10, i64 52, !17, i64 56, !10, i64 60, !10, i64 64, !17, i64 68, !10, i64 72, !10, i64 76, !17, i64 80, !6, i64 88, !14, i64 96}
!41 = !{!40, !10, i64 64}
!42 = !{!40, !17, i64 56}
!43 = !{!40, !17, i64 68}
!44 = !{!40, !10, i64 72}
!45 = !{!40, !17, i64 44}
!46 = !{!40, !10, i64 48}
!47 = !{!40, !10, i64 52}


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

%struct.b2BodyDef = type { i32, %struct.b2Vec2, %struct.b2Rot, %struct.b2Vec2, float, float, float, float, float, ptr, ptr, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2Rot = type { float, float }
%struct.b2Vec2 = type { float, float }
%struct.b2ShapeDef = type { ptr, %struct.b2SurfaceMaterial, float, %struct.b2Filter, i8, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2SurfaceMaterial = type { float, float, float, float, i32, i32 }
%struct.b2Filter = type { i64, i64, i32 }
%struct.b2Circle = type { %struct.b2Vec2, float }
%struct.b2Capsule = type { %struct.b2Vec2, %struct.b2Vec2, float }
%struct.b2RevoluteJointDef = type { %struct.b2BodyId, %struct.b2BodyId, %struct.b2Vec2, %struct.b2Vec2, float, i8, float, float, i8, float, float, i8, float, float, float, i8, ptr, i32 }
%struct.b2BodyId = type { i32, i16, i16 }
%struct.b2PrismaticJointDef = type { %struct.b2BodyId, %struct.b2BodyId, %struct.b2Vec2, %struct.b2Vec2, %struct.b2Vec2, float, i8, float, float, i8, float, float, i8, float, float, i8, ptr, i32 }

@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [71 x i8], align 1
@__PRETTY_FUNCTION__._ZN9Doohickey5SpawnE9b2WorldId6b2Vec2f = 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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9Doohickey5SpawnE9b2WorldId6b2Vec2f(ptr nocapture noundef nonnull align 4 dereferenceable(57) %0, i32 %1, <2 x float> %2, float noundef %3) local_unnamed_addr #1 align 2 {
  %5 = alloca %struct.b2BodyDef, align 8
  %6 = alloca %struct.b2ShapeDef, align 8
  %7 = alloca %struct.b2Circle, align 8
  %8 = alloca %struct.b2Capsule, align 4
  %9 = alloca %struct.b2RevoluteJointDef, align 8
  %10 = alloca %struct.b2PrismaticJointDef, align 16
  %11 = getelementptr inbounds i8, ptr %0, i64 56
  %12 = load i8, ptr %11, align 4, !tbaa !5, !range !14, !noundef !15
  %13 = icmp eq i8 %12, 0
  br i1 %13, label %15, label %14

14:                                               ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 27, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN9Doohickey5SpawnE9b2WorldId6b2Vec2f) #5
  unreachable

15:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %5) #6
  call void @b2DefaultBodyDef(ptr dead_on_unwind nonnull writable sret(%struct.b2BodyDef) align 8 %5)
  store i32 2, ptr %5, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #6
  call void @b2DefaultShapeDef(ptr dead_on_unwind nonnull writable sret(%struct.b2ShapeDef) align 8 %6)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #6
  store <2 x float> zeroinitializer, ptr %7, align 8, !tbaa !23
  %16 = getelementptr inbounds i8, ptr %7, i64 8
  store float %3, ptr %16, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %8) #6
  %17 = fmul float %3, -3.500000e+00
  store float %17, ptr %8, align 4, !tbaa !26
  %18 = getelementptr inbounds i8, ptr %8, i64 4
  store float 0.000000e+00, ptr %18, align 4, !tbaa !27
  %19 = getelementptr inbounds i8, ptr %8, i64 8
  %20 = fmul float %3, 3.500000e+00
  store float %20, ptr %19, align 4, !tbaa !26
  %21 = getelementptr inbounds i8, ptr %8, i64 12
  store float 0.000000e+00, ptr %21, align 4, !tbaa !27
  %22 = getelementptr inbounds i8, ptr %8, i64 16
  %23 = fmul float %3, 0x3FC3333340000000
  store float %23, ptr %22, align 4, !tbaa !28
  %24 = call <2 x float> @_Z8b2MulAdd6b2Vec2fS_(<2 x float> %2, float noundef %3, <2 x float> <float -5.000000e+00, float 3.000000e+00>)
  %25 = getelementptr inbounds i8, ptr %5, i64 4
  store <2 x float> %24, ptr %25, align 4
  %26 = call i64 @b2CreateBody(i32 %1, ptr noundef nonnull %5)
  store i64 %26, ptr %0, align 4
  %27 = call i64 @b2CreateCircleShape(i64 %26, ptr noundef nonnull %6, ptr noundef nonnull %7)
  %28 = call <2 x float> @_Z8b2MulAdd6b2Vec2fS_(<2 x float> %2, float noundef %3, <2 x float> <float 5.000000e+00, float 3.000000e+00>)
  store <2 x float> %28, ptr %25, align 4
  %29 = call i64 @b2CreateBody(i32 %1, ptr noundef nonnull %5)
  %30 = getelementptr inbounds i8, ptr %0, i64 8
  store i64 %29, ptr %30, align 4
  %31 = call i64 @b2CreateCircleShape(i64 %29, ptr noundef nonnull %6, ptr noundef nonnull %7)
  %32 = call <2 x float> @_Z8b2MulAdd6b2Vec2fS_(<2 x float> %2, float noundef %3, <2 x float> <float -1.500000e+00, float 3.000000e+00>)
  store <2 x float> %32, ptr %25, align 4
  %33 = call i64 @b2CreateBody(i32 %1, ptr noundef nonnull %5)
  %34 = getelementptr inbounds i8, ptr %0, i64 16
  store i64 %33, ptr %34, align 4
  %35 = call i64 @b2CreateCapsuleShape(i64 %33, ptr noundef nonnull %6, ptr noundef nonnull %8)
  %36 = call <2 x float> @_Z8b2MulAdd6b2Vec2fS_(<2 x float> %2, float noundef %3, <2 x float> <float 1.500000e+00, float 3.000000e+00>)
  store <2 x float> %36, ptr %25, align 4
  %37 = call i64 @b2CreateBody(i32 %1, ptr noundef nonnull %5)
  %38 = getelementptr inbounds i8, ptr %0, i64 24
  store i64 %37, ptr %38, align 4
  %39 = call i64 @b2CreateCapsuleShape(i64 %37, ptr noundef nonnull %6, ptr noundef nonnull %8)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %9) #6
  call void @b2DefaultRevoluteJointDef(ptr dead_on_unwind nonnull writable sret(%struct.b2RevoluteJointDef) align 8 %9)
  %40 = load i64, ptr %0, align 4
  store i64 %40, ptr %9, align 8
  %41 = getelementptr inbounds i8, ptr %9, i64 8
  %42 = load i64, ptr %34, align 4
  store i64 %42, ptr %41, align 8
  %43 = getelementptr inbounds i8, ptr %9, i64 16
  store <2 x float> zeroinitializer, ptr %43, align 8, !tbaa !23
  %44 = getelementptr inbounds i8, ptr %9, i64 24
  store float %17, ptr %44, align 8, !tbaa !23
  %.sroa.416.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 28
  store float 0.000000e+00, ptr %.sroa.416.0..sroa_idx, align 4, !tbaa !23
  %45 = getelementptr inbounds i8, ptr %9, i64 60
  store i8 1, ptr %45, align 4, !tbaa !30
  %46 = insertelement <2 x float> poison, float %3, i64 0
  %47 = shufflevector <2 x float> %46, <2 x float> poison, <2 x i32> zeroinitializer
  %48 = fmul <2 x float> %47, <float -2.000000e+00, float 2.000000e+00>
  %49 = getelementptr inbounds i8, ptr %9, i64 64
  %50 = extractelement <2 x float> %48, i64 1
  store float %50, ptr %49, align 8, !tbaa !32
  %51 = call i64 @b2CreateRevoluteJoint(i32 %1, ptr noundef nonnull %9)
  %52 = load i64, ptr %30, align 4
  store i64 %52, ptr %9, align 8
  %53 = load i64, ptr %38, align 4
  store i64 %53, ptr %41, align 8
  store <2 x float> zeroinitializer, ptr %43, align 8, !tbaa !23
  store float %20, ptr %44, align 8, !tbaa !23
  store float 0.000000e+00, ptr %.sroa.416.0..sroa_idx, align 4, !tbaa !23
  store i8 1, ptr %45, align 4, !tbaa !30
  store float %50, ptr %49, align 8, !tbaa !32
  %54 = call i64 @b2CreateRevoluteJoint(i32 %1, ptr noundef nonnull %9)
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %10) #6
  call void @b2DefaultPrismaticJointDef(ptr dead_on_unwind nonnull writable sret(%struct.b2PrismaticJointDef) align 8 %10)
  %55 = load <2 x i64>, ptr %34, align 4
  store <2 x i64> %55, ptr %10, align 16
  %.sroa.46.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 36
  store float 0.000000e+00, ptr %.sroa.46.0..sroa_idx, align 4, !tbaa !23
  %56 = getelementptr inbounds i8, ptr %10, i64 16
  store float %50, ptr %56, align 16, !tbaa !23
  %.sroa.44.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 20
  store float 0.000000e+00, ptr %.sroa.44.0..sroa_idx, align 4, !tbaa !23
  %57 = getelementptr inbounds i8, ptr %10, i64 24
  %58 = extractelement <2 x float> %48, i64 0
  store float %58, ptr %57, align 8, !tbaa !23
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 28
  store <2 x float> <float 0.000000e+00, float 1.000000e+00>, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !23
  %59 = getelementptr inbounds i8, ptr %10, i64 60
  store <2 x float> %48, ptr %59, align 4, !tbaa !23
  %60 = getelementptr inbounds i8, ptr %10, i64 56
  store i8 1, ptr %60, align 8, !tbaa !33
  %61 = getelementptr inbounds i8, ptr %10, i64 68
  store i8 1, ptr %61, align 4, !tbaa !35
  %62 = getelementptr inbounds i8, ptr %10, i64 72
  store float %50, ptr %62, align 8, !tbaa !36
  %63 = getelementptr inbounds i8, ptr %10, i64 44
  store i8 1, ptr %63, align 4, !tbaa !37
  %64 = getelementptr inbounds i8, ptr %10, i64 48
  store <2 x float> <float 1.000000e+00, float 5.000000e-01>, ptr %64, align 16, !tbaa !23
  %65 = call i64 @b2CreatePrismaticJoint(i32 %1, ptr noundef nonnull %10)
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #6
  ret void
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8) local_unnamed_addr #3

declare void @b2DefaultShapeDef(ptr dead_on_unwind writable sret(%struct.b2ShapeDef) align 8) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local <2 x float> @_Z8b2MulAdd6b2Vec2fS_(<2 x float>, float noundef, <2 x float>) local_unnamed_addr #4

declare i64 @b2CreateBody(i32, ptr noundef) local_unnamed_addr #3

declare i64 @b2CreateCircleShape(i64, ptr noundef, ptr noundef) local_unnamed_addr #3

declare i64 @b2CreateCapsuleShape(i64, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @b2DefaultRevoluteJointDef(ptr dead_on_unwind writable sret(%struct.b2RevoluteJointDef) align 8) local_unnamed_addr #3

declare i64 @b2CreateRevoluteJoint(i32, ptr noundef) local_unnamed_addr #3

declare void @b2DefaultPrismaticJointDef(ptr dead_on_unwind writable sret(%struct.b2PrismaticJointDef) align 8) local_unnamed_addr #3

declare i64 @b2CreatePrismaticJoint(i32, ptr noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="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 = { noreturn nounwind }
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, !13, i64 56}
!6 = !{!"_ZTS9Doohickey", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56}
!7 = !{!"_ZTS8b2BodyId", !8, i64 0, !11, i64 4, !11, i64 6}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"short", !9, i64 0}
!12 = !{!"_ZTS9b2JointId", !8, i64 0, !11, i64 4, !11, i64 6}
!13 = !{!"bool", !9, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!17, !18, i64 0}
!17 = !{!"_ZTS9b2BodyDef", !18, i64 0, !19, i64 4, !21, i64 12, !19, i64 20, !20, i64 28, !20, i64 32, !20, i64 36, !20, i64 40, !20, i64 44, !22, i64 48, !22, i64 56, !13, i64 64, !13, i64 65, !13, i64 66, !13, i64 67, !13, i64 68, !13, i64 69, !8, i64 72}
!18 = !{!"_ZTS10b2BodyType", !9, i64 0}
!19 = !{!"_ZTS6b2Vec2", !20, i64 0, !20, i64 4}
!20 = !{!"float", !9, i64 0}
!21 = !{!"_ZTS5b2Rot", !20, i64 0, !20, i64 4}
!22 = !{!"any pointer", !9, i64 0}
!23 = !{!20, !20, i64 0}
!24 = !{!25, !20, i64 8}
!25 = !{!"_ZTS8b2Circle", !19, i64 0, !20, i64 8}
!26 = !{!19, !20, i64 0}
!27 = !{!19, !20, i64 4}
!28 = !{!29, !20, i64 16}
!29 = !{!"_ZTS9b2Capsule", !19, i64 0, !19, i64 8, !20, i64 16}
!30 = !{!31, !13, i64 60}
!31 = !{!"_ZTS18b2RevoluteJointDef", !7, i64 0, !7, i64 8, !19, i64 16, !19, i64 24, !20, i64 32, !13, i64 36, !20, i64 40, !20, i64 44, !13, i64 48, !20, i64 52, !20, i64 56, !13, i64 60, !20, i64 64, !20, i64 68, !20, i64 72, !13, i64 76, !22, i64 80, !8, i64 88}
!32 = !{!31, !20, i64 64}
!33 = !{!34, !13, i64 56}
!34 = !{!"_ZTS19b2PrismaticJointDef", !7, i64 0, !7, i64 8, !19, i64 16, !19, i64 24, !19, i64 32, !20, i64 40, !13, i64 44, !20, i64 48, !20, i64 52, !13, i64 56, !20, i64 60, !20, i64 64, !13, i64 68, !20, i64 72, !20, i64 76, !13, i64 80, !22, i64 88, !8, i64 96}
!35 = !{!34, !13, i64 68}
!36 = !{!34, !20, i64 72}
!37 = !{!34, !13, i64 44}


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