; LLVM IR from intel/cryptography-primitives :: examples/post-quantum (lms_m32_h5_w8_verification)

; 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.anon = type { i8 }
%struct.IppsLMSAlgoType = type { i32, i32 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.std::unique_ptr.2" = type { %"struct.std::__uniq_ptr_data.3" }
%"struct.std::__uniq_ptr_data.3" = type { %"class.std::__uniq_ptr_impl.4" }
%"class.std::__uniq_ptr_impl.4" = type { %"class.std::tuple.5" }
%"class.std::tuple.5" = type { %"struct.std::_Tuple_impl.6" }
%"struct.std::_Tuple_impl.6" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.std::unique_ptr.10" = type { %"struct.std::__uniq_ptr_data.11" }
%"struct.std::__uniq_ptr_data.11" = type { %"class.std::__uniq_ptr_impl.12" }
%"class.std::__uniq_ptr_impl.12" = type { %"class.std::tuple.13" }
%"class.std::tuple.13" = type { %"struct.std::_Tuple_impl.14" }
%"struct.std::_Tuple_impl.14" = type { %"struct.std::_Head_base.15" }
%"struct.std::_Head_base.15" = type { ptr }

@lmsAlgo = external dso_local global i32, align 4
@lmotsAlgo = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [29 x i8], align 1
@_ZL2pI = external hidden global [16 x i8], align 16
@_ZL2pK = external hidden global [32 x i8], align 16
@.str.2 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [29 x i8], align 1
@_ZL1q = external hidden global i32, align 4
@_ZL2pC = external hidden global [32 x i8], align 16
@_ZL2pY = external hidden global [1088 x i8], align 16
@_ZL9pAuthPath = external hidden global [160 x i8], align 16
@.str.4 = external hidden unnamed_addr constant [25 x i8], align 1
@_ZL4pMsg = external hidden global [128 x i8], align 16
@.str.5 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [18 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %class.anon, align 1
  %4 = alloca i32, align 4
  %5 = alloca %struct.IppsLMSAlgoType, align 4
  %6 = alloca i32, align 4
  %7 = alloca %struct.IppsLMSAlgoType, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::unique_ptr", align 8
  %10 = alloca i32, align 4
  %11 = alloca %struct.IppsLMSAlgoType, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::unique_ptr.2", align 8
  %15 = alloca %struct.IppsLMSAlgoType, align 4
  %16 = alloca i32, align 4
  %17 = alloca %struct.IppsLMSAlgoType, align 4
  %18 = alloca %"class.std::unique_ptr.10", align 8
  %19 = alloca %struct.IppsLMSAlgoType, align 4
  %20 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  store i32 0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 128, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %21 = getelementptr inbounds %struct.IppsLMSAlgoType, ptr %5, i32 0, i32 0
  %22 = load i32, ptr @lmotsAlgo, align 4, !tbaa !9
  store i32 %22, ptr %21, align 4, !tbaa !11
  %23 = getelementptr inbounds %struct.IppsLMSAlgoType, ptr %5, i32 0, i32 1
  %24 = load i32, ptr @lmsAlgo, align 4, !tbaa !14
  store i32 %24, ptr %23, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %5, i64 8, i1 false), !tbaa.struct !16
  %25 = load i64, ptr %7, align 4
  %26 = call i32 @ippsLMSBufferGetSize(ptr noundef %6, i32 noundef 128, i64 %25)
  store i32 %26, ptr %2, align 4, !tbaa !5
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = call noundef i32 @_Z11checkStatusPKcii(ptr noundef @.str, i32 noundef 0, i32 noundef %27)
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %32, label %30

30:                                               ; preds = %0
  %31 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %31, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %156

32:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %33 = load i32, ptr %6, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = call noalias noundef nonnull ptr @_Znam(i64 noundef %34) #8
  call void @_ZNSt10unique_ptrIhSt14default_deleteIhEEC2IS1_vEEPh(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef %35) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %5, i64 8, i1 false), !tbaa.struct !16
  %36 = load i64, ptr %11, align 4
  %37 = invoke i32 @ippsLMSPublicKeyStateGetSize(ptr noundef %10, i64 %36)
          to label %38 unwind label %45

38:                                               ; preds = %32
  store i32 %37, ptr %2, align 4, !tbaa !5
  %39 = load i32, ptr %2, align 4, !tbaa !5
  %40 = invoke noundef i32 @_Z11checkStatusPKcii(ptr noundef @.str.1, i32 noundef 0, i32 noundef %39)
          to label %41 unwind label %45

41:                                               ; preds = %38
  %42 = icmp ne i32 %40, 0
  br i1 %42, label %49, label %43

43:                                               ; preds = %41
  %44 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %44, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %154

45:                                               ; preds = %38, %32
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %12, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %13, align 4
  br label %155

49:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %50 = load i32, ptr %10, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %51) #8
          to label %53 unwind label %64

53:                                               ; preds = %49
  call void @"_ZNSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0EC2IS1_vEEPS0_RKS1_"(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef %52, ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %5, i64 8, i1 false), !tbaa.struct !16
  %54 = call noundef ptr @"_ZNKSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %55 = load i64, ptr %15, align 4
  %56 = invoke i32 @ippsLMSSetPublicKeyState(i64 %55, ptr noundef @_ZL2pI, ptr noundef @_ZL2pK, ptr noundef %54)
          to label %57 unwind label %68

57:                                               ; preds = %53
  store i32 %56, ptr %2, align 4, !tbaa !5
  %58 = load i32, ptr %2, align 4, !tbaa !5
  %59 = invoke noundef i32 @_Z11checkStatusPKcii(ptr noundef @.str.2, i32 noundef 0, i32 noundef %58)
          to label %60 unwind label %68

60:                                               ; preds = %57
  %61 = icmp ne i32 %59, 0
  br i1 %61, label %72, label %62

62:                                               ; preds = %60
  %63 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %63, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %151

64:                                               ; preds = %49
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %12, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %13, align 4
  br label %153

68:                                               ; preds = %57, %53
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %12, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %13, align 4
  br label %152

72:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %5, i64 8, i1 false), !tbaa.struct !16
  %73 = load i64, ptr %17, align 4
  %74 = invoke i32 @ippsLMSSignatureStateGetSize(ptr noundef %16, i64 %73)
          to label %75 unwind label %82

75:                                               ; preds = %72
  store i32 %74, ptr %2, align 4, !tbaa !5
  %76 = load i32, ptr %2, align 4, !tbaa !5
  %77 = invoke noundef i32 @_Z11checkStatusPKcii(ptr noundef @.str.3, i32 noundef 0, i32 noundef %76)
          to label %78 unwind label %82

78:                                               ; preds = %75
  %79 = icmp ne i32 %77, 0
  br i1 %79, label %86, label %80

80:                                               ; preds = %78
  %81 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %81, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %149

82:                                               ; preds = %75, %72
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %12, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %13, align 4
  br label %150

86:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %87 = load i32, ptr %16, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %88) #8
          to label %90 unwind label %102

90:                                               ; preds = %86
  call void @"_ZNSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0EC2IS1_vEEPS0_RKS1_"(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef %89, ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %5, i64 8, i1 false), !tbaa.struct !16
  %91 = load i32, ptr @_ZL1q, align 4, !tbaa !5
  %92 = call noundef ptr @"_ZNKSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  %93 = load i64, ptr %19, align 4
  %94 = invoke i32 @ippsLMSSetSignatureState(i64 %93, i32 noundef %91, ptr noundef @_ZL2pC, ptr noundef @_ZL2pY, ptr noundef @_ZL9pAuthPath, ptr noundef %92)
          to label %95 unwind label %106

95:                                               ; preds = %90
  store i32 %94, ptr %2, align 4, !tbaa !5
  %96 = load i32, ptr %2, align 4, !tbaa !5
  %97 = invoke noundef i32 @_Z11checkStatusPKcii(ptr noundef @.str.4, i32 noundef 0, i32 noundef %96)
          to label %98 unwind label %106

98:                                               ; preds = %95
  %99 = icmp ne i32 %97, 0
  br i1 %99, label %110, label %100

100:                                              ; preds = %98
  %101 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %101, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %146

102:                                              ; preds = %86
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %12, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %13, align 4
  br label %148

106:                                              ; preds = %95, %90
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %12, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %13, align 4
  br label %147

110:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !5
  %111 = call noundef ptr @"_ZNKSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  %112 = call noundef ptr @"_ZNKSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %113 = call noundef ptr @_ZNKSt10unique_ptrIhSt14default_deleteIhEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %114 = invoke i32 @ippsLMSVerify(ptr noundef @_ZL4pMsg, i32 noundef 128, ptr noundef %111, ptr noundef %20, ptr noundef %112, ptr noundef %113)
          to label %115 unwind label %122

115:                                              ; preds = %110
  store i32 %114, ptr %2, align 4, !tbaa !5
  %116 = load i32, ptr %2, align 4, !tbaa !5
  %117 = invoke noundef i32 @_Z11checkStatusPKcii(ptr noundef @.str.5, i32 noundef 0, i32 noundef %116)
          to label %118 unwind label %122

118:                                              ; preds = %115
  %119 = icmp ne i32 %117, 0
  br i1 %119, label %126, label %120

120:                                              ; preds = %118
  %121 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %121, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %145

122:                                              ; preds = %141, %138, %135, %130, %128, %126, %115, %110
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %12, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %147

126:                                              ; preds = %118
  %127 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.6)
          to label %128 unwind label %122

128:                                              ; preds = %126
  %129 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.5)
          to label %130 unwind label %122

130:                                              ; preds = %128
  %131 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.9)
          to label %132 unwind label %122

132:                                              ; preds = %130
  %133 = load i32, ptr %20, align 4, !tbaa !5
  %134 = icmp eq i32 1, %133
  br i1 %134, label %135, label %138

135:                                              ; preds = %132
  %136 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.10)
          to label %137 unwind label %122

137:                                              ; preds = %135
  br label %141

138:                                              ; preds = %132
  %139 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.11)
          to label %140 unwind label %122

140:                                              ; preds = %138
  br label %141

141:                                              ; preds = %140, %137
  %142 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.6)
          to label %143 unwind label %122

143:                                              ; preds = %141
  %144 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %144, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %145

145:                                              ; preds = %143, %120
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %146

146:                                              ; preds = %145, %100
  call void @"_ZNSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %149

147:                                              ; preds = %122, %106
  call void @"_ZNSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  br label %148

148:                                              ; preds = %147, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %150

149:                                              ; preds = %146, %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %151

150:                                              ; preds = %148, %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %152

151:                                              ; preds = %149, %62
  call void @"_ZNSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %154

152:                                              ; preds = %150, %68
  call void @"_ZNSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br label %153

153:                                              ; preds = %152, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %155

154:                                              ; preds = %151, %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @_ZNSt10unique_ptrIhSt14default_deleteIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %156

155:                                              ; preds = %153, %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @_ZNSt10unique_ptrIhSt14default_deleteIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %158

156:                                              ; preds = %154, %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  %157 = load i32, ptr %1, align 4
  ret i32 %157

158:                                              ; preds = %155
  %159 = load ptr, ptr %12, align 8
  %160 = load i32, ptr %13, align 4
  %161 = insertvalue { ptr, i32 } poison, ptr %159, 0
  %162 = insertvalue { ptr, i32 } %161, i32 %160, 1
  resume { ptr, i32 } %162
}

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

declare i32 @ippsLMSBufferGetSize(ptr noundef, i32 noundef, i64) #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) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z11checkStatusPKcii(ptr noundef, i32 noundef, i32 noundef) #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #5

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

declare i32 @ippsLMSPublicKeyStateGetSize(ptr noundef, i64) #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0EC2IS1_vEEPS0_RKS1_"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 align 2

declare i32 @ippsLMSSetPublicKeyState(i64, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZNKSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(8)) #6 align 2

declare i32 @ippsLMSSignatureStateGetSize(ptr noundef, i64) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0EC2IS1_vEEPS0_RKS1_"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 align 2

declare i32 @ippsLMSSetSignatureState(i64, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZNKSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(8)) #6 align 2

declare i32 @ippsLMSVerify(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

declare i32 @printf(ptr noundef, ...) #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 nounwind uwtable
declare hidden void @"_ZNSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6 align 2

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

attributes #0 = { mustprogress norecurse 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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { nobuiltin allocsize(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 = { 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 = { nounwind }
attributes #8 = { builtin allocsize(0) }

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

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


; 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.anon = type { i8 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.std::unique_ptr.2" = type { %"struct.std::__uniq_ptr_data.3" }
%"struct.std::__uniq_ptr_data.3" = type { %"class.std::__uniq_ptr_impl.4" }
%"class.std::__uniq_ptr_impl.4" = type { %"class.std::tuple.5" }
%"class.std::tuple.5" = type { %"struct.std::_Tuple_impl.6" }
%"struct.std::_Tuple_impl.6" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.std::unique_ptr.10" = type { %"struct.std::__uniq_ptr_data.11" }
%"struct.std::__uniq_ptr_data.11" = type { %"class.std::__uniq_ptr_impl.12" }
%"class.std::__uniq_ptr_impl.12" = type { %"class.std::tuple.13" }
%"class.std::tuple.13" = type { %"struct.std::_Tuple_impl.14" }
%"struct.std::_Tuple_impl.14" = type { %"struct.std::_Head_base.15" }
%"struct.std::_Head_base.15" = type { ptr }

@lmsAlgo = external dso_local local_unnamed_addr global i32, align 4
@lmotsAlgo = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [29 x i8], align 1
@_ZL2pI = external hidden global [16 x i8], align 16
@_ZL2pK = external hidden global [32 x i8], align 16
@.str.2 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [29 x i8], align 1
@_ZL1q = external hidden local_unnamed_addr global i32, align 4
@_ZL2pC = external hidden global [32 x i8], align 16
@_ZL2pY = external hidden global [1088 x i8], align 16
@_ZL9pAuthPath = external hidden global [160 x i8], align 16
@.str.4 = external hidden unnamed_addr constant [25 x i8], align 1
@_ZL4pMsg = external hidden global [128 x i8], align 16
@.str.5 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [18 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %class.anon, align 1
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::unique_ptr", align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::unique_ptr.2", align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::unique_ptr.10", align 8
  %8 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %1) #7
  %9 = load i32, ptr @lmotsAlgo, align 4, !tbaa !5
  %10 = load i32, ptr @lmsAlgo, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  %.sroa.9.0.insert.ext30 = zext i32 %10 to i64
  %.sroa.9.0.insert.shift31 = shl nuw i64 %.sroa.9.0.insert.ext30, 32
  %.sroa.05.0.insert.ext15 = zext i32 %9 to i64
  %.sroa.05.0.insert.insert17 = or disjoint i64 %.sroa.9.0.insert.shift31, %.sroa.05.0.insert.ext15
  %11 = call i32 @ippsLMSBufferGetSize(ptr noundef nonnull %2, i32 noundef 128, i64 %.sroa.05.0.insert.insert17)
  %12 = call noundef i32 @_Z11checkStatusPKcii(ptr noundef nonnull @.str, i32 noundef 0, i32 noundef %11)
  %.not = icmp eq i32 %12, 0
  br i1 %.not, label %88, label %13

13:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %14 = load i32, ptr %2, align 4, !tbaa !11
  %15 = sext i32 %14 to i64
  %16 = call noalias noundef nonnull ptr @_Znam(i64 noundef %15) #8
  call void @_ZNSt10unique_ptrIhSt14default_deleteIhEEC2IS1_vEEPh(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  %17 = invoke i32 @ippsLMSPublicKeyStateGetSize(ptr noundef nonnull %4, i64 %.sroa.05.0.insert.insert17)
          to label %18 unwind label %21

18:                                               ; preds = %13
  %19 = invoke noundef i32 @_Z11checkStatusPKcii(ptr noundef nonnull @.str.1, i32 noundef 0, i32 noundef %17)
          to label %20 unwind label %21

20:                                               ; preds = %18
  %.not60 = icmp eq i32 %19, 0
  br i1 %.not60, label %86, label %23

21:                                               ; preds = %18, %13
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %87

23:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %24 = load i32, ptr %4, align 4, !tbaa !11
  %25 = sext i32 %24 to i64
  %26 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %25) #8
          to label %27 unwind label %33

27:                                               ; preds = %23
  call void @"_ZNSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0EC2IS1_vEEPS0_RKS1_"(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull %26, ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %28 = call noundef ptr @"_ZNKSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  %29 = invoke i32 @ippsLMSSetPublicKeyState(i64 %.sroa.05.0.insert.insert17, ptr noundef nonnull @_ZL2pI, ptr noundef nonnull @_ZL2pK, ptr noundef %28)
          to label %30 unwind label %35

30:                                               ; preds = %27
  %31 = invoke noundef i32 @_Z11checkStatusPKcii(ptr noundef nonnull @.str.2, i32 noundef 0, i32 noundef %29)
          to label %32 unwind label %35

32:                                               ; preds = %30
  %.not61 = icmp eq i32 %31, 0
  br i1 %.not61, label %83, label %37

33:                                               ; preds = %23
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %85

35:                                               ; preds = %30, %27
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %84

37:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  %38 = invoke i32 @ippsLMSSignatureStateGetSize(ptr noundef nonnull %6, i64 %.sroa.05.0.insert.insert17)
          to label %39 unwind label %42

39:                                               ; preds = %37
  %40 = invoke noundef i32 @_Z11checkStatusPKcii(ptr noundef nonnull @.str.3, i32 noundef 0, i32 noundef %38)
          to label %41 unwind label %42

41:                                               ; preds = %39
  %.not62 = icmp eq i32 %40, 0
  br i1 %.not62, label %81, label %44

42:                                               ; preds = %39, %37
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %82

44:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %45 = load i32, ptr %6, align 4, !tbaa !11
  %46 = sext i32 %45 to i64
  %47 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %46) #8
          to label %48 unwind label %55

48:                                               ; preds = %44
  call void @"_ZNSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0EC2IS1_vEEPS0_RKS1_"(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull %47, ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %49 = load i32, ptr @_ZL1q, align 4, !tbaa !11
  %50 = call noundef ptr @"_ZNKSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  %51 = invoke i32 @ippsLMSSetSignatureState(i64 %.sroa.05.0.insert.insert17, i32 noundef %49, ptr noundef nonnull @_ZL2pC, ptr noundef nonnull @_ZL2pY, ptr noundef nonnull @_ZL9pAuthPath, ptr noundef %50)
          to label %52 unwind label %57

52:                                               ; preds = %48
  %53 = invoke noundef i32 @_Z11checkStatusPKcii(ptr noundef nonnull @.str.4, i32 noundef 0, i32 noundef %51)
          to label %54 unwind label %57

54:                                               ; preds = %52
  %.not63 = icmp eq i32 %53, 0
  br i1 %.not63, label %78, label %59

55:                                               ; preds = %44
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %80

57:                                               ; preds = %52, %48
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %79

59:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  store i32 0, ptr %8, align 4, !tbaa !11
  %60 = call noundef ptr @"_ZNKSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  %61 = call noundef ptr @"_ZNKSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  %62 = call noundef ptr @_ZNKSt10unique_ptrIhSt14default_deleteIhEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  %63 = invoke i32 @ippsLMSVerify(ptr noundef nonnull @_ZL4pMsg, i32 noundef 128, ptr noundef %60, ptr noundef nonnull %8, ptr noundef %61, ptr noundef %62)
          to label %64 unwind label %67

64:                                               ; preds = %59
  %65 = invoke noundef i32 @_Z11checkStatusPKcii(ptr noundef nonnull @.str.5, i32 noundef 0, i32 noundef %63)
          to label %66 unwind label %67

66:                                               ; preds = %64
  %.not70 = icmp eq i32 %65, 0
  br i1 %.not70, label %77, label %69

67:                                               ; preds = %64, %59
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  br label %79

69:                                               ; preds = %66
  %70 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %71 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef nonnull @.str.5)
  %72 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef nonnull @.str.9)
  %73 = load i32, ptr %8, align 4, !tbaa !11
  %74 = icmp eq i32 %73, 1
  %.str.10..str.11 = select i1 %74, ptr @.str.10, ptr @.str.11
  %75 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.10..str.11)
  %76 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  br label %77

77:                                               ; preds = %66, %69
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  br label %78

78:                                               ; preds = %54, %77
  %.1 = phi i32 [ %63, %77 ], [ %51, %54 ]
  call void @"_ZNSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br label %81

79:                                               ; preds = %67, %57
  %.pn = phi { ptr, i32 } [ %68, %67 ], [ %58, %57 ]
  call void @"_ZNSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br label %80

80:                                               ; preds = %79, %55
  %.pn.pn = phi { ptr, i32 } [ %.pn, %79 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br label %82

81:                                               ; preds = %41, %78
  %.2 = phi i32 [ %.1, %78 ], [ %38, %41 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  br label %83

82:                                               ; preds = %80, %42
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %80 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  br label %84

83:                                               ; preds = %32, %81
  %.3 = phi i32 [ %.2, %81 ], [ %29, %32 ]
  call void @"_ZNSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %86

84:                                               ; preds = %82, %35
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %82 ], [ %36, %35 ]
  call void @"_ZNSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  br label %85

85:                                               ; preds = %84, %33
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %84 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %87

86:                                               ; preds = %20, %83
  %.4 = phi i32 [ %.3, %83 ], [ %17, %20 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @_ZNSt10unique_ptrIhSt14default_deleteIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  br label %88

87:                                               ; preds = %85, %21
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %85 ], [ %22, %21 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @_ZNSt10unique_ptrIhSt14default_deleteIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn

88:                                               ; preds = %0, %86
  %.5 = phi i32 [ %.4, %86 ], [ %11, %0 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %1) #7
  ret i32 %.5
}

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

declare i32 @ippsLMSBufferGetSize(ptr noundef, i32 noundef, i64) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z11checkStatusPKcii(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #4

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

declare i32 @ippsLMSPublicKeyStateGetSize(ptr noundef, i64) local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0EC2IS1_vEEPS0_RKS1_"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

declare i32 @ippsLMSSetPublicKeyState(i64, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZNKSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

declare i32 @ippsLMSSignatureStateGetSize(ptr noundef, i64) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0EC2IS1_vEEPS0_RKS1_"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

declare i32 @ippsLMSSetSignatureState(i64, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZNKSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

declare i32 @ippsLMSVerify(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #6

; 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 nounwind uwtable
declare hidden void @"_ZNSt10unique_ptrI20_cpLMSSignatureStateZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt10unique_ptrI20_cpLMSPublicKeyStateZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

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

attributes #0 = { mustprogress norecurse 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 = { "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 = { 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 #4 = { nobuiltin allocsize(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 #5 = { 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }

!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 = !{!"_ZTS13IppsLMOTSAlgo", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS11IppsLMSAlgo", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass