; LLVM IR from wichue/nethello :: src/core/press/PressModel.ll (ZN3chw10PressModel18start_client_pressEv)

; 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.chw::ConfigCmd" = type { i8, ptr, i32, i32, i16, i32, double, ptr, i32, i32, i32, i16, ptr, [6 x i8], ptr, ptr, ptr }
%"class.chw::LogContextCapture" = type { %"class.std::shared_ptr.9", ptr }
%"class.std::shared_ptr.9" = type { %"class.std::__shared_ptr.10" }
%"class.std::__shared_ptr.10" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.chw::_MsgHdr_" = type { %union.anon.84, i32 }
%union.anon.84 = type { i32 }
%"class.chw::PressModel" = type <{ %"class.chw::workmodel", %"class.std::shared_ptr.0", %"class.std::shared_ptr.3", %"class.std::shared_ptr.6", i8, [7 x i8], %"class.chw::Ticker", %"class.chw::Ticker", %"class.std::__cxx11::basic_string", i64, i64, i64, i32, i32, i64, i64, i64, i64, i8, [7 x i8] }>
%"class.chw::workmodel" = type { ptr, %"class.std::enable_shared_from_this", %"class.std::shared_ptr" }
%"class.std::enable_shared_from_this" = type { %"class.std::weak_ptr" }
%"class.std::weak_ptr" = type { %"class.std::__weak_ptr" }
%"class.std::__weak_ptr" = type { ptr, %"class.std::__weak_count" }
%"class.std::__weak_count" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.0" = type { %"class.std::__shared_ptr.1" }
%"class.std::__shared_ptr.1" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.3" = type { %"class.std::__shared_ptr.4" }
%"class.std::__shared_ptr.4" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.6" = type { %"class.std::__shared_ptr.7" }
%"class.std::__shared_ptr.7" = type { ptr, %"class.std::__shared_count" }
%"class.chw::Ticker" = type { i64, i64, i64, %"class.chw::LogContextCapture" }
%"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] }

@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZN3chw10gConfigCmdE = external global %"struct.chw::ConfigCmd", align 8
@.str.5 = external hidden unnamed_addr constant [79 x i8], align 1
@__FUNCTION__._ZN3chw10PressModel18start_client_pressEv = external hidden unnamed_addr constant [19 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [6 x i8], align 1

declare i32 @__gxx_personality_v0(...)

declare void @_ZN3chw17LogContextCaptureC1ERNS_6LoggerENS_8LogLevelEPKcS5_iS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN3chw17LogContextCaptureD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3chw6Ticker9resetTimeEv(ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

declare noundef nonnull align 8 dereferenceable(144) ptr @_ZN3chw9getLoggerEv() #0

declare i32 @usleep(i32 noundef) #0

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3chw10PressModel18start_client_pressEv(ptr noundef nonnull align 8 dereferenceable(289) %0) #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"class.chw::LogContextCapture", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca double, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %"class.chw::LogContextCapture", align 8
  %18 = alloca ptr, align 8
  %19 = alloca i16, align 2
  %20 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %21 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  %22 = load i32, ptr getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 8), align 8, !tbaa !9
  %23 = zext i32 %22 to i64
  %24 = call noundef ptr @_ZN3chwL6mallocEm(i64 noundef %23)
  store ptr %24, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %25, ptr %4, align 8, !tbaa !5
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.chw::_MsgHdr_", ptr %26, i32 0, i32 0
  store i32 0, ptr %27, align 1, !tbaa !16
  %28 = load i32, ptr getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 8), align 8, !tbaa !9
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.chw::_MsgHdr_", ptr %29, i32 0, i32 1
  store i32 %28, ptr %30, align 1, !tbaa !17
  %31 = load i32, ptr getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 9), align 4, !tbaa !19
  %32 = icmp eq i32 %31, 0
  br i1 %32, label %33, label %104

33:                                               ; preds = %1
  br label %34

34:                                               ; preds = %102, %44, %33
  %35 = getelementptr inbounds %"class.chw::PressModel", ptr %21, i32 0, i32 4
  %36 = load i8, ptr %35, align 8, !tbaa !20, !range !44, !noundef !45
  %37 = trunc i8 %36 to i1
  br i1 %37, label %38, label %103

38:                                               ; preds = %34
  %39 = getelementptr inbounds %"class.chw::PressModel", ptr %21, i32 0, i32 18
  %40 = load i8, ptr %39, align 8, !tbaa !46, !range !44, !noundef !45
  %41 = trunc i8 %40 to i1
  %42 = zext i1 %41 to i32
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %46

44:                                               ; preds = %38
  %45 = call i32 @usleep(i32 noundef 10000)
  br label %34, !llvm.loop !47

46:                                               ; preds = %38
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.chw::_MsgHdr_", ptr %47, i32 0, i32 0
  %49 = load i32, ptr %48, align 1, !tbaa !16
  %50 = add i32 %49, 1
  store i32 %50, ptr %48, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  %51 = getelementptr inbounds %"class.chw::PressModel", ptr %21, i32 0, i32 2
  %52 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3chw6ClientELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %51) #7
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = load i32, ptr getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 8), align 8, !tbaa !9
  %55 = call noundef i32 @_ZN3chw6Client10senddata_iEPcj(ptr noundef nonnull align 8 dereferenceable(120) %52, ptr noundef %53, i32 noundef %54)
  store i32 %55, ptr %5, align 4, !tbaa !49
  %56 = load i32, ptr %5, align 4, !tbaa !49
  %57 = load i32, ptr getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 8), align 8, !tbaa !9
  %58 = icmp eq i32 %56, %57
  br i1 %58, label %59, label %71

59:                                               ; preds = %46
  %60 = getelementptr inbounds %"class.chw::PressModel", ptr %21, i32 0, i32 9
  %61 = load i64, ptr %60, align 8, !tbaa !50
  %62 = add i64 %61, 1
  store i64 %62, ptr %60, align 8, !tbaa !50
  %63 = getelementptr inbounds %"class.chw::PressModel", ptr %21, i32 0, i32 10
  %64 = load i64, ptr %63, align 8, !tbaa !51
  %65 = add i64 %64, 1
  store i64 %65, ptr %63, align 8, !tbaa !51
  %66 = load i32, ptr %5, align 4, !tbaa !49
  %67 = zext i32 %66 to i64
  %68 = getelementptr inbounds %"class.chw::PressModel", ptr %21, i32 0, i32 11
  %69 = load i64, ptr %68, align 8, !tbaa !52
  %70 = add i64 %69, %67
  store i64 %70, ptr %68, align 8, !tbaa !52
  br label %102

71:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %72 = call noundef i32 @_ZN3chw12get_uv_errorEb(i1 noundef zeroext true)
  store i32 %72, ptr %6, align 4, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #7
  %73 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZN3chw9getLoggerEv()
  call void @_ZN3chw17LogContextCaptureC1ERNS_6LoggerENS_8LogLevelEPKcS5_iS5_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(144) %73, i32 noundef 4, ptr noundef @.str.5, ptr noundef @__FUNCTION__._ZN3chw10PressModel18start_client_pressEv, i32 noundef 299, ptr noundef @.str.1)
  %74 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA13_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 1 dereferenceable(13) @.str.20)
          to label %75 unwind label %93

75:                                               ; preds = %71
  %76 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRjEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %77 unwind label %93

77:                                               ; preds = %75
  %78 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA10_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef nonnull align 1 dereferenceable(10) @.str.21)
          to label %79 unwind label %93

79:                                               ; preds = %77
  %80 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRjEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 8))
          to label %81 unwind label %93

81:                                               ; preds = %79
  %82 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA6_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %80, ptr noundef nonnull align 1 dereferenceable(6) @.str.22)
          to label %83 unwind label %93

83:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %84 = load i32, ptr %6, align 4, !tbaa !49
  %85 = invoke noundef ptr @_ZN3chw11uv_strerrorEi(i32 noundef %84)
          to label %86 unwind label %97

86:                                               ; preds = %83
  store ptr %85, ptr %10, align 8, !tbaa !5
  %87 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIPKcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %82, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %88 unwind label %97

88:                                               ; preds = %86
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @_ZN3chw17LogContextCaptureD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  %89 = load ptr, ptr %21, align 8, !tbaa !53
  %90 = getelementptr inbounds ptr, ptr %89, i64 3
  %91 = load ptr, ptr %90, align 8
  call void %91(ptr noundef nonnull align 8 dereferenceable(289) %21)
  %92 = call i32 @usleep(i32 noundef 100000)
  call void @exit(i32 noundef 1) #8
  unreachable

93:                                               ; preds = %81, %79, %77, %75, %71
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %8, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %9, align 4
  br label %101

97:                                               ; preds = %86, %83
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %8, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %101

101:                                              ; preds = %97, %93
  call void @_ZN3chw17LogContextCaptureD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %212

102:                                              ; preds = %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %34, !llvm.loop !47

103:                                              ; preds = %34
  br label %104

104:                                              ; preds = %103, %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %105 = load i32, ptr getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 9), align 4, !tbaa !19
  %106 = uitofp i32 %105 to double
  store double %106, ptr %11, align 8, !tbaa !55
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %107 = load double, ptr %11, align 8, !tbaa !55
  %108 = fmul double %107, 1.024000e+03
  %109 = fmul double %108, 1.024000e+03
  %110 = fptoui double %109 to i32
  store i32 %110, ptr %12, align 4, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %111 = load i32, ptr %12, align 4, !tbaa !49
  %112 = udiv i32 %111, 10
  store i32 %112, ptr %13, align 4, !tbaa !49
  br label %113

113:                                              ; preds = %210, %123, %104
  %114 = getelementptr inbounds %"class.chw::PressModel", ptr %21, i32 0, i32 4
  %115 = load i8, ptr %114, align 8, !tbaa !20, !range !44, !noundef !45
  %116 = trunc i8 %115 to i1
  br i1 %116, label %117, label %211

117:                                              ; preds = %113
  %118 = getelementptr inbounds %"class.chw::PressModel", ptr %21, i32 0, i32 18
  %119 = load i8, ptr %118, align 8, !tbaa !46, !range !44, !noundef !45
  %120 = trunc i8 %119 to i1
  %121 = zext i1 %120 to i32
  %122 = icmp eq i32 %121, 0
  br i1 %122, label %123, label %125

123:                                              ; preds = %117
  %124 = call i32 @usleep(i32 noundef 10000)
  br label %113, !llvm.loop !56

125:                                              ; preds = %117
  %126 = getelementptr inbounds %"class.chw::PressModel", ptr %21, i32 0, i32 6
  call void @_ZN3chw6Ticker9resetTimeEv(ptr noundef nonnull align 8 dereferenceable(48) %126)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !49
  br label %127

127:                                              ; preds = %209, %125
  br label %128

128:                                              ; preds = %127
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = getelementptr inbounds %"struct.chw::_MsgHdr_", ptr %129, i32 0, i32 0
  %131 = load i32, ptr %130, align 1, !tbaa !16
  %132 = add i32 %131, 1
  store i32 %132, ptr %130, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %133 = getelementptr inbounds %"class.chw::PressModel", ptr %21, i32 0, i32 2
  %134 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3chw6ClientELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %133) #7
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  %136 = load i32, ptr getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 8), align 8, !tbaa !9
  %137 = call noundef i32 @_ZN3chw6Client10senddata_iEPcj(ptr noundef nonnull align 8 dereferenceable(120) %134, ptr noundef %135, i32 noundef %136)
  store i32 %137, ptr %15, align 4, !tbaa !49
  %138 = load i32, ptr %15, align 4, !tbaa !49
  %139 = load i32, ptr getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 8), align 8, !tbaa !9
  %140 = icmp eq i32 %138, %139
  br i1 %140, label %141, label %153

141:                                              ; preds = %128
  %142 = getelementptr inbounds %"class.chw::PressModel", ptr %21, i32 0, i32 9
  %143 = load i64, ptr %142, align 8, !tbaa !50
  %144 = add i64 %143, 1
  store i64 %144, ptr %142, align 8, !tbaa !50
  %145 = getelementptr inbounds %"class.chw::PressModel", ptr %21, i32 0, i32 10
  %146 = load i64, ptr %145, align 8, !tbaa !51
  %147 = add i64 %146, 1
  store i64 %147, ptr %145, align 8, !tbaa !51
  %148 = load i32, ptr %15, align 4, !tbaa !49
  %149 = zext i32 %148 to i64
  %150 = getelementptr inbounds %"class.chw::PressModel", ptr %21, i32 0, i32 11
  %151 = load i64, ptr %150, align 8, !tbaa !52
  %152 = add i64 %151, %149
  store i64 %152, ptr %150, align 8, !tbaa !52
  br label %184

153:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %154 = call noundef i32 @_ZN3chw12get_uv_errorEb(i1 noundef zeroext true)
  store i32 %154, ptr %16, align 4, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #7
  %155 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZN3chw9getLoggerEv()
  call void @_ZN3chw17LogContextCaptureC1ERNS_6LoggerENS_8LogLevelEPKcS5_iS5_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(144) %155, i32 noundef 4, ptr noundef @.str.5, ptr noundef @__FUNCTION__._ZN3chw10PressModel18start_client_pressEv, i32 noundef 336, ptr noundef @.str.1)
  %156 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA13_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 1 dereferenceable(13) @.str.20)
          to label %157 unwind label %175

157:                                              ; preds = %153
  %158 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRjEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %156, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %159 unwind label %175

159:                                              ; preds = %157
  %160 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA10_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %158, ptr noundef nonnull align 1 dereferenceable(10) @.str.21)
          to label %161 unwind label %175

161:                                              ; preds = %159
  %162 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRjEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %160, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 8))
          to label %163 unwind label %175

163:                                              ; preds = %161
  %164 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA6_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %162, ptr noundef nonnull align 1 dereferenceable(6) @.str.22)
          to label %165 unwind label %175

165:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %166 = load i32, ptr %16, align 4, !tbaa !49
  %167 = invoke noundef ptr @_ZN3chw11uv_strerrorEi(i32 noundef %166)
          to label %168 unwind label %179

168:                                              ; preds = %165
  store ptr %167, ptr %18, align 8, !tbaa !5
  %169 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIPKcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %164, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %170 unwind label %179

170:                                              ; preds = %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @_ZN3chw17LogContextCaptureD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  %171 = load ptr, ptr %21, align 8, !tbaa !53
  %172 = getelementptr inbounds ptr, ptr %171, i64 3
  %173 = load ptr, ptr %172, align 8
  call void %173(ptr noundef nonnull align 8 dereferenceable(289) %21)
  %174 = call i32 @usleep(i32 noundef 100000)
  call void @exit(i32 noundef 1) #8
  unreachable

175:                                              ; preds = %163, %161, %159, %157, %153
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %8, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %9, align 4
  br label %183

179:                                              ; preds = %168, %165
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %8, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %183

183:                                              ; preds = %179, %175
  call void @_ZN3chw17LogContextCaptureD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %212

184:                                              ; preds = %141
  %185 = load i32, ptr %15, align 4, !tbaa !49
  %186 = load i32, ptr %14, align 4, !tbaa !49
  %187 = add i32 %186, %185
  store i32 %187, ptr %14, align 4, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 2, ptr %19) #7
  %188 = getelementptr inbounds %"class.chw::PressModel", ptr %21, i32 0, i32 6
  %189 = call noundef i64 @_ZNK3chw6Ticker11elapsedTimeEv(ptr noundef nonnull align 8 dereferenceable(48) %188)
  %190 = trunc i64 %189 to i16
  store i16 %190, ptr %19, align 2, !tbaa !57
  %191 = load i16, ptr %19, align 2, !tbaa !57
  %192 = zext i16 %191 to i32
  %193 = icmp sge i32 %192, 100
  br i1 %193, label %194, label %195

194:                                              ; preds = %184
  store i32 7, ptr %20, align 4
  br label %207

195:                                              ; preds = %184
  %196 = load i32, ptr %14, align 4, !tbaa !49
  %197 = load i32, ptr %13, align 4, !tbaa !49
  %198 = icmp uge i32 %196, %197
  br i1 %198, label %199, label %206

199:                                              ; preds = %195
  %200 = load i16, ptr %19, align 2, !tbaa !57
  %201 = zext i16 %200 to i32
  %202 = sub nsw i32 100, %201
  %203 = sub nsw i32 %202, 1
  %204 = mul nsw i32 %203, 1000
  %205 = call i32 @usleep(i32 noundef %204)
  store i32 7, ptr %20, align 4
  br label %207

206:                                              ; preds = %195
  store i32 0, ptr %20, align 4
  br label %207

207:                                              ; preds = %206, %199, %194
  call void @llvm.lifetime.end.p0(i64 2, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  %208 = load i32, ptr %20, align 4
  switch i32 %208, label %218 [
    i32 0, label %209
    i32 7, label %210
  ]

209:                                              ; preds = %207
  br label %127, !llvm.loop !58

210:                                              ; preds = %207
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %113, !llvm.loop !56

211:                                              ; preds = %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  ret void

212:                                              ; preds = %183, %101
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %213

213:                                              ; preds = %212
  %214 = load ptr, ptr %8, align 8
  %215 = load i32, ptr %9, align 4
  %216 = insertvalue { ptr, i32 } poison, ptr %214, 0
  %217 = insertvalue { ptr, i32 } %216, i32 %215, 1
  resume { ptr, i32 } %217

218:                                              ; preds = %207
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK3chw6Ticker11elapsedTimeEv(ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA6_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(6)) #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef ptr @_ZN3chwL6mallocEm(i64 noundef) #6

declare noundef i32 @_ZN3chw6Client10senddata_iEPcj(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef, i32 noundef) #0

declare noundef i32 @_ZN3chw12get_uv_errorEb(i1 noundef zeroext) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA13_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(13)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA10_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(10)) #3 align 2

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

declare noundef ptr @_ZN3chw11uv_strerrorEi(i32 noundef) #0

attributes #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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn 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, !12, i64 48}
!10 = !{!"_ZTSN3chw9ConfigCmdE", !7, i64 0, !6, i64 8, !11, i64 16, !12, i64 20, !13, i64 24, !12, i64 28, !14, i64 32, !6, i64 40, !12, i64 48, !12, i64 52, !15, i64 56, !13, i64 60, !6, i64 64, !7, i64 72, !6, i64 80, !6, i64 88, !6, i64 96}
!11 = !{!"_ZTSN3chw7SockNum8SockTypeE", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!"_ZTSN3chw9WorkModelE", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !12, i64 4}
!18 = !{!"_ZTSN3chw8_MsgHdr_E", !7, i64 0, !12, i64 4}
!19 = !{!10, !12, i64 52}
!20 = !{!21, !36, i64 88}
!21 = !{!"_ZTSN3chw10PressModelE", !22, i64 0, !30, i64 40, !32, i64 56, !34, i64 72, !36, i64 88, !37, i64 96, !37, i64 144, !42, i64 192, !38, i64 224, !38, i64 232, !38, i64 240, !12, i64 248, !12, i64 252, !38, i64 256, !38, i64 264, !38, i64 272, !38, i64 280, !36, i64 288}
!22 = !{!"_ZTSN3chw9workmodelE", !23, i64 8, !27, i64 24}
!23 = !{!"_ZTSSt23enable_shared_from_thisIN3chw9workmodelEE", !24, i64 0}
!24 = !{!"_ZTSSt8weak_ptrIN3chw9workmodelEE", !25, i64 0}
!25 = !{!"_ZTSSt10__weak_ptrIN3chw9workmodelELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !26, i64 8}
!26 = !{!"_ZTSSt12__weak_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!27 = !{!"_ZTSSt10shared_ptrIN3chw9EventLoopEE", !28, i64 0}
!28 = !{!"_ZTSSt12__shared_ptrIN3chw9EventLoopELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !29, i64 8}
!29 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!30 = !{!"_ZTSSt10shared_ptrIN3chw6ServerEE", !31, i64 0}
!31 = !{!"_ZTSSt12__shared_ptrIN3chw6ServerELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !29, i64 8}
!32 = !{!"_ZTSSt10shared_ptrIN3chw6ClientEE", !33, i64 0}
!33 = !{!"_ZTSSt12__shared_ptrIN3chw6ClientELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !29, i64 8}
!34 = !{!"_ZTSSt10shared_ptrIN3chw5TimerEE", !35, i64 0}
!35 = !{!"_ZTSSt12__shared_ptrIN3chw5TimerELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !29, i64 8}
!36 = !{!"bool", !7, i64 0}
!37 = !{!"_ZTSN3chw6TickerE", !38, i64 0, !38, i64 8, !38, i64 16, !39, i64 24}
!38 = !{!"long", !7, i64 0}
!39 = !{!"_ZTSN3chw17LogContextCaptureE", !40, i64 0, !6, i64 16}
!40 = !{!"_ZTSSt10shared_ptrIN3chw10LogContextEE", !41, i64 0}
!41 = !{!"_ZTSSt12__shared_ptrIN3chw10LogContextELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !29, i64 8}
!42 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !43, i64 0, !38, i64 8, !7, i64 16}
!43 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!44 = !{i8 0, i8 2}
!45 = !{}
!46 = !{!21, !36, i64 288}
!47 = distinct !{!47, !48}
!48 = !{!"llvm.loop.mustprogress"}
!49 = !{!12, !12, i64 0}
!50 = !{!21, !38, i64 224}
!51 = !{!21, !38, i64 232}
!52 = !{!21, !38, i64 240}
!53 = !{!54, !54, i64 0}
!54 = !{!"vtable pointer", !8, i64 0}
!55 = !{!14, !14, i64 0}
!56 = distinct !{!56, !48}
!57 = !{!13, !13, i64 0}
!58 = distinct !{!58, !48}


; 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.chw::ConfigCmd" = type { i8, ptr, i32, i32, i16, i32, double, ptr, i32, i32, i32, i16, ptr, [6 x i8], ptr, ptr, ptr }
%"class.chw::LogContextCapture" = type { %"class.std::shared_ptr.9", ptr }
%"class.std::shared_ptr.9" = type { %"class.std::__shared_ptr.10" }
%"class.std::__shared_ptr.10" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZN3chw10gConfigCmdE = external global %"struct.chw::ConfigCmd", align 8
@.str.5 = external hidden unnamed_addr constant [79 x i8], align 1
@__FUNCTION__._ZN3chw10PressModel18start_client_pressEv = external hidden unnamed_addr constant [19 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [6 x i8], align 1

declare i32 @__gxx_personality_v0(...)

declare void @_ZN3chw17LogContextCaptureC1ERNS_6LoggerENS_8LogLevelEPKcS5_iS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN3chw17LogContextCaptureD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3chw6Ticker9resetTimeEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

declare noundef nonnull align 8 dereferenceable(144) ptr @_ZN3chw9getLoggerEv() local_unnamed_addr #0

declare i32 @usleep(i32 noundef) local_unnamed_addr #0

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3chw10PressModel18start_client_pressEv(ptr noundef nonnull align 8 dereferenceable(289) %0) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca %"class.chw::LogContextCapture", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.chw::LogContextCapture", align 8
  %7 = alloca ptr, align 8
  %8 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 48), align 8, !tbaa !5
  %9 = zext i32 %8 to i64
  %10 = tail call noundef ptr @_ZN3chwL6mallocEm(i64 noundef %9)
  store i32 0, ptr %10, align 1, !tbaa !15
  %11 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 48), align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %10, i64 4
  store i32 %11, ptr %12, align 1, !tbaa !16
  %13 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 52), align 4, !tbaa !18
  %14 = icmp eq i32 %13, 0
  %15 = getelementptr inbounds i8, ptr %0, i64 88
  %16 = load i8, ptr %15, align 8, !tbaa !19, !range !43
  br i1 %14, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %1
  %17 = trunc nuw i8 %16 to i1
  br i1 %17, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader
  %18 = getelementptr inbounds i8, ptr %0, i64 288
  %19 = getelementptr inbounds i8, ptr %0, i64 56
  %20 = getelementptr inbounds i8, ptr %0, i64 224
  %21 = getelementptr inbounds i8, ptr %0, i64 240
  br label %22

22:                                               ; preds = %.lr.ph, %.backedge29
  %23 = load i8, ptr %18, align 8, !tbaa !44, !range !43, !noundef !45
  %24 = icmp eq i8 %23, 0
  br i1 %24, label %25, label %29

25:                                               ; preds = %22
  %26 = tail call i32 @usleep(i32 noundef 10000)
  br label %.backedge29

.backedge29:                                      ; preds = %25, %37
  %27 = load i8, ptr %15, align 8, !tbaa !19, !range !43, !noundef !45
  %28 = trunc nuw i8 %27 to i1
  br i1 %28, label %22, label %.loopexit.loopexit, !llvm.loop !46

29:                                               ; preds = %22
  %30 = load i32, ptr %10, align 1, !tbaa !15
  %31 = add i32 %30, 1
  store i32 %31, ptr %10, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  %32 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3chw6ClientELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  %33 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 48), align 8, !tbaa !5
  %34 = tail call noundef i32 @_ZN3chw6Client10senddata_iEPcj(ptr noundef nonnull align 8 dereferenceable(120) %32, ptr noundef nonnull %10, i32 noundef %33)
  store i32 %34, ptr %2, align 4, !tbaa !48
  %35 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 48), align 8, !tbaa !5
  %36 = icmp eq i32 %34, %35
  br i1 %36, label %37, label %43

37:                                               ; preds = %29
  %38 = load <2 x i64>, ptr %20, align 8, !tbaa !49
  %39 = add <2 x i64> %38, <i64 1, i64 1>
  store <2 x i64> %39, ptr %20, align 8, !tbaa !49
  %40 = zext i32 %34 to i64
  %41 = load i64, ptr %21, align 8, !tbaa !50
  %42 = add i64 %41, %40
  store i64 %42, ptr %21, align 8, !tbaa !50
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  br label %.backedge29

43:                                               ; preds = %29
  %44 = tail call noundef i32 @_ZN3chw12get_uv_errorEb(i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #7
  %45 = tail call noundef nonnull align 8 dereferenceable(144) ptr @_ZN3chw9getLoggerEv()
  call void @_ZN3chw17LogContextCaptureC1ERNS_6LoggerENS_8LogLevelEPKcS5_iS5_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(144) %45, i32 noundef 4, ptr noundef nonnull @.str.5, ptr noundef nonnull @__FUNCTION__._ZN3chw10PressModel18start_client_pressEv, i32 noundef 299, ptr noundef nonnull @.str.1)
  %46 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA13_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(13) @.str.20)
          to label %47 unwind label %64

47:                                               ; preds = %43
  %48 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRjEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %49 unwind label %64

49:                                               ; preds = %47
  %50 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA10_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr noundef nonnull align 1 dereferenceable(10) @.str.21)
          to label %51 unwind label %64

51:                                               ; preds = %49
  %52 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRjEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %50, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 48))
          to label %53 unwind label %64

53:                                               ; preds = %51
  %54 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA6_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %52, ptr noundef nonnull align 1 dereferenceable(6) @.str.22)
          to label %55 unwind label %64

55:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %56 = invoke noundef ptr @_ZN3chw11uv_strerrorEi(i32 noundef %44)
          to label %57 unwind label %66

57:                                               ; preds = %55
  store ptr %56, ptr %4, align 8, !tbaa !51
  %58 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIPKcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %59 unwind label %66

59:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @_ZN3chw17LogContextCaptureD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  %60 = load ptr, ptr %0, align 8, !tbaa !52
  %61 = getelementptr inbounds i8, ptr %60, i64 24
  %62 = load ptr, ptr %61, align 8
  call void %62(ptr noundef nonnull align 8 dereferenceable(289) %0)
  %63 = call i32 @usleep(i32 noundef 100000)
  call void @exit(i32 noundef 1) #8
  unreachable

64:                                               ; preds = %53, %51, %49, %47, %43
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %68

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

68:                                               ; preds = %66, %64
  %.pn26 = phi { ptr, i32 } [ %67, %66 ], [ %65, %64 ]
  call void @_ZN3chw17LogContextCaptureD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  br label %147

.loopexit.loopexit:                               ; preds = %.backedge29
  %.pre = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 52), align 4, !tbaa !18
  br label %.loopexit

.loopexit:                                        ; preds = %1, %.loopexit.loopexit, %.preheader
  %69 = phi i8 [ %27, %.loopexit.loopexit ], [ %16, %.preheader ], [ %16, %1 ]
  %70 = phi i32 [ %.pre, %.loopexit.loopexit ], [ 0, %.preheader ], [ %13, %1 ]
  %71 = uitofp i32 %70 to double
  %72 = fmul double %71, 1.024000e+03
  %73 = fmul double %72, 1.024000e+03
  %74 = fptoui double %73 to i32
  %75 = udiv i32 %74, 10
  %76 = getelementptr inbounds i8, ptr %0, i64 88
  %77 = trunc nuw i8 %69 to i1
  br i1 %77, label %.lr.ph35, label %._crit_edge36

.lr.ph35:                                         ; preds = %.loopexit
  %78 = getelementptr inbounds i8, ptr %0, i64 288
  %79 = getelementptr inbounds i8, ptr %0, i64 96
  %80 = getelementptr inbounds i8, ptr %0, i64 56
  %81 = getelementptr inbounds i8, ptr %0, i64 224
  %82 = getelementptr inbounds i8, ptr %0, i64 240
  br label %83

.critedge:                                        ; preds = %.lr.ph32, %135
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  br label %.backedge

83:                                               ; preds = %.lr.ph35, %.backedge
  %84 = load i8, ptr %78, align 8, !tbaa !44, !range !43, !noundef !45
  %85 = icmp eq i8 %84, 0
  br i1 %85, label %86, label %90

86:                                               ; preds = %83
  %87 = tail call i32 @usleep(i32 noundef 10000)
  br label %.backedge

.backedge:                                        ; preds = %86, %.critedge
  %88 = load i8, ptr %76, align 8, !tbaa !19, !range !43, !noundef !45
  %89 = trunc nuw i8 %88 to i1
  br i1 %89, label %83, label %._crit_edge36, !llvm.loop !54

90:                                               ; preds = %83
  tail call void @_ZN3chw6Ticker9resetTimeEv(ptr noundef nonnull align 8 dereferenceable(48) %79)
  %91 = load i32, ptr %10, align 1, !tbaa !15
  %92 = add i32 %91, 1
  store i32 %92, ptr %10, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  %93 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3chw6ClientELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %80) #7
  %94 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 48), align 8, !tbaa !5
  %95 = tail call noundef i32 @_ZN3chw6Client10senddata_iEPcj(ptr noundef nonnull align 8 dereferenceable(120) %93, ptr noundef nonnull %10, i32 noundef %94)
  store i32 %95, ptr %5, align 4, !tbaa !48
  %96 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 48), align 8, !tbaa !5
  %97 = icmp eq i32 %95, %96
  br i1 %97, label %.lr.ph32, label %._crit_edge

.lr.ph32:                                         ; preds = %90, %139
  %98 = phi i32 [ %144, %139 ], [ %95, %90 ]
  %.02331 = phi i32 [ %104, %139 ], [ 0, %90 ]
  %99 = load <2 x i64>, ptr %81, align 8, !tbaa !49
  %100 = add <2 x i64> %99, <i64 1, i64 1>
  store <2 x i64> %100, ptr %81, align 8, !tbaa !49
  %101 = zext i32 %98 to i64
  %102 = load i64, ptr %82, align 8, !tbaa !50
  %103 = add i64 %102, %101
  store i64 %103, ptr %82, align 8, !tbaa !50
  %104 = add i32 %98, %.02331
  %105 = tail call noundef i64 @_ZNK3chw6Ticker11elapsedTimeEv(ptr noundef nonnull align 8 dereferenceable(48) %79)
  %106 = trunc i64 %105 to i32
  %107 = and i32 %106, 65535
  %108 = icmp ugt i32 %107, 99
  br i1 %108, label %.critedge, label %134

._crit_edge:                                      ; preds = %90, %139
  %109 = tail call noundef i32 @_ZN3chw12get_uv_errorEb(i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  %110 = tail call noundef nonnull align 8 dereferenceable(144) ptr @_ZN3chw9getLoggerEv()
  call void @_ZN3chw17LogContextCaptureC1ERNS_6LoggerENS_8LogLevelEPKcS5_iS5_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(144) %110, i32 noundef 4, ptr noundef nonnull @.str.5, ptr noundef nonnull @__FUNCTION__._ZN3chw10PressModel18start_client_pressEv, i32 noundef 336, ptr noundef nonnull @.str.1)
  %111 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA13_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 1 dereferenceable(13) @.str.20)
          to label %112 unwind label %129

112:                                              ; preds = %._crit_edge
  %113 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRjEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %111, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %114 unwind label %129

114:                                              ; preds = %112
  %115 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA10_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %113, ptr noundef nonnull align 1 dereferenceable(10) @.str.21)
          to label %116 unwind label %129

116:                                              ; preds = %114
  %117 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRjEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %115, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 48))
          to label %118 unwind label %129

118:                                              ; preds = %116
  %119 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA6_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %117, ptr noundef nonnull align 1 dereferenceable(6) @.str.22)
          to label %120 unwind label %129

120:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %121 = invoke noundef ptr @_ZN3chw11uv_strerrorEi(i32 noundef %109)
          to label %122 unwind label %131

122:                                              ; preds = %120
  store ptr %121, ptr %7, align 8, !tbaa !51
  %123 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIPKcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24) %119, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %124 unwind label %131

124:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @_ZN3chw17LogContextCaptureD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  %125 = load ptr, ptr %0, align 8, !tbaa !52
  %126 = getelementptr inbounds i8, ptr %125, i64 24
  %127 = load ptr, ptr %126, align 8
  call void %127(ptr noundef nonnull align 8 dereferenceable(289) %0)
  %128 = call i32 @usleep(i32 noundef 100000)
  call void @exit(i32 noundef 1) #8
  unreachable

129:                                              ; preds = %118, %116, %114, %112, %._crit_edge
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %133

131:                                              ; preds = %122, %120
  %132 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br label %133

133:                                              ; preds = %131, %129
  %.pn = phi { ptr, i32 } [ %132, %131 ], [ %130, %129 ]
  call void @_ZN3chw17LogContextCaptureD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  br label %147

134:                                              ; preds = %.lr.ph32
  %.not = icmp ult i32 %104, %75
  br i1 %.not, label %139, label %135

135:                                              ; preds = %134
  %136 = sub nuw nsw i32 99, %107
  %137 = mul nuw nsw i32 %136, 1000
  %138 = tail call i32 @usleep(i32 noundef %137)
  br label %.critedge

139:                                              ; preds = %134
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  %140 = load i32, ptr %10, align 1, !tbaa !15
  %141 = add i32 %140, 1
  store i32 %141, ptr %10, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  %142 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3chw6ClientELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %80) #7
  %143 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 48), align 8, !tbaa !5
  %144 = tail call noundef i32 @_ZN3chw6Client10senddata_iEPcj(ptr noundef nonnull align 8 dereferenceable(120) %142, ptr noundef nonnull %10, i32 noundef %143)
  store i32 %144, ptr %5, align 4, !tbaa !48
  %145 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 48), align 8, !tbaa !5
  %146 = icmp eq i32 %144, %145
  br i1 %146, label %.lr.ph32, label %._crit_edge, !llvm.loop !54

._crit_edge36:                                    ; preds = %.backedge, %.loopexit
  ret void

147:                                              ; preds = %133, %68
  %.pn26.pn = phi { ptr, i32 } [ %.pn26, %68 ], [ %.pn, %133 ]
  resume { ptr, i32 } %.pn26.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK3chw6Ticker11elapsedTimeEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA6_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(6)) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef ptr @_ZN3chwL6mallocEm(i64 noundef) local_unnamed_addr #6

declare noundef i32 @_ZN3chw6Client10senddata_iEPcj(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef, i32 noundef) local_unnamed_addr #0

declare noundef i32 @_ZN3chw12get_uv_errorEb(i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA13_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(13)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3chw17LogContextCapturelsIRA10_KcEERS0_OT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(10)) local_unnamed_addr #3 align 2

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

declare noundef ptr @_ZN3chw11uv_strerrorEi(i32 noundef) local_unnamed_addr #0

attributes #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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn 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, !11, i64 48}
!6 = !{!"_ZTSN3chw9ConfigCmdE", !7, i64 0, !9, i64 8, !10, i64 16, !11, i64 20, !12, i64 24, !11, i64 28, !13, i64 32, !9, i64 40, !11, i64 48, !11, i64 52, !14, i64 56, !12, i64 60, !9, i64 64, !7, i64 72, !9, i64 80, !9, i64 88, !9, i64 96}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"any pointer", !7, i64 0}
!10 = !{!"_ZTSN3chw7SockNum8SockTypeE", !7, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!"_ZTSN3chw9WorkModelE", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !11, i64 4}
!17 = !{!"_ZTSN3chw8_MsgHdr_E", !7, i64 0, !11, i64 4}
!18 = !{!6, !11, i64 52}
!19 = !{!20, !35, i64 88}
!20 = !{!"_ZTSN3chw10PressModelE", !21, i64 0, !29, i64 40, !31, i64 56, !33, i64 72, !35, i64 88, !36, i64 96, !36, i64 144, !41, i64 192, !37, i64 224, !37, i64 232, !37, i64 240, !11, i64 248, !11, i64 252, !37, i64 256, !37, i64 264, !37, i64 272, !37, i64 280, !35, i64 288}
!21 = !{!"_ZTSN3chw9workmodelE", !22, i64 8, !26, i64 24}
!22 = !{!"_ZTSSt23enable_shared_from_thisIN3chw9workmodelEE", !23, i64 0}
!23 = !{!"_ZTSSt8weak_ptrIN3chw9workmodelEE", !24, i64 0}
!24 = !{!"_ZTSSt10__weak_ptrIN3chw9workmodelELN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0, !25, i64 8}
!25 = !{!"_ZTSSt12__weak_countILN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0}
!26 = !{!"_ZTSSt10shared_ptrIN3chw9EventLoopEE", !27, i64 0}
!27 = !{!"_ZTSSt12__shared_ptrIN3chw9EventLoopELN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0, !28, i64 8}
!28 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0}
!29 = !{!"_ZTSSt10shared_ptrIN3chw6ServerEE", !30, i64 0}
!30 = !{!"_ZTSSt12__shared_ptrIN3chw6ServerELN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0, !28, i64 8}
!31 = !{!"_ZTSSt10shared_ptrIN3chw6ClientEE", !32, i64 0}
!32 = !{!"_ZTSSt12__shared_ptrIN3chw6ClientELN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0, !28, i64 8}
!33 = !{!"_ZTSSt10shared_ptrIN3chw5TimerEE", !34, i64 0}
!34 = !{!"_ZTSSt12__shared_ptrIN3chw5TimerELN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0, !28, i64 8}
!35 = !{!"bool", !7, i64 0}
!36 = !{!"_ZTSN3chw6TickerE", !37, i64 0, !37, i64 8, !37, i64 16, !38, i64 24}
!37 = !{!"long", !7, i64 0}
!38 = !{!"_ZTSN3chw17LogContextCaptureE", !39, i64 0, !9, i64 16}
!39 = !{!"_ZTSSt10shared_ptrIN3chw10LogContextEE", !40, i64 0}
!40 = !{!"_ZTSSt12__shared_ptrIN3chw10LogContextELN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0, !28, i64 8}
!41 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !42, i64 0, !37, i64 8, !7, i64 16}
!42 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!43 = !{i8 0, i8 2}
!44 = !{!20, !35, i64 288}
!45 = !{}
!46 = distinct !{!46, !47}
!47 = !{!"llvm.loop.mustprogress"}
!48 = !{!11, !11, i64 0}
!49 = !{!37, !37, i64 0}
!50 = !{!20, !37, i64 240}
!51 = !{!9, !9, i64 0}
!52 = !{!53, !53, i64 0}
!53 = !{!"vtable pointer", !8, i64 0}
!54 = distinct !{!54, !47}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass