; LLVM IR from wichue/nethello :: src/core/raw/RawPressModel.ll (ZN3chw13RawPressModel18start_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 }
%"struct.chw::_MsgHdr_" = type { %union.anon.60, i32 }
%union.anon.60 = type { i32 }
%"struct.chw::ethhdr" = type { [6 x i8], [6 x i8], i16 }
%"class.chw::RawPressModel" = type { %"class.chw::workmodel", %"class.std::shared_ptr.0", %"class.std::shared_ptr.3", i8, %"class.chw::Ticker", %"class.chw::Ticker", i64, i64, i64, i32, i32, i64, i64, i64, i64 }
%"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_count" = type { ptr }
%"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.chw::Ticker" = type { i64, i64, i64, %"class.chw::LogContextCapture" }
%"class.chw::LogContextCapture" = type { %"class.std::shared_ptr.6", ptr }
%"class.std::shared_ptr.6" = type { %"class.std::__shared_ptr.7" }
%"class.std::__shared_ptr.7" = type { ptr, %"class.std::__shared_count" }
%"class.chw::RawSocket" = type <{ %"class.chw::Client", [6 x i8], [2 x i8], %struct.sockaddr_ll, [4 x i8] }>
%"class.chw::Client" = type { ptr, %"class.std::enable_shared_from_this.21", %"class.std::__cxx11::basic_string", %"class.std::shared_ptr.24", %"class.std::shared_ptr", %"class.std::function" }
%"class.std::enable_shared_from_this.21" = type { %"class.std::weak_ptr.22" }
%"class.std::weak_ptr.22" = type { %"class.std::__weak_ptr.23" }
%"class.std::__weak_ptr.23" = type { ptr, %"class.std::__weak_count" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::shared_ptr.24" = type { %"class.std::__shared_ptr.25" }
%"class.std::__shared_ptr.25" = type { ptr, %"class.std::__shared_count" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%struct.sockaddr_ll = type { i16, i16, i32, i16, i8, i8, [8 x i8] }

@_ZN3chw10gConfigCmdE = external global %"struct.chw::ConfigCmd", align 8

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3chw13RawPressModel18start_client_pressEv(ptr noundef nonnull align 8 dereferenceable(240) %0) #1 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca double, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i16, align 2
  store ptr %0, ptr %2, align 8, !tbaa !5
  %15 = load ptr, ptr %2, align 8
  %16 = load i32, ptr getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 8), align 8, !tbaa !9
  %17 = icmp ult i32 %16, 8
  br i1 %17, label %18, label %19

18:                                               ; preds = %1
  store i32 8, ptr getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 8), align 8, !tbaa !9
  br label %19

19:                                               ; preds = %18, %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  %20 = load i32, ptr getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 8), align 8, !tbaa !9
  %21 = zext i32 %20 to i64
  %22 = add i64 14, %21
  %23 = trunc i64 %22 to i32
  store i32 %23, ptr %3, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %24 = load i32, ptr %3, align 4, !tbaa !16
  %25 = zext i32 %24 to i64
  %26 = call noundef ptr @_ZN3chwL6mallocEm(i64 noundef %25)
  store ptr %26, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %27, i64 14
  store ptr %28, ptr %5, align 8, !tbaa !5
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.chw::_MsgHdr_", ptr %29, i32 0, i32 0
  store i32 0, ptr %30, align 1, !tbaa !17
  %31 = load i32, ptr getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 8), align 8, !tbaa !9
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.chw::_MsgHdr_", ptr %32, i32 0, i32 1
  store i32 %31, ptr %33, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %34, ptr %6, align 8, !tbaa !5
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.chw::ethhdr", ptr %35, i32 0, i32 0
  %37 = getelementptr inbounds [6 x i8], ptr %36, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %37, ptr align 8 getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 13), i64 6, i1 false)
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.chw::ethhdr", ptr %38, i32 0, i32 1
  %40 = getelementptr inbounds [6 x i8], ptr %39, i64 0, i64 0
  %41 = getelementptr inbounds %"class.chw::RawPressModel", ptr %15, i32 0, i32 1
  %42 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3chw14RawPressClientELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  %43 = getelementptr inbounds %"class.chw::RawSocket", ptr %42, i32 0, i32 1
  %44 = getelementptr inbounds [6 x i8], ptr %43, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %40, ptr align 8 %44, i64 6, i1 false)
  %45 = call noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext -254)
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.chw::ethhdr", ptr %46, i32 0, i32 2
  store i16 %45, ptr %47, align 1, !tbaa !20
  %48 = load i32, ptr getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 9), align 4, !tbaa !22
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %50, label %90

50:                                               ; preds = %19
  br label %51

51:                                               ; preds = %88, %50
  %52 = getelementptr inbounds %"class.chw::RawPressModel", ptr %15, i32 0, i32 3
  %53 = load i8, ptr %52, align 8, !tbaa !23, !range !43, !noundef !44
  %54 = trunc i8 %53 to i1
  br i1 %54, label %55, label %89

55:                                               ; preds = %51
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.chw::_MsgHdr_", ptr %56, i32 0, i32 0
  %58 = load i32, ptr %57, align 1, !tbaa !17
  %59 = add i32 %58, 1
  store i32 %59, ptr %57, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  %60 = getelementptr inbounds %"class.chw::RawPressModel", ptr %15, i32 0, i32 1
  %61 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3chw14RawPressClientELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %60) #8
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = load i32, ptr %3, align 4, !tbaa !16
  %64 = getelementptr inbounds %"class.chw::RawPressModel", ptr %15, i32 0, i32 1
  %65 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3chw14RawPressClientELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %64) #8
  %66 = getelementptr inbounds %"class.chw::RawSocket", ptr %65, i32 0, i32 3
  %67 = call noundef i32 @_ZN3chw6Client9send_addrEPcjP8sockaddri(ptr noundef nonnull align 8 dereferenceable(120) %61, ptr noundef %62, i32 noundef %63, ptr noundef %66, i32 noundef 20)
  store i32 %67, ptr %7, align 4, !tbaa !16
  %68 = load i32, ptr %7, align 4, !tbaa !16
  %69 = load i32, ptr %3, align 4, !tbaa !16
  %70 = icmp eq i32 %68, %69
  br i1 %70, label %71, label %83

71:                                               ; preds = %55
  %72 = getelementptr inbounds %"class.chw::RawPressModel", ptr %15, i32 0, i32 6
  %73 = load volatile i64, ptr %72, align 8, !tbaa !45
  %74 = add i64 %73, 1
  store volatile i64 %74, ptr %72, align 8, !tbaa !45
  %75 = getelementptr inbounds %"class.chw::RawPressModel", ptr %15, i32 0, i32 7
  %76 = load i64, ptr %75, align 8, !tbaa !46
  %77 = add i64 %76, 1
  store i64 %77, ptr %75, align 8, !tbaa !46
  %78 = load i32, ptr %7, align 4, !tbaa !16
  %79 = zext i32 %78 to i64
  %80 = getelementptr inbounds %"class.chw::RawPressModel", ptr %15, i32 0, i32 8
  %81 = load i64, ptr %80, align 8, !tbaa !47
  %82 = add i64 %81, %79
  store i64 %82, ptr %80, align 8, !tbaa !47
  br label %88

83:                                               ; preds = %55
  %84 = load ptr, ptr %15, align 8, !tbaa !48
  %85 = getelementptr inbounds ptr, ptr %84, i64 3
  %86 = load ptr, ptr %85, align 8
  call void %86(ptr noundef nonnull align 8 dereferenceable(240) %15)
  %87 = call i32 @usleep(i32 noundef 100000)
  call void @exit(i32 noundef 1) #9
  unreachable

88:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %51, !llvm.loop !50

89:                                               ; preds = %51
  store i32 1, ptr %8, align 4
  br label %167

90:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %91 = load i32, ptr getelementptr inbounds (%"struct.chw::ConfigCmd", ptr @_ZN3chw10gConfigCmdE, i32 0, i32 9), align 4, !tbaa !22
  %92 = uitofp i32 %91 to double
  store double %92, ptr %9, align 8, !tbaa !52
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  %93 = load double, ptr %9, align 8, !tbaa !52
  %94 = fmul double %93, 1.024000e+03
  %95 = fmul double %94, 1.024000e+03
  %96 = fptoui double %95 to i32
  store i32 %96, ptr %10, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %97 = load i32, ptr %10, align 4, !tbaa !16
  %98 = udiv i32 %97, 10
  store i32 %98, ptr %11, align 4, !tbaa !16
  br label %99

99:                                               ; preds = %165, %90
  %100 = getelementptr inbounds %"class.chw::RawPressModel", ptr %15, i32 0, i32 3
  %101 = load i8, ptr %100, align 8, !tbaa !23, !range !43, !noundef !44
  %102 = trunc i8 %101 to i1
  br i1 %102, label %103, label %166

103:                                              ; preds = %99
  %104 = getelementptr inbounds %"class.chw::RawPressModel", ptr %15, i32 0, i32 4
  call void @_ZN3chw6Ticker9resetTimeEv(ptr noundef nonnull align 8 dereferenceable(48) %104)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 0, ptr %12, align 4, !tbaa !16
  br label %105

105:                                              ; preds = %164, %103
  br label %106

106:                                              ; preds = %105
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.chw::_MsgHdr_", ptr %107, i32 0, i32 0
  %109 = load i32, ptr %108, align 1, !tbaa !17
  %110 = add i32 %109, 1
  store i32 %110, ptr %108, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %111 = getelementptr inbounds %"class.chw::RawPressModel", ptr %15, i32 0, i32 1
  %112 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3chw14RawPressClientELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %111) #8
  %113 = load ptr, ptr %4, align 8, !tbaa !5
  %114 = load i32, ptr %3, align 4, !tbaa !16
  %115 = getelementptr inbounds %"class.chw::RawPressModel", ptr %15, i32 0, i32 1
  %116 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3chw14RawPressClientELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %115) #8
  %117 = getelementptr inbounds %"class.chw::RawSocket", ptr %116, i32 0, i32 3
  %118 = call noundef i32 @_ZN3chw6Client9send_addrEPcjP8sockaddri(ptr noundef nonnull align 8 dereferenceable(120) %112, ptr noundef %113, i32 noundef %114, ptr noundef %117, i32 noundef 20)
  store i32 %118, ptr %13, align 4, !tbaa !16
  %119 = load i32, ptr %13, align 4, !tbaa !16
  %120 = load i32, ptr %3, align 4, !tbaa !16
  %121 = icmp eq i32 %119, %120
  br i1 %121, label %122, label %134

122:                                              ; preds = %106
  %123 = getelementptr inbounds %"class.chw::RawPressModel", ptr %15, i32 0, i32 6
  %124 = load volatile i64, ptr %123, align 8, !tbaa !45
  %125 = add i64 %124, 1
  store volatile i64 %125, ptr %123, align 8, !tbaa !45
  %126 = getelementptr inbounds %"class.chw::RawPressModel", ptr %15, i32 0, i32 7
  %127 = load i64, ptr %126, align 8, !tbaa !46
  %128 = add i64 %127, 1
  store i64 %128, ptr %126, align 8, !tbaa !46
  %129 = load i32, ptr %13, align 4, !tbaa !16
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds %"class.chw::RawPressModel", ptr %15, i32 0, i32 8
  %132 = load i64, ptr %131, align 8, !tbaa !47
  %133 = add i64 %132, %130
  store i64 %133, ptr %131, align 8, !tbaa !47
  br label %139

134:                                              ; preds = %106
  %135 = load ptr, ptr %15, align 8, !tbaa !48
  %136 = getelementptr inbounds ptr, ptr %135, i64 3
  %137 = load ptr, ptr %136, align 8
  call void %137(ptr noundef nonnull align 8 dereferenceable(240) %15)
  %138 = call i32 @usleep(i32 noundef 100000)
  call void @exit(i32 noundef 1) #9
  unreachable

139:                                              ; preds = %122
  %140 = load i32, ptr %13, align 4, !tbaa !16
  %141 = load i32, ptr %12, align 4, !tbaa !16
  %142 = add i32 %141, %140
  store i32 %142, ptr %12, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 2, ptr %14) #8
  %143 = getelementptr inbounds %"class.chw::RawPressModel", ptr %15, i32 0, i32 4
  %144 = call noundef i64 @_ZNK3chw6Ticker11elapsedTimeEv(ptr noundef nonnull align 8 dereferenceable(48) %143)
  %145 = trunc i64 %144 to i16
  store i16 %145, ptr %14, align 2, !tbaa !53
  %146 = load i16, ptr %14, align 2, !tbaa !53
  %147 = zext i16 %146 to i32
  %148 = icmp sge i32 %147, 100
  br i1 %148, label %149, label %150

149:                                              ; preds = %139
  store i32 7, ptr %8, align 4
  br label %162

150:                                              ; preds = %139
  %151 = load i32, ptr %12, align 4, !tbaa !16
  %152 = load i32, ptr %11, align 4, !tbaa !16
  %153 = icmp uge i32 %151, %152
  br i1 %153, label %154, label %161

154:                                              ; preds = %150
  %155 = load i16, ptr %14, align 2, !tbaa !53
  %156 = zext i16 %155 to i32
  %157 = sub nsw i32 100, %156
  %158 = sub nsw i32 %157, 1
  %159 = mul nsw i32 %158, 1000
  %160 = call i32 @usleep(i32 noundef %159)
  store i32 7, ptr %8, align 4
  br label %162

161:                                              ; preds = %150
  store i32 0, ptr %8, align 4
  br label %162

162:                                              ; preds = %161, %154, %149
  call void @llvm.lifetime.end.p0(i64 2, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  %163 = load i32, ptr %8, align 4
  switch i32 %163, label %170 [
    i32 0, label %164
    i32 7, label %165
  ]

164:                                              ; preds = %162
  br label %105, !llvm.loop !54

165:                                              ; preds = %162
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %99, !llvm.loop !55

166:                                              ; preds = %99
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  store i32 0, ptr %8, align 4
  br label %167

167:                                              ; preds = %166, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  %168 = load i32, ptr %8, align 4
  switch i32 %168, label %170 [
    i32 0, label %169
    i32 1, label %169
  ]

169:                                              ; preds = %167, %167
  ret void

170:                                              ; preds = %167, %162
  unreachable
}

declare i32 @usleep(i32 noundef) #3

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext) #7

declare noundef i32 @_ZN3chw6Client9send_addrEPcjP8sockaddri(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef, i32 noundef, ptr noundef, i32 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "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 = { 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 #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { 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 = !{!12, !12, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !12, i64 4}
!19 = !{!"_ZTSN3chw8_MsgHdr_E", !7, i64 0, !12, i64 4}
!20 = !{!21, !13, i64 12}
!21 = !{!"_ZTSN3chw6ethhdrE", !7, i64 0, !7, i64 6, !13, i64 12}
!22 = !{!10, !12, i64 52}
!23 = !{!24, !37, i64 72}
!24 = !{!"_ZTSN3chw13RawPressModelE", !25, i64 0, !33, i64 40, !35, i64 56, !37, i64 72, !38, i64 80, !38, i64 128, !39, i64 176, !39, i64 184, !39, i64 192, !12, i64 200, !12, i64 204, !39, i64 208, !39, i64 216, !39, i64 224, !39, i64 232}
!25 = !{!"_ZTSN3chw9workmodelE", !26, i64 8, !30, i64 24}
!26 = !{!"_ZTSSt23enable_shared_from_thisIN3chw9workmodelEE", !27, i64 0}
!27 = !{!"_ZTSSt8weak_ptrIN3chw9workmodelEE", !28, i64 0}
!28 = !{!"_ZTSSt10__weak_ptrIN3chw9workmodelELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !29, i64 8}
!29 = !{!"_ZTSSt12__weak_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!30 = !{!"_ZTSSt10shared_ptrIN3chw9EventLoopEE", !31, i64 0}
!31 = !{!"_ZTSSt12__shared_ptrIN3chw9EventLoopELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !32, i64 8}
!32 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!33 = !{!"_ZTSSt10shared_ptrIN3chw14RawPressClientEE", !34, i64 0}
!34 = !{!"_ZTSSt12__shared_ptrIN3chw14RawPressClientELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !32, i64 8}
!35 = !{!"_ZTSSt10shared_ptrIN3chw5TimerEE", !36, i64 0}
!36 = !{!"_ZTSSt12__shared_ptrIN3chw5TimerELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !32, i64 8}
!37 = !{!"bool", !7, i64 0}
!38 = !{!"_ZTSN3chw6TickerE", !39, i64 0, !39, i64 8, !39, i64 16, !40, i64 24}
!39 = !{!"long", !7, i64 0}
!40 = !{!"_ZTSN3chw17LogContextCaptureE", !41, i64 0, !6, i64 16}
!41 = !{!"_ZTSSt10shared_ptrIN3chw10LogContextEE", !42, i64 0}
!42 = !{!"_ZTSSt12__shared_ptrIN3chw10LogContextELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !32, i64 8}
!43 = !{i8 0, i8 2}
!44 = !{}
!45 = !{!24, !39, i64 176}
!46 = !{!24, !39, i64 184}
!47 = !{!24, !39, i64 192}
!48 = !{!49, !49, i64 0}
!49 = !{!"vtable pointer", !8, i64 0}
!50 = distinct !{!50, !51}
!51 = !{!"llvm.loop.mustprogress"}
!52 = !{!14, !14, i64 0}
!53 = !{!13, !13, i64 0}
!54 = distinct !{!54, !51}
!55 = distinct !{!55, !51}


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

@_ZN3chw10gConfigCmdE = external local_unnamed_addr global %"struct.chw::ConfigCmd", align 8

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3chw13RawPressModel18start_client_pressEv(ptr noundef nonnull align 8 dereferenceable(240) %0) local_unnamed_addr #0 align 2 {
  %2 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 48), align 8, !tbaa !5
  %3 = icmp ult i32 %2, 8
  br i1 %3, label %4, label %5

4:                                                ; preds = %1
  store i32 8, ptr getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 48), align 8, !tbaa !5
  br label %5

5:                                                ; preds = %4, %1
  %6 = phi i32 [ 8, %4 ], [ %2, %1 ]
  %7 = add i32 %6, 14
  %8 = zext i32 %7 to i64
  %9 = tail call noundef ptr @_ZN3chwL6mallocEm(i64 noundef %8)
  %10 = getelementptr inbounds i8, ptr %9, i64 14
  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 %9, i64 18
  store i32 %11, ptr %12, align 1, !tbaa !16
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(6) %9, ptr noundef nonnull align 8 dereferenceable(6) getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 72), i64 6, i1 false)
  %13 = getelementptr inbounds i8, ptr %9, i64 6
  %14 = getelementptr inbounds i8, ptr %0, i64 40
  %15 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3chw14RawPressClientELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  %16 = getelementptr inbounds i8, ptr %15, i64 120
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(6) %13, ptr noundef nonnull align 8 dereferenceable(6) %16, i64 6, i1 false)
  %17 = tail call noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext -254)
  %18 = getelementptr inbounds i8, ptr %9, i64 12
  store i16 %17, ptr %18, align 1, !tbaa !18
  %19 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3chw10gConfigCmdE, i64 52), align 4, !tbaa !20
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %.preheader, label %47

.preheader:                                       ; preds = %5
  %21 = getelementptr inbounds i8, ptr %0, i64 72
  %22 = load i8, ptr %21, align 8, !tbaa !21, !range !41, !noundef !42
  %23 = trunc nuw i8 %22 to i1
  br i1 %23, label %.lr.ph36, label %.loopexit

.lr.ph36:                                         ; preds = %.preheader
  %24 = getelementptr inbounds i8, ptr %0, i64 176
  %25 = getelementptr inbounds i8, ptr %0, i64 184
  %26 = insertelement <2 x i64> <i64 1, i64 poison>, i64 %8, i64 1
  br label %27

27:                                               ; preds = %.lr.ph36, %35
  %28 = load i32, ptr %10, align 1, !tbaa !15
  %29 = add i32 %28, 1
  store i32 %29, ptr %10, align 1, !tbaa !15
  %30 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3chw14RawPressClientELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  %31 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3chw14RawPressClientELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  %32 = getelementptr inbounds i8, ptr %31, i64 128
  %33 = tail call noundef i32 @_ZN3chw6Client9send_addrEPcjP8sockaddri(ptr noundef nonnull align 8 dereferenceable(120) %30, ptr noundef nonnull %9, i32 noundef %7, ptr noundef nonnull %32, i32 noundef 20)
  %34 = icmp eq i32 %33, %7
  br i1 %34, label %35, label %42

35:                                               ; preds = %27
  %36 = load volatile i64, ptr %24, align 8, !tbaa !43
  %37 = add i64 %36, 1
  store volatile i64 %37, ptr %24, align 8, !tbaa !43
  %38 = load <2 x i64>, ptr %25, align 8, !tbaa !44
  %39 = add <2 x i64> %38, %26
  store <2 x i64> %39, ptr %25, align 8, !tbaa !44
  %40 = load i8, ptr %21, align 8, !tbaa !21, !range !41, !noundef !42
  %41 = trunc nuw i8 %40 to i1
  br i1 %41, label %27, label %.loopexit, !llvm.loop !45

42:                                               ; preds = %27
  %43 = load ptr, ptr %0, align 8, !tbaa !47
  %44 = getelementptr inbounds i8, ptr %43, i64 24
  %45 = load ptr, ptr %44, align 8
  tail call void %45(ptr noundef nonnull align 8 dereferenceable(240) %0)
  %46 = tail call i32 @usleep(i32 noundef 100000)
  tail call void @exit(i32 noundef 1) #8
  unreachable

47:                                               ; preds = %5
  %48 = uitofp i32 %19 to double
  %49 = fmul double %48, 1.024000e+03
  %50 = fmul double %49, 1.024000e+03
  %51 = fptoui double %50 to i32
  %52 = udiv i32 %51, 10
  %53 = getelementptr inbounds i8, ptr %0, i64 72
  %54 = load i8, ptr %53, align 8, !tbaa !21, !range !41, !noundef !42
  %55 = trunc nuw i8 %54 to i1
  br i1 %55, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %47
  %56 = getelementptr inbounds i8, ptr %0, i64 80
  %57 = getelementptr inbounds i8, ptr %0, i64 176
  %58 = getelementptr inbounds i8, ptr %0, i64 184
  %59 = insertelement <2 x i64> <i64 1, i64 poison>, i64 %8, i64 1
  br label %62

.critedge:                                        ; preds = %71, %87
  %60 = load i8, ptr %53, align 8, !tbaa !21, !range !41, !noundef !42
  %61 = trunc nuw i8 %60 to i1
  br i1 %61, label %62, label %.loopexit

62:                                               ; preds = %.lr.ph, %.critedge
  tail call void @_ZN3chw6Ticker9resetTimeEv(ptr noundef nonnull align 8 dereferenceable(48) %56)
  br label %63

63:                                               ; preds = %85, %62
  %.029 = phi i32 [ 0, %62 ], [ %86, %85 ]
  %64 = load i32, ptr %10, align 1, !tbaa !15
  %65 = add i32 %64, 1
  store i32 %65, ptr %10, align 1, !tbaa !15
  %66 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3chw14RawPressClientELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  %67 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3chw14RawPressClientELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  %68 = getelementptr inbounds i8, ptr %67, i64 128
  %69 = tail call noundef i32 @_ZN3chw6Client9send_addrEPcjP8sockaddri(ptr noundef nonnull align 8 dereferenceable(120) %66, ptr noundef nonnull %9, i32 noundef %7, ptr noundef nonnull %68, i32 noundef 20)
  %70 = icmp eq i32 %69, %7
  br i1 %70, label %71, label %80

71:                                               ; preds = %63
  %72 = load volatile i64, ptr %57, align 8, !tbaa !43
  %73 = add i64 %72, 1
  store volatile i64 %73, ptr %57, align 8, !tbaa !43
  %74 = load <2 x i64>, ptr %58, align 8, !tbaa !44
  %75 = add <2 x i64> %74, %59
  store <2 x i64> %75, ptr %58, align 8, !tbaa !44
  %76 = tail call noundef i64 @_ZNK3chw6Ticker11elapsedTimeEv(ptr noundef nonnull align 8 dereferenceable(48) %56)
  %77 = trunc i64 %76 to i32
  %78 = and i32 %77, 65535
  %79 = icmp ugt i32 %78, 99
  br i1 %79, label %.critedge, label %85

80:                                               ; preds = %63
  %81 = load ptr, ptr %0, align 8, !tbaa !47
  %82 = getelementptr inbounds i8, ptr %81, i64 24
  %83 = load ptr, ptr %82, align 8
  tail call void %83(ptr noundef nonnull align 8 dereferenceable(240) %0)
  %84 = tail call i32 @usleep(i32 noundef 100000)
  tail call void @exit(i32 noundef 1) #8
  unreachable

85:                                               ; preds = %71
  %86 = add i32 %7, %.029
  %.not = icmp ult i32 %86, %52
  br i1 %.not, label %63, label %87, !llvm.loop !49

87:                                               ; preds = %85
  %88 = sub nuw nsw i32 99, %78
  %89 = mul nuw nsw i32 %88, 1000
  %90 = tail call i32 @usleep(i32 noundef %89)
  br label %.critedge

.loopexit:                                        ; preds = %.critedge, %35, %47, %.preheader
  ret void
}

declare i32 @usleep(i32 noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext) local_unnamed_addr #6

declare noundef i32 @_ZN3chw6Client9send_addrEPcjP8sockaddri(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { 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 #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 = { 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = !{!19, !12, i64 12}
!19 = !{!"_ZTSN3chw6ethhdrE", !7, i64 0, !7, i64 6, !12, i64 12}
!20 = !{!6, !11, i64 52}
!21 = !{!22, !35, i64 72}
!22 = !{!"_ZTSN3chw13RawPressModelE", !23, i64 0, !31, i64 40, !33, i64 56, !35, i64 72, !36, i64 80, !36, i64 128, !37, i64 176, !37, i64 184, !37, i64 192, !11, i64 200, !11, i64 204, !37, i64 208, !37, i64 216, !37, i64 224, !37, i64 232}
!23 = !{!"_ZTSN3chw9workmodelE", !24, i64 8, !28, i64 24}
!24 = !{!"_ZTSSt23enable_shared_from_thisIN3chw9workmodelEE", !25, i64 0}
!25 = !{!"_ZTSSt8weak_ptrIN3chw9workmodelEE", !26, i64 0}
!26 = !{!"_ZTSSt10__weak_ptrIN3chw9workmodelELN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0, !27, i64 8}
!27 = !{!"_ZTSSt12__weak_countILN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0}
!28 = !{!"_ZTSSt10shared_ptrIN3chw9EventLoopEE", !29, i64 0}
!29 = !{!"_ZTSSt12__shared_ptrIN3chw9EventLoopELN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0, !30, i64 8}
!30 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0}
!31 = !{!"_ZTSSt10shared_ptrIN3chw14RawPressClientEE", !32, i64 0}
!32 = !{!"_ZTSSt12__shared_ptrIN3chw14RawPressClientELN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0, !30, i64 8}
!33 = !{!"_ZTSSt10shared_ptrIN3chw5TimerEE", !34, i64 0}
!34 = !{!"_ZTSSt12__shared_ptrIN3chw5TimerELN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0, !30, 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, !30, i64 8}
!41 = !{i8 0, i8 2}
!42 = !{}
!43 = !{!22, !37, i64 176}
!44 = !{!37, !37, i64 0}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.mustprogress"}
!47 = !{!48, !48, i64 0}
!48 = !{!"vtable pointer", !8, i64 0}
!49 = distinct !{!49, !46}


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