; LLVM IR from Sopiro/Muli :: src/geometry (raycast)

; 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.muli::Vec2" = type { float, float }
%"struct.muli::Simplex" = type { i32, [3 x %"struct.muli::SupportPoint"], float }
%"struct.muli::SupportPoint" = type { %"struct.muli::Point", %"struct.muli::Point", %"struct.muli::Vec2", float }
%"struct.muli::Point" = type { %"struct.muli::Vec2", i32 }
%"struct.muli::ShapeCastOutput" = type { %"struct.muli::Vec2", %"struct.muli::Vec2", float }
%"struct.muli::Transform" = type { %"struct.muli::Vec2", %"struct.muli::Rotation" }
%"struct.muli::Rotation" = type { float, float }

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [70 x i8], align 1
@__PRETTY_FUNCTION__._ZN4muli9ShapeCastEPKNS_5ShapeERKNS_9TransformES2_S5_RKNS_4Vec2ES8_PNS_15ShapeCastOutputE = external hidden unnamed_addr constant [136 x i8], align 1
@_ZN4muli4Vec24zeroE = external dso_local constant %"struct.muli::Vec2", align 4

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #2

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

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

; 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) #3

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN4muli4Vec29NormalizeEv(ptr noundef nonnull align 4 dereferenceable(8)) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4muli9ShapeCastEPKNS_5ShapeERKNS_9TransformES2_S5_RKNS_4Vec2ES8_PNS_15ShapeCastOutputE(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(16) %1, ptr noundef %2, ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef %6) #4 {
  %8 = alloca i1, align 1
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca float, align 4
  %17 = alloca %"struct.muli::Vec2", align 4
  %18 = alloca float, align 4
  %19 = alloca %"struct.muli::Vec2", align 4
  %20 = alloca %"struct.muli::Simplex", align 4
  %21 = alloca i32, align 4
  %22 = alloca %"struct.muli::Vec2", align 4
  %23 = alloca %"struct.muli::Vec2", align 4
  %24 = alloca %"struct.muli::Vec2", align 4
  %25 = alloca %"struct.muli::Vec2", align 4
  %26 = alloca i32, align 4
  %27 = alloca %"struct.muli::Vec2", align 4
  %28 = alloca %"struct.muli::Vec2", align 4
  %29 = alloca %"struct.muli::Vec2", align 4
  %30 = alloca %"struct.muli::Vec2", align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca %"struct.muli::Vec2", align 4
  %36 = alloca %"struct.muli::Vec2", align 4
  %37 = alloca %"struct.muli::Vec2", align 4
  %38 = alloca %"struct.muli::Vec2", align 4
  %39 = alloca %"struct.muli::Vec2", align 4
  %40 = alloca %"struct.muli::Vec2", align 4
  %41 = alloca %"struct.muli::Vec2", align 4
  %42 = alloca %"struct.muli::Vec2", align 4
  %43 = alloca float, align 4
  %44 = alloca float, align 4
  %45 = alloca i32, align 4
  %46 = alloca %"struct.muli::Vec2", align 4
  %47 = alloca ptr, align 8
  %48 = alloca %"struct.muli::Vec2", align 4
  %49 = alloca %"struct.muli::Vec2", align 4
  %50 = alloca %"struct.muli::Vec2", align 4
  %51 = alloca %"struct.muli::Vec2", align 4
  %52 = alloca %"struct.muli::Vec2", align 4
  %53 = alloca %"struct.muli::Vec2", align 4
  %54 = alloca %"struct.muli::Vec2", align 4
  %55 = alloca %"struct.muli::Vec2", align 4
  %56 = alloca %"struct.muli::Vec2", align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  %57 = load ptr, ptr %15, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.muli::ShapeCastOutput", ptr %57, i32 0, i32 0
  call void @_ZN4muli4Vec27SetZeroEv(ptr noundef nonnull align 4 dereferenceable(8) %58)
  %59 = load ptr, ptr %15, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.muli::ShapeCastOutput", ptr %59, i32 0, i32 1
  call void @_ZN4muli4Vec27SetZeroEv(ptr noundef nonnull align 4 dereferenceable(8) %60)
  %61 = load ptr, ptr %15, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.muli::ShapeCastOutput", ptr %61, i32 0, i32 2
  store float 1.000000e+00, ptr %62, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  store float 0.000000e+00, ptr %16, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  call void @llvm.memset.p0.i64(ptr align 4 %17, i8 0, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #10
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = call noundef float @_ZNK4muli5Shape9GetRadiusEv(ptr noundef nonnull align 8 dereferenceable(28) %63)
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = call noundef float @_ZNK4muli5Shape9GetRadiusEv(ptr noundef nonnull align 8 dereferenceable(28) %65)
  %67 = fadd float %64, %66
  store float %67, ptr %18, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  %68 = load ptr, ptr %14, align 8, !tbaa !5
  %69 = load ptr, ptr %13, align 8, !tbaa !5
  %70 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %68, ptr noundef nonnull align 4 dereferenceable(8) %69)
  store <2 x float> %70, ptr %19, align 4
  call void @llvm.lifetime.start.p0(i64 116, ptr %20) #10
  call void @_ZN4muli7SimplexC2Ev(ptr noundef nonnull align 4 dereferenceable(116) %20) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #10
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.muli::Transform", ptr %72, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %74 = call <2 x float> @_ZNK4muli4Vec2ngEv(ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %74, ptr %23, align 4
  %75 = call <2 x float> @_ZN4muli4MulTERKNS_8RotationERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(8) %73, ptr noundef nonnull align 4 dereferenceable(8) %23)
  store <2 x float> %75, ptr %22, align 4
  %76 = load ptr, ptr %71, align 8, !tbaa !14
  %77 = getelementptr inbounds ptr, ptr %76, i64 6
  %78 = load ptr, ptr %77, align 8
  %79 = call noundef i32 %78(ptr noundef nonnull align 8 dereferenceable(28) %71, ptr noundef nonnull align 4 dereferenceable(8) %22)
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  store i32 %79, ptr %21, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %81 = load ptr, ptr %9, align 8, !tbaa !5
  %82 = load i32, ptr %21, align 4, !tbaa !16
  %83 = load ptr, ptr %81, align 8, !tbaa !14
  %84 = getelementptr inbounds ptr, ptr %83, i64 5
  %85 = load ptr, ptr %84, align 8
  %86 = call <2 x float> %85(ptr noundef nonnull align 8 dereferenceable(28) %81, i32 noundef %82)
  store <2 x float> %86, ptr %25, align 4
  %87 = call <2 x float> @_ZN4muli3MulERKNS_9TransformERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(16) %80, ptr noundef nonnull align 4 dereferenceable(8) %25)
  store <2 x float> %87, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #10
  %88 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  %89 = load ptr, ptr %12, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.muli::Transform", ptr %89, i32 0, i32 1
  %91 = call <2 x float> @_ZN4muli4MulTERKNS_8RotationERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(8) %90, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %91, ptr %27, align 4
  %92 = load ptr, ptr %88, align 8, !tbaa !14
  %93 = getelementptr inbounds ptr, ptr %92, i64 6
  %94 = load ptr, ptr %93, align 8
  %95 = call noundef i32 %94(ptr noundef nonnull align 8 dereferenceable(28) %88, ptr noundef nonnull align 4 dereferenceable(8) %27)
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  store i32 %95, ptr %26, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #10
  %96 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #10
  %97 = load ptr, ptr %11, align 8, !tbaa !5
  %98 = load i32, ptr %26, align 4, !tbaa !16
  %99 = load ptr, ptr %97, align 8, !tbaa !14
  %100 = getelementptr inbounds ptr, ptr %99, i64 5
  %101 = load ptr, ptr %100, align 8
  %102 = call <2 x float> %101(ptr noundef nonnull align 8 dereferenceable(28) %97, i32 noundef %98)
  store <2 x float> %102, ptr %29, align 4
  %103 = call <2 x float> @_ZN4muli3MulERKNS_9TransformERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(16) %96, ptr noundef nonnull align 4 dereferenceable(8) %29)
  store <2 x float> %103, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %104 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(8) %28)
  store <2 x float> %104, ptr %30, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #10
  %105 = load float, ptr %18, align 4, !tbaa !13
  %106 = fsub float %105, 0x3F7F212D80000000
  %107 = call noundef float @_ZN4muli3MaxEff(float noundef 0x3F847AE160000000, float noundef %106)
  store float %107, ptr %31, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #10
  store float 0x3F3A36E300000000, ptr %32, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #10
  store i32 20, ptr %33, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #10
  store i32 0, ptr %34, align 4, !tbaa !16
  br label %108

108:                                              ; preds = %235, %7
  %109 = load i32, ptr %34, align 4, !tbaa !16
  %110 = icmp slt i32 %109, 20
  br i1 %110, label %111, label %116

111:                                              ; preds = %108
  %112 = call noundef float @_ZNK4muli4Vec26LengthEv(ptr noundef nonnull align 4 dereferenceable(8) %30)
  %113 = load float, ptr %31, align 4, !tbaa !13
  %114 = fsub float %112, %113
  %115 = fcmp ogt float %114, 0x3F3A36E300000000
  br label %116

116:                                              ; preds = %111, %108
  %117 = phi i1 [ false, %108 ], [ %115, %111 ]
  br i1 %117, label %118, label %236

118:                                              ; preds = %116
  %119 = getelementptr inbounds %"struct.muli::Simplex", ptr %20, i32 0, i32 0
  %120 = load i32, ptr %119, align 4, !tbaa !18
  %121 = icmp slt i32 %120, 3
  br i1 %121, label %122, label %123

122:                                              ; preds = %118
  br label %125

123:                                              ; preds = %118
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 347, ptr noundef @__PRETTY_FUNCTION__._ZN4muli9ShapeCastEPKNS_5ShapeERKNS_9TransformES2_S5_RKNS_4Vec2ES8_PNS_15ShapeCastOutputE) #11
  unreachable

124:                                              ; No predecessors!
  br label %125

125:                                              ; preds = %124, %122
  %126 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #10
  %127 = load ptr, ptr %10, align 8, !tbaa !5
  %128 = getelementptr inbounds %"struct.muli::Transform", ptr %127, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #10
  %129 = call <2 x float> @_ZNK4muli4Vec2ngEv(ptr noundef nonnull align 4 dereferenceable(8) %30)
  store <2 x float> %129, ptr %36, align 4
  %130 = call <2 x float> @_ZN4muli4MulTERKNS_8RotationERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(8) %128, ptr noundef nonnull align 4 dereferenceable(8) %36)
  store <2 x float> %130, ptr %35, align 4
  %131 = load ptr, ptr %126, align 8, !tbaa !14
  %132 = getelementptr inbounds ptr, ptr %131, i64 6
  %133 = load ptr, ptr %132, align 8
  %134 = call noundef i32 %133(ptr noundef nonnull align 8 dereferenceable(28) %126, ptr noundef nonnull align 4 dereferenceable(8) %35)
  store i32 %134, ptr %21, align 4, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #10
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #10
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  %137 = load i32, ptr %21, align 4, !tbaa !16
  %138 = load ptr, ptr %136, align 8, !tbaa !14
  %139 = getelementptr inbounds ptr, ptr %138, i64 5
  %140 = load ptr, ptr %139, align 8
  %141 = call <2 x float> %140(ptr noundef nonnull align 8 dereferenceable(28) %136, i32 noundef %137)
  store <2 x float> %141, ptr %38, align 4
  %142 = call <2 x float> @_ZN4muli3MulERKNS_9TransformERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(16) %135, ptr noundef nonnull align 4 dereferenceable(8) %38)
  store <2 x float> %142, ptr %37, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %37, i64 8, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #10
  %144 = load ptr, ptr %12, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.muli::Transform", ptr %144, i32 0, i32 1
  %146 = call <2 x float> @_ZN4muli4MulTERKNS_8RotationERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(8) %145, ptr noundef nonnull align 4 dereferenceable(8) %30)
  store <2 x float> %146, ptr %39, align 4
  %147 = load ptr, ptr %143, align 8, !tbaa !14
  %148 = getelementptr inbounds ptr, ptr %147, i64 6
  %149 = load ptr, ptr %148, align 8
  %150 = call noundef i32 %149(ptr noundef nonnull align 8 dereferenceable(28) %143, ptr noundef nonnull align 4 dereferenceable(8) %39)
  store i32 %150, ptr %26, align 4, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  %151 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #10
  %152 = load ptr, ptr %11, align 8, !tbaa !5
  %153 = load i32, ptr %26, align 4, !tbaa !16
  %154 = load ptr, ptr %152, align 8, !tbaa !14
  %155 = getelementptr inbounds ptr, ptr %154, i64 5
  %156 = load ptr, ptr %155, align 8
  %157 = call <2 x float> %156(ptr noundef nonnull align 8 dereferenceable(28) %152, i32 noundef %153)
  store <2 x float> %157, ptr %41, align 4
  %158 = call <2 x float> @_ZN4muli3MulERKNS_9TransformERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(16) %151, ptr noundef nonnull align 4 dereferenceable(8) %41)
  store <2 x float> %158, ptr %40, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %40, i64 8, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #10
  %159 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(8) %28)
  store <2 x float> %159, ptr %42, align 4
  %160 = call noundef float @_ZN4muli4Vec29NormalizeEv(ptr noundef nonnull align 4 dereferenceable(8) %30)
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #10
  %161 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(8) %42)
  store float %161, ptr %43, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #10
  %162 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store float %162, ptr %44, align 4, !tbaa !13
  %163 = load float, ptr %43, align 4, !tbaa !13
  %164 = load float, ptr %31, align 4, !tbaa !13
  %165 = fsub float %163, %164
  %166 = load float, ptr %16, align 4, !tbaa !13
  %167 = load float, ptr %44, align 4, !tbaa !13
  %168 = fmul float %166, %167
  %169 = fcmp ogt float %165, %168
  br i1 %169, label %170, label %186

170:                                              ; preds = %125
  %171 = load float, ptr %44, align 4, !tbaa !13
  %172 = fcmp ole float %171, 0.000000e+00
  br i1 %172, label %173, label %174

173:                                              ; preds = %170
  store i1 false, ptr %8, align 1
  store i32 1, ptr %45, align 4
  br label %233

174:                                              ; preds = %170
  %175 = load float, ptr %43, align 4, !tbaa !13
  %176 = load float, ptr %31, align 4, !tbaa !13
  %177 = fsub float %175, %176
  %178 = load float, ptr %44, align 4, !tbaa !13
  %179 = fdiv float %177, %178
  store float %179, ptr %16, align 4, !tbaa !13
  %180 = load float, ptr %16, align 4, !tbaa !13
  %181 = fcmp ogt float %180, 1.000000e+00
  br i1 %181, label %182, label %183

182:                                              ; preds = %174
  store i1 false, ptr %8, align 1
  store i32 1, ptr %45, align 4
  br label %233

183:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #10
  %184 = call <2 x float> @_ZNK4muli4Vec2ngEv(ptr noundef nonnull align 4 dereferenceable(8) %30)
  store <2 x float> %184, ptr %46, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %46, i64 8, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #10
  %185 = getelementptr inbounds %"struct.muli::Simplex", ptr %20, i32 0, i32 0
  store i32 0, ptr %185, align 4, !tbaa !18
  br label %186

186:                                              ; preds = %183, %125
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #10
  %187 = getelementptr inbounds %"struct.muli::Simplex", ptr %20, i32 0, i32 1
  %188 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %187, i64 0, i64 0
  %189 = getelementptr inbounds %"struct.muli::Simplex", ptr %20, i32 0, i32 0
  %190 = load i32, ptr %189, align 4, !tbaa !18
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %188, i64 %191
  store ptr %192, ptr %47, align 8, !tbaa !5
  %193 = load i32, ptr %21, align 4, !tbaa !16
  %194 = load ptr, ptr %47, align 8, !tbaa !5
  %195 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %194, i32 0, i32 0
  %196 = getelementptr inbounds %"struct.muli::Point", ptr %195, i32 0, i32 1
  store i32 %193, ptr %196, align 4, !tbaa !21
  %197 = load ptr, ptr %47, align 8, !tbaa !5
  %198 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %197, i32 0, i32 0
  %199 = getelementptr inbounds %"struct.muli::Point", ptr %198, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %199, ptr align 4 %24, i64 8, i1 false), !tbaa.struct !20
  %200 = load i32, ptr %26, align 4, !tbaa !16
  %201 = load ptr, ptr %47, align 8, !tbaa !5
  %202 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %201, i32 0, i32 1
  %203 = getelementptr inbounds %"struct.muli::Point", ptr %202, i32 0, i32 1
  store i32 %200, ptr %203, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #10
  %204 = load float, ptr %16, align 4, !tbaa !13
  %205 = call <2 x float> @_ZN4mulimlEfRKNS_4Vec2E(float noundef %204, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %205, ptr %49, align 4
  %206 = call <2 x float> @_ZN4muliplERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(8) %49)
  store <2 x float> %206, ptr %48, align 4
  %207 = load ptr, ptr %47, align 8, !tbaa !5
  %208 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %207, i32 0, i32 1
  %209 = getelementptr inbounds %"struct.muli::Point", ptr %208, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %209, ptr align 4 %48, i64 8, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #10
  %210 = load ptr, ptr %47, align 8, !tbaa !5
  %211 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %210, i32 0, i32 0
  %212 = getelementptr inbounds %"struct.muli::Point", ptr %211, i32 0, i32 0
  %213 = load ptr, ptr %47, align 8, !tbaa !5
  %214 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %213, i32 0, i32 1
  %215 = getelementptr inbounds %"struct.muli::Point", ptr %214, i32 0, i32 0
  %216 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %212, ptr noundef nonnull align 4 dereferenceable(8) %215)
  store <2 x float> %216, ptr %50, align 4
  %217 = load ptr, ptr %47, align 8, !tbaa !5
  %218 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %217, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %218, ptr align 4 %50, i64 8, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #10
  %219 = load ptr, ptr %47, align 8, !tbaa !5
  %220 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %219, i32 0, i32 3
  store float 1.000000e+00, ptr %220, align 4, !tbaa !25
  %221 = getelementptr inbounds %"struct.muli::Simplex", ptr %20, i32 0, i32 0
  %222 = load i32, ptr %221, align 4, !tbaa !18
  %223 = add nsw i32 %222, 1
  store i32 %223, ptr %221, align 4, !tbaa !18
  call void @_ZN4muli7Simplex7AdvanceERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(116) %20, ptr noundef nonnull align 4 dereferenceable(8) @_ZN4muli4Vec24zeroE)
  %224 = getelementptr inbounds %"struct.muli::Simplex", ptr %20, i32 0, i32 0
  %225 = load i32, ptr %224, align 4, !tbaa !18
  %226 = icmp eq i32 %225, 3
  br i1 %226, label %227, label %228

227:                                              ; preds = %186
  store i1 false, ptr %8, align 1
  store i32 1, ptr %45, align 4
  br label %232

228:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #10
  %229 = call <2 x float> @_ZNK4muli7Simplex15GetClosestPointEv(ptr noundef nonnull align 4 dereferenceable(116) %20)
  store <2 x float> %229, ptr %51, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %51, i64 8, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #10
  %230 = load i32, ptr %34, align 4, !tbaa !16
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %34, align 4, !tbaa !16
  store i32 0, ptr %45, align 4
  br label %232

232:                                              ; preds = %228, %227
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #10
  br label %233

233:                                              ; preds = %232, %182, %173
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  %234 = load i32, ptr %45, align 4
  switch i32 %234, label %265 [
    i32 0, label %235
  ]

235:                                              ; preds = %233
  br label %108, !llvm.loop !26

236:                                              ; preds = %116
  %237 = load i32, ptr %34, align 4, !tbaa !16
  %238 = icmp eq i32 %237, 0
  br i1 %238, label %242, label %239

239:                                              ; preds = %236
  %240 = load float, ptr %16, align 4, !tbaa !13
  %241 = fcmp oeq float %240, 0.000000e+00
  br i1 %241, label %242, label %243

242:                                              ; preds = %239, %236
  store i1 false, ptr %8, align 1
  store i32 1, ptr %45, align 4
  br label %265

243:                                              ; preds = %239
  call void @_ZN4muli7Simplex15GetWitnessPointEPNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(116) %20, ptr noundef %24, ptr noundef %28)
  %244 = call noundef float @_ZNK4muli4Vec27Length2Ev(ptr noundef nonnull align 4 dereferenceable(8) %30)
  %245 = fcmp ogt float %244, 0.000000e+00
  br i1 %245, label %246, label %249

246:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #10
  %247 = call <2 x float> @_ZNK4muli4Vec2ngEv(ptr noundef nonnull align 4 dereferenceable(8) %30)
  store <2 x float> %247, ptr %52, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %52, i64 8, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #10
  %248 = call noundef float @_ZN4muli4Vec29NormalizeEv(ptr noundef nonnull align 4 dereferenceable(8) %17)
  br label %249

249:                                              ; preds = %246, %243
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #10
  %250 = load ptr, ptr %9, align 8, !tbaa !5
  %251 = call noundef float @_ZNK4muli5Shape9GetRadiusEv(ptr noundef nonnull align 8 dereferenceable(28) %250)
  %252 = call <2 x float> @_ZN4mulimlEfRKNS_4Vec2E(float noundef %251, ptr noundef nonnull align 4 dereferenceable(8) %17)
  store <2 x float> %252, ptr %55, align 4
  %253 = call <2 x float> @_ZN4muliplERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(8) %55)
  store <2 x float> %253, ptr %54, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #10
  %254 = load ptr, ptr %13, align 8, !tbaa !5
  %255 = load float, ptr %16, align 4, !tbaa !13
  %256 = call <2 x float> @_ZN4mulimlERKNS_4Vec2Ef(ptr noundef nonnull align 4 dereferenceable(8) %254, float noundef %255)
  store <2 x float> %256, ptr %56, align 4
  %257 = call <2 x float> @_ZN4muliplERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %54, ptr noundef nonnull align 4 dereferenceable(8) %56)
  store <2 x float> %257, ptr %53, align 4
  %258 = load ptr, ptr %15, align 8, !tbaa !5
  %259 = getelementptr inbounds %"struct.muli::ShapeCastOutput", ptr %258, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %259, ptr align 4 %53, i64 8, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #10
  %260 = load ptr, ptr %15, align 8, !tbaa !5
  %261 = getelementptr inbounds %"struct.muli::ShapeCastOutput", ptr %260, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %261, ptr align 4 %17, i64 8, i1 false), !tbaa.struct !20
  %262 = load float, ptr %16, align 4, !tbaa !13
  %263 = load ptr, ptr %15, align 8, !tbaa !5
  %264 = getelementptr inbounds %"struct.muli::ShapeCastOutput", ptr %263, i32 0, i32 2
  store float %262, ptr %264, align 4, !tbaa !9
  store i1 true, ptr %8, align 1
  store i32 1, ptr %45, align 4
  br label %265

265:                                              ; preds = %249, %242, %233
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 116, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  %266 = load i1, ptr %8, align 1
  ret i1 %266
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK4muli5Shape9GetRadiusEv(ptr noundef nonnull align 8 dereferenceable(28)) #2 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK4muli4Vec26LengthEv(ptr noundef nonnull align 4 dereferenceable(8)) #6 align 2

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

declare void @_ZN4muli7Simplex7AdvanceERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(116), ptr noundef nonnull align 4 dereferenceable(8)) #9

declare <2 x float> @_ZNK4muli7Simplex15GetClosestPointEv(ptr noundef nonnull align 4 dereferenceable(116)) #9

declare void @_ZN4muli7Simplex15GetWitnessPointEPNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(116), ptr noundef, ptr noundef) #9

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK4muli4Vec27Length2Ev(ptr noundef nonnull align 4 dereferenceable(8)) #6 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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"="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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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 #9 = { "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 #10 = { nounwind }
attributes #11 = { noreturn 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, !12, i64 16}
!10 = !{!"_ZTSN4muli15ShapeCastOutputE", !11, i64 0, !11, i64 8, !12, i64 16}
!11 = !{!"_ZTSN4muli4Vec2E", !12, i64 0, !12, i64 4}
!12 = !{!"float", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"vtable pointer", !8, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!19, !17, i64 0}
!19 = !{!"_ZTSN4muli7SimplexE", !17, i64 0, !7, i64 4, !12, i64 112}
!20 = !{i64 0, i64 4, !13, i64 4, i64 4, !13}
!21 = !{!22, !17, i64 8}
!22 = !{!"_ZTSN4muli12SupportPointE", !23, i64 0, !23, i64 12, !11, i64 24, !12, i64 32}
!23 = !{!"_ZTSN4muli5PointE", !11, i64 0, !17, i64 8}
!24 = !{!22, !17, i64 20}
!25 = !{!22, !12, i64 32}
!26 = distinct !{!26, !27}
!27 = !{!"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"

%"struct.muli::Vec2" = type { float, float }
%"struct.muli::Simplex" = type { i32, [3 x %"struct.muli::SupportPoint"], float }
%"struct.muli::SupportPoint" = type { %"struct.muli::Point", %"struct.muli::Point", %"struct.muli::Vec2", float }
%"struct.muli::Point" = type { %"struct.muli::Vec2", i32 }

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [70 x i8], align 1
@__PRETTY_FUNCTION__._ZN4muli9ShapeCastEPKNS_5ShapeERKNS_9TransformES2_S5_RKNS_4Vec2ES8_PNS_15ShapeCastOutputE = external hidden unnamed_addr constant [136 x i8], align 1
@_ZN4muli4Vec24zeroE = external dso_local constant %"struct.muli::Vec2", align 4

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(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> @_ZN4muliplERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN4muli4Vec29NormalizeEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4muli9ShapeCastEPKNS_5ShapeERKNS_9TransformES2_S5_RKNS_4Vec2ES8_PNS_15ShapeCastOutputE(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(16) %1, ptr noundef %2, ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull %6) local_unnamed_addr #3 {
  %8 = alloca %"struct.muli::Vec2", align 8
  %9 = alloca %"struct.muli::Vec2", align 8
  %10 = alloca %"struct.muli::Simplex", align 4
  %11 = alloca %"struct.muli::Vec2", align 8
  %12 = alloca %"struct.muli::Vec2", align 8
  %13 = alloca %"struct.muli::Vec2", align 8
  %14 = alloca %"struct.muli::Vec2", align 8
  %15 = alloca %"struct.muli::Vec2", align 8
  %16 = alloca %"struct.muli::Vec2", align 8
  %17 = alloca %"struct.muli::Vec2", align 8
  %18 = alloca %"struct.muli::Vec2", align 8
  %19 = alloca %"struct.muli::Vec2", align 8
  %20 = alloca %"struct.muli::Vec2", align 8
  %21 = alloca %"struct.muli::Vec2", align 8
  %22 = alloca %"struct.muli::Vec2", align 8
  %23 = alloca %"struct.muli::Vec2", align 8
  %24 = alloca %"struct.muli::Vec2", align 8
  %25 = alloca %"struct.muli::Vec2", align 8
  %26 = alloca %"struct.muli::Vec2", align 8
  %27 = alloca %"struct.muli::Vec2", align 8
  %28 = alloca %"struct.muli::Vec2", align 8
  tail call void @_ZN4muli4Vec27SetZeroEv(ptr noundef nonnull align 4 dereferenceable(8) %6)
  %29 = getelementptr inbounds i8, ptr %6, i64 8
  tail call void @_ZN4muli4Vec27SetZeroEv(ptr noundef nonnull align 4 dereferenceable(8) %29)
  %30 = getelementptr inbounds i8, ptr %6, i64 16
  store float 1.000000e+00, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  store i64 0, ptr %8, align 8
  %31 = tail call noundef float @_ZNK4muli5Shape9GetRadiusEv(ptr noundef nonnull align 8 dereferenceable(28) %0)
  %32 = tail call noundef float @_ZNK4muli5Shape9GetRadiusEv(ptr noundef nonnull align 8 dereferenceable(28) %2)
  %33 = fadd float %31, %32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %34 = tail call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %4)
  store <2 x float> %34, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 116, ptr nonnull %10) #8
  call void @_ZN4muli7SimplexC2Ev(ptr noundef nonnull align 4 dereferenceable(116) %10) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %35 = getelementptr inbounds i8, ptr %1, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %36 = call <2 x float> @_ZNK4muli4Vec2ngEv(ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %36, ptr %12, align 8
  %37 = call <2 x float> @_ZN4muli4MulTERKNS_8RotationERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %37, ptr %11, align 8
  %38 = load ptr, ptr %0, align 8, !tbaa !11
  %39 = getelementptr inbounds i8, ptr %38, i64 48
  %40 = load ptr, ptr %39, align 8
  %41 = call noundef i32 %40(ptr noundef nonnull align 8 dereferenceable(28) %0, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  %42 = load ptr, ptr %0, align 8, !tbaa !11
  %43 = getelementptr inbounds i8, ptr %42, i64 40
  %44 = load ptr, ptr %43, align 8
  %45 = call <2 x float> %44(ptr noundef nonnull align 8 dereferenceable(28) %0, i32 noundef %41)
  store <2 x float> %45, ptr %14, align 8
  %46 = call <2 x float> @_ZN4muli3MulERKNS_9TransformERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %46, ptr %13, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %47 = getelementptr inbounds i8, ptr %3, i64 8
  %48 = call <2 x float> @_ZN4muli4MulTERKNS_8RotationERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(8) %47, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %48, ptr %15, align 8
  %49 = load ptr, ptr %2, align 8, !tbaa !11
  %50 = getelementptr inbounds i8, ptr %49, i64 48
  %51 = load ptr, ptr %50, align 8
  %52 = call noundef i32 %51(ptr noundef nonnull align 8 dereferenceable(28) %2, ptr noundef nonnull align 4 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  %53 = load ptr, ptr %2, align 8, !tbaa !11
  %54 = getelementptr inbounds i8, ptr %53, i64 40
  %55 = load ptr, ptr %54, align 8
  %56 = call <2 x float> %55(ptr noundef nonnull align 8 dereferenceable(28) %2, i32 noundef %52)
  store <2 x float> %56, ptr %17, align 8
  %57 = call <2 x float> @_ZN4muli3MulERKNS_9TransformERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(8) %17)
  store <2 x float> %57, ptr %16, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  %58 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %58, ptr %18, align 8
  %59 = fadd float %33, 0xBF7F212D80000000
  %60 = call noundef float @_ZN4muli3MaxEff(float noundef 0x3F847AE160000000, float noundef %59)
  %61 = getelementptr inbounds i8, ptr %10, i64 4
  br label %62

62:                                               ; preds = %7, %123
  %.06990 = phi float [ 0.000000e+00, %7 ], [ %.170, %123 ]
  %.07289 = phi i32 [ 0, %7 ], [ %125, %123 ]
  %63 = call noundef float @_ZNK4muli4Vec26LengthEv(ptr noundef nonnull align 4 dereferenceable(8) %18)
  %64 = fsub float %63, %60
  %65 = fcmp ogt float %64, 0x3F3A36E300000000
  br i1 %65, label %66, label %.critedge

66:                                               ; preds = %62
  %67 = load i32, ptr %10, align 4, !tbaa !13
  %68 = icmp slt i32 %67, 3
  br i1 %68, label %70, label %69

69:                                               ; preds = %66
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 347, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4muli9ShapeCastEPKNS_5ShapeERKNS_9TransformES2_S5_RKNS_4Vec2ES8_PNS_15ShapeCastOutputE) #9
  unreachable

70:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  %71 = call <2 x float> @_ZNK4muli4Vec2ngEv(ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %71, ptr %20, align 8
  %72 = call <2 x float> @_ZN4muli4MulTERKNS_8RotationERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(8) %20)
  store <2 x float> %72, ptr %19, align 8
  %73 = load ptr, ptr %0, align 8, !tbaa !11
  %74 = getelementptr inbounds i8, ptr %73, i64 48
  %75 = load ptr, ptr %74, align 8
  %76 = call noundef i32 %75(ptr noundef nonnull align 8 dereferenceable(28) %0, ptr noundef nonnull align 4 dereferenceable(8) %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  %77 = load ptr, ptr %0, align 8, !tbaa !11
  %78 = getelementptr inbounds i8, ptr %77, i64 40
  %79 = load ptr, ptr %78, align 8
  %80 = call <2 x float> %79(ptr noundef nonnull align 8 dereferenceable(28) %0, i32 noundef %76)
  store <2 x float> %80, ptr %21, align 8
  %81 = call <2 x float> @_ZN4muli3MulERKNS_9TransformERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(8) %21)
  store <2 x float> %81, ptr %13, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  %82 = call <2 x float> @_ZN4muli4MulTERKNS_8RotationERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(8) %47, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %82, ptr %22, align 8
  %83 = load ptr, ptr %2, align 8, !tbaa !11
  %84 = getelementptr inbounds i8, ptr %83, i64 48
  %85 = load ptr, ptr %84, align 8
  %86 = call noundef i32 %85(ptr noundef nonnull align 8 dereferenceable(28) %2, ptr noundef nonnull align 4 dereferenceable(8) %22)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #8
  %87 = load ptr, ptr %2, align 8, !tbaa !11
  %88 = getelementptr inbounds i8, ptr %87, i64 40
  %89 = load ptr, ptr %88, align 8
  %90 = call <2 x float> %89(ptr noundef nonnull align 8 dereferenceable(28) %2, i32 noundef %86)
  store <2 x float> %90, ptr %23, align 8
  %91 = call <2 x float> @_ZN4muli3MulERKNS_9TransformERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(8) %23)
  store <2 x float> %91, ptr %16, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #8
  %92 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %92, ptr %24, align 8
  %93 = call noundef float @_ZN4muli4Vec29NormalizeEv(ptr noundef nonnull align 4 dereferenceable(8) %18)
  %94 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %24)
  %95 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %9)
  %96 = fsub float %94, %60
  %97 = fmul float %.06990, %95
  %98 = fcmp ogt float %96, %97
  br i1 %98, label %99, label %._crit_edge

._crit_edge:                                      ; preds = %70
  %.pre = load i32, ptr %10, align 4, !tbaa !13
  br label %106

99:                                               ; preds = %70
  %100 = fcmp ugt float %95, 0.000000e+00
  br i1 %100, label %101, label %.thread

101:                                              ; preds = %99
  %102 = fdiv float %96, %95
  %103 = fcmp ogt float %102, 1.000000e+00
  br i1 %103, label %.thread, label %104

104:                                              ; preds = %101
  %105 = call <2 x float> @_ZNK4muli4Vec2ngEv(ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %105, ptr %8, align 8
  store i32 0, ptr %10, align 4, !tbaa !13
  br label %106

106:                                              ; preds = %._crit_edge, %104
  %107 = phi i32 [ 0, %104 ], [ %.pre, %._crit_edge ]
  %.170 = phi float [ %102, %104 ], [ %.06990, %._crit_edge ]
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %61, i64 %108
  %110 = getelementptr inbounds i8, ptr %109, i64 8
  store i32 %76, ptr %110, align 4, !tbaa !16
  %111 = load i64, ptr %13, align 8
  store i64 %111, ptr %109, align 4
  %112 = getelementptr inbounds i8, ptr %109, i64 12
  %113 = getelementptr inbounds i8, ptr %109, i64 20
  store i32 %86, ptr %113, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #8
  %114 = call <2 x float> @_ZN4mulimlEfRKNS_4Vec2E(float noundef %.170, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %114, ptr %25, align 8
  %115 = call <2 x float> @_ZN4muliplERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %25)
  store <2 x float> %115, ptr %112, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #8
  %116 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %109, ptr noundef nonnull align 4 dereferenceable(8) %112)
  %117 = getelementptr inbounds i8, ptr %109, i64 24
  store <2 x float> %116, ptr %117, align 4
  %118 = getelementptr inbounds i8, ptr %109, i64 32
  store float 1.000000e+00, ptr %118, align 4, !tbaa !20
  %119 = load i32, ptr %10, align 4, !tbaa !13
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %10, align 4, !tbaa !13
  call void @_ZN4muli7Simplex7AdvanceERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(116) %10, ptr noundef nonnull align 4 dereferenceable(8) @_ZN4muli4Vec24zeroE)
  %121 = load i32, ptr %10, align 4, !tbaa !13
  %122 = icmp eq i32 %121, 3
  br i1 %122, label %.thread, label %123

.thread:                                          ; preds = %99, %101, %106
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  br label %141

123:                                              ; preds = %106
  %124 = call <2 x float> @_ZNK4muli7Simplex15GetClosestPointEv(ptr noundef nonnull align 4 dereferenceable(116) %10)
  store <2 x float> %124, ptr %18, align 8
  %125 = add nuw nsw i32 %.07289, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  %exitcond.not = icmp eq i32 %125, 20
  br i1 %exitcond.not, label %.critedge, label %62, !llvm.loop !21

.critedge:                                        ; preds = %123, %62
  %.072.lcssa = phi i32 [ 1, %123 ], [ %.07289, %62 ]
  %.069.lcssa = phi float [ %.170, %123 ], [ %.06990, %62 ]
  %126 = icmp eq i32 %.072.lcssa, 0
  %127 = fcmp oeq float %.069.lcssa, 0.000000e+00
  %or.cond = or i1 %126, %127
  br i1 %or.cond, label %141, label %128

128:                                              ; preds = %.critedge
  call void @_ZN4muli7Simplex15GetWitnessPointEPNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(116) %10, ptr noundef nonnull %13, ptr noundef nonnull %16)
  %129 = call noundef float @_ZNK4muli4Vec27Length2Ev(ptr noundef nonnull align 4 dereferenceable(8) %18)
  %130 = fcmp ogt float %129, 0.000000e+00
  br i1 %130, label %131, label %134

131:                                              ; preds = %128
  %132 = call <2 x float> @_ZNK4muli4Vec2ngEv(ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %132, ptr %8, align 8
  %133 = call noundef float @_ZN4muli4Vec29NormalizeEv(ptr noundef nonnull align 4 dereferenceable(8) %8)
  br label %134

134:                                              ; preds = %131, %128
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #8
  %135 = call noundef float @_ZNK4muli5Shape9GetRadiusEv(ptr noundef nonnull align 8 dereferenceable(28) %0)
  %136 = call <2 x float> @_ZN4mulimlEfRKNS_4Vec2E(float noundef %135, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %136, ptr %27, align 8
  %137 = call <2 x float> @_ZN4muliplERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %27)
  store <2 x float> %137, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #8
  %138 = call <2 x float> @_ZN4mulimlERKNS_4Vec2Ef(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef %.069.lcssa)
  store <2 x float> %138, ptr %28, align 8
  %139 = call <2 x float> @_ZN4muliplERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %26, ptr noundef nonnull align 4 dereferenceable(8) %28)
  store <2 x float> %139, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  %140 = load i64, ptr %8, align 8
  store i64 %140, ptr %29, align 4
  store float %.069.lcssa, ptr %30, align 4, !tbaa !5
  br label %141

141:                                              ; preds = %.thread, %.critedge, %134
  %.3 = phi i1 [ true, %134 ], [ false, %.critedge ], [ false, %.thread ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 116, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  ret i1 %.3
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4muli4Vec27SetZeroEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK4muli5Shape9GetRadiusEv(ptr noundef nonnull align 8 dereferenceable(28)) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK4muli4Vec26LengthEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5 align 2

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

declare void @_ZN4muli7Simplex7AdvanceERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(116), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #7

declare <2 x float> @_ZNK4muli7Simplex15GetClosestPointEv(ptr noundef nonnull align 4 dereferenceable(116)) local_unnamed_addr #7

declare void @_ZN4muli7Simplex15GetWitnessPointEPNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(116), ptr noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK4muli4Vec27Length2Ev(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 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 = { 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 = { 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 #7 = { "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 }
attributes #9 = { noreturn 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, !8, i64 16}
!6 = !{!"_ZTSN4muli15ShapeCastOutputE", !7, i64 0, !7, i64 8, !8, i64 16}
!7 = !{!"_ZTSN4muli4Vec2E", !8, i64 0, !8, i64 4}
!8 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !10, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTSN4muli7SimplexE", !15, i64 0, !9, i64 4, !8, i64 112}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !15, i64 8}
!17 = !{!"_ZTSN4muli12SupportPointE", !18, i64 0, !18, i64 12, !7, i64 24, !8, i64 32}
!18 = !{!"_ZTSN4muli5PointE", !7, i64 0, !15, i64 8}
!19 = !{!17, !15, i64 20}
!20 = !{!17, !8, i64 32}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass