; LLVM IR from pictools/pica :: test/src/utility/ArrayTests.ll (ZN28Array3dTest_Constructor_Test8TestBodyEv)

; 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.testing::internal::String" = type { ptr, i64 }
%"class.testing::AssertionResult" = type { i8, %"class.testing::internal::scoped_ptr" }
%"class.testing::internal::scoped_ptr" = type { ptr }
%"class.pica::Array3d" = type { %"struct.pica::Vector3", %"class.std::vector" }
%"struct.pica::Vector3" = type { i32, i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.testing::Message" = type { %"class.testing::internal::scoped_ptr.0" }
%"class.testing::internal::scoped_ptr.0" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }
%"class.pica::Array3d.29" = type { %"struct.pica::Vector3", %"class.std::vector.4" }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.3 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [11 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing15AssertionResultC2Eb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

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

declare void @_ZN7testing8internal30GetBoolAssertionFailureMessageERKNS_15AssertionResultEPKcS5_S5_(ptr dead_on_unwind writable sret(%"class.testing::internal::String") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK7testing8internal6String5c_strEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

declare void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef, i32 noundef, ptr noundef) unnamed_addr #3

declare void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: nounwind
declare void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal8EqHelperILb0EE7CompareIiiEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind noalias writable sret(%"class.testing::AssertionResult") align 8, ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal8EqHelperILb1EE7CompareIidEENS_15AssertionResultEPKcS6_RKT_RKT0_PNS0_8EnableIfIXntsr10is_pointerISA_EE5valueEE4typeE(ptr dead_on_unwind noalias writable sret(%"class.testing::AssertionResult") align 8, ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4picaeqIiEEbRKNS_7Vector3IT_EES5_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef, i32 noundef, i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, i32 } @_ZNK4pica7Array3dIdE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40)) #2 align 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) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4pica7Array3dIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN28Array3dTest_Constructor_Test8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(16) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.pica::Array3d", align 8
  %4 = alloca %"class.testing::AssertionResult", align 8
  %5 = alloca %"struct.pica::Vector3", align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"struct.pica::Vector3", align 4
  %9 = alloca { i64, i32 }, align 8
  %10 = alloca %"class.testing::Message", align 8
  %11 = alloca %"class.testing::internal::AssertHelper", align 8
  %12 = alloca %"class.testing::internal::String", align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"struct.pica::Vector3", align 4
  %16 = alloca { i64, i32 }, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"struct.pica::Vector3", align 4
  %19 = alloca { i64, i32 }, align 8
  %20 = alloca i32, align 4
  %21 = alloca %"struct.pica::Vector3", align 4
  %22 = alloca { i64, i32 }, align 8
  %23 = alloca %"class.testing::AssertionResult", align 8
  %24 = alloca i32, align 4
  %25 = alloca %"class.testing::Message", align 8
  %26 = alloca %"class.testing::internal::AssertHelper", align 8
  %27 = alloca %"class.pica::Array3d.29", align 8
  %28 = alloca %"struct.pica::Vector3", align 4
  %29 = alloca { i64, i32 }, align 4
  %30 = alloca %"class.testing::AssertionResult", align 8
  %31 = alloca %"struct.pica::Vector3", align 4
  %32 = alloca %"struct.pica::Vector3", align 4
  %33 = alloca { i64, i32 }, align 8
  %34 = alloca %"class.testing::Message", align 8
  %35 = alloca %"class.testing::internal::AssertHelper", align 8
  %36 = alloca %"class.testing::internal::String", align 8
  %37 = alloca i32, align 4
  %38 = alloca %"struct.pica::Vector3", align 4
  %39 = alloca { i64, i32 }, align 8
  %40 = alloca i32, align 4
  %41 = alloca %"struct.pica::Vector3", align 4
  %42 = alloca { i64, i32 }, align 8
  %43 = alloca i32, align 4
  %44 = alloca %"struct.pica::Vector3", align 4
  %45 = alloca { i64, i32 }, align 8
  %46 = alloca %"class.testing::AssertionResult", align 8
  %47 = alloca i32, align 4
  %48 = alloca %"class.testing::Message", align 8
  %49 = alloca %"class.testing::internal::AssertHelper", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %50 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr %3) #7
  call void @_ZN4pica7Array3dIdEC2Eiiid(ptr noundef nonnull align 8 dereferenceable(40) %3, i32 noundef 4, i32 noundef 5, i32 noundef 2, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %5) #7
  invoke void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12) %5, i32 noundef 4, i32 noundef 5, i32 noundef 2)
          to label %51 unwind label %60

51:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 12, ptr %8) #7
  %52 = invoke { i64, i32 } @_ZNK4pica7Array3dIdE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %53 unwind label %64

53:                                               ; preds = %51
  store { i64, i32 } %52, ptr %9, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 8 %9, i64 12, i1 false)
  %54 = invoke noundef zeroext i1 @_ZN4picaeqIiEEbRKNS_7Vector3IT_EES5_(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %8)
          to label %55 unwind label %64

55:                                               ; preds = %53
  invoke void @_ZN7testing15AssertionResultC2Eb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext %54)
          to label %56 unwind label %64

56:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %5) #7
  %57 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %58 unwind label %69

58:                                               ; preds = %56
  br i1 %57, label %59, label %73

59:                                               ; preds = %58
  br label %99

60:                                               ; preds = %1
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %6, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %7, align 4
  br label %68

64:                                               ; preds = %55, %53, %51
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %6, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #7
  br label %68

68:                                               ; preds = %64, %60
  call void @llvm.lifetime.end.p0(i64 12, ptr %5) #7
  br label %112

69:                                               ; preds = %56
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %6, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %7, align 4
  br label %111

73:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  invoke void @_ZN7testing7MessageC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %74 unwind label %80

74:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  invoke void @_ZN7testing8internal30GetBoolAssertionFailureMessageERKNS_15AssertionResultEPKcS5_S5_(ptr dead_on_unwind writable sret(%"class.testing::internal::String") align 8 %12, ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef @.str.51, ptr noundef @.str.5, ptr noundef @.str.6)
          to label %75 unwind label %84

75:                                               ; preds = %74
  %76 = invoke noundef ptr @_ZNK7testing8internal6String5c_strEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %77 unwind label %88

77:                                               ; preds = %75
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %11, i32 noundef 2, ptr noundef @.str.3, i32 noundef 121, ptr noundef %76)
          to label %78 unwind label %88

78:                                               ; preds = %77
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %79 unwind label %92

79:                                               ; preds = %78
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  store i32 1, ptr %13, align 4
  br label %100

80:                                               ; preds = %73
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %6, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %7, align 4
  br label %98

84:                                               ; preds = %74
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %6, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %7, align 4
  br label %97

88:                                               ; preds = %77, %75
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %6, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %7, align 4
  br label %96

92:                                               ; preds = %78
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %6, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %7, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  br label %96

96:                                               ; preds = %92, %88
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  br label %97

97:                                               ; preds = %96, %84
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br label %98

98:                                               ; preds = %97, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %111

99:                                               ; preds = %59
  store i32 0, ptr %13, align 4
  br label %100

100:                                              ; preds = %99, %79
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #7
  %101 = load i32, ptr %13, align 4
  switch i32 %101, label %376 [
    i32 0, label %102
  ]

102:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %103

103:                                              ; preds = %201, %102
  %104 = load i32, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %15) #7
  %105 = invoke { i64, i32 } @_ZNK4pica7Array3dIdE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %106 unwind label %113

106:                                              ; preds = %103
  store { i64, i32 } %105, ptr %16, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 8 %16, i64 12, i1 false)
  %107 = getelementptr inbounds %"struct.pica::Vector3", ptr %15, i32 0, i32 0
  %108 = load i32, ptr %107, align 4, !tbaa !11
  %109 = icmp slt i32 %104, %108
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #7
  br i1 %109, label %117, label %110

110:                                              ; preds = %106
  store i32 2, ptr %13, align 4
  br label %204

111:                                              ; preds = %98, %69
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  br label %112

112:                                              ; preds = %111, %68
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #7
  br label %381

113:                                              ; preds = %103
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %6, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #7
  br label %206

117:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %118

118:                                              ; preds = %194, %117
  %119 = load i32, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #7
  %120 = invoke { i64, i32 } @_ZNK4pica7Array3dIdE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %121 unwind label %126

121:                                              ; preds = %118
  store { i64, i32 } %120, ptr %19, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 8 %19, i64 12, i1 false)
  %122 = getelementptr inbounds %"struct.pica::Vector3", ptr %18, i32 0, i32 1
  %123 = load i32, ptr %122, align 4, !tbaa !13
  %124 = icmp slt i32 %119, %123
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #7
  br i1 %124, label %130, label %125

125:                                              ; preds = %121
  store i32 5, ptr %13, align 4
  br label %197

126:                                              ; preds = %118
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %6, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #7
  br label %199

130:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %131

131:                                              ; preds = %185, %130
  %132 = load i32, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %21) #7
  %133 = invoke { i64, i32 } @_ZNK4pica7Array3dIdE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %134 unwind label %139

134:                                              ; preds = %131
  store { i64, i32 } %133, ptr %22, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 8 %22, i64 12, i1 false)
  %135 = getelementptr inbounds %"struct.pica::Vector3", ptr %21, i32 0, i32 2
  %136 = load i32, ptr %135, align 4, !tbaa !14
  %137 = icmp slt i32 %132, %136
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #7
  br i1 %137, label %143, label %138

138:                                              ; preds = %134
  store i32 8, ptr %13, align 4
  br label %190

139:                                              ; preds = %131
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %6, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #7
  br label %192

143:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store i32 0, ptr %24, align 4, !tbaa !9
  %144 = load i32, ptr %14, align 4, !tbaa !9
  %145 = load i32, ptr %17, align 4, !tbaa !9
  %146 = load i32, ptr %20, align 4, !tbaa !9
  %147 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4pica7Array3dIdEclEiii(ptr noundef nonnull align 8 dereferenceable(40) %3, i32 noundef %144, i32 noundef %145, i32 noundef %146)
          to label %148 unwind label %153

148:                                              ; preds = %143
  invoke void @_ZN7testing8internal8EqHelperILb1EE7CompareIidEENS_15AssertionResultEPKcS6_RKT_RKT0_PNS0_8EnableIfIXntsr10is_pointerISA_EE5valueEE4typeE(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %23, ptr noundef @.str.9, ptr noundef @.str.52, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 8 dereferenceable(8) %147, ptr noundef null)
          to label %149 unwind label %153

149:                                              ; preds = %148
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  %150 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %151 unwind label %157

151:                                              ; preds = %149
  br i1 %150, label %152, label %161

152:                                              ; preds = %151
  br label %181

153:                                              ; preds = %148, %143
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %6, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %189

157:                                              ; preds = %149
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %6, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %7, align 4
  br label %188

161:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  invoke void @_ZN7testing7MessageC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %162 unwind label %167

162:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %163 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %164 unwind label %171

164:                                              ; preds = %162
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %26, i32 noundef 2, ptr noundef @.str.3, i32 noundef 125, ptr noundef %163)
          to label %165 unwind label %171

165:                                              ; preds = %164
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %166 unwind label %175

166:                                              ; preds = %165
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  store i32 1, ptr %13, align 4
  br label %182

167:                                              ; preds = %161
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %6, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %7, align 4
  br label %180

171:                                              ; preds = %164, %162
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %6, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %7, align 4
  br label %179

175:                                              ; preds = %165
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %6, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %7, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br label %179

179:                                              ; preds = %175, %171
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  br label %180

180:                                              ; preds = %179, %167
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %188

181:                                              ; preds = %152
  store i32 0, ptr %13, align 4
  br label %182

182:                                              ; preds = %181, %166
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  %183 = load i32, ptr %13, align 4
  switch i32 %183, label %190 [
    i32 0, label %184
  ]

184:                                              ; preds = %182
  br label %185

185:                                              ; preds = %184
  %186 = load i32, ptr %20, align 4, !tbaa !9
  %187 = add nsw i32 %186, 1
  store i32 %187, ptr %20, align 4, !tbaa !9
  br label %131, !llvm.loop !15

188:                                              ; preds = %180, %157
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  br label %189

189:                                              ; preds = %188, %153
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  br label %192

190:                                              ; preds = %182, %138
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  %191 = load i32, ptr %13, align 4
  switch i32 %191, label %197 [
    i32 8, label %193
  ]

192:                                              ; preds = %189, %139
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %199

193:                                              ; preds = %190
  br label %194

194:                                              ; preds = %193
  %195 = load i32, ptr %17, align 4, !tbaa !9
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %17, align 4, !tbaa !9
  br label %118, !llvm.loop !17

197:                                              ; preds = %190, %125
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  %198 = load i32, ptr %13, align 4
  switch i32 %198, label %204 [
    i32 5, label %200
  ]

199:                                              ; preds = %192, %126
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %206

200:                                              ; preds = %197
  br label %201

201:                                              ; preds = %200
  %202 = load i32, ptr %14, align 4, !tbaa !9
  %203 = add nsw i32 %202, 1
  store i32 %203, ptr %14, align 4, !tbaa !9
  br label %103, !llvm.loop !18

204:                                              ; preds = %197, %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  %205 = load i32, ptr %13, align 4
  switch i32 %205, label %376 [
    i32 2, label %207
  ]

206:                                              ; preds = %199, %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %381

207:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #7
  invoke void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12) %28, i32 noundef 5, i32 noundef 2, i32 noundef 4)
          to label %208 unwind label %223

208:                                              ; preds = %207
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %28, i64 12, i1 false)
  %209 = getelementptr inbounds { i64, i32 }, ptr %29, i32 0, i32 0
  %210 = load i64, ptr %209, align 4
  %211 = getelementptr inbounds { i64, i32 }, ptr %29, i32 0, i32 1
  %212 = load i32, ptr %211, align 4
  invoke void @_ZN4pica7Array3dIiEC2ENS_7Vector3IiEEi(ptr noundef nonnull align 8 dereferenceable(40) %27, i64 %210, i32 %212, i32 noundef 10)
          to label %213 unwind label %223

213:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %31) #7
  invoke void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12) %31, i32 noundef 5, i32 noundef 2, i32 noundef 4)
          to label %214 unwind label %227

214:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 12, ptr %32) #7
  %215 = invoke { i64, i32 } @_ZNK4pica7Array3dIiE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %216 unwind label %231

216:                                              ; preds = %214
  store { i64, i32 } %215, ptr %33, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 8 %33, i64 12, i1 false)
  %217 = invoke noundef zeroext i1 @_ZN4picaeqIiEEbRKNS_7Vector3IT_EES5_(ptr noundef nonnull align 4 dereferenceable(12) %31, ptr noundef nonnull align 4 dereferenceable(12) %32)
          to label %218 unwind label %231

218:                                              ; preds = %216
  invoke void @_ZN7testing15AssertionResultC2Eb(ptr noundef nonnull align 8 dereferenceable(16) %30, i1 noundef zeroext %217)
          to label %219 unwind label %231

219:                                              ; preds = %218
  call void @llvm.lifetime.end.p0(i64 12, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #7
  %220 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %221 unwind label %236

221:                                              ; preds = %219
  br i1 %220, label %222, label %240

222:                                              ; preds = %221
  br label %266

223:                                              ; preds = %208, %207
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %6, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %7, align 4
  br label %380

227:                                              ; preds = %213
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %6, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %7, align 4
  br label %235

231:                                              ; preds = %218, %216, %214
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %6, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %32) #7
  br label %235

235:                                              ; preds = %231, %227
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #7
  br label %279

236:                                              ; preds = %219
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %6, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %7, align 4
  br label %278

240:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  invoke void @_ZN7testing7MessageC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %241 unwind label %247

241:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #7
  invoke void @_ZN7testing8internal30GetBoolAssertionFailureMessageERKNS_15AssertionResultEPKcS5_S5_(ptr dead_on_unwind writable sret(%"class.testing::internal::String") align 8 %36, ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef @.str.53, ptr noundef @.str.5, ptr noundef @.str.6)
          to label %242 unwind label %251

242:                                              ; preds = %241
  %243 = invoke noundef ptr @_ZNK7testing8internal6String5c_strEv(ptr noundef nonnull align 8 dereferenceable(16) %36)
          to label %244 unwind label %255

244:                                              ; preds = %242
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %35, i32 noundef 2, ptr noundef @.str.3, i32 noundef 127, ptr noundef %243)
          to label %245 unwind label %255

245:                                              ; preds = %244
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %246 unwind label %259

246:                                              ; preds = %245
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %36) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  store i32 1, ptr %13, align 4
  br label %267

247:                                              ; preds = %240
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %6, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %7, align 4
  br label %265

251:                                              ; preds = %241
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %6, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %7, align 4
  br label %264

255:                                              ; preds = %244, %242
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %6, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %7, align 4
  br label %263

259:                                              ; preds = %245
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %6, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %7, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  br label %263

263:                                              ; preds = %259, %255
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %36) #7
  br label %264

264:                                              ; preds = %263, %251
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  br label %265

265:                                              ; preds = %264, %247
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br label %278

266:                                              ; preds = %222
  store i32 0, ptr %13, align 4
  br label %267

267:                                              ; preds = %266, %246
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  %268 = load i32, ptr %13, align 4
  switch i32 %268, label %375 [
    i32 0, label %269
  ]

269:                                              ; preds = %267
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  store i32 0, ptr %37, align 4, !tbaa !9
  br label %270

270:                                              ; preds = %368, %269
  %271 = load i32, ptr %37, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %38) #7
  %272 = invoke { i64, i32 } @_ZNK4pica7Array3dIiE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %273 unwind label %280

273:                                              ; preds = %270
  store { i64, i32 } %272, ptr %39, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 8 %39, i64 12, i1 false)
  %274 = getelementptr inbounds %"struct.pica::Vector3", ptr %38, i32 0, i32 0
  %275 = load i32, ptr %274, align 4, !tbaa !11
  %276 = icmp slt i32 %271, %275
  call void @llvm.lifetime.end.p0(i64 12, ptr %38) #7
  br i1 %276, label %284, label %277

277:                                              ; preds = %273
  store i32 11, ptr %13, align 4
  br label %371

278:                                              ; preds = %265, %236
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #7
  br label %279

279:                                              ; preds = %278, %235
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  br label %379

280:                                              ; preds = %270
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %6, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %38) #7
  br label %373

284:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #7
  store i32 0, ptr %40, align 4, !tbaa !9
  br label %285

285:                                              ; preds = %361, %284
  %286 = load i32, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %41) #7
  %287 = invoke { i64, i32 } @_ZNK4pica7Array3dIiE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %288 unwind label %293

288:                                              ; preds = %285
  store { i64, i32 } %287, ptr %42, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 8 %42, i64 12, i1 false)
  %289 = getelementptr inbounds %"struct.pica::Vector3", ptr %41, i32 0, i32 1
  %290 = load i32, ptr %289, align 4, !tbaa !13
  %291 = icmp slt i32 %286, %290
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #7
  br i1 %291, label %297, label %292

292:                                              ; preds = %288
  store i32 14, ptr %13, align 4
  br label %364

293:                                              ; preds = %285
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %6, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #7
  br label %366

297:                                              ; preds = %288
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #7
  store i32 0, ptr %43, align 4, !tbaa !9
  br label %298

298:                                              ; preds = %352, %297
  %299 = load i32, ptr %43, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %44) #7
  %300 = invoke { i64, i32 } @_ZNK4pica7Array3dIiE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %301 unwind label %306

301:                                              ; preds = %298
  store { i64, i32 } %300, ptr %45, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 8 %45, i64 12, i1 false)
  %302 = getelementptr inbounds %"struct.pica::Vector3", ptr %44, i32 0, i32 2
  %303 = load i32, ptr %302, align 4, !tbaa !14
  %304 = icmp slt i32 %299, %303
  call void @llvm.lifetime.end.p0(i64 12, ptr %44) #7
  br i1 %304, label %310, label %305

305:                                              ; preds = %301
  store i32 17, ptr %13, align 4
  br label %357

306:                                              ; preds = %298
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %6, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %44) #7
  br label %359

310:                                              ; preds = %301
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #7
  store i32 10, ptr %47, align 4, !tbaa !9
  %311 = load i32, ptr %37, align 4, !tbaa !9
  %312 = load i32, ptr %40, align 4, !tbaa !9
  %313 = load i32, ptr %43, align 4, !tbaa !9
  %314 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN4pica7Array3dIiEclEiii(ptr noundef nonnull align 8 dereferenceable(40) %27, i32 noundef %311, i32 noundef %312, i32 noundef %313)
          to label %315 unwind label %320

315:                                              ; preds = %310
  invoke void @_ZN7testing8internal8EqHelperILb0EE7CompareIiiEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %46, ptr noundef @.str.54, ptr noundef @.str.55, ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 4 dereferenceable(4) %314)
          to label %316 unwind label %320

316:                                              ; preds = %315
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #7
  %317 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %46)
          to label %318 unwind label %324

318:                                              ; preds = %316
  br i1 %317, label %319, label %328

319:                                              ; preds = %318
  br label %348

320:                                              ; preds = %315, %310
  %321 = landingpad { ptr, i32 }
          cleanup
  %322 = extractvalue { ptr, i32 } %321, 0
  store ptr %322, ptr %6, align 8
  %323 = extractvalue { ptr, i32 } %321, 1
  store i32 %323, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #7
  br label %356

324:                                              ; preds = %316
  %325 = landingpad { ptr, i32 }
          cleanup
  %326 = extractvalue { ptr, i32 } %325, 0
  store ptr %326, ptr %6, align 8
  %327 = extractvalue { ptr, i32 } %325, 1
  store i32 %327, ptr %7, align 4
  br label %355

328:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #7
  invoke void @_ZN7testing7MessageC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %48)
          to label %329 unwind label %334

329:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #7
  %330 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %46)
          to label %331 unwind label %338

331:                                              ; preds = %329
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %49, i32 noundef 2, ptr noundef @.str.3, i32 noundef 131, ptr noundef %330)
          to label %332 unwind label %338

332:                                              ; preds = %331
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %48)
          to label %333 unwind label %342

333:                                              ; preds = %332
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %49) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %48) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  store i32 1, ptr %13, align 4
  br label %349

334:                                              ; preds = %328
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %6, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %7, align 4
  br label %347

338:                                              ; preds = %331, %329
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %6, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %7, align 4
  br label %346

342:                                              ; preds = %332
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %6, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %7, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %49) #7
  br label %346

346:                                              ; preds = %342, %338
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %48) #7
  br label %347

347:                                              ; preds = %346, %334
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  br label %355

348:                                              ; preds = %319
  store i32 0, ptr %13, align 4
  br label %349

349:                                              ; preds = %348, %333
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %46) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #7
  %350 = load i32, ptr %13, align 4
  switch i32 %350, label %357 [
    i32 0, label %351
  ]

351:                                              ; preds = %349
  br label %352

352:                                              ; preds = %351
  %353 = load i32, ptr %43, align 4, !tbaa !9
  %354 = add nsw i32 %353, 1
  store i32 %354, ptr %43, align 4, !tbaa !9
  br label %298, !llvm.loop !19

355:                                              ; preds = %347, %324
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %46) #7
  br label %356

356:                                              ; preds = %355, %320
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #7
  br label %359

357:                                              ; preds = %349, %305
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  %358 = load i32, ptr %13, align 4
  switch i32 %358, label %364 [
    i32 17, label %360
  ]

359:                                              ; preds = %356, %306
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  br label %366

360:                                              ; preds = %357
  br label %361

361:                                              ; preds = %360
  %362 = load i32, ptr %40, align 4, !tbaa !9
  %363 = add nsw i32 %362, 1
  store i32 %363, ptr %40, align 4, !tbaa !9
  br label %285, !llvm.loop !20

364:                                              ; preds = %357, %292
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  %365 = load i32, ptr %13, align 4
  switch i32 %365, label %371 [
    i32 14, label %367
  ]

366:                                              ; preds = %359, %293
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  br label %373

367:                                              ; preds = %364
  br label %368

368:                                              ; preds = %367
  %369 = load i32, ptr %37, align 4, !tbaa !9
  %370 = add nsw i32 %369, 1
  store i32 %370, ptr %37, align 4, !tbaa !9
  br label %270, !llvm.loop !21

371:                                              ; preds = %364, %277
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  %372 = load i32, ptr %13, align 4
  switch i32 %372, label %375 [
    i32 11, label %374
  ]

373:                                              ; preds = %366, %280
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  br label %379

374:                                              ; preds = %371
  store i32 0, ptr %13, align 4
  br label %375

375:                                              ; preds = %374, %371, %267
  call void @_ZN4pica7Array3dIiED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #7
  br label %376

376:                                              ; preds = %375, %204, %100
  call void @_ZN4pica7Array3dIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %3) #7
  %377 = load i32, ptr %13, align 4
  switch i32 %377, label %387 [
    i32 0, label %378
    i32 1, label %378
  ]

378:                                              ; preds = %376, %376
  ret void

379:                                              ; preds = %373, %279
  call void @_ZN4pica7Array3dIiED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #7
  br label %380

380:                                              ; preds = %379, %223
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #7
  br label %381

381:                                              ; preds = %380, %206, %112
  call void @_ZN4pica7Array3dIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %3) #7
  br label %382

382:                                              ; preds = %381
  %383 = load ptr, ptr %6, align 8
  %384 = load i32, ptr %7, align 4
  %385 = insertvalue { ptr, i32 } poison, ptr %383, 0
  %386 = insertvalue { ptr, i32 } %385, i32 %384, 1
  resume { ptr, i32 } %386

387:                                              ; preds = %376
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4pica7Array3dIdEC2Eiiid(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, i32 noundef, double noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN4pica7Array3dIdEclEiii(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4pica7Array3dIiEC2ENS_7Vector3IiEEi(ptr noundef nonnull align 8 dereferenceable(40), i64, i32, i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, i32 } @_ZNK4pica7Array3dIiE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN4pica7Array3dIiEclEiii(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, i32 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4pica7Array3dIiED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 align 2

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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 #4 = { 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 #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN4pica7Vector3IiEE", !10, i64 0, !10, i64 4, !10, i64 8}
!13 = !{!12, !10, i64 4}
!14 = !{!12, !10, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}
!21 = distinct !{!21, !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.testing::internal::String" = type { ptr, i64 }
%"class.testing::AssertionResult" = type { i8, %"class.testing::internal::scoped_ptr" }
%"class.testing::internal::scoped_ptr" = type { ptr }
%"class.pica::Array3d" = type { %"struct.pica::Vector3", %"class.std::vector" }
%"struct.pica::Vector3" = type { i32, i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.testing::Message" = type { %"class.testing::internal::scoped_ptr.0" }
%"class.testing::internal::scoped_ptr.0" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }
%"class.pica::Array3d.29" = type { %"struct.pica::Vector3", %"class.std::vector.4" }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.3 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [11 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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 uwtable
declare dso_local void @_ZN7testing15AssertionResultC2Eb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

declare void @_ZN7testing8internal30GetBoolAssertionFailureMessageERKNS_15AssertionResultEPKcS5_S5_(ptr dead_on_unwind writable sret(%"class.testing::internal::String") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK7testing8internal6String5c_strEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

declare void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef, i32 noundef, ptr noundef) unnamed_addr #3

declare void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal8EqHelperILb0EE7CompareIiiEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind noalias writable sret(%"class.testing::AssertionResult") align 8, ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal8EqHelperILb1EE7CompareIidEENS_15AssertionResultEPKcS6_RKT_RKT0_PNS0_8EnableIfIXntsr10is_pointerISA_EE5valueEE4typeE(ptr dead_on_unwind noalias writable sret(%"class.testing::AssertionResult") align 8, ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4picaeqIiEEbRKNS_7Vector3IT_EES5_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef, i32 noundef, i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, i32 } @_ZNK4pica7Array3dIdE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4pica7Array3dIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN28Array3dTest_Constructor_Test8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(16) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.pica::Array3d", align 8
  %3 = alloca %"class.testing::AssertionResult", align 8
  %4 = alloca %"struct.pica::Vector3", align 4
  %5 = alloca %"struct.pica::Vector3", align 8
  %6 = alloca %"class.testing::Message", align 8
  %7 = alloca %"class.testing::internal::AssertHelper", align 8
  %8 = alloca %"class.testing::internal::String", align 8
  %9 = alloca %"class.testing::AssertionResult", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.testing::Message", align 8
  %12 = alloca %"class.testing::internal::AssertHelper", align 8
  %13 = alloca %"class.pica::Array3d.29", align 8
  %14 = alloca %"struct.pica::Vector3", align 8
  %15 = alloca %"class.testing::AssertionResult", align 8
  %16 = alloca %"struct.pica::Vector3", align 4
  %17 = alloca %"struct.pica::Vector3", align 8
  %18 = alloca %"class.testing::Message", align 8
  %19 = alloca %"class.testing::internal::AssertHelper", align 8
  %20 = alloca %"class.testing::internal::String", align 8
  %21 = alloca %"class.testing::AssertionResult", align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.testing::Message", align 8
  %24 = alloca %"class.testing::internal::AssertHelper", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #6
  call void @_ZN4pica7Array3dIdEC2Eiiid(ptr noundef nonnull align 8 dereferenceable(40) %2, i32 noundef 4, i32 noundef 5, i32 noundef 2, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #6
  call void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12) %4, i32 noundef 4, i32 noundef 5, i32 noundef 2)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #6
  %25 = call { i64, i32 } @_ZNK4pica7Array3dIdE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %2)
  %.fca.0.extract73 = extractvalue { i64, i32 } %25, 0
  %.fca.1.extract74 = extractvalue { i64, i32 } %25, 1
  store i64 %.fca.0.extract73, ptr %5, align 8
  %.sroa.276.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  store i32 %.fca.1.extract74, ptr %.sroa.276.0..sroa_idx, align 8
  %26 = call noundef zeroext i1 @_ZN4picaeqIiEEbRKNS_7Vector3IT_EES5_(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %5)
  invoke void @_ZN7testing15AssertionResultC2Eb(ptr noundef nonnull align 8 dereferenceable(16) %3, i1 noundef zeroext %26)
          to label %27 unwind label %29

27:                                               ; preds = %1
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #6
  %28 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  br i1 %28, label %48, label %31

29:                                               ; preds = %1
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #6
  br label %51

31:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  invoke void @_ZN7testing7MessageC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %32 unwind label %37

32:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  invoke void @_ZN7testing8internal30GetBoolAssertionFailureMessageERKNS_15AssertionResultEPKcS5_S5_(ptr dead_on_unwind nonnull writable sret(%"class.testing::internal::String") align 8 %8, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull @.str.51, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6)
          to label %33 unwind label %39

33:                                               ; preds = %32
  %34 = call noundef ptr @_ZNK7testing8internal6String5c_strEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %7, i32 noundef 2, ptr noundef nonnull @.str.3, i32 noundef 121, ptr noundef %34)
          to label %35 unwind label %41

35:                                               ; preds = %33
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %36 unwind label %43

36:                                               ; preds = %35
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  br label %139

37:                                               ; preds = %31
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %47

39:                                               ; preds = %32
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %46

41:                                               ; preds = %33
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %45

43:                                               ; preds = %35
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br label %45

45:                                               ; preds = %43, %41
  %.pn = phi { ptr, i32 } [ %44, %43 ], [ %42, %41 ]
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  br label %46

46:                                               ; preds = %45, %39
  %.pn.pn = phi { ptr, i32 } [ %.pn, %45 ], [ %40, %39 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  br label %47

47:                                               ; preds = %46, %37
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %46 ], [ %38, %37 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  br label %51

48:                                               ; preds = %27
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  %49 = call { i64, i32 } @_ZNK4pica7Array3dIdE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %2)
  %.fca.0.extract54163 = extractvalue { i64, i32 } %49, 0
  %.sroa.058.0.extract.trunc164 = trunc i64 %.fca.0.extract54163 to i32
  %.not120165 = icmp sgt i32 %.sroa.058.0.extract.trunc164, 0
  br i1 %.not120165, label %.preheader154, label %.critedge143

.preheader154:                                    ; preds = %48, %.critedge141
  %.0106166 = phi i32 [ %78, %.critedge141 ], [ 0, %48 ]
  %50 = call { i64, i32 } @_ZNK4pica7Array3dIdE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %2)
  %.fca.0.extract45158 = extractvalue { i64, i32 } %50, 0
  %.sroa.049.4.extract.shift159 = lshr i64 %.fca.0.extract45158, 32
  %.sroa.049.4.extract.trunc160 = trunc nuw i64 %.sroa.049.4.extract.shift159 to i32
  %.not121161 = icmp sgt i32 %.sroa.049.4.extract.trunc160, 0
  br i1 %.not121161, label %.preheader153, label %.critedge141

51:                                               ; preds = %47, %29
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %47 ], [ %30, %29 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  br label %142

.preheader153:                                    ; preds = %.preheader154, %.critedge139
  %.0108162 = phi i32 [ %75, %.critedge139 ], [ 0, %.preheader154 ]
  %52 = call { i64, i32 } @_ZNK4pica7Array3dIdE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %2)
  %.fca.1.extract37155 = extractvalue { i64, i32 } %52, 1
  %.not156 = icmp sgt i32 %.fca.1.extract37155, 0
  br i1 %.not156, label %.lr.ph, label %.critedge139

.lr.ph:                                           ; preds = %.preheader153, %71
  %.0109157 = phi i32 [ %72, %71 ], [ 0, %.preheader153 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  store i32 0, ptr %10, align 4, !tbaa !5
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4pica7Array3dIdEclEiii(ptr noundef nonnull align 8 dereferenceable(40) %2, i32 noundef %.0106166, i32 noundef %.0108162, i32 noundef %.0109157)
  invoke void @_ZN7testing8internal8EqHelperILb1EE7CompareIidEENS_15AssertionResultEPKcS6_RKT_RKT0_PNS0_8EnableIfIXntsr10is_pointerISA_EE5valueEE4typeE(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %9, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.52, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef null)
          to label %54 unwind label %56

54:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  %55 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  br i1 %55, label %71, label %58

56:                                               ; preds = %.lr.ph
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  br label %74

58:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  invoke void @_ZN7testing7MessageC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %59 unwind label %63

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %60 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %61 unwind label %65

61:                                               ; preds = %59
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef 2, ptr noundef nonnull @.str.3, i32 noundef 125, ptr noundef %60)
          to label %62 unwind label %65

62:                                               ; preds = %61
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %77 unwind label %67

63:                                               ; preds = %58
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %70

65:                                               ; preds = %61, %59
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %69

67:                                               ; preds = %62
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br label %69

69:                                               ; preds = %67, %65
  %.pn116 = phi { ptr, i32 } [ %68, %67 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br label %70

70:                                               ; preds = %69, %63
  %.pn116.pn = phi { ptr, i32 } [ %.pn116, %69 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  br label %74

71:                                               ; preds = %54
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  %72 = add nuw nsw i32 %.0109157, 1
  %73 = call { i64, i32 } @_ZNK4pica7Array3dIdE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %2)
  %.fca.1.extract37 = extractvalue { i64, i32 } %73, 1
  %.not = icmp slt i32 %72, %.fca.1.extract37
  br i1 %.not, label %.lr.ph, label %.critedge139, !llvm.loop !9

74:                                               ; preds = %70, %56
  %.pn116.pn.pn = phi { ptr, i32 } [ %.pn116.pn, %70 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %142

.critedge139:                                     ; preds = %71, %.preheader153
  %75 = add nuw nsw i32 %.0108162, 1
  %76 = call { i64, i32 } @_ZNK4pica7Array3dIdE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %2)
  %.fca.0.extract45 = extractvalue { i64, i32 } %76, 0
  %.sroa.049.4.extract.shift = lshr i64 %.fca.0.extract45, 32
  %.sroa.049.4.extract.trunc = trunc nuw i64 %.sroa.049.4.extract.shift to i32
  %.not121 = icmp slt i32 %75, %.sroa.049.4.extract.trunc
  br i1 %.not121, label %.preheader153, label %.critedge141, !llvm.loop !11

77:                                               ; preds = %62
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %139

.critedge141:                                     ; preds = %.critedge139, %.preheader154
  %78 = add nuw nsw i32 %.0106166, 1
  %79 = call { i64, i32 } @_ZNK4pica7Array3dIdE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %2)
  %.fca.0.extract54 = extractvalue { i64, i32 } %79, 0
  %.sroa.058.0.extract.trunc = trunc i64 %.fca.0.extract54 to i32
  %.not120 = icmp slt i32 %78, %.sroa.058.0.extract.trunc
  br i1 %.not120, label %.preheader154, label %.critedge143, !llvm.loop !12

.critedge143:                                     ; preds = %.critedge141, %48
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #6
  call void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12) %14, i32 noundef 5, i32 noundef 2, i32 noundef 4)
  %.sroa.034.0.copyload = load i64, ptr %14, align 8
  %.sroa.235.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  %.sroa.235.0.copyload = load i32, ptr %.sroa.235.0..sroa_idx, align 8
  invoke void @_ZN4pica7Array3dIiEC2ENS_7Vector3IiEEi(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 %.sroa.034.0.copyload, i32 %.sroa.235.0.copyload, i32 noundef 10)
          to label %80 unwind label %85

80:                                               ; preds = %.critedge143
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #6
  call void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12) %16, i32 noundef 5, i32 noundef 2, i32 noundef 4)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %17) #6
  %81 = call { i64, i32 } @_ZNK4pica7Array3dIiE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %13)
  %.fca.0.extract30 = extractvalue { i64, i32 } %81, 0
  %.fca.1.extract31 = extractvalue { i64, i32 } %81, 1
  store i64 %.fca.0.extract30, ptr %17, align 8
  %.sroa.233.0..sroa_idx = getelementptr inbounds i8, ptr %17, i64 8
  store i32 %.fca.1.extract31, ptr %.sroa.233.0..sroa_idx, align 8
  %82 = call noundef zeroext i1 @_ZN4picaeqIiEEbRKNS_7Vector3IT_EES5_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %17)
  invoke void @_ZN7testing15AssertionResultC2Eb(ptr noundef nonnull align 8 dereferenceable(16) %15, i1 noundef zeroext %82)
          to label %83 unwind label %87

83:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #6
  %84 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
  br i1 %84, label %106, label %89

85:                                               ; preds = %.critedge143
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %141

87:                                               ; preds = %80
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #6
  br label %110

89:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  invoke void @_ZN7testing7MessageC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %90 unwind label %95

90:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #6
  invoke void @_ZN7testing8internal30GetBoolAssertionFailureMessageERKNS_15AssertionResultEPKcS5_S5_(ptr dead_on_unwind nonnull writable sret(%"class.testing::internal::String") align 8 %20, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull @.str.53, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6)
          to label %91 unwind label %97

91:                                               ; preds = %90
  %92 = call noundef ptr @_ZNK7testing8internal6String5c_strEv(ptr noundef nonnull align 8 dereferenceable(16) %20)
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %19, i32 noundef 2, ptr noundef nonnull @.str.3, i32 noundef 127, ptr noundef %92)
          to label %93 unwind label %99

93:                                               ; preds = %91
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %94 unwind label %101

94:                                               ; preds = %93
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  br label %.loopexit

95:                                               ; preds = %89
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %105

97:                                               ; preds = %90
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %104

99:                                               ; preds = %91
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %103

101:                                              ; preds = %93
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br label %103

103:                                              ; preds = %101, %99
  %.pn122 = phi { ptr, i32 } [ %102, %101 ], [ %100, %99 ]
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  br label %104

104:                                              ; preds = %103, %97
  %.pn122.pn = phi { ptr, i32 } [ %.pn122, %103 ], [ %98, %97 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  br label %105

105:                                              ; preds = %104, %95
  %.pn122.pn.pn = phi { ptr, i32 } [ %.pn122.pn, %104 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  br label %110

106:                                              ; preds = %83
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  %107 = call { i64, i32 } @_ZNK4pica7Array3dIiE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %13)
  %.fca.0.extract21177 = extractvalue { i64, i32 } %107, 0
  %.sroa.025.0.extract.trunc178 = trunc i64 %.fca.0.extract21177 to i32
  %108 = icmp sgt i32 %.sroa.025.0.extract.trunc178, 0
  br i1 %108, label %.preheader152, label %.loopexit

.preheader152:                                    ; preds = %106, %.critedge151
  %.0110179 = phi i32 [ %136, %.critedge151 ], [ 0, %106 ]
  %109 = call { i64, i32 } @_ZNK4pica7Array3dIiE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %13)
  %.fca.0.extract13172 = extractvalue { i64, i32 } %109, 0
  %.sroa.017.4.extract.shift173 = lshr i64 %.fca.0.extract13172, 32
  %.sroa.017.4.extract.trunc174 = trunc nuw i64 %.sroa.017.4.extract.shift173 to i32
  %.not135175 = icmp sgt i32 %.sroa.017.4.extract.trunc174, 0
  br i1 %.not135175, label %.preheader, label %.critedge151

110:                                              ; preds = %105, %87
  %.pn122.pn.pn.pn = phi { ptr, i32 } [ %.pn122.pn.pn, %105 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  br label %140

.preheader:                                       ; preds = %.preheader152, %.critedge149
  %.0111176 = phi i32 [ %134, %.critedge149 ], [ 0, %.preheader152 ]
  %111 = call { i64, i32 } @_ZNK4pica7Array3dIiE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %13)
  %.fca.1.extract168 = extractvalue { i64, i32 } %111, 1
  %.not134169 = icmp sgt i32 %.fca.1.extract168, 0
  br i1 %.not134169, label %.lr.ph171, label %.critedge149

.lr.ph171:                                        ; preds = %.preheader, %130
  %.0107170 = phi i32 [ %131, %130 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #6
  store i32 10, ptr %22, align 4, !tbaa !5
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4pica7Array3dIiEclEiii(ptr noundef nonnull align 8 dereferenceable(40) %13, i32 noundef %.0110179, i32 noundef %.0111176, i32 noundef %.0107170)
  invoke void @_ZN7testing8internal8EqHelperILb0EE7CompareIiiEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %21, ptr noundef nonnull @.str.54, ptr noundef nonnull @.str.55, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %112)
          to label %113 unwind label %115

113:                                              ; preds = %.lr.ph171
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  %114 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
  br i1 %114, label %130, label %117

115:                                              ; preds = %.lr.ph171
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  br label %133

117:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  invoke void @_ZN7testing7MessageC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %118 unwind label %122

118:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #6
  %119 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %120 unwind label %124

120:                                              ; preds = %118
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %24, i32 noundef 2, ptr noundef nonnull @.str.3, i32 noundef 131, ptr noundef %119)
          to label %121 unwind label %124

121:                                              ; preds = %120
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %..loopexit_crit_edge181 unwind label %126

122:                                              ; preds = %117
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %129

124:                                              ; preds = %120, %118
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %128

126:                                              ; preds = %121
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  br label %128

128:                                              ; preds = %126, %124
  %.pn127 = phi { ptr, i32 } [ %127, %126 ], [ %125, %124 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  br label %129

129:                                              ; preds = %128, %122
  %.pn127.pn = phi { ptr, i32 } [ %.pn127, %128 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  br label %133

130:                                              ; preds = %113
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #6
  %131 = add nuw nsw i32 %.0107170, 1
  %132 = call { i64, i32 } @_ZNK4pica7Array3dIiE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %13)
  %.fca.1.extract = extractvalue { i64, i32 } %132, 1
  %.not134 = icmp slt i32 %131, %.fca.1.extract
  br i1 %.not134, label %.lr.ph171, label %.critedge149, !llvm.loop !13

133:                                              ; preds = %129, %115
  %.pn127.pn.pn = phi { ptr, i32 } [ %.pn127.pn, %129 ], [ %116, %115 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #6
  br label %140

.critedge149:                                     ; preds = %130, %.preheader
  %134 = add nuw nsw i32 %.0111176, 1
  %135 = call { i64, i32 } @_ZNK4pica7Array3dIiE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %13)
  %.fca.0.extract13 = extractvalue { i64, i32 } %135, 0
  %.sroa.017.4.extract.shift = lshr i64 %.fca.0.extract13, 32
  %.sroa.017.4.extract.trunc = trunc nuw i64 %.sroa.017.4.extract.shift to i32
  %.not135 = icmp slt i32 %134, %.sroa.017.4.extract.trunc
  br i1 %.not135, label %.preheader, label %.critedge151, !llvm.loop !14

..loopexit_crit_edge181:                          ; preds = %121
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #6
  br label %.loopexit

.critedge151:                                     ; preds = %.critedge149, %.preheader152
  %136 = add nuw nsw i32 %.0110179, 1
  %137 = call { i64, i32 } @_ZNK4pica7Array3dIiE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %13)
  %.fca.0.extract21 = extractvalue { i64, i32 } %137, 0
  %.sroa.025.0.extract.trunc = trunc i64 %.fca.0.extract21 to i32
  %138 = icmp slt i32 %136, %.sroa.025.0.extract.trunc
  br i1 %138, label %.preheader152, label %.loopexit, !llvm.loop !15

.loopexit:                                        ; preds = %.critedge151, %106, %..loopexit_crit_edge181, %94
  call void @_ZN4pica7Array3dIiED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #6
  br label %139

139:                                              ; preds = %77, %36, %.loopexit
  call void @_ZN4pica7Array3dIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #6
  ret void

140:                                              ; preds = %133, %110
  %.pn127.pn.pn.pn = phi { ptr, i32 } [ %.pn127.pn.pn, %133 ], [ %.pn122.pn.pn.pn, %110 ]
  call void @_ZN4pica7Array3dIiED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  br label %141

141:                                              ; preds = %140, %85
  %.pn127.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn127.pn.pn.pn, %140 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #6
  br label %142

142:                                              ; preds = %141, %74, %51
  %.pn127.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn127.pn.pn.pn.pn, %141 ], [ %.pn116.pn.pn, %74 ], [ %.pn.pn.pn.pn, %51 ]
  call void @_ZN4pica7Array3dIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn127.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4pica7Array3dIdEC2Eiiid(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, i32 noundef, double noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN4pica7Array3dIdEclEiii(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4pica7Array3dIiEC2ENS_7Vector3IiEEi(ptr noundef nonnull align 8 dereferenceable(40), i64, i32, i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, i32 } @_ZNK4pica7Array3dIiE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN4pica7Array3dIiEclEiii(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4pica7Array3dIiED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 align 2

attributes #0 = { mustprogress 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 #4 = { 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 #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}


; Effective O3 passes: ConstraintEliminationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass