; LLVM IR from niessner/Matterport :: code/gaps/pkgs/RGBD/RGBDCamera.ll (ZN10RGBDCameraC2ERKS_)

; 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.R4Matrix = type { [4 x [4 x double]] }
%class.RGBDCamera = type <{ i32, i32, i32, i32, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, %class.R4Matrix, ptr, ptr, ptr, ptr, i32, i32, i32, [4 x i8] }>

@R4identity_matrix = external global %class.R4Matrix, align 8

declare void @_ZN8R4MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #0

declare noundef nonnull align 8 dereferenceable(128) ptr @_ZN8R4MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10RGBDCameraC2ERKS_(ptr noundef nonnull align 8 dereferenceable(348) %0, ptr noundef nonnull align 8 dereferenceable(348) %1) unnamed_addr #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %5 = load ptr, ptr %3, align 8
  %6 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 0
  %7 = load ptr, ptr %4, align 8, !tbaa !5
  %8 = getelementptr inbounds %class.RGBDCamera, ptr %7, i32 0, i32 0
  %9 = load i32, ptr %8, align 8, !tbaa !9
  store i32 %9, ptr %6, align 8, !tbaa !9
  %10 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 1
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = getelementptr inbounds %class.RGBDCamera, ptr %11, i32 0, i32 1
  %13 = load i32, ptr %12, align 4, !tbaa !14
  store i32 %13, ptr %10, align 4, !tbaa !14
  %14 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 2
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %class.RGBDCamera, ptr %15, i32 0, i32 2
  %17 = load i32, ptr %16, align 8, !tbaa !15
  store i32 %17, ptr %14, align 8, !tbaa !15
  %18 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 3
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %class.RGBDCamera, ptr %19, i32 0, i32 3
  %21 = load i32, ptr %20, align 4, !tbaa !16
  store i32 %21, ptr %18, align 4, !tbaa !16
  %22 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 4
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %class.RGBDCamera, ptr %23, i32 0, i32 4
  %25 = load double, ptr %24, align 8, !tbaa !17
  store double %25, ptr %22, align 8, !tbaa !17
  %26 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 5
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %class.RGBDCamera, ptr %27, i32 0, i32 5
  %29 = load double, ptr %28, align 8, !tbaa !18
  store double %29, ptr %26, align 8, !tbaa !18
  %30 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 6
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %class.RGBDCamera, ptr %31, i32 0, i32 6
  %33 = load double, ptr %32, align 8, !tbaa !19
  store double %33, ptr %30, align 8, !tbaa !19
  %34 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 7
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %class.RGBDCamera, ptr %35, i32 0, i32 7
  %37 = load double, ptr %36, align 8, !tbaa !20
  store double %37, ptr %34, align 8, !tbaa !20
  %38 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 8
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %class.RGBDCamera, ptr %39, i32 0, i32 8
  %41 = load double, ptr %40, align 8, !tbaa !21
  store double %41, ptr %38, align 8, !tbaa !21
  %42 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 9
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %class.RGBDCamera, ptr %43, i32 0, i32 9
  %45 = load double, ptr %44, align 8, !tbaa !22
  store double %45, ptr %42, align 8, !tbaa !22
  %46 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 10
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %class.RGBDCamera, ptr %47, i32 0, i32 10
  %49 = load double, ptr %48, align 8, !tbaa !23
  store double %49, ptr %46, align 8, !tbaa !23
  %50 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 11
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %class.RGBDCamera, ptr %51, i32 0, i32 11
  %53 = load double, ptr %52, align 8, !tbaa !24
  store double %53, ptr %50, align 8, !tbaa !24
  %54 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 12
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %class.RGBDCamera, ptr %55, i32 0, i32 12
  %57 = load double, ptr %56, align 8, !tbaa !25
  store double %57, ptr %54, align 8, !tbaa !25
  %58 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 13
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %class.RGBDCamera, ptr %59, i32 0, i32 13
  %61 = load double, ptr %60, align 8, !tbaa !26
  store double %61, ptr %58, align 8, !tbaa !26
  %62 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 14
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %class.RGBDCamera, ptr %63, i32 0, i32 14
  %65 = load double, ptr %64, align 8, !tbaa !27
  store double %65, ptr %62, align 8, !tbaa !27
  %66 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 15
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %class.RGBDCamera, ptr %67, i32 0, i32 15
  %69 = load double, ptr %68, align 8, !tbaa !28
  store double %69, ptr %66, align 8, !tbaa !28
  %70 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 16
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds %class.RGBDCamera, ptr %71, i32 0, i32 16
  %73 = load double, ptr %72, align 8, !tbaa !29
  store double %73, ptr %70, align 8, !tbaa !29
  %74 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 17
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %class.RGBDCamera, ptr %75, i32 0, i32 17
  %77 = load double, ptr %76, align 8, !tbaa !30
  store double %77, ptr %74, align 8, !tbaa !30
  %78 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 18
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %class.RGBDCamera, ptr %79, i32 0, i32 18
  %81 = load double, ptr %80, align 8, !tbaa !31
  store double %81, ptr %78, align 8, !tbaa !31
  %82 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 19
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr inbounds %class.RGBDCamera, ptr %83, i32 0, i32 19
  %85 = load double, ptr %84, align 8, !tbaa !32
  store double %85, ptr %82, align 8, !tbaa !32
  %86 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 20
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds %class.RGBDCamera, ptr %87, i32 0, i32 20
  %89 = load double, ptr %88, align 8, !tbaa !33
  store double %89, ptr %86, align 8, !tbaa !33
  %90 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 21
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %class.RGBDCamera, ptr %91, i32 0, i32 21
  %93 = load double, ptr %92, align 8, !tbaa !34
  store double %93, ptr %90, align 8, !tbaa !34
  %94 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 22
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds %class.RGBDCamera, ptr %95, i32 0, i32 22
  %97 = load double, ptr %96, align 8, !tbaa !35
  store double %97, ptr %94, align 8, !tbaa !35
  %98 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 23
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %class.RGBDCamera, ptr %99, i32 0, i32 23
  %101 = load double, ptr %100, align 8, !tbaa !36
  store double %101, ptr %98, align 8, !tbaa !36
  %102 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 24
  call void @_ZN8R4MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %102)
  %103 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 25
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = getelementptr inbounds %class.RGBDCamera, ptr %104, i32 0, i32 25
  %106 = load ptr, ptr %105, align 8, !tbaa !37
  %107 = icmp ne ptr %106, null
  br i1 %107, label %108, label %113

108:                                              ; preds = %2
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds %class.RGBDCamera, ptr %109, i32 0, i32 25
  %111 = load ptr, ptr %110, align 8, !tbaa !37
  %112 = call noalias ptr @strdup(ptr noundef %111) #3
  br label %114

113:                                              ; preds = %2
  br label %114

114:                                              ; preds = %113, %108
  %115 = phi ptr [ %112, %108 ], [ null, %113 ]
  store ptr %115, ptr %103, align 8, !tbaa !37
  %116 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 26
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = getelementptr inbounds %class.RGBDCamera, ptr %117, i32 0, i32 26
  %119 = load ptr, ptr %118, align 8, !tbaa !38
  %120 = icmp ne ptr %119, null
  br i1 %120, label %121, label %126

121:                                              ; preds = %114
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = getelementptr inbounds %class.RGBDCamera, ptr %122, i32 0, i32 26
  %124 = load ptr, ptr %123, align 8, !tbaa !38
  %125 = call noalias ptr @strdup(ptr noundef %124) #3
  br label %127

126:                                              ; preds = %114
  br label %127

127:                                              ; preds = %126, %121
  %128 = phi ptr [ %125, %121 ], [ null, %126 ]
  store ptr %128, ptr %116, align 8, !tbaa !38
  %129 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 27
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = getelementptr inbounds %class.RGBDCamera, ptr %130, i32 0, i32 27
  %132 = load ptr, ptr %131, align 8, !tbaa !39
  %133 = icmp ne ptr %132, null
  br i1 %133, label %134, label %139

134:                                              ; preds = %127
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds %class.RGBDCamera, ptr %135, i32 0, i32 27
  %137 = load ptr, ptr %136, align 8, !tbaa !39
  %138 = call noalias ptr @strdup(ptr noundef %137) #3
  br label %140

139:                                              ; preds = %127
  br label %140

140:                                              ; preds = %139, %134
  %141 = phi ptr [ %138, %134 ], [ null, %139 ]
  store ptr %141, ptr %129, align 8, !tbaa !39
  %142 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 28
  %143 = load ptr, ptr %4, align 8, !tbaa !5
  %144 = getelementptr inbounds %class.RGBDCamera, ptr %143, i32 0, i32 28
  %145 = load ptr, ptr %144, align 8, !tbaa !40
  %146 = icmp ne ptr %145, null
  br i1 %146, label %147, label %152

147:                                              ; preds = %140
  %148 = load ptr, ptr %4, align 8, !tbaa !5
  %149 = getelementptr inbounds %class.RGBDCamera, ptr %148, i32 0, i32 28
  %150 = load ptr, ptr %149, align 8, !tbaa !40
  %151 = call noalias ptr @strdup(ptr noundef %150) #3
  br label %153

152:                                              ; preds = %140
  br label %153

153:                                              ; preds = %152, %147
  %154 = phi ptr [ %151, %147 ], [ null, %152 ]
  store ptr %154, ptr %142, align 8, !tbaa !40
  %155 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 29
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  %157 = getelementptr inbounds %class.RGBDCamera, ptr %156, i32 0, i32 29
  %158 = load i32, ptr %157, align 8, !tbaa !41
  store i32 %158, ptr %155, align 8, !tbaa !41
  %159 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 30
  %160 = load ptr, ptr %4, align 8, !tbaa !5
  %161 = getelementptr inbounds %class.RGBDCamera, ptr %160, i32 0, i32 30
  %162 = load i32, ptr %161, align 4, !tbaa !42
  store i32 %162, ptr %159, align 4, !tbaa !42
  %163 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 31
  %164 = load ptr, ptr %4, align 8, !tbaa !5
  %165 = getelementptr inbounds %class.RGBDCamera, ptr %164, i32 0, i32 31
  %166 = load i32, ptr %165, align 8, !tbaa !43
  store i32 %166, ptr %163, align 8, !tbaa !43
  %167 = getelementptr inbounds %class.RGBDCamera, ptr %5, i32 0, i32 24
  %168 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZN8R4MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(128) %167, ptr noundef nonnull align 8 dereferenceable(128) @R4identity_matrix)
  ret void
}

; Function Attrs: nounwind
declare noalias ptr @strdup(ptr noundef) #2

attributes #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 = { 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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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, !11, i64 0}
!10 = !{!"_ZTS10RGBDCamera", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !13, i64 176, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !11, i64 336, !11, i64 340, !11, i64 344}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"_ZTS8R4Matrix", !7, i64 0}
!14 = !{!10, !11, i64 4}
!15 = !{!10, !11, i64 8}
!16 = !{!10, !11, i64 12}
!17 = !{!10, !12, i64 16}
!18 = !{!10, !12, i64 24}
!19 = !{!10, !12, i64 32}
!20 = !{!10, !12, i64 40}
!21 = !{!10, !12, i64 48}
!22 = !{!10, !12, i64 56}
!23 = !{!10, !12, i64 64}
!24 = !{!10, !12, i64 72}
!25 = !{!10, !12, i64 80}
!26 = !{!10, !12, i64 88}
!27 = !{!10, !12, i64 96}
!28 = !{!10, !12, i64 104}
!29 = !{!10, !12, i64 112}
!30 = !{!10, !12, i64 120}
!31 = !{!10, !12, i64 128}
!32 = !{!10, !12, i64 136}
!33 = !{!10, !12, i64 144}
!34 = !{!10, !12, i64 152}
!35 = !{!10, !12, i64 160}
!36 = !{!10, !12, i64 168}
!37 = !{!10, !6, i64 304}
!38 = !{!10, !6, i64 312}
!39 = !{!10, !6, i64 320}
!40 = !{!10, !6, i64 328}
!41 = !{!10, !11, i64 336}
!42 = !{!10, !11, i64 340}
!43 = !{!10, !11, i64 344}


; 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.R4Matrix = type { [4 x [4 x double]] }

@R4identity_matrix = external global %class.R4Matrix, align 8

declare void @_ZN8R4MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #0

declare noundef nonnull align 8 dereferenceable(128) ptr @_ZN8R4MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10RGBDCameraC2ERKS_(ptr noundef nonnull align 8 dereferenceable(348) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(348) %1) unnamed_addr #1 align 2 {
  %3 = load <4 x i32>, ptr %1, align 8, !tbaa !5
  store <4 x i32> %3, ptr %0, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 16
  %5 = getelementptr inbounds i8, ptr %1, i64 16
  %6 = load <2 x double>, ptr %5, align 8, !tbaa !9
  store <2 x double> %6, ptr %4, align 8, !tbaa !9
  %7 = getelementptr inbounds i8, ptr %0, i64 32
  %8 = getelementptr inbounds i8, ptr %1, i64 32
  %9 = load <2 x double>, ptr %8, align 8, !tbaa !9
  store <2 x double> %9, ptr %7, align 8, !tbaa !9
  %10 = getelementptr inbounds i8, ptr %0, i64 48
  %11 = getelementptr inbounds i8, ptr %1, i64 48
  %12 = load <2 x double>, ptr %11, align 8, !tbaa !9
  store <2 x double> %12, ptr %10, align 8, !tbaa !9
  %13 = getelementptr inbounds i8, ptr %0, i64 64
  %14 = getelementptr inbounds i8, ptr %1, i64 64
  %15 = load <2 x double>, ptr %14, align 8, !tbaa !9
  store <2 x double> %15, ptr %13, align 8, !tbaa !9
  %16 = getelementptr inbounds i8, ptr %0, i64 80
  %17 = getelementptr inbounds i8, ptr %1, i64 80
  %18 = load <2 x double>, ptr %17, align 8, !tbaa !9
  store <2 x double> %18, ptr %16, align 8, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %0, i64 96
  %20 = getelementptr inbounds i8, ptr %1, i64 96
  %21 = load <2 x double>, ptr %20, align 8, !tbaa !9
  store <2 x double> %21, ptr %19, align 8, !tbaa !9
  %22 = getelementptr inbounds i8, ptr %0, i64 112
  %23 = getelementptr inbounds i8, ptr %1, i64 112
  %24 = load <2 x double>, ptr %23, align 8, !tbaa !9
  store <2 x double> %24, ptr %22, align 8, !tbaa !9
  %25 = getelementptr inbounds i8, ptr %0, i64 128
  %26 = getelementptr inbounds i8, ptr %1, i64 128
  %27 = load <2 x double>, ptr %26, align 8, !tbaa !9
  store <2 x double> %27, ptr %25, align 8, !tbaa !9
  %28 = getelementptr inbounds i8, ptr %0, i64 144
  %29 = getelementptr inbounds i8, ptr %1, i64 144
  %30 = load <2 x double>, ptr %29, align 8, !tbaa !9
  store <2 x double> %30, ptr %28, align 8, !tbaa !9
  %31 = getelementptr inbounds i8, ptr %0, i64 160
  %32 = getelementptr inbounds i8, ptr %1, i64 160
  %33 = load <2 x double>, ptr %32, align 8, !tbaa !9
  store <2 x double> %33, ptr %31, align 8, !tbaa !9
  %34 = getelementptr inbounds i8, ptr %0, i64 176
  tail call void @_ZN8R4MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %34)
  %35 = getelementptr inbounds i8, ptr %0, i64 304
  %36 = getelementptr inbounds i8, ptr %1, i64 304
  %37 = load ptr, ptr %36, align 8, !tbaa !11
  %.not = icmp eq ptr %37, null
  br i1 %.not, label %40, label %38

38:                                               ; preds = %2
  %39 = tail call noalias ptr @strdup(ptr noundef nonnull %37) #3
  br label %40

40:                                               ; preds = %2, %38
  %41 = phi ptr [ %39, %38 ], [ null, %2 ]
  store ptr %41, ptr %35, align 8, !tbaa !11
  %42 = getelementptr inbounds i8, ptr %0, i64 312
  %43 = getelementptr inbounds i8, ptr %1, i64 312
  %44 = load ptr, ptr %43, align 8, !tbaa !15
  %.not39 = icmp eq ptr %44, null
  br i1 %.not39, label %47, label %45

45:                                               ; preds = %40
  %46 = tail call noalias ptr @strdup(ptr noundef nonnull %44) #3
  br label %47

47:                                               ; preds = %40, %45
  %48 = phi ptr [ %46, %45 ], [ null, %40 ]
  store ptr %48, ptr %42, align 8, !tbaa !15
  %49 = getelementptr inbounds i8, ptr %0, i64 320
  %50 = getelementptr inbounds i8, ptr %1, i64 320
  %51 = load ptr, ptr %50, align 8, !tbaa !16
  %.not40 = icmp eq ptr %51, null
  br i1 %.not40, label %54, label %52

52:                                               ; preds = %47
  %53 = tail call noalias ptr @strdup(ptr noundef nonnull %51) #3
  br label %54

54:                                               ; preds = %47, %52
  %55 = phi ptr [ %53, %52 ], [ null, %47 ]
  store ptr %55, ptr %49, align 8, !tbaa !16
  %56 = getelementptr inbounds i8, ptr %1, i64 328
  %57 = load ptr, ptr %56, align 8, !tbaa !17
  %.not41 = icmp eq ptr %57, null
  br i1 %.not41, label %60, label %58

58:                                               ; preds = %54
  %59 = tail call noalias ptr @strdup(ptr noundef nonnull %57) #3
  br label %60

60:                                               ; preds = %54, %58
  %61 = phi ptr [ %59, %58 ], [ null, %54 ]
  %62 = getelementptr inbounds i8, ptr %0, i64 328
  store ptr %61, ptr %62, align 8, !tbaa !17
  %63 = getelementptr inbounds i8, ptr %0, i64 336
  %64 = getelementptr inbounds i8, ptr %1, i64 336
  %65 = load <2 x i32>, ptr %64, align 8, !tbaa !5
  store <2 x i32> %65, ptr %63, align 8, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %0, i64 344
  %67 = getelementptr inbounds i8, ptr %1, i64 344
  %68 = load i32, ptr %67, align 8, !tbaa !18
  store i32 %68, ptr %66, align 8, !tbaa !18
  %69 = tail call noundef nonnull align 8 dereferenceable(128) ptr @_ZN8R4MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(128) %34, ptr noundef nonnull align 8 dereferenceable(128) @R4identity_matrix)
  ret void
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2

attributes #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 = { 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 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !14, i64 304}
!12 = !{!"_ZTS10RGBDCamera", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !13, i64 176, !14, i64 304, !14, i64 312, !14, i64 320, !14, i64 328, !6, i64 336, !6, i64 340, !6, i64 344}
!13 = !{!"_ZTS8R4Matrix", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!12, !14, i64 312}
!16 = !{!12, !14, i64 320}
!17 = !{!12, !14, i64 328}
!18 = !{!12, !6, i64 344}


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