; LLVM IR from gem5/gem5 :: src/systemc/tests/tlm/endian_conv (test_endian_conv)

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.14 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [12 x i8], align 1

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

; 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
define dso_local void @_Z17test_a_conversioncRN3tlm19tlm_generic_payloadERSt14basic_ifstreamIcSt11char_traitsIcEE(i8 noundef signext %0, ptr noundef nonnull align 8 dereferenceable(140) %1, ptr noundef nonnull align 8 dereferenceable(256) %2) #1 {
  %4 = alloca i8, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i8, align 1
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca [2049 x i8], align 16
  %20 = alloca [2049 x i8], align 16
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  store i8 %0, ptr %4, align 1, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !8
  store ptr %2, ptr %6, align 8, !tbaa !8
  %28 = load i8, ptr %4, align 1, !tbaa !5
  %29 = sext i8 %28 to i32
  %30 = icmp eq i32 %29, 82
  br i1 %30, label %31, label %33

31:                                               ; preds = %3
  %32 = load ptr, ptr %5, align 8, !tbaa !8
  call void @_ZN3tlm19tlm_generic_payload8set_readEv(ptr noundef nonnull align 8 dereferenceable(140) %32)
  br label %35

33:                                               ; preds = %3
  %34 = load ptr, ptr %5, align 8, !tbaa !8
  call void @_ZN3tlm19tlm_generic_payload9set_writeEv(ptr noundef nonnull align 8 dereferenceable(140) %34)
  br label %35

35:                                               ; preds = %33, %31
  %36 = load ptr, ptr %6, align 8, !tbaa !8
  %37 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %36, i64 noundef 10000, i32 noundef 61)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #12
  %38 = load ptr, ptr %6, align 8, !tbaa !8
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %40 = load ptr, ptr %5, align 8, !tbaa !8
  %41 = load i64, ptr %7, align 8, !tbaa !10
  call void @_ZN3tlm19tlm_generic_payload11set_addressEy(ptr noundef nonnull align 8 dereferenceable(140) %40, i64 noundef %41)
  %42 = load ptr, ptr %6, align 8, !tbaa !8
  %43 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %42, i64 noundef 10000, i32 noundef 61)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #12
  %44 = load ptr, ptr %6, align 8, !tbaa !8
  %45 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %46 = load ptr, ptr %5, align 8, !tbaa !8
  %47 = load i32, ptr %8, align 4, !tbaa !12
  call void @_ZN3tlm19tlm_generic_payload15set_data_lengthEj(ptr noundef nonnull align 8 dereferenceable(140) %46, i32 noundef %47)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #12
  %48 = load ptr, ptr %6, align 8, !tbaa !8
  %49 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %48, i64 noundef 10000, i32 noundef 61)
  %50 = load ptr, ptr %6, align 8, !tbaa !8
  %51 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %50, ptr noundef nonnull align 4 dereferenceable(4) %9)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #12
  %52 = load ptr, ptr %6, align 8, !tbaa !8
  %53 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %52, i64 noundef 10000, i32 noundef 61)
  %54 = load ptr, ptr %6, align 8, !tbaa !8
  %55 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #12
  %56 = load ptr, ptr %6, align 8, !tbaa !8
  %57 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %56, i64 noundef 10000, i32 noundef 61)
  %58 = load ptr, ptr %6, align 8, !tbaa !8
  %59 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef nonnull align 4 dereferenceable(4) %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #12
  store ptr null, ptr %12, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #12
  %60 = load ptr, ptr %5, align 8, !tbaa !8
  %61 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %60)
  %62 = add i32 %61, 1
  %63 = zext i32 %62 to i64
  %64 = call noalias noundef nonnull ptr @_Znam(i64 noundef %63) #13
  store ptr %64, ptr %13, align 8, !tbaa !8
  %65 = load ptr, ptr %13, align 8, !tbaa !8
  %66 = load ptr, ptr %5, align 8, !tbaa !8
  %67 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %66)
  %68 = add i32 %67, 1
  %69 = zext i32 %68 to i64
  call void @llvm.memset.p0.i64(ptr align 1 %65, i8 0, i64 %69, i1 false)
  %70 = load ptr, ptr %6, align 8, !tbaa !8
  %71 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %70, i64 noundef 10000, i32 noundef 61)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #12
  store i32 0, ptr %14, align 4, !tbaa !12
  br label %72

72:                                               ; preds = %103, %35
  %73 = load i32, ptr %14, align 4, !tbaa !12
  %74 = load ptr, ptr %5, align 8, !tbaa !8
  %75 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %74)
  %76 = icmp ult i32 %73, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %72
  store i32 2, ptr %15, align 4
  br label %106

78:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #12
  %79 = load ptr, ptr %6, align 8, !tbaa !8
  %80 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %79, ptr noundef nonnull align 1 dereferenceable(1) %16)
  %81 = load i8, ptr %16, align 1, !tbaa !5
  %82 = sext i8 %81 to i32
  %83 = icmp eq i32 %82, 48
  br i1 %83, label %92, label %84

84:                                               ; preds = %78
  %85 = load i8, ptr %16, align 1, !tbaa !5
  %86 = sext i8 %85 to i32
  %87 = icmp eq i32 %86, 49
  br i1 %87, label %92, label %88

88:                                               ; preds = %84
  %89 = load i8, ptr %16, align 1, !tbaa !5
  %90 = sext i8 %89 to i32
  %91 = icmp eq i32 %90, 120
  br i1 %91, label %92, label %98

92:                                               ; preds = %88, %84, %78
  %93 = load i8, ptr %16, align 1, !tbaa !5
  %94 = load ptr, ptr %13, align 8, !tbaa !8
  %95 = load i32, ptr %14, align 4, !tbaa !12
  %96 = zext i32 %95 to i64
  %97 = getelementptr inbounds i8, ptr %94, i64 %96
  store i8 %93, ptr %97, align 1, !tbaa !5
  br label %99

98:                                               ; preds = %88
  store i32 2, ptr %15, align 4
  br label %100

99:                                               ; preds = %92
  store i32 0, ptr %15, align 4
  br label %100

100:                                              ; preds = %99, %98
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #12
  %101 = load i32, ptr %15, align 4
  switch i32 %101, label %106 [
    i32 0, label %102
  ]

102:                                              ; preds = %100
  br label %103

103:                                              ; preds = %102
  %104 = load i32, ptr %14, align 4, !tbaa !12
  %105 = add i32 %104, 1
  store i32 %105, ptr %14, align 4, !tbaa !12
  br label %72, !llvm.loop !14

106:                                              ; preds = %100, %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #12
  br label %107

107:                                              ; preds = %106
  %108 = load ptr, ptr %13, align 8, !tbaa !8
  %109 = getelementptr inbounds i8, ptr %108, i64 0
  %110 = load i8, ptr %109, align 1, !tbaa !5
  %111 = zext i8 %110 to i32
  %112 = icmp eq i32 %111, 49
  br i1 %112, label %119, label %113

113:                                              ; preds = %107
  %114 = load ptr, ptr %13, align 8, !tbaa !8
  %115 = getelementptr inbounds i8, ptr %114, i64 0
  %116 = load i8, ptr %115, align 1, !tbaa !5
  %117 = zext i8 %116 to i32
  %118 = icmp eq i32 %117, 48
  br i1 %118, label %119, label %174

119:                                              ; preds = %113, %107
  %120 = load ptr, ptr %5, align 8, !tbaa !8
  %121 = load ptr, ptr %5, align 8, !tbaa !8
  %122 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %121)
  %123 = zext i32 %122 to i64
  %124 = call noalias noundef nonnull ptr @_Znam(i64 noundef %123) #13
  call void @_ZN3tlm19tlm_generic_payload19set_byte_enable_ptrEPh(ptr noundef nonnull align 8 dereferenceable(140) %120, ptr noundef %124)
  %125 = load ptr, ptr %5, align 8, !tbaa !8
  %126 = load ptr, ptr %5, align 8, !tbaa !8
  %127 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %126)
  call void @_ZN3tlm19tlm_generic_payload22set_byte_enable_lengthEj(ptr noundef nonnull align 8 dereferenceable(140) %125, i32 noundef %127)
  %128 = load ptr, ptr %5, align 8, !tbaa !8
  %129 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %128)
  store ptr %129, ptr %12, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #12
  store i32 0, ptr %17, align 4, !tbaa !12
  br label %130

130:                                              ; preds = %169, %119
  %131 = load i32, ptr %17, align 4, !tbaa !12
  %132 = load ptr, ptr %5, align 8, !tbaa !8
  %133 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %132)
  %134 = icmp ult i32 %131, %133
  br i1 %134, label %136, label %135

135:                                              ; preds = %130
  store i32 5, ptr %15, align 4
  br label %172

136:                                              ; preds = %130
  %137 = load ptr, ptr %13, align 8, !tbaa !8
  %138 = load i32, ptr %17, align 4, !tbaa !12
  %139 = zext i32 %138 to i64
  %140 = getelementptr inbounds i8, ptr %137, i64 %139
  %141 = load i8, ptr %140, align 1, !tbaa !5
  %142 = zext i8 %141 to i32
  %143 = icmp eq i32 %142, 48
  br i1 %143, label %144, label %150

144:                                              ; preds = %136
  %145 = load ptr, ptr %5, align 8, !tbaa !8
  %146 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %145)
  %147 = load i32, ptr %17, align 4, !tbaa !12
  %148 = zext i32 %147 to i64
  %149 = getelementptr inbounds i8, ptr %146, i64 %148
  store i8 0, ptr %149, align 1, !tbaa !5
  br label %168

150:                                              ; preds = %136
  %151 = load ptr, ptr %13, align 8, !tbaa !8
  %152 = load i32, ptr %17, align 4, !tbaa !12
  %153 = zext i32 %152 to i64
  %154 = getelementptr inbounds i8, ptr %151, i64 %153
  %155 = load i8, ptr %154, align 1, !tbaa !5
  %156 = zext i8 %155 to i32
  %157 = icmp eq i32 %156, 49
  br i1 %157, label %158, label %164

158:                                              ; preds = %150
  %159 = load ptr, ptr %5, align 8, !tbaa !8
  %160 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %159)
  %161 = load i32, ptr %17, align 4, !tbaa !12
  %162 = zext i32 %161 to i64
  %163 = getelementptr inbounds i8, ptr %160, i64 %162
  store i8 -1, ptr %163, align 1, !tbaa !5
  br label %167

164:                                              ; preds = %150
  %165 = load ptr, ptr %5, align 8, !tbaa !8
  %166 = load i32, ptr %17, align 4, !tbaa !12
  call void @_ZN3tlm19tlm_generic_payload22set_byte_enable_lengthEj(ptr noundef nonnull align 8 dereferenceable(140) %165, i32 noundef %166)
  store i32 5, ptr %15, align 4
  br label %172

167:                                              ; preds = %158
  br label %168

168:                                              ; preds = %167, %144
  br label %169

169:                                              ; preds = %168
  %170 = load i32, ptr %17, align 4, !tbaa !12
  %171 = add i32 %170, 1
  store i32 %171, ptr %17, align 4, !tbaa !12
  br label %130, !llvm.loop !16

172:                                              ; preds = %164, %135
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #12
  br label %173

173:                                              ; preds = %172
  br label %177

174:                                              ; preds = %113
  %175 = load ptr, ptr %5, align 8, !tbaa !8
  call void @_ZN3tlm19tlm_generic_payload19set_byte_enable_ptrEPh(ptr noundef nonnull align 8 dereferenceable(140) %175, ptr noundef null)
  %176 = load ptr, ptr %5, align 8, !tbaa !8
  call void @_ZN3tlm19tlm_generic_payload22set_byte_enable_lengthEj(ptr noundef nonnull align 8 dereferenceable(140) %176, i32 noundef 0)
  br label %177

177:                                              ; preds = %174, %173
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #12
  %178 = load ptr, ptr %6, align 8, !tbaa !8
  %179 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %178, i64 noundef 10000, i32 noundef 61)
  %180 = load ptr, ptr %6, align 8, !tbaa !8
  %181 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %180, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %182 = load ptr, ptr %5, align 8, !tbaa !8
  %183 = load i32, ptr %18, align 4, !tbaa !12
  call void @_ZN3tlm19tlm_generic_payload19set_streaming_widthEj(ptr noundef nonnull align 8 dereferenceable(140) %182, i32 noundef %183)
  %184 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.14)
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %184, i32 noundef 2048)
  %186 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef @.str.15)
  call void @llvm.lifetime.start.p0(i64 2049, ptr %19) #12
  %187 = getelementptr inbounds [2049 x i8], ptr %19, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %187, i8 0, i64 2049, i1 false)
  %188 = load ptr, ptr %6, align 8, !tbaa !8
  %189 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %188, i64 noundef 10000, i32 noundef 61)
  %190 = load ptr, ptr %6, align 8, !tbaa !8
  %191 = getelementptr inbounds [2049 x i8], ptr %19, i64 0, i64 0
  %192 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsISt11char_traitsIcEERSt13basic_istreamIcT_ES5_Ph(ptr noundef nonnull align 8 dereferenceable(16) %190, ptr noundef %191)
  %193 = load ptr, ptr %5, align 8, !tbaa !8
  %194 = getelementptr inbounds [2049 x i8], ptr %19, i64 0, i64 0
  %195 = load i32, ptr %11, align 4, !tbaa !12
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds i8, ptr %194, i64 %196
  call void @_ZN3tlm19tlm_generic_payload12set_data_ptrEPh(ptr noundef nonnull align 8 dereferenceable(140) %193, ptr noundef %197)
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.16)
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %198, i32 noundef 2048)
  %200 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %199, ptr noundef @.str.15)
  call void @llvm.lifetime.start.p0(i64 2049, ptr %20) #12
  %201 = getelementptr inbounds [2049 x i8], ptr %20, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %201, i8 0, i64 2049, i1 false)
  %202 = load ptr, ptr %6, align 8, !tbaa !8
  %203 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %202, i64 noundef 10000, i32 noundef 61)
  %204 = load ptr, ptr %6, align 8, !tbaa !8
  %205 = getelementptr inbounds [2049 x i8], ptr %20, i64 0, i64 0
  %206 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsISt11char_traitsIcEERSt13basic_istreamIcT_ES5_Ph(ptr noundef nonnull align 8 dereferenceable(16) %204, ptr noundef %205)
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.17)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #12
  %208 = load ptr, ptr %6, align 8, !tbaa !8
  %209 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %208, i64 noundef 10000, i32 noundef 61)
  %210 = load ptr, ptr %6, align 8, !tbaa !8
  %211 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %210, ptr noundef nonnull align 4 dereferenceable(4) %21)
  %212 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.18)
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.19)
  %214 = load i8, ptr %4, align 1, !tbaa !5
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %213, i8 noundef signext %214)
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %215, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %217 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.20)
  %218 = load ptr, ptr %5, align 8, !tbaa !8
  %219 = call noundef i64 @_ZNK3tlm19tlm_generic_payload11get_addressEv(ptr noundef nonnull align 8 dereferenceable(140) %218)
  %220 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) %217, i64 noundef %219)
  %221 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %220, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %222 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.21)
  %223 = load ptr, ptr %5, align 8, !tbaa !8
  %224 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %223)
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %222, i32 noundef %224)
  %226 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %225, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %227 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.22)
  %228 = load i32, ptr %9, align 4, !tbaa !12
  %229 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %227, i32 noundef %228)
  %230 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %229, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %231 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.23)
  %232 = load i32, ptr %10, align 4, !tbaa !12
  %233 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %231, i32 noundef %232)
  %234 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %233, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %235 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.24)
  %236 = load i32, ptr %11, align 4, !tbaa !12
  %237 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %235, i32 noundef %236)
  %238 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %237, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %239 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.25)
  %240 = load ptr, ptr %13, align 8, !tbaa !8
  %241 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKh(ptr noundef nonnull align 8 dereferenceable(8) %239, ptr noundef %240)
  %242 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %241, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %243 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.26)
  %244 = load ptr, ptr %5, align 8, !tbaa !8
  %245 = call noundef i32 @_ZNK3tlm19tlm_generic_payload22get_byte_enable_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %244)
  %246 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %243, i32 noundef %245)
  %247 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %246, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %248 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.27)
  %249 = load ptr, ptr %5, align 8, !tbaa !8
  %250 = call noundef i32 @_ZNK3tlm19tlm_generic_payload19get_streaming_widthEv(ptr noundef nonnull align 8 dereferenceable(140) %249)
  %251 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %248, i32 noundef %250)
  %252 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %251, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %253 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.28)
  %254 = getelementptr inbounds [2049 x i8], ptr %19, i64 0, i64 0
  %255 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKh(ptr noundef nonnull align 8 dereferenceable(8) %253, ptr noundef %254)
  %256 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %255, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %257 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.29)
  %258 = getelementptr inbounds [2049 x i8], ptr %20, i64 0, i64 0
  %259 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKh(ptr noundef nonnull align 8 dereferenceable(8) %257, ptr noundef %258)
  %260 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %259, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %261 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.30)
  %262 = load i32, ptr %21, align 4, !tbaa !12
  %263 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %261, i32 noundef %262)
  %264 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %263, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %265 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %264, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %266 = load i32, ptr %21, align 4, !tbaa !12
  switch i32 %266, label %382 [
    i32 0, label %267
    i32 1, label %290
    i32 2, label %313
    i32 3, label %336
    i32 4, label %359
  ]

267:                                              ; preds = %177
  %268 = load i32, ptr %10, align 4, !tbaa !12
  switch i32 %268, label %287 [
    i32 1, label %269
    i32 2, label %272
    i32 4, label %275
    i32 8, label %278
    i32 16, label %281
    i32 32, label %284
  ]

269:                                              ; preds = %267
  %270 = load ptr, ptr %5, align 8, !tbaa !8
  %271 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %270, i32 noundef %271)
  br label %289

272:                                              ; preds = %267
  %273 = load ptr, ptr %5, align 8, !tbaa !8
  %274 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %273, i32 noundef %274)
  br label %289

275:                                              ; preds = %267
  %276 = load ptr, ptr %5, align 8, !tbaa !8
  %277 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %276, i32 noundef %277)
  br label %289

278:                                              ; preds = %267
  %279 = load ptr, ptr %5, align 8, !tbaa !8
  %280 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %279, i32 noundef %280)
  br label %289

281:                                              ; preds = %267
  %282 = load ptr, ptr %5, align 8, !tbaa !8
  %283 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %282, i32 noundef %283)
  br label %289

284:                                              ; preds = %267
  %285 = load ptr, ptr %5, align 8, !tbaa !8
  %286 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %285, i32 noundef %286)
  br label %289

287:                                              ; preds = %267
  %288 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

289:                                              ; preds = %284, %281, %278, %275, %272, %269
  br label %387

290:                                              ; preds = %177
  %291 = load i32, ptr %10, align 4, !tbaa !12
  switch i32 %291, label %310 [
    i32 1, label %292
    i32 2, label %295
    i32 4, label %298
    i32 8, label %301
    i32 16, label %304
    i32 32, label %307
  ]

292:                                              ; preds = %290
  %293 = load ptr, ptr %5, align 8, !tbaa !8
  %294 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %293, i32 noundef %294)
  br label %312

295:                                              ; preds = %290
  %296 = load ptr, ptr %5, align 8, !tbaa !8
  %297 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %296, i32 noundef %297)
  br label %312

298:                                              ; preds = %290
  %299 = load ptr, ptr %5, align 8, !tbaa !8
  %300 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %299, i32 noundef %300)
  br label %312

301:                                              ; preds = %290
  %302 = load ptr, ptr %5, align 8, !tbaa !8
  %303 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %302, i32 noundef %303)
  br label %312

304:                                              ; preds = %290
  %305 = load ptr, ptr %5, align 8, !tbaa !8
  %306 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %305, i32 noundef %306)
  br label %312

307:                                              ; preds = %290
  %308 = load ptr, ptr %5, align 8, !tbaa !8
  %309 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %308, i32 noundef %309)
  br label %312

310:                                              ; preds = %290
  %311 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

312:                                              ; preds = %307, %304, %301, %298, %295, %292
  br label %387

313:                                              ; preds = %177
  %314 = load i32, ptr %10, align 4, !tbaa !12
  switch i32 %314, label %333 [
    i32 1, label %315
    i32 2, label %318
    i32 4, label %321
    i32 8, label %324
    i32 16, label %327
    i32 32, label %330
  ]

315:                                              ; preds = %313
  %316 = load ptr, ptr %5, align 8, !tbaa !8
  %317 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %316, i32 noundef %317)
  br label %335

318:                                              ; preds = %313
  %319 = load ptr, ptr %5, align 8, !tbaa !8
  %320 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %319, i32 noundef %320)
  br label %335

321:                                              ; preds = %313
  %322 = load ptr, ptr %5, align 8, !tbaa !8
  %323 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %322, i32 noundef %323)
  br label %335

324:                                              ; preds = %313
  %325 = load ptr, ptr %5, align 8, !tbaa !8
  %326 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %325, i32 noundef %326)
  br label %335

327:                                              ; preds = %313
  %328 = load ptr, ptr %5, align 8, !tbaa !8
  %329 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %328, i32 noundef %329)
  br label %335

330:                                              ; preds = %313
  %331 = load ptr, ptr %5, align 8, !tbaa !8
  %332 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %331, i32 noundef %332)
  br label %335

333:                                              ; preds = %313
  %334 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

335:                                              ; preds = %330, %327, %324, %321, %318, %315
  br label %387

336:                                              ; preds = %177
  %337 = load i32, ptr %10, align 4, !tbaa !12
  switch i32 %337, label %356 [
    i32 1, label %338
    i32 2, label %341
    i32 4, label %344
    i32 8, label %347
    i32 16, label %350
    i32 32, label %353
  ]

338:                                              ; preds = %336
  %339 = load ptr, ptr %5, align 8, !tbaa !8
  %340 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %339, i32 noundef %340)
  br label %358

341:                                              ; preds = %336
  %342 = load ptr, ptr %5, align 8, !tbaa !8
  %343 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %342, i32 noundef %343)
  br label %358

344:                                              ; preds = %336
  %345 = load ptr, ptr %5, align 8, !tbaa !8
  %346 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %345, i32 noundef %346)
  br label %358

347:                                              ; preds = %336
  %348 = load ptr, ptr %5, align 8, !tbaa !8
  %349 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %348, i32 noundef %349)
  br label %358

350:                                              ; preds = %336
  %351 = load ptr, ptr %5, align 8, !tbaa !8
  %352 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %351, i32 noundef %352)
  br label %358

353:                                              ; preds = %336
  %354 = load ptr, ptr %5, align 8, !tbaa !8
  %355 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %354, i32 noundef %355)
  br label %358

356:                                              ; preds = %336
  %357 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

358:                                              ; preds = %353, %350, %347, %344, %341, %338
  br label %387

359:                                              ; preds = %177
  %360 = load i32, ptr %10, align 4, !tbaa !12
  switch i32 %360, label %379 [
    i32 1, label %361
    i32 2, label %364
    i32 4, label %367
    i32 8, label %370
    i32 16, label %373
    i32 32, label %376
  ]

361:                                              ; preds = %359
  %362 = load ptr, ptr %5, align 8, !tbaa !8
  %363 = load i32, ptr %9, align 4, !tbaa !12
  call void @_Z17local_single_toheI2dtILi1EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef %362, i32 noundef %363)
  br label %381

364:                                              ; preds = %359
  %365 = load ptr, ptr %5, align 8, !tbaa !8
  %366 = load i32, ptr %9, align 4, !tbaa !12
  call void @_Z17local_single_toheI2dtILi2EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef %365, i32 noundef %366)
  br label %381

367:                                              ; preds = %359
  %368 = load ptr, ptr %5, align 8, !tbaa !8
  %369 = load i32, ptr %9, align 4, !tbaa !12
  call void @_Z17local_single_toheI2dtILi4EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef %368, i32 noundef %369)
  br label %381

370:                                              ; preds = %359
  %371 = load ptr, ptr %5, align 8, !tbaa !8
  %372 = load i32, ptr %9, align 4, !tbaa !12
  call void @_Z17local_single_toheI2dtILi8EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef %371, i32 noundef %372)
  br label %381

373:                                              ; preds = %359
  %374 = load ptr, ptr %5, align 8, !tbaa !8
  %375 = load i32, ptr %9, align 4, !tbaa !12
  call void @_Z17local_single_toheI2dtILi16EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef %374, i32 noundef %375)
  br label %381

376:                                              ; preds = %359
  %377 = load ptr, ptr %5, align 8, !tbaa !8
  %378 = load i32, ptr %9, align 4, !tbaa !12
  call void @_Z17local_single_toheI2dtILi32EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef %377, i32 noundef %378)
  br label %381

379:                                              ; preds = %359
  %380 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

381:                                              ; preds = %376, %373, %370, %367, %364, %361
  br label %387

382:                                              ; preds = %177
  %383 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.32)
  %384 = load i32, ptr %21, align 4, !tbaa !12
  %385 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %383, i32 noundef %384)
  %386 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %385, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @exit(i32 noundef 1) #14
  unreachable

387:                                              ; preds = %381, %358, %335, %312, %289
  %388 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.33)
  %389 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.20)
  %390 = load ptr, ptr %5, align 8, !tbaa !8
  %391 = call noundef i64 @_ZNK3tlm19tlm_generic_payload11get_addressEv(ptr noundef nonnull align 8 dereferenceable(140) %390)
  %392 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) %389, i64 noundef %391)
  %393 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %392, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %394 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.21)
  %395 = load ptr, ptr %5, align 8, !tbaa !8
  %396 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %395)
  %397 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %394, i32 noundef %396)
  %398 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %397, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %399 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.34)
  %400 = load ptr, ptr %5, align 8, !tbaa !8
  %401 = call noundef ptr @_ZNK3tlm19tlm_generic_payload12get_data_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %400)
  %402 = getelementptr inbounds [2049 x i8], ptr %19, i64 0, i64 0
  %403 = load i32, ptr %11, align 4, !tbaa !12
  %404 = sext i32 %403 to i64
  %405 = getelementptr inbounds i8, ptr %402, i64 %404
  %406 = icmp eq ptr %401, %405
  %407 = zext i1 %406 to i64
  %408 = select i1 %406, ptr @.str.35, ptr @.str.36
  %409 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %399, ptr noundef %408)
  %410 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %409, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %411 = load ptr, ptr %5, align 8, !tbaa !8
  %412 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %411)
  %413 = icmp ne ptr %412, null
  br i1 %413, label %414, label %446

414:                                              ; preds = %387
  %415 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.37)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #12
  store i32 0, ptr %22, align 4, !tbaa !12
  br label %416

416:                                              ; preds = %433, %414
  %417 = load i32, ptr %22, align 4, !tbaa !12
  %418 = load ptr, ptr %5, align 8, !tbaa !8
  %419 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %418)
  %420 = icmp ult i32 %417, %419
  br i1 %420, label %422, label %421

421:                                              ; preds = %416
  store i32 14, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #12
  br label %436

422:                                              ; preds = %416
  %423 = load ptr, ptr %5, align 8, !tbaa !8
  %424 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %423)
  %425 = load i32, ptr %22, align 4, !tbaa !12
  %426 = zext i32 %425 to i64
  %427 = getelementptr inbounds i8, ptr %424, i64 %426
  %428 = load i8, ptr %427, align 1, !tbaa !5
  %429 = icmp ne i8 %428, 0
  %430 = zext i1 %429 to i64
  %431 = select i1 %429, i8 49, i8 48
  %432 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %431)
  br label %433

433:                                              ; preds = %422
  %434 = load i32, ptr %22, align 4, !tbaa !12
  %435 = add i32 %434, 1
  store i32 %435, ptr %22, align 4, !tbaa !12
  br label %416, !llvm.loop !17

436:                                              ; preds = %421
  %437 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.38)
  %438 = load ptr, ptr %5, align 8, !tbaa !8
  %439 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %438)
  %440 = load ptr, ptr %12, align 8, !tbaa !8
  %441 = icmp eq ptr %439, %440
  %442 = zext i1 %441 to i64
  %443 = select i1 %441, ptr @.str.35, ptr @.str.36
  %444 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %437, ptr noundef %443)
  %445 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %444, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %446

446:                                              ; preds = %436, %387
  %447 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.26)
  %448 = load ptr, ptr %5, align 8, !tbaa !8
  %449 = call noundef i32 @_ZNK3tlm19tlm_generic_payload22get_byte_enable_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %448)
  %450 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %447, i32 noundef %449)
  %451 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %450, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %452 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.27)
  %453 = load ptr, ptr %5, align 8, !tbaa !8
  %454 = call noundef i32 @_ZNK3tlm19tlm_generic_payload19get_streaming_widthEv(ptr noundef nonnull align 8 dereferenceable(140) %453)
  %455 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %452, i32 noundef %454)
  %456 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %455, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %457 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #12
  %458 = load ptr, ptr %5, align 8, !tbaa !8
  %459 = call noundef i32 @_ZNK3tlm19tlm_generic_payload19get_streaming_widthEv(ptr noundef nonnull align 8 dereferenceable(140) %458)
  store i32 %459, ptr %23, align 4, !tbaa !12
  %460 = load ptr, ptr %5, align 8, !tbaa !8
  %461 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %460)
  %462 = load i32, ptr %23, align 4, !tbaa !12
  %463 = udiv i32 %461, %462
  %464 = load i32, ptr %23, align 4, !tbaa !12
  %465 = mul i32 %463, %464
  %466 = load ptr, ptr %5, align 8, !tbaa !8
  %467 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %466)
  %468 = icmp ne i32 %465, %467
  br i1 %468, label %469, label %471

469:                                              ; preds = %446
  %470 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.39)
  call void @exit(i32 noundef 1) #14
  unreachable

471:                                              ; preds = %446
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #12
  store i32 0, ptr %24, align 4, !tbaa !12
  br label %472

472:                                              ; preds = %593, %471
  %473 = load i32, ptr %24, align 4, !tbaa !12
  %474 = load ptr, ptr %5, align 8, !tbaa !8
  %475 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %474)
  %476 = icmp ult i32 %473, %475
  br i1 %476, label %478, label %477

477:                                              ; preds = %472
  store i32 17, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #12
  br label %597

478:                                              ; preds = %472
  %479 = load ptr, ptr %5, align 8, !tbaa !8
  %480 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %479)
  %481 = icmp eq ptr %480, null
  br i1 %481, label %482, label %510

482:                                              ; preds = %478
  %483 = load ptr, ptr %5, align 8, !tbaa !8
  %484 = call noundef zeroext i1 @_ZNK3tlm19tlm_generic_payload7is_readEv(ptr noundef nonnull align 8 dereferenceable(140) %483)
  br i1 %484, label %485, label %497

485:                                              ; preds = %482
  %486 = load i32, ptr %24, align 4, !tbaa !12
  %487 = load ptr, ptr %5, align 8, !tbaa !8
  %488 = call noundef ptr @_ZNK3tlm19tlm_generic_payload12get_data_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %487)
  %489 = zext i32 %486 to i64
  %490 = getelementptr inbounds i8, ptr %488, i64 %489
  %491 = getelementptr inbounds [2049 x i8], ptr %20, i64 0, i64 0
  %492 = load ptr, ptr %5, align 8, !tbaa !8
  %493 = call noundef i64 @_ZNK3tlm19tlm_generic_payload11get_addressEv(ptr noundef nonnull align 8 dereferenceable(140) %492)
  %494 = getelementptr inbounds i8, ptr %491, i64 %493
  %495 = load i32, ptr %23, align 4, !tbaa !12
  %496 = sext i32 %495 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %490, ptr align 1 %494, i64 %496, i1 false)
  br label %509

497:                                              ; preds = %482
  %498 = getelementptr inbounds [2049 x i8], ptr %20, i64 0, i64 0
  %499 = load ptr, ptr %5, align 8, !tbaa !8
  %500 = call noundef i64 @_ZNK3tlm19tlm_generic_payload11get_addressEv(ptr noundef nonnull align 8 dereferenceable(140) %499)
  %501 = getelementptr inbounds i8, ptr %498, i64 %500
  %502 = load i32, ptr %24, align 4, !tbaa !12
  %503 = load ptr, ptr %5, align 8, !tbaa !8
  %504 = call noundef ptr @_ZNK3tlm19tlm_generic_payload12get_data_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %503)
  %505 = zext i32 %502 to i64
  %506 = getelementptr inbounds i8, ptr %504, i64 %505
  %507 = load i32, ptr %23, align 4, !tbaa !12
  %508 = sext i32 %507 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %501, ptr align 1 %506, i64 %508, i1 false)
  br label %509

509:                                              ; preds = %497, %485
  br label %592

510:                                              ; preds = %478
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #12
  %511 = load ptr, ptr %5, align 8, !tbaa !8
  %512 = call noundef i32 @_ZNK3tlm19tlm_generic_payload22get_byte_enable_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %511)
  store i32 %512, ptr %25, align 4, !tbaa !12
  %513 = load ptr, ptr %5, align 8, !tbaa !8
  %514 = call noundef zeroext i1 @_ZNK3tlm19tlm_generic_payload7is_readEv(ptr noundef nonnull align 8 dereferenceable(140) %513)
  br i1 %514, label %515, label %553

515:                                              ; preds = %510
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #12
  store i32 0, ptr %26, align 4, !tbaa !12
  br label %516

516:                                              ; preds = %549, %515
  %517 = load i32, ptr %26, align 4, !tbaa !12
  %518 = load i32, ptr %23, align 4, !tbaa !12
  %519 = icmp slt i32 %517, %518
  br i1 %519, label %521, label %520

520:                                              ; preds = %516
  store i32 20, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #12
  br label %552

521:                                              ; preds = %516
  %522 = load ptr, ptr %5, align 8, !tbaa !8
  %523 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %522)
  %524 = load i32, ptr %24, align 4, !tbaa !12
  %525 = load i32, ptr %26, align 4, !tbaa !12
  %526 = add i32 %524, %525
  %527 = load i32, ptr %25, align 4, !tbaa !12
  %528 = urem i32 %526, %527
  %529 = zext i32 %528 to i64
  %530 = getelementptr inbounds i8, ptr %523, i64 %529
  %531 = load i8, ptr %530, align 1, !tbaa !5
  %532 = icmp ne i8 %531, 0
  br i1 %532, label %533, label %548

533:                                              ; preds = %521
  %534 = load i32, ptr %26, align 4, !tbaa !12
  %535 = sext i32 %534 to i64
  %536 = load ptr, ptr %5, align 8, !tbaa !8
  %537 = call noundef i64 @_ZNK3tlm19tlm_generic_payload11get_addressEv(ptr noundef nonnull align 8 dereferenceable(140) %536)
  %538 = add i64 %535, %537
  %539 = getelementptr inbounds [2049 x i8], ptr %20, i64 0, i64 %538
  %540 = load i8, ptr %539, align 1, !tbaa !5
  %541 = load ptr, ptr %5, align 8, !tbaa !8
  %542 = call noundef ptr @_ZNK3tlm19tlm_generic_payload12get_data_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %541)
  %543 = load i32, ptr %24, align 4, !tbaa !12
  %544 = load i32, ptr %26, align 4, !tbaa !12
  %545 = add i32 %543, %544
  %546 = zext i32 %545 to i64
  %547 = getelementptr inbounds i8, ptr %542, i64 %546
  store i8 %540, ptr %547, align 1, !tbaa !5
  br label %548

548:                                              ; preds = %533, %521
  br label %549

549:                                              ; preds = %548
  %550 = load i32, ptr %26, align 4, !tbaa !12
  %551 = add nsw i32 %550, 1
  store i32 %551, ptr %26, align 4, !tbaa !12
  br label %516, !llvm.loop !18

552:                                              ; preds = %520
  br label %591

553:                                              ; preds = %510
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #12
  store i32 0, ptr %27, align 4, !tbaa !12
  br label %554

554:                                              ; preds = %587, %553
  %555 = load i32, ptr %27, align 4, !tbaa !12
  %556 = load i32, ptr %23, align 4, !tbaa !12
  %557 = icmp slt i32 %555, %556
  br i1 %557, label %559, label %558

558:                                              ; preds = %554
  store i32 23, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #12
  br label %590

559:                                              ; preds = %554
  %560 = load ptr, ptr %5, align 8, !tbaa !8
  %561 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %560)
  %562 = load i32, ptr %24, align 4, !tbaa !12
  %563 = load i32, ptr %27, align 4, !tbaa !12
  %564 = add i32 %562, %563
  %565 = load i32, ptr %25, align 4, !tbaa !12
  %566 = urem i32 %564, %565
  %567 = zext i32 %566 to i64
  %568 = getelementptr inbounds i8, ptr %561, i64 %567
  %569 = load i8, ptr %568, align 1, !tbaa !5
  %570 = icmp ne i8 %569, 0
  br i1 %570, label %571, label %586

571:                                              ; preds = %559
  %572 = load ptr, ptr %5, align 8, !tbaa !8
  %573 = call noundef ptr @_ZNK3tlm19tlm_generic_payload12get_data_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %572)
  %574 = load i32, ptr %24, align 4, !tbaa !12
  %575 = load i32, ptr %27, align 4, !tbaa !12
  %576 = add i32 %574, %575
  %577 = zext i32 %576 to i64
  %578 = getelementptr inbounds i8, ptr %573, i64 %577
  %579 = load i8, ptr %578, align 1, !tbaa !5
  %580 = load i32, ptr %27, align 4, !tbaa !12
  %581 = sext i32 %580 to i64
  %582 = load ptr, ptr %5, align 8, !tbaa !8
  %583 = call noundef i64 @_ZNK3tlm19tlm_generic_payload11get_addressEv(ptr noundef nonnull align 8 dereferenceable(140) %582)
  %584 = add i64 %581, %583
  %585 = getelementptr inbounds [2049 x i8], ptr %20, i64 0, i64 %584
  store i8 %579, ptr %585, align 1, !tbaa !5
  br label %586

586:                                              ; preds = %571, %559
  br label %587

587:                                              ; preds = %586
  %588 = load i32, ptr %27, align 4, !tbaa !12
  %589 = add nsw i32 %588, 1
  store i32 %589, ptr %27, align 4, !tbaa !12
  br label %554, !llvm.loop !19

590:                                              ; preds = %558
  br label %591

591:                                              ; preds = %590, %552
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #12
  br label %592

592:                                              ; preds = %591, %509
  br label %593

593:                                              ; preds = %592
  %594 = load i32, ptr %23, align 4, !tbaa !12
  %595 = load i32, ptr %24, align 4, !tbaa !12
  %596 = add i32 %595, %594
  store i32 %596, ptr %24, align 4, !tbaa !12
  br label %472, !llvm.loop !20

597:                                              ; preds = %477
  %598 = call i32 @rand() #12
  %599 = and i32 %598, 256
  %600 = icmp ne i32 %599, 0
  br i1 %600, label %601, label %606

601:                                              ; preds = %597
  %602 = load i32, ptr %21, align 4, !tbaa !12
  %603 = icmp slt i32 %602, 4
  br i1 %603, label %604, label %606

604:                                              ; preds = %601
  %605 = load ptr, ptr %5, align 8, !tbaa !8
  call void @_ZN3tlm19tlm_from_hostendianEPNS_19tlm_generic_payloadE(ptr noundef %605)
  br label %729

606:                                              ; preds = %601, %597
  %607 = load i32, ptr %21, align 4, !tbaa !12
  switch i32 %607, label %723 [
    i32 0, label %608
    i32 1, label %631
    i32 2, label %654
    i32 3, label %677
    i32 4, label %700
  ]

608:                                              ; preds = %606
  %609 = load i32, ptr %10, align 4, !tbaa !12
  switch i32 %609, label %628 [
    i32 1, label %610
    i32 2, label %613
    i32 4, label %616
    i32 8, label %619
    i32 16, label %622
    i32 32, label %625
  ]

610:                                              ; preds = %608
  %611 = load ptr, ptr %5, align 8, !tbaa !8
  %612 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %611, i32 noundef %612)
  br label %630

613:                                              ; preds = %608
  %614 = load ptr, ptr %5, align 8, !tbaa !8
  %615 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %614, i32 noundef %615)
  br label %630

616:                                              ; preds = %608
  %617 = load ptr, ptr %5, align 8, !tbaa !8
  %618 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %617, i32 noundef %618)
  br label %630

619:                                              ; preds = %608
  %620 = load ptr, ptr %5, align 8, !tbaa !8
  %621 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %620, i32 noundef %621)
  br label %630

622:                                              ; preds = %608
  %623 = load ptr, ptr %5, align 8, !tbaa !8
  %624 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %623, i32 noundef %624)
  br label %630

625:                                              ; preds = %608
  %626 = load ptr, ptr %5, align 8, !tbaa !8
  %627 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %626, i32 noundef %627)
  br label %630

628:                                              ; preds = %608
  %629 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

630:                                              ; preds = %625, %622, %619, %616, %613, %610
  br label %728

631:                                              ; preds = %606
  %632 = load i32, ptr %10, align 4, !tbaa !12
  switch i32 %632, label %651 [
    i32 1, label %633
    i32 2, label %636
    i32 4, label %639
    i32 8, label %642
    i32 16, label %645
    i32 32, label %648
  ]

633:                                              ; preds = %631
  %634 = load ptr, ptr %5, align 8, !tbaa !8
  %635 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %634, i32 noundef %635)
  br label %653

636:                                              ; preds = %631
  %637 = load ptr, ptr %5, align 8, !tbaa !8
  %638 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %637, i32 noundef %638)
  br label %653

639:                                              ; preds = %631
  %640 = load ptr, ptr %5, align 8, !tbaa !8
  %641 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %640, i32 noundef %641)
  br label %653

642:                                              ; preds = %631
  %643 = load ptr, ptr %5, align 8, !tbaa !8
  %644 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %643, i32 noundef %644)
  br label %653

645:                                              ; preds = %631
  %646 = load ptr, ptr %5, align 8, !tbaa !8
  %647 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %646, i32 noundef %647)
  br label %653

648:                                              ; preds = %631
  %649 = load ptr, ptr %5, align 8, !tbaa !8
  %650 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %649, i32 noundef %650)
  br label %653

651:                                              ; preds = %631
  %652 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

653:                                              ; preds = %648, %645, %642, %639, %636, %633
  br label %728

654:                                              ; preds = %606
  %655 = load i32, ptr %10, align 4, !tbaa !12
  switch i32 %655, label %674 [
    i32 1, label %656
    i32 2, label %659
    i32 4, label %662
    i32 8, label %665
    i32 16, label %668
    i32 32, label %671
  ]

656:                                              ; preds = %654
  %657 = load ptr, ptr %5, align 8, !tbaa !8
  %658 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %657, i32 noundef %658)
  br label %676

659:                                              ; preds = %654
  %660 = load ptr, ptr %5, align 8, !tbaa !8
  %661 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %660, i32 noundef %661)
  br label %676

662:                                              ; preds = %654
  %663 = load ptr, ptr %5, align 8, !tbaa !8
  %664 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %663, i32 noundef %664)
  br label %676

665:                                              ; preds = %654
  %666 = load ptr, ptr %5, align 8, !tbaa !8
  %667 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %666, i32 noundef %667)
  br label %676

668:                                              ; preds = %654
  %669 = load ptr, ptr %5, align 8, !tbaa !8
  %670 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %669, i32 noundef %670)
  br label %676

671:                                              ; preds = %654
  %672 = load ptr, ptr %5, align 8, !tbaa !8
  %673 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %672, i32 noundef %673)
  br label %676

674:                                              ; preds = %654
  %675 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

676:                                              ; preds = %671, %668, %665, %662, %659, %656
  br label %728

677:                                              ; preds = %606
  %678 = load i32, ptr %10, align 4, !tbaa !12
  switch i32 %678, label %697 [
    i32 1, label %679
    i32 2, label %682
    i32 4, label %685
    i32 8, label %688
    i32 16, label %691
    i32 32, label %694
  ]

679:                                              ; preds = %677
  %680 = load ptr, ptr %5, align 8, !tbaa !8
  %681 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %680, i32 noundef %681)
  br label %699

682:                                              ; preds = %677
  %683 = load ptr, ptr %5, align 8, !tbaa !8
  %684 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %683, i32 noundef %684)
  br label %699

685:                                              ; preds = %677
  %686 = load ptr, ptr %5, align 8, !tbaa !8
  %687 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %686, i32 noundef %687)
  br label %699

688:                                              ; preds = %677
  %689 = load ptr, ptr %5, align 8, !tbaa !8
  %690 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %689, i32 noundef %690)
  br label %699

691:                                              ; preds = %677
  %692 = load ptr, ptr %5, align 8, !tbaa !8
  %693 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %692, i32 noundef %693)
  br label %699

694:                                              ; preds = %677
  %695 = load ptr, ptr %5, align 8, !tbaa !8
  %696 = load i32, ptr %9, align 4, !tbaa !12
  call void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef %695, i32 noundef %696)
  br label %699

697:                                              ; preds = %677
  %698 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

699:                                              ; preds = %694, %691, %688, %685, %682, %679
  br label %728

700:                                              ; preds = %606
  %701 = load i32, ptr %10, align 4, !tbaa !12
  switch i32 %701, label %720 [
    i32 1, label %702
    i32 2, label %705
    i32 4, label %708
    i32 8, label %711
    i32 16, label %714
    i32 32, label %717
  ]

702:                                              ; preds = %700
  %703 = load ptr, ptr %5, align 8, !tbaa !8
  %704 = load i32, ptr %9, align 4, !tbaa !12
  call void @_Z19local_single_fromheI2dtILi1EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef %703, i32 noundef %704)
  br label %722

705:                                              ; preds = %700
  %706 = load ptr, ptr %5, align 8, !tbaa !8
  %707 = load i32, ptr %9, align 4, !tbaa !12
  call void @_Z19local_single_fromheI2dtILi2EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef %706, i32 noundef %707)
  br label %722

708:                                              ; preds = %700
  %709 = load ptr, ptr %5, align 8, !tbaa !8
  %710 = load i32, ptr %9, align 4, !tbaa !12
  call void @_Z19local_single_fromheI2dtILi4EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef %709, i32 noundef %710)
  br label %722

711:                                              ; preds = %700
  %712 = load ptr, ptr %5, align 8, !tbaa !8
  %713 = load i32, ptr %9, align 4, !tbaa !12
  call void @_Z19local_single_fromheI2dtILi8EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef %712, i32 noundef %713)
  br label %722

714:                                              ; preds = %700
  %715 = load ptr, ptr %5, align 8, !tbaa !8
  %716 = load i32, ptr %9, align 4, !tbaa !12
  call void @_Z19local_single_fromheI2dtILi16EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef %715, i32 noundef %716)
  br label %722

717:                                              ; preds = %700
  %718 = load ptr, ptr %5, align 8, !tbaa !8
  %719 = load i32, ptr %9, align 4, !tbaa !12
  call void @_Z19local_single_fromheI2dtILi32EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef %718, i32 noundef %719)
  br label %722

720:                                              ; preds = %700
  %721 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

722:                                              ; preds = %717, %714, %711, %708, %705, %702
  br label %728

723:                                              ; preds = %606
  %724 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.32)
  %725 = load i32, ptr %21, align 4, !tbaa !12
  %726 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %724, i32 noundef %725)
  %727 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %726, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @exit(i32 noundef 1) #14
  unreachable

728:                                              ; preds = %722, %699, %676, %653, %630
  br label %729

729:                                              ; preds = %728, %604
  %730 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.40)
  %731 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.41)
  %732 = getelementptr inbounds [2049 x i8], ptr %19, i64 0, i64 0
  %733 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKh(ptr noundef nonnull align 8 dereferenceable(8) %731, ptr noundef %732)
  %734 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %733, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %735 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.42)
  %736 = getelementptr inbounds [2049 x i8], ptr %20, i64 0, i64 0
  %737 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKh(ptr noundef nonnull align 8 dereferenceable(8) %735, ptr noundef %736)
  %738 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %737, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %739 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %738, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %740 = load ptr, ptr %13, align 8, !tbaa !8
  %741 = icmp eq ptr %740, null
  br i1 %741, label %743, label %742

742:                                              ; preds = %729
  call void @_ZdaPv(ptr noundef %740) #15
  br label %743

743:                                              ; preds = %742, %729
  %744 = load ptr, ptr %12, align 8, !tbaa !8
  %745 = icmp ne ptr %744, null
  br i1 %745, label %746, label %751

746:                                              ; preds = %743
  %747 = load ptr, ptr %12, align 8, !tbaa !8
  %748 = icmp eq ptr %747, null
  br i1 %748, label %750, label %749

749:                                              ; preds = %746
  call void @_ZdaPv(ptr noundef %747) #15
  br label %750

750:                                              ; preds = %749, %746
  br label %751

751:                                              ; preds = %750, %743
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #12
  call void @llvm.lifetime.end.p0(i64 2049, ptr %20) #12
  call void @llvm.lifetime.end.p0(i64 2049, ptr %19) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #12
  ret void
}

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm19tlm_generic_payload11set_addressEy(ptr noundef nonnull align 8 dereferenceable(140), i64 noundef) #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm19tlm_generic_payload15set_data_lengthEj(ptr noundef nonnull align 8 dereferenceable(140), i32 noundef) #2 align 2

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm19tlm_generic_payload22set_byte_enable_lengthEj(ptr noundef nonnull align 8 dereferenceable(140), i32 noundef) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm19tlm_generic_payload19set_streaming_widthEj(ptr noundef nonnull align 8 dereferenceable(140), i32 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsISt11char_traitsIcEERSt13basic_istreamIcT_ES5_Ph(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKh(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #6

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17local_single_toheI2dtILi1EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17local_single_toheI2dtILi2EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17local_single_toheI2dtILi4EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17local_single_toheI2dtILi8EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17local_single_toheI2dtILi16EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17local_single_toheI2dtILi32EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3tlm19tlm_generic_payload7is_readEv(ptr noundef nonnull align 8 dereferenceable(140)) #2 align 2

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

; Function Attrs: nounwind
declare i32 @rand() #9

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm19tlm_from_hostendianEPNS_19tlm_generic_payloadE(ptr noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z19local_single_fromheI2dtILi1EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z19local_single_fromheI2dtILi2EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z19local_single_fromheI2dtILi4EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z19local_single_fromheI2dtILi8EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z19local_single_fromheI2dtILi16EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z19local_single_fromheI2dtILi32EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) #10

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #11

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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 #8 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { 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 #10 = { 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 #11 = { nobuiltin 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 #12 = { nounwind }
attributes #13 = { builtin allocsize(0) }
attributes #14 = { noreturn nounwind }
attributes #15 = { builtin 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"long long", !6, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !6, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.14 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [12 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z17test_a_conversioncRN3tlm19tlm_generic_payloadERSt14basic_ifstreamIcSt11char_traitsIcEE(i8 noundef signext %0, ptr noundef nonnull align 8 dereferenceable(140) %1, ptr noundef nonnull align 8 dereferenceable(256) %2) local_unnamed_addr #1 {
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca [2049 x i8], align 16
  %12 = alloca [2049 x i8], align 16
  %13 = alloca i32, align 4
  %14 = icmp eq i8 %0, 82
  br i1 %14, label %15, label %16

15:                                               ; preds = %3
  tail call void @_ZN3tlm19tlm_generic_payload8set_readEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  br label %17

16:                                               ; preds = %3
  tail call void @_ZN3tlm19tlm_generic_payload9set_writeEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  br label %17

17:                                               ; preds = %16, %15
  %18 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef 10000, i32 noundef 61)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #12
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %20 = load i64, ptr %4, align 8, !tbaa !5
  call void @_ZN3tlm19tlm_generic_payload11set_addressEy(ptr noundef nonnull align 8 dereferenceable(140) %1, i64 noundef %20)
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef 10000, i32 noundef 61)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #12
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %23 = load i32, ptr %5, align 4, !tbaa !9
  call void @_ZN3tlm19tlm_generic_payload15set_data_lengthEj(ptr noundef nonnull align 8 dereferenceable(140) %1, i32 noundef %23)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #12
  %24 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef 10000, i32 noundef 61)
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #12
  %26 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef 10000, i32 noundef 61)
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #12
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef 10000, i32 noundef 61)
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %30 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %31 = add i32 %30, 1
  %32 = zext i32 %31 to i64
  %33 = call noalias noundef nonnull ptr @_Znam(i64 noundef %32) #13
  %34 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %35 = add i32 %34, 1
  %36 = zext i32 %35 to i64
  call void @llvm.memset.p0.i64(ptr nonnull align 1 %33, i8 0, i64 %36, i1 false)
  %37 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef 10000, i32 noundef 61)
  %38 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %.not227 = icmp eq i32 %38, 0
  br i1 %.not227, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %17, %44
  %indvars.iv = phi i64 [ %indvars.iv.next, %44 ], [ 0, %17 ]
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #12
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 1 dereferenceable(1) %9)
  %40 = load i8, ptr %9, align 1
  switch i8 %40, label %43 [
    i8 120, label %41
    i8 49, label %41
    i8 48, label %41
  ]

41:                                               ; preds = %.lr.ph, %.lr.ph, %.lr.ph
  %42 = getelementptr inbounds i8, ptr %33, i64 %indvars.iv
  store i8 %40, ptr %42, align 1, !tbaa !11
  br label %43

43:                                               ; preds = %.lr.ph, %41
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #12
  switch i8 %40, label %._crit_edge [
    i8 120, label %44
    i8 49, label %44
    i8 48, label %44
  ]

44:                                               ; preds = %43, %43, %43
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %45 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %46 = zext i32 %45 to i64
  %47 = icmp ult i64 %indvars.iv.next, %46
  br i1 %47, label %.lr.ph, label %._crit_edge, !llvm.loop !12

._crit_edge:                                      ; preds = %44, %43, %17
  %48 = load i8, ptr %33, align 1, !tbaa !11
  %49 = and i8 %48, -2
  %switch = icmp eq i8 %49, 48
  br i1 %switch, label %50, label %68

50:                                               ; preds = %._crit_edge
  %51 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %52 = zext i32 %51 to i64
  %53 = call noalias noundef nonnull ptr @_Znam(i64 noundef %52) #13
  call void @_ZN3tlm19tlm_generic_payload19set_byte_enable_ptrEPh(ptr noundef nonnull align 8 dereferenceable(140) %1, ptr noundef nonnull %53)
  %54 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  call void @_ZN3tlm19tlm_generic_payload22set_byte_enable_lengthEj(ptr noundef nonnull align 8 dereferenceable(140) %1, i32 noundef %54)
  %55 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %56 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %.not228 = icmp eq i32 %56, 0
  br i1 %.not228, label %.loopexit209, label %.lr.ph215

.lr.ph215:                                        ; preds = %50, %62
  %indvars.iv234 = phi i64 [ %indvars.iv.next235, %62 ], [ 0, %50 ]
  %57 = getelementptr inbounds i8, ptr %33, i64 %indvars.iv234
  %58 = load i8, ptr %57, align 1, !tbaa !11
  switch i8 %58, label %60 [
    i8 48, label %62
    i8 49, label %59
  ]

59:                                               ; preds = %.lr.ph215
  br label %62

60:                                               ; preds = %.lr.ph215
  %61 = trunc nuw i64 %indvars.iv234 to i32
  br label %.loopexit209.sink.split

62:                                               ; preds = %.lr.ph215, %59
  %.sink = phi i8 [ -1, %59 ], [ 0, %.lr.ph215 ]
  %63 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %64 = getelementptr inbounds i8, ptr %63, i64 %indvars.iv234
  store i8 %.sink, ptr %64, align 1, !tbaa !11
  %indvars.iv.next235 = add nuw nsw i64 %indvars.iv234, 1
  %65 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %66 = zext i32 %65 to i64
  %67 = icmp ult i64 %indvars.iv.next235, %66
  br i1 %67, label %.lr.ph215, label %.loopexit209, !llvm.loop !14

68:                                               ; preds = %._crit_edge
  call void @_ZN3tlm19tlm_generic_payload19set_byte_enable_ptrEPh(ptr noundef nonnull align 8 dereferenceable(140) %1, ptr noundef null)
  br label %.loopexit209.sink.split

.loopexit209.sink.split:                          ; preds = %68, %60
  %.sink252 = phi i32 [ %61, %60 ], [ 0, %68 ]
  %.0193.ph = phi ptr [ %55, %60 ], [ null, %68 ]
  call void @_ZN3tlm19tlm_generic_payload22set_byte_enable_lengthEj(ptr noundef nonnull align 8 dereferenceable(140) %1, i32 noundef %.sink252)
  br label %.loopexit209

.loopexit209:                                     ; preds = %62, %.loopexit209.sink.split, %50
  %.0193 = phi ptr [ %55, %50 ], [ %.0193.ph, %.loopexit209.sink.split ], [ %55, %62 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #12
  %69 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef 10000, i32 noundef 61)
  %70 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %71 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN3tlm19tlm_generic_payload19set_streaming_widthEj(ptr noundef nonnull align 8 dereferenceable(140) %1, i32 noundef %71)
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.14)
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %72, i32 noundef 2048)
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull @.str.15)
  call void @llvm.lifetime.start.p0(i64 2049, ptr nonnull %11) #12
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(2049) %11, i8 0, i64 2049, i1 false)
  %75 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef 10000, i32 noundef 61)
  %76 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsISt11char_traitsIcEERSt13basic_istreamIcT_ES5_Ph(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef %11)
  %77 = load i32, ptr %8, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds i8, ptr %11, i64 %78
  call void @_ZN3tlm19tlm_generic_payload12set_data_ptrEPh(ptr noundef nonnull align 8 dereferenceable(140) %1, ptr noundef nonnull %79)
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.16)
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %80, i32 noundef 2048)
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull @.str.15)
  call void @llvm.lifetime.start.p0(i64 2049, ptr nonnull %12) #12
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(2049) %12, i8 0, i64 2049, i1 false)
  %83 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef 10000, i32 noundef 61)
  %84 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsISt11char_traitsIcEERSt13basic_istreamIcT_ES5_Ph(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef %12)
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.17)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #12
  %86 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef 10000, i32 noundef 61)
  %87 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.18)
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.19)
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %89, i8 noundef signext %0)
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.20)
  %93 = call noundef i64 @_ZNK3tlm19tlm_generic_payload11get_addressEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) %92, i64 noundef %93)
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.21)
  %97 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %96, i32 noundef %97)
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.22)
  %101 = load i32, ptr %6, align 4, !tbaa !9
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %100, i32 noundef %101)
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.23)
  %105 = load i32, ptr %7, align 4, !tbaa !9
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %104, i32 noundef %105)
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %106, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.24)
  %109 = load i32, ptr %8, align 4, !tbaa !9
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %108, i32 noundef %109)
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %110, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.25)
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKh(ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull %33)
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %113, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.26)
  %116 = call noundef i32 @_ZNK3tlm19tlm_generic_payload22get_byte_enable_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %115, i32 noundef %116)
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %117, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.27)
  %120 = call noundef i32 @_ZNK3tlm19tlm_generic_payload19get_streaming_widthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %119, i32 noundef %120)
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %121, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.28)
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKh(ptr noundef nonnull align 8 dereferenceable(8) %123, ptr noundef nonnull %11)
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.29)
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKh(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef nonnull %12)
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %127, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.30)
  %130 = load i32, ptr %13, align 4, !tbaa !9
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %129, i32 noundef %130)
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %133 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %134 = load i32, ptr %13, align 4, !tbaa !9
  switch i32 %134, label %215 [
    i32 0, label %135
    i32 1, label %151
    i32 2, label %167
    i32 3, label %183
    i32 4, label %199
  ]

135:                                              ; preds = %.loopexit209
  %136 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %136, label %149 [
    i32 1, label %137
    i32 2, label %139
    i32 4, label %141
    i32 8, label %143
    i32 16, label %145
    i32 32, label %147
  ]

137:                                              ; preds = %135
  %138 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %138)
  br label %220

139:                                              ; preds = %135
  %140 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %140)
  br label %220

141:                                              ; preds = %135
  %142 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %142)
  br label %220

143:                                              ; preds = %135
  %144 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %144)
  br label %220

145:                                              ; preds = %135
  %146 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %146)
  br label %220

147:                                              ; preds = %135
  %148 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %148)
  br label %220

149:                                              ; preds = %135
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

151:                                              ; preds = %.loopexit209
  %152 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %152, label %165 [
    i32 1, label %153
    i32 2, label %155
    i32 4, label %157
    i32 8, label %159
    i32 16, label %161
    i32 32, label %163
  ]

153:                                              ; preds = %151
  %154 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %154)
  br label %220

155:                                              ; preds = %151
  %156 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %156)
  br label %220

157:                                              ; preds = %151
  %158 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %158)
  br label %220

159:                                              ; preds = %151
  %160 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %160)
  br label %220

161:                                              ; preds = %151
  %162 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %162)
  br label %220

163:                                              ; preds = %151
  %164 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %164)
  br label %220

165:                                              ; preds = %151
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

167:                                              ; preds = %.loopexit209
  %168 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %168, label %181 [
    i32 1, label %169
    i32 2, label %171
    i32 4, label %173
    i32 8, label %175
    i32 16, label %177
    i32 32, label %179
  ]

169:                                              ; preds = %167
  %170 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %170)
  br label %220

171:                                              ; preds = %167
  %172 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %172)
  br label %220

173:                                              ; preds = %167
  %174 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %174)
  br label %220

175:                                              ; preds = %167
  %176 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %176)
  br label %220

177:                                              ; preds = %167
  %178 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %178)
  br label %220

179:                                              ; preds = %167
  %180 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %180)
  br label %220

181:                                              ; preds = %167
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

183:                                              ; preds = %.loopexit209
  %184 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %184, label %197 [
    i32 1, label %185
    i32 2, label %187
    i32 4, label %189
    i32 8, label %191
    i32 16, label %193
    i32 32, label %195
  ]

185:                                              ; preds = %183
  %186 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %186)
  br label %220

187:                                              ; preds = %183
  %188 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %188)
  br label %220

189:                                              ; preds = %183
  %190 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %190)
  br label %220

191:                                              ; preds = %183
  %192 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %192)
  br label %220

193:                                              ; preds = %183
  %194 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %194)
  br label %220

195:                                              ; preds = %183
  %196 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %196)
  br label %220

197:                                              ; preds = %183
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

199:                                              ; preds = %.loopexit209
  %200 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %200, label %213 [
    i32 1, label %201
    i32 2, label %203
    i32 4, label %205
    i32 8, label %207
    i32 16, label %209
    i32 32, label %211
  ]

201:                                              ; preds = %199
  %202 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z17local_single_toheI2dtILi1EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %202)
  br label %220

203:                                              ; preds = %199
  %204 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z17local_single_toheI2dtILi2EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %204)
  br label %220

205:                                              ; preds = %199
  %206 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z17local_single_toheI2dtILi4EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %206)
  br label %220

207:                                              ; preds = %199
  %208 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z17local_single_toheI2dtILi8EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %208)
  br label %220

209:                                              ; preds = %199
  %210 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z17local_single_toheI2dtILi16EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %210)
  br label %220

211:                                              ; preds = %199
  %212 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z17local_single_toheI2dtILi32EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %212)
  br label %220

213:                                              ; preds = %199
  %214 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

215:                                              ; preds = %.loopexit209
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.32)
  %217 = load i32, ptr %13, align 4, !tbaa !9
  %218 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %216, i32 noundef %217)
  %219 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %218, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @exit(i32 noundef 1) #14
  unreachable

220:                                              ; preds = %201, %203, %205, %207, %209, %211, %185, %187, %189, %191, %193, %195, %169, %171, %173, %175, %177, %179, %153, %155, %157, %159, %161, %163, %137, %139, %141, %143, %145, %147
  %221 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.33)
  %222 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.20)
  %223 = call noundef i64 @_ZNK3tlm19tlm_generic_payload11get_addressEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %224 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) %222, i64 noundef %223)
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %224, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %226 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.21)
  %227 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %226, i32 noundef %227)
  %229 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %228, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %230 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.34)
  %231 = call noundef ptr @_ZNK3tlm19tlm_generic_payload12get_data_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %232 = load i32, ptr %8, align 4, !tbaa !9
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds i8, ptr %11, i64 %233
  %235 = icmp eq ptr %231, %234
  %236 = select i1 %235, ptr @.str.35, ptr @.str.36
  %237 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %230, ptr noundef nonnull %236)
  %238 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %237, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %239 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %.not = icmp eq ptr %239, null
  br i1 %.not, label %257, label %240

240:                                              ; preds = %220
  %241 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.37)
  %242 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %.not229 = icmp eq i32 %242, 0
  br i1 %.not229, label %._crit_edge219, label %.lr.ph218

._crit_edge219:                                   ; preds = %.lr.ph218, %240
  %243 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.38)
  %244 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %245 = icmp eq ptr %244, %.0193
  %246 = select i1 %245, ptr @.str.35, ptr @.str.36
  %247 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %243, ptr noundef nonnull %246)
  %248 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %247, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %257

.lr.ph218:                                        ; preds = %240, %.lr.ph218
  %indvars.iv237 = phi i64 [ %indvars.iv.next238, %.lr.ph218 ], [ 0, %240 ]
  %249 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %250 = getelementptr inbounds i8, ptr %249, i64 %indvars.iv237
  %251 = load i8, ptr %250, align 1, !tbaa !11
  %.not205 = icmp eq i8 %251, 0
  %252 = select i1 %.not205, i8 48, i8 49
  %253 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %252)
  %indvars.iv.next238 = add nuw nsw i64 %indvars.iv237, 1
  %254 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %255 = zext i32 %254 to i64
  %256 = icmp ult i64 %indvars.iv.next238, %255
  br i1 %256, label %.lr.ph218, label %._crit_edge219, !llvm.loop !15

257:                                              ; preds = %._crit_edge219, %220
  %258 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.26)
  %259 = call noundef i32 @_ZNK3tlm19tlm_generic_payload22get_byte_enable_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %260 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %258, i32 noundef %259)
  %261 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %260, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %262 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.27)
  %263 = call noundef i32 @_ZNK3tlm19tlm_generic_payload19get_streaming_widthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %264 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %262, i32 noundef %263)
  %265 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %264, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %266 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %267 = call noundef i32 @_ZNK3tlm19tlm_generic_payload19get_streaming_widthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %268 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %269 = urem i32 %268, %267
  %270 = sub nuw i32 %268, %269
  %271 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %.not201 = icmp eq i32 %270, %271
  br i1 %.not201, label %.preheader208, label %275

.preheader208:                                    ; preds = %257
  %272 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %.not230 = icmp eq i32 %272, 0
  br i1 %.not230, label %._crit_edge226, label %.lr.ph225

.lr.ph225:                                        ; preds = %.preheader208
  %273 = icmp sgt i32 %267, 0
  %274 = sext i32 %267 to i64
  %wide.trip.count = zext nneg i32 %267 to i64
  %wide.trip.count246 = zext nneg i32 %267 to i64
  br label %282

275:                                              ; preds = %257
  %276 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.39)
  call void @exit(i32 noundef 1) #14
  unreachable

._crit_edge226:                                   ; preds = %.loopexit, %.preheader208
  %277 = call i32 @rand() #12
  %278 = and i32 %277, 256
  %279 = icmp ne i32 %278, 0
  %280 = load i32, ptr %13, align 4
  %281 = icmp slt i32 %280, 4
  %or.cond7 = select i1 %279, i1 %281, i1 false
  br i1 %or.cond7, label %337, label %338

282:                                              ; preds = %.lr.ph225, %.loopexit
  %.0194224 = phi i32 [ 0, %.lr.ph225 ], [ %334, %.loopexit ]
  %283 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %284 = icmp eq ptr %283, null
  br i1 %284, label %285, label %299

285:                                              ; preds = %282
  %286 = call noundef zeroext i1 @_ZNK3tlm19tlm_generic_payload7is_readEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  br i1 %286, label %287, label %293

287:                                              ; preds = %285
  %288 = call noundef ptr @_ZNK3tlm19tlm_generic_payload12get_data_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %289 = zext i32 %.0194224 to i64
  %290 = getelementptr inbounds i8, ptr %288, i64 %289
  %291 = call noundef i64 @_ZNK3tlm19tlm_generic_payload11get_addressEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %292 = getelementptr inbounds i8, ptr %12, i64 %291
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %290, ptr nonnull align 1 %292, i64 %274, i1 false)
  br label %.loopexit

293:                                              ; preds = %285
  %294 = call noundef i64 @_ZNK3tlm19tlm_generic_payload11get_addressEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %295 = getelementptr inbounds i8, ptr %12, i64 %294
  %296 = call noundef ptr @_ZNK3tlm19tlm_generic_payload12get_data_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %297 = zext i32 %.0194224 to i64
  %298 = getelementptr inbounds i8, ptr %296, i64 %297
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %295, ptr align 1 %298, i64 %274, i1 false)
  br label %.loopexit

299:                                              ; preds = %282
  %300 = call noundef i32 @_ZNK3tlm19tlm_generic_payload22get_byte_enable_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %301 = call noundef zeroext i1 @_ZNK3tlm19tlm_generic_payload7is_readEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  br i1 %301, label %.preheader, label %.preheader206

.preheader206:                                    ; preds = %299
  br i1 %273, label %.lr.ph221, label %.loopexit

.preheader:                                       ; preds = %299
  br i1 %273, label %.lr.ph223, label %.loopexit

.lr.ph223:                                        ; preds = %.preheader, %317
  %indvars.iv243 = phi i64 [ %indvars.iv.next244, %317 ], [ 0, %.preheader ]
  %302 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %303 = trunc nuw nsw i64 %indvars.iv243 to i32
  %304 = add i32 %.0194224, %303
  %305 = urem i32 %304, %300
  %306 = zext i32 %305 to i64
  %307 = getelementptr inbounds i8, ptr %302, i64 %306
  %308 = load i8, ptr %307, align 1, !tbaa !11
  %.not204 = icmp eq i8 %308, 0
  br i1 %.not204, label %317, label %309

309:                                              ; preds = %.lr.ph223
  %310 = call noundef i64 @_ZNK3tlm19tlm_generic_payload11get_addressEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %311 = add i64 %310, %indvars.iv243
  %312 = getelementptr inbounds [2049 x i8], ptr %12, i64 0, i64 %311
  %313 = load i8, ptr %312, align 1, !tbaa !11
  %314 = call noundef ptr @_ZNK3tlm19tlm_generic_payload12get_data_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %315 = zext i32 %304 to i64
  %316 = getelementptr inbounds i8, ptr %314, i64 %315
  store i8 %313, ptr %316, align 1, !tbaa !11
  br label %317

317:                                              ; preds = %.lr.ph223, %309
  %indvars.iv.next244 = add nuw nsw i64 %indvars.iv243, 1
  %exitcond247.not = icmp eq i64 %indvars.iv.next244, %wide.trip.count246
  br i1 %exitcond247.not, label %.loopexit, label %.lr.ph223, !llvm.loop !16

.lr.ph221:                                        ; preds = %.preheader206, %333
  %indvars.iv240 = phi i64 [ %indvars.iv.next241, %333 ], [ 0, %.preheader206 ]
  %318 = call noundef ptr @_ZNK3tlm19tlm_generic_payload19get_byte_enable_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %319 = trunc nuw nsw i64 %indvars.iv240 to i32
  %320 = add i32 %.0194224, %319
  %321 = urem i32 %320, %300
  %322 = zext i32 %321 to i64
  %323 = getelementptr inbounds i8, ptr %318, i64 %322
  %324 = load i8, ptr %323, align 1, !tbaa !11
  %.not203 = icmp eq i8 %324, 0
  br i1 %.not203, label %333, label %325

325:                                              ; preds = %.lr.ph221
  %326 = call noundef ptr @_ZNK3tlm19tlm_generic_payload12get_data_ptrEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %327 = zext i32 %320 to i64
  %328 = getelementptr inbounds i8, ptr %326, i64 %327
  %329 = load i8, ptr %328, align 1, !tbaa !11
  %330 = call noundef i64 @_ZNK3tlm19tlm_generic_payload11get_addressEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %331 = add i64 %330, %indvars.iv240
  %332 = getelementptr inbounds [2049 x i8], ptr %12, i64 0, i64 %331
  store i8 %329, ptr %332, align 1, !tbaa !11
  br label %333

333:                                              ; preds = %.lr.ph221, %325
  %indvars.iv.next241 = add nuw nsw i64 %indvars.iv240, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next241, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph221, !llvm.loop !17

.loopexit:                                        ; preds = %333, %317, %.preheader206, %.preheader, %293, %287
  %334 = add i32 %.0194224, %267
  %335 = call noundef i32 @_ZNK3tlm19tlm_generic_payload15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(140) %1)
  %336 = icmp ult i32 %334, %335
  br i1 %336, label %282, label %._crit_edge226, !llvm.loop !18

337:                                              ; preds = %._crit_edge226
  call void @_ZN3tlm19tlm_from_hostendianEPNS_19tlm_generic_payloadE(ptr noundef nonnull %1)
  br label %424

338:                                              ; preds = %._crit_edge226
  switch i32 %280, label %419 [
    i32 0, label %339
    i32 1, label %355
    i32 2, label %371
    i32 3, label %387
    i32 4, label %403
  ]

339:                                              ; preds = %338
  %340 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %340, label %353 [
    i32 1, label %341
    i32 2, label %343
    i32 4, label %345
    i32 8, label %347
    i32 16, label %349
    i32 32, label %351
  ]

341:                                              ; preds = %339
  %342 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %342)
  br label %424

343:                                              ; preds = %339
  %344 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %344)
  br label %424

345:                                              ; preds = %339
  %346 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %346)
  br label %424

347:                                              ; preds = %339
  %348 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %348)
  br label %424

349:                                              ; preds = %339
  %350 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %350)
  br label %424

351:                                              ; preds = %339
  %352 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %352)
  br label %424

353:                                              ; preds = %339
  %354 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

355:                                              ; preds = %338
  %356 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %356, label %369 [
    i32 1, label %357
    i32 2, label %359
    i32 4, label %361
    i32 8, label %363
    i32 16, label %365
    i32 32, label %367
  ]

357:                                              ; preds = %355
  %358 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %358)
  br label %424

359:                                              ; preds = %355
  %360 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %360)
  br label %424

361:                                              ; preds = %355
  %362 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %362)
  br label %424

363:                                              ; preds = %355
  %364 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %364)
  br label %424

365:                                              ; preds = %355
  %366 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %366)
  br label %424

367:                                              ; preds = %355
  %368 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %368)
  br label %424

369:                                              ; preds = %355
  %370 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

371:                                              ; preds = %338
  %372 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %372, label %385 [
    i32 1, label %373
    i32 2, label %375
    i32 4, label %377
    i32 8, label %379
    i32 16, label %381
    i32 32, label %383
  ]

373:                                              ; preds = %371
  %374 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %374)
  br label %424

375:                                              ; preds = %371
  %376 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %376)
  br label %424

377:                                              ; preds = %371
  %378 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %378)
  br label %424

379:                                              ; preds = %371
  %380 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %380)
  br label %424

381:                                              ; preds = %371
  %382 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %382)
  br label %424

383:                                              ; preds = %371
  %384 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %384)
  br label %424

385:                                              ; preds = %371
  %386 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

387:                                              ; preds = %338
  %388 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %388, label %401 [
    i32 1, label %389
    i32 2, label %391
    i32 4, label %393
    i32 8, label %395
    i32 16, label %397
    i32 32, label %399
  ]

389:                                              ; preds = %387
  %390 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %390)
  br label %424

391:                                              ; preds = %387
  %392 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %392)
  br label %424

393:                                              ; preds = %387
  %394 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %394)
  br label %424

395:                                              ; preds = %387
  %396 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %396)
  br label %424

397:                                              ; preds = %387
  %398 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %398)
  br label %424

399:                                              ; preds = %387
  %400 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %400)
  br label %424

401:                                              ; preds = %387
  %402 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

403:                                              ; preds = %338
  %404 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %404, label %417 [
    i32 1, label %405
    i32 2, label %407
    i32 4, label %409
    i32 8, label %411
    i32 16, label %413
    i32 32, label %415
  ]

405:                                              ; preds = %403
  %406 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z19local_single_fromheI2dtILi1EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %406)
  br label %424

407:                                              ; preds = %403
  %408 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z19local_single_fromheI2dtILi2EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %408)
  br label %424

409:                                              ; preds = %403
  %410 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z19local_single_fromheI2dtILi4EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %410)
  br label %424

411:                                              ; preds = %403
  %412 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z19local_single_fromheI2dtILi8EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %412)
  br label %424

413:                                              ; preds = %403
  %414 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z19local_single_fromheI2dtILi16EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %414)
  br label %424

415:                                              ; preds = %403
  %416 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z19local_single_fromheI2dtILi32EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef nonnull %1, i32 noundef %416)
  br label %424

417:                                              ; preds = %403
  %418 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.31)
  call void @exit(i32 noundef 1) #14
  unreachable

419:                                              ; preds = %338
  %420 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.32)
  %421 = load i32, ptr %13, align 4, !tbaa !9
  %422 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %420, i32 noundef %421)
  %423 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %422, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @exit(i32 noundef 1) #14
  unreachable

424:                                              ; preds = %351, %349, %347, %345, %343, %341, %367, %365, %363, %361, %359, %357, %383, %381, %379, %377, %375, %373, %399, %397, %395, %393, %391, %389, %415, %413, %411, %409, %407, %405, %337
  %425 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.40)
  %426 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.41)
  %427 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKh(ptr noundef nonnull align 8 dereferenceable(8) %426, ptr noundef nonnull %11)
  %428 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %427, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %429 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.42)
  %430 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKh(ptr noundef nonnull align 8 dereferenceable(8) %429, ptr noundef nonnull %12)
  %431 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %430, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %432 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %431, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @_ZdaPv(ptr noundef nonnull %33) #15
  %.not202 = icmp eq ptr %.0193, null
  br i1 %.not202, label %434, label %433

433:                                              ; preds = %424
  call void @_ZdaPv(ptr noundef nonnull %.0193) #15
  br label %434

434:                                              ; preds = %433, %424
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #12
  call void @llvm.lifetime.end.p0(i64 2049, ptr nonnull %12) #12
  call void @llvm.lifetime.end.p0(i64 2049, ptr nonnull %11) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #12
  ret void
}

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi6ignoreEli(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm19tlm_generic_payload11set_addressEy(ptr noundef nonnull align 8 dereferenceable(140), i64 noundef) local_unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm19tlm_generic_payload15set_data_lengthEj(ptr noundef nonnull align 8 dereferenceable(140), i32 noundef) local_unnamed_addr #2 align 2

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

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm19tlm_generic_payload22set_byte_enable_lengthEj(ptr noundef nonnull align 8 dereferenceable(140), i32 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm19tlm_generic_payload19set_streaming_widthEj(ptr noundef nonnull align 8 dereferenceable(140), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #6

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsISt11char_traitsIcEERSt13basic_istreamIcT_ES5_Ph(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKh(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #6

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_genericI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm22tlm_to_hostendian_wordI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm25tlm_to_hostendian_alignedI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_to_hostendian_singleI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17local_single_toheI2dtILi1EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17local_single_toheI2dtILi2EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17local_single_toheI2dtILi4EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17local_single_toheI2dtILi8EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17local_single_toheI2dtILi16EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17local_single_toheI2dtILi32EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3tlm19tlm_generic_payload7is_readEv(ptr noundef nonnull align 8 dereferenceable(140)) local_unnamed_addr #2 align 2

; 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) #8

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #9

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm19tlm_from_hostendianEPNS_19tlm_generic_payloadE(ptr noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_genericI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm24tlm_from_hostendian_wordI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tlm27tlm_from_hostendian_alignedI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi1EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi2EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi4EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi8EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi16EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3tlm26tlm_from_hostendian_singleI2dtILi32EEEEvPNS_19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z19local_single_fromheI2dtILi1EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z19local_single_fromheI2dtILi2EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z19local_single_fromheI2dtILi4EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z19local_single_fromheI2dtILi8EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z19local_single_fromheI2dtILi16EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z19local_single_fromheI2dtILi32EEEvPN3tlm19tlm_generic_payloadEj(ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #11

attributes #0 = { mustprogress 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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { 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 #10 = { 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 #11 = { nobuiltin 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 #12 = { nounwind }
attributes #13 = { builtin allocsize(0) }
attributes #14 = { noreturn nounwind }
attributes #15 = { builtin 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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}


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