; LLVM IR from specinfo-ua/UAPKI :: library/uapki/src (cm-providers)

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

%struct.LIB_CMPROVIDERS_ST = type { ptr, ptr, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<CM_PROVIDER_ST, std::allocator<CM_PROVIDER_ST>>::_Vector_impl" }
%"struct.std::_Vector_base<CM_PROVIDER_ST, std::allocator<CM_PROVIDER_ST>>::_Vector_impl" = type { %"struct.std::_Vector_base<CM_PROVIDER_ST, std::allocator<CM_PROVIDER_ST>>::_Vector_impl_data" }
%"struct.std::_Vector_base<CM_PROVIDER_ST, std::allocator<CM_PROVIDER_ST>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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.ParsonHelper = type { ptr, ptr }
%struct.CM_PROVIDER_ST = type { %"class.std::__cxx11::basic_string", ptr }

@_ZL15lib_cmproviders = external hidden global %struct.LIB_CMPROVIDERS_ST, align 8
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN12ParsonHelperC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

; Function Attrs: nounwind
declare void @_ZN12ParsonHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN11CmProviders11storageOpenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_P13json_object_t(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %2) #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %class.ParsonHelper, align 8
  %21 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  invoke void @_ZN12ParsonHelper19jsonObjectGetStringEP13json_object_tPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef %22, ptr noundef @.str.9, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %23 unwind label %31

23:                                               ; preds = %3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #6
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  invoke void @_ZN12ParsonHelper19jsonObjectGetStringEP13json_object_tPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef %24, ptr noundef @.str.10, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %25 unwind label %35

25:                                               ; preds = %23
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = invoke ptr @json_object_get_string(ptr noundef %26, ptr noundef @.str.11)
          to label %28 unwind label %39

28:                                               ; preds = %25
  store ptr %27, ptr %14, align 8, !tbaa !5
  %29 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br i1 %29, label %30, label %43

30:                                               ; preds = %28
  store i32 4101, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %138

31:                                               ; preds = %3
  %32 = landingpad { ptr, i32 }
          cleanup
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %10, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  br label %142

35:                                               ; preds = %23
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %10, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #6
  br label %141

39:                                               ; preds = %25
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %10, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %11, align 4
  br label %140

43:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !9
  %44 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef @.str.12)
          to label %45 unwind label %49

45:                                               ; preds = %43
  br i1 %44, label %48, label %46

46:                                               ; preds = %45
  %47 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br i1 %47, label %48, label %53

48:                                               ; preds = %46, %45
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %64

49:                                               ; preds = %57, %53, %43
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %10, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %11, align 4
  br label %137

53:                                               ; preds = %46
  %54 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef @.str.13)
          to label %55 unwind label %49

55:                                               ; preds = %53
  br i1 %54, label %56, label %57

56:                                               ; preds = %55
  store i32 1, ptr %16, align 4, !tbaa !9
  br label %63

57:                                               ; preds = %55
  %58 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef @.str.14)
          to label %59 unwind label %49

59:                                               ; preds = %57
  br i1 %58, label %60, label %61

60:                                               ; preds = %59
  store i32 2, ptr %16, align 4, !tbaa !9
  br label %62

61:                                               ; preds = %59
  store i32 4101, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %136

62:                                               ; preds = %60
  br label %63

63:                                               ; preds = %62, %56
  br label %64

64:                                               ; preds = %63, %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = call noundef ptr @_ZN11CmProviders15getProviderByIdERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %65)
  store ptr %66, ptr %17, align 8, !tbaa !5
  %67 = load ptr, ptr %17, align 8, !tbaa !5
  %68 = icmp ne ptr %67, null
  br i1 %68, label %70, label %69

69:                                               ; preds = %64
  store i32 4102, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %135

70:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %71 = load ptr, ptr %17, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.CM_PROVIDER_ST, ptr %71, i32 0, i32 1
  %73 = load ptr, ptr %72, align 8, !tbaa !11
  store ptr %73, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = invoke noundef zeroext i1 @_ZN12ParsonHelper18jsonObjectHasValueEP13json_object_tPKci(ptr noundef %74, ptr noundef @.str.15, i32 noundef 4)
          to label %76 unwind label %88

76:                                               ; preds = %70
  br i1 %75, label %77, label %101

77:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  invoke void @_ZN12ParsonHelperC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %78 unwind label %92

78:                                               ; preds = %77
  %79 = invoke noundef ptr @_ZN12ParsonHelper6createEv(ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %80 unwind label %96

80:                                               ; preds = %78
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = invoke ptr @json_object_get_object(ptr noundef %81, ptr noundef @.str.15)
          to label %83 unwind label %96

83:                                               ; preds = %80
  %84 = invoke i32 @json_object_copy_all_items(ptr noundef %79, ptr noundef %82)
          to label %85 unwind label %96

85:                                               ; preds = %83
  %86 = invoke noundef zeroext i1 @_ZN12ParsonHelper9serializeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %87 unwind label %96

87:                                               ; preds = %85
  call void @_ZN12ParsonHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  br label %101

88:                                               ; preds = %70
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %10, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %11, align 4
  br label %134

92:                                               ; preds = %77
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %10, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %11, align 4
  br label %100

96:                                               ; preds = %85, %83, %80, %78
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %10, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %11, align 4
  call void @_ZN12ParsonHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  br label %100

100:                                              ; preds = %96, %92
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  br label %134

101:                                              ; preds = %87, %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %102 = load ptr, ptr %18, align 8, !tbaa !5
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = load i32, ptr %16, align 4, !tbaa !9
  %105 = invoke noundef i32 @_ZN14CmStorageProxy11storageOpenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE15CM_OPEN_MODE_STS7_(ptr noundef nonnull align 8 dereferenceable(168) %102, ptr noundef nonnull align 8 dereferenceable(32) %103, i32 noundef %104, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %106 unwind label %111

106:                                              ; preds = %101
  store i32 %105, ptr %21, align 4, !tbaa !16
  %107 = load i32, ptr %21, align 4, !tbaa !16
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %109, label %115

109:                                              ; preds = %106
  %110 = load i32, ptr %21, align 4, !tbaa !16
  store i32 %110, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %133

111:                                              ; preds = %127, %123, %115, %101
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %10, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %134

115:                                              ; preds = %106
  %116 = load ptr, ptr %18, align 8, !tbaa !5
  %117 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  %118 = load ptr, ptr %14, align 8, !tbaa !5
  %119 = invoke noundef i32 @_ZN14CmStorageProxy12sessionLoginEPKcPKv(ptr noundef nonnull align 8 dereferenceable(168) %116, ptr noundef %117, ptr noundef %118)
          to label %120 unwind label %111

120:                                              ; preds = %115
  store i32 %119, ptr %21, align 4, !tbaa !16
  %121 = load i32, ptr %21, align 4, !tbaa !16
  %122 = icmp eq i32 %121, 0
  br i1 %122, label %123, label %127

123:                                              ; preds = %120
  %124 = load ptr, ptr %17, align 8, !tbaa !5
  %125 = load ptr, ptr %18, align 8, !tbaa !5
  invoke void @_ZN18LIB_CMPROVIDERS_ST10setStorageEP14CM_PROVIDER_STP14CmStorageProxy(ptr noundef nonnull align 8 dereferenceable(40) @_ZL15lib_cmproviders, ptr noundef %124, ptr noundef %125)
          to label %126 unwind label %111

126:                                              ; preds = %123
  br label %131

127:                                              ; preds = %120
  %128 = load ptr, ptr %18, align 8, !tbaa !5
  %129 = invoke noundef i32 @_ZN14CmStorageProxy12storageCloseEv(ptr noundef nonnull align 8 dereferenceable(168) %128)
          to label %130 unwind label %111

130:                                              ; preds = %127
  br label %131

131:                                              ; preds = %130, %126
  %132 = load i32, ptr %21, align 4, !tbaa !16
  store i32 %132, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %133

133:                                              ; preds = %131, %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %135

134:                                              ; preds = %111, %100, %88
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %137

135:                                              ; preds = %133, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %136

136:                                              ; preds = %135, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %138

137:                                              ; preds = %134, %49
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %140

138:                                              ; preds = %136, %30
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  %139 = load i32, ptr %4, align 4
  ret i32 %139

140:                                              ; preds = %137, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %141

141:                                              ; preds = %140, %35
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br label %142

142:                                              ; preds = %141, %31
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  br label %143

143:                                              ; preds = %142
  %144 = load ptr, ptr %10, align 8
  %145 = load i32, ptr %11, align 4
  %146 = insertvalue { ptr, i32 } poison, ptr %144, 0
  %147 = insertvalue { ptr, i32 } %146, i32 %145, 1
  resume { ptr, i32 } %147
}

declare void @_ZN12ParsonHelper19jsonObjectGetStringEP13json_object_tPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #2

declare ptr @json_object_get_string(ptr noundef, ptr noundef) #2

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

declare noundef zeroext i1 @_ZN12ParsonHelper18jsonObjectHasValueEP13json_object_tPKci(ptr noundef, ptr noundef, i32 noundef) #2

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

declare noundef ptr @_ZN12ParsonHelper6createEv(ptr noundef nonnull align 8 dereferenceable(16)) #2

declare ptr @json_object_get_object(ptr noundef, ptr noundef) #2

declare noundef zeroext i1 @_ZN12ParsonHelper9serializeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #2

declare noundef i32 @_ZN14CmStorageProxy11storageOpenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE15CM_OPEN_MODE_STS7_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #2

declare noundef i32 @_ZN14CmStorageProxy12sessionLoginEPKcPKv(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef, ptr noundef) #2

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

declare noundef i32 @_ZN14CmStorageProxy12storageCloseEv(ptr noundef nonnull align 8 dereferenceable(168)) #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS15CM_OPEN_MODE_ST", !7, i64 0}
!11 = !{!12, !6, i64 32}
!12 = !{!"_ZTS14CM_PROVIDER_ST", !13, i64 0, !6, i64 32}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !15, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !7, 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"

%struct.LIB_CMPROVIDERS_ST = type { ptr, ptr, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<CM_PROVIDER_ST, std::allocator<CM_PROVIDER_ST>>::_Vector_impl" }
%"struct.std::_Vector_base<CM_PROVIDER_ST, std::allocator<CM_PROVIDER_ST>>::_Vector_impl" = type { %"struct.std::_Vector_base<CM_PROVIDER_ST, std::allocator<CM_PROVIDER_ST>>::_Vector_impl_data" }
%"struct.std::_Vector_base<CM_PROVIDER_ST, std::allocator<CM_PROVIDER_ST>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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.ParsonHelper = type { ptr, ptr }

@_ZL15lib_cmproviders = external hidden global %struct.LIB_CMPROVIDERS_ST, align 8
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN12ParsonHelperC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

; Function Attrs: nounwind
declare void @_ZN12ParsonHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN11CmProviders11storageOpenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_P13json_object_t(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %class.ParsonHelper, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  invoke void @_ZN12ParsonHelper19jsonObjectGetStringEP13json_object_tPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %4, ptr noundef %2, ptr noundef nonnull @.str.9, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %10 unwind label %15

10:                                               ; preds = %3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  invoke void @_ZN12ParsonHelper19jsonObjectGetStringEP13json_object_tPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef %2, ptr noundef nonnull @.str.10, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %11 unwind label %17

11:                                               ; preds = %10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  %12 = invoke ptr @json_object_get_string(ptr noundef %2, ptr noundef nonnull @.str.11)
          to label %13 unwind label %19

13:                                               ; preds = %11
  %14 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  br i1 %14, label %68, label %21

15:                                               ; preds = %3
  %16 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %71

17:                                               ; preds = %10
  %18 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  br label %70

19:                                               ; preds = %11
  %20 = landingpad { ptr, i32 }
          cleanup
  br label %69

21:                                               ; preds = %13
  %22 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.12)
  br i1 %22, label %29, label %23

23:                                               ; preds = %21
  %24 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  br i1 %24, label %29, label %25

25:                                               ; preds = %23
  %26 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.13)
  br i1 %26, label %29, label %27

27:                                               ; preds = %25
  %28 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.14)
  br i1 %28, label %29, label %68

29:                                               ; preds = %27, %25, %21, %23
  %.026 = phi i32 [ 0, %23 ], [ 0, %21 ], [ 1, %25 ], [ 2, %27 ]
  %30 = call noundef ptr @_ZN11CmProviders15getProviderByIdERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %.not = icmp eq ptr %30, null
  br i1 %.not, label %68, label %31

31:                                               ; preds = %29
  %32 = getelementptr inbounds i8, ptr %30, i64 32
  %33 = load ptr, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  %34 = invoke noundef zeroext i1 @_ZN12ParsonHelper18jsonObjectHasValueEP13json_object_tPKci(ptr noundef %2, ptr noundef nonnull @.str.15, i32 noundef 4)
          to label %35 unwind label %46

35:                                               ; preds = %31
  br i1 %34, label %36, label %53

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  invoke void @_ZN12ParsonHelperC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %37 unwind label %48

37:                                               ; preds = %36
  %38 = invoke noundef ptr @_ZN12ParsonHelper6createEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %39 unwind label %50

39:                                               ; preds = %37
  %40 = invoke ptr @json_object_get_object(ptr noundef %2, ptr noundef nonnull @.str.15)
          to label %41 unwind label %50

41:                                               ; preds = %39
  %42 = invoke i32 @json_object_copy_all_items(ptr noundef %38, ptr noundef %40)
          to label %43 unwind label %50

43:                                               ; preds = %41
  %44 = invoke noundef zeroext i1 @_ZN12ParsonHelper9serializeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %45 unwind label %50

45:                                               ; preds = %43
  call void @_ZN12ParsonHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %53

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

48:                                               ; preds = %36
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %52

50:                                               ; preds = %43, %41, %39, %37
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN12ParsonHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  br label %52

52:                                               ; preds = %50, %48
  %.pn = phi { ptr, i32 } [ %51, %50 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %67

53:                                               ; preds = %45, %35
  %54 = invoke noundef i32 @_ZN14CmStorageProxy11storageOpenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE15CM_OPEN_MODE_STS7_(ptr noundef nonnull align 8 dereferenceable(168) %33, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %.026, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %55 unwind label %56

55:                                               ; preds = %53
  %.not35 = icmp eq i32 %54, 0
  br i1 %.not35, label %58, label %66

56:                                               ; preds = %64, %58, %53
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %67

58:                                               ; preds = %55
  %59 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  %60 = invoke noundef i32 @_ZN14CmStorageProxy12sessionLoginEPKcPKv(ptr noundef nonnull align 8 dereferenceable(168) %33, ptr noundef %59, ptr noundef %12)
          to label %61 unwind label %56

61:                                               ; preds = %58
  %62 = icmp eq i32 %60, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %61
  call void @_ZN18LIB_CMPROVIDERS_ST10setStorageEP14CM_PROVIDER_STP14CmStorageProxy(ptr noundef nonnull align 8 dereferenceable(40) @_ZL15lib_cmproviders, ptr noundef nonnull %30, ptr noundef nonnull %33)
  br label %66

64:                                               ; preds = %61
  %65 = invoke noundef i32 @_ZN14CmStorageProxy12storageCloseEv(ptr noundef nonnull align 8 dereferenceable(168) %33)
          to label %66 unwind label %56

66:                                               ; preds = %63, %64, %55
  %.0 = phi i32 [ %54, %55 ], [ %60, %64 ], [ 0, %63 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  br label %68

67:                                               ; preds = %56, %52, %46
  %.pn36 = phi { ptr, i32 } [ %57, %56 ], [ %.pn, %52 ], [ %47, %46 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  br label %69

68:                                               ; preds = %27, %29, %66, %13
  %.3 = phi i32 [ 4101, %13 ], [ 4101, %27 ], [ %.0, %66 ], [ 4102, %29 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #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 nonnull %4) #6
  ret i32 %.3

69:                                               ; preds = %67, %19
  %.pn36.pn = phi { ptr, i32 } [ %.pn36, %67 ], [ %20, %19 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  br label %70

70:                                               ; preds = %69, %17
  %.pn36.pn.pn = phi { ptr, i32 } [ %.pn36.pn, %69 ], [ %18, %17 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  br label %71

71:                                               ; preds = %70, %15
  %.pn36.pn.pn.pn = phi { ptr, i32 } [ %.pn36.pn.pn, %70 ], [ %16, %15 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn36.pn.pn.pn
}

declare void @_ZN12ParsonHelper19jsonObjectGetStringEP13json_object_tPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

declare ptr @json_object_get_string(ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare noundef zeroext i1 @_ZN12ParsonHelper18jsonObjectHasValueEP13json_object_tPKci(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

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

declare noundef ptr @_ZN12ParsonHelper6createEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

declare ptr @json_object_get_object(ptr noundef, ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN12ParsonHelper9serializeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

declare noundef i32 @_ZN14CmStorageProxy11storageOpenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE15CM_OPEN_MODE_STS7_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

declare noundef i32 @_ZN14CmStorageProxy12sessionLoginEPKcPKv(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare noundef i32 @_ZN14CmStorageProxy12storageCloseEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !9, i64 32}
!6 = !{!"_ZTS14CM_PROVIDER_ST", !7, i64 0, !9, i64 32}
!7 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !8, i64 0, !12, i64 8, !10, i64 16}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass