; LLVM IR from drohmer/cgp :: library/cgp/11_mesh/mesh (mesh)

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

%"struct.cgp::numarray_stack" = type { float, float, float }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.12" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.17" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [15 x i8], align 1
@__func__._ZN3cgp17normal_per_vertexERKNS_8numarrayINS_14numarray_stackIfLi3EEEEERKNS0_INS1_IjLi3EEEEERS3_b = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1

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

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 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: noreturn
declare void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE4fillERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) #1 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) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp17normal_per_vertexERKNS_8numarrayINS_14numarray_stackIfLi3EEEEERKNS0_INS1_IjLi3EEEEERS3_b(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i1 noundef zeroext %3) #5 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i64, align 8
  %10 = alloca %"struct.cgp::numarray_stack", align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator.12", align 1
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator.12", align 1
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator.12", align 1
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::allocator.12", align 1
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator.12", align 1
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::allocator.12", align 1
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::allocator.12", align 1
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::allocator.12", align 1
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::allocator.12", align 1
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.std::allocator.12", align 1
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::allocator.12", align 1
  %42 = alloca %"class.std::__cxx11::basic_string", align 8
  %43 = alloca %"class.std::allocator.12", align 1
  %44 = alloca ptr, align 8
  %45 = alloca ptr, align 8
  %46 = alloca ptr, align 8
  %47 = alloca %"struct.cgp::numarray_stack", align 4
  %48 = alloca { <2 x float>, float }, align 8
  %49 = alloca %"struct.cgp::numarray_stack", align 4
  %50 = alloca { <2 x float>, float }, align 8
  %51 = alloca float, align 4
  %52 = alloca float, align 4
  %53 = alloca %"struct.cgp::numarray_stack", align 4
  %54 = alloca %"struct.cgp::numarray_stack", align 4
  %55 = alloca { <2 x float>, float }, align 8
  %56 = alloca %"struct.cgp::numarray_stack", align 4
  %57 = alloca { <2 x float>, float }, align 8
  %58 = alloca { <2 x float>, float }, align 8
  %59 = alloca float, align 4
  %60 = alloca %"struct.cgp::numarray_stack", align 4
  %61 = alloca { <2 x float>, float }, align 8
  %62 = alloca ptr, align 8
  %63 = alloca ptr, align 8
  %64 = alloca ptr, align 8
  %65 = alloca i32, align 4
  %66 = alloca i64, align 8
  %67 = alloca ptr, align 8
  %68 = alloca float, align 4
  %69 = alloca ptr, align 8
  %70 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %71 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %72 = alloca ptr, align 8
  %73 = alloca %"struct.cgp::numarray_stack", align 4
  %74 = alloca { <2 x float>, float }, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %75 = zext i1 %3 to i8
  store i8 %75, ptr %8, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = call noundef i32 @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %76)
  %78 = sext i32 %77 to i64
  store i64 %78, ptr %9, align 8, !tbaa !11
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = call noundef i32 @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %79)
  %81 = sext i32 %80 to i64
  %82 = load i64, ptr %9, align 8, !tbaa !11
  %83 = icmp ne i64 %81, %82
  br i1 %83, label %84, label %89

84:                                               ; preds = %4
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = load i64, ptr %9, align 8, !tbaa !11
  %87 = trunc i64 %86 to i32
  %88 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE6resizeEi(ptr noundef nonnull align 8 dereferenceable(24) %85, i32 noundef %87)
  br label %92

89:                                               ; preds = %4
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 0, ptr %11, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 0, ptr %12, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 0, ptr %13, align 4, !tbaa !13
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %91 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE4fillERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %90, ptr noundef nonnull align 4 dereferenceable(12) %10)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #8
  br label %92

92:                                               ; preds = %89, %84
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = call noundef i32 @_ZNK3cgp8numarrayINS_14numarray_stackIjLi3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %93)
  %95 = sext i32 %94 to i64
  store i64 %95, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %96

96:                                               ; preds = %286, %92
  %97 = load i64, ptr %15, align 8, !tbaa !11
  %98 = load i64, ptr %14, align 8, !tbaa !11
  %99 = icmp ult i64 %97, %98
  br i1 %99, label %101, label %100

100:                                              ; preds = %96
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %290

101:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = load i64, ptr %15, align 8, !tbaa !11
  %104 = trunc i64 %103 to i32
  %105 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3cgp8numarrayINS_14numarray_stackIjLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24) %102, i32 noundef %104)
  store ptr %105, ptr %17, align 8, !tbaa !5
  %106 = load ptr, ptr %17, align 8, !tbaa !5
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi0EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %106)
  %108 = load i32, ptr %107, align 4, !tbaa !13
  %109 = zext i32 %108 to i64
  %110 = load i64, ptr %9, align 8, !tbaa !11
  %111 = icmp ult i64 %109, %110
  %112 = zext i1 %111 to i32
  %113 = icmp eq i32 %112, 0
  br i1 %113, label %114, label %144

114:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %115 unwind label %120

115:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %116 unwind label %124

116:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %117 unwind label %128

117:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef @__func__._ZN3cgp17normal_per_vertexERKNS_8numarrayINS_14numarray_stackIfLi3EEEEERKNS0_INS1_IjLi3EEEEERS3_b, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %118 unwind label %132

118:                                              ; preds = %117
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %26, i32 noundef 62) #9
          to label %119 unwind label %136

119:                                              ; preds = %118
  unreachable

120:                                              ; preds = %114
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %20, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %21, align 4
  br label %143

124:                                              ; preds = %115
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %20, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %21, align 4
  br label %142

128:                                              ; preds = %116
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %20, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %21, align 4
  br label %141

132:                                              ; preds = %117
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %20, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %21, align 4
  br label %140

136:                                              ; preds = %118
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %20, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  br label %140

140:                                              ; preds = %136, %132
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  br label %141

141:                                              ; preds = %140, %128
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  br label %142

142:                                              ; preds = %141, %124
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  br label %143

143:                                              ; preds = %142, %120
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #8
  br label %289

144:                                              ; preds = %101
  %145 = load ptr, ptr %17, align 8, !tbaa !5
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi1EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %145)
  %147 = load i32, ptr %146, align 4, !tbaa !13
  %148 = zext i32 %147 to i64
  %149 = load i64, ptr %9, align 8, !tbaa !11
  %150 = icmp ult i64 %148, %149
  %151 = zext i1 %150 to i32
  %152 = icmp eq i32 %151, 0
  br i1 %152, label %153, label %183

153:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %154 unwind label %159

154:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %155 unwind label %163

155:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %156 unwind label %167

156:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 32, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef @__func__._ZN3cgp17normal_per_vertexERKNS_8numarrayINS_14numarray_stackIfLi3EEEEERKNS0_INS1_IjLi3EEEEERS3_b, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %157 unwind label %171

157:                                              ; preds = %156
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %34, i32 noundef 63) #9
          to label %158 unwind label %175

158:                                              ; preds = %157
  unreachable

159:                                              ; preds = %153
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %20, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %21, align 4
  br label %182

163:                                              ; preds = %154
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %20, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %21, align 4
  br label %181

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

171:                                              ; preds = %156
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %20, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %21, align 4
  br label %179

175:                                              ; preds = %157
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %20, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  br label %179

179:                                              ; preds = %175, %171
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #8
  br label %180

180:                                              ; preds = %179, %167
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  br label %181

181:                                              ; preds = %180, %163
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  br label %182

182:                                              ; preds = %181, %159
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #8
  br label %289

183:                                              ; preds = %144
  %184 = load ptr, ptr %17, align 8, !tbaa !5
  %185 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi2EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %184)
  %186 = load i32, ptr %185, align 4, !tbaa !13
  %187 = zext i32 %186 to i64
  %188 = load i64, ptr %9, align 8, !tbaa !11
  %189 = icmp ult i64 %187, %188
  %190 = zext i1 %189 to i32
  %191 = icmp eq i32 %190, 0
  br i1 %191, label %192, label %222

192:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %193 unwind label %198

193:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %194 unwind label %202

194:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %195 unwind label %206

195:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 32, ptr %42) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef @__func__._ZN3cgp17normal_per_vertexERKNS_8numarrayINS_14numarray_stackIfLi3EEEEERKNS0_INS1_IjLi3EEEEERS3_b, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %196 unwind label %210

196:                                              ; preds = %195
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(32) %42, i32 noundef 64) #9
          to label %197 unwind label %214

197:                                              ; preds = %196
  unreachable

198:                                              ; preds = %192
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %20, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %21, align 4
  br label %221

202:                                              ; preds = %193
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %20, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %21, align 4
  br label %220

206:                                              ; preds = %194
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %20, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %21, align 4
  br label %219

210:                                              ; preds = %195
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %20, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %21, align 4
  br label %218

214:                                              ; preds = %196
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %20, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #8
  br label %218

218:                                              ; preds = %214, %210
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #8
  br label %219

219:                                              ; preds = %218, %206
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #8
  br label %220

220:                                              ; preds = %219, %202
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  br label %221

221:                                              ; preds = %220, %198
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #8
  br label %289

222:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %223 = load ptr, ptr %5, align 8, !tbaa !5
  %224 = load ptr, ptr %17, align 8, !tbaa !5
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi0EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %224)
  %226 = load i32, ptr %225, align 4, !tbaa !13
  %227 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24) %223, i32 noundef %226)
  store ptr %227, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %228 = load ptr, ptr %5, align 8, !tbaa !5
  %229 = load ptr, ptr %17, align 8, !tbaa !5
  %230 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi1EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %229)
  %231 = load i32, ptr %230, align 4, !tbaa !13
  %232 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24) %228, i32 noundef %231)
  store ptr %232, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %233 = load ptr, ptr %5, align 8, !tbaa !5
  %234 = load ptr, ptr %17, align 8, !tbaa !5
  %235 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi2EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %234)
  %236 = load i32, ptr %235, align 4, !tbaa !13
  %237 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24) %233, i32 noundef %236)
  store ptr %237, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %47) #8
  %238 = load ptr, ptr %45, align 8, !tbaa !5
  %239 = load ptr, ptr %44, align 8, !tbaa !5
  %240 = call { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %238, ptr noundef nonnull align 4 dereferenceable(12) %239)
  store { <2 x float>, float } %240, ptr %48, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 8 %48, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %49) #8
  %241 = load ptr, ptr %46, align 8, !tbaa !5
  %242 = load ptr, ptr %44, align 8, !tbaa !5
  %243 = call { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %241, ptr noundef nonnull align 4 dereferenceable(12) %242)
  store { <2 x float>, float } %243, ptr %50, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 8 %50, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #8
  %244 = call noundef float @_ZN3cgp4normERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %47)
  store float %244, ptr %51, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #8
  %245 = call noundef float @_ZN3cgp4normERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %49)
  store float %245, ptr %52, align 4, !tbaa !15
  %246 = load float, ptr %51, align 4, !tbaa !15
  %247 = fcmp ogt float %246, 0x3EB0C6F7A0000000
  br i1 %247, label %248, label %285

248:                                              ; preds = %222
  %249 = load float, ptr %52, align 4, !tbaa !15
  %250 = fcmp ogt float %249, 0x3EB0C6F7A0000000
  br i1 %250, label %251, label %285

251:                                              ; preds = %248
  call void @llvm.lifetime.start.p0(i64 12, ptr %53) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %54) #8
  %252 = load float, ptr %51, align 4, !tbaa !15
  %253 = call { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12) %47, float noundef %252)
  store { <2 x float>, float } %253, ptr %55, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 8 %55, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %56) #8
  %254 = load float, ptr %52, align 4, !tbaa !15
  %255 = call { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12) %49, float noundef %254)
  store { <2 x float>, float } %255, ptr %57, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %56, ptr align 8 %57, i64 12, i1 false)
  %256 = call { <2 x float>, float } @_ZN3cgp5crossERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %54, ptr noundef nonnull align 4 dereferenceable(12) %56)
  store { <2 x float>, float } %256, ptr %58, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 8 %58, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %56) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %54) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #8
  %257 = call noundef float @_ZN3cgp4normERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %53)
  store float %257, ptr %59, align 4, !tbaa !15
  %258 = load float, ptr %59, align 4, !tbaa !15
  %259 = fcmp ogt float %258, 0x3EB0C6F7A0000000
  br i1 %259, label %260, label %284

260:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 12, ptr %60) #8
  %261 = load float, ptr %59, align 4, !tbaa !15
  %262 = call { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12) %53, float noundef %261)
  store { <2 x float>, float } %262, ptr %61, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 8 %61, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #8
  %263 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr %263, ptr %62, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #8
  %264 = load ptr, ptr %62, align 8, !tbaa !5
  %265 = call noundef ptr @_ZNK3cgp14numarray_stackIjLi3EE5beginEv(ptr noundef nonnull align 4 dereferenceable(12) %264)
  store ptr %265, ptr %63, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #8
  %266 = load ptr, ptr %62, align 8, !tbaa !5
  %267 = call noundef ptr @_ZNK3cgp14numarray_stackIjLi3EE3endEv(ptr noundef nonnull align 4 dereferenceable(12) %266)
  store ptr %267, ptr %64, align 8, !tbaa !5
  br label %268

268:                                              ; preds = %280, %260
  %269 = load ptr, ptr %63, align 8, !tbaa !5
  %270 = load ptr, ptr %64, align 8, !tbaa !5
  %271 = icmp ne ptr %269, %270
  br i1 %271, label %273, label %272

272:                                              ; preds = %268
  store i32 5, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #8
  br label %283

273:                                              ; preds = %268
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #8
  %274 = load ptr, ptr %63, align 8, !tbaa !5
  %275 = load i32, ptr %274, align 4, !tbaa !13
  store i32 %275, ptr %65, align 4, !tbaa !13
  %276 = load ptr, ptr %7, align 8, !tbaa !5
  %277 = load i32, ptr %65, align 4, !tbaa !13
  %278 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24) %276, i32 noundef %277)
  %279 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3cgppLERNS_14numarray_stackIfLi3EEERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %278, ptr noundef nonnull align 4 dereferenceable(12) %60)
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #8
  br label %280

280:                                              ; preds = %273
  %281 = load ptr, ptr %63, align 8, !tbaa !5
  %282 = getelementptr inbounds i32, ptr %281, i32 1
  store ptr %282, ptr %63, align 8, !tbaa !5
  br label %268

283:                                              ; preds = %272
  call void @llvm.lifetime.end.p0(i64 12, ptr %60) #8
  br label %284

284:                                              ; preds = %283, %251
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %53) #8
  br label %285

285:                                              ; preds = %284, %248, %222
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %286

286:                                              ; preds = %285
  %287 = load i64, ptr %15, align 8, !tbaa !11
  %288 = add i64 %287, 1
  store i64 %288, ptr %15, align 8, !tbaa !11
  br label %96, !llvm.loop !17

289:                                              ; preds = %221, %182, %143
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %336

290:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #8
  store i64 0, ptr %66, align 8, !tbaa !11
  br label %291

291:                                              ; preds = %310, %290
  %292 = load i64, ptr %66, align 8, !tbaa !11
  %293 = load i64, ptr %9, align 8, !tbaa !11
  %294 = icmp ult i64 %292, %293
  br i1 %294, label %296, label %295

295:                                              ; preds = %291
  store i32 7, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #8
  br label %313

296:                                              ; preds = %291
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #8
  %297 = load ptr, ptr %7, align 8, !tbaa !5
  %298 = load i64, ptr %66, align 8, !tbaa !11
  %299 = trunc i64 %298 to i32
  %300 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24) %297, i32 noundef %299)
  store ptr %300, ptr %67, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #8
  %301 = load ptr, ptr %67, align 8, !tbaa !5
  %302 = call noundef float @_ZN3cgp4normERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %301)
  store float %302, ptr %68, align 4, !tbaa !15
  %303 = load float, ptr %68, align 4, !tbaa !15
  %304 = fcmp ogt float %303, 0x3EB0C6F7A0000000
  br i1 %304, label %305, label %309

305:                                              ; preds = %296
  %306 = load float, ptr %68, align 4, !tbaa !15
  %307 = load ptr, ptr %67, align 8, !tbaa !5
  %308 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3cgpdVERNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12) %307, float noundef %306)
  br label %309

309:                                              ; preds = %305, %296
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #8
  br label %310

310:                                              ; preds = %309
  %311 = load i64, ptr %66, align 8, !tbaa !11
  %312 = add i64 %311, 1
  store i64 %312, ptr %66, align 8, !tbaa !11
  br label %291, !llvm.loop !19

313:                                              ; preds = %295
  %314 = load i8, ptr %8, align 1, !tbaa !9, !range !20, !noundef !21
  %315 = trunc i8 %314 to i1
  br i1 %315, label %316, label %335

316:                                              ; preds = %313
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #8
  %317 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %317, ptr %69, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #8
  %318 = load ptr, ptr %69, align 8, !tbaa !5
  %319 = call ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %318)
  %320 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.17", ptr %70, i32 0, i32 0
  store ptr %319, ptr %320, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #8
  %321 = load ptr, ptr %69, align 8, !tbaa !5
  %322 = call ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %321)
  %323 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.17", ptr %71, i32 0, i32 0
  store ptr %322, ptr %323, align 8
  br label %324

324:                                              ; preds = %332, %316
  %325 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3cgp14numarray_stackIfLi3EEESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef nonnull align 8 dereferenceable(8) %71) #8
  br i1 %325, label %327, label %326

326:                                              ; preds = %324
  store i32 10, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #8
  br label %334

327:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #8
  %328 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3cgp14numarray_stackIfLi3EEESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %70) #8
  store ptr %328, ptr %72, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %73) #8
  %329 = load ptr, ptr %72, align 8, !tbaa !5
  %330 = call { <2 x float>, float } @_ZN3cgpngERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %329)
  store { <2 x float>, float } %330, ptr %74, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %73, ptr align 8 %74, i64 12, i1 false)
  %331 = load ptr, ptr %72, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %331, ptr align 4 %73, i64 12, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 12, ptr %73) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #8
  br label %332

332:                                              ; preds = %327
  %333 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3cgp14numarray_stackIfLi3EEESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %70) #8
  br label %324

334:                                              ; preds = %326
  br label %335

335:                                              ; preds = %334, %313
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  ret void

336:                                              ; preds = %289
  %337 = load ptr, ptr %20, align 8
  %338 = load i32, ptr %21, align 4
  %339 = insertvalue { ptr, i32 } poison, ptr %337, 0
  %340 = insertvalue { ptr, i32 } %339, i32 %338, 1
  resume { ptr, i32 } %340
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3cgp8numarrayINS_14numarray_stackIjLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi0EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi1EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi2EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZN3cgp4normERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12)) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3cgp5crossERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) #7

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN3cgppLERNS_14numarray_stackIfLi3EEERKS1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN3cgpdVERNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) #6

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN3cgp14numarray_stackIfLi3EEESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3cgp14numarray_stackIfLi3EEESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3cgpngERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12)) #7

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

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

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

!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 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{i64 0, i64 4, !15, i64 4, i64 4, !15, i64 8, i64 4, !15}


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

%"struct.cgp::numarray_stack" = type { float, float, float }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.12" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.17" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [15 x i8], align 1
@__func__._ZN3cgp17normal_per_vertexERKNS_8numarrayINS_14numarray_stackIfLi3EEEEERKNS0_INS1_IjLi3EEEEERS3_b = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1

; 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 nounwind uwtable
declare dso_local noundef i32 @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 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: noreturn
declare void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE4fillERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp17normal_per_vertexERKNS_8numarrayINS_14numarray_stackIfLi3EEEEERKNS0_INS1_IjLi3EEEEERS3_b(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i1 noundef zeroext %3) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"struct.cgp::numarray_stack", align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator.12", align 1
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator.12", align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.12", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.12", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator.12", align 1
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator.12", align 1
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator.12", align 1
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator.12", align 1
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::allocator.12", align 1
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator.12", align 1
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.std::allocator.12", align 1
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator.12", align 1
  %33 = alloca %"struct.cgp::numarray_stack", align 8
  %34 = alloca %"struct.cgp::numarray_stack", align 8
  %35 = alloca %"struct.cgp::numarray_stack", align 8
  %36 = alloca %"struct.cgp::numarray_stack", align 8
  %37 = alloca %"struct.cgp::numarray_stack", align 8
  %38 = alloca %"struct.cgp::numarray_stack", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %41 = tail call noundef i32 @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0)
  %42 = sext i32 %41 to i64
  %43 = tail call noundef i32 @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %.not = icmp eq i32 %43, %41
  br i1 %.not, label %46, label %44

44:                                               ; preds = %4
  %45 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE6resizeEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %41)
  br label %48

46:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %47 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE4fillERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 4 dereferenceable(12) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #7
  br label %48

48:                                               ; preds = %46, %44
  %49 = call noundef i32 @_ZNK3cgp8numarrayINS_14numarray_stackIjLi3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %50 = sext i32 %49 to i64
  %.not135 = icmp eq i32 %49, 0
  br i1 %.not135, label %.preheader, label %.lr.ph128

.lr.ph128:                                        ; preds = %48
  %.sroa.248.0..sroa_idx = getelementptr inbounds i8, ptr %33, i64 8
  %.sroa.244.0..sroa_idx = getelementptr inbounds i8, ptr %34, i64 8
  %.sroa.236.0..sroa_idx = getelementptr inbounds i8, ptr %36, i64 8
  %.sroa.232.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 8
  %.sroa.228.0..sroa_idx = getelementptr inbounds i8, ptr %35, i64 8
  %.sroa.222.0..sroa_idx = getelementptr inbounds i8, ptr %38, i64 8
  br label %51

.preheader:                                       ; preds = %156, %48
  %.not136 = icmp eq i32 %41, 0
  br i1 %.not136, label %._crit_edge131, label %.lr.ph130

51:                                               ; preds = %.lr.ph128, %156
  %.0126 = phi i64 [ 0, %.lr.ph128 ], [ %157, %156 ]
  %52 = trunc i64 %.0126 to i32
  %53 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3cgp8numarrayINS_14numarray_stackIjLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %52)
  %54 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi0EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %53)
  %55 = load i32, ptr %54, align 4, !tbaa !5
  %56 = zext i32 %55 to i64
  %.not105 = icmp ult i64 %56, %42
  br i1 %.not105, label %77, label %57

57:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %58 unwind label %63

58:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %59 unwind label %65

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %60 unwind label %67

60:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @__func__._ZN3cgp17normal_per_vertexERKNS_8numarrayINS_14numarray_stackIfLi3EEEEERKNS0_INS1_IjLi3EEEEERS3_b, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %61 unwind label %69

61:                                               ; preds = %60
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %15, i32 noundef 62) #8
          to label %62 unwind label %71

62:                                               ; preds = %61
  unreachable

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

65:                                               ; preds = %58
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %75

67:                                               ; preds = %59
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %74

69:                                               ; preds = %60
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %73

71:                                               ; preds = %61
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %73

73:                                               ; preds = %71, %69
  %.pn118 = phi { ptr, i32 } [ %72, %71 ], [ %70, %69 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %74

74:                                               ; preds = %73, %67
  %.pn118.pn = phi { ptr, i32 } [ %.pn118, %73 ], [ %68, %67 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  br label %75

75:                                               ; preds = %74, %65
  %.pn118.pn.pn = phi { ptr, i32 } [ %.pn118.pn, %74 ], [ %66, %65 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  br label %76

76:                                               ; preds = %75, %63
  %.pn118.pn.pn.pn = phi { ptr, i32 } [ %.pn118.pn.pn, %75 ], [ %64, %63 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  br label %158

77:                                               ; preds = %51
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi1EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %53)
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = zext i32 %79 to i64
  %.not106 = icmp ult i64 %80, %42
  br i1 %.not106, label %101, label %81

81:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %82 unwind label %87

82:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %83 unwind label %89

83:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %84 unwind label %91

84:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull @__func__._ZN3cgp17normal_per_vertexERKNS_8numarrayINS_14numarray_stackIfLi3EEEEERKNS0_INS1_IjLi3EEEEERS3_b, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %85 unwind label %93

85:                                               ; preds = %84
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %23, i32 noundef 63) #8
          to label %86 unwind label %95

86:                                               ; preds = %85
  unreachable

87:                                               ; preds = %81
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %100

89:                                               ; preds = %82
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %99

91:                                               ; preds = %83
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %98

93:                                               ; preds = %84
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %97

95:                                               ; preds = %85
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  br label %97

97:                                               ; preds = %95, %93
  %.pn113 = phi { ptr, i32 } [ %96, %95 ], [ %94, %93 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  br label %98

98:                                               ; preds = %97, %91
  %.pn113.pn = phi { ptr, i32 } [ %.pn113, %97 ], [ %92, %91 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  br label %99

99:                                               ; preds = %98, %89
  %.pn113.pn.pn = phi { ptr, i32 } [ %.pn113.pn, %98 ], [ %90, %89 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %100

100:                                              ; preds = %99, %87
  %.pn113.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn, %99 ], [ %88, %87 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #7
  br label %158

101:                                              ; preds = %77
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi2EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %53)
  %103 = load i32, ptr %102, align 4, !tbaa !5
  %104 = zext i32 %103 to i64
  %.not107 = icmp ult i64 %104, %42
  br i1 %.not107, label %125, label %105

105:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %106 unwind label %111

106:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %27) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %28) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %107 unwind label %113

107:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %29) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %30) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %108 unwind label %115

108:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %31) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull @__func__._ZN3cgp17normal_per_vertexERKNS_8numarrayINS_14numarray_stackIfLi3EEEEERKNS0_INS1_IjLi3EEEEERS3_b, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %109 unwind label %117

109:                                              ; preds = %108
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %31, i32 noundef 64) #8
          to label %110 unwind label %119

110:                                              ; preds = %109
  unreachable

111:                                              ; preds = %105
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %124

113:                                              ; preds = %106
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %123

115:                                              ; preds = %107
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %122

117:                                              ; preds = %108
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %121

119:                                              ; preds = %109
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #7
  br label %121

121:                                              ; preds = %119, %117
  %.pn = phi { ptr, i32 } [ %120, %119 ], [ %118, %117 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  br label %122

122:                                              ; preds = %121, %115
  %.pn.pn = phi { ptr, i32 } [ %.pn, %121 ], [ %116, %115 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  br label %123

123:                                              ; preds = %122, %113
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %122 ], [ %114, %113 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  br label %124

124:                                              ; preds = %123, %111
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %123 ], [ %112, %111 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #7
  br label %158

125:                                              ; preds = %101
  %126 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi0EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %53)
  %127 = load i32, ptr %126, align 4, !tbaa !5
  %128 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef %127)
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi1EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %53)
  %130 = load i32, ptr %129, align 4, !tbaa !5
  %131 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef %130)
  %132 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi2EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12) %53)
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef %133)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %33) #7
  %135 = call { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %131, ptr noundef nonnull align 4 dereferenceable(12) %128)
  %.fca.0.extract45 = extractvalue { <2 x float>, float } %135, 0
  %.fca.1.extract46 = extractvalue { <2 x float>, float } %135, 1
  store <2 x float> %.fca.0.extract45, ptr %33, align 8
  store float %.fca.1.extract46, ptr %.sroa.248.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %34) #7
  %136 = call { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %134, ptr noundef nonnull align 4 dereferenceable(12) %128)
  %.fca.0.extract41 = extractvalue { <2 x float>, float } %136, 0
  %.fca.1.extract42 = extractvalue { <2 x float>, float } %136, 1
  store <2 x float> %.fca.0.extract41, ptr %34, align 8
  store float %.fca.1.extract42, ptr %.sroa.244.0..sroa_idx, align 8
  %137 = call noundef float @_ZN3cgp4normERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %33)
  %138 = call noundef float @_ZN3cgp4normERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %34)
  %139 = fcmp ogt float %137, 0x3EB0C6F7A0000000
  %140 = fcmp ogt float %138, 0x3EB0C6F7A0000000
  %or.cond = and i1 %139, %140
  br i1 %or.cond, label %141, label %156

141:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %35) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %36) #7
  %142 = call { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12) %33, float noundef %137)
  %.fca.0.extract33 = extractvalue { <2 x float>, float } %142, 0
  %.fca.1.extract34 = extractvalue { <2 x float>, float } %142, 1
  store <2 x float> %.fca.0.extract33, ptr %36, align 8
  store float %.fca.1.extract34, ptr %.sroa.236.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %37) #7
  %143 = call { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12) %34, float noundef %138)
  %.fca.0.extract29 = extractvalue { <2 x float>, float } %143, 0
  %.fca.1.extract30 = extractvalue { <2 x float>, float } %143, 1
  store <2 x float> %.fca.0.extract29, ptr %37, align 8
  store float %.fca.1.extract30, ptr %.sroa.232.0..sroa_idx, align 8
  %144 = call { <2 x float>, float } @_ZN3cgp5crossERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %36, ptr noundef nonnull align 4 dereferenceable(12) %37)
  %.fca.0.extract25 = extractvalue { <2 x float>, float } %144, 0
  %.fca.1.extract26 = extractvalue { <2 x float>, float } %144, 1
  store <2 x float> %.fca.0.extract25, ptr %35, align 8
  store float %.fca.1.extract26, ptr %.sroa.228.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %37) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %36) #7
  %145 = call noundef float @_ZN3cgp4normERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %35)
  %146 = fcmp ogt float %145, 0x3EB0C6F7A0000000
  br i1 %146, label %147, label %155

147:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %38) #7
  %148 = call { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12) %35, float noundef %145)
  %.fca.0.extract19 = extractvalue { <2 x float>, float } %148, 0
  %.fca.1.extract20 = extractvalue { <2 x float>, float } %148, 1
  store <2 x float> %.fca.0.extract19, ptr %38, align 8
  store float %.fca.1.extract20, ptr %.sroa.222.0..sroa_idx, align 8
  %149 = call noundef ptr @_ZNK3cgp14numarray_stackIjLi3EE5beginEv(ptr noundef nonnull align 4 dereferenceable(12) %53)
  %150 = call noundef ptr @_ZNK3cgp14numarray_stackIjLi3EE3endEv(ptr noundef nonnull align 4 dereferenceable(12) %53)
  %.not108124 = icmp eq ptr %149, %150
  br i1 %.not108124, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %147
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %38) #7
  br label %155

.lr.ph:                                           ; preds = %147, %.lr.ph
  %.099125 = phi ptr [ %154, %.lr.ph ], [ %149, %147 ]
  %151 = load i32, ptr %.099125, align 4, !tbaa !5
  %152 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %151)
  %153 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3cgppLERNS_14numarray_stackIfLi3EEERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %152, ptr noundef nonnull align 4 dereferenceable(12) %38)
  %154 = getelementptr inbounds i8, ptr %.099125, i64 4
  %.not108 = icmp eq ptr %154, %150
  br i1 %.not108, label %._crit_edge, label %.lr.ph

155:                                              ; preds = %._crit_edge, %141
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %35) #7
  br label %156

156:                                              ; preds = %155, %125
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %33) #7
  %157 = add nuw i64 %.0126, 1
  %exitcond.not = icmp eq i64 %157, %50
  br i1 %exitcond.not, label %.preheader, label %51, !llvm.loop !9

158:                                              ; preds = %124, %100, %76
  %.pn118.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn118.pn.pn.pn, %76 ], [ %.pn113.pn.pn.pn, %100 ], [ %.pn.pn.pn.pn, %124 ]
  resume { ptr, i32 } %.pn118.pn.pn.pn.pn

._crit_edge131:                                   ; preds = %165, %.preheader
  br i1 %3, label %167, label %175

.lr.ph130:                                        ; preds = %.preheader, %165
  %.0100129 = phi i64 [ %166, %165 ], [ 0, %.preheader ]
  %159 = trunc i64 %.0100129 to i32
  %160 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %159)
  %161 = call noundef float @_ZN3cgp4normERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %160)
  %162 = fcmp ogt float %161, 0x3EB0C6F7A0000000
  br i1 %162, label %163, label %165

163:                                              ; preds = %.lr.ph130
  %164 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3cgpdVERNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12) %160, float noundef %161)
  br label %165

165:                                              ; preds = %163, %.lr.ph130
  %166 = add nuw i64 %.0100129, 1
  %exitcond137.not = icmp eq i64 %166, %42
  br i1 %exitcond137.not, label %._crit_edge131, label %.lr.ph130, !llvm.loop !11

167:                                              ; preds = %._crit_edge131
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #7
  %168 = call ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  store ptr %168, ptr %39, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #7
  %169 = call ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  store ptr %169, ptr %40, align 8
  %170 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3cgp14numarray_stackIfLi3EEESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  br i1 %170, label %.lr.ph133, label %._crit_edge134

._crit_edge134:                                   ; preds = %.lr.ph133, %167
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #7
  br label %175

.lr.ph133:                                        ; preds = %167, %.lr.ph133
  %171 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3cgp14numarray_stackIfLi3EEESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #7
  %172 = call { <2 x float>, float } @_ZN3cgpngERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %171)
  %.fca.0.extract = extractvalue { <2 x float>, float } %172, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %172, 1
  store <2 x float> %.fca.0.extract, ptr %171, align 4
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %171, i64 8
  store float %.fca.1.extract, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !12
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3cgp14numarray_stackIfLi3EEESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #7
  %174 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3cgp14numarray_stackIfLi3EEESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  br i1 %174, label %.lr.ph133, label %._crit_edge134

175:                                              ; preds = %._crit_edge134, %._crit_edge131
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3cgp8numarrayINS_14numarray_stackIjLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi0EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi1EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi2EjEERKT0_RKNS_14numarray_stackIS1_Li3EEE(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3cgp8numarrayINS_14numarray_stackIfLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZN3cgp4normERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3cgp5crossERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3cgp14numarray_stackIjLi3EE5beginEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3cgp14numarray_stackIjLi3EE3endEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE2atEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #5 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3cgp14numarray_stackIfLi3EEESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3cgpngERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #6

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

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

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

!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 = !{!13, !13, i64 0}
!13 = !{!"float", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass