; LLVM IR from HorizenOfficial/zendoo-mc-cryptolib :: mc_test/mcTestCall.ll (Z29create_verify_test_cert_proofRK16CreateParameters)

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

%"class.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.__gnu_cxx::__normal_iterator" = type { ptr }
%struct.CreateParameters = type { %struct.Parameters, i8, i8, ptr, i32, i64, ptr, ptr, ptr, i64, i64, i64, ptr, %struct.BufferWithSize, %"class.std::vector", %"class.std::vector.0" }
%struct.Parameters = type { i32, i32, ptr, i32, i8, i8, i32, i32, ptr, ptr, ptr }
%struct.BufferWithSize = type { ptr, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<backward_transfer, std::allocator<backward_transfer>>::_Vector_impl" }
%"struct.std::_Vector_base<backward_transfer, std::allocator<backward_transfer>>::_Vector_impl" = type { %"struct.std::_Vector_base<backward_transfer, std::allocator<backward_transfer>>::_Vector_impl_data" }
%"struct.std::_Vector_base<backward_transfer, std::allocator<backward_transfer>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<field *, std::allocator<field *>>::_Vector_impl" }
%"struct.std::_Vector_base<field *, std::allocator<field *>>::_Vector_impl" = type { %"struct.std::_Vector_base<field *, std::allocator<field *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<field *, std::allocator<field *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@__func__._Z29create_verify_test_cert_proofRK16CreateParameters = external hidden unnamed_addr constant [30 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [57 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z10printErrorPKcjS0_z(ptr noundef, i32 noundef, ptr noundef, ...) #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z10printErrorPKcjPK10ParametersS0_z(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #0

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12get_key_pathB5cxx11RK10Parametersb(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(56), i1 noundef zeroext) #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z29create_verify_test_cert_proofRK16CreateParameters(ptr noundef nonnull align 8 dereferenceable(208) %0) #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %4) #6
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_Z12get_key_pathB5cxx11RK10Parametersb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %4, ptr noundef nonnull align 8 dereferenceable(56) %17, i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %18 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  %19 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  %20 = invoke ptr @zendoo_deserialize_sc_pk_from_file(ptr noundef %18, i64 noundef %19, i1 noundef zeroext true, ptr noundef %3, i1 noundef zeroext true)
          to label %21 unwind label %29

21:                                               ; preds = %1
  store ptr %20, ptr %5, align 8, !tbaa !5
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = icmp eq ptr %22, null
  br i1 %23, label %27, label %24

24:                                               ; preds = %21
  %25 = load i32, ptr %3, align 4, !tbaa !9
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %27, label %33

27:                                               ; preds = %24, %21
  %28 = load i32, ptr %3, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @_Z10printErrorPKcjS0_z(ptr noundef @__func__._Z29create_verify_test_cert_proofRK16CreateParameters, i32 noundef 424, ptr noundef @.str.37, i32 noundef %28)
  br label %33

29:                                               ; preds = %1
  %30 = landingpad { ptr, i32 }
          cleanup
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %6, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %7, align 4
  br label %307

33:                                               ; preds = %27, %24
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #6
  %34 = load ptr, ptr %2, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.CreateParameters, ptr %34, i32 0, i32 2
  %36 = load i8, ptr %35, align 1, !tbaa !11, !range !29, !noundef !30
  %37 = trunc i8 %36 to i1
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.CreateParameters, ptr %38, i32 0, i32 6
  %40 = load ptr, ptr %39, align 8, !tbaa !31
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.CreateParameters, ptr %41, i32 0, i32 3
  %43 = load ptr, ptr %42, align 8, !tbaa !32
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.CreateParameters, ptr %44, i32 0, i32 4
  %46 = load i32, ptr %45, align 8, !tbaa !33
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.CreateParameters, ptr %47, i32 0, i32 5
  %49 = load i64, ptr %48, align 8, !tbaa !34
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.CreateParameters, ptr %50, i32 0, i32 14
  %52 = call noundef ptr @_ZNKSt6vectorI17backward_transferSaIS0_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #6
  %53 = load ptr, ptr %2, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.CreateParameters, ptr %53, i32 0, i32 14
  %55 = call noundef i64 @_ZNKSt6vectorI17backward_transferSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #6
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.CreateParameters, ptr %56, i32 0, i32 15
  %58 = call noundef ptr @_ZNKSt6vectorIP5fieldSaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %57) #6
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.CreateParameters, ptr %59, i32 0, i32 15
  %61 = call noundef i64 @_ZNKSt6vectorIP5fieldSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #6
  %62 = load ptr, ptr %2, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.CreateParameters, ptr %62, i32 0, i32 7
  %64 = load ptr, ptr %63, align 8, !tbaa !35
  %65 = load ptr, ptr %2, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.CreateParameters, ptr %65, i32 0, i32 9
  %67 = load i64, ptr %66, align 8, !tbaa !36
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.CreateParameters, ptr %68, i32 0, i32 10
  %70 = load i64, ptr %69, align 8, !tbaa !37
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = load ptr, ptr %2, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.Parameters, ptr %72, i32 0, i32 9
  %74 = load ptr, ptr %73, align 8, !tbaa !38
  %75 = load ptr, ptr %2, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.Parameters, ptr %75, i32 0, i32 9
  %77 = load ptr, ptr %76, align 8, !tbaa !38
  %78 = call i64 @strlen(ptr noundef %77) #7
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.Parameters, ptr %79, i32 0, i32 7
  %81 = load i32, ptr %80, align 4, !tbaa !39
  %82 = load ptr, ptr %2, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.CreateParameters, ptr %82, i32 0, i32 8
  %84 = load ptr, ptr %83, align 8, !tbaa !40
  %85 = load ptr, ptr %2, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.Parameters, ptr %85, i32 0, i32 6
  %87 = invoke zeroext i1 @zendoo_create_cert_test_proof(i1 noundef zeroext %37, ptr noundef %40, ptr noundef %43, i32 noundef %46, i64 noundef %49, ptr noundef %52, i64 noundef %55, ptr noundef %58, i64 noundef %61, ptr noundef %64, i64 noundef %67, i64 noundef %70, ptr noundef %71, ptr noundef %74, i64 noundef %78, i32 noundef %81, ptr noundef %84, ptr noundef %3, i1 noundef zeroext true, ptr noundef %86)
          to label %88 unwind label %98

88:                                               ; preds = %33
  %89 = zext i1 %87 to i8
  store i8 %89, ptr %8, align 1, !tbaa !41
  %90 = load i8, ptr %8, align 1, !tbaa !41, !range !29, !noundef !30
  %91 = trunc i8 %90 to i1
  br i1 %91, label %92, label %95

92:                                               ; preds = %88
  %93 = load i32, ptr %3, align 4, !tbaa !9
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %102

95:                                               ; preds = %92, %88
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = load i32, ptr %3, align 4, !tbaa !9
  call void (ptr, i32, ptr, ptr, ...) @_Z10printErrorPKcjPK10ParametersS0_z(ptr noundef @__func__._Z29create_verify_test_cert_proofRK16CreateParameters, i32 noundef 451, ptr noundef %96, ptr noundef @.str.38, i32 noundef %97)
  br label %102

98:                                               ; preds = %278, %274, %270, %266, %264, %33
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %6, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %7, align 4
  br label %306

102:                                              ; preds = %95, %92
  %103 = load ptr, ptr %2, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.CreateParameters, ptr %103, i32 0, i32 1
  %105 = load i8, ptr %104, align 8, !tbaa !42, !range !29, !noundef !30
  %106 = trunc i8 %105 to i1
  br i1 %106, label %107, label %264

107:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %108 = load ptr, ptr %2, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.Parameters, ptr %108, i32 0, i32 9
  %110 = load ptr, ptr %109, align 8, !tbaa !38
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.Parameters, ptr %111, i32 0, i32 9
  %113 = load ptr, ptr %112, align 8, !tbaa !38
  %114 = call i64 @strlen(ptr noundef %113) #7
  %115 = invoke ptr @zendoo_deserialize_sc_proof_from_file(ptr noundef %110, i64 noundef %114, i1 noundef zeroext true, ptr noundef %3, i1 noundef zeroext true)
          to label %116 unwind label %124

116:                                              ; preds = %107
  store ptr %115, ptr %9, align 8, !tbaa !5
  %117 = load ptr, ptr %9, align 8, !tbaa !5
  %118 = icmp eq ptr %117, null
  br i1 %118, label %122, label %119

119:                                              ; preds = %116
  %120 = load i32, ptr %3, align 4, !tbaa !9
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %128

122:                                              ; preds = %119, %116
  %123 = load i32, ptr %3, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @_Z10printErrorPKcjS0_z(ptr noundef @__func__._Z29create_verify_test_cert_proofRK16CreateParameters, i32 noundef 464, ptr noundef @.str.39, i32 noundef %123)
  br label %128

124:                                              ; preds = %107
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %6, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %7, align 4
  br label %263

128:                                              ; preds = %122, %119
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #6
  %129 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_Z12get_key_pathB5cxx11RK10Parametersb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(56) %129, i1 noundef zeroext true)
          to label %130 unwind label %142

130:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %131 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  %132 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  %133 = invoke ptr @zendoo_deserialize_sc_vk_from_file(ptr noundef %131, i64 noundef %132, i1 noundef zeroext true, ptr noundef %3, i1 noundef zeroext true)
          to label %134 unwind label %146

134:                                              ; preds = %130
  store ptr %133, ptr %11, align 8, !tbaa !5
  %135 = load ptr, ptr %11, align 8, !tbaa !5
  %136 = icmp eq ptr %135, null
  br i1 %136, label %140, label %137

137:                                              ; preds = %134
  %138 = load i32, ptr %3, align 4, !tbaa !9
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %140, label %150

140:                                              ; preds = %137, %134
  %141 = load i32, ptr %3, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @_Z10printErrorPKcjS0_z(ptr noundef @__func__._Z29create_verify_test_cert_proofRK16CreateParameters, i32 noundef 476, ptr noundef @.str.40, i32 noundef %141)
  br label %150

142:                                              ; preds = %128
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %6, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %7, align 4
  br label %262

146:                                              ; preds = %150, %130
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %6, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %7, align 4
  br label %261

150:                                              ; preds = %140, %137
  %151 = load ptr, ptr %2, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.CreateParameters, ptr %151, i32 0, i32 6
  %153 = load ptr, ptr %152, align 8, !tbaa !31
  %154 = load ptr, ptr %2, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.CreateParameters, ptr %154, i32 0, i32 3
  %156 = load ptr, ptr %155, align 8, !tbaa !32
  %157 = load ptr, ptr %2, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.CreateParameters, ptr %157, i32 0, i32 4
  %159 = load i32, ptr %158, align 8, !tbaa !33
  %160 = load ptr, ptr %2, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.CreateParameters, ptr %160, i32 0, i32 5
  %162 = load i64, ptr %161, align 8, !tbaa !34
  %163 = load ptr, ptr %2, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.CreateParameters, ptr %163, i32 0, i32 14
  %165 = call noundef ptr @_ZNKSt6vectorI17backward_transferSaIS0_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %164) #6
  %166 = load ptr, ptr %2, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.CreateParameters, ptr %166, i32 0, i32 14
  %168 = call noundef i64 @_ZNKSt6vectorI17backward_transferSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %167) #6
  %169 = load ptr, ptr %2, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.CreateParameters, ptr %169, i32 0, i32 15
  %171 = call noundef ptr @_ZNKSt6vectorIP5fieldSaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %170) #6
  %172 = load ptr, ptr %2, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.CreateParameters, ptr %172, i32 0, i32 15
  %174 = call noundef i64 @_ZNKSt6vectorIP5fieldSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %173) #6
  %175 = load ptr, ptr %2, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.CreateParameters, ptr %175, i32 0, i32 7
  %177 = load ptr, ptr %176, align 8, !tbaa !35
  %178 = load ptr, ptr %2, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.CreateParameters, ptr %178, i32 0, i32 9
  %180 = load i64, ptr %179, align 8, !tbaa !36
  %181 = load ptr, ptr %2, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.CreateParameters, ptr %181, i32 0, i32 10
  %183 = load i64, ptr %182, align 8, !tbaa !37
  %184 = load ptr, ptr %9, align 8, !tbaa !5
  %185 = load ptr, ptr %11, align 8, !tbaa !5
  %186 = load ptr, ptr %2, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.CreateParameters, ptr %186, i32 0, i32 8
  %188 = load ptr, ptr %187, align 8, !tbaa !40
  %189 = invoke zeroext i1 @zendoo_verify_certificate_proof(ptr noundef %153, ptr noundef %156, i32 noundef %159, i64 noundef %162, ptr noundef %165, i64 noundef %168, ptr noundef %171, i64 noundef %174, ptr noundef %177, i64 noundef %180, i64 noundef %183, ptr noundef %184, ptr noundef %185, ptr noundef %188, ptr noundef %3)
          to label %190 unwind label %146

190:                                              ; preds = %150
  %191 = zext i1 %189 to i8
  store i8 %191, ptr %8, align 1, !tbaa !41
  %192 = load i8, ptr %8, align 1, !tbaa !41, !range !29, !noundef !30
  %193 = trunc i8 %192 to i1
  br i1 %193, label %194, label %197

194:                                              ; preds = %190
  %195 = load i32, ptr %3, align 4, !tbaa !9
  %196 = icmp ne i32 %195, 0
  br i1 %196, label %197, label %200

197:                                              ; preds = %194, %190
  %198 = load ptr, ptr %2, align 8, !tbaa !5
  %199 = load i32, ptr %3, align 4, !tbaa !9
  call void (ptr, i32, ptr, ptr, ...) @_Z10printErrorPKcjPK10ParametersS0_z(ptr noundef @__func__._Z29create_verify_test_cert_proofRK16CreateParameters, i32 noundef 498, ptr noundef %198, ptr noundef @.str.41, i32 noundef %199)
  br label %200

200:                                              ; preds = %197, %194
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %201 = load ptr, ptr %2, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.CreateParameters, ptr %201, i32 0, i32 4
  %203 = load i32, ptr %202, align 8, !tbaa !33
  %204 = add i32 %203, 1
  store i32 %204, ptr %12, align 4, !tbaa !43
  %205 = load ptr, ptr %2, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.CreateParameters, ptr %205, i32 0, i32 6
  %207 = load ptr, ptr %206, align 8, !tbaa !31
  %208 = load ptr, ptr %2, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.CreateParameters, ptr %208, i32 0, i32 3
  %210 = load ptr, ptr %209, align 8, !tbaa !32
  %211 = load i32, ptr %12, align 4, !tbaa !43
  %212 = load ptr, ptr %2, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.CreateParameters, ptr %212, i32 0, i32 5
  %214 = load i64, ptr %213, align 8, !tbaa !34
  %215 = load ptr, ptr %2, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.CreateParameters, ptr %215, i32 0, i32 14
  %217 = call noundef ptr @_ZNKSt6vectorI17backward_transferSaIS0_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %216) #6
  %218 = load ptr, ptr %2, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.CreateParameters, ptr %218, i32 0, i32 14
  %220 = call noundef i64 @_ZNKSt6vectorI17backward_transferSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %219) #6
  %221 = load ptr, ptr %2, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.CreateParameters, ptr %221, i32 0, i32 15
  %223 = call noundef ptr @_ZNKSt6vectorIP5fieldSaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %222) #6
  %224 = load ptr, ptr %2, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.CreateParameters, ptr %224, i32 0, i32 15
  %226 = call noundef i64 @_ZNKSt6vectorIP5fieldSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %225) #6
  %227 = load ptr, ptr %2, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.CreateParameters, ptr %227, i32 0, i32 7
  %229 = load ptr, ptr %228, align 8, !tbaa !35
  %230 = load ptr, ptr %2, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.CreateParameters, ptr %230, i32 0, i32 9
  %232 = load i64, ptr %231, align 8, !tbaa !36
  %233 = load ptr, ptr %2, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.CreateParameters, ptr %233, i32 0, i32 10
  %235 = load i64, ptr %234, align 8, !tbaa !37
  %236 = load ptr, ptr %9, align 8, !tbaa !5
  %237 = load ptr, ptr %11, align 8, !tbaa !5
  %238 = load ptr, ptr %2, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.CreateParameters, ptr %238, i32 0, i32 8
  %240 = load ptr, ptr %239, align 8, !tbaa !40
  %241 = invoke zeroext i1 @zendoo_verify_certificate_proof(ptr noundef %207, ptr noundef %210, i32 noundef %211, i64 noundef %214, ptr noundef %217, i64 noundef %220, ptr noundef %223, i64 noundef %226, ptr noundef %229, i64 noundef %232, i64 noundef %235, ptr noundef %236, ptr noundef %237, ptr noundef %240, ptr noundef %3)
          to label %242 unwind label %252

242:                                              ; preds = %200
  %243 = zext i1 %241 to i8
  store i8 %243, ptr %8, align 1, !tbaa !41
  %244 = load i8, ptr %8, align 1, !tbaa !41, !range !29, !noundef !30
  %245 = trunc i8 %244 to i1
  br i1 %245, label %249, label %246

246:                                              ; preds = %242
  %247 = load i32, ptr %3, align 4, !tbaa !9
  %248 = icmp ne i32 %247, 0
  br i1 %248, label %249, label %256

249:                                              ; preds = %246, %242
  %250 = load ptr, ptr %2, align 8, !tbaa !5
  %251 = load i32, ptr %3, align 4, !tbaa !9
  call void (ptr, i32, ptr, ptr, ...) @_Z10printErrorPKcjPK10ParametersS0_z(ptr noundef @__func__._Z29create_verify_test_cert_proofRK16CreateParameters, i32 noundef 521, ptr noundef %250, ptr noundef @.str.42, i32 noundef %251)
  br label %256

252:                                              ; preds = %258, %256, %200
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %6, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %261

256:                                              ; preds = %249, %246
  %257 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @zendoo_sc_proof_free(ptr noundef %257)
          to label %258 unwind label %252

258:                                              ; preds = %256
  %259 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @zendoo_sc_vk_free(ptr noundef %259)
          to label %260 unwind label %252

260:                                              ; preds = %258
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %264

261:                                              ; preds = %252, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %262

262:                                              ; preds = %261, %142
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #6
  br label %263

263:                                              ; preds = %262, %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %306

264:                                              ; preds = %260, %102
  %265 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @zendoo_sc_pk_free(ptr noundef %265)
          to label %266 unwind label %98

266:                                              ; preds = %264
  %267 = load ptr, ptr %2, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.CreateParameters, ptr %267, i32 0, i32 6
  %269 = load ptr, ptr %268, align 8, !tbaa !31
  invoke void @zendoo_field_free(ptr noundef %269)
          to label %270 unwind label %98

270:                                              ; preds = %266
  %271 = load ptr, ptr %2, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.CreateParameters, ptr %271, i32 0, i32 3
  %273 = load ptr, ptr %272, align 8, !tbaa !32
  invoke void @zendoo_field_free(ptr noundef %273)
          to label %274 unwind label %98

274:                                              ; preds = %270
  %275 = load ptr, ptr %2, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.CreateParameters, ptr %275, i32 0, i32 7
  %277 = load ptr, ptr %276, align 8, !tbaa !35
  invoke void @zendoo_field_free(ptr noundef %277)
          to label %278 unwind label %98

278:                                              ; preds = %274
  %279 = load ptr, ptr %2, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.CreateParameters, ptr %279, i32 0, i32 8
  %281 = load ptr, ptr %280, align 8, !tbaa !40
  invoke void @zendoo_field_free(ptr noundef %281)
          to label %282 unwind label %98

282:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %283 = load ptr, ptr %2, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.CreateParameters, ptr %283, i32 0, i32 15
  store ptr %284, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %285 = load ptr, ptr %13, align 8, !tbaa !5
  %286 = call ptr @_ZNKSt6vectorIP5fieldSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %285) #6
  %287 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %286, ptr %287, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %288 = load ptr, ptr %13, align 8, !tbaa !5
  %289 = call ptr @_ZNKSt6vectorIP5fieldSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %288) #6
  %290 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %289, ptr %290, align 8
  br label %291

291:                                              ; preds = %299, %282
  %292 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP5fieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br i1 %292, label %294, label %293

293:                                              ; preds = %291
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %305

294:                                              ; preds = %291
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %295 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP5fieldSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %296 = load ptr, ptr %295, align 8, !tbaa !5
  store ptr %296, ptr %16, align 8, !tbaa !5
  %297 = load ptr, ptr %16, align 8, !tbaa !5
  invoke void @zendoo_field_free(ptr noundef %297)
          to label %298 unwind label %301

298:                                              ; preds = %294
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %299

299:                                              ; preds = %298
  %300 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP5fieldSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br label %291

301:                                              ; preds = %294
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %6, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %306

305:                                              ; preds = %293
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  ret void

306:                                              ; preds = %301, %263, %98
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  br label %307

307:                                              ; preds = %306, %29
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %308

308:                                              ; preds = %307
  %309 = load ptr, ptr %6, align 8
  %310 = load i32, ptr %7, align 4
  %311 = insertvalue { ptr, i32 } poison, ptr %309, 0
  %312 = insertvalue { ptr, i32 } %311, i32 %310, 1
  resume { ptr, i32 } %312
}

declare ptr @zendoo_deserialize_sc_pk_from_file(ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef, i1 noundef zeroext) #4

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

declare zeroext i1 @zendoo_create_cert_test_proof(i1 noundef zeroext, ptr noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, i1 noundef zeroext, ptr noundef) #4

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

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

declare ptr @zendoo_deserialize_sc_proof_from_file(ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef, i1 noundef zeroext) #4

declare ptr @zendoo_deserialize_sc_vk_from_file(ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef, i1 noundef zeroext) #4

declare zeroext i1 @zendoo_verify_certificate_proof(ptr noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

declare void @zendoo_sc_proof_free(ptr noundef) #4

declare void @zendoo_sc_vk_free(ptr noundef) #4

declare void @zendoo_sc_pk_free(ptr noundef) #4

declare void @zendoo_field_free(ptr noundef) #4

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

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

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

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

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

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

!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 = !{!"_ZTS14eCctpErrorCode", !7, i64 0}
!11 = !{!12, !17, i64 57}
!12 = !{!"_ZTS16CreateParameters", !13, i64 0, !17, i64 56, !17, i64 57, !6, i64 64, !18, i64 72, !19, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !19, i64 112, !19, i64 120, !19, i64 128, !6, i64 136, !20, i64 144, !21, i64 160, !25, i64 184}
!13 = !{!"_ZTS10Parameters", !14, i64 0, !15, i64 4, !6, i64 8, !16, i64 16, !17, i64 20, !17, i64 21, !18, i64 24, !18, i64 28, !6, i64 32, !6, i64 40, !6, i64 48}
!14 = !{!"_ZTS9Operation", !7, i64 0}
!15 = !{!"_ZTS15TestCircuitType", !7, i64 0}
!16 = !{!"_ZTS13ProvingSystem", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTS14BufferWithSize", !6, i64 0, !19, i64 8}
!21 = !{!"_ZTSSt6vectorI17backward_transferSaIS0_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseI17backward_transferSaIS0_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseI17backward_transferSaIS0_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseI17backward_transferSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorIP5fieldSaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIP5fieldSaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIP5fieldSaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIP5fieldSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{i8 0, i8 2}
!30 = !{}
!31 = !{!12, !6, i64 88}
!32 = !{!12, !6, i64 64}
!33 = !{!12, !18, i64 72}
!34 = !{!12, !19, i64 80}
!35 = !{!12, !6, i64 96}
!36 = !{!12, !19, i64 112}
!37 = !{!12, !19, i64 120}
!38 = !{!13, !6, i64 40}
!39 = !{!13, !18, i64 28}
!40 = !{!12, !6, i64 104}
!41 = !{!17, !17, i64 0}
!42 = !{!12, !17, i64 56}
!43 = !{!18, !18, i64 0}


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

%"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.__gnu_cxx::__normal_iterator" = type { ptr }

@__func__._Z29create_verify_test_cert_proofRK16CreateParameters = external hidden unnamed_addr constant [30 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [57 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z10printErrorPKcjS0_z(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z10printErrorPKcjPK10ParametersS0_z(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #0

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12get_key_pathB5cxx11RK10Parametersb(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(56), i1 noundef zeroext) local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z29create_verify_test_cert_proofRK16CreateParameters(ptr noundef nonnull align 8 dereferenceable(208) %0) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  store i32 0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @_Z12get_key_pathB5cxx11RK10Parametersb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %3, ptr noundef nonnull align 8 dereferenceable(56) %0, i1 noundef zeroext false)
  %7 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  %8 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  %9 = invoke ptr @zendoo_deserialize_sc_pk_from_file(ptr noundef %7, i64 noundef %8, i1 noundef zeroext true, ptr noundef nonnull %2, i1 noundef zeroext true)
          to label %10 unwind label %15

10:                                               ; preds = %1
  %11 = icmp eq ptr %9, null
  %12 = load i32, ptr %2, align 4
  %13 = icmp ne i32 %12, 0
  %or.cond = select i1 %11, i1 true, i1 %13
  br i1 %or.cond, label %14, label %17

14:                                               ; preds = %10
  call void (ptr, i32, ptr, ...) @_Z10printErrorPKcjS0_z(ptr noundef nonnull @__func__._Z29create_verify_test_cert_proofRK16CreateParameters, i32 noundef 424, ptr noundef nonnull @.str.37, i32 noundef %12)
  br label %17

15:                                               ; preds = %1
  %16 = landingpad { ptr, i32 }
          cleanup
  br label %149

17:                                               ; preds = %10, %14
  %18 = getelementptr inbounds i8, ptr %0, i64 57
  %19 = load i8, ptr %18, align 1, !tbaa !9, !range !28, !noundef !29
  %20 = trunc nuw i8 %19 to i1
  %21 = getelementptr inbounds i8, ptr %0, i64 88
  %22 = load ptr, ptr %21, align 8, !tbaa !30
  %23 = getelementptr inbounds i8, ptr %0, i64 64
  %24 = load ptr, ptr %23, align 8, !tbaa !31
  %25 = getelementptr inbounds i8, ptr %0, i64 72
  %26 = load i32, ptr %25, align 8, !tbaa !32
  %27 = getelementptr inbounds i8, ptr %0, i64 80
  %28 = load i64, ptr %27, align 8, !tbaa !33
  %29 = getelementptr inbounds i8, ptr %0, i64 160
  %30 = call noundef ptr @_ZNKSt6vectorI17backward_transferSaIS0_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #6
  %31 = call noundef i64 @_ZNKSt6vectorI17backward_transferSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #6
  %32 = getelementptr inbounds i8, ptr %0, i64 184
  %33 = call noundef ptr @_ZNKSt6vectorIP5fieldSaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  %34 = call noundef i64 @_ZNKSt6vectorIP5fieldSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  %35 = getelementptr inbounds i8, ptr %0, i64 96
  %36 = load ptr, ptr %35, align 8, !tbaa !34
  %37 = getelementptr inbounds i8, ptr %0, i64 112
  %38 = load i64, ptr %37, align 8, !tbaa !35
  %39 = getelementptr inbounds i8, ptr %0, i64 120
  %40 = load i64, ptr %39, align 8, !tbaa !36
  %41 = getelementptr inbounds i8, ptr %0, i64 40
  %42 = load ptr, ptr %41, align 8, !tbaa !37
  %43 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %42) #7
  %44 = getelementptr inbounds i8, ptr %0, i64 28
  %45 = load i32, ptr %44, align 4, !tbaa !38
  %46 = getelementptr inbounds i8, ptr %0, i64 104
  %47 = load ptr, ptr %46, align 8, !tbaa !39
  %48 = getelementptr inbounds i8, ptr %0, i64 24
  %49 = invoke zeroext i1 @zendoo_create_cert_test_proof(i1 noundef zeroext %20, ptr noundef %22, ptr noundef %24, i32 noundef %26, i64 noundef %28, ptr noundef %30, i64 noundef %31, ptr noundef %33, i64 noundef %34, ptr noundef %36, i64 noundef %38, i64 noundef %40, ptr noundef %9, ptr noundef %42, i64 noundef %43, i32 noundef %45, ptr noundef %47, ptr noundef nonnull %2, i1 noundef zeroext true, ptr noundef nonnull %48)
          to label %50 unwind label %54

50:                                               ; preds = %17
  %51 = load i32, ptr %2, align 4
  %52 = icmp eq i32 %51, 0
  %or.cond3.not = select i1 %49, i1 %52, i1 false
  br i1 %or.cond3.not, label %56, label %53

53:                                               ; preds = %50
  call void (ptr, i32, ptr, ptr, ...) @_Z10printErrorPKcjPK10ParametersS0_z(ptr noundef nonnull @__func__._Z29create_verify_test_cert_proofRK16CreateParameters, i32 noundef 451, ptr noundef nonnull %0, ptr noundef nonnull @.str.38, i32 noundef %51)
  br label %56

54:                                               ; preds = %136, %134, %132, %130, %129, %17
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %149

56:                                               ; preds = %50, %53
  %57 = getelementptr inbounds i8, ptr %0, i64 56
  %58 = load i8, ptr %57, align 8, !tbaa !40, !range !28, !noundef !29
  %59 = trunc nuw i8 %58 to i1
  br i1 %59, label %60, label %129

60:                                               ; preds = %56
  %61 = load ptr, ptr %41, align 8, !tbaa !37
  %62 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %61) #7
  %63 = invoke ptr @zendoo_deserialize_sc_proof_from_file(ptr noundef %61, i64 noundef %62, i1 noundef zeroext true, ptr noundef nonnull %2, i1 noundef zeroext true)
          to label %64 unwind label %69

64:                                               ; preds = %60
  %65 = icmp eq ptr %63, null
  %66 = load i32, ptr %2, align 4
  %67 = icmp ne i32 %66, 0
  %or.cond5 = select i1 %65, i1 true, i1 %67
  br i1 %or.cond5, label %68, label %71

68:                                               ; preds = %64
  call void (ptr, i32, ptr, ...) @_Z10printErrorPKcjS0_z(ptr noundef nonnull @__func__._Z29create_verify_test_cert_proofRK16CreateParameters, i32 noundef 464, ptr noundef nonnull @.str.39, i32 noundef %66)
  br label %71

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

71:                                               ; preds = %64, %68
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  invoke void @_Z12get_key_pathB5cxx11RK10Parametersb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %4, ptr noundef nonnull align 8 dereferenceable(56) %0, i1 noundef zeroext true)
          to label %72 unwind label %81

72:                                               ; preds = %71
  %73 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  %74 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  %75 = invoke ptr @zendoo_deserialize_sc_vk_from_file(ptr noundef %73, i64 noundef %74, i1 noundef zeroext true, ptr noundef nonnull %2, i1 noundef zeroext true)
          to label %76 unwind label %83

76:                                               ; preds = %72
  %77 = icmp eq ptr %75, null
  %78 = load i32, ptr %2, align 4
  %79 = icmp ne i32 %78, 0
  %or.cond7 = select i1 %77, i1 true, i1 %79
  br i1 %or.cond7, label %80, label %85

80:                                               ; preds = %76
  call void (ptr, i32, ptr, ...) @_Z10printErrorPKcjS0_z(ptr noundef nonnull @__func__._Z29create_verify_test_cert_proofRK16CreateParameters, i32 noundef 476, ptr noundef nonnull @.str.40, i32 noundef %78)
  br label %85

81:                                               ; preds = %71
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %128

83:                                               ; preds = %85, %72
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %127

85:                                               ; preds = %76, %80
  %86 = load ptr, ptr %21, align 8, !tbaa !30
  %87 = load ptr, ptr %23, align 8, !tbaa !31
  %88 = load i32, ptr %25, align 8, !tbaa !32
  %89 = load i64, ptr %27, align 8, !tbaa !33
  %90 = call noundef ptr @_ZNKSt6vectorI17backward_transferSaIS0_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #6
  %91 = call noundef i64 @_ZNKSt6vectorI17backward_transferSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #6
  %92 = call noundef ptr @_ZNKSt6vectorIP5fieldSaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  %93 = call noundef i64 @_ZNKSt6vectorIP5fieldSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  %94 = load ptr, ptr %35, align 8, !tbaa !34
  %95 = load i64, ptr %37, align 8, !tbaa !35
  %96 = load i64, ptr %39, align 8, !tbaa !36
  %97 = load ptr, ptr %46, align 8, !tbaa !39
  %98 = invoke zeroext i1 @zendoo_verify_certificate_proof(ptr noundef %86, ptr noundef %87, i32 noundef %88, i64 noundef %89, ptr noundef %90, i64 noundef %91, ptr noundef %92, i64 noundef %93, ptr noundef %94, i64 noundef %95, i64 noundef %96, ptr noundef %63, ptr noundef %75, ptr noundef %97, ptr noundef nonnull %2)
          to label %99 unwind label %83

99:                                               ; preds = %85
  %100 = load i32, ptr %2, align 4
  %101 = icmp eq i32 %100, 0
  %or.cond10.not = select i1 %98, i1 %101, i1 false
  br i1 %or.cond10.not, label %103, label %102

102:                                              ; preds = %99
  call void (ptr, i32, ptr, ptr, ...) @_Z10printErrorPKcjPK10ParametersS0_z(ptr noundef nonnull @__func__._Z29create_verify_test_cert_proofRK16CreateParameters, i32 noundef 498, ptr noundef nonnull %0, ptr noundef nonnull @.str.41, i32 noundef %100)
  br label %103

103:                                              ; preds = %99, %102
  %104 = load i32, ptr %25, align 8, !tbaa !32
  %105 = add i32 %104, 1
  %106 = load ptr, ptr %21, align 8, !tbaa !30
  %107 = load ptr, ptr %23, align 8, !tbaa !31
  %108 = load i64, ptr %27, align 8, !tbaa !33
  %109 = call noundef ptr @_ZNKSt6vectorI17backward_transferSaIS0_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #6
  %110 = call noundef i64 @_ZNKSt6vectorI17backward_transferSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #6
  %111 = call noundef ptr @_ZNKSt6vectorIP5fieldSaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  %112 = call noundef i64 @_ZNKSt6vectorIP5fieldSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  %113 = load ptr, ptr %35, align 8, !tbaa !34
  %114 = load i64, ptr %37, align 8, !tbaa !35
  %115 = load i64, ptr %39, align 8, !tbaa !36
  %116 = load ptr, ptr %46, align 8, !tbaa !39
  %117 = invoke zeroext i1 @zendoo_verify_certificate_proof(ptr noundef %106, ptr noundef %107, i32 noundef %105, i64 noundef %108, ptr noundef %109, i64 noundef %110, ptr noundef %111, i64 noundef %112, ptr noundef %113, i64 noundef %114, i64 noundef %115, ptr noundef %63, ptr noundef %75, ptr noundef %116, ptr noundef nonnull %2)
          to label %118 unwind label %122

118:                                              ; preds = %103
  %119 = load i32, ptr %2, align 4
  %120 = icmp ne i32 %119, 0
  %or.cond12 = select i1 %117, i1 true, i1 %120
  br i1 %or.cond12, label %121, label %124

121:                                              ; preds = %118
  call void (ptr, i32, ptr, ptr, ...) @_Z10printErrorPKcjPK10ParametersS0_z(ptr noundef nonnull @__func__._Z29create_verify_test_cert_proofRK16CreateParameters, i32 noundef 521, ptr noundef nonnull %0, ptr noundef nonnull @.str.42, i32 noundef %119)
  br label %124

122:                                              ; preds = %125, %124, %103
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %127

124:                                              ; preds = %118, %121
  invoke void @zendoo_sc_proof_free(ptr noundef %63)
          to label %125 unwind label %122

125:                                              ; preds = %124
  invoke void @zendoo_sc_vk_free(ptr noundef %75)
          to label %126 unwind label %122

126:                                              ; preds = %125
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  br label %129

127:                                              ; preds = %122, %83
  %.pn = phi { ptr, i32 } [ %123, %122 ], [ %84, %83 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  br label %128

128:                                              ; preds = %127, %81
  %.pn.pn = phi { ptr, i32 } [ %.pn, %127 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  br label %149

129:                                              ; preds = %126, %56
  invoke void @zendoo_sc_pk_free(ptr noundef %9)
          to label %130 unwind label %54

130:                                              ; preds = %129
  %131 = load ptr, ptr %21, align 8, !tbaa !30
  invoke void @zendoo_field_free(ptr noundef %131)
          to label %132 unwind label %54

132:                                              ; preds = %130
  %133 = load ptr, ptr %23, align 8, !tbaa !31
  invoke void @zendoo_field_free(ptr noundef %133)
          to label %134 unwind label %54

134:                                              ; preds = %132
  %135 = load ptr, ptr %35, align 8, !tbaa !34
  invoke void @zendoo_field_free(ptr noundef %135)
          to label %136 unwind label %54

136:                                              ; preds = %134
  %137 = load ptr, ptr %46, align 8, !tbaa !39
  invoke void @zendoo_field_free(ptr noundef %137)
          to label %138 unwind label %54

138:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %139 = call ptr @_ZNKSt6vectorIP5fieldSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  store ptr %139, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %140 = call ptr @_ZNKSt6vectorIP5fieldSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  store ptr %140, ptr %6, align 8
  %141 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP5fieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  br i1 %141, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %144, %138
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  ret void

.lr.ph:                                           ; preds = %138, %144
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP5fieldSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  %143 = load ptr, ptr %142, align 8, !tbaa !41
  invoke void @zendoo_field_free(ptr noundef %143)
          to label %144 unwind label %147

144:                                              ; preds = %.lr.ph
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP5fieldSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  %146 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP5fieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  br i1 %146, label %.lr.ph, label %._crit_edge

147:                                              ; preds = %.lr.ph
  %148 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %149

149:                                              ; preds = %54, %147, %128, %69, %15
  %.pn94.pn = phi { ptr, i32 } [ %16, %15 ], [ %148, %147 ], [ %55, %54 ], [ %.pn.pn, %128 ], [ %70, %69 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn94.pn
}

declare ptr @zendoo_deserialize_sc_pk_from_file(ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef, i1 noundef zeroext) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

declare zeroext i1 @zendoo_create_cert_test_proof(i1 noundef zeroext, ptr noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #4

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

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

declare ptr @zendoo_deserialize_sc_proof_from_file(ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef, i1 noundef zeroext) local_unnamed_addr #4

declare ptr @zendoo_deserialize_sc_vk_from_file(ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef, i1 noundef zeroext) local_unnamed_addr #4

declare zeroext i1 @zendoo_verify_certificate_proof(ptr noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @zendoo_sc_proof_free(ptr noundef) local_unnamed_addr #4

declare void @zendoo_sc_vk_free(ptr noundef) local_unnamed_addr #4

declare void @zendoo_sc_pk_free(ptr noundef) local_unnamed_addr #4

declare void @zendoo_field_free(ptr noundef) local_unnamed_addr #4

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKP5fieldSt6vectorIS2_SaIS2_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 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP5fieldSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

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

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

!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 = !{!"_ZTS14eCctpErrorCode", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !16, i64 57}
!10 = !{!"_ZTS16CreateParameters", !11, i64 0, !16, i64 56, !16, i64 57, !14, i64 64, !17, i64 72, !18, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !18, i64 112, !18, i64 120, !18, i64 128, !14, i64 136, !19, i64 144, !20, i64 160, !24, i64 184}
!11 = !{!"_ZTS10Parameters", !12, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !16, i64 20, !16, i64 21, !17, i64 24, !17, i64 28, !14, i64 32, !14, i64 40, !14, i64 48}
!12 = !{!"_ZTS9Operation", !7, i64 0}
!13 = !{!"_ZTS15TestCircuitType", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!"_ZTS13ProvingSystem", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTS14BufferWithSize", !14, i64 0, !18, i64 8}
!20 = !{!"_ZTSSt6vectorI17backward_transferSaIS0_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseI17backward_transferSaIS0_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseI17backward_transferSaIS0_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseI17backward_transferSaIS0_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!24 = !{!"_ZTSSt6vectorIP5fieldSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIP5fieldSaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP5fieldSaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIP5fieldSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!10, !14, i64 88}
!31 = !{!10, !14, i64 64}
!32 = !{!10, !17, i64 72}
!33 = !{!10, !18, i64 80}
!34 = !{!10, !14, i64 96}
!35 = !{!10, !18, i64 112}
!36 = !{!10, !18, i64 120}
!37 = !{!11, !14, i64 40}
!38 = !{!11, !17, i64 28}
!39 = !{!10, !14, i64 104}
!40 = !{!10, !16, i64 56}
!41 = !{!14, !14, i64 0}


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