; LLVM IR from drohmer/cgp :: library/cgp/06_mat/mat4/mat4.ll (ZN3cgpmLERNS_12matrix_stackIfLi4ELi4EEERKS1_)

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

; 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 uwtable
declare dso_local noundef ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE5beginEv(ptr noundef nonnull align 4 dereferenceable(64)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE5beginEv(ptr noundef nonnull align 4 dereferenceable(64)) #1 align 2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"float", !7, i64 0}


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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE5beginEv(ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE5beginEv(ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZN3cgpmLERNS_12matrix_stackIfLi4ELi4EEERKS1_(ptr noundef nonnull returned align 4 dereferenceable(64) %0, ptr noundef nonnull align 4 dereferenceable(64) %1) local_unnamed_addr #0 {
  %3 = tail call noundef ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE5beginEv(ptr noundef nonnull align 4 dereferenceable(64) %0)
  %4 = tail call noundef ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE5beginEv(ptr noundef nonnull align 4 dereferenceable(64) %1)
  %5 = getelementptr inbounds i8, ptr %3, i64 4
  %6 = load float, ptr %3, align 4, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %3, i64 8
  %8 = load float, ptr %5, align 4, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %3, i64 12
  %10 = load float, ptr %7, align 4, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %3, i64 16
  %12 = load float, ptr %9, align 4, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %3, i64 20
  %14 = load float, ptr %11, align 4, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %3, i64 24
  %16 = load float, ptr %13, align 4, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %3, i64 28
  %18 = load float, ptr %15, align 4, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %3, i64 32
  %20 = load float, ptr %17, align 4, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %3, i64 36
  %22 = load float, ptr %19, align 4, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %3, i64 40
  %24 = load float, ptr %21, align 4, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %3, i64 44
  %26 = load float, ptr %23, align 4, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %3, i64 48
  %28 = load float, ptr %25, align 4, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %3, i64 52
  %30 = load float, ptr %27, align 4, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %3, i64 56
  %32 = load float, ptr %29, align 4, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %3, i64 60
  %34 = load float, ptr %31, align 4, !tbaa !5
  %35 = load float, ptr %33, align 4, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %4, i64 16
  %37 = getelementptr inbounds i8, ptr %4, i64 32
  %38 = getelementptr inbounds i8, ptr %4, i64 48
  %39 = load <4 x float>, ptr %4, align 4, !tbaa !5
  %40 = load <4 x float>, ptr %36, align 4, !tbaa !5
  %41 = load <4 x float>, ptr %37, align 4, !tbaa !5
  %42 = load <4 x float>, ptr %38, align 4, !tbaa !5
  %43 = tail call noundef ptr @_ZN3cgp12matrix_stackIfLi4ELi4EE5beginEv(ptr noundef nonnull align 4 dereferenceable(64) %0)
  %44 = insertelement <4 x float> poison, float %8, i64 0
  %45 = shufflevector <4 x float> %44, <4 x float> poison, <4 x i32> zeroinitializer
  %46 = fmul <4 x float> %45, %40
  %47 = insertelement <4 x float> poison, float %6, i64 0
  %48 = shufflevector <4 x float> %47, <4 x float> poison, <4 x i32> zeroinitializer
  %49 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %48, <4 x float> %39, <4 x float> %46)
  %50 = insertelement <4 x float> poison, float %10, i64 0
  %51 = shufflevector <4 x float> %50, <4 x float> poison, <4 x i32> zeroinitializer
  %52 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %51, <4 x float> %41, <4 x float> %49)
  %53 = insertelement <4 x float> poison, float %12, i64 0
  %54 = shufflevector <4 x float> %53, <4 x float> poison, <4 x i32> zeroinitializer
  %55 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %54, <4 x float> %42, <4 x float> %52)
  %56 = getelementptr inbounds i8, ptr %43, i64 16
  store <4 x float> %55, ptr %43, align 4, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %43, i64 32
  %58 = insertelement <4 x float> poison, float %16, i64 0
  %59 = shufflevector <4 x float> %58, <4 x float> poison, <4 x i32> zeroinitializer
  %60 = fmul <4 x float> %59, %40
  %61 = insertelement <4 x float> poison, float %14, i64 0
  %62 = shufflevector <4 x float> %61, <4 x float> poison, <4 x i32> zeroinitializer
  %63 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %62, <4 x float> %39, <4 x float> %60)
  %64 = insertelement <4 x float> poison, float %18, i64 0
  %65 = shufflevector <4 x float> %64, <4 x float> poison, <4 x i32> zeroinitializer
  %66 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %65, <4 x float> %41, <4 x float> %63)
  %67 = insertelement <4 x float> poison, float %20, i64 0
  %68 = shufflevector <4 x float> %67, <4 x float> poison, <4 x i32> zeroinitializer
  %69 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %68, <4 x float> %42, <4 x float> %66)
  store <4 x float> %69, ptr %56, align 4, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %43, i64 48
  %71 = insertelement <4 x float> poison, float %24, i64 0
  %72 = shufflevector <4 x float> %71, <4 x float> poison, <4 x i32> zeroinitializer
  %73 = fmul <4 x float> %72, %40
  %74 = insertelement <4 x float> poison, float %22, i64 0
  %75 = shufflevector <4 x float> %74, <4 x float> poison, <4 x i32> zeroinitializer
  %76 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %75, <4 x float> %39, <4 x float> %73)
  %77 = insertelement <4 x float> poison, float %26, i64 0
  %78 = shufflevector <4 x float> %77, <4 x float> poison, <4 x i32> zeroinitializer
  %79 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %78, <4 x float> %41, <4 x float> %76)
  %80 = insertelement <4 x float> poison, float %28, i64 0
  %81 = shufflevector <4 x float> %80, <4 x float> poison, <4 x i32> zeroinitializer
  %82 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %81, <4 x float> %42, <4 x float> %79)
  store <4 x float> %82, ptr %57, align 4, !tbaa !5
  %83 = insertelement <4 x float> poison, float %32, i64 0
  %84 = shufflevector <4 x float> %83, <4 x float> poison, <4 x i32> zeroinitializer
  %85 = fmul <4 x float> %84, %40
  %86 = insertelement <4 x float> poison, float %30, i64 0
  %87 = shufflevector <4 x float> %86, <4 x float> poison, <4 x i32> zeroinitializer
  %88 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %87, <4 x float> %39, <4 x float> %85)
  %89 = insertelement <4 x float> poison, float %34, i64 0
  %90 = shufflevector <4 x float> %89, <4 x float> poison, <4 x i32> zeroinitializer
  %91 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %90, <4 x float> %41, <4 x float> %88)
  %92 = insertelement <4 x float> poison, float %35, i64 0
  %93 = shufflevector <4 x float> %92, <4 x float> poison, <4 x i32> zeroinitializer
  %94 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %93, <4 x float> %42, <4 x float> %91)
  store <4 x float> %94, ptr %70, align 4, !tbaa !5
  ret ptr %0
}

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

attributes #0 = { 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 #1 = { 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, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: GlobalDCEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,TailCallElimPass