; LLVM IR from pixelsdb/mini-pixels :: pixels-core/lib/utils (EncodingUtils)

; 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::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%class.EncodingUtils = type { ptr, ptr }

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13EncodingUtils11writeLongBEESt10shared_ptrI10ByteBufferEPliii(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::shared_ptr", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::shared_ptr", align 8
  %17 = alloca %"class.std::shared_ptr", align 8
  %18 = alloca %"class.std::shared_ptr", align 8
  %19 = alloca %"class.std::shared_ptr", align 8
  %20 = alloca %"class.std::shared_ptr", align 8
  %21 = alloca %"class.std::shared_ptr", align 8
  %22 = alloca %"class.std::shared_ptr", align 8
  %23 = alloca %"class.std::shared_ptr", align 8
  %24 = alloca %"class.std::shared_ptr", align 8
  %25 = alloca %"class.std::shared_ptr", align 8
  %26 = alloca %"class.std::shared_ptr", align 8
  %27 = alloca %"class.std::shared_ptr", align 8
  %28 = alloca %"class.std::shared_ptr", align 8
  %29 = alloca %"class.std::shared_ptr", align 8
  %30 = alloca %"class.std::shared_ptr", align 8
  %31 = alloca %"class.std::shared_ptr", align 8
  %32 = alloca %"class.std::shared_ptr", align 8
  %33 = alloca %"class.std::shared_ptr", align 8
  %34 = alloca %"class.std::shared_ptr", align 8
  %35 = alloca %"class.std::shared_ptr", align 8
  %36 = alloca %"class.std::shared_ptr", align 8
  %37 = alloca %"class.std::shared_ptr", align 8
  %38 = alloca %"class.std::shared_ptr", align 8
  %39 = alloca %"class.std::shared_ptr", align 8
  %40 = alloca %"class.std::shared_ptr", align 8
  %41 = alloca %"class.std::shared_ptr", align 8
  %42 = alloca %"class.std::shared_ptr", align 8
  %43 = alloca %"class.std::shared_ptr", align 8
  %44 = alloca %"class.std::shared_ptr", align 8
  %45 = alloca %"class.std::shared_ptr", align 8
  %46 = alloca %"class.std::shared_ptr", align 8
  %47 = alloca %"class.std::shared_ptr", align 8
  %48 = alloca %"class.std::shared_ptr", align 8
  %49 = alloca %"class.std::shared_ptr", align 8
  %50 = alloca %"class.std::shared_ptr", align 8
  %51 = alloca %"class.std::shared_ptr", align 8
  %52 = alloca %"class.std::shared_ptr", align 8
  %53 = alloca %"class.std::shared_ptr", align 8
  %54 = alloca %"class.std::shared_ptr", align 8
  %55 = alloca %"class.std::shared_ptr", align 8
  %56 = alloca %"class.std::shared_ptr", align 8
  %57 = alloca %"class.std::shared_ptr", align 8
  %58 = alloca %"class.std::shared_ptr", align 8
  %59 = alloca %"class.std::shared_ptr", align 8
  %60 = alloca %"class.std::shared_ptr", align 8
  %61 = alloca %"class.std::shared_ptr", align 8
  %62 = alloca %"class.std::shared_ptr", align 8
  %63 = alloca %"class.std::shared_ptr", align 8
  %64 = alloca %"class.std::shared_ptr", align 8
  %65 = alloca %"class.std::shared_ptr", align 8
  %66 = alloca %"class.std::shared_ptr", align 8
  %67 = alloca %"class.std::shared_ptr", align 8
  %68 = alloca %"class.std::shared_ptr", align 8
  %69 = alloca %"class.std::shared_ptr", align 8
  %70 = alloca %"class.std::shared_ptr", align 8
  %71 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  store i32 %5, ptr %12, align 4, !tbaa !9
  %72 = load ptr, ptr %7, align 8
  %73 = load i32, ptr %12, align 4, !tbaa !9
  switch i32 %73, label %778 [
    i32 1, label %74
    i32 2, label %162
    i32 3, label %250
    i32 4, label %338
    i32 5, label %426
    i32 6, label %514
    i32 7, label %602
    i32 8, label %690
  ]

74:                                               ; preds = %6
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  %76 = load i32, ptr %10, align 4, !tbaa !9
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds i64, ptr %75, i64 %77
  %79 = load i64, ptr %78, align 8, !tbaa !11
  %80 = and i64 %79, 255
  %81 = trunc i64 %80 to i8
  %82 = getelementptr inbounds %class.EncodingUtils, ptr %72, i32 0, i32 1
  %83 = load ptr, ptr %82, align 8, !tbaa !13
  %84 = getelementptr inbounds i8, ptr %83, i64 0
  store i8 %81, ptr %84, align 1, !tbaa !15
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = load i32, ptr %10, align 4, !tbaa !9
  %87 = add nsw i32 %86, 1
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds i64, ptr %85, i64 %88
  %90 = load i64, ptr %89, align 8, !tbaa !11
  %91 = and i64 %90, 255
  %92 = trunc i64 %91 to i8
  %93 = getelementptr inbounds %class.EncodingUtils, ptr %72, i32 0, i32 1
  %94 = load ptr, ptr %93, align 8, !tbaa !13
  %95 = getelementptr inbounds i8, ptr %94, i64 1
  store i8 %92, ptr %95, align 1, !tbaa !15
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = load i32, ptr %10, align 4, !tbaa !9
  %98 = add nsw i32 %97, 2
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds i64, ptr %96, i64 %99
  %101 = load i64, ptr %100, align 8, !tbaa !11
  %102 = and i64 %101, 255
  %103 = trunc i64 %102 to i8
  %104 = getelementptr inbounds %class.EncodingUtils, ptr %72, i32 0, i32 1
  %105 = load ptr, ptr %104, align 8, !tbaa !13
  %106 = getelementptr inbounds i8, ptr %105, i64 2
  store i8 %103, ptr %106, align 1, !tbaa !15
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = load i32, ptr %10, align 4, !tbaa !9
  %109 = add nsw i32 %108, 3
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds i64, ptr %107, i64 %110
  %112 = load i64, ptr %111, align 8, !tbaa !11
  %113 = and i64 %112, 255
  %114 = trunc i64 %113 to i8
  %115 = getelementptr inbounds %class.EncodingUtils, ptr %72, i32 0, i32 1
  %116 = load ptr, ptr %115, align 8, !tbaa !13
  %117 = getelementptr inbounds i8, ptr %116, i64 3
  store i8 %114, ptr %117, align 1, !tbaa !15
  %118 = load ptr, ptr %9, align 8, !tbaa !5
  %119 = load i32, ptr %10, align 4, !tbaa !9
  %120 = add nsw i32 %119, 4
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds i64, ptr %118, i64 %121
  %123 = load i64, ptr %122, align 8, !tbaa !11
  %124 = and i64 %123, 255
  %125 = trunc i64 %124 to i8
  %126 = getelementptr inbounds %class.EncodingUtils, ptr %72, i32 0, i32 1
  %127 = load ptr, ptr %126, align 8, !tbaa !13
  %128 = getelementptr inbounds i8, ptr %127, i64 4
  store i8 %125, ptr %128, align 1, !tbaa !15
  %129 = load ptr, ptr %9, align 8, !tbaa !5
  %130 = load i32, ptr %10, align 4, !tbaa !9
  %131 = add nsw i32 %130, 5
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds i64, ptr %129, i64 %132
  %134 = load i64, ptr %133, align 8, !tbaa !11
  %135 = and i64 %134, 255
  %136 = trunc i64 %135 to i8
  %137 = getelementptr inbounds %class.EncodingUtils, ptr %72, i32 0, i32 1
  %138 = load ptr, ptr %137, align 8, !tbaa !13
  %139 = getelementptr inbounds i8, ptr %138, i64 5
  store i8 %136, ptr %139, align 1, !tbaa !15
  %140 = load ptr, ptr %9, align 8, !tbaa !5
  %141 = load i32, ptr %10, align 4, !tbaa !9
  %142 = add nsw i32 %141, 6
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds i64, ptr %140, i64 %143
  %145 = load i64, ptr %144, align 8, !tbaa !11
  %146 = and i64 %145, 255
  %147 = trunc i64 %146 to i8
  %148 = getelementptr inbounds %class.EncodingUtils, ptr %72, i32 0, i32 1
  %149 = load ptr, ptr %148, align 8, !tbaa !13
  %150 = getelementptr inbounds i8, ptr %149, i64 6
  store i8 %147, ptr %150, align 1, !tbaa !15
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  %152 = load i32, ptr %10, align 4, !tbaa !9
  %153 = add nsw i32 %152, 7
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds i64, ptr %151, i64 %154
  %156 = load i64, ptr %155, align 8, !tbaa !11
  %157 = and i64 %156, 255
  %158 = trunc i64 %157 to i8
  %159 = getelementptr inbounds %class.EncodingUtils, ptr %72, i32 0, i32 1
  %160 = load ptr, ptr %159, align 8, !tbaa !13
  %161 = getelementptr inbounds i8, ptr %160, i64 7
  store i8 %158, ptr %161, align 1, !tbaa !15
  br label %779

162:                                              ; preds = %6
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %163 = load ptr, ptr %9, align 8, !tbaa !5
  %164 = load i32, ptr %10, align 4, !tbaa !9
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds i64, ptr %163, i64 %165
  %167 = load i64, ptr %166, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %13, i64 noundef %167, i32 noundef 0)
          to label %168 unwind label %218

168:                                              ; preds = %162
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %169 = load ptr, ptr %9, align 8, !tbaa !5
  %170 = load i32, ptr %10, align 4, !tbaa !9
  %171 = add nsw i32 %170, 1
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds i64, ptr %169, i64 %172
  %174 = load i64, ptr %173, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %16, i64 noundef %174, i32 noundef 2)
          to label %175 unwind label %222

175:                                              ; preds = %168
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %176 = load ptr, ptr %9, align 8, !tbaa !5
  %177 = load i32, ptr %10, align 4, !tbaa !9
  %178 = add nsw i32 %177, 2
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds i64, ptr %176, i64 %179
  %181 = load i64, ptr %180, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %17, i64 noundef %181, i32 noundef 4)
          to label %182 unwind label %226

182:                                              ; preds = %175
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %183 = load ptr, ptr %9, align 8, !tbaa !5
  %184 = load i32, ptr %10, align 4, !tbaa !9
  %185 = add nsw i32 %184, 3
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds i64, ptr %183, i64 %186
  %188 = load i64, ptr %187, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %18, i64 noundef %188, i32 noundef 6)
          to label %189 unwind label %230

189:                                              ; preds = %182
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %190 = load ptr, ptr %9, align 8, !tbaa !5
  %191 = load i32, ptr %10, align 4, !tbaa !9
  %192 = add nsw i32 %191, 4
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds i64, ptr %190, i64 %193
  %195 = load i64, ptr %194, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %19, i64 noundef %195, i32 noundef 8)
          to label %196 unwind label %234

196:                                              ; preds = %189
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %197 = load ptr, ptr %9, align 8, !tbaa !5
  %198 = load i32, ptr %10, align 4, !tbaa !9
  %199 = add nsw i32 %198, 5
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds i64, ptr %197, i64 %200
  %202 = load i64, ptr %201, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %20, i64 noundef %202, i32 noundef 10)
          to label %203 unwind label %238

203:                                              ; preds = %196
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  %205 = load i32, ptr %10, align 4, !tbaa !9
  %206 = add nsw i32 %205, 6
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds i64, ptr %204, i64 %207
  %209 = load i64, ptr %208, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %21, i64 noundef %209, i32 noundef 12)
          to label %210 unwind label %242

210:                                              ; preds = %203
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %211 = load ptr, ptr %9, align 8, !tbaa !5
  %212 = load i32, ptr %10, align 4, !tbaa !9
  %213 = add nsw i32 %212, 7
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds i64, ptr %211, i64 %214
  %216 = load i64, ptr %215, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %22, i64 noundef %216, i32 noundef 14)
          to label %217 unwind label %246

217:                                              ; preds = %210
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #4
  br label %779

218:                                              ; preds = %162
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %14, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #4
  br label %787

222:                                              ; preds = %168
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %14, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #4
  br label %787

226:                                              ; preds = %175
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %14, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #4
  br label %787

230:                                              ; preds = %182
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %14, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #4
  br label %787

234:                                              ; preds = %189
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %14, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #4
  br label %787

238:                                              ; preds = %196
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %14, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #4
  br label %787

242:                                              ; preds = %203
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %14, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #4
  br label %787

246:                                              ; preds = %210
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %14, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #4
  br label %787

250:                                              ; preds = %6
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %251 = load ptr, ptr %9, align 8, !tbaa !5
  %252 = load i32, ptr %10, align 4, !tbaa !9
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds i64, ptr %251, i64 %253
  %255 = load i64, ptr %254, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %23, i64 noundef %255, i32 noundef 0)
          to label %256 unwind label %306

256:                                              ; preds = %250
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %257 = load ptr, ptr %9, align 8, !tbaa !5
  %258 = load i32, ptr %10, align 4, !tbaa !9
  %259 = add nsw i32 %258, 1
  %260 = sext i32 %259 to i64
  %261 = getelementptr inbounds i64, ptr %257, i64 %260
  %262 = load i64, ptr %261, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %24, i64 noundef %262, i32 noundef 3)
          to label %263 unwind label %310

263:                                              ; preds = %256
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %264 = load ptr, ptr %9, align 8, !tbaa !5
  %265 = load i32, ptr %10, align 4, !tbaa !9
  %266 = add nsw i32 %265, 2
  %267 = sext i32 %266 to i64
  %268 = getelementptr inbounds i64, ptr %264, i64 %267
  %269 = load i64, ptr %268, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %25, i64 noundef %269, i32 noundef 6)
          to label %270 unwind label %314

270:                                              ; preds = %263
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %271 = load ptr, ptr %9, align 8, !tbaa !5
  %272 = load i32, ptr %10, align 4, !tbaa !9
  %273 = add nsw i32 %272, 3
  %274 = sext i32 %273 to i64
  %275 = getelementptr inbounds i64, ptr %271, i64 %274
  %276 = load i64, ptr %275, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %26, i64 noundef %276, i32 noundef 9)
          to label %277 unwind label %318

277:                                              ; preds = %270
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %278 = load ptr, ptr %9, align 8, !tbaa !5
  %279 = load i32, ptr %10, align 4, !tbaa !9
  %280 = add nsw i32 %279, 4
  %281 = sext i32 %280 to i64
  %282 = getelementptr inbounds i64, ptr %278, i64 %281
  %283 = load i64, ptr %282, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %27, i64 noundef %283, i32 noundef 12)
          to label %284 unwind label %322

284:                                              ; preds = %277
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %285 = load ptr, ptr %9, align 8, !tbaa !5
  %286 = load i32, ptr %10, align 4, !tbaa !9
  %287 = add nsw i32 %286, 5
  %288 = sext i32 %287 to i64
  %289 = getelementptr inbounds i64, ptr %285, i64 %288
  %290 = load i64, ptr %289, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %28, i64 noundef %290, i32 noundef 15)
          to label %291 unwind label %326

291:                                              ; preds = %284
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %292 = load ptr, ptr %9, align 8, !tbaa !5
  %293 = load i32, ptr %10, align 4, !tbaa !9
  %294 = add nsw i32 %293, 6
  %295 = sext i32 %294 to i64
  %296 = getelementptr inbounds i64, ptr %292, i64 %295
  %297 = load i64, ptr %296, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %29, i64 noundef %297, i32 noundef 18)
          to label %298 unwind label %330

298:                                              ; preds = %291
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %299 = load ptr, ptr %9, align 8, !tbaa !5
  %300 = load i32, ptr %10, align 4, !tbaa !9
  %301 = add nsw i32 %300, 7
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds i64, ptr %299, i64 %302
  %304 = load i64, ptr %303, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %30, i64 noundef %304, i32 noundef 21)
          to label %305 unwind label %334

305:                                              ; preds = %298
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #4
  br label %779

306:                                              ; preds = %250
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %14, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #4
  br label %787

310:                                              ; preds = %256
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %14, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #4
  br label %787

314:                                              ; preds = %263
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %14, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #4
  br label %787

318:                                              ; preds = %270
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %14, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #4
  br label %787

322:                                              ; preds = %277
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %14, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #4
  br label %787

326:                                              ; preds = %284
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %14, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #4
  br label %787

330:                                              ; preds = %291
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %14, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #4
  br label %787

334:                                              ; preds = %298
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %14, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #4
  br label %787

338:                                              ; preds = %6
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %339 = load ptr, ptr %9, align 8, !tbaa !5
  %340 = load i32, ptr %10, align 4, !tbaa !9
  %341 = sext i32 %340 to i64
  %342 = getelementptr inbounds i64, ptr %339, i64 %341
  %343 = load i64, ptr %342, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %31, i64 noundef %343, i32 noundef 0)
          to label %344 unwind label %394

344:                                              ; preds = %338
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %345 = load ptr, ptr %9, align 8, !tbaa !5
  %346 = load i32, ptr %10, align 4, !tbaa !9
  %347 = add nsw i32 %346, 1
  %348 = sext i32 %347 to i64
  %349 = getelementptr inbounds i64, ptr %345, i64 %348
  %350 = load i64, ptr %349, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %32, i64 noundef %350, i32 noundef 4)
          to label %351 unwind label %398

351:                                              ; preds = %344
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %352 = load ptr, ptr %9, align 8, !tbaa !5
  %353 = load i32, ptr %10, align 4, !tbaa !9
  %354 = add nsw i32 %353, 2
  %355 = sext i32 %354 to i64
  %356 = getelementptr inbounds i64, ptr %352, i64 %355
  %357 = load i64, ptr %356, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %33, i64 noundef %357, i32 noundef 8)
          to label %358 unwind label %402

358:                                              ; preds = %351
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %359 = load ptr, ptr %9, align 8, !tbaa !5
  %360 = load i32, ptr %10, align 4, !tbaa !9
  %361 = add nsw i32 %360, 3
  %362 = sext i32 %361 to i64
  %363 = getelementptr inbounds i64, ptr %359, i64 %362
  %364 = load i64, ptr %363, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %34, i64 noundef %364, i32 noundef 12)
          to label %365 unwind label %406

365:                                              ; preds = %358
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %366 = load ptr, ptr %9, align 8, !tbaa !5
  %367 = load i32, ptr %10, align 4, !tbaa !9
  %368 = add nsw i32 %367, 4
  %369 = sext i32 %368 to i64
  %370 = getelementptr inbounds i64, ptr %366, i64 %369
  %371 = load i64, ptr %370, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %35, i64 noundef %371, i32 noundef 16)
          to label %372 unwind label %410

372:                                              ; preds = %365
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %35) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %373 = load ptr, ptr %9, align 8, !tbaa !5
  %374 = load i32, ptr %10, align 4, !tbaa !9
  %375 = add nsw i32 %374, 5
  %376 = sext i32 %375 to i64
  %377 = getelementptr inbounds i64, ptr %373, i64 %376
  %378 = load i64, ptr %377, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %36, i64 noundef %378, i32 noundef 20)
          to label %379 unwind label %414

379:                                              ; preds = %372
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %36) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %37, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %380 = load ptr, ptr %9, align 8, !tbaa !5
  %381 = load i32, ptr %10, align 4, !tbaa !9
  %382 = add nsw i32 %381, 6
  %383 = sext i32 %382 to i64
  %384 = getelementptr inbounds i64, ptr %380, i64 %383
  %385 = load i64, ptr %384, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %37, i64 noundef %385, i32 noundef 24)
          to label %386 unwind label %418

386:                                              ; preds = %379
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %37) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %387 = load ptr, ptr %9, align 8, !tbaa !5
  %388 = load i32, ptr %10, align 4, !tbaa !9
  %389 = add nsw i32 %388, 7
  %390 = sext i32 %389 to i64
  %391 = getelementptr inbounds i64, ptr %387, i64 %390
  %392 = load i64, ptr %391, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %38, i64 noundef %392, i32 noundef 28)
          to label %393 unwind label %422

393:                                              ; preds = %386
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #4
  br label %779

394:                                              ; preds = %338
  %395 = landingpad { ptr, i32 }
          cleanup
  %396 = extractvalue { ptr, i32 } %395, 0
  store ptr %396, ptr %14, align 8
  %397 = extractvalue { ptr, i32 } %395, 1
  store i32 %397, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #4
  br label %787

398:                                              ; preds = %344
  %399 = landingpad { ptr, i32 }
          cleanup
  %400 = extractvalue { ptr, i32 } %399, 0
  store ptr %400, ptr %14, align 8
  %401 = extractvalue { ptr, i32 } %399, 1
  store i32 %401, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #4
  br label %787

402:                                              ; preds = %351
  %403 = landingpad { ptr, i32 }
          cleanup
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %14, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #4
  br label %787

406:                                              ; preds = %358
  %407 = landingpad { ptr, i32 }
          cleanup
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %14, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #4
  br label %787

410:                                              ; preds = %365
  %411 = landingpad { ptr, i32 }
          cleanup
  %412 = extractvalue { ptr, i32 } %411, 0
  store ptr %412, ptr %14, align 8
  %413 = extractvalue { ptr, i32 } %411, 1
  store i32 %413, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %35) #4
  br label %787

414:                                              ; preds = %372
  %415 = landingpad { ptr, i32 }
          cleanup
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %14, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %36) #4
  br label %787

418:                                              ; preds = %379
  %419 = landingpad { ptr, i32 }
          cleanup
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %14, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %37) #4
  br label %787

422:                                              ; preds = %386
  %423 = landingpad { ptr, i32 }
          cleanup
  %424 = extractvalue { ptr, i32 } %423, 0
  store ptr %424, ptr %14, align 8
  %425 = extractvalue { ptr, i32 } %423, 1
  store i32 %425, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #4
  br label %787

426:                                              ; preds = %6
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %427 = load ptr, ptr %9, align 8, !tbaa !5
  %428 = load i32, ptr %10, align 4, !tbaa !9
  %429 = sext i32 %428 to i64
  %430 = getelementptr inbounds i64, ptr %427, i64 %429
  %431 = load i64, ptr %430, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %39, i64 noundef %431, i32 noundef 0)
          to label %432 unwind label %482

432:                                              ; preds = %426
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %39) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %40, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %433 = load ptr, ptr %9, align 8, !tbaa !5
  %434 = load i32, ptr %10, align 4, !tbaa !9
  %435 = add nsw i32 %434, 1
  %436 = sext i32 %435 to i64
  %437 = getelementptr inbounds i64, ptr %433, i64 %436
  %438 = load i64, ptr %437, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %40, i64 noundef %438, i32 noundef 5)
          to label %439 unwind label %486

439:                                              ; preds = %432
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %40) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %440 = load ptr, ptr %9, align 8, !tbaa !5
  %441 = load i32, ptr %10, align 4, !tbaa !9
  %442 = add nsw i32 %441, 2
  %443 = sext i32 %442 to i64
  %444 = getelementptr inbounds i64, ptr %440, i64 %443
  %445 = load i64, ptr %444, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %41, i64 noundef %445, i32 noundef 10)
          to label %446 unwind label %490

446:                                              ; preds = %439
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %41) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %447 = load ptr, ptr %9, align 8, !tbaa !5
  %448 = load i32, ptr %10, align 4, !tbaa !9
  %449 = add nsw i32 %448, 3
  %450 = sext i32 %449 to i64
  %451 = getelementptr inbounds i64, ptr %447, i64 %450
  %452 = load i64, ptr %451, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %42, i64 noundef %452, i32 noundef 15)
          to label %453 unwind label %494

453:                                              ; preds = %446
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %42) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %454 = load ptr, ptr %9, align 8, !tbaa !5
  %455 = load i32, ptr %10, align 4, !tbaa !9
  %456 = add nsw i32 %455, 4
  %457 = sext i32 %456 to i64
  %458 = getelementptr inbounds i64, ptr %454, i64 %457
  %459 = load i64, ptr %458, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %43, i64 noundef %459, i32 noundef 20)
          to label %460 unwind label %498

460:                                              ; preds = %453
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %43) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %461 = load ptr, ptr %9, align 8, !tbaa !5
  %462 = load i32, ptr %10, align 4, !tbaa !9
  %463 = add nsw i32 %462, 5
  %464 = sext i32 %463 to i64
  %465 = getelementptr inbounds i64, ptr %461, i64 %464
  %466 = load i64, ptr %465, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %44, i64 noundef %466, i32 noundef 25)
          to label %467 unwind label %502

467:                                              ; preds = %460
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %44) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %468 = load ptr, ptr %9, align 8, !tbaa !5
  %469 = load i32, ptr %10, align 4, !tbaa !9
  %470 = add nsw i32 %469, 6
  %471 = sext i32 %470 to i64
  %472 = getelementptr inbounds i64, ptr %468, i64 %471
  %473 = load i64, ptr %472, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %45, i64 noundef %473, i32 noundef 30)
          to label %474 unwind label %506

474:                                              ; preds = %467
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %45) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %475 = load ptr, ptr %9, align 8, !tbaa !5
  %476 = load i32, ptr %10, align 4, !tbaa !9
  %477 = add nsw i32 %476, 7
  %478 = sext i32 %477 to i64
  %479 = getelementptr inbounds i64, ptr %475, i64 %478
  %480 = load i64, ptr %479, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %46, i64 noundef %480, i32 noundef 35)
          to label %481 unwind label %510

481:                                              ; preds = %474
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %46) #4
  br label %779

482:                                              ; preds = %426
  %483 = landingpad { ptr, i32 }
          cleanup
  %484 = extractvalue { ptr, i32 } %483, 0
  store ptr %484, ptr %14, align 8
  %485 = extractvalue { ptr, i32 } %483, 1
  store i32 %485, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %39) #4
  br label %787

486:                                              ; preds = %432
  %487 = landingpad { ptr, i32 }
          cleanup
  %488 = extractvalue { ptr, i32 } %487, 0
  store ptr %488, ptr %14, align 8
  %489 = extractvalue { ptr, i32 } %487, 1
  store i32 %489, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %40) #4
  br label %787

490:                                              ; preds = %439
  %491 = landingpad { ptr, i32 }
          cleanup
  %492 = extractvalue { ptr, i32 } %491, 0
  store ptr %492, ptr %14, align 8
  %493 = extractvalue { ptr, i32 } %491, 1
  store i32 %493, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %41) #4
  br label %787

494:                                              ; preds = %446
  %495 = landingpad { ptr, i32 }
          cleanup
  %496 = extractvalue { ptr, i32 } %495, 0
  store ptr %496, ptr %14, align 8
  %497 = extractvalue { ptr, i32 } %495, 1
  store i32 %497, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %42) #4
  br label %787

498:                                              ; preds = %453
  %499 = landingpad { ptr, i32 }
          cleanup
  %500 = extractvalue { ptr, i32 } %499, 0
  store ptr %500, ptr %14, align 8
  %501 = extractvalue { ptr, i32 } %499, 1
  store i32 %501, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %43) #4
  br label %787

502:                                              ; preds = %460
  %503 = landingpad { ptr, i32 }
          cleanup
  %504 = extractvalue { ptr, i32 } %503, 0
  store ptr %504, ptr %14, align 8
  %505 = extractvalue { ptr, i32 } %503, 1
  store i32 %505, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %44) #4
  br label %787

506:                                              ; preds = %467
  %507 = landingpad { ptr, i32 }
          cleanup
  %508 = extractvalue { ptr, i32 } %507, 0
  store ptr %508, ptr %14, align 8
  %509 = extractvalue { ptr, i32 } %507, 1
  store i32 %509, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %45) #4
  br label %787

510:                                              ; preds = %474
  %511 = landingpad { ptr, i32 }
          cleanup
  %512 = extractvalue { ptr, i32 } %511, 0
  store ptr %512, ptr %14, align 8
  %513 = extractvalue { ptr, i32 } %511, 1
  store i32 %513, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %46) #4
  br label %787

514:                                              ; preds = %6
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %515 = load ptr, ptr %9, align 8, !tbaa !5
  %516 = load i32, ptr %10, align 4, !tbaa !9
  %517 = sext i32 %516 to i64
  %518 = getelementptr inbounds i64, ptr %515, i64 %517
  %519 = load i64, ptr %518, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %47, i64 noundef %519, i32 noundef 0)
          to label %520 unwind label %570

520:                                              ; preds = %514
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %47) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %48, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %521 = load ptr, ptr %9, align 8, !tbaa !5
  %522 = load i32, ptr %10, align 4, !tbaa !9
  %523 = add nsw i32 %522, 1
  %524 = sext i32 %523 to i64
  %525 = getelementptr inbounds i64, ptr %521, i64 %524
  %526 = load i64, ptr %525, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %48, i64 noundef %526, i32 noundef 6)
          to label %527 unwind label %574

527:                                              ; preds = %520
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %48) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %528 = load ptr, ptr %9, align 8, !tbaa !5
  %529 = load i32, ptr %10, align 4, !tbaa !9
  %530 = add nsw i32 %529, 2
  %531 = sext i32 %530 to i64
  %532 = getelementptr inbounds i64, ptr %528, i64 %531
  %533 = load i64, ptr %532, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %49, i64 noundef %533, i32 noundef 12)
          to label %534 unwind label %578

534:                                              ; preds = %527
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %49) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %50, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %535 = load ptr, ptr %9, align 8, !tbaa !5
  %536 = load i32, ptr %10, align 4, !tbaa !9
  %537 = add nsw i32 %536, 3
  %538 = sext i32 %537 to i64
  %539 = getelementptr inbounds i64, ptr %535, i64 %538
  %540 = load i64, ptr %539, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %50, i64 noundef %540, i32 noundef 18)
          to label %541 unwind label %582

541:                                              ; preds = %534
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %50) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %51, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %542 = load ptr, ptr %9, align 8, !tbaa !5
  %543 = load i32, ptr %10, align 4, !tbaa !9
  %544 = add nsw i32 %543, 4
  %545 = sext i32 %544 to i64
  %546 = getelementptr inbounds i64, ptr %542, i64 %545
  %547 = load i64, ptr %546, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %51, i64 noundef %547, i32 noundef 24)
          to label %548 unwind label %586

548:                                              ; preds = %541
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %51) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %52, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %549 = load ptr, ptr %9, align 8, !tbaa !5
  %550 = load i32, ptr %10, align 4, !tbaa !9
  %551 = add nsw i32 %550, 5
  %552 = sext i32 %551 to i64
  %553 = getelementptr inbounds i64, ptr %549, i64 %552
  %554 = load i64, ptr %553, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %52, i64 noundef %554, i32 noundef 30)
          to label %555 unwind label %590

555:                                              ; preds = %548
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %52) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %53, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %556 = load ptr, ptr %9, align 8, !tbaa !5
  %557 = load i32, ptr %10, align 4, !tbaa !9
  %558 = add nsw i32 %557, 6
  %559 = sext i32 %558 to i64
  %560 = getelementptr inbounds i64, ptr %556, i64 %559
  %561 = load i64, ptr %560, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %53, i64 noundef %561, i32 noundef 36)
          to label %562 unwind label %594

562:                                              ; preds = %555
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %53) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %563 = load ptr, ptr %9, align 8, !tbaa !5
  %564 = load i32, ptr %10, align 4, !tbaa !9
  %565 = add nsw i32 %564, 7
  %566 = sext i32 %565 to i64
  %567 = getelementptr inbounds i64, ptr %563, i64 %566
  %568 = load i64, ptr %567, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %54, i64 noundef %568, i32 noundef 42)
          to label %569 unwind label %598

569:                                              ; preds = %562
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %54) #4
  br label %779

570:                                              ; preds = %514
  %571 = landingpad { ptr, i32 }
          cleanup
  %572 = extractvalue { ptr, i32 } %571, 0
  store ptr %572, ptr %14, align 8
  %573 = extractvalue { ptr, i32 } %571, 1
  store i32 %573, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %47) #4
  br label %787

574:                                              ; preds = %520
  %575 = landingpad { ptr, i32 }
          cleanup
  %576 = extractvalue { ptr, i32 } %575, 0
  store ptr %576, ptr %14, align 8
  %577 = extractvalue { ptr, i32 } %575, 1
  store i32 %577, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %48) #4
  br label %787

578:                                              ; preds = %527
  %579 = landingpad { ptr, i32 }
          cleanup
  %580 = extractvalue { ptr, i32 } %579, 0
  store ptr %580, ptr %14, align 8
  %581 = extractvalue { ptr, i32 } %579, 1
  store i32 %581, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %49) #4
  br label %787

582:                                              ; preds = %534
  %583 = landingpad { ptr, i32 }
          cleanup
  %584 = extractvalue { ptr, i32 } %583, 0
  store ptr %584, ptr %14, align 8
  %585 = extractvalue { ptr, i32 } %583, 1
  store i32 %585, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %50) #4
  br label %787

586:                                              ; preds = %541
  %587 = landingpad { ptr, i32 }
          cleanup
  %588 = extractvalue { ptr, i32 } %587, 0
  store ptr %588, ptr %14, align 8
  %589 = extractvalue { ptr, i32 } %587, 1
  store i32 %589, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %51) #4
  br label %787

590:                                              ; preds = %548
  %591 = landingpad { ptr, i32 }
          cleanup
  %592 = extractvalue { ptr, i32 } %591, 0
  store ptr %592, ptr %14, align 8
  %593 = extractvalue { ptr, i32 } %591, 1
  store i32 %593, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %52) #4
  br label %787

594:                                              ; preds = %555
  %595 = landingpad { ptr, i32 }
          cleanup
  %596 = extractvalue { ptr, i32 } %595, 0
  store ptr %596, ptr %14, align 8
  %597 = extractvalue { ptr, i32 } %595, 1
  store i32 %597, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %53) #4
  br label %787

598:                                              ; preds = %562
  %599 = landingpad { ptr, i32 }
          cleanup
  %600 = extractvalue { ptr, i32 } %599, 0
  store ptr %600, ptr %14, align 8
  %601 = extractvalue { ptr, i32 } %599, 1
  store i32 %601, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %54) #4
  br label %787

602:                                              ; preds = %6
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %55, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %603 = load ptr, ptr %9, align 8, !tbaa !5
  %604 = load i32, ptr %10, align 4, !tbaa !9
  %605 = sext i32 %604 to i64
  %606 = getelementptr inbounds i64, ptr %603, i64 %605
  %607 = load i64, ptr %606, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %55, i64 noundef %607, i32 noundef 0)
          to label %608 unwind label %658

608:                                              ; preds = %602
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %55) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %56, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %609 = load ptr, ptr %9, align 8, !tbaa !5
  %610 = load i32, ptr %10, align 4, !tbaa !9
  %611 = add nsw i32 %610, 1
  %612 = sext i32 %611 to i64
  %613 = getelementptr inbounds i64, ptr %609, i64 %612
  %614 = load i64, ptr %613, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %56, i64 noundef %614, i32 noundef 7)
          to label %615 unwind label %662

615:                                              ; preds = %608
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %56) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %57, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %616 = load ptr, ptr %9, align 8, !tbaa !5
  %617 = load i32, ptr %10, align 4, !tbaa !9
  %618 = add nsw i32 %617, 2
  %619 = sext i32 %618 to i64
  %620 = getelementptr inbounds i64, ptr %616, i64 %619
  %621 = load i64, ptr %620, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %57, i64 noundef %621, i32 noundef 14)
          to label %622 unwind label %666

622:                                              ; preds = %615
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %57) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %623 = load ptr, ptr %9, align 8, !tbaa !5
  %624 = load i32, ptr %10, align 4, !tbaa !9
  %625 = add nsw i32 %624, 3
  %626 = sext i32 %625 to i64
  %627 = getelementptr inbounds i64, ptr %623, i64 %626
  %628 = load i64, ptr %627, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %58, i64 noundef %628, i32 noundef 21)
          to label %629 unwind label %670

629:                                              ; preds = %622
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %58) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %59, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %630 = load ptr, ptr %9, align 8, !tbaa !5
  %631 = load i32, ptr %10, align 4, !tbaa !9
  %632 = add nsw i32 %631, 4
  %633 = sext i32 %632 to i64
  %634 = getelementptr inbounds i64, ptr %630, i64 %633
  %635 = load i64, ptr %634, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %59, i64 noundef %635, i32 noundef 28)
          to label %636 unwind label %674

636:                                              ; preds = %629
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %59) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %60, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %637 = load ptr, ptr %9, align 8, !tbaa !5
  %638 = load i32, ptr %10, align 4, !tbaa !9
  %639 = add nsw i32 %638, 5
  %640 = sext i32 %639 to i64
  %641 = getelementptr inbounds i64, ptr %637, i64 %640
  %642 = load i64, ptr %641, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %60, i64 noundef %642, i32 noundef 35)
          to label %643 unwind label %678

643:                                              ; preds = %636
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %60) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %644 = load ptr, ptr %9, align 8, !tbaa !5
  %645 = load i32, ptr %10, align 4, !tbaa !9
  %646 = add nsw i32 %645, 6
  %647 = sext i32 %646 to i64
  %648 = getelementptr inbounds i64, ptr %644, i64 %647
  %649 = load i64, ptr %648, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %61, i64 noundef %649, i32 noundef 42)
          to label %650 unwind label %682

650:                                              ; preds = %643
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %61) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %62, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %651 = load ptr, ptr %9, align 8, !tbaa !5
  %652 = load i32, ptr %10, align 4, !tbaa !9
  %653 = add nsw i32 %652, 7
  %654 = sext i32 %653 to i64
  %655 = getelementptr inbounds i64, ptr %651, i64 %654
  %656 = load i64, ptr %655, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %62, i64 noundef %656, i32 noundef 49)
          to label %657 unwind label %686

657:                                              ; preds = %650
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %62) #4
  br label %779

658:                                              ; preds = %602
  %659 = landingpad { ptr, i32 }
          cleanup
  %660 = extractvalue { ptr, i32 } %659, 0
  store ptr %660, ptr %14, align 8
  %661 = extractvalue { ptr, i32 } %659, 1
  store i32 %661, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %55) #4
  br label %787

662:                                              ; preds = %608
  %663 = landingpad { ptr, i32 }
          cleanup
  %664 = extractvalue { ptr, i32 } %663, 0
  store ptr %664, ptr %14, align 8
  %665 = extractvalue { ptr, i32 } %663, 1
  store i32 %665, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %56) #4
  br label %787

666:                                              ; preds = %615
  %667 = landingpad { ptr, i32 }
          cleanup
  %668 = extractvalue { ptr, i32 } %667, 0
  store ptr %668, ptr %14, align 8
  %669 = extractvalue { ptr, i32 } %667, 1
  store i32 %669, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %57) #4
  br label %787

670:                                              ; preds = %622
  %671 = landingpad { ptr, i32 }
          cleanup
  %672 = extractvalue { ptr, i32 } %671, 0
  store ptr %672, ptr %14, align 8
  %673 = extractvalue { ptr, i32 } %671, 1
  store i32 %673, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %58) #4
  br label %787

674:                                              ; preds = %629
  %675 = landingpad { ptr, i32 }
          cleanup
  %676 = extractvalue { ptr, i32 } %675, 0
  store ptr %676, ptr %14, align 8
  %677 = extractvalue { ptr, i32 } %675, 1
  store i32 %677, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %59) #4
  br label %787

678:                                              ; preds = %636
  %679 = landingpad { ptr, i32 }
          cleanup
  %680 = extractvalue { ptr, i32 } %679, 0
  store ptr %680, ptr %14, align 8
  %681 = extractvalue { ptr, i32 } %679, 1
  store i32 %681, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %60) #4
  br label %787

682:                                              ; preds = %643
  %683 = landingpad { ptr, i32 }
          cleanup
  %684 = extractvalue { ptr, i32 } %683, 0
  store ptr %684, ptr %14, align 8
  %685 = extractvalue { ptr, i32 } %683, 1
  store i32 %685, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %61) #4
  br label %787

686:                                              ; preds = %650
  %687 = landingpad { ptr, i32 }
          cleanup
  %688 = extractvalue { ptr, i32 } %687, 0
  store ptr %688, ptr %14, align 8
  %689 = extractvalue { ptr, i32 } %687, 1
  store i32 %689, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %62) #4
  br label %787

690:                                              ; preds = %6
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %63, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %691 = load ptr, ptr %9, align 8, !tbaa !5
  %692 = load i32, ptr %10, align 4, !tbaa !9
  %693 = sext i32 %692 to i64
  %694 = getelementptr inbounds i64, ptr %691, i64 %693
  %695 = load i64, ptr %694, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %63, i64 noundef %695, i32 noundef 0)
          to label %696 unwind label %746

696:                                              ; preds = %690
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %63) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %64, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %697 = load ptr, ptr %9, align 8, !tbaa !5
  %698 = load i32, ptr %10, align 4, !tbaa !9
  %699 = add nsw i32 %698, 1
  %700 = sext i32 %699 to i64
  %701 = getelementptr inbounds i64, ptr %697, i64 %700
  %702 = load i64, ptr %701, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %64, i64 noundef %702, i32 noundef 8)
          to label %703 unwind label %750

703:                                              ; preds = %696
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %64) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %65, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %704 = load ptr, ptr %9, align 8, !tbaa !5
  %705 = load i32, ptr %10, align 4, !tbaa !9
  %706 = add nsw i32 %705, 2
  %707 = sext i32 %706 to i64
  %708 = getelementptr inbounds i64, ptr %704, i64 %707
  %709 = load i64, ptr %708, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %65, i64 noundef %709, i32 noundef 16)
          to label %710 unwind label %754

710:                                              ; preds = %703
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %65) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %66, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %711 = load ptr, ptr %9, align 8, !tbaa !5
  %712 = load i32, ptr %10, align 4, !tbaa !9
  %713 = add nsw i32 %712, 3
  %714 = sext i32 %713 to i64
  %715 = getelementptr inbounds i64, ptr %711, i64 %714
  %716 = load i64, ptr %715, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %66, i64 noundef %716, i32 noundef 24)
          to label %717 unwind label %758

717:                                              ; preds = %710
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %66) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %67, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %718 = load ptr, ptr %9, align 8, !tbaa !5
  %719 = load i32, ptr %10, align 4, !tbaa !9
  %720 = add nsw i32 %719, 4
  %721 = sext i32 %720 to i64
  %722 = getelementptr inbounds i64, ptr %718, i64 %721
  %723 = load i64, ptr %722, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %67, i64 noundef %723, i32 noundef 32)
          to label %724 unwind label %762

724:                                              ; preds = %717
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %67) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %68, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %725 = load ptr, ptr %9, align 8, !tbaa !5
  %726 = load i32, ptr %10, align 4, !tbaa !9
  %727 = add nsw i32 %726, 5
  %728 = sext i32 %727 to i64
  %729 = getelementptr inbounds i64, ptr %725, i64 %728
  %730 = load i64, ptr %729, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %68, i64 noundef %730, i32 noundef 40)
          to label %731 unwind label %766

731:                                              ; preds = %724
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %68) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %69, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %732 = load ptr, ptr %9, align 8, !tbaa !5
  %733 = load i32, ptr %10, align 4, !tbaa !9
  %734 = add nsw i32 %733, 6
  %735 = sext i32 %734 to i64
  %736 = getelementptr inbounds i64, ptr %732, i64 %735
  %737 = load i64, ptr %736, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %69, i64 noundef %737, i32 noundef 48)
          to label %738 unwind label %770

738:                                              ; preds = %731
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %69) #4
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %70, ptr noundef nonnull align 8 dereferenceable(16) %1) #4
  %739 = load ptr, ptr %9, align 8, !tbaa !5
  %740 = load i32, ptr %10, align 4, !tbaa !9
  %741 = add nsw i32 %740, 7
  %742 = sext i32 %741 to i64
  %743 = getelementptr inbounds i64, ptr %739, i64 %742
  %744 = load i64, ptr %743, align 8, !tbaa !11
  invoke void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %70, i64 noundef %744, i32 noundef 56)
          to label %745 unwind label %774

745:                                              ; preds = %738
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %70) #4
  br label %779

746:                                              ; preds = %690
  %747 = landingpad { ptr, i32 }
          cleanup
  %748 = extractvalue { ptr, i32 } %747, 0
  store ptr %748, ptr %14, align 8
  %749 = extractvalue { ptr, i32 } %747, 1
  store i32 %749, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %63) #4
  br label %787

750:                                              ; preds = %696
  %751 = landingpad { ptr, i32 }
          cleanup
  %752 = extractvalue { ptr, i32 } %751, 0
  store ptr %752, ptr %14, align 8
  %753 = extractvalue { ptr, i32 } %751, 1
  store i32 %753, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %64) #4
  br label %787

754:                                              ; preds = %703
  %755 = landingpad { ptr, i32 }
          cleanup
  %756 = extractvalue { ptr, i32 } %755, 0
  store ptr %756, ptr %14, align 8
  %757 = extractvalue { ptr, i32 } %755, 1
  store i32 %757, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %65) #4
  br label %787

758:                                              ; preds = %710
  %759 = landingpad { ptr, i32 }
          cleanup
  %760 = extractvalue { ptr, i32 } %759, 0
  store ptr %760, ptr %14, align 8
  %761 = extractvalue { ptr, i32 } %759, 1
  store i32 %761, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %66) #4
  br label %787

762:                                              ; preds = %717
  %763 = landingpad { ptr, i32 }
          cleanup
  %764 = extractvalue { ptr, i32 } %763, 0
  store ptr %764, ptr %14, align 8
  %765 = extractvalue { ptr, i32 } %763, 1
  store i32 %765, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %67) #4
  br label %787

766:                                              ; preds = %724
  %767 = landingpad { ptr, i32 }
          cleanup
  %768 = extractvalue { ptr, i32 } %767, 0
  store ptr %768, ptr %14, align 8
  %769 = extractvalue { ptr, i32 } %767, 1
  store i32 %769, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %68) #4
  br label %787

770:                                              ; preds = %731
  %771 = landingpad { ptr, i32 }
          cleanup
  %772 = extractvalue { ptr, i32 } %771, 0
  store ptr %772, ptr %14, align 8
  %773 = extractvalue { ptr, i32 } %771, 1
  store i32 %773, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %69) #4
  br label %787

774:                                              ; preds = %738
  %775 = landingpad { ptr, i32 }
          cleanup
  %776 = extractvalue { ptr, i32 } %775, 0
  store ptr %776, ptr %14, align 8
  %777 = extractvalue { ptr, i32 } %775, 1
  store i32 %777, ptr %15, align 4
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %70) #4
  br label %787

778:                                              ; preds = %6
  br label %779

779:                                              ; preds = %778, %745, %657, %569, %481, %393, %305, %217, %74
  call void @llvm.lifetime.start.p0(i64 4, ptr %71) #4
  %780 = load i32, ptr %11, align 4, !tbaa !9
  %781 = load i32, ptr %12, align 4, !tbaa !9
  %782 = mul nsw i32 %780, %781
  store i32 %782, ptr %71, align 4, !tbaa !9
  %783 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10ByteBufferLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #4
  %784 = getelementptr inbounds %class.EncodingUtils, ptr %72, i32 0, i32 1
  %785 = load ptr, ptr %784, align 8, !tbaa !13
  %786 = load i32, ptr %71, align 4, !tbaa !9
  call void @_ZN10ByteBuffer8putBytesEPhj(ptr noundef nonnull align 8 dereferenceable(62) %783, ptr noundef %785, i32 noundef %786)
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #4
  ret void

787:                                              ; preds = %774, %770, %766, %762, %758, %754, %750, %746, %686, %682, %678, %674, %670, %666, %662, %658, %598, %594, %590, %586, %582, %578, %574, %570, %510, %506, %502, %498, %494, %490, %486, %482, %422, %418, %414, %410, %406, %402, %398, %394, %334, %330, %326, %322, %318, %314, %310, %306, %246, %242, %238, %234, %230, %226, %222, %218
  %788 = load ptr, ptr %14, align 8
  %789 = load i32, ptr %15, align 4
  %790 = insertvalue { ptr, i32 } poison, ptr %788, 0
  %791 = insertvalue { ptr, i32 } %790, i32 %789, 1
  resume { ptr, i32 } %791
}

declare void @_ZN10ByteBuffer8putBytesEPhj(ptr noundef nonnull align 8 dereferenceable(62), ptr noundef, i32 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef, i32 noundef) #1 align 2

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

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

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


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

%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13EncodingUtils11writeLongBEESt10shared_ptrI10ByteBufferEPliii(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::shared_ptr", align 8
  %8 = alloca %"class.std::shared_ptr", align 8
  %9 = alloca %"class.std::shared_ptr", align 8
  %10 = alloca %"class.std::shared_ptr", align 8
  %11 = alloca %"class.std::shared_ptr", align 8
  %12 = alloca %"class.std::shared_ptr", align 8
  %13 = alloca %"class.std::shared_ptr", align 8
  %14 = alloca %"class.std::shared_ptr", align 8
  %15 = alloca %"class.std::shared_ptr", align 8
  %16 = alloca %"class.std::shared_ptr", align 8
  %17 = alloca %"class.std::shared_ptr", align 8
  %18 = alloca %"class.std::shared_ptr", align 8
  %19 = alloca %"class.std::shared_ptr", align 8
  %20 = alloca %"class.std::shared_ptr", align 8
  %21 = alloca %"class.std::shared_ptr", align 8
  %22 = alloca %"class.std::shared_ptr", align 8
  %23 = alloca %"class.std::shared_ptr", align 8
  %24 = alloca %"class.std::shared_ptr", align 8
  %25 = alloca %"class.std::shared_ptr", align 8
  %26 = alloca %"class.std::shared_ptr", align 8
  %27 = alloca %"class.std::shared_ptr", align 8
  %28 = alloca %"class.std::shared_ptr", align 8
  %29 = alloca %"class.std::shared_ptr", align 8
  %30 = alloca %"class.std::shared_ptr", align 8
  %31 = alloca %"class.std::shared_ptr", align 8
  %32 = alloca %"class.std::shared_ptr", align 8
  %33 = alloca %"class.std::shared_ptr", align 8
  %34 = alloca %"class.std::shared_ptr", align 8
  %35 = alloca %"class.std::shared_ptr", align 8
  %36 = alloca %"class.std::shared_ptr", align 8
  %37 = alloca %"class.std::shared_ptr", align 8
  %38 = alloca %"class.std::shared_ptr", align 8
  %39 = alloca %"class.std::shared_ptr", align 8
  %40 = alloca %"class.std::shared_ptr", align 8
  %41 = alloca %"class.std::shared_ptr", align 8
  %42 = alloca %"class.std::shared_ptr", align 8
  %43 = alloca %"class.std::shared_ptr", align 8
  %44 = alloca %"class.std::shared_ptr", align 8
  %45 = alloca %"class.std::shared_ptr", align 8
  %46 = alloca %"class.std::shared_ptr", align 8
  %47 = alloca %"class.std::shared_ptr", align 8
  %48 = alloca %"class.std::shared_ptr", align 8
  %49 = alloca %"class.std::shared_ptr", align 8
  %50 = alloca %"class.std::shared_ptr", align 8
  %51 = alloca %"class.std::shared_ptr", align 8
  %52 = alloca %"class.std::shared_ptr", align 8
  %53 = alloca %"class.std::shared_ptr", align 8
  %54 = alloca %"class.std::shared_ptr", align 8
  %55 = alloca %"class.std::shared_ptr", align 8
  %56 = alloca %"class.std::shared_ptr", align 8
  %57 = alloca %"class.std::shared_ptr", align 8
  %58 = alloca %"class.std::shared_ptr", align 8
  %59 = alloca %"class.std::shared_ptr", align 8
  %60 = alloca %"class.std::shared_ptr", align 8
  %61 = alloca %"class.std::shared_ptr", align 8
  %62 = alloca %"class.std::shared_ptr", align 8
  switch i32 %5, label %231 [
    i32 1, label %63
    i32 2, label %105
    i32 3, label %123
    i32 4, label %141
    i32 5, label %159
    i32 6, label %177
    i32 7, label %195
    i32 8, label %213
  ]

63:                                               ; preds = %6
  %64 = sext i32 %3 to i64
  %65 = getelementptr inbounds i64, ptr %2, i64 %64
  %66 = load i64, ptr %65, align 8, !tbaa !5
  %67 = trunc i64 %66 to i8
  %68 = getelementptr inbounds i8, ptr %0, i64 8
  %69 = load ptr, ptr %68, align 8, !tbaa !9
  store i8 %67, ptr %69, align 1, !tbaa !12
  %70 = getelementptr i8, ptr %65, i64 8
  %71 = load i64, ptr %70, align 8, !tbaa !5
  %72 = trunc i64 %71 to i8
  %73 = load ptr, ptr %68, align 8, !tbaa !9
  %74 = getelementptr inbounds i8, ptr %73, i64 1
  store i8 %72, ptr %74, align 1, !tbaa !12
  %75 = getelementptr i8, ptr %65, i64 16
  %76 = load i64, ptr %75, align 8, !tbaa !5
  %77 = trunc i64 %76 to i8
  %78 = load ptr, ptr %68, align 8, !tbaa !9
  %79 = getelementptr inbounds i8, ptr %78, i64 2
  store i8 %77, ptr %79, align 1, !tbaa !12
  %80 = getelementptr i8, ptr %65, i64 24
  %81 = load i64, ptr %80, align 8, !tbaa !5
  %82 = trunc i64 %81 to i8
  %83 = load ptr, ptr %68, align 8, !tbaa !9
  %84 = getelementptr inbounds i8, ptr %83, i64 3
  store i8 %82, ptr %84, align 1, !tbaa !12
  %85 = getelementptr i8, ptr %65, i64 32
  %86 = load i64, ptr %85, align 8, !tbaa !5
  %87 = trunc i64 %86 to i8
  %88 = load ptr, ptr %68, align 8, !tbaa !9
  %89 = getelementptr inbounds i8, ptr %88, i64 4
  store i8 %87, ptr %89, align 1, !tbaa !12
  %90 = getelementptr i8, ptr %65, i64 40
  %91 = load i64, ptr %90, align 8, !tbaa !5
  %92 = trunc i64 %91 to i8
  %93 = load ptr, ptr %68, align 8, !tbaa !9
  %94 = getelementptr inbounds i8, ptr %93, i64 5
  store i8 %92, ptr %94, align 1, !tbaa !12
  %95 = getelementptr i8, ptr %65, i64 48
  %96 = load i64, ptr %95, align 8, !tbaa !5
  %97 = trunc i64 %96 to i8
  %98 = load ptr, ptr %68, align 8, !tbaa !9
  %99 = getelementptr inbounds i8, ptr %98, i64 6
  store i8 %97, ptr %99, align 1, !tbaa !12
  %100 = getelementptr i8, ptr %65, i64 56
  %101 = load i64, ptr %100, align 8, !tbaa !5
  %102 = trunc i64 %101 to i8
  %103 = load ptr, ptr %68, align 8, !tbaa !9
  %104 = getelementptr inbounds i8, ptr %103, i64 7
  store i8 %102, ptr %104, align 1, !tbaa !12
  br label %231

105:                                              ; preds = %6
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %106 = sext i32 %3 to i64
  %107 = getelementptr inbounds i64, ptr %2, i64 %106
  %108 = load i64, ptr %107, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %7, i64 noundef %108, i32 noundef 0)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %109 = getelementptr i8, ptr %107, i64 8
  %110 = load i64, ptr %109, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %8, i64 noundef %110, i32 noundef 2)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %111 = getelementptr i8, ptr %107, i64 16
  %112 = load i64, ptr %111, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %9, i64 noundef %112, i32 noundef 4)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %113 = getelementptr i8, ptr %107, i64 24
  %114 = load i64, ptr %113, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %10, i64 noundef %114, i32 noundef 6)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %115 = getelementptr i8, ptr %107, i64 32
  %116 = load i64, ptr %115, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %11, i64 noundef %116, i32 noundef 8)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %117 = getelementptr i8, ptr %107, i64 40
  %118 = load i64, ptr %117, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %12, i64 noundef %118, i32 noundef 10)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %119 = getelementptr i8, ptr %107, i64 48
  %120 = load i64, ptr %119, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %13, i64 noundef %120, i32 noundef 12)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %121 = getelementptr i8, ptr %107, i64 56
  %122 = load i64, ptr %121, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE2ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %14, i64 noundef %122, i32 noundef 14)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #3
  br label %231

123:                                              ; preds = %6
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %124 = sext i32 %3 to i64
  %125 = getelementptr inbounds i64, ptr %2, i64 %124
  %126 = load i64, ptr %125, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %15, i64 noundef %126, i32 noundef 0)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %127 = getelementptr i8, ptr %125, i64 8
  %128 = load i64, ptr %127, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %16, i64 noundef %128, i32 noundef 3)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %129 = getelementptr i8, ptr %125, i64 16
  %130 = load i64, ptr %129, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %17, i64 noundef %130, i32 noundef 6)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %131 = getelementptr i8, ptr %125, i64 24
  %132 = load i64, ptr %131, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %18, i64 noundef %132, i32 noundef 9)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %133 = getelementptr i8, ptr %125, i64 32
  %134 = load i64, ptr %133, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %19, i64 noundef %134, i32 noundef 12)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %135 = getelementptr i8, ptr %125, i64 40
  %136 = load i64, ptr %135, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %20, i64 noundef %136, i32 noundef 15)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %137 = getelementptr i8, ptr %125, i64 48
  %138 = load i64, ptr %137, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %21, i64 noundef %138, i32 noundef 18)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %139 = getelementptr i8, ptr %125, i64 56
  %140 = load i64, ptr %139, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE3ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %22, i64 noundef %140, i32 noundef 21)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #3
  br label %231

141:                                              ; preds = %6
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %142 = sext i32 %3 to i64
  %143 = getelementptr inbounds i64, ptr %2, i64 %142
  %144 = load i64, ptr %143, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %23, i64 noundef %144, i32 noundef 0)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %145 = getelementptr i8, ptr %143, i64 8
  %146 = load i64, ptr %145, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %24, i64 noundef %146, i32 noundef 4)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %147 = getelementptr i8, ptr %143, i64 16
  %148 = load i64, ptr %147, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %25, i64 noundef %148, i32 noundef 8)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %149 = getelementptr i8, ptr %143, i64 24
  %150 = load i64, ptr %149, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %26, i64 noundef %150, i32 noundef 12)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %151 = getelementptr i8, ptr %143, i64 32
  %152 = load i64, ptr %151, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %27, i64 noundef %152, i32 noundef 16)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %153 = getelementptr i8, ptr %143, i64 40
  %154 = load i64, ptr %153, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %28, i64 noundef %154, i32 noundef 20)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %155 = getelementptr i8, ptr %143, i64 48
  %156 = load i64, ptr %155, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %29, i64 noundef %156, i32 noundef 24)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %157 = getelementptr i8, ptr %143, i64 56
  %158 = load i64, ptr %157, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE4ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %30, i64 noundef %158, i32 noundef 28)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #3
  br label %231

159:                                              ; preds = %6
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %160 = sext i32 %3 to i64
  %161 = getelementptr inbounds i64, ptr %2, i64 %160
  %162 = load i64, ptr %161, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %31, i64 noundef %162, i32 noundef 0)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %163 = getelementptr i8, ptr %161, i64 8
  %164 = load i64, ptr %163, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %32, i64 noundef %164, i32 noundef 5)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %165 = getelementptr i8, ptr %161, i64 16
  %166 = load i64, ptr %165, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %33, i64 noundef %166, i32 noundef 10)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %167 = getelementptr i8, ptr %161, i64 24
  %168 = load i64, ptr %167, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %34, i64 noundef %168, i32 noundef 15)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %169 = getelementptr i8, ptr %161, i64 32
  %170 = load i64, ptr %169, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %35, i64 noundef %170, i32 noundef 20)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %35) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %171 = getelementptr i8, ptr %161, i64 40
  %172 = load i64, ptr %171, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %36, i64 noundef %172, i32 noundef 25)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %36) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %37, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %173 = getelementptr i8, ptr %161, i64 48
  %174 = load i64, ptr %173, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %37, i64 noundef %174, i32 noundef 30)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %37) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %175 = getelementptr i8, ptr %161, i64 56
  %176 = load i64, ptr %175, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE5ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %38, i64 noundef %176, i32 noundef 35)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #3
  br label %231

177:                                              ; preds = %6
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %178 = sext i32 %3 to i64
  %179 = getelementptr inbounds i64, ptr %2, i64 %178
  %180 = load i64, ptr %179, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %39, i64 noundef %180, i32 noundef 0)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %39) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %40, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %181 = getelementptr i8, ptr %179, i64 8
  %182 = load i64, ptr %181, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %40, i64 noundef %182, i32 noundef 6)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %40) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %183 = getelementptr i8, ptr %179, i64 16
  %184 = load i64, ptr %183, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %41, i64 noundef %184, i32 noundef 12)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %41) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %185 = getelementptr i8, ptr %179, i64 24
  %186 = load i64, ptr %185, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %42, i64 noundef %186, i32 noundef 18)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %42) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %187 = getelementptr i8, ptr %179, i64 32
  %188 = load i64, ptr %187, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %43, i64 noundef %188, i32 noundef 24)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %43) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %189 = getelementptr i8, ptr %179, i64 40
  %190 = load i64, ptr %189, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %44, i64 noundef %190, i32 noundef 30)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %44) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %191 = getelementptr i8, ptr %179, i64 48
  %192 = load i64, ptr %191, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %45, i64 noundef %192, i32 noundef 36)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %45) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %193 = getelementptr i8, ptr %179, i64 56
  %194 = load i64, ptr %193, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE6ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %46, i64 noundef %194, i32 noundef 42)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %46) #3
  br label %231

195:                                              ; preds = %6
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %196 = sext i32 %3 to i64
  %197 = getelementptr inbounds i64, ptr %2, i64 %196
  %198 = load i64, ptr %197, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %47, i64 noundef %198, i32 noundef 0)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %47) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %48, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %199 = getelementptr i8, ptr %197, i64 8
  %200 = load i64, ptr %199, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %48, i64 noundef %200, i32 noundef 7)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %48) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %201 = getelementptr i8, ptr %197, i64 16
  %202 = load i64, ptr %201, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %49, i64 noundef %202, i32 noundef 14)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %49) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %50, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %203 = getelementptr i8, ptr %197, i64 24
  %204 = load i64, ptr %203, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %50, i64 noundef %204, i32 noundef 21)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %50) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %51, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %205 = getelementptr i8, ptr %197, i64 32
  %206 = load i64, ptr %205, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %51, i64 noundef %206, i32 noundef 28)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %51) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %52, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %207 = getelementptr i8, ptr %197, i64 40
  %208 = load i64, ptr %207, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %52, i64 noundef %208, i32 noundef 35)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %52) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %53, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %209 = getelementptr i8, ptr %197, i64 48
  %210 = load i64, ptr %209, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %53, i64 noundef %210, i32 noundef 42)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %53) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %211 = getelementptr i8, ptr %197, i64 56
  %212 = load i64, ptr %211, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE7ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %54, i64 noundef %212, i32 noundef 49)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %54) #3
  br label %231

213:                                              ; preds = %6
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %55, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %214 = sext i32 %3 to i64
  %215 = getelementptr inbounds i64, ptr %2, i64 %214
  %216 = load i64, ptr %215, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %55, i64 noundef %216, i32 noundef 0)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %55) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %56, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %217 = getelementptr i8, ptr %215, i64 8
  %218 = load i64, ptr %217, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %56, i64 noundef %218, i32 noundef 8)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %56) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %57, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %219 = getelementptr i8, ptr %215, i64 16
  %220 = load i64, ptr %219, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %57, i64 noundef %220, i32 noundef 16)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %57) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %221 = getelementptr i8, ptr %215, i64 24
  %222 = load i64, ptr %221, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %58, i64 noundef %222, i32 noundef 24)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %58) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %59, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %223 = getelementptr i8, ptr %215, i64 32
  %224 = load i64, ptr %223, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %59, i64 noundef %224, i32 noundef 32)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %59) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %60, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %225 = getelementptr i8, ptr %215, i64 40
  %226 = load i64, ptr %225, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %60, i64 noundef %226, i32 noundef 40)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %60) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %227 = getelementptr i8, ptr %215, i64 48
  %228 = load i64, ptr %227, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %61, i64 noundef %228, i32 noundef 48)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %61) #3
  call void @_ZNSt10shared_ptrI10ByteBufferEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %62, ptr noundef nonnull align 8 dereferenceable(16) %1) #3
  %229 = getelementptr i8, ptr %215, i64 56
  %230 = load i64, ptr %229, align 8, !tbaa !5
  call void @_ZN13EncodingUtils12writeLongBE8ESt10shared_ptrI10ByteBufferEli(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %62, i64 noundef %230, i32 noundef 56)
  call void @_ZNSt12__shared_ptrI10ByteBufferLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %62) #3
  br label %231

231:                                              ; preds = %6, %213, %195, %177, %159, %141, %123, %105, %63
  %232 = mul nsw i32 %5, %4
  %233 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10ByteBufferLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #3
  %234 = getelementptr inbounds i8, ptr %0, i64 8
  %235 = load ptr, ptr %234, align 8, !tbaa !9
  call void @_ZN10ByteBuffer8putBytesEPhj(ptr noundef nonnull align 8 dereferenceable(62) %233, ptr noundef %235, i32 noundef %232)
  ret void
}

declare void @_ZN10ByteBuffer8putBytesEPhj(ptr noundef nonnull align 8 dereferenceable(62), ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

attributes #0 = { 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 #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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


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