; LLVM IR from yangfengzzz/DigitalVox3 :: vox.geometry (fdm_utils)

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

%"class.vox::geometry::Matrix.7" = type { double, double, double }
%"class.vox::geometry::Matrix.12" = type { i64, i64, i64 }

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKdS4_S4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEEclIJmmEEERS4_mDpT_(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i64 noundef, i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vox8geometry5curl3ERKNS0_9ArrayViewIKNS0_6MatrixIdLm3ELm1EEELm3EEERS4_mmm(ptr dead_on_unwind noalias writable sret(%"class.vox::geometry::Matrix.7") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) #2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.vox::geometry::Matrix.7", align 8
  %15 = alloca %"class.vox::geometry::Matrix.7", align 8
  %16 = alloca %"class.vox::geometry::Matrix.7", align 8
  %17 = alloca %"class.vox::geometry::Matrix.7", align 8
  %18 = alloca %"class.vox::geometry::Matrix.7", align 8
  %19 = alloca %"class.vox::geometry::Matrix.7", align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  store ptr %0, ptr %7, align 8
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store i64 %3, ptr %10, align 8, !tbaa !9
  store i64 %4, ptr %11, align 8, !tbaa !9
  store i64 %5, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  %36 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %35)
  store ptr %36, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #3
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = load i64, ptr %10, align 8, !tbaa !9
  %39 = icmp ugt i64 %38, 0
  br i1 %39, label %40, label %43

40:                                               ; preds = %6
  %41 = load i64, ptr %10, align 8, !tbaa !9
  %42 = sub i64 %41, 1
  br label %45

43:                                               ; preds = %6
  %44 = load i64, ptr %10, align 8, !tbaa !9
  br label %45

45:                                               ; preds = %43, %40
  %46 = phi i64 [ %42, %40 ], [ %44, %43 ]
  %47 = load i64, ptr %11, align 8, !tbaa !9
  %48 = load i64, ptr %12, align 8, !tbaa !9
  %49 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEEclIJmmEEERS4_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %37, i64 noundef %46, i64 noundef %47, i64 noundef %48)
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %49)
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #3
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = load i64, ptr %10, align 8, !tbaa !9
  %52 = add i64 %51, 1
  %53 = load ptr, ptr %13, align 8, !tbaa !5
  %54 = getelementptr inbounds %"class.vox::geometry::Matrix.12", ptr %53, i32 0, i32 0
  %55 = load i64, ptr %54, align 8, !tbaa !11
  %56 = icmp ult i64 %52, %55
  br i1 %56, label %57, label %60

57:                                               ; preds = %45
  %58 = load i64, ptr %10, align 8, !tbaa !9
  %59 = add i64 %58, 1
  br label %62

60:                                               ; preds = %45
  %61 = load i64, ptr %10, align 8, !tbaa !9
  br label %62

62:                                               ; preds = %60, %57
  %63 = phi i64 [ %59, %57 ], [ %61, %60 ]
  %64 = load i64, ptr %11, align 8, !tbaa !9
  %65 = load i64, ptr %12, align 8, !tbaa !9
  %66 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEEclIJmmEEERS4_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %50, i64 noundef %63, i64 noundef %64, i64 noundef %65)
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %66)
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #3
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  %68 = load i64, ptr %10, align 8, !tbaa !9
  %69 = load i64, ptr %11, align 8, !tbaa !9
  %70 = icmp ugt i64 %69, 0
  br i1 %70, label %71, label %74

71:                                               ; preds = %62
  %72 = load i64, ptr %11, align 8, !tbaa !9
  %73 = sub i64 %72, 1
  br label %76

74:                                               ; preds = %62
  %75 = load i64, ptr %11, align 8, !tbaa !9
  br label %76

76:                                               ; preds = %74, %71
  %77 = phi i64 [ %73, %71 ], [ %75, %74 ]
  %78 = load i64, ptr %12, align 8, !tbaa !9
  %79 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEEclIJmmEEERS4_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %67, i64 noundef %68, i64 noundef %77, i64 noundef %78)
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %79)
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #3
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = load i64, ptr %10, align 8, !tbaa !9
  %82 = load i64, ptr %11, align 8, !tbaa !9
  %83 = add i64 %82, 1
  %84 = load ptr, ptr %13, align 8, !tbaa !5
  %85 = getelementptr inbounds %"class.vox::geometry::Matrix.12", ptr %84, i32 0, i32 1
  %86 = load i64, ptr %85, align 8, !tbaa !13
  %87 = icmp ult i64 %83, %86
  br i1 %87, label %88, label %91

88:                                               ; preds = %76
  %89 = load i64, ptr %11, align 8, !tbaa !9
  %90 = add i64 %89, 1
  br label %93

91:                                               ; preds = %76
  %92 = load i64, ptr %11, align 8, !tbaa !9
  br label %93

93:                                               ; preds = %91, %88
  %94 = phi i64 [ %90, %88 ], [ %92, %91 ]
  %95 = load i64, ptr %12, align 8, !tbaa !9
  %96 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEEclIJmmEEERS4_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %80, i64 noundef %81, i64 noundef %94, i64 noundef %95)
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %96)
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #3
  %97 = load ptr, ptr %8, align 8, !tbaa !5
  %98 = load i64, ptr %10, align 8, !tbaa !9
  %99 = load i64, ptr %11, align 8, !tbaa !9
  %100 = load i64, ptr %12, align 8, !tbaa !9
  %101 = icmp ugt i64 %100, 0
  br i1 %101, label %102, label %105

102:                                              ; preds = %93
  %103 = load i64, ptr %12, align 8, !tbaa !9
  %104 = sub i64 %103, 1
  br label %107

105:                                              ; preds = %93
  %106 = load i64, ptr %12, align 8, !tbaa !9
  br label %107

107:                                              ; preds = %105, %102
  %108 = phi i64 [ %104, %102 ], [ %106, %105 ]
  %109 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEEclIJmmEEERS4_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %97, i64 noundef %98, i64 noundef %99, i64 noundef %108)
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %109)
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #3
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = load i64, ptr %10, align 8, !tbaa !9
  %112 = load i64, ptr %11, align 8, !tbaa !9
  %113 = load i64, ptr %12, align 8, !tbaa !9
  %114 = add i64 %113, 1
  %115 = load ptr, ptr %13, align 8, !tbaa !5
  %116 = getelementptr inbounds %"class.vox::geometry::Matrix.12", ptr %115, i32 0, i32 2
  %117 = load i64, ptr %116, align 8, !tbaa !14
  %118 = icmp ult i64 %114, %117
  br i1 %118, label %119, label %122

119:                                              ; preds = %107
  %120 = load i64, ptr %12, align 8, !tbaa !9
  %121 = add i64 %120, 1
  br label %124

122:                                              ; preds = %107
  %123 = load i64, ptr %12, align 8, !tbaa !9
  br label %124

124:                                              ; preds = %122, %119
  %125 = phi i64 [ %121, %119 ], [ %123, %122 ]
  %126 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEEclIJmmEEERS4_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %110, i64 noundef %111, i64 noundef %112, i64 noundef %125)
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %126)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  %127 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %16, i32 0, i32 0
  %128 = load double, ptr %127, align 8, !tbaa !15
  store double %128, ptr %20, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %129 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %17, i32 0, i32 0
  %130 = load double, ptr %129, align 8, !tbaa !15
  store double %130, ptr %21, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  %131 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %18, i32 0, i32 0
  %132 = load double, ptr %131, align 8, !tbaa !15
  store double %132, ptr %22, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  %133 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %19, i32 0, i32 0
  %134 = load double, ptr %133, align 8, !tbaa !15
  store double %134, ptr %23, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  %135 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %14, i32 0, i32 1
  %136 = load double, ptr %135, align 8, !tbaa !19
  store double %136, ptr %24, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  %137 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %15, i32 0, i32 1
  %138 = load double, ptr %137, align 8, !tbaa !19
  store double %138, ptr %25, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  %139 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %18, i32 0, i32 1
  %140 = load double, ptr %139, align 8, !tbaa !19
  store double %140, ptr %26, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #3
  %141 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %19, i32 0, i32 1
  %142 = load double, ptr %141, align 8, !tbaa !19
  store double %142, ptr %27, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  %143 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %14, i32 0, i32 2
  %144 = load double, ptr %143, align 8, !tbaa !20
  store double %144, ptr %28, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #3
  %145 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %15, i32 0, i32 2
  %146 = load double, ptr %145, align 8, !tbaa !20
  store double %146, ptr %29, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #3
  %147 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %16, i32 0, i32 2
  %148 = load double, ptr %147, align 8, !tbaa !20
  store double %148, ptr %30, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #3
  %149 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %17, i32 0, i32 2
  %150 = load double, ptr %149, align 8, !tbaa !20
  store double %150, ptr %31, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #3
  %151 = load double, ptr %31, align 8, !tbaa !18
  %152 = load double, ptr %30, align 8, !tbaa !18
  %153 = fsub double %151, %152
  %154 = fmul double 5.000000e-01, %153
  %155 = load ptr, ptr %9, align 8, !tbaa !5
  %156 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %155, i32 0, i32 1
  %157 = load double, ptr %156, align 8, !tbaa !19
  %158 = fdiv double %154, %157
  %159 = load double, ptr %27, align 8, !tbaa !18
  %160 = load double, ptr %26, align 8, !tbaa !18
  %161 = fsub double %159, %160
  %162 = fmul double 5.000000e-01, %161
  %163 = load ptr, ptr %9, align 8, !tbaa !5
  %164 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %163, i32 0, i32 2
  %165 = load double, ptr %164, align 8, !tbaa !20
  %166 = fdiv double %162, %165
  %167 = fsub double %158, %166
  store double %167, ptr %32, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #3
  %168 = load double, ptr %23, align 8, !tbaa !18
  %169 = load double, ptr %22, align 8, !tbaa !18
  %170 = fsub double %168, %169
  %171 = fmul double 5.000000e-01, %170
  %172 = load ptr, ptr %9, align 8, !tbaa !5
  %173 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %172, i32 0, i32 2
  %174 = load double, ptr %173, align 8, !tbaa !20
  %175 = fdiv double %171, %174
  %176 = load double, ptr %29, align 8, !tbaa !18
  %177 = load double, ptr %28, align 8, !tbaa !18
  %178 = fsub double %176, %177
  %179 = fmul double 5.000000e-01, %178
  %180 = load ptr, ptr %9, align 8, !tbaa !5
  %181 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %180, i32 0, i32 0
  %182 = load double, ptr %181, align 8, !tbaa !15
  %183 = fdiv double %179, %182
  %184 = fsub double %175, %183
  store double %184, ptr %33, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #3
  %185 = load double, ptr %25, align 8, !tbaa !18
  %186 = load double, ptr %24, align 8, !tbaa !18
  %187 = fsub double %185, %186
  %188 = fmul double 5.000000e-01, %187
  %189 = load ptr, ptr %9, align 8, !tbaa !5
  %190 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %189, i32 0, i32 0
  %191 = load double, ptr %190, align 8, !tbaa !15
  %192 = fdiv double %188, %191
  %193 = load double, ptr %21, align 8, !tbaa !18
  %194 = load double, ptr %20, align 8, !tbaa !18
  %195 = fsub double %193, %194
  %196 = fmul double 5.000000e-01, %195
  %197 = load ptr, ptr %9, align 8, !tbaa !5
  %198 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %197, i32 0, i32 1
  %199 = load double, ptr %198, align 8, !tbaa !19
  %200 = fdiv double %196, %199
  %201 = fsub double %192, %200
  store double %201, ptr %34, align 8, !tbaa !18
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKdS4_S4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34)
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  ret void
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN3vox8geometry6MatrixImLm3ELm1EEE", !10, i64 0, !10, i64 8, !10, i64 16}
!13 = !{!12, !10, i64 8}
!14 = !{!12, !10, i64 16}
!15 = !{!16, !17, i64 0}
!16 = !{!"_ZTSN3vox8geometry6MatrixIdLm3ELm1EEE", !17, i64 0, !17, i64 8, !17, i64 16}
!17 = !{!"double", !7, i64 0}
!18 = !{!17, !17, i64 0}
!19 = !{!16, !17, i64 8}
!20 = !{!16, !17, i64 16}


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

%"class.vox::geometry::Matrix.7" = type { double, double, double }

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKdS4_S4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEEclIJmmEEERS4_mDpT_(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vox8geometry5curl3ERKNS0_9ArrayViewIKNS0_6MatrixIdLm3ELm1EEELm3EEERS4_mmm(ptr dead_on_unwind noalias writable sret(%"class.vox::geometry::Matrix.7") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) local_unnamed_addr #2 {
  %7 = alloca %"class.vox::geometry::Matrix.7", align 8
  %8 = alloca %"class.vox::geometry::Matrix.7", align 8
  %9 = alloca %"class.vox::geometry::Matrix.7", align 8
  %10 = alloca %"class.vox::geometry::Matrix.7", align 8
  %11 = alloca %"class.vox::geometry::Matrix.7", align 16
  %12 = alloca %"class.vox::geometry::Matrix.7", align 16
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  %17 = tail call i64 @llvm.usub.sat.i64(i64 %3, i64 1)
  %18 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEEclIJmmEEERS4_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %1, i64 noundef %17, i64 noundef %4, i64 noundef %5)
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %18)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4
  %19 = add i64 %3, 1
  %20 = load i64, ptr %16, align 8, !tbaa !5
  %21 = icmp ult i64 %19, %20
  %22 = select i1 %21, i64 %19, i64 %3
  %23 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEEclIJmmEEERS4_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %1, i64 noundef %22, i64 noundef %4, i64 noundef %5)
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %23)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #4
  %24 = call i64 @llvm.usub.sat.i64(i64 %4, i64 1)
  %25 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEEclIJmmEEERS4_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %1, i64 noundef %3, i64 noundef %24, i64 noundef %5)
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %25)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #4
  %26 = add i64 %4, 1
  %27 = getelementptr inbounds i8, ptr %16, i64 8
  %28 = load i64, ptr %27, align 8, !tbaa !10
  %29 = icmp ult i64 %26, %28
  %30 = select i1 %29, i64 %26, i64 %4
  %31 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEEclIJmmEEERS4_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %1, i64 noundef %3, i64 noundef %30, i64 noundef %5)
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %31)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #4
  %32 = call i64 @llvm.usub.sat.i64(i64 %5, i64 1)
  %33 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEEclIJmmEEERS4_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %1, i64 noundef %3, i64 noundef %4, i64 noundef %32)
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %33)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #4
  %34 = add i64 %5, 1
  %35 = getelementptr inbounds i8, ptr %16, i64 16
  %36 = load i64, ptr %35, align 8, !tbaa !11
  %37 = icmp ult i64 %34, %36
  %38 = select i1 %37, i64 %34, i64 %5
  %39 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKNS0_6MatrixIdLm3ELm1EEELm3ENS0_9ArrayViewIS4_Lm3EEEEclIJmmEEERS4_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %1, i64 noundef %3, i64 noundef %4, i64 noundef %38)
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %39)
  %40 = load double, ptr %9, align 8, !tbaa !12
  %41 = load double, ptr %10, align 8, !tbaa !12
  %42 = load <2 x double>, ptr %11, align 16
  %43 = load <2 x double>, ptr %12, align 16
  %44 = getelementptr inbounds i8, ptr %7, i64 8
  %45 = load <2 x double>, ptr %44, align 8
  %46 = getelementptr inbounds i8, ptr %8, i64 8
  %47 = load <2 x double>, ptr %46, align 8
  %48 = getelementptr inbounds i8, ptr %11, i64 8
  %49 = load double, ptr %48, align 8, !tbaa !15
  %50 = getelementptr inbounds i8, ptr %12, i64 8
  %51 = load double, ptr %50, align 8, !tbaa !15
  %52 = getelementptr inbounds i8, ptr %7, i64 16
  %53 = load double, ptr %52, align 8, !tbaa !16
  %54 = getelementptr inbounds i8, ptr %8, i64 16
  %55 = load double, ptr %54, align 8, !tbaa !16
  %56 = getelementptr inbounds i8, ptr %9, i64 16
  %57 = load double, ptr %56, align 8, !tbaa !16
  %58 = getelementptr inbounds i8, ptr %10, i64 16
  %59 = load double, ptr %58, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  %60 = getelementptr inbounds i8, ptr %2, i64 8
  %61 = insertelement <2 x double> poison, double %59, i64 0
  %62 = insertelement <2 x double> %61, double %51, i64 1
  %63 = insertelement <2 x double> poison, double %57, i64 0
  %64 = insertelement <2 x double> %63, double %49, i64 1
  %65 = fsub <2 x double> %62, %64
  %66 = fmul <2 x double> %65, <double 5.000000e-01, double 5.000000e-01>
  %67 = load <2 x double>, ptr %60, align 8, !tbaa !17
  %68 = fdiv <2 x double> %66, %67
  %shift = shufflevector <2 x double> %68, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %69 = fsub <2 x double> %68, %shift
  %70 = extractelement <2 x double> %69, i64 0
  store double %70, ptr %13, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #4
  %71 = load double, ptr %2, align 8, !tbaa !12
  %72 = insertelement <2 x double> %43, double %55, i64 1
  %73 = insertelement <2 x double> %42, double %53, i64 1
  %74 = fsub <2 x double> %72, %73
  %75 = fmul <2 x double> %74, <double 5.000000e-01, double 5.000000e-01>
  %76 = shufflevector <2 x double> %67, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %77 = insertelement <2 x double> %76, double %71, i64 1
  %78 = fdiv <2 x double> %75, %77
  %shift57 = shufflevector <2 x double> %78, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %79 = fsub <2 x double> %78, %shift57
  %80 = extractelement <2 x double> %79, i64 0
  store double %80, ptr %14, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #4
  %81 = insertelement <2 x double> %47, double %41, i64 1
  %82 = insertelement <2 x double> %45, double %40, i64 1
  %83 = fsub <2 x double> %81, %82
  %84 = fmul <2 x double> %83, <double 5.000000e-01, double 5.000000e-01>
  %85 = insertelement <2 x double> %76, double %71, i64 0
  %86 = fdiv <2 x double> %84, %85
  %shift58 = shufflevector <2 x double> %86, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %87 = fsub <2 x double> %86, %shift58
  %88 = extractelement <2 x double> %87, i64 0
  store double %88, ptr %15, align 8, !tbaa !17
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKdS4_S4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.usub.sat.i64(i64, i64) #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 = !{!"_ZTSN3vox8geometry6MatrixImLm3ELm1EEE", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!6, !7, i64 16}
!12 = !{!13, !14, i64 0}
!13 = !{!"_ZTSN3vox8geometry6MatrixIdLm3ELm1EEE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"double", !8, i64 0}
!15 = !{!13, !14, i64 8}
!16 = !{!13, !14, i64 16}
!17 = !{!14, !14, i64 0}


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