; LLVM IR from heroseh/cgm :: cgm (cgm_3d_capsule_vs_capsule)

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

%union.CgmVec3 = type { %struct.anon.0 }
%struct.anon.0 = type { float, float, float }
%struct.CgmCapsule3d = type { %union.CgmVec3, %union.CgmVec3, float, float }

; Function Attrs: nounwind uwtable
declare dso_local float @cgm_min(float noundef, float noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local float @cgm_max(float noundef, float noundef) #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @cgm_approx_eq(float noundef, float noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local { <2 x float>, float } @CgmVec3_add(<2 x float>, float, <2 x float>, float) #4

; Function Attrs: nounwind uwtable
declare dso_local { <2 x float>, float } @CgmVec3_sub(<2 x float>, float, <2 x float>, float) #4

; Function Attrs: nounwind uwtable
declare dso_local { <2 x float>, float } @CgmVec3_mul_scalar(<2 x float>, float, float noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local { <2 x float>, float } @CgmVec3_neg(<2 x float>, float) #4

; Function Attrs: nounwind uwtable
declare dso_local { <2 x float>, float } @CgmVec3_norm(<2 x float>, float) #4

; Function Attrs: nounwind uwtable
declare dso_local float @CgmVec3_dot(<2 x float>, float, <2 x float>, float) #4

; Function Attrs: nounwind uwtable
declare dso_local { <2 x float>, float } @CgmVec3_mul_cross(<2 x float>, float, <2 x float>, float) #4

; Function Attrs: nounwind uwtable
declare dso_local { <2 x float>, float } @CgmCapsule3d_get_projected_pt(ptr noundef, <2 x float>, float) #4

; Function Attrs: nounwind uwtable
define dso_local zeroext i8 @cgm_3d_capsule_vs_capsule(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #4 {
  %5 = alloca i8, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %union.CgmVec3, align 4
  %11 = alloca { <2 x float>, float }, align 4
  %12 = alloca { <2 x float>, float }, align 8
  %13 = alloca %union.CgmVec3, align 4
  %14 = alloca { <2 x float>, float }, align 4
  %15 = alloca { <2 x float>, float }, align 4
  %16 = alloca { <2 x float>, float }, align 8
  %17 = alloca %union.CgmVec3, align 4
  %18 = alloca %union.CgmVec3, align 4
  %19 = alloca { <2 x float>, float }, align 4
  %20 = alloca { <2 x float>, float }, align 8
  %21 = alloca { <2 x float>, float }, align 4
  %22 = alloca { <2 x float>, float }, align 4
  %23 = alloca { <2 x float>, float }, align 8
  %24 = alloca %union.CgmVec3, align 4
  %25 = alloca { <2 x float>, float }, align 4
  %26 = alloca { <2 x float>, float }, align 4
  %27 = alloca { <2 x float>, float }, align 8
  %28 = alloca %union.CgmVec3, align 4
  %29 = alloca { <2 x float>, float }, align 4
  %30 = alloca { <2 x float>, float }, align 8
  %31 = alloca %union.CgmVec3, align 4
  %32 = alloca { <2 x float>, float }, align 4
  %33 = alloca { <2 x float>, float }, align 4
  %34 = alloca { <2 x float>, float }, align 8
  %35 = alloca %union.CgmVec3, align 4
  %36 = alloca %union.CgmVec3, align 4
  %37 = alloca { <2 x float>, float }, align 4
  %38 = alloca { <2 x float>, float }, align 8
  %39 = alloca { <2 x float>, float }, align 4
  %40 = alloca { <2 x float>, float }, align 4
  %41 = alloca { <2 x float>, float }, align 8
  %42 = alloca %union.CgmVec3, align 4
  %43 = alloca { <2 x float>, float }, align 4
  %44 = alloca { <2 x float>, float }, align 4
  %45 = alloca { <2 x float>, float }, align 8
  %46 = alloca [1 x [2 x %union.CgmVec3]], align 16
  %47 = alloca %union.CgmVec3, align 4
  %48 = alloca float, align 4
  %49 = alloca [4 x %union.CgmVec3], align 16
  %50 = alloca %union.CgmVec3, align 4
  %51 = alloca { <2 x float>, float }, align 4
  %52 = alloca { <2 x float>, float }, align 8
  %53 = alloca { <2 x float>, float }, align 4
  %54 = alloca { <2 x float>, float }, align 4
  %55 = alloca { <2 x float>, float }, align 8
  %56 = alloca %union.CgmVec3, align 4
  %57 = alloca { <2 x float>, float }, align 4
  %58 = alloca { <2 x float>, float }, align 8
  %59 = alloca { <2 x float>, float }, align 4
  %60 = alloca { <2 x float>, float }, align 4
  %61 = alloca { <2 x float>, float }, align 8
  %62 = alloca %union.CgmVec3, align 4
  %63 = alloca { <2 x float>, float }, align 4
  %64 = alloca { <2 x float>, float }, align 8
  %65 = alloca { <2 x float>, float }, align 4
  %66 = alloca { <2 x float>, float }, align 4
  %67 = alloca { <2 x float>, float }, align 8
  %68 = alloca %union.CgmVec3, align 4
  %69 = alloca { <2 x float>, float }, align 4
  %70 = alloca { <2 x float>, float }, align 8
  %71 = alloca { <2 x float>, float }, align 4
  %72 = alloca { <2 x float>, float }, align 4
  %73 = alloca { <2 x float>, float }, align 8
  %74 = alloca [4 x float], align 16
  %75 = alloca { <2 x float>, float }, align 16
  %76 = alloca { <2 x float>, float }, align 16
  %77 = alloca { <2 x float>, float }, align 4
  %78 = alloca { <2 x float>, float }, align 4
  %79 = alloca { <2 x float>, float }, align 8
  %80 = alloca { <2 x float>, float }, align 8
  %81 = alloca { <2 x float>, float }, align 4
  %82 = alloca { <2 x float>, float }, align 4
  %83 = alloca i32, align 4
  %84 = alloca [3 x %union.CgmVec3], align 16
  %85 = alloca { <2 x float>, float }, align 4
  %86 = alloca { <2 x float>, float }, align 8
  %87 = alloca { <2 x float>, float }, align 4
  %88 = alloca { <2 x float>, float }, align 8
  %89 = alloca { <2 x float>, float }, align 4
  %90 = alloca { <2 x float>, float }, align 8
  %91 = alloca %union.CgmVec3, align 4
  %92 = alloca float, align 4
  %93 = alloca i32, align 4
  %94 = alloca i32, align 4
  %95 = alloca %union.CgmVec3, align 4
  %96 = alloca %union.CgmVec3, align 4
  %97 = alloca { <2 x float>, float }, align 4
  %98 = alloca { <2 x float>, float }, align 4
  %99 = alloca { <2 x float>, float }, align 8
  %100 = alloca float, align 4
  %101 = alloca { <2 x float>, float }, align 4
  %102 = alloca { <2 x float>, float }, align 4
  %103 = alloca %union.CgmVec3, align 4
  %104 = alloca { <2 x float>, float }, align 4
  %105 = alloca { <2 x float>, float }, align 8
  %106 = alloca float, align 4
  %107 = alloca { <2 x float>, float }, align 4
  %108 = alloca { <2 x float>, float }, align 4
  %109 = alloca float, align 4
  %110 = alloca { <2 x float>, float }, align 4
  %111 = alloca { <2 x float>, float }, align 4
  %112 = alloca float, align 4
  %113 = alloca float, align 4
  %114 = alloca float, align 4
  %115 = alloca { <2 x float>, float }, align 4
  %116 = alloca { <2 x float>, float }, align 4
  %117 = alloca float, align 4
  %118 = alloca { <2 x float>, float }, align 4
  %119 = alloca { <2 x float>, float }, align 4
  %120 = alloca float, align 4
  %121 = alloca float, align 4
  %122 = alloca float, align 4
  %123 = alloca %union.CgmVec3, align 4
  %124 = alloca i1, align 1
  %125 = alloca { <2 x float>, float }, align 4
  %126 = alloca { <2 x float>, float }, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #5
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.CgmCapsule3d, ptr %127, i32 0, i32 1
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.CgmCapsule3d, ptr %129, i32 0, i32 2
  %131 = load float, ptr %130, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %128, i64 12, i1 false)
  %132 = getelementptr inbounds { <2 x float>, float }, ptr %11, i32 0, i32 0
  %133 = load <2 x float>, ptr %132, align 4
  %134 = getelementptr inbounds { <2 x float>, float }, ptr %11, i32 0, i32 1
  %135 = load float, ptr %134, align 4
  %136 = call { <2 x float>, float } @CgmVec3_mul_scalar(<2 x float> %133, float %135, float noundef %131)
  %137 = getelementptr inbounds %union.CgmVec3, ptr %10, i32 0, i32 0
  store { <2 x float>, float } %136, ptr %12, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %137, ptr align 8 %12, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #5
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.CgmCapsule3d, ptr %138, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %139, i64 12, i1 false)
  %140 = getelementptr inbounds { <2 x float>, float }, ptr %14, i32 0, i32 0
  %141 = load <2 x float>, ptr %140, align 4
  %142 = getelementptr inbounds { <2 x float>, float }, ptr %14, i32 0, i32 1
  %143 = load float, ptr %142, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %10, i64 12, i1 false)
  %144 = getelementptr inbounds { <2 x float>, float }, ptr %15, i32 0, i32 0
  %145 = load <2 x float>, ptr %144, align 4
  %146 = getelementptr inbounds { <2 x float>, float }, ptr %15, i32 0, i32 1
  %147 = load float, ptr %146, align 4
  %148 = call { <2 x float>, float } @CgmVec3_add(<2 x float> %141, float %143, <2 x float> %145, float %147)
  %149 = getelementptr inbounds %union.CgmVec3, ptr %13, i32 0, i32 0
  store { <2 x float>, float } %148, ptr %16, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %149, ptr align 8 %16, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #5
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.CgmCapsule3d, ptr %150, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %10, i64 12, i1 false)
  %152 = getelementptr inbounds { <2 x float>, float }, ptr %19, i32 0, i32 0
  %153 = load <2 x float>, ptr %152, align 4
  %154 = getelementptr inbounds { <2 x float>, float }, ptr %19, i32 0, i32 1
  %155 = load float, ptr %154, align 4
  %156 = call { <2 x float>, float } @CgmVec3_neg(<2 x float> %153, float %155)
  %157 = getelementptr inbounds %union.CgmVec3, ptr %18, i32 0, i32 0
  store { <2 x float>, float } %156, ptr %20, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %157, ptr align 8 %20, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 4 %151, i64 12, i1 false)
  %158 = getelementptr inbounds { <2 x float>, float }, ptr %21, i32 0, i32 0
  %159 = load <2 x float>, ptr %158, align 4
  %160 = getelementptr inbounds { <2 x float>, float }, ptr %21, i32 0, i32 1
  %161 = load float, ptr %160, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %18, i64 12, i1 false)
  %162 = getelementptr inbounds { <2 x float>, float }, ptr %22, i32 0, i32 0
  %163 = load <2 x float>, ptr %162, align 4
  %164 = getelementptr inbounds { <2 x float>, float }, ptr %22, i32 0, i32 1
  %165 = load float, ptr %164, align 4
  %166 = call { <2 x float>, float } @CgmVec3_add(<2 x float> %159, float %161, <2 x float> %163, float %165)
  %167 = getelementptr inbounds %union.CgmVec3, ptr %17, i32 0, i32 0
  store { <2 x float>, float } %166, ptr %23, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %167, ptr align 8 %23, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %24) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %17, i64 12, i1 false)
  %168 = getelementptr inbounds { <2 x float>, float }, ptr %25, i32 0, i32 0
  %169 = load <2 x float>, ptr %168, align 4
  %170 = getelementptr inbounds { <2 x float>, float }, ptr %25, i32 0, i32 1
  %171 = load float, ptr %170, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %13, i64 12, i1 false)
  %172 = getelementptr inbounds { <2 x float>, float }, ptr %26, i32 0, i32 0
  %173 = load <2 x float>, ptr %172, align 4
  %174 = getelementptr inbounds { <2 x float>, float }, ptr %26, i32 0, i32 1
  %175 = load float, ptr %174, align 4
  %176 = call { <2 x float>, float } @CgmVec3_sub(<2 x float> %169, float %171, <2 x float> %173, float %175)
  %177 = getelementptr inbounds %union.CgmVec3, ptr %24, i32 0, i32 0
  store { <2 x float>, float } %176, ptr %27, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %177, ptr align 8 %27, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %28) #5
  %178 = load ptr, ptr %7, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.CgmCapsule3d, ptr %178, i32 0, i32 1
  %180 = load ptr, ptr %7, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.CgmCapsule3d, ptr %180, i32 0, i32 2
  %182 = load float, ptr %181, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %179, i64 12, i1 false)
  %183 = getelementptr inbounds { <2 x float>, float }, ptr %29, i32 0, i32 0
  %184 = load <2 x float>, ptr %183, align 4
  %185 = getelementptr inbounds { <2 x float>, float }, ptr %29, i32 0, i32 1
  %186 = load float, ptr %185, align 4
  %187 = call { <2 x float>, float } @CgmVec3_mul_scalar(<2 x float> %184, float %186, float noundef %182)
  %188 = getelementptr inbounds %union.CgmVec3, ptr %28, i32 0, i32 0
  store { <2 x float>, float } %187, ptr %30, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %188, ptr align 8 %30, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %31) #5
  %189 = load ptr, ptr %7, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.CgmCapsule3d, ptr %189, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %190, i64 12, i1 false)
  %191 = getelementptr inbounds { <2 x float>, float }, ptr %32, i32 0, i32 0
  %192 = load <2 x float>, ptr %191, align 4
  %193 = getelementptr inbounds { <2 x float>, float }, ptr %32, i32 0, i32 1
  %194 = load float, ptr %193, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %28, i64 12, i1 false)
  %195 = getelementptr inbounds { <2 x float>, float }, ptr %33, i32 0, i32 0
  %196 = load <2 x float>, ptr %195, align 4
  %197 = getelementptr inbounds { <2 x float>, float }, ptr %33, i32 0, i32 1
  %198 = load float, ptr %197, align 4
  %199 = call { <2 x float>, float } @CgmVec3_add(<2 x float> %192, float %194, <2 x float> %196, float %198)
  %200 = getelementptr inbounds %union.CgmVec3, ptr %31, i32 0, i32 0
  store { <2 x float>, float } %199, ptr %34, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %200, ptr align 8 %34, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %35) #5
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.CgmCapsule3d, ptr %201, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %28, i64 12, i1 false)
  %203 = getelementptr inbounds { <2 x float>, float }, ptr %37, i32 0, i32 0
  %204 = load <2 x float>, ptr %203, align 4
  %205 = getelementptr inbounds { <2 x float>, float }, ptr %37, i32 0, i32 1
  %206 = load float, ptr %205, align 4
  %207 = call { <2 x float>, float } @CgmVec3_neg(<2 x float> %204, float %206)
  %208 = getelementptr inbounds %union.CgmVec3, ptr %36, i32 0, i32 0
  store { <2 x float>, float } %207, ptr %38, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %208, ptr align 8 %38, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 %202, i64 12, i1 false)
  %209 = getelementptr inbounds { <2 x float>, float }, ptr %39, i32 0, i32 0
  %210 = load <2 x float>, ptr %209, align 4
  %211 = getelementptr inbounds { <2 x float>, float }, ptr %39, i32 0, i32 1
  %212 = load float, ptr %211, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %36, i64 12, i1 false)
  %213 = getelementptr inbounds { <2 x float>, float }, ptr %40, i32 0, i32 0
  %214 = load <2 x float>, ptr %213, align 4
  %215 = getelementptr inbounds { <2 x float>, float }, ptr %40, i32 0, i32 1
  %216 = load float, ptr %215, align 4
  %217 = call { <2 x float>, float } @CgmVec3_add(<2 x float> %210, float %212, <2 x float> %214, float %216)
  %218 = getelementptr inbounds %union.CgmVec3, ptr %35, i32 0, i32 0
  store { <2 x float>, float } %217, ptr %41, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %218, ptr align 8 %41, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %42) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %35, i64 12, i1 false)
  %219 = getelementptr inbounds { <2 x float>, float }, ptr %43, i32 0, i32 0
  %220 = load <2 x float>, ptr %219, align 4
  %221 = getelementptr inbounds { <2 x float>, float }, ptr %43, i32 0, i32 1
  %222 = load float, ptr %221, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 %31, i64 12, i1 false)
  %223 = getelementptr inbounds { <2 x float>, float }, ptr %44, i32 0, i32 0
  %224 = load <2 x float>, ptr %223, align 4
  %225 = getelementptr inbounds { <2 x float>, float }, ptr %44, i32 0, i32 1
  %226 = load float, ptr %225, align 4
  %227 = call { <2 x float>, float } @CgmVec3_sub(<2 x float> %220, float %222, <2 x float> %224, float %226)
  %228 = getelementptr inbounds %union.CgmVec3, ptr %42, i32 0, i32 0
  store { <2 x float>, float } %227, ptr %45, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %228, ptr align 8 %45, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 4 %24, i64 12, i1 false), !tbaa.struct !12
  %229 = getelementptr inbounds %union.CgmVec3, ptr %46, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %229, ptr align 4 %42, i64 12, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 12, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #5
  store float 0x7FF0000000000000, ptr %48, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 48, ptr %49) #5
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %31, i64 12, i1 false)
  %231 = getelementptr inbounds { <2 x float>, float }, ptr %51, i32 0, i32 0
  %232 = load <2 x float>, ptr %231, align 4
  %233 = getelementptr inbounds { <2 x float>, float }, ptr %51, i32 0, i32 1
  %234 = load float, ptr %233, align 4
  %235 = call { <2 x float>, float } @CgmCapsule3d_get_projected_pt(ptr noundef %230, <2 x float> %232, float %234)
  %236 = getelementptr inbounds %union.CgmVec3, ptr %50, i32 0, i32 0
  store { <2 x float>, float } %235, ptr %52, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %236, ptr align 8 %52, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 %50, i64 12, i1 false)
  %237 = getelementptr inbounds { <2 x float>, float }, ptr %53, i32 0, i32 0
  %238 = load <2 x float>, ptr %237, align 4
  %239 = getelementptr inbounds { <2 x float>, float }, ptr %53, i32 0, i32 1
  %240 = load float, ptr %239, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %31, i64 12, i1 false)
  %241 = getelementptr inbounds { <2 x float>, float }, ptr %54, i32 0, i32 0
  %242 = load <2 x float>, ptr %241, align 4
  %243 = getelementptr inbounds { <2 x float>, float }, ptr %54, i32 0, i32 1
  %244 = load float, ptr %243, align 4
  %245 = call { <2 x float>, float } @CgmVec3_sub(<2 x float> %238, float %240, <2 x float> %242, float %244)
  %246 = getelementptr inbounds %union.CgmVec3, ptr %49, i32 0, i32 0
  store { <2 x float>, float } %245, ptr %55, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %246, ptr align 8 %55, i64 12, i1 false)
  %247 = getelementptr inbounds %union.CgmVec3, ptr %49, i64 1
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %57, ptr align 4 %35, i64 12, i1 false)
  %249 = getelementptr inbounds { <2 x float>, float }, ptr %57, i32 0, i32 0
  %250 = load <2 x float>, ptr %249, align 4
  %251 = getelementptr inbounds { <2 x float>, float }, ptr %57, i32 0, i32 1
  %252 = load float, ptr %251, align 4
  %253 = call { <2 x float>, float } @CgmCapsule3d_get_projected_pt(ptr noundef %248, <2 x float> %250, float %252)
  %254 = getelementptr inbounds %union.CgmVec3, ptr %56, i32 0, i32 0
  store { <2 x float>, float } %253, ptr %58, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %254, ptr align 8 %58, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %59, ptr align 4 %56, i64 12, i1 false)
  %255 = getelementptr inbounds { <2 x float>, float }, ptr %59, i32 0, i32 0
  %256 = load <2 x float>, ptr %255, align 4
  %257 = getelementptr inbounds { <2 x float>, float }, ptr %59, i32 0, i32 1
  %258 = load float, ptr %257, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 4 %35, i64 12, i1 false)
  %259 = getelementptr inbounds { <2 x float>, float }, ptr %60, i32 0, i32 0
  %260 = load <2 x float>, ptr %259, align 4
  %261 = getelementptr inbounds { <2 x float>, float }, ptr %60, i32 0, i32 1
  %262 = load float, ptr %261, align 4
  %263 = call { <2 x float>, float } @CgmVec3_sub(<2 x float> %256, float %258, <2 x float> %260, float %262)
  %264 = getelementptr inbounds %union.CgmVec3, ptr %247, i32 0, i32 0
  store { <2 x float>, float } %263, ptr %61, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %264, ptr align 8 %61, i64 12, i1 false)
  %265 = getelementptr inbounds %union.CgmVec3, ptr %49, i64 2
  %266 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %63, ptr align 4 %13, i64 12, i1 false)
  %267 = getelementptr inbounds { <2 x float>, float }, ptr %63, i32 0, i32 0
  %268 = load <2 x float>, ptr %267, align 4
  %269 = getelementptr inbounds { <2 x float>, float }, ptr %63, i32 0, i32 1
  %270 = load float, ptr %269, align 4
  %271 = call { <2 x float>, float } @CgmCapsule3d_get_projected_pt(ptr noundef %266, <2 x float> %268, float %270)
  %272 = getelementptr inbounds %union.CgmVec3, ptr %62, i32 0, i32 0
  store { <2 x float>, float } %271, ptr %64, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %272, ptr align 8 %64, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %65, ptr align 4 %62, i64 12, i1 false)
  %273 = getelementptr inbounds { <2 x float>, float }, ptr %65, i32 0, i32 0
  %274 = load <2 x float>, ptr %273, align 4
  %275 = getelementptr inbounds { <2 x float>, float }, ptr %65, i32 0, i32 1
  %276 = load float, ptr %275, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %66, ptr align 4 %13, i64 12, i1 false)
  %277 = getelementptr inbounds { <2 x float>, float }, ptr %66, i32 0, i32 0
  %278 = load <2 x float>, ptr %277, align 4
  %279 = getelementptr inbounds { <2 x float>, float }, ptr %66, i32 0, i32 1
  %280 = load float, ptr %279, align 4
  %281 = call { <2 x float>, float } @CgmVec3_sub(<2 x float> %274, float %276, <2 x float> %278, float %280)
  %282 = getelementptr inbounds %union.CgmVec3, ptr %265, i32 0, i32 0
  store { <2 x float>, float } %281, ptr %67, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %282, ptr align 8 %67, i64 12, i1 false)
  %283 = getelementptr inbounds %union.CgmVec3, ptr %49, i64 3
  %284 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %69, ptr align 4 %17, i64 12, i1 false)
  %285 = getelementptr inbounds { <2 x float>, float }, ptr %69, i32 0, i32 0
  %286 = load <2 x float>, ptr %285, align 4
  %287 = getelementptr inbounds { <2 x float>, float }, ptr %69, i32 0, i32 1
  %288 = load float, ptr %287, align 4
  %289 = call { <2 x float>, float } @CgmCapsule3d_get_projected_pt(ptr noundef %284, <2 x float> %286, float %288)
  %290 = getelementptr inbounds %union.CgmVec3, ptr %68, i32 0, i32 0
  store { <2 x float>, float } %289, ptr %70, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %290, ptr align 8 %70, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %71, ptr align 4 %68, i64 12, i1 false)
  %291 = getelementptr inbounds { <2 x float>, float }, ptr %71, i32 0, i32 0
  %292 = load <2 x float>, ptr %291, align 4
  %293 = getelementptr inbounds { <2 x float>, float }, ptr %71, i32 0, i32 1
  %294 = load float, ptr %293, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %72, ptr align 4 %17, i64 12, i1 false)
  %295 = getelementptr inbounds { <2 x float>, float }, ptr %72, i32 0, i32 0
  %296 = load <2 x float>, ptr %295, align 4
  %297 = getelementptr inbounds { <2 x float>, float }, ptr %72, i32 0, i32 1
  %298 = load float, ptr %297, align 4
  %299 = call { <2 x float>, float } @CgmVec3_sub(<2 x float> %292, float %294, <2 x float> %296, float %298)
  %300 = getelementptr inbounds %union.CgmVec3, ptr %283, i32 0, i32 0
  store { <2 x float>, float } %299, ptr %73, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %300, ptr align 8 %73, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %74) #5
  %301 = getelementptr inbounds [4 x %union.CgmVec3], ptr %49, i64 0, i64 0
  %302 = getelementptr inbounds [4 x %union.CgmVec3], ptr %49, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %75, ptr align 16 %301, i64 12, i1 false)
  %303 = getelementptr inbounds { <2 x float>, float }, ptr %75, i32 0, i32 0
  %304 = load <2 x float>, ptr %303, align 16
  %305 = getelementptr inbounds { <2 x float>, float }, ptr %75, i32 0, i32 1
  %306 = load float, ptr %305, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %76, ptr align 16 %302, i64 12, i1 false)
  %307 = getelementptr inbounds { <2 x float>, float }, ptr %76, i32 0, i32 0
  %308 = load <2 x float>, ptr %307, align 16
  %309 = getelementptr inbounds { <2 x float>, float }, ptr %76, i32 0, i32 1
  %310 = load float, ptr %309, align 8
  %311 = call float @CgmVec3_dot(<2 x float> %304, float %306, <2 x float> %308, float %310)
  store float %311, ptr %74, align 4, !tbaa !14
  %312 = getelementptr inbounds float, ptr %74, i64 1
  %313 = getelementptr inbounds [4 x %union.CgmVec3], ptr %49, i64 0, i64 1
  %314 = getelementptr inbounds [4 x %union.CgmVec3], ptr %49, i64 0, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %77, ptr align 4 %313, i64 12, i1 false)
  %315 = getelementptr inbounds { <2 x float>, float }, ptr %77, i32 0, i32 0
  %316 = load <2 x float>, ptr %315, align 4
  %317 = getelementptr inbounds { <2 x float>, float }, ptr %77, i32 0, i32 1
  %318 = load float, ptr %317, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %78, ptr align 4 %314, i64 12, i1 false)
  %319 = getelementptr inbounds { <2 x float>, float }, ptr %78, i32 0, i32 0
  %320 = load <2 x float>, ptr %319, align 4
  %321 = getelementptr inbounds { <2 x float>, float }, ptr %78, i32 0, i32 1
  %322 = load float, ptr %321, align 4
  %323 = call float @CgmVec3_dot(<2 x float> %316, float %318, <2 x float> %320, float %322)
  store float %323, ptr %312, align 4, !tbaa !14
  %324 = getelementptr inbounds float, ptr %74, i64 2
  %325 = getelementptr inbounds [4 x %union.CgmVec3], ptr %49, i64 0, i64 2
  %326 = getelementptr inbounds [4 x %union.CgmVec3], ptr %49, i64 0, i64 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %79, ptr align 8 %325, i64 12, i1 false)
  %327 = getelementptr inbounds { <2 x float>, float }, ptr %79, i32 0, i32 0
  %328 = load <2 x float>, ptr %327, align 8
  %329 = getelementptr inbounds { <2 x float>, float }, ptr %79, i32 0, i32 1
  %330 = load float, ptr %329, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %80, ptr align 8 %326, i64 12, i1 false)
  %331 = getelementptr inbounds { <2 x float>, float }, ptr %80, i32 0, i32 0
  %332 = load <2 x float>, ptr %331, align 8
  %333 = getelementptr inbounds { <2 x float>, float }, ptr %80, i32 0, i32 1
  %334 = load float, ptr %333, align 8
  %335 = call float @CgmVec3_dot(<2 x float> %328, float %330, <2 x float> %332, float %334)
  store float %335, ptr %324, align 4, !tbaa !14
  %336 = getelementptr inbounds float, ptr %74, i64 3
  %337 = getelementptr inbounds [4 x %union.CgmVec3], ptr %49, i64 0, i64 3
  %338 = getelementptr inbounds [4 x %union.CgmVec3], ptr %49, i64 0, i64 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %81, ptr align 4 %337, i64 12, i1 false)
  %339 = getelementptr inbounds { <2 x float>, float }, ptr %81, i32 0, i32 0
  %340 = load <2 x float>, ptr %339, align 4
  %341 = getelementptr inbounds { <2 x float>, float }, ptr %81, i32 0, i32 1
  %342 = load float, ptr %341, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %82, ptr align 4 %338, i64 12, i1 false)
  %343 = getelementptr inbounds { <2 x float>, float }, ptr %82, i32 0, i32 0
  %344 = load <2 x float>, ptr %343, align 4
  %345 = getelementptr inbounds { <2 x float>, float }, ptr %82, i32 0, i32 1
  %346 = load float, ptr %345, align 4
  %347 = call float @CgmVec3_dot(<2 x float> %340, float %342, <2 x float> %344, float %346)
  store float %347, ptr %336, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %83) #5
  store i32 0, ptr %83, align 4, !tbaa !15
  br label %348

348:                                              ; preds = %368, %4
  %349 = load i32, ptr %83, align 4, !tbaa !15
  %350 = icmp slt i32 %349, 4
  br i1 %350, label %352, label %351

351:                                              ; preds = %348
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #5
  br label %371

352:                                              ; preds = %348
  %353 = load i32, ptr %83, align 4, !tbaa !15
  %354 = sext i32 %353 to i64
  %355 = getelementptr inbounds [4 x float], ptr %74, i64 0, i64 %354
  %356 = load float, ptr %355, align 4, !tbaa !14
  %357 = load float, ptr %48, align 4, !tbaa !14
  %358 = fcmp olt float %356, %357
  br i1 %358, label %359, label %367

359:                                              ; preds = %352
  %360 = load i32, ptr %83, align 4, !tbaa !15
  %361 = sext i32 %360 to i64
  %362 = getelementptr inbounds [4 x %union.CgmVec3], ptr %49, i64 0, i64 %361
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 4 %362, i64 12, i1 false), !tbaa.struct !12
  %363 = load i32, ptr %83, align 4, !tbaa !15
  %364 = sext i32 %363 to i64
  %365 = getelementptr inbounds [4 x float], ptr %74, i64 0, i64 %364
  %366 = load float, ptr %365, align 4, !tbaa !14
  store float %366, ptr %48, align 4, !tbaa !14
  br label %367

367:                                              ; preds = %359, %352
  br label %368

368:                                              ; preds = %367
  %369 = load i32, ptr %83, align 4, !tbaa !15
  %370 = add nsw i32 %369, 1
  store i32 %370, ptr %83, align 4, !tbaa !15
  br label %348, !llvm.loop !17

371:                                              ; preds = %351
  call void @llvm.lifetime.end.p0(i64 16, ptr %74) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #5
  call void @llvm.lifetime.start.p0(i64 36, ptr %84) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %85, ptr align 4 %24, i64 12, i1 false)
  %372 = getelementptr inbounds { <2 x float>, float }, ptr %85, i32 0, i32 0
  %373 = load <2 x float>, ptr %372, align 4
  %374 = getelementptr inbounds { <2 x float>, float }, ptr %85, i32 0, i32 1
  %375 = load float, ptr %374, align 4
  %376 = call { <2 x float>, float } @CgmVec3_norm(<2 x float> %373, float %375)
  %377 = getelementptr inbounds %union.CgmVec3, ptr %84, i32 0, i32 0
  store { <2 x float>, float } %376, ptr %86, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %377, ptr align 8 %86, i64 12, i1 false)
  %378 = getelementptr inbounds %union.CgmVec3, ptr %84, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %87, ptr align 4 %42, i64 12, i1 false)
  %379 = getelementptr inbounds { <2 x float>, float }, ptr %87, i32 0, i32 0
  %380 = load <2 x float>, ptr %379, align 4
  %381 = getelementptr inbounds { <2 x float>, float }, ptr %87, i32 0, i32 1
  %382 = load float, ptr %381, align 4
  %383 = call { <2 x float>, float } @CgmVec3_norm(<2 x float> %380, float %382)
  %384 = getelementptr inbounds %union.CgmVec3, ptr %378, i32 0, i32 0
  store { <2 x float>, float } %383, ptr %88, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %384, ptr align 8 %88, i64 12, i1 false)
  %385 = getelementptr inbounds %union.CgmVec3, ptr %84, i64 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %89, ptr align 4 %47, i64 12, i1 false)
  %386 = getelementptr inbounds { <2 x float>, float }, ptr %89, i32 0, i32 0
  %387 = load <2 x float>, ptr %386, align 4
  %388 = getelementptr inbounds { <2 x float>, float }, ptr %89, i32 0, i32 1
  %389 = load float, ptr %388, align 4
  %390 = call { <2 x float>, float } @CgmVec3_norm(<2 x float> %387, float %389)
  %391 = getelementptr inbounds %union.CgmVec3, ptr %385, i32 0, i32 0
  store { <2 x float>, float } %390, ptr %90, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %391, ptr align 8 %90, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %91) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %92) #5
  store float 0x7FF0000000000000, ptr %92, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %93) #5
  store i32 0, ptr %93, align 4, !tbaa !15
  br label %392

392:                                              ; preds = %552, %371
  %393 = load i32, ptr %93, align 4, !tbaa !15
  %394 = icmp ult i32 %393, 4
  br i1 %394, label %396, label %395

395:                                              ; preds = %392
  store i32 5, ptr %94, align 4
  br label %555

396:                                              ; preds = %392
  call void @llvm.lifetime.start.p0(i64 12, ptr %95) #5
  %397 = load i32, ptr %93, align 4, !tbaa !15
  %398 = icmp ult i32 %397, 1
  br i1 %398, label %399, label %441

399:                                              ; preds = %396
  %400 = load i32, ptr %93, align 4, !tbaa !15
  %401 = zext i32 %400 to i64
  %402 = getelementptr inbounds [1 x [2 x %union.CgmVec3]], ptr %46, i64 0, i64 %401
  %403 = getelementptr inbounds [2 x %union.CgmVec3], ptr %402, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %95, ptr align 8 %403, i64 12, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 12, ptr %96) #5
  %404 = load i32, ptr %93, align 4, !tbaa !15
  %405 = zext i32 %404 to i64
  %406 = getelementptr inbounds [1 x [2 x %union.CgmVec3]], ptr %46, i64 0, i64 %405
  %407 = getelementptr inbounds [2 x %union.CgmVec3], ptr %406, i64 0, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %97, ptr align 4 %95, i64 12, i1 false)
  %408 = getelementptr inbounds { <2 x float>, float }, ptr %97, i32 0, i32 0
  %409 = load <2 x float>, ptr %408, align 4
  %410 = getelementptr inbounds { <2 x float>, float }, ptr %97, i32 0, i32 1
  %411 = load float, ptr %410, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %98, ptr align 4 %407, i64 12, i1 false)
  %412 = getelementptr inbounds { <2 x float>, float }, ptr %98, i32 0, i32 0
  %413 = load <2 x float>, ptr %412, align 4
  %414 = getelementptr inbounds { <2 x float>, float }, ptr %98, i32 0, i32 1
  %415 = load float, ptr %414, align 4
  %416 = call { <2 x float>, float } @CgmVec3_mul_cross(<2 x float> %409, float %411, <2 x float> %413, float %415)
  %417 = getelementptr inbounds %union.CgmVec3, ptr %96, i32 0, i32 0
  store { <2 x float>, float } %416, ptr %99, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %417, ptr align 8 %99, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %100) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %101, ptr align 4 %96, i64 12, i1 false)
  %418 = getelementptr inbounds { <2 x float>, float }, ptr %101, i32 0, i32 0
  %419 = load <2 x float>, ptr %418, align 4
  %420 = getelementptr inbounds { <2 x float>, float }, ptr %101, i32 0, i32 1
  %421 = load float, ptr %420, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %102, ptr align 4 %96, i64 12, i1 false)
  %422 = getelementptr inbounds { <2 x float>, float }, ptr %102, i32 0, i32 0
  %423 = load <2 x float>, ptr %422, align 4
  %424 = getelementptr inbounds { <2 x float>, float }, ptr %102, i32 0, i32 1
  %425 = load float, ptr %424, align 4
  %426 = call float @CgmVec3_dot(<2 x float> %419, float %421, <2 x float> %423, float %425)
  store float %426, ptr %100, align 4, !tbaa !14
  %427 = load float, ptr %100, align 4, !tbaa !14
  %428 = call zeroext i8 @cgm_approx_eq(float noundef %427, float noundef 0.000000e+00)
  %429 = icmp ne i8 %428, 0
  br i1 %429, label %430, label %431

430:                                              ; preds = %399
  store i32 7, ptr %94, align 4
  br label %438

431:                                              ; preds = %399
  call void @llvm.lifetime.start.p0(i64 12, ptr %103) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %104, ptr align 4 %96, i64 12, i1 false)
  %432 = getelementptr inbounds { <2 x float>, float }, ptr %104, i32 0, i32 0
  %433 = load <2 x float>, ptr %432, align 4
  %434 = getelementptr inbounds { <2 x float>, float }, ptr %104, i32 0, i32 1
  %435 = load float, ptr %434, align 4
  %436 = call { <2 x float>, float } @CgmVec3_norm(<2 x float> %433, float %435)
  %437 = getelementptr inbounds %union.CgmVec3, ptr %103, i32 0, i32 0
  store { <2 x float>, float } %436, ptr %105, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %437, ptr align 8 %105, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %95, ptr align 4 %103, i64 12, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 12, ptr %103) #5
  store i32 0, ptr %94, align 4
  br label %438

438:                                              ; preds = %431, %430
  call void @llvm.lifetime.end.p0(i64 4, ptr %100) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %96) #5
  %439 = load i32, ptr %94, align 4
  switch i32 %439, label %549 [
    i32 0, label %440
  ]

440:                                              ; preds = %438
  br label %446

441:                                              ; preds = %396
  %442 = load i32, ptr %93, align 4, !tbaa !15
  %443 = sub i32 %442, 1
  %444 = zext i32 %443 to i64
  %445 = getelementptr inbounds [3 x %union.CgmVec3], ptr %84, i64 0, i64 %444
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %95, ptr align 4 %445, i64 12, i1 false), !tbaa.struct !12
  br label %446

446:                                              ; preds = %441, %440
  call void @llvm.lifetime.start.p0(i64 4, ptr %106) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %107, ptr align 4 %13, i64 12, i1 false)
  %447 = getelementptr inbounds { <2 x float>, float }, ptr %107, i32 0, i32 0
  %448 = load <2 x float>, ptr %447, align 4
  %449 = getelementptr inbounds { <2 x float>, float }, ptr %107, i32 0, i32 1
  %450 = load float, ptr %449, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %108, ptr align 4 %95, i64 12, i1 false)
  %451 = getelementptr inbounds { <2 x float>, float }, ptr %108, i32 0, i32 0
  %452 = load <2 x float>, ptr %451, align 4
  %453 = getelementptr inbounds { <2 x float>, float }, ptr %108, i32 0, i32 1
  %454 = load float, ptr %453, align 4
  %455 = call float @CgmVec3_dot(<2 x float> %448, float %450, <2 x float> %452, float %454)
  store float %455, ptr %106, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %109) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %110, ptr align 4 %17, i64 12, i1 false)
  %456 = getelementptr inbounds { <2 x float>, float }, ptr %110, i32 0, i32 0
  %457 = load <2 x float>, ptr %456, align 4
  %458 = getelementptr inbounds { <2 x float>, float }, ptr %110, i32 0, i32 1
  %459 = load float, ptr %458, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %111, ptr align 4 %95, i64 12, i1 false)
  %460 = getelementptr inbounds { <2 x float>, float }, ptr %111, i32 0, i32 0
  %461 = load <2 x float>, ptr %460, align 4
  %462 = getelementptr inbounds { <2 x float>, float }, ptr %111, i32 0, i32 1
  %463 = load float, ptr %462, align 4
  %464 = call float @CgmVec3_dot(<2 x float> %457, float %459, <2 x float> %461, float %463)
  store float %464, ptr %109, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %112) #5
  %465 = load float, ptr %106, align 4, !tbaa !14
  %466 = load float, ptr %109, align 4, !tbaa !14
  %467 = call float @cgm_min(float noundef %465, float noundef %466)
  %468 = load ptr, ptr %6, align 8, !tbaa !5
  %469 = getelementptr inbounds %struct.CgmCapsule3d, ptr %468, i32 0, i32 3
  %470 = load float, ptr %469, align 4, !tbaa !19
  %471 = fsub float %467, %470
  store float %471, ptr %112, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %113) #5
  %472 = load float, ptr %106, align 4, !tbaa !14
  %473 = load float, ptr %109, align 4, !tbaa !14
  %474 = call float @cgm_max(float noundef %472, float noundef %473)
  %475 = load ptr, ptr %6, align 8, !tbaa !5
  %476 = getelementptr inbounds %struct.CgmCapsule3d, ptr %475, i32 0, i32 3
  %477 = load float, ptr %476, align 4, !tbaa !19
  %478 = fadd float %474, %477
  store float %478, ptr %113, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %114) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %115, ptr align 4 %31, i64 12, i1 false)
  %479 = getelementptr inbounds { <2 x float>, float }, ptr %115, i32 0, i32 0
  %480 = load <2 x float>, ptr %479, align 4
  %481 = getelementptr inbounds { <2 x float>, float }, ptr %115, i32 0, i32 1
  %482 = load float, ptr %481, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %116, ptr align 4 %95, i64 12, i1 false)
  %483 = getelementptr inbounds { <2 x float>, float }, ptr %116, i32 0, i32 0
  %484 = load <2 x float>, ptr %483, align 4
  %485 = getelementptr inbounds { <2 x float>, float }, ptr %116, i32 0, i32 1
  %486 = load float, ptr %485, align 4
  %487 = call float @CgmVec3_dot(<2 x float> %480, float %482, <2 x float> %484, float %486)
  store float %487, ptr %114, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %117) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %118, ptr align 4 %35, i64 12, i1 false)
  %488 = getelementptr inbounds { <2 x float>, float }, ptr %118, i32 0, i32 0
  %489 = load <2 x float>, ptr %488, align 4
  %490 = getelementptr inbounds { <2 x float>, float }, ptr %118, i32 0, i32 1
  %491 = load float, ptr %490, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %119, ptr align 4 %95, i64 12, i1 false)
  %492 = getelementptr inbounds { <2 x float>, float }, ptr %119, i32 0, i32 0
  %493 = load <2 x float>, ptr %492, align 4
  %494 = getelementptr inbounds { <2 x float>, float }, ptr %119, i32 0, i32 1
  %495 = load float, ptr %494, align 4
  %496 = call float @CgmVec3_dot(<2 x float> %489, float %491, <2 x float> %493, float %495)
  store float %496, ptr %117, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %120) #5
  %497 = load float, ptr %114, align 4, !tbaa !14
  %498 = load float, ptr %117, align 4, !tbaa !14
  %499 = call float @cgm_min(float noundef %497, float noundef %498)
  %500 = load ptr, ptr %7, align 8, !tbaa !5
  %501 = getelementptr inbounds %struct.CgmCapsule3d, ptr %500, i32 0, i32 3
  %502 = load float, ptr %501, align 4, !tbaa !19
  %503 = fsub float %499, %502
  store float %503, ptr %120, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %121) #5
  %504 = load float, ptr %114, align 4, !tbaa !14
  %505 = load float, ptr %117, align 4, !tbaa !14
  %506 = call float @cgm_max(float noundef %504, float noundef %505)
  %507 = load ptr, ptr %7, align 8, !tbaa !5
  %508 = getelementptr inbounds %struct.CgmCapsule3d, ptr %507, i32 0, i32 3
  %509 = load float, ptr %508, align 4, !tbaa !19
  %510 = fadd float %506, %509
  store float %510, ptr %121, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %122) #5
  %511 = load float, ptr %113, align 4, !tbaa !14
  %512 = load float, ptr %120, align 4, !tbaa !14
  %513 = fsub float %511, %512
  %514 = load float, ptr %121, align 4, !tbaa !14
  %515 = load float, ptr %112, align 4, !tbaa !14
  %516 = fsub float %514, %515
  %517 = call float @cgm_min(float noundef %513, float noundef %516)
  store float %517, ptr %122, align 4, !tbaa !14
  %518 = load float, ptr %122, align 4, !tbaa !14
  %519 = fcmp olt float %518, 0.000000e+00
  br i1 %519, label %520, label %521

520:                                              ; preds = %446
  store i8 0, ptr %5, align 1
  store i32 1, ptr %94, align 4
  br label %548

521:                                              ; preds = %446
  %522 = load float, ptr %122, align 4, !tbaa !14
  %523 = load float, ptr %92, align 4, !tbaa !14
  %524 = fcmp olt float %522, %523
  br i1 %524, label %525, label %547

525:                                              ; preds = %521
  %526 = load float, ptr %122, align 4, !tbaa !14
  store float %526, ptr %92, align 4, !tbaa !14
  %527 = load float, ptr %112, align 4, !tbaa !14
  %528 = load float, ptr %113, align 4, !tbaa !14
  %529 = load float, ptr %112, align 4, !tbaa !14
  %530 = fsub float %528, %529
  %531 = call float @llvm.fmuladd.f32(float %530, float 5.000000e-01, float %527)
  %532 = load float, ptr %120, align 4, !tbaa !14
  %533 = load float, ptr %121, align 4, !tbaa !14
  %534 = load float, ptr %120, align 4, !tbaa !14
  %535 = fsub float %533, %534
  %536 = call float @llvm.fmuladd.f32(float %535, float 5.000000e-01, float %532)
  %537 = fcmp olt float %531, %536
  store i1 false, ptr %124, align 1
  br i1 %537, label %538, label %545

538:                                              ; preds = %525
  call void @llvm.lifetime.start.p0(i64 12, ptr %123) #5
  store i1 true, ptr %124, align 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %125, ptr align 4 %95, i64 12, i1 false)
  %539 = getelementptr inbounds { <2 x float>, float }, ptr %125, i32 0, i32 0
  %540 = load <2 x float>, ptr %539, align 4
  %541 = getelementptr inbounds { <2 x float>, float }, ptr %125, i32 0, i32 1
  %542 = load float, ptr %541, align 4
  %543 = call { <2 x float>, float } @CgmVec3_neg(<2 x float> %540, float %542)
  %544 = getelementptr inbounds %union.CgmVec3, ptr %123, i32 0, i32 0
  store { <2 x float>, float } %543, ptr %126, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %544, ptr align 8 %126, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %91, ptr align 4 %123, i64 12, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 12, ptr %123) #5
  br label %546

545:                                              ; preds = %525
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %91, ptr align 4 %95, i64 12, i1 false), !tbaa.struct !12
  br label %546

546:                                              ; preds = %545, %538
  br label %547

547:                                              ; preds = %546, %521
  store i32 0, ptr %94, align 4
  br label %548

548:                                              ; preds = %547, %520
  call void @llvm.lifetime.end.p0(i64 4, ptr %122) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %121) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %120) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %117) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %114) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %113) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %112) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %109) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %106) #5
  br label %549

549:                                              ; preds = %548, %438
  call void @llvm.lifetime.end.p0(i64 12, ptr %95) #5
  %550 = load i32, ptr %94, align 4
  switch i32 %550, label %555 [
    i32 0, label %551
    i32 7, label %552
  ]

551:                                              ; preds = %549
  br label %552

552:                                              ; preds = %551, %549
  %553 = load i32, ptr %93, align 4, !tbaa !15
  %554 = add i32 %553, 1
  store i32 %554, ptr %93, align 4, !tbaa !15
  br label %392, !llvm.loop !20

555:                                              ; preds = %549, %395
  call void @llvm.lifetime.end.p0(i64 4, ptr %93) #5
  %556 = load i32, ptr %94, align 4
  switch i32 %556, label %569 [
    i32 5, label %557
  ]

557:                                              ; preds = %555
  %558 = load ptr, ptr %8, align 8, !tbaa !5
  %559 = icmp ne ptr %558, null
  br i1 %559, label %560, label %562

560:                                              ; preds = %557
  %561 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %561, ptr align 4 %91, i64 12, i1 false), !tbaa.struct !12
  br label %562

562:                                              ; preds = %560, %557
  %563 = load ptr, ptr %9, align 8, !tbaa !5
  %564 = icmp ne ptr %563, null
  br i1 %564, label %565, label %568

565:                                              ; preds = %562
  %566 = load float, ptr %92, align 4, !tbaa !14
  %567 = load ptr, ptr %9, align 8, !tbaa !5
  store float %566, ptr %567, align 4, !tbaa !14
  br label %568

568:                                              ; preds = %565, %562
  store i8 1, ptr %5, align 1
  store i32 1, ptr %94, align 4
  br label %569

569:                                              ; preds = %568, %555
  call void @llvm.lifetime.end.p0(i64 4, ptr %92) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %91) #5
  call void @llvm.lifetime.end.p0(i64 36, ptr %84) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #5
  %570 = load i8, ptr %5, align 1
  ret i8 %570
}

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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/C++ TBAA"}
!9 = !{!10, !11, i64 24}
!10 = !{!"CgmCapsule3d", !7, i64 0, !7, i64 12, !11, i64 24, !11, i64 28}
!11 = !{!"float", !7, i64 0}
!12 = !{i64 0, i64 12, !13}
!13 = !{!7, !7, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!10, !11, i64 28}
!20 = distinct !{!20, !18}


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

; Function Attrs: nounwind uwtable
declare dso_local float @cgm_min(float noundef, float noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local float @cgm_max(float noundef, float noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @cgm_approx_eq(float noundef, float noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local { <2 x float>, float } @CgmVec3_add(<2 x float>, float, <2 x float>, float) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local { <2 x float>, float } @CgmVec3_sub(<2 x float>, float, <2 x float>, float) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local { <2 x float>, float } @CgmVec3_mul_scalar(<2 x float>, float, float noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local { <2 x float>, float } @CgmVec3_neg(<2 x float>, float) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local { <2 x float>, float } @CgmVec3_norm(<2 x float>, float) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local float @CgmVec3_dot(<2 x float>, float, <2 x float>, float) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local { <2 x float>, float } @CgmVec3_mul_cross(<2 x float>, float, <2 x float>, float) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local { <2 x float>, float } @CgmCapsule3d_get_projected_pt(ptr noundef, <2 x float>, float) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local noundef zeroext i8 @cgm_3d_capsule_vs_capsule(ptr noundef %0, ptr noundef %1, ptr noundef writeonly %2, ptr noundef writeonly %3) local_unnamed_addr #1 {
  %5 = getelementptr inbounds i8, ptr %0, i64 12
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load float, ptr %6, align 4, !tbaa !5
  %.sroa.0294.0.copyload = load <2 x float>, ptr %5, align 4
  %.sroa.2295.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 20
  %.sroa.2295.0.copyload = load float, ptr %.sroa.2295.0..sroa_idx, align 4
  %8 = tail call { <2 x float>, float } @CgmVec3_mul_scalar(<2 x float> %.sroa.0294.0.copyload, float %.sroa.2295.0.copyload, float noundef %7)
  %.fca.0.extract290 = extractvalue { <2 x float>, float } %8, 0
  %.fca.1.extract291 = extractvalue { <2 x float>, float } %8, 1
  %.sroa.0283.0.copyload = load <2 x float>, ptr %0, align 4
  %.sroa.2284.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 8
  %.sroa.2284.0.copyload = load float, ptr %.sroa.2284.0..sroa_idx, align 4
  %9 = tail call { <2 x float>, float } @CgmVec3_add(<2 x float> %.sroa.0283.0.copyload, float %.sroa.2284.0.copyload, <2 x float> %.fca.0.extract290, float %.fca.1.extract291)
  %.fca.0.extract277 = extractvalue { <2 x float>, float } %9, 0
  %.fca.1.extract278 = extractvalue { <2 x float>, float } %9, 1
  %10 = tail call { <2 x float>, float } @CgmVec3_neg(<2 x float> %.fca.0.extract290, float %.fca.1.extract291)
  %.fca.0.extract264 = extractvalue { <2 x float>, float } %10, 0
  %.fca.1.extract265 = extractvalue { <2 x float>, float } %10, 1
  %.sroa.0262.0.copyload = load <2 x float>, ptr %0, align 4
  %.sroa.2263.0.copyload = load float, ptr %.sroa.2284.0..sroa_idx, align 4
  %11 = tail call { <2 x float>, float } @CgmVec3_add(<2 x float> %.sroa.0262.0.copyload, float %.sroa.2263.0.copyload, <2 x float> %.fca.0.extract264, float %.fca.1.extract265)
  %.fca.0.extract256 = extractvalue { <2 x float>, float } %11, 0
  %.fca.1.extract257 = extractvalue { <2 x float>, float } %11, 1
  %12 = tail call { <2 x float>, float } @CgmVec3_sub(<2 x float> %.fca.0.extract256, float %.fca.1.extract257, <2 x float> %.fca.0.extract277, float %.fca.1.extract278)
  %.fca.0.extract246 = extractvalue { <2 x float>, float } %12, 0
  %13 = getelementptr inbounds i8, ptr %1, i64 12
  %14 = getelementptr inbounds i8, ptr %1, i64 24
  %15 = load float, ptr %14, align 4, !tbaa !5
  %.sroa.0241.0.copyload = load <2 x float>, ptr %13, align 4
  %.sroa.2242.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 20
  %.sroa.2242.0.copyload = load float, ptr %.sroa.2242.0..sroa_idx, align 4
  %16 = tail call { <2 x float>, float } @CgmVec3_mul_scalar(<2 x float> %.sroa.0241.0.copyload, float %.sroa.2242.0.copyload, float noundef %15)
  %.fca.0.extract237 = extractvalue { <2 x float>, float } %16, 0
  %.fca.1.extract238 = extractvalue { <2 x float>, float } %16, 1
  %.sroa.0230.0.copyload = load <2 x float>, ptr %1, align 4
  %.sroa.2231.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 8
  %.sroa.2231.0.copyload = load float, ptr %.sroa.2231.0..sroa_idx, align 4
  %17 = tail call { <2 x float>, float } @CgmVec3_add(<2 x float> %.sroa.0230.0.copyload, float %.sroa.2231.0.copyload, <2 x float> %.fca.0.extract237, float %.fca.1.extract238)
  %.fca.0.extract224 = extractvalue { <2 x float>, float } %17, 0
  %.fca.1.extract225 = extractvalue { <2 x float>, float } %17, 1
  %18 = tail call { <2 x float>, float } @CgmVec3_neg(<2 x float> %.fca.0.extract237, float %.fca.1.extract238)
  %.fca.0.extract212 = extractvalue { <2 x float>, float } %18, 0
  %.fca.1.extract213 = extractvalue { <2 x float>, float } %18, 1
  %.sroa.0210.0.copyload = load <2 x float>, ptr %1, align 4
  %.sroa.2211.0.copyload = load float, ptr %.sroa.2231.0..sroa_idx, align 4
  %19 = tail call { <2 x float>, float } @CgmVec3_add(<2 x float> %.sroa.0210.0.copyload, float %.sroa.2211.0.copyload, <2 x float> %.fca.0.extract212, float %.fca.1.extract213)
  %.fca.0.extract204 = extractvalue { <2 x float>, float } %19, 0
  %.fca.1.extract205 = extractvalue { <2 x float>, float } %19, 1
  %20 = tail call { <2 x float>, float } @CgmVec3_sub(<2 x float> %.fca.0.extract204, float %.fca.1.extract205, <2 x float> %.fca.0.extract224, float %.fca.1.extract225)
  %.fca.0.extract194 = extractvalue { <2 x float>, float } %20, 0
  %21 = tail call { <2 x float>, float } @CgmCapsule3d_get_projected_pt(ptr noundef nonnull %0, <2 x float> %.fca.0.extract224, float %.fca.1.extract225)
  %.fca.0.extract183 = extractvalue { <2 x float>, float } %21, 0
  %.fca.1.extract184 = extractvalue { <2 x float>, float } %21, 1
  %22 = tail call { <2 x float>, float } @CgmVec3_sub(<2 x float> %.fca.0.extract183, float %.fca.1.extract184, <2 x float> %.fca.0.extract224, float %.fca.1.extract225)
  %.fca.0.extract175 = extractvalue { <2 x float>, float } %22, 0
  %.fca.1.extract176 = extractvalue { <2 x float>, float } %22, 1
  %23 = tail call { <2 x float>, float } @CgmCapsule3d_get_projected_pt(ptr noundef nonnull %0, <2 x float> %.fca.0.extract204, float %.fca.1.extract205)
  %.fca.0.extract167 = extractvalue { <2 x float>, float } %23, 0
  %.fca.1.extract168 = extractvalue { <2 x float>, float } %23, 1
  %24 = tail call { <2 x float>, float } @CgmVec3_sub(<2 x float> %.fca.0.extract167, float %.fca.1.extract168, <2 x float> %.fca.0.extract204, float %.fca.1.extract205)
  %.fca.0.extract159 = extractvalue { <2 x float>, float } %24, 0
  %.fca.1.extract160 = extractvalue { <2 x float>, float } %24, 1
  %25 = tail call { <2 x float>, float } @CgmCapsule3d_get_projected_pt(ptr noundef nonnull %1, <2 x float> %.fca.0.extract277, float %.fca.1.extract278)
  %.fca.0.extract151 = extractvalue { <2 x float>, float } %25, 0
  %.fca.1.extract152 = extractvalue { <2 x float>, float } %25, 1
  %26 = tail call { <2 x float>, float } @CgmVec3_sub(<2 x float> %.fca.0.extract151, float %.fca.1.extract152, <2 x float> %.fca.0.extract277, float %.fca.1.extract278)
  %.fca.0.extract143 = extractvalue { <2 x float>, float } %26, 0
  %.fca.1.extract144 = extractvalue { <2 x float>, float } %26, 1
  %27 = tail call { <2 x float>, float } @CgmCapsule3d_get_projected_pt(ptr noundef nonnull %1, <2 x float> %.fca.0.extract256, float %.fca.1.extract257)
  %.fca.0.extract135 = extractvalue { <2 x float>, float } %27, 0
  %.fca.1.extract136 = extractvalue { <2 x float>, float } %27, 1
  %28 = tail call { <2 x float>, float } @CgmVec3_sub(<2 x float> %.fca.0.extract135, float %.fca.1.extract136, <2 x float> %.fca.0.extract256, float %.fca.1.extract257)
  %.fca.0.extract127 = extractvalue { <2 x float>, float } %28, 0
  %.fca.1.extract128 = extractvalue { <2 x float>, float } %28, 1
  %29 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract175, float %.fca.1.extract176, <2 x float> %.fca.0.extract175, float %.fca.1.extract176)
  %30 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract159, float %.fca.1.extract160, <2 x float> %.fca.0.extract159, float %.fca.1.extract160)
  %31 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract143, float %.fca.1.extract144, <2 x float> %.fca.0.extract143, float %.fca.1.extract144)
  %32 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract127, float %.fca.1.extract128, <2 x float> %.fca.0.extract127, float %.fca.1.extract128)
  %.inv = fcmp one float %29, 0x7FF0000000000000
  %.1321 = select i1 %.inv, float %29, float 0x7FF0000000000000
  %33 = fcmp olt float %30, %.1321
  %.1321.1 = select i1 %33, float %30, float %.1321
  %.sroa.0192.1.1 = select i1 %33, <2 x float> %.fca.0.extract159, <2 x float> %.fca.0.extract175
  %.sroa.4193.1.1 = select i1 %33, float %.fca.1.extract160, float %.fca.1.extract176
  %34 = fcmp olt float %31, %.1321.1
  %.1321.2 = select i1 %34, float %31, float %.1321.1
  %.sroa.0192.1.2 = select i1 %34, <2 x float> %.fca.0.extract143, <2 x float> %.sroa.0192.1.1
  %.sroa.4193.1.2 = select i1 %34, float %.fca.1.extract144, float %.sroa.4193.1.1
  %35 = fcmp olt float %32, %.1321.2
  %.sroa.0192.1.3 = select i1 %35, <2 x float> %.fca.0.extract127, <2 x float> %.sroa.0192.1.2
  %.sroa.4193.1.3 = select i1 %35, float %.fca.1.extract128, float %.sroa.4193.1.2
  %.fca.1.extract247 = extractvalue { <2 x float>, float } %12, 1
  %.fca.1.extract195 = extractvalue { <2 x float>, float } %20, 1
  %36 = tail call { <2 x float>, float } @CgmVec3_norm(<2 x float> %.fca.0.extract246, float %.fca.1.extract247)
  %.fca.0.extract100 = extractvalue { <2 x float>, float } %36, 0
  %.fca.1.extract101 = extractvalue { <2 x float>, float } %36, 1
  %37 = tail call { <2 x float>, float } @CgmVec3_norm(<2 x float> %.fca.0.extract194, float %.fca.1.extract195)
  %.fca.0.extract94 = extractvalue { <2 x float>, float } %37, 0
  %.fca.1.extract95 = extractvalue { <2 x float>, float } %37, 1
  %38 = tail call { <2 x float>, float } @CgmVec3_norm(<2 x float> %.sroa.0192.1.3, float %.sroa.4193.1.3)
  %.fca.0.extract88 = extractvalue { <2 x float>, float } %38, 0
  %.fca.1.extract89 = extractvalue { <2 x float>, float } %38, 1
  %39 = getelementptr inbounds i8, ptr %0, i64 28
  %40 = getelementptr inbounds i8, ptr %1, i64 28
  %41 = tail call { <2 x float>, float } @CgmVec3_mul_cross(<2 x float> %.fca.0.extract246, float %.fca.1.extract247, <2 x float> %.fca.0.extract194, float %.fca.1.extract195)
  %.fca.0.extract54.peel = extractvalue { <2 x float>, float } %41, 0
  %.fca.1.extract55.peel = extractvalue { <2 x float>, float } %41, 1
  %42 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract54.peel, float %.fca.1.extract55.peel, <2 x float> %.fca.0.extract54.peel, float %.fca.1.extract55.peel)
  %43 = tail call zeroext i8 @cgm_approx_eq(float noundef %42, float noundef 0.000000e+00)
  %.not.peel = icmp eq i8 %43, 0
  br i1 %.not.peel, label %44, label %.peel.next

44:                                               ; preds = %4
  %45 = tail call { <2 x float>, float } @CgmVec3_norm(<2 x float> %.fca.0.extract54.peel, float %.fca.1.extract55.peel)
  %.fca.0.extract41.peel = extractvalue { <2 x float>, float } %45, 0
  %.fca.1.extract42.peel = extractvalue { <2 x float>, float } %45, 1
  %46 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract277, float %.fca.1.extract278, <2 x float> %.fca.0.extract41.peel, float %.fca.1.extract42.peel)
  %47 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract256, float %.fca.1.extract257, <2 x float> %.fca.0.extract41.peel, float %.fca.1.extract42.peel)
  %48 = tail call float @cgm_min(float noundef %46, float noundef %47)
  %49 = load float, ptr %39, align 4, !tbaa !10
  %50 = tail call float @cgm_max(float noundef %46, float noundef %47)
  %51 = load float, ptr %39, align 4, !tbaa !10
  %52 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract224, float %.fca.1.extract225, <2 x float> %.fca.0.extract41.peel, float %.fca.1.extract42.peel)
  %53 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract204, float %.fca.1.extract205, <2 x float> %.fca.0.extract41.peel, float %.fca.1.extract42.peel)
  %54 = tail call float @cgm_min(float noundef %52, float noundef %53)
  %55 = load float, ptr %40, align 4, !tbaa !10
  %56 = tail call float @cgm_max(float noundef %52, float noundef %53)
  %57 = load float, ptr %40, align 4, !tbaa !10
  %58 = insertelement <2 x float> poison, float %48, i64 0
  %59 = insertelement <2 x float> %58, float %54, i64 1
  %60 = insertelement <2 x float> poison, float %49, i64 0
  %61 = insertelement <2 x float> %60, float %55, i64 1
  %62 = fsub <2 x float> %59, %61
  %63 = insertelement <2 x float> poison, float %50, i64 0
  %64 = insertelement <2 x float> %63, float %56, i64 1
  %65 = insertelement <2 x float> poison, float %51, i64 0
  %66 = insertelement <2 x float> %65, float %57, i64 1
  %67 = fadd <2 x float> %64, %66
  %shift = shufflevector <2 x float> %62, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %68 = fsub <2 x float> %67, %shift
  %69 = extractelement <2 x float> %68, i64 0
  %shift378 = shufflevector <2 x float> %67, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %70 = fsub <2 x float> %shift378, %62
  %71 = extractelement <2 x float> %70, i64 0
  %72 = tail call float @cgm_min(float noundef %69, float noundef %71)
  %73 = fcmp olt float %72, 0.000000e+00
  br i1 %73, label %.loopexit, label %74

74:                                               ; preds = %44
  %75 = fcmp ueq float %72, 0x7FF0000000000000
  br i1 %75, label %.peel.next, label %76

76:                                               ; preds = %74
  %77 = fsub <2 x float> %67, %62
  %78 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %77, <2 x float> <float 5.000000e-01, float 5.000000e-01>, <2 x float> %62)
  %79 = extractelement <2 x float> %78, i64 0
  %80 = extractelement <2 x float> %78, i64 1
  %81 = fcmp olt float %79, %80
  br i1 %81, label %82, label %.peel.next

82:                                               ; preds = %76
  %83 = tail call { <2 x float>, float } @CgmVec3_neg(<2 x float> %.fca.0.extract41.peel, float %.fca.1.extract42.peel)
  %.fca.0.extract.peel = extractvalue { <2 x float>, float } %83, 0
  %.fca.1.extract.peel = extractvalue { <2 x float>, float } %83, 1
  br label %.peel.next

.peel.next:                                       ; preds = %82, %76, %74, %4
  %.sroa.5.0368.ph = phi float [ %.fca.1.extract.peel, %82 ], [ %.fca.1.extract42.peel, %76 ], [ undef, %74 ], [ undef, %4 ]
  %.sroa.087.0367.ph = phi <2 x float> [ %.fca.0.extract.peel, %82 ], [ %.fca.0.extract41.peel, %76 ], [ undef, %74 ], [ undef, %4 ]
  %.0323366.ph = phi float [ %72, %82 ], [ %72, %76 ], [ 0x7FF0000000000000, %74 ], [ 0x7FF0000000000000, %4 ]
  %84 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract277, float %.fca.1.extract278, <2 x float> %.fca.0.extract100, float %.fca.1.extract101)
  %85 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract256, float %.fca.1.extract257, <2 x float> %.fca.0.extract100, float %.fca.1.extract101)
  %86 = tail call float @cgm_min(float noundef %84, float noundef %85)
  %87 = load float, ptr %39, align 4, !tbaa !10
  %88 = tail call float @cgm_max(float noundef %84, float noundef %85)
  %89 = load float, ptr %39, align 4, !tbaa !10
  %90 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract224, float %.fca.1.extract225, <2 x float> %.fca.0.extract100, float %.fca.1.extract101)
  %91 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract204, float %.fca.1.extract205, <2 x float> %.fca.0.extract100, float %.fca.1.extract101)
  %92 = tail call float @cgm_min(float noundef %90, float noundef %91)
  %93 = load float, ptr %40, align 4, !tbaa !10
  %94 = tail call float @cgm_max(float noundef %90, float noundef %91)
  %95 = load float, ptr %40, align 4, !tbaa !10
  %96 = insertelement <2 x float> poison, float %86, i64 0
  %97 = insertelement <2 x float> %96, float %92, i64 1
  %98 = insertelement <2 x float> poison, float %87, i64 0
  %99 = insertelement <2 x float> %98, float %93, i64 1
  %100 = fsub <2 x float> %97, %99
  %101 = insertelement <2 x float> poison, float %88, i64 0
  %102 = insertelement <2 x float> %101, float %94, i64 1
  %103 = insertelement <2 x float> poison, float %89, i64 0
  %104 = insertelement <2 x float> %103, float %95, i64 1
  %105 = fadd <2 x float> %102, %104
  %shift379 = shufflevector <2 x float> %100, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %106 = fsub <2 x float> %105, %shift379
  %107 = extractelement <2 x float> %106, i64 0
  %shift380 = shufflevector <2 x float> %105, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %108 = fsub <2 x float> %shift380, %100
  %109 = extractelement <2 x float> %108, i64 0
  %110 = tail call float @cgm_min(float noundef %107, float noundef %109)
  %111 = fcmp olt float %110, 0.000000e+00
  br i1 %111, label %.loopexit, label %112

112:                                              ; preds = %.peel.next
  %113 = fcmp olt float %110, %.0323366.ph
  br i1 %113, label %114, label %.peel.next.1

114:                                              ; preds = %112
  %115 = fsub <2 x float> %105, %100
  %116 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %115, <2 x float> <float 5.000000e-01, float 5.000000e-01>, <2 x float> %100)
  %117 = extractelement <2 x float> %116, i64 0
  %118 = extractelement <2 x float> %116, i64 1
  %119 = fcmp olt float %117, %118
  br i1 %119, label %120, label %.peel.next.1

120:                                              ; preds = %114
  %121 = tail call { <2 x float>, float } @CgmVec3_neg(<2 x float> %.fca.0.extract100, float %.fca.1.extract101)
  %.fca.0.extract = extractvalue { <2 x float>, float } %121, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %121, 1
  br label %.peel.next.1

.peel.next.1:                                     ; preds = %114, %120, %112
  %.3326.ph = phi float [ %110, %114 ], [ %.0323366.ph, %112 ], [ %110, %120 ]
  %.sroa.087.3.ph = phi <2 x float> [ %.fca.0.extract100, %114 ], [ %.sroa.087.0367.ph, %112 ], [ %.fca.0.extract, %120 ]
  %.sroa.5.3.ph = phi float [ %.fca.1.extract101, %114 ], [ %.sroa.5.0368.ph, %112 ], [ %.fca.1.extract, %120 ]
  %122 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract277, float %.fca.1.extract278, <2 x float> %.fca.0.extract94, float %.fca.1.extract95)
  %123 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract256, float %.fca.1.extract257, <2 x float> %.fca.0.extract94, float %.fca.1.extract95)
  %124 = tail call float @cgm_min(float noundef %122, float noundef %123)
  %125 = load float, ptr %39, align 4, !tbaa !10
  %126 = tail call float @cgm_max(float noundef %122, float noundef %123)
  %127 = load float, ptr %39, align 4, !tbaa !10
  %128 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract224, float %.fca.1.extract225, <2 x float> %.fca.0.extract94, float %.fca.1.extract95)
  %129 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract204, float %.fca.1.extract205, <2 x float> %.fca.0.extract94, float %.fca.1.extract95)
  %130 = tail call float @cgm_min(float noundef %128, float noundef %129)
  %131 = load float, ptr %40, align 4, !tbaa !10
  %132 = tail call float @cgm_max(float noundef %128, float noundef %129)
  %133 = load float, ptr %40, align 4, !tbaa !10
  %134 = insertelement <2 x float> poison, float %124, i64 0
  %135 = insertelement <2 x float> %134, float %130, i64 1
  %136 = insertelement <2 x float> poison, float %125, i64 0
  %137 = insertelement <2 x float> %136, float %131, i64 1
  %138 = fsub <2 x float> %135, %137
  %139 = insertelement <2 x float> poison, float %126, i64 0
  %140 = insertelement <2 x float> %139, float %132, i64 1
  %141 = insertelement <2 x float> poison, float %127, i64 0
  %142 = insertelement <2 x float> %141, float %133, i64 1
  %143 = fadd <2 x float> %140, %142
  %shift379.1 = shufflevector <2 x float> %138, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %144 = fsub <2 x float> %143, %shift379.1
  %145 = extractelement <2 x float> %144, i64 0
  %shift380.1 = shufflevector <2 x float> %143, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %146 = fsub <2 x float> %shift380.1, %138
  %147 = extractelement <2 x float> %146, i64 0
  %148 = tail call float @cgm_min(float noundef %145, float noundef %147)
  %149 = fcmp olt float %148, 0.000000e+00
  br i1 %149, label %.loopexit, label %150

150:                                              ; preds = %.peel.next.1
  %151 = fcmp olt float %148, %.3326.ph
  br i1 %151, label %152, label %.peel.next.2

152:                                              ; preds = %150
  %153 = fsub <2 x float> %143, %138
  %154 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %153, <2 x float> <float 5.000000e-01, float 5.000000e-01>, <2 x float> %138)
  %155 = extractelement <2 x float> %154, i64 0
  %156 = extractelement <2 x float> %154, i64 1
  %157 = fcmp olt float %155, %156
  br i1 %157, label %158, label %.peel.next.2

158:                                              ; preds = %152
  %159 = tail call { <2 x float>, float } @CgmVec3_neg(<2 x float> %.fca.0.extract94, float %.fca.1.extract95)
  %.fca.0.extract.1 = extractvalue { <2 x float>, float } %159, 0
  %.fca.1.extract.1 = extractvalue { <2 x float>, float } %159, 1
  br label %.peel.next.2

.peel.next.2:                                     ; preds = %158, %152, %150
  %.3326.ph.1 = phi float [ %148, %152 ], [ %.3326.ph, %150 ], [ %148, %158 ]
  %.sroa.087.3.ph.1 = phi <2 x float> [ %.fca.0.extract94, %152 ], [ %.sroa.087.3.ph, %150 ], [ %.fca.0.extract.1, %158 ]
  %.sroa.5.3.ph.1 = phi float [ %.fca.1.extract95, %152 ], [ %.sroa.5.3.ph, %150 ], [ %.fca.1.extract.1, %158 ]
  %160 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract277, float %.fca.1.extract278, <2 x float> %.fca.0.extract88, float %.fca.1.extract89)
  %161 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract256, float %.fca.1.extract257, <2 x float> %.fca.0.extract88, float %.fca.1.extract89)
  %162 = tail call float @cgm_min(float noundef %160, float noundef %161)
  %163 = load float, ptr %39, align 4, !tbaa !10
  %164 = tail call float @cgm_max(float noundef %160, float noundef %161)
  %165 = load float, ptr %39, align 4, !tbaa !10
  %166 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract224, float %.fca.1.extract225, <2 x float> %.fca.0.extract88, float %.fca.1.extract89)
  %167 = tail call float @CgmVec3_dot(<2 x float> %.fca.0.extract204, float %.fca.1.extract205, <2 x float> %.fca.0.extract88, float %.fca.1.extract89)
  %168 = tail call float @cgm_min(float noundef %166, float noundef %167)
  %169 = load float, ptr %40, align 4, !tbaa !10
  %170 = tail call float @cgm_max(float noundef %166, float noundef %167)
  %171 = load float, ptr %40, align 4, !tbaa !10
  %172 = insertelement <2 x float> poison, float %162, i64 0
  %173 = insertelement <2 x float> %172, float %168, i64 1
  %174 = insertelement <2 x float> poison, float %163, i64 0
  %175 = insertelement <2 x float> %174, float %169, i64 1
  %176 = fsub <2 x float> %173, %175
  %177 = insertelement <2 x float> poison, float %164, i64 0
  %178 = insertelement <2 x float> %177, float %170, i64 1
  %179 = insertelement <2 x float> poison, float %165, i64 0
  %180 = insertelement <2 x float> %179, float %171, i64 1
  %181 = fadd <2 x float> %178, %180
  %shift379.2 = shufflevector <2 x float> %176, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %182 = fsub <2 x float> %181, %shift379.2
  %183 = extractelement <2 x float> %182, i64 0
  %shift380.2 = shufflevector <2 x float> %181, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %184 = fsub <2 x float> %shift380.2, %176
  %185 = extractelement <2 x float> %184, i64 0
  %186 = tail call float @cgm_min(float noundef %183, float noundef %185)
  %187 = fcmp olt float %186, 0.000000e+00
  br i1 %187, label %.loopexit, label %188

188:                                              ; preds = %.peel.next.2
  %189 = fcmp olt float %186, %.3326.ph.1
  br i1 %189, label %190, label %.loopexit372

190:                                              ; preds = %188
  %191 = fsub <2 x float> %181, %176
  %192 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %191, <2 x float> <float 5.000000e-01, float 5.000000e-01>, <2 x float> %176)
  %193 = extractelement <2 x float> %192, i64 0
  %194 = extractelement <2 x float> %192, i64 1
  %195 = fcmp olt float %193, %194
  br i1 %195, label %196, label %.loopexit372

196:                                              ; preds = %190
  %197 = tail call { <2 x float>, float } @CgmVec3_neg(<2 x float> %.fca.0.extract88, float %.fca.1.extract89)
  %.fca.0.extract.2 = extractvalue { <2 x float>, float } %197, 0
  %.fca.1.extract.2 = extractvalue { <2 x float>, float } %197, 1
  br label %.loopexit372

.loopexit372:                                     ; preds = %196, %190, %188
  %.3326.ph.2 = phi float [ %186, %190 ], [ %.3326.ph.1, %188 ], [ %186, %196 ]
  %.sroa.087.3.ph.2 = phi <2 x float> [ %.fca.0.extract88, %190 ], [ %.sroa.087.3.ph.1, %188 ], [ %.fca.0.extract.2, %196 ]
  %.sroa.5.3.ph.2 = phi float [ %.fca.1.extract89, %190 ], [ %.sroa.5.3.ph.1, %188 ], [ %.fca.1.extract.2, %196 ]
  %.not337 = icmp eq ptr %2, null
  br i1 %.not337, label %199, label %198

198:                                              ; preds = %.loopexit372
  store <2 x float> %.sroa.087.3.ph.2, ptr %2, align 4
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %2, i64 8
  store float %.sroa.5.3.ph.2, ptr %.sroa.5.0..sroa_idx, align 4, !tbaa !11
  br label %199

199:                                              ; preds = %198, %.loopexit372
  %.not338 = icmp eq ptr %3, null
  br i1 %.not338, label %.loopexit, label %200

200:                                              ; preds = %199
  store float %.3326.ph.2, ptr %3, align 4, !tbaa !12
  br label %.loopexit

.loopexit:                                        ; preds = %.peel.next, %.peel.next.1, %.peel.next.2, %44, %199, %200
  %.4 = phi i8 [ 1, %200 ], [ 1, %199 ], [ 0, %44 ], [ 0, %.peel.next.2 ], [ 0, %.peel.next.1 ], [ 0, %.peel.next ]
  ret i8 %.4
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #2

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

!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, !9, i64 24}
!6 = !{!"CgmCapsule3d", !7, i64 0, !7, i64 12, !9, i64 24, !9, i64 28}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"float", !7, i64 0}
!10 = !{!6, !9, i64 28}
!11 = !{!7, !7, i64 0}
!12 = !{!9, !9, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass