; LLVM IR from Sopiro/Muli :: src/collision/simplex.ll (ZN4muli7Simplex7AdvanceERKNS_4Vec2E)

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

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4muli7Simplex7AdvanceERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(116) %0, ptr noundef nonnull align 4 dereferenceable(8) %1) #4 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.muli::Vec2", align 4
  %6 = alloca %"struct.muli::Vec2", align 4
  %7 = alloca %"struct.muli::Vec2", align 4
  %8 = alloca %"struct.muli::Vec2", align 4
  %9 = alloca %"struct.muli::Vec2", align 4
  %10 = alloca %"struct.muli::Vec2", align 4
  %11 = alloca %"struct.muli::Vec2", align 4
  %12 = alloca i32, align 4
  %13 = alloca %"struct.muli::Vec2", align 4
  %14 = alloca %"struct.muli::Vec2", align 4
  %15 = alloca %"struct.muli::Vec2", align 4
  %16 = alloca %"struct.muli::Vec2", align 4
  %17 = alloca %"struct.muli::Vec2", align 4
  %18 = alloca %"struct.muli::Vec2", align 4
  %19 = alloca %"struct.muli::Vec2", align 4
  %20 = alloca %"struct.muli::Vec2", align 4
  %21 = alloca %"struct.muli::Vec2", 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 %"struct.muli::Vec2", 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 %"struct.muli::Vec2", align 4
  %32 = alloca float, align 4
  %33 = alloca %"struct.muli::Vec2", align 4
  %34 = alloca %"struct.muli::Vec2", align 4
  %35 = alloca float, align 4
  %36 = alloca %"struct.muli::Vec2", align 4
  %37 = alloca %"struct.muli::Vec2", align 4
  %38 = alloca float, align 4
  %39 = alloca %"struct.muli::Vec2", align 4
  %40 = alloca %"struct.muli::Vec2", align 4
  %41 = alloca float, align 4
  %42 = alloca %"struct.muli::Vec2", align 4
  %43 = alloca %"struct.muli::Vec2", align 4
  %44 = alloca %"struct.muli::Vec2", align 4
  %45 = alloca %"struct.muli::Vec2", align 4
  %46 = alloca %"struct.muli::Vec2", align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %47 = load ptr, ptr %3, align 8
  %48 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 0
  %49 = load i32, ptr %48, align 4, !tbaa !9
  switch i32 %49, label %328 [
    i32 1, label %50
    i32 2, label %54
    i32 3, label %108
  ]

50:                                               ; preds = %2
  %51 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %52 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %51, i64 0, i64 0
  %53 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %52, i32 0, i32 3
  store float 1.000000e+00, ptr %53, align 4, !tbaa !13
  br label %328

54:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %55 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %56 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %55, i64 0, i64 0
  %57 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %56, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %57, i64 8, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %58 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %59 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %58, i64 0, i64 1
  %60 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %59, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 %60, i64 8, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %61, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %62, ptr %8, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %63 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %63, ptr %9, align 4
  %64 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %65, ptr noundef nonnull align 4 dereferenceable(8) %5)
  store <2 x float> %66, ptr %10, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %67 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %5)
  store <2 x float> %67, ptr %11, align 4
  %68 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @_ZN4muli4Vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef %64, float noundef %68)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %69 = getelementptr inbounds %"struct.muli::Vec2", ptr %7, i32 0, i32 1
  %70 = load float, ptr %69, align 4, !tbaa !19
  %71 = fcmp ole float %70, 0.000000e+00
  br i1 %71, label %72, label %78

72:                                               ; preds = %54
  %73 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 0
  store i32 1, ptr %73, align 4, !tbaa !9
  %74 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %75 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %74, i64 0, i64 0
  %76 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %75, i32 0, i32 3
  store float 1.000000e+00, ptr %76, align 4, !tbaa !13
  %77 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 2
  store float 1.000000e+00, ptr %77, align 4, !tbaa !20
  store i32 1, ptr %12, align 4
  br label %107

78:                                               ; preds = %54
  %79 = getelementptr inbounds %"struct.muli::Vec2", ptr %7, i32 0, i32 0
  %80 = load float, ptr %79, align 4, !tbaa !21
  %81 = fcmp ole float %80, 0.000000e+00
  br i1 %81, label %82, label %92

82:                                               ; preds = %78
  %83 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 0
  store i32 1, ptr %83, align 4, !tbaa !9
  %84 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %85 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %84, i64 0, i64 1
  %86 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %87 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %86, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %87, ptr align 4 %85, i64 36, i1 false), !tbaa.struct !22
  %88 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %89 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %88, i64 0, i64 0
  %90 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %89, i32 0, i32 3
  store float 1.000000e+00, ptr %90, align 4, !tbaa !13
  %91 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 2
  store float 1.000000e+00, ptr %91, align 4, !tbaa !20
  store i32 1, ptr %12, align 4
  br label %107

92:                                               ; preds = %78
  %93 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 0
  store i32 2, ptr %93, align 4, !tbaa !9
  %94 = getelementptr inbounds %"struct.muli::Vec2", ptr %7, i32 0, i32 0
  %95 = load float, ptr %94, align 4, !tbaa !21
  %96 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %97 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %96, i64 0, i64 0
  %98 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %97, i32 0, i32 3
  store float %95, ptr %98, align 4, !tbaa !13
  %99 = getelementptr inbounds %"struct.muli::Vec2", ptr %7, i32 0, i32 1
  %100 = load float, ptr %99, align 4, !tbaa !19
  %101 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %102 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %101, i64 0, i64 1
  %103 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %102, i32 0, i32 3
  store float %100, ptr %103, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %104 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %5)
  store <2 x float> %104, ptr %13, align 4
  %105 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %106 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 2
  store float %105, ptr %106, align 4, !tbaa !20
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %107

107:                                              ; preds = %92, %82, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %328

108:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %109 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %110 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %109, i64 0, i64 0
  %111 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %110, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %111, i64 8, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %112 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %113 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %112, i64 0, i64 1
  %114 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %113, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %114, i64 8, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %115 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %116 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %115, i64 0, i64 2
  %117 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %116, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %117, i64 8, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %118, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %119, ptr %18, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %120 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %120, ptr %19, align 4
  %121 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %122, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %123, ptr %20, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %124 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %124, ptr %21, align 4
  %125 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %21)
  call void @_ZN4muli4Vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef %121, float noundef %125)
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %126, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %127, ptr %23, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %128 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %128, ptr %24, align 4
  %129 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(8) %24)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %130, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %131, ptr %25, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %132 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %132, ptr %26, align 4
  %133 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(8) %26)
  call void @_ZN4muli4Vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %129, float noundef %133)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %134, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %135, ptr %28, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %136 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %136, ptr %29, align 4
  %137 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(8) %29)
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %138, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %139, ptr %30, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %140 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %140, ptr %31, align 4
  %141 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(8) %31)
  call void @_ZN4muli4Vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %137, float noundef %141)
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  %142 = getelementptr inbounds %"struct.muli::Vec2", ptr %27, i32 0, i32 0
  %143 = load float, ptr %142, align 4, !tbaa !21
  %144 = fcmp ole float %143, 0.000000e+00
  br i1 %144, label %145, label %155

145:                                              ; preds = %108
  %146 = getelementptr inbounds %"struct.muli::Vec2", ptr %17, i32 0, i32 1
  %147 = load float, ptr %146, align 4, !tbaa !19
  %148 = fcmp ole float %147, 0.000000e+00
  br i1 %148, label %149, label %155

149:                                              ; preds = %145
  %150 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 0
  store i32 1, ptr %150, align 4, !tbaa !9
  %151 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %152 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %151, i64 0, i64 0
  %153 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %152, i32 0, i32 3
  store float 1.000000e+00, ptr %153, align 4, !tbaa !13
  %154 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 2
  store float 1.000000e+00, ptr %154, align 4, !tbaa !20
  store i32 1, ptr %12, align 4
  br label %325

155:                                              ; preds = %145, %108
  %156 = getelementptr inbounds %"struct.muli::Vec2", ptr %17, i32 0, i32 0
  %157 = load float, ptr %156, align 4, !tbaa !21
  %158 = fcmp ole float %157, 0.000000e+00
  br i1 %158, label %159, label %173

159:                                              ; preds = %155
  %160 = getelementptr inbounds %"struct.muli::Vec2", ptr %22, i32 0, i32 1
  %161 = load float, ptr %160, align 4, !tbaa !19
  %162 = fcmp ole float %161, 0.000000e+00
  br i1 %162, label %163, label %173

163:                                              ; preds = %159
  %164 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 0
  store i32 1, ptr %164, align 4, !tbaa !9
  %165 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %166 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %165, i64 0, i64 1
  %167 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %168 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %167, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %168, ptr align 4 %166, i64 36, i1 false), !tbaa.struct !22
  %169 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %170 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %169, i64 0, i64 0
  %171 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %170, i32 0, i32 3
  store float 1.000000e+00, ptr %171, align 4, !tbaa !13
  %172 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 2
  store float 1.000000e+00, ptr %172, align 4, !tbaa !20
  store i32 1, ptr %12, align 4
  br label %325

173:                                              ; preds = %159, %155
  %174 = getelementptr inbounds %"struct.muli::Vec2", ptr %22, i32 0, i32 0
  %175 = load float, ptr %174, align 4, !tbaa !21
  %176 = fcmp ole float %175, 0.000000e+00
  br i1 %176, label %177, label %191

177:                                              ; preds = %173
  %178 = getelementptr inbounds %"struct.muli::Vec2", ptr %27, i32 0, i32 1
  %179 = load float, ptr %178, align 4, !tbaa !19
  %180 = fcmp ole float %179, 0.000000e+00
  br i1 %180, label %181, label %191

181:                                              ; preds = %177
  %182 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 0
  store i32 1, ptr %182, align 4, !tbaa !9
  %183 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %184 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %183, i64 0, i64 2
  %185 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %186 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %185, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %186, ptr align 4 %184, i64 36, i1 false), !tbaa.struct !22
  %187 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %188 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %187, i64 0, i64 0
  %189 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %188, i32 0, i32 3
  store float 1.000000e+00, ptr %189, align 4, !tbaa !13
  %190 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 2
  store float 1.000000e+00, ptr %190, align 4, !tbaa !20
  store i32 1, ptr %12, align 4
  br label %325

191:                                              ; preds = %177, %173
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %192 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %192, ptr %33, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %193 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %193, ptr %34, align 4
  %194 = call noundef float @_ZN4muli5CrossERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(8) %34)
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  store float %194, ptr %32, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %195 = load ptr, ptr %4, align 8, !tbaa !5
  %196 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %195)
  store <2 x float> %196, ptr %36, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  %197 = load ptr, ptr %4, align 8, !tbaa !5
  %198 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %197)
  store <2 x float> %198, ptr %37, align 4
  %199 = call noundef float @_ZN4muli5CrossERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %37)
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  store float %199, ptr %35, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %200)
  store <2 x float> %201, ptr %39, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #6
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  %203 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %202)
  store <2 x float> %203, ptr %40, align 4
  %204 = call noundef float @_ZN4muli5CrossERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %39, ptr noundef nonnull align 4 dereferenceable(8) %40)
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  store float %204, ptr %38, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  %205 = load ptr, ptr %4, align 8, !tbaa !5
  %206 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %205)
  store <2 x float> %206, ptr %42, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #6
  %207 = load ptr, ptr %4, align 8, !tbaa !5
  %208 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %207)
  store <2 x float> %208, ptr %43, align 4
  %209 = call noundef float @_ZN4muli5CrossERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %42, ptr noundef nonnull align 4 dereferenceable(8) %43)
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  store float %209, ptr %41, align 4, !tbaa !18
  %210 = getelementptr inbounds %"struct.muli::Vec2", ptr %17, i32 0, i32 0
  %211 = load float, ptr %210, align 4, !tbaa !21
  %212 = fcmp ogt float %211, 0.000000e+00
  br i1 %212, label %213, label %237

213:                                              ; preds = %191
  %214 = getelementptr inbounds %"struct.muli::Vec2", ptr %17, i32 0, i32 1
  %215 = load float, ptr %214, align 4, !tbaa !19
  %216 = fcmp ogt float %215, 0.000000e+00
  br i1 %216, label %217, label %237

217:                                              ; preds = %213
  %218 = load float, ptr %41, align 4, !tbaa !18
  %219 = load float, ptr %32, align 4, !tbaa !18
  %220 = fmul float %218, %219
  %221 = fcmp ole float %220, 0.000000e+00
  br i1 %221, label %222, label %237

222:                                              ; preds = %217
  %223 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 0
  store i32 2, ptr %223, align 4, !tbaa !9
  %224 = getelementptr inbounds %"struct.muli::Vec2", ptr %17, i32 0, i32 0
  %225 = load float, ptr %224, align 4, !tbaa !21
  %226 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %227 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %226, i64 0, i64 0
  %228 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %227, i32 0, i32 3
  store float %225, ptr %228, align 4, !tbaa !13
  %229 = getelementptr inbounds %"struct.muli::Vec2", ptr %17, i32 0, i32 1
  %230 = load float, ptr %229, align 4, !tbaa !19
  %231 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %232 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %231, i64 0, i64 1
  %233 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %232, i32 0, i32 3
  store float %230, ptr %233, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #6
  %234 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %234, ptr %44, align 4
  %235 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %44, ptr noundef nonnull align 4 dereferenceable(8) %44)
  %236 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 2
  store float %235, ptr %236, align 4, !tbaa !20
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  br label %324

237:                                              ; preds = %217, %213, %191
  %238 = getelementptr inbounds %"struct.muli::Vec2", ptr %22, i32 0, i32 0
  %239 = load float, ptr %238, align 4, !tbaa !21
  %240 = fcmp ogt float %239, 0.000000e+00
  br i1 %240, label %241, label %273

241:                                              ; preds = %237
  %242 = getelementptr inbounds %"struct.muli::Vec2", ptr %22, i32 0, i32 1
  %243 = load float, ptr %242, align 4, !tbaa !19
  %244 = fcmp ogt float %243, 0.000000e+00
  br i1 %244, label %245, label %273

245:                                              ; preds = %241
  %246 = load float, ptr %35, align 4, !tbaa !18
  %247 = load float, ptr %32, align 4, !tbaa !18
  %248 = fmul float %246, %247
  %249 = fcmp ole float %248, 0.000000e+00
  br i1 %249, label %250, label %273

250:                                              ; preds = %245
  %251 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 0
  store i32 2, ptr %251, align 4, !tbaa !9
  %252 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %253 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %252, i64 0, i64 1
  %254 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %255 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %254, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %255, ptr align 4 %253, i64 36, i1 false), !tbaa.struct !22
  %256 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %257 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %256, i64 0, i64 2
  %258 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %259 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %258, i64 0, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %259, ptr align 4 %257, i64 36, i1 false), !tbaa.struct !22
  %260 = getelementptr inbounds %"struct.muli::Vec2", ptr %22, i32 0, i32 0
  %261 = load float, ptr %260, align 4, !tbaa !21
  %262 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %263 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %262, i64 0, i64 0
  %264 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %263, i32 0, i32 3
  store float %261, ptr %264, align 4, !tbaa !13
  %265 = getelementptr inbounds %"struct.muli::Vec2", ptr %22, i32 0, i32 1
  %266 = load float, ptr %265, align 4, !tbaa !19
  %267 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %268 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %267, i64 0, i64 1
  %269 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %268, i32 0, i32 3
  store float %266, ptr %269, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #6
  %270 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %270, ptr %45, align 4
  %271 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %45, ptr noundef nonnull align 4 dereferenceable(8) %45)
  %272 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 2
  store float %271, ptr %272, align 4, !tbaa !20
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  br label %324

273:                                              ; preds = %245, %241, %237
  %274 = getelementptr inbounds %"struct.muli::Vec2", ptr %27, i32 0, i32 0
  %275 = load float, ptr %274, align 4, !tbaa !21
  %276 = fcmp ogt float %275, 0.000000e+00
  br i1 %276, label %277, label %309

277:                                              ; preds = %273
  %278 = getelementptr inbounds %"struct.muli::Vec2", ptr %27, i32 0, i32 1
  %279 = load float, ptr %278, align 4, !tbaa !19
  %280 = fcmp ogt float %279, 0.000000e+00
  br i1 %280, label %281, label %309

281:                                              ; preds = %277
  %282 = load float, ptr %38, align 4, !tbaa !18
  %283 = load float, ptr %32, align 4, !tbaa !18
  %284 = fmul float %282, %283
  %285 = fcmp ole float %284, 0.000000e+00
  br i1 %285, label %286, label %309

286:                                              ; preds = %281
  %287 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 0
  store i32 2, ptr %287, align 4, !tbaa !9
  %288 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %289 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %288, i64 0, i64 0
  %290 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %291 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %290, i64 0, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %291, ptr align 4 %289, i64 36, i1 false), !tbaa.struct !22
  %292 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %293 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %292, i64 0, i64 2
  %294 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %295 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %294, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %295, ptr align 4 %293, i64 36, i1 false), !tbaa.struct !22
  %296 = getelementptr inbounds %"struct.muli::Vec2", ptr %27, i32 0, i32 0
  %297 = load float, ptr %296, align 4, !tbaa !21
  %298 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %299 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %298, i64 0, i64 0
  %300 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %299, i32 0, i32 3
  store float %297, ptr %300, align 4, !tbaa !13
  %301 = getelementptr inbounds %"struct.muli::Vec2", ptr %27, i32 0, i32 1
  %302 = load float, ptr %301, align 4, !tbaa !19
  %303 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %304 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %303, i64 0, i64 1
  %305 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %304, i32 0, i32 3
  store float %302, ptr %305, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #6
  %306 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %306, ptr %46, align 4
  %307 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %46, ptr noundef nonnull align 4 dereferenceable(8) %46)
  %308 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 2
  store float %307, ptr %308, align 4, !tbaa !20
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #6
  br label %324

309:                                              ; preds = %281, %277, %273
  %310 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 0
  store i32 3, ptr %310, align 4, !tbaa !9
  %311 = load float, ptr %35, align 4, !tbaa !18
  %312 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %313 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %312, i64 0, i64 0
  %314 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %313, i32 0, i32 3
  store float %311, ptr %314, align 4, !tbaa !13
  %315 = load float, ptr %38, align 4, !tbaa !18
  %316 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %317 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %316, i64 0, i64 1
  %318 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %317, i32 0, i32 3
  store float %315, ptr %318, align 4, !tbaa !13
  %319 = load float, ptr %41, align 4, !tbaa !18
  %320 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 1
  %321 = getelementptr inbounds [3 x %"struct.muli::SupportPoint"], ptr %320, i64 0, i64 2
  %322 = getelementptr inbounds %"struct.muli::SupportPoint", ptr %321, i32 0, i32 3
  store float %319, ptr %322, align 4, !tbaa !13
  %323 = getelementptr inbounds %"struct.muli::Simplex", ptr %47, i32 0, i32 2
  store float 1.000000e+00, ptr %323, align 4, !tbaa !20
  store i32 0, ptr %12, align 4
  br label %324

324:                                              ; preds = %309, %286, %250, %222
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %325

325:                                              ; preds = %324, %181, %163, %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  %326 = load i32, ptr %12, align 4
  switch i32 %326, label %329 [
    i32 0, label %327
    i32 1, label %328
  ]

327:                                              ; preds = %325
  br label %328

328:                                              ; preds = %327, %325, %107, %50, %2
  ret void

329:                                              ; preds = %325
  unreachable
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN4muli5CrossERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN4muli7SimplexE", !11, i64 0, !7, i64 4, !12, i64 112}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !12, i64 32}
!14 = !{!"_ZTSN4muli12SupportPointE", !15, i64 0, !15, i64 12, !16, i64 24, !12, i64 32}
!15 = !{!"_ZTSN4muli5PointE", !16, i64 0, !11, i64 8}
!16 = !{!"_ZTSN4muli4Vec2E", !12, i64 0, !12, i64 4}
!17 = !{i64 0, i64 4, !18, i64 4, i64 4, !18}
!18 = !{!12, !12, i64 0}
!19 = !{!16, !12, i64 4}
!20 = !{!10, !12, i64 112}
!21 = !{!16, !12, i64 0}
!22 = !{i64 0, i64 4, !18, i64 4, i64 4, !18, i64 8, i64 4, !23, i64 12, i64 4, !18, i64 16, i64 4, !18, i64 20, i64 4, !23, i64 24, i64 4, !18, i64 28, i64 4, !18, i64 32, i64 4, !18}
!23 = !{!11, !11, i64 0}


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

%"struct.muli::Vec2" = type { float, float }

; 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress 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: mustprogress uwtable
define dso_local void @_ZN4muli7Simplex7AdvanceERKNS_4Vec2E(ptr nocapture noundef nonnull align 4 dereferenceable(116) %0, ptr noundef nonnull align 4 dereferenceable(8) %1) local_unnamed_addr #4 align 2 {
  %3 = alloca %"struct.muli::Vec2", align 8
  %4 = alloca %"struct.muli::Vec2", align 8
  %5 = alloca %"struct.muli::Vec2", align 4
  %6 = alloca %"struct.muli::Vec2", align 8
  %7 = alloca %"struct.muli::Vec2", align 8
  %8 = alloca %"struct.muli::Vec2", align 8
  %9 = alloca %"struct.muli::Vec2", align 8
  %10 = alloca %"struct.muli::Vec2", align 8
  %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 4
  %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 4
  %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 4
  %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
  %29 = alloca %"struct.muli::Vec2", align 8
  %30 = alloca %"struct.muli::Vec2", align 8
  %31 = alloca %"struct.muli::Vec2", align 8
  %32 = alloca %"struct.muli::Vec2", align 8
  %33 = alloca %"struct.muli::Vec2", align 8
  %34 = alloca %"struct.muli::Vec2", align 8
  %35 = alloca %"struct.muli::Vec2", align 8
  %36 = alloca %"struct.muli::Vec2", align 8
  %37 = alloca %"struct.muli::Vec2", align 8
  %38 = alloca %"struct.muli::Vec2", align 8
  %39 = alloca %"struct.muli::Vec2", align 8
  %40 = load i32, ptr %0, align 4, !tbaa !5
  switch i32 %40, label %186 [
    i32 1, label %41
    i32 2, label %43
    i32 3, label %75
  ]

41:                                               ; preds = %2
  %42 = getelementptr inbounds i8, ptr %0, i64 36
  store float 1.000000e+00, ptr %42, align 4, !tbaa !11
  br label %186

43:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %44 = getelementptr inbounds i8, ptr %0, i64 4
  %45 = getelementptr inbounds i8, ptr %0, i64 28
  %46 = load i64, ptr %45, align 4
  store i64 %46, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %47 = getelementptr inbounds i8, ptr %0, i64 40
  %48 = getelementptr inbounds i8, ptr %0, i64 64
  %49 = load i64, ptr %48, align 4
  store i64 %49, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %50 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %4)
  store <2 x float> %50, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %51 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %4)
  store <2 x float> %51, ptr %7, align 8
  %52 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %53 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %3)
  store <2 x float> %53, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %54 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %3)
  store <2 x float> %54, ptr %9, align 8
  %55 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @_ZN4muli4Vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %52, float noundef %55)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %56 = getelementptr inbounds i8, ptr %5, i64 4
  %57 = load float, ptr %56, align 4, !tbaa !15
  %58 = fcmp ugt float %57, 0.000000e+00
  br i1 %58, label %62, label %59

59:                                               ; preds = %43
  store i32 1, ptr %0, align 4, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %0, i64 36
  store float 1.000000e+00, ptr %60, align 4, !tbaa !11
  %61 = getelementptr inbounds i8, ptr %0, i64 112
  store float 1.000000e+00, ptr %61, align 4, !tbaa !16
  br label %74

62:                                               ; preds = %43
  %63 = load float, ptr %5, align 4, !tbaa !17
  %64 = fcmp ugt float %63, 0.000000e+00
  br i1 %64, label %68, label %65

65:                                               ; preds = %62
  store i32 1, ptr %0, align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %44, ptr noundef nonnull align 4 dereferenceable(36) %47, i64 32, i1 false), !tbaa.struct !18
  %66 = getelementptr inbounds i8, ptr %0, i64 36
  store float 1.000000e+00, ptr %66, align 4, !tbaa !11
  %67 = getelementptr inbounds i8, ptr %0, i64 112
  store float 1.000000e+00, ptr %67, align 4, !tbaa !16
  br label %74

68:                                               ; preds = %62
  store i32 2, ptr %0, align 4, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %0, i64 36
  store float %63, ptr %69, align 4, !tbaa !11
  %70 = getelementptr inbounds i8, ptr %0, i64 72
  store float %57, ptr %70, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %71 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %3)
  store <2 x float> %71, ptr %10, align 8
  %72 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %10)
  %73 = getelementptr inbounds i8, ptr %0, i64 112
  store float %72, ptr %73, align 4, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %74

74:                                               ; preds = %68, %65, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  br label %186

75:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %76 = getelementptr inbounds i8, ptr %0, i64 4
  %77 = getelementptr inbounds i8, ptr %0, i64 28
  %78 = load i64, ptr %77, align 4
  store i64 %78, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %79 = getelementptr inbounds i8, ptr %0, i64 40
  %80 = getelementptr inbounds i8, ptr %0, i64 64
  %81 = load i64, ptr %80, align 4
  store i64 %81, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %82 = getelementptr inbounds i8, ptr %0, i64 76
  %83 = getelementptr inbounds i8, ptr %0, i64 100
  %84 = load i64, ptr %83, align 4
  store i64 %84, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %85 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %85, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  %86 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %86, ptr %16, align 8
  %87 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  %88 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %88, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  %89 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %89, ptr %18, align 8
  %90 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %18)
  call void @_ZN4muli4Vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %87, float noundef %90)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %91 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %91, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  %92 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %92, ptr %21, align 8
  %93 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %21)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #6
  %94 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %94, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  %95 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %95, ptr %23, align 8
  %96 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %23)
  call void @_ZN4muli4Vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %93, float noundef %96)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #6
  %97 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %97, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #6
  %98 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %98, ptr %26, align 8
  %99 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(8) %26)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #6
  %100 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %100, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #6
  %101 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %101, ptr %28, align 8
  %102 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %28)
  call void @_ZN4muli4Vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef %99, float noundef %102)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  %103 = load float, ptr %24, align 4, !tbaa !17
  %104 = fcmp ole float %103, 0.000000e+00
  %105 = getelementptr inbounds i8, ptr %14, i64 4
  %106 = load float, ptr %105, align 4
  %107 = fcmp ole float %106, 0.000000e+00
  %or.cond = select i1 %104, i1 %107, i1 false
  br i1 %or.cond, label %108, label %111

108:                                              ; preds = %75
  store i32 1, ptr %0, align 4, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %0, i64 36
  store float 1.000000e+00, ptr %109, align 4, !tbaa !11
  %110 = getelementptr inbounds i8, ptr %0, i64 112
  store float 1.000000e+00, ptr %110, align 4, !tbaa !16
  br label %185

111:                                              ; preds = %75
  %112 = load float, ptr %14, align 4, !tbaa !17
  %113 = fcmp ole float %112, 0.000000e+00
  %114 = getelementptr inbounds i8, ptr %19, i64 4
  %115 = load float, ptr %114, align 4
  %116 = fcmp ole float %115, 0.000000e+00
  %or.cond5 = select i1 %113, i1 %116, i1 false
  br i1 %or.cond5, label %117, label %120

117:                                              ; preds = %111
  store i32 1, ptr %0, align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %76, ptr noundef nonnull align 4 dereferenceable(36) %79, i64 32, i1 false), !tbaa.struct !18
  %118 = getelementptr inbounds i8, ptr %0, i64 36
  store float 1.000000e+00, ptr %118, align 4, !tbaa !11
  %119 = getelementptr inbounds i8, ptr %0, i64 112
  store float 1.000000e+00, ptr %119, align 4, !tbaa !16
  br label %185

120:                                              ; preds = %111
  %121 = load float, ptr %19, align 4, !tbaa !17
  %122 = fcmp ole float %121, 0.000000e+00
  %123 = getelementptr inbounds i8, ptr %24, i64 4
  %124 = load float, ptr %123, align 4
  %125 = fcmp ole float %124, 0.000000e+00
  %or.cond8 = select i1 %122, i1 %125, i1 false
  br i1 %or.cond8, label %126, label %129

126:                                              ; preds = %120
  store i32 1, ptr %0, align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %76, ptr noundef nonnull align 4 dereferenceable(36) %82, i64 32, i1 false), !tbaa.struct !18
  %127 = getelementptr inbounds i8, ptr %0, i64 36
  store float 1.000000e+00, ptr %127, align 4, !tbaa !11
  %128 = getelementptr inbounds i8, ptr %0, i64 112
  store float 1.000000e+00, ptr %128, align 4, !tbaa !16
  br label %185

129:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #6
  %130 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %130, ptr %29, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #6
  %131 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %131, ptr %30, align 8
  %132 = call noundef float @_ZN4muli5CrossERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(8) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #6
  %133 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %1)
  store <2 x float> %133, ptr %31, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #6
  %134 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %1)
  store <2 x float> %134, ptr %32, align 8
  %135 = call noundef float @_ZN4muli5CrossERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %32)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #6
  %136 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %1)
  store <2 x float> %136, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #6
  %137 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %1)
  store <2 x float> %137, ptr %34, align 8
  %138 = call noundef float @_ZN4muli5CrossERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(8) %34)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #6
  %139 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %1)
  store <2 x float> %139, ptr %35, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #6
  %140 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %1)
  store <2 x float> %140, ptr %36, align 8
  %141 = call noundef float @_ZN4muli5CrossERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(8) %36)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #6
  %142 = load float, ptr %14, align 4, !tbaa !17
  %143 = fcmp ule float %142, 0.000000e+00
  %144 = load float, ptr %105, align 4
  %145 = fcmp ule float %144, 0.000000e+00
  %or.cond11.not48 = select i1 %143, i1 true, i1 %145
  %146 = fmul float %132, %141
  %147 = fcmp ugt float %146, 0.000000e+00
  %or.cond42 = or i1 %147, %or.cond11.not48
  br i1 %or.cond42, label %154, label %148

148:                                              ; preds = %129
  store i32 2, ptr %0, align 4, !tbaa !5
  %149 = getelementptr inbounds i8, ptr %0, i64 36
  store float %142, ptr %149, align 4, !tbaa !11
  %150 = getelementptr inbounds i8, ptr %0, i64 72
  store float %144, ptr %150, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #6
  %151 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %151, ptr %37, align 8
  %152 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 4 dereferenceable(8) %37)
  %153 = getelementptr inbounds i8, ptr %0, i64 112
  store float %152, ptr %153, align 4, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #6
  br label %185

154:                                              ; preds = %129
  %155 = load float, ptr %19, align 4, !tbaa !17
  %156 = fcmp ule float %155, 0.000000e+00
  %157 = load float, ptr %114, align 4
  %158 = fcmp ule float %157, 0.000000e+00
  %or.cond14.not50 = select i1 %156, i1 true, i1 %158
  %159 = fmul float %132, %135
  %160 = fcmp ugt float %159, 0.000000e+00
  %or.cond44 = or i1 %160, %or.cond14.not50
  br i1 %or.cond44, label %167, label %161

161:                                              ; preds = %154
  store i32 2, ptr %0, align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %76, ptr noundef nonnull align 4 dereferenceable(36) %79, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %79, ptr noundef nonnull align 4 dereferenceable(36) %82, i64 32, i1 false), !tbaa.struct !18
  %162 = getelementptr inbounds i8, ptr %0, i64 36
  store float %155, ptr %162, align 4, !tbaa !11
  %163 = getelementptr inbounds i8, ptr %0, i64 72
  store float %157, ptr %163, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #6
  %164 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %164, ptr %38, align 8
  %165 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %38, ptr noundef nonnull align 4 dereferenceable(8) %38)
  %166 = getelementptr inbounds i8, ptr %0, i64 112
  store float %165, ptr %166, align 4, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #6
  br label %185

167:                                              ; preds = %154
  %168 = load float, ptr %24, align 4, !tbaa !17
  %169 = fcmp ule float %168, 0.000000e+00
  %170 = load float, ptr %123, align 4
  %171 = fcmp ule float %170, 0.000000e+00
  %or.cond17.not52 = select i1 %169, i1 true, i1 %171
  %172 = fmul float %132, %138
  %173 = fcmp ugt float %172, 0.000000e+00
  %or.cond46 = or i1 %173, %or.cond17.not52
  br i1 %or.cond46, label %180, label %174

174:                                              ; preds = %167
  store i32 2, ptr %0, align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %79, ptr noundef nonnull align 4 dereferenceable(36) %76, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %76, ptr noundef nonnull align 4 dereferenceable(36) %82, i64 32, i1 false), !tbaa.struct !18
  %175 = getelementptr inbounds i8, ptr %0, i64 36
  store float %168, ptr %175, align 4, !tbaa !11
  %176 = getelementptr inbounds i8, ptr %0, i64 72
  store float %170, ptr %176, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #6
  %177 = call <2 x float> @_ZN4mulimiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %177, ptr %39, align 8
  %178 = call noundef float @_ZN4muli3DotERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %39, ptr noundef nonnull align 4 dereferenceable(8) %39)
  %179 = getelementptr inbounds i8, ptr %0, i64 112
  store float %178, ptr %179, align 4, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #6
  br label %185

180:                                              ; preds = %167
  store i32 3, ptr %0, align 4, !tbaa !5
  %181 = getelementptr inbounds i8, ptr %0, i64 36
  store float %135, ptr %181, align 4, !tbaa !11
  %182 = getelementptr inbounds i8, ptr %0, i64 72
  store float %138, ptr %182, align 4, !tbaa !11
  %183 = getelementptr inbounds i8, ptr %0, i64 108
  store float %141, ptr %183, align 4, !tbaa !11
  %184 = getelementptr inbounds i8, ptr %0, i64 112
  store float 1.000000e+00, ptr %184, align 4, !tbaa !16
  br label %185

185:                                              ; preds = %148, %161, %174, %180, %126, %117, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br label %186

186:                                              ; preds = %185, %74, %41, %2
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN4muli5CrossERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #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 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN4muli7SimplexE", !7, i64 0, !8, i64 4, !10, i64 112}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!12, !10, i64 32}
!12 = !{!"_ZTSN4muli12SupportPointE", !13, i64 0, !13, i64 12, !14, i64 24, !10, i64 32}
!13 = !{!"_ZTSN4muli5PointE", !14, i64 0, !7, i64 8}
!14 = !{!"_ZTSN4muli4Vec2E", !10, i64 0, !10, i64 4}
!15 = !{!14, !10, i64 4}
!16 = !{!6, !10, i64 112}
!17 = !{!14, !10, i64 0}
!18 = !{i64 0, i64 4, !19, i64 4, i64 4, !19, i64 8, i64 4, !20, i64 12, i64 4, !19, i64 16, i64 4, !19, i64 20, i64 4, !20, i64 24, i64 4, !19, i64 28, i64 4, !19, i64 32, i64 4, !19}
!19 = !{!10, !10, i64 0}
!20 = !{!7, !7, i64 0}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass