; LLVM IR from trustwallet/wallet-core :: src/Oasis/Transaction.ll (ZNK2TW5Oasis11Transaction13encodeMessageEv)

; 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.TW::Cbor::Encode" = type <{ %"class.std::vector", i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<TW::Cbor::Encode, std::pair<const TW::Cbor::Encode, TW::Cbor::Encode>, std::_Select1st<std::pair<const TW::Cbor::Encode, TW::Cbor::Encode>>, std::less<TW::Cbor::Encode>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<TW::Cbor::Encode, std::pair<const TW::Cbor::Encode, TW::Cbor::Encode>, std::_Select1st<std::pair<const TW::Cbor::Encode, TW::Cbor::Encode>>, std::less<TW::Cbor::Encode>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"struct.std::pair" = type { %"class.TW::Cbor::Encode", %"class.TW::Cbor::Encode" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.3" = type { i8 }
%"struct.std::less" = type { i8 }
%"class.std::allocator.6" = type { i8 }
%"class.TW::Oasis::Transaction" = type { %"class.TW::Oasis::Address", %"class.std::__cxx11::basic_string", i64, %"class.boost::multiprecision::number", i64, [8 x i8], %"class.boost::multiprecision::number", %"class.std::__cxx11::basic_string" }
%"class.TW::Oasis::Address" = type { %"class.TW::Bech32Address" }
%"class.TW::Bech32Address" = type { %"class.std::__cxx11::basic_string", %"class.std::vector" }
%"class.boost::multiprecision::number" = type { %"struct.boost::multiprecision::backends::cpp_int_backend" }
%"struct.boost::multiprecision::backends::cpp_int_backend" = type { %"struct.boost::multiprecision::backends::cpp_int_base.base", [8 x i8] }
%"struct.boost::multiprecision::backends::cpp_int_base.base" = type <{ %"union.boost::multiprecision::backends::cpp_int_base<256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void>::data_type", i64 }>
%"union.boost::multiprecision::backends::cpp_int_base<256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void>::data_type" = type { i128, [16 x i8] }

@.str = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK2TW5Oasis11Transaction13encodeMessageEv(ptr dead_on_unwind noalias writable sret(%"class.TW::Cbor::Encode") align 8 %0, ptr noundef nonnull align 16 dereferenceable(240) %1) #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::map", align 8
  %6 = alloca %"class.std::initializer_list", align 8
  %7 = alloca [4 x %"struct.std::pair"], align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.TW::Cbor::Encode", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator.3", align 1
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.TW::Cbor::Encode", align 8
  %15 = alloca %"class.TW::Cbor::Encode", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator.3", align 1
  %18 = alloca %"class.TW::Cbor::Encode", align 8
  %19 = alloca %"class.TW::Cbor::Encode", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::allocator.3", align 1
  %22 = alloca %"class.TW::Cbor::Encode", align 8
  %23 = alloca %"class.std::map", align 8
  %24 = alloca %"class.std::initializer_list", align 8
  %25 = alloca [2 x %"struct.std::pair"], align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.TW::Cbor::Encode", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator.3", align 1
  %30 = alloca %"class.TW::Cbor::Encode", align 8
  %31 = alloca %"class.TW::Cbor::Encode", align 8
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::allocator.3", align 1
  %34 = alloca %"class.TW::Cbor::Encode", align 8
  %35 = alloca %"class.std::vector", align 8
  %36 = alloca i1, align 1
  %37 = alloca %"struct.std::less", align 1
  %38 = alloca %"class.std::allocator.6", align 1
  %39 = alloca %"class.TW::Cbor::Encode", align 8
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::allocator.3", align 1
  %42 = alloca %"class.TW::Cbor::Encode", align 8
  %43 = alloca %"class.std::map", align 8
  %44 = alloca %"class.std::initializer_list", align 8
  %45 = alloca [2 x %"struct.std::pair"], align 8
  %46 = alloca ptr, align 8
  %47 = alloca %"class.TW::Cbor::Encode", align 8
  %48 = alloca %"class.std::__cxx11::basic_string", align 8
  %49 = alloca %"class.std::allocator.3", align 1
  %50 = alloca %"class.TW::Cbor::Encode", align 8
  %51 = alloca %"class.TW::Cbor::Encode", align 8
  %52 = alloca %"class.std::__cxx11::basic_string", align 8
  %53 = alloca %"class.std::allocator.3", align 1
  %54 = alloca %"class.TW::Cbor::Encode", align 8
  %55 = alloca %"class.std::vector", align 8
  %56 = alloca i1, align 1
  %57 = alloca %"struct.std::less", align 1
  %58 = alloca %"class.std::allocator.6", align 1
  %59 = alloca i1, align 1
  %60 = alloca %"struct.std::less", align 1
  %61 = alloca %"class.std::allocator.6", align 1
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %62 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 256, ptr %7) #5
  store i1 true, ptr %59, align 1
  store ptr %7, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %63 unwind label %155

63:                                               ; preds = %2
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %9, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %64 unwind label %159

64:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #5
  %65 = getelementptr inbounds %"class.TW::Oasis::Transaction", ptr %62, i32 0, i32 4
  %66 = load i64, ptr %65, align 16, !tbaa !9
  invoke void @_ZN2TW4Cbor6Encode4uintEm(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %14, i64 noundef %66)
          to label %67 unwind label %163

67:                                               ; preds = %64
  invoke void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 8 dereferenceable(28) %9, ptr noundef nonnull align 8 dereferenceable(28) %14)
          to label %68 unwind label %167

68:                                               ; preds = %67
  %69 = getelementptr inbounds %"struct.std::pair", ptr %7, i64 1
  store ptr %69, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %70 unwind label %171

70:                                               ; preds = %68
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %15, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %71 unwind label %175

71:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #5
  %72 = getelementptr inbounds %"class.TW::Oasis::Transaction", ptr %62, i32 0, i32 1
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %18, ptr noundef nonnull align 8 dereferenceable(32) %72)
          to label %73 unwind label %179

73:                                               ; preds = %71
  invoke void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %69, ptr noundef nonnull align 8 dereferenceable(28) %15, ptr noundef nonnull align 8 dereferenceable(28) %18)
          to label %74 unwind label %183

74:                                               ; preds = %73
  %75 = getelementptr inbounds %"struct.std::pair", ptr %7, i64 2
  store ptr %75, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %76 unwind label %187

76:                                               ; preds = %74
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %19, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %77 unwind label %191

77:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 128, ptr %25) #5
  store i1 true, ptr %36, align 1
  store ptr %25, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %78 unwind label %195

78:                                               ; preds = %77
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %27, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %79 unwind label %199

79:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #5
  %80 = getelementptr inbounds %"class.TW::Oasis::Transaction", ptr %62, i32 0, i32 2
  %81 = load i64, ptr %80, align 8, !tbaa !24
  invoke void @_ZN2TW4Cbor6Encode4uintEm(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %30, i64 noundef %81)
          to label %82 unwind label %203

82:                                               ; preds = %79
  invoke void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %25, ptr noundef nonnull align 8 dereferenceable(28) %27, ptr noundef nonnull align 8 dereferenceable(28) %30)
          to label %83 unwind label %207

83:                                               ; preds = %82
  %84 = getelementptr inbounds %"struct.std::pair", ptr %25, i64 1
  store ptr %84, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %85 unwind label %211

85:                                               ; preds = %83
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %31, ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %86 unwind label %215

86:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 32, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #5
  %87 = getelementptr inbounds %"class.TW::Oasis::Transaction", ptr %62, i32 0, i32 3
  invoke void @_ZN2TW5OasisL13encodeVaruintERKN5boost14multiprecision6numberINS2_8backends15cpp_int_backendILj256ELj256ELNS2_16cpp_integer_typeE0ELNS2_18cpp_int_check_typeE0EvEELNS2_26expression_template_optionE0EEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %35, ptr noundef nonnull align 16 dereferenceable(48) %87)
          to label %88 unwind label %219

88:                                               ; preds = %86
  invoke void @_ZN2TW4Cbor6Encode5bytesERKSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %34, ptr noundef nonnull align 8 dereferenceable(24) %35)
          to label %89 unwind label %223

89:                                               ; preds = %88
  invoke void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %84, ptr noundef nonnull align 8 dereferenceable(28) %31, ptr noundef nonnull align 8 dereferenceable(28) %34)
          to label %90 unwind label %227

90:                                               ; preds = %89
  store i1 false, ptr %36, align 1
  %91 = getelementptr inbounds %"class.std::initializer_list", ptr %24, i32 0, i32 0
  store ptr %25, ptr %91, align 8, !tbaa !25
  %92 = getelementptr inbounds %"class.std::initializer_list", ptr %24, i32 0, i32 1
  store i64 2, ptr %92, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #5
  call void @_ZNSaISt4pairIKN2TW4Cbor6EncodeES2_EEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  %93 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 0
  %94 = load ptr, ptr %93, align 8
  %95 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 1
  %96 = load i64, ptr %95, align 8
  invoke void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEC2ESt16initializer_listIS7_ERKS4_RKS8_(ptr noundef nonnull align 8 dereferenceable(48) %23, ptr %94, i64 %96, ptr noundef nonnull align 1 dereferenceable(1) %37, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %97 unwind label %231

97:                                               ; preds = %90
  invoke void @_ZN2TW4Cbor6Encode3mapERKSt3mapIS1_S1_St4lessIS1_ESaISt4pairIKS1_S1_EEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %22, ptr noundef nonnull align 8 dereferenceable(48) %23)
          to label %98 unwind label %235

98:                                               ; preds = %97
  invoke void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %75, ptr noundef nonnull align 8 dereferenceable(28) %19, ptr noundef nonnull align 8 dereferenceable(28) %22)
          to label %99 unwind label %239

99:                                               ; preds = %98
  %100 = getelementptr inbounds %"struct.std::pair", ptr %7, i64 3
  store ptr %100, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %101 unwind label %243

101:                                              ; preds = %99
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %39, ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %102 unwind label %247

102:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 32, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 128, ptr %45) #5
  store i1 true, ptr %56, align 1
  store ptr %45, ptr %46, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %49)
          to label %103 unwind label %251

103:                                              ; preds = %102
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %47, ptr noundef nonnull align 8 dereferenceable(32) %48)
          to label %104 unwind label %255

104:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 32, ptr %50) #5
  %105 = getelementptr inbounds %"class.TW::Oasis::Transaction", ptr %62, i32 0, i32 0
  %106 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2TW13Bech32Address10getKeyHashEv(ptr noundef nonnull align 8 dereferenceable(56) %105)
          to label %107 unwind label %259

107:                                              ; preds = %104
  invoke void @_ZN2TW4Cbor6Encode5bytesERKSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %50, ptr noundef nonnull align 8 dereferenceable(24) %106)
          to label %108 unwind label %259

108:                                              ; preds = %107
  invoke void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %45, ptr noundef nonnull align 8 dereferenceable(28) %47, ptr noundef nonnull align 8 dereferenceable(28) %50)
          to label %109 unwind label %263

109:                                              ; preds = %108
  %110 = getelementptr inbounds %"struct.std::pair", ptr %45, i64 1
  store ptr %110, ptr %46, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %51) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %52) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %53)
          to label %111 unwind label %267

111:                                              ; preds = %109
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %51, ptr noundef nonnull align 8 dereferenceable(32) %52)
          to label %112 unwind label %271

112:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 32, ptr %54) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %55) #5
  %113 = getelementptr inbounds %"class.TW::Oasis::Transaction", ptr %62, i32 0, i32 6
  invoke void @_ZN2TW5OasisL13encodeVaruintERKN5boost14multiprecision6numberINS2_8backends15cpp_int_backendILj256ELj256ELNS2_16cpp_integer_typeE0ELNS2_18cpp_int_check_typeE0EvEELNS2_26expression_template_optionE0EEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %55, ptr noundef nonnull align 16 dereferenceable(48) %113)
          to label %114 unwind label %275

114:                                              ; preds = %112
  invoke void @_ZN2TW4Cbor6Encode5bytesERKSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %54, ptr noundef nonnull align 8 dereferenceable(24) %55)
          to label %115 unwind label %279

115:                                              ; preds = %114
  invoke void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %110, ptr noundef nonnull align 8 dereferenceable(28) %51, ptr noundef nonnull align 8 dereferenceable(28) %54)
          to label %116 unwind label %283

116:                                              ; preds = %115
  store i1 false, ptr %56, align 1
  %117 = getelementptr inbounds %"class.std::initializer_list", ptr %44, i32 0, i32 0
  store ptr %45, ptr %117, align 8, !tbaa !25
  %118 = getelementptr inbounds %"class.std::initializer_list", ptr %44, i32 0, i32 1
  store i64 2, ptr %118, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 1, ptr %57) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %58) #5
  call void @_ZNSaISt4pairIKN2TW4Cbor6EncodeES2_EEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #5
  %119 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8
  %121 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 1
  %122 = load i64, ptr %121, align 8
  invoke void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEC2ESt16initializer_listIS7_ERKS4_RKS8_(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr %120, i64 %122, ptr noundef nonnull align 1 dereferenceable(1) %57, ptr noundef nonnull align 1 dereferenceable(1) %58)
          to label %123 unwind label %287

123:                                              ; preds = %116
  invoke void @_ZN2TW4Cbor6Encode3mapERKSt3mapIS1_S1_St4lessIS1_ESaISt4pairIKS1_S1_EEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %42, ptr noundef nonnull align 8 dereferenceable(48) %43)
          to label %124 unwind label %291

124:                                              ; preds = %123
  invoke void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %100, ptr noundef nonnull align 8 dereferenceable(28) %39, ptr noundef nonnull align 8 dereferenceable(28) %42)
          to label %125 unwind label %295

125:                                              ; preds = %124
  store i1 false, ptr %59, align 1
  %126 = getelementptr inbounds %"class.std::initializer_list", ptr %6, i32 0, i32 0
  store ptr %7, ptr %126, align 8, !tbaa !25
  %127 = getelementptr inbounds %"class.std::initializer_list", ptr %6, i32 0, i32 1
  store i64 4, ptr %127, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 1, ptr %60) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %61) #5
  call void @_ZNSaISt4pairIKN2TW4Cbor6EncodeES2_EEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #5
  %128 = getelementptr inbounds { ptr, i64 }, ptr %6, i32 0, i32 0
  %129 = load ptr, ptr %128, align 8
  %130 = getelementptr inbounds { ptr, i64 }, ptr %6, i32 0, i32 1
  %131 = load i64, ptr %130, align 8
  invoke void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEC2ESt16initializer_listIS7_ERKS4_RKS8_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr %129, i64 %131, ptr noundef nonnull align 1 dereferenceable(1) %60, ptr noundef nonnull align 1 dereferenceable(1) %61)
          to label %132 unwind label %299

132:                                              ; preds = %125
  invoke void @_ZN2TW4Cbor6Encode3mapERKSt3mapIS1_S1_St4lessIS1_ESaISt4pairIKS1_S1_EEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %0, ptr noundef nonnull align 8 dereferenceable(48) %5)
          to label %133 unwind label %303

133:                                              ; preds = %132
  call void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  call void @_ZNSt15__new_allocatorISt4pairIKN2TW4Cbor6EncodeES3_EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #5
  %134 = getelementptr inbounds [4 x %"struct.std::pair"], ptr %7, i32 0, i32 0
  %135 = getelementptr inbounds %"struct.std::pair", ptr %134, i64 4
  br label %136

136:                                              ; preds = %136, %133
  %137 = phi ptr [ %135, %133 ], [ %138, %136 ]
  %138 = getelementptr inbounds %"struct.std::pair", ptr %137, i64 -1
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %138) #5
  %139 = icmp eq ptr %138, %134
  br i1 %139, label %140, label %136

140:                                              ; preds = %136
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %42) #5
  call void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #5
  call void @_ZNSt15__new_allocatorISt4pairIKN2TW4Cbor6EncodeES3_EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %58) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #5
  %141 = getelementptr inbounds [2 x %"struct.std::pair"], ptr %45, i32 0, i32 0
  %142 = getelementptr inbounds %"struct.std::pair", ptr %141, i64 2
  br label %143

143:                                              ; preds = %143, %140
  %144 = phi ptr [ %142, %140 ], [ %145, %143 ]
  %145 = getelementptr inbounds %"struct.std::pair", ptr %144, i64 -1
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %145) #5
  %146 = icmp eq ptr %145, %141
  br i1 %146, label %147, label %143

147:                                              ; preds = %143
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %54) #5
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %55) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %51) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %50) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %47) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %39) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %22) #5
  call void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #5
  call void @_ZNSt15__new_allocatorISt4pairIKN2TW4Cbor6EncodeES3_EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #5
  %148 = getelementptr inbounds [2 x %"struct.std::pair"], ptr %25, i32 0, i32 0
  %149 = getelementptr inbounds %"struct.std::pair", ptr %148, i64 2
  br label %150

150:                                              ; preds = %150, %147
  %151 = phi ptr [ %149, %147 ], [ %152, %150 ]
  %152 = getelementptr inbounds %"struct.std::pair", ptr %151, i64 -1
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %152) #5
  %153 = icmp eq ptr %152, %148
  br i1 %153, label %154, label %150

154:                                              ; preds = %150
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %34) #5
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %31) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %30) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %27) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %19) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %15) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %9) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 256, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %5) #5
  ret void

155:                                              ; preds = %2
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %12, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %13, align 4
  br label %384

159:                                              ; preds = %63
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %12, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %13, align 4
  br label %383

163:                                              ; preds = %64
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %12, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %13, align 4
  br label %382

167:                                              ; preds = %67
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %12, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %13, align 4
  br label %381

171:                                              ; preds = %68
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %12, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %13, align 4
  br label %380

175:                                              ; preds = %70
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %12, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %13, align 4
  br label %379

179:                                              ; preds = %71
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %12, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %13, align 4
  br label %378

183:                                              ; preds = %73
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %12, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %13, align 4
  br label %377

187:                                              ; preds = %74
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %12, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %13, align 4
  br label %376

191:                                              ; preds = %76
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %12, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %13, align 4
  br label %375

195:                                              ; preds = %77
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %12, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %13, align 4
  br label %364

199:                                              ; preds = %78
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %12, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %13, align 4
  br label %363

203:                                              ; preds = %79
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %12, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %13, align 4
  br label %362

207:                                              ; preds = %82
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %12, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %13, align 4
  br label %361

211:                                              ; preds = %83
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %12, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %13, align 4
  br label %360

215:                                              ; preds = %85
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %12, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %13, align 4
  br label %359

219:                                              ; preds = %86
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %12, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %13, align 4
  br label %358

223:                                              ; preds = %88
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %12, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %13, align 4
  br label %357

227:                                              ; preds = %89
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %12, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %13, align 4
  br label %356

231:                                              ; preds = %90
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %12, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %13, align 4
  br label %348

235:                                              ; preds = %97
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %12, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %13, align 4
  br label %347

239:                                              ; preds = %98
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %12, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %13, align 4
  br label %346

243:                                              ; preds = %99
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %12, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %13, align 4
  br label %345

247:                                              ; preds = %101
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %12, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %13, align 4
  br label %344

251:                                              ; preds = %102
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %12, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %13, align 4
  br label %333

255:                                              ; preds = %103
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %12, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %13, align 4
  br label %332

259:                                              ; preds = %107, %104
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %12, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %13, align 4
  br label %331

263:                                              ; preds = %108
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %12, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %13, align 4
  br label %330

267:                                              ; preds = %109
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %12, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %13, align 4
  br label %329

271:                                              ; preds = %111
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %12, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %13, align 4
  br label %328

275:                                              ; preds = %112
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %12, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %13, align 4
  br label %327

279:                                              ; preds = %114
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %12, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %13, align 4
  br label %326

283:                                              ; preds = %115
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %12, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %13, align 4
  br label %325

287:                                              ; preds = %116
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %12, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %13, align 4
  br label %317

291:                                              ; preds = %123
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %12, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %13, align 4
  br label %316

295:                                              ; preds = %124
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %12, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %13, align 4
  br label %315

299:                                              ; preds = %125
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %12, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %13, align 4
  br label %307

303:                                              ; preds = %132
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %12, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %13, align 4
  call void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  br label %307

307:                                              ; preds = %303, %299
  call void @_ZNSt15__new_allocatorISt4pairIKN2TW4Cbor6EncodeES3_EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #5
  %308 = getelementptr inbounds [4 x %"struct.std::pair"], ptr %7, i32 0, i32 0
  %309 = getelementptr inbounds %"struct.std::pair", ptr %308, i64 4
  br label %310

310:                                              ; preds = %310, %307
  %311 = phi ptr [ %309, %307 ], [ %312, %310 ]
  %312 = getelementptr inbounds %"struct.std::pair", ptr %311, i64 -1
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %312) #5
  %313 = icmp eq ptr %312, %308
  br i1 %313, label %314, label %310

314:                                              ; preds = %310
  br label %315

315:                                              ; preds = %314, %295
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %42) #5
  br label %316

316:                                              ; preds = %315, %291
  call void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #5
  br label %317

317:                                              ; preds = %316, %287
  call void @_ZNSt15__new_allocatorISt4pairIKN2TW4Cbor6EncodeES3_EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %58) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #5
  %318 = getelementptr inbounds [2 x %"struct.std::pair"], ptr %45, i32 0, i32 0
  %319 = getelementptr inbounds %"struct.std::pair", ptr %318, i64 2
  br label %320

320:                                              ; preds = %320, %317
  %321 = phi ptr [ %319, %317 ], [ %322, %320 ]
  %322 = getelementptr inbounds %"struct.std::pair", ptr %321, i64 -1
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %322) #5
  %323 = icmp eq ptr %322, %318
  br i1 %323, label %324, label %320

324:                                              ; preds = %320
  br label %325

325:                                              ; preds = %324, %283
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %54) #5
  br label %326

326:                                              ; preds = %325, %279
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #5
  br label %327

327:                                              ; preds = %326, %275
  call void @llvm.lifetime.end.p0(i64 24, ptr %55) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %51) #5
  br label %328

328:                                              ; preds = %327, %271
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #5
  br label %329

329:                                              ; preds = %328, %267
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #5
  br label %330

330:                                              ; preds = %329, %263
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %50) #5
  br label %331

331:                                              ; preds = %330, %259
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %47) #5
  br label %332

332:                                              ; preds = %331, %255
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #5
  br label %333

333:                                              ; preds = %332, %251
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #5
  %334 = load i1, ptr %56, align 1
  br i1 %334, label %335, label %343

335:                                              ; preds = %333
  %336 = load ptr, ptr %46, align 8
  %337 = icmp eq ptr %45, %336
  br i1 %337, label %342, label %338

338:                                              ; preds = %338, %335
  %339 = phi ptr [ %336, %335 ], [ %340, %338 ]
  %340 = getelementptr inbounds %"struct.std::pair", ptr %339, i64 -1
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %340) #5
  %341 = icmp eq ptr %340, %45
  br i1 %341, label %342, label %338

342:                                              ; preds = %338, %335
  br label %343

343:                                              ; preds = %342, %333
  call void @llvm.lifetime.end.p0(i64 128, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %39) #5
  br label %344

344:                                              ; preds = %343, %247
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #5
  br label %345

345:                                              ; preds = %344, %243
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #5
  br label %346

346:                                              ; preds = %345, %239
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %22) #5
  br label %347

347:                                              ; preds = %346, %235
  call void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #5
  br label %348

348:                                              ; preds = %347, %231
  call void @_ZNSt15__new_allocatorISt4pairIKN2TW4Cbor6EncodeES3_EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #5
  %349 = getelementptr inbounds [2 x %"struct.std::pair"], ptr %25, i32 0, i32 0
  %350 = getelementptr inbounds %"struct.std::pair", ptr %349, i64 2
  br label %351

351:                                              ; preds = %351, %348
  %352 = phi ptr [ %350, %348 ], [ %353, %351 ]
  %353 = getelementptr inbounds %"struct.std::pair", ptr %352, i64 -1
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %353) #5
  %354 = icmp eq ptr %353, %349
  br i1 %354, label %355, label %351

355:                                              ; preds = %351
  br label %356

356:                                              ; preds = %355, %227
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %34) #5
  br label %357

357:                                              ; preds = %356, %223
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  br label %358

358:                                              ; preds = %357, %219
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %31) #5
  br label %359

359:                                              ; preds = %358, %215
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #5
  br label %360

360:                                              ; preds = %359, %211
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #5
  br label %361

361:                                              ; preds = %360, %207
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %30) #5
  br label %362

362:                                              ; preds = %361, %203
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %27) #5
  br label %363

363:                                              ; preds = %362, %199
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #5
  br label %364

364:                                              ; preds = %363, %195
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #5
  %365 = load i1, ptr %36, align 1
  br i1 %365, label %366, label %374

366:                                              ; preds = %364
  %367 = load ptr, ptr %26, align 8
  %368 = icmp eq ptr %25, %367
  br i1 %368, label %373, label %369

369:                                              ; preds = %369, %366
  %370 = phi ptr [ %367, %366 ], [ %371, %369 ]
  %371 = getelementptr inbounds %"struct.std::pair", ptr %370, i64 -1
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %371) #5
  %372 = icmp eq ptr %371, %25
  br i1 %372, label %373, label %369

373:                                              ; preds = %369, %366
  br label %374

374:                                              ; preds = %373, %364
  call void @llvm.lifetime.end.p0(i64 128, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %19) #5
  br label %375

375:                                              ; preds = %374, %191
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #5
  br label %376

376:                                              ; preds = %375, %187
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #5
  br label %377

377:                                              ; preds = %376, %183
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %18) #5
  br label %378

378:                                              ; preds = %377, %179
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %15) #5
  br label %379

379:                                              ; preds = %378, %175
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #5
  br label %380

380:                                              ; preds = %379, %171
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #5
  br label %381

381:                                              ; preds = %380, %167
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %14) #5
  br label %382

382:                                              ; preds = %381, %163
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %9) #5
  br label %383

383:                                              ; preds = %382, %159
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  br label %384

384:                                              ; preds = %383, %155
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #5
  %385 = load i1, ptr %59, align 1
  br i1 %385, label %386, label %394

386:                                              ; preds = %384
  %387 = load ptr, ptr %8, align 8
  %388 = icmp eq ptr %7, %387
  br i1 %388, label %393, label %389

389:                                              ; preds = %389, %386
  %390 = phi ptr [ %387, %386 ], [ %391, %389 ]
  %391 = getelementptr inbounds %"struct.std::pair", ptr %390, i64 -1
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %391) #5
  %392 = icmp eq ptr %391, %7
  br i1 %392, label %393, label %389

393:                                              ; preds = %389, %386
  br label %394

394:                                              ; preds = %393, %384
  call void @llvm.lifetime.end.p0(i64 256, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %5) #5
  br label %395

395:                                              ; preds = %394
  %396 = load ptr, ptr %12, align 8
  %397 = load i32, ptr %13, align 4
  %398 = insertvalue { ptr, i32 } poison, ptr %396, 0
  %399 = insertvalue { ptr, i32 } %398, i32 %397, 1
  resume { ptr, i32 } %399
}

declare void @_ZN2TW4Cbor6Encode3mapERKSt3mapIS1_S1_St4lessIS1_ESaISt4pairIKS1_S1_EEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #1

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

declare void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

declare void @_ZN2TW4Cbor6Encode4uintEm(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8, i64 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #3 align 2

declare void @_ZN2TW4Cbor6Encode5bytesERKSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN2TW5OasisL13encodeVaruintERKN5boost14multiprecision6numberINS2_8backends15cpp_int_backendILj256ELj256ELNS2_16cpp_integer_typeE0ELNS2_18cpp_int_check_typeE0EvEELNS2_26expression_template_optionE0EEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 16 dereferenceable(48)) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEC2ESt16initializer_listIS7_ERKS4_RKS8_(ptr noundef nonnull align 8 dereferenceable(48), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2TW13Bech32Address10getKeyHashEv(ptr noundef nonnull align 8 dereferenceable(56)) #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress 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 #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !15, i64 144}
!10 = !{!"_ZTSN2TW5Oasis11TransactionE", !11, i64 0, !13, i64 56, !15, i64 88, !20, i64 96, !15, i64 144, !20, i64 160, !13, i64 208}
!11 = !{!"_ZTSN2TW5Oasis7AddressE", !12, i64 0}
!12 = !{!"_ZTSN2TW13Bech32AddressE", !13, i64 0, !16, i64 32}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !15, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSSt6vectorIhSaIhEE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSN5boost14multiprecision6numberINS0_8backends15cpp_int_backendILj256ELj256ELNS0_16cpp_integer_typeE0ELNS0_18cpp_int_check_typeE0EvEELNS0_26expression_template_optionE0EEE", !21, i64 0}
!21 = !{!"_ZTSN5boost14multiprecision8backends15cpp_int_backendILj256ELj256ELNS0_16cpp_integer_typeE0ELNS0_18cpp_int_check_typeE0EvEE", !22, i64 0}
!22 = !{!"_ZTSN5boost14multiprecision8backends12cpp_int_baseILj256ELj256ELNS0_16cpp_integer_typeE0ELNS0_18cpp_int_check_typeE0EvLb0EEE", !7, i64 0, !23, i64 32}
!23 = !{!"long long", !7, i64 0}
!24 = !{!10, !15, i64 88}
!25 = !{!26, !6, i64 0}
!26 = !{!"_ZTSSt16initializer_listISt4pairIKN2TW4Cbor6EncodeES3_EE", !6, i64 0, !15, i64 8}
!27 = !{!26, !15, i64 8}


; 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.TW::Cbor::Encode" = type <{ %"class.std::vector", i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<TW::Cbor::Encode, std::pair<const TW::Cbor::Encode, TW::Cbor::Encode>, std::_Select1st<std::pair<const TW::Cbor::Encode, TW::Cbor::Encode>>, std::less<TW::Cbor::Encode>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<TW::Cbor::Encode, std::pair<const TW::Cbor::Encode, TW::Cbor::Encode>, std::_Select1st<std::pair<const TW::Cbor::Encode, TW::Cbor::Encode>>, std::less<TW::Cbor::Encode>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair" = type { %"class.TW::Cbor::Encode", %"class.TW::Cbor::Encode" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.3" = type { i8 }
%"struct.std::less" = type { i8 }
%"class.std::allocator.6" = type { i8 }

@.str = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK2TW5Oasis11Transaction13encodeMessageEv(ptr dead_on_unwind noalias writable sret(%"class.TW::Cbor::Encode") align 8 %0, ptr noundef nonnull align 16 dereferenceable(240) %1) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::map", align 8
  %4 = alloca [4 x %"struct.std::pair"], align 8
  %5 = alloca %"class.TW::Cbor::Encode", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator.3", align 1
  %8 = alloca %"class.TW::Cbor::Encode", align 8
  %9 = alloca %"class.TW::Cbor::Encode", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator.3", align 1
  %12 = alloca %"class.TW::Cbor::Encode", align 8
  %13 = alloca %"class.TW::Cbor::Encode", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator.3", align 1
  %16 = alloca %"class.TW::Cbor::Encode", align 8
  %17 = alloca %"class.std::map", align 8
  %18 = alloca [2 x %"struct.std::pair"], align 8
  %19 = alloca %"class.TW::Cbor::Encode", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::allocator.3", align 1
  %22 = alloca %"class.TW::Cbor::Encode", align 8
  %23 = alloca %"class.TW::Cbor::Encode", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator.3", align 1
  %26 = alloca %"class.TW::Cbor::Encode", align 8
  %27 = alloca %"class.std::vector", align 8
  %28 = alloca %"struct.std::less", align 1
  %29 = alloca %"class.std::allocator.6", align 1
  %30 = alloca %"class.TW::Cbor::Encode", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator.3", align 1
  %33 = alloca %"class.TW::Cbor::Encode", align 8
  %34 = alloca %"class.std::map", align 8
  %35 = alloca [2 x %"struct.std::pair"], align 8
  %36 = alloca %"class.TW::Cbor::Encode", align 8
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.std::allocator.3", align 1
  %39 = alloca %"class.TW::Cbor::Encode", align 8
  %40 = alloca %"class.TW::Cbor::Encode", align 8
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca %"class.std::allocator.3", align 1
  %43 = alloca %"class.TW::Cbor::Encode", align 8
  %44 = alloca %"class.std::vector", align 8
  %45 = alloca %"struct.std::less", align 1
  %46 = alloca %"class.std::allocator.6", align 1
  %47 = alloca %"struct.std::less", align 1
  %48 = alloca %"class.std::allocator.6", align 1
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %49 unwind label %.thread162

49:                                               ; preds = %2
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %50 unwind label %98

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #5
  %51 = getelementptr inbounds i8, ptr %1, i64 144
  %52 = load i64, ptr %51, align 16, !tbaa !5
  invoke void @_ZN2TW4Cbor6Encode4uintEm(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %8, i64 noundef %52)
          to label %53 unwind label %100

53:                                               ; preds = %50
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %4, ptr noundef nonnull align 8 dereferenceable(28) %5, ptr noundef nonnull align 8 dereferenceable(28) %8)
  %54 = getelementptr inbounds i8, ptr %4, i64 64
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %55 unwind label %102

55:                                               ; preds = %53
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %9, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %56 unwind label %104

56:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #5
  %57 = getelementptr inbounds i8, ptr %1, i64 56
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %12, ptr noundef nonnull align 8 dereferenceable(32) %57)
          to label %58 unwind label %106

58:                                               ; preds = %56
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %54, ptr noundef nonnull align 8 dereferenceable(28) %9, ptr noundef nonnull align 8 dereferenceable(28) %12)
  %59 = getelementptr inbounds i8, ptr %4, i64 128
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %60 unwind label %108

60:                                               ; preds = %58
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %13, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %61 unwind label %110

61:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %62 unwind label %.thread152

62:                                               ; preds = %61
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %19, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %63 unwind label %113

63:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #5
  %64 = getelementptr inbounds i8, ptr %1, i64 88
  %65 = load i64, ptr %64, align 8, !tbaa !23
  invoke void @_ZN2TW4Cbor6Encode4uintEm(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %22, i64 noundef %65)
          to label %66 unwind label %115

66:                                               ; preds = %63
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %18, ptr noundef nonnull align 8 dereferenceable(28) %19, ptr noundef nonnull align 8 dereferenceable(28) %22)
  %67 = getelementptr inbounds i8, ptr %18, i64 64
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %68 unwind label %117

68:                                               ; preds = %66
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %23, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %69 unwind label %119

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %26) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #5
  %70 = getelementptr inbounds i8, ptr %1, i64 96
  invoke void @_ZN2TW5OasisL13encodeVaruintERKN5boost14multiprecision6numberINS2_8backends15cpp_int_backendILj256ELj256ELNS2_16cpp_integer_typeE0ELNS2_18cpp_int_check_typeE0EvEELNS2_26expression_template_optionE0EEE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %27, ptr noundef nonnull align 16 dereferenceable(48) %70)
          to label %71 unwind label %121

71:                                               ; preds = %69
  invoke void @_ZN2TW4Cbor6Encode5bytesERKSt6vectorIhSaIhEE(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %26, ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %72 unwind label %123

72:                                               ; preds = %71
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %67, ptr noundef nonnull align 8 dereferenceable(28) %23, ptr noundef nonnull align 8 dereferenceable(28) %26)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %28) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #5
  call void @_ZNSaISt4pairIKN2TW4Cbor6EncodeES2_EEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  invoke void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEC2ESt16initializer_listIS7_ERKS4_RKS8_(ptr noundef nonnull align 8 dereferenceable(48) %17, ptr nonnull %18, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %28, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %73 unwind label %125

73:                                               ; preds = %72
  invoke void @_ZN2TW4Cbor6Encode3mapERKSt3mapIS1_S1_St4lessIS1_ESaISt4pairIKS1_S1_EEE(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %16, ptr noundef nonnull align 8 dereferenceable(48) %17)
          to label %74 unwind label %127

74:                                               ; preds = %73
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %59, ptr noundef nonnull align 8 dereferenceable(28) %13, ptr noundef nonnull align 8 dereferenceable(28) %16)
  %75 = getelementptr inbounds i8, ptr %4, i64 192
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %31) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %76 unwind label %129

76:                                               ; preds = %74
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %30, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %77 unwind label %131

77:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %34) #5
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %35) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %36) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %37) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %38) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %78 unwind label %.thread

78:                                               ; preds = %77
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %36, ptr noundef nonnull align 8 dereferenceable(32) %37)
          to label %79 unwind label %134

79:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %39) #5
  %80 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2TW13Bech32Address10getKeyHashEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  invoke void @_ZN2TW4Cbor6Encode5bytesERKSt6vectorIhSaIhEE(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %39, ptr noundef nonnull align 8 dereferenceable(24) %80)
          to label %81 unwind label %136

81:                                               ; preds = %79
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %35, ptr noundef nonnull align 8 dereferenceable(28) %36, ptr noundef nonnull align 8 dereferenceable(28) %39)
  %82 = getelementptr inbounds i8, ptr %35, i64 64
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %40) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %41) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %42) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %42)
          to label %83 unwind label %138

83:                                               ; preds = %81
  invoke void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %40, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %84 unwind label %140

84:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %43) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %44) #5
  %85 = getelementptr inbounds i8, ptr %1, i64 160
  invoke void @_ZN2TW5OasisL13encodeVaruintERKN5boost14multiprecision6numberINS2_8backends15cpp_int_backendILj256ELj256ELNS2_16cpp_integer_typeE0ELNS2_18cpp_int_check_typeE0EvEELNS2_26expression_template_optionE0EEE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %44, ptr noundef nonnull align 16 dereferenceable(48) %85)
          to label %86 unwind label %142

86:                                               ; preds = %84
  invoke void @_ZN2TW4Cbor6Encode5bytesERKSt6vectorIhSaIhEE(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %43, ptr noundef nonnull align 8 dereferenceable(24) %44)
          to label %87 unwind label %144

87:                                               ; preds = %86
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %82, ptr noundef nonnull align 8 dereferenceable(28) %40, ptr noundef nonnull align 8 dereferenceable(28) %43)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %45) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %46) #5
  call void @_ZNSaISt4pairIKN2TW4Cbor6EncodeES2_EEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #5
  invoke void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEC2ESt16initializer_listIS7_ERKS4_RKS8_(ptr noundef nonnull align 8 dereferenceable(48) %34, ptr nonnull %35, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %45, ptr noundef nonnull align 1 dereferenceable(1) %46)
          to label %88 unwind label %146

88:                                               ; preds = %87
  invoke void @_ZN2TW4Cbor6Encode3mapERKSt3mapIS1_S1_St4lessIS1_ESaISt4pairIKS1_S1_EEE(ptr dead_on_unwind nonnull writable sret(%"class.TW::Cbor::Encode") align 8 %33, ptr noundef nonnull align 8 dereferenceable(48) %34)
          to label %89 unwind label %148

89:                                               ; preds = %88
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64) %75, ptr noundef nonnull align 8 dereferenceable(28) %30, ptr noundef nonnull align 8 dereferenceable(28) %33)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %47) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %48) #5
  call void @_ZNSaISt4pairIKN2TW4Cbor6EncodeES2_EEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #5
  invoke void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEC2ESt16initializer_listIS7_ERKS4_RKS8_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr nonnull %4, i64 4, ptr noundef nonnull align 1 dereferenceable(1) %47, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %90 unwind label %150

90:                                               ; preds = %89
  invoke void @_ZN2TW4Cbor6Encode3mapERKSt3mapIS1_S1_St4lessIS1_ESaISt4pairIKS1_S1_EEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8 %0, ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %91 unwind label %152

91:                                               ; preds = %90
  call void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #5
  call void @_ZNSt15__new_allocatorISt4pairIKN2TW4Cbor6EncodeES3_EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %47) #5
  %92 = getelementptr inbounds i8, ptr %4, i64 192
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %92) #5
  %93 = getelementptr inbounds i8, ptr %4, i64 128
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %93) #5
  %94 = getelementptr inbounds i8, ptr %4, i64 64
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %94) #5
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %33) #5
  call void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #5
  call void @_ZNSt15__new_allocatorISt4pairIKN2TW4Cbor6EncodeES3_EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %46) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #5
  %95 = getelementptr inbounds i8, ptr %35, i64 64
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %95) #5
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %35) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %43) #5
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %44) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %40) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %42) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %41) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %39) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %36) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %35) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %34) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %30) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %16) #5
  call void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #5
  call void @_ZNSt15__new_allocatorISt4pairIKN2TW4Cbor6EncodeES3_EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #5
  %96 = getelementptr inbounds i8, ptr %18, i64 64
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %96) #5
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %18) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %26) #5
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %23) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %22) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %19) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %13) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %9) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %5) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #5
  ret void

.thread162:                                       ; preds = %2
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  br label %.loopexit

98:                                               ; preds = %49
  %99 = landingpad { ptr, i32 }
          cleanup
  br label %195

100:                                              ; preds = %50
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %194

102:                                              ; preds = %53
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %193

104:                                              ; preds = %55
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %192

106:                                              ; preds = %56
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %191

108:                                              ; preds = %58
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %190

110:                                              ; preds = %60
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %189

.thread152:                                       ; preds = %61
  %112 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #5
  br label %.loopexit169

113:                                              ; preds = %62
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %184

115:                                              ; preds = %63
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %183

117:                                              ; preds = %66
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %182

119:                                              ; preds = %68
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %181

121:                                              ; preds = %69
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %180

123:                                              ; preds = %71
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %178

125:                                              ; preds = %72
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %176

127:                                              ; preds = %73
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %175

129:                                              ; preds = %74
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %174

131:                                              ; preds = %76
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %173

.thread:                                          ; preds = %77
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #5
  br label %.loopexit171

134:                                              ; preds = %78
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %168

136:                                              ; preds = %79
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %167

138:                                              ; preds = %81
  %139 = landingpad { ptr, i32 }
          cleanup
  br label %166

140:                                              ; preds = %83
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %165

142:                                              ; preds = %84
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %164

144:                                              ; preds = %86
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %162

146:                                              ; preds = %87
  %147 = landingpad { ptr, i32 }
          cleanup
  br label %160

148:                                              ; preds = %88
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %158

150:                                              ; preds = %89
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %154

152:                                              ; preds = %90
  %153 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #5
  br label %154

154:                                              ; preds = %152, %150
  %.pn = phi { ptr, i32 } [ %153, %152 ], [ %151, %150 ]
  call void @_ZNSt15__new_allocatorISt4pairIKN2TW4Cbor6EncodeES3_EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %47) #5
  %155 = getelementptr inbounds i8, ptr %4, i64 192
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %155) #5
  %156 = getelementptr inbounds i8, ptr %4, i64 128
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %156) #5
  %157 = getelementptr inbounds i8, ptr %4, i64 64
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %157) #5
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %33) #5
  br label %158

158:                                              ; preds = %154, %148
  %.pn.pn = phi { ptr, i32 } [ %.pn, %154 ], [ %149, %148 ]
  %159 = phi i1 [ true, %154 ], [ false, %148 ]
  call void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #5
  br label %160

160:                                              ; preds = %158, %146
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %158 ], [ %147, %146 ]
  %.1 = phi i1 [ %159, %158 ], [ false, %146 ]
  call void @_ZNSt15__new_allocatorISt4pairIKN2TW4Cbor6EncodeES3_EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %46) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #5
  %161 = getelementptr inbounds i8, ptr %35, i64 64
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %161) #5
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %35) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %43) #5
  br label %162

162:                                              ; preds = %160, %144
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %160 ], [ %145, %144 ]
  %163 = phi i1 [ true, %160 ], [ false, %144 ]
  %.2 = phi i1 [ %.1, %160 ], [ false, %144 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  br label %164

164:                                              ; preds = %162, %142
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %162 ], [ %143, %142 ]
  %.120 = phi i1 [ %163, %162 ], [ false, %142 ]
  %.3 = phi i1 [ %.2, %162 ], [ false, %142 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %44) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %40) #5
  br label %165

165:                                              ; preds = %164, %140
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %164 ], [ %141, %140 ]
  %.221 = phi i1 [ %.120, %164 ], [ false, %140 ]
  %.4 = phi i1 [ %.3, %164 ], [ false, %140 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #5
  br label %166

166:                                              ; preds = %165, %138
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %165 ], [ %139, %138 ]
  %.322 = phi i1 [ %.221, %165 ], [ false, %138 ]
  %.5 = phi i1 [ %.4, %165 ], [ false, %138 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %42) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %41) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %39) #5
  br label %167

167:                                              ; preds = %166, %136
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %166 ], [ %137, %136 ]
  %.026 = phi ptr [ %82, %166 ], [ %35, %136 ]
  %.423 = phi i1 [ %.322, %166 ], [ false, %136 ]
  %.6 = phi i1 [ %.5, %166 ], [ false, %136 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %36) #5
  br label %168

168:                                              ; preds = %134, %167
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %167 ], [ %135, %134 ]
  %.127 = phi ptr [ %.026, %167 ], [ %35, %134 ]
  %.524 = phi i1 [ %.423, %167 ], [ false, %134 ]
  %.7 = phi i1 [ %.6, %167 ], [ false, %134 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #5
  %169 = icmp eq ptr %35, %.127
  %or.cond = select i1 %.524, i1 true, i1 %169
  br i1 %or.cond, label %.loopexit171, label %.preheader170

.preheader170:                                    ; preds = %168, %.preheader170
  %170 = phi ptr [ %171, %.preheader170 ], [ %.127, %168 ]
  %171 = getelementptr inbounds i8, ptr %170, i64 -64
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %171) #5
  %172 = icmp eq ptr %171, %35
  br i1 %172, label %.loopexit171, label %.preheader170

.loopexit171:                                     ; preds = %.preheader170, %.thread, %168
  %.8151 = phi i1 [ false, %.thread ], [ %.7, %168 ], [ %.7, %.preheader170 ]
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn150 = phi { ptr, i32 } [ %133, %.thread ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %168 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %.preheader170 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %35) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %34) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %30) #5
  br label %173

173:                                              ; preds = %.loopexit171, %131
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn150, %.loopexit171 ], [ %132, %131 ]
  %.9 = phi i1 [ %.8151, %.loopexit171 ], [ false, %131 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #5
  br label %174

174:                                              ; preds = %173, %129
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %173 ], [ %130, %129 ]
  %.10 = phi i1 [ %.9, %173 ], [ false, %129 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %16) #5
  br label %175

175:                                              ; preds = %174, %127
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %174 ], [ %128, %127 ]
  %.029 = phi ptr [ %75, %174 ], [ %59, %127 ]
  %.11 = phi i1 [ %.10, %174 ], [ false, %127 ]
  call void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #5
  br label %176

176:                                              ; preds = %175, %125
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %175 ], [ %126, %125 ]
  %.130 = phi ptr [ %.029, %175 ], [ %59, %125 ]
  %.12 = phi i1 [ %.11, %175 ], [ false, %125 ]
  call void @_ZNSt15__new_allocatorISt4pairIKN2TW4Cbor6EncodeES3_EED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #5
  %177 = getelementptr inbounds i8, ptr %18, i64 64
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %177) #5
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %18) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %26) #5
  br label %178

178:                                              ; preds = %176, %123
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %176 ], [ %124, %123 ]
  %179 = phi i1 [ true, %176 ], [ false, %123 ]
  %.231 = phi ptr [ %.130, %176 ], [ %59, %123 ]
  %.13 = phi i1 [ %.12, %176 ], [ false, %123 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  br label %180

180:                                              ; preds = %178, %121
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %178 ], [ %122, %121 ]
  %.175 = phi i1 [ %179, %178 ], [ false, %121 ]
  %.332 = phi ptr [ %.231, %178 ], [ %59, %121 ]
  %.14 = phi i1 [ %.13, %178 ], [ false, %121 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %23) #5
  br label %181

181:                                              ; preds = %180, %119
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %180 ], [ %120, %119 ]
  %.276 = phi i1 [ %.175, %180 ], [ false, %119 ]
  %.433 = phi ptr [ %.332, %180 ], [ %59, %119 ]
  %.15 = phi i1 [ %.14, %180 ], [ false, %119 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #5
  br label %182

182:                                              ; preds = %181, %117
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %181 ], [ %118, %117 ]
  %.377 = phi i1 [ %.276, %181 ], [ false, %117 ]
  %.534 = phi ptr [ %.433, %181 ], [ %59, %117 ]
  %.16 = phi i1 [ %.15, %181 ], [ false, %117 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %22) #5
  br label %183

183:                                              ; preds = %182, %115
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %182 ], [ %116, %115 ]
  %.081 = phi ptr [ %67, %182 ], [ %18, %115 ]
  %.478 = phi i1 [ %.377, %182 ], [ false, %115 ]
  %.635 = phi ptr [ %.534, %182 ], [ %59, %115 ]
  %.17 = phi i1 [ %.16, %182 ], [ false, %115 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %19) #5
  br label %184

184:                                              ; preds = %113, %183
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %183 ], [ %114, %113 ]
  %.182 = phi ptr [ %.081, %183 ], [ %18, %113 ]
  %.579 = phi i1 [ %.478, %183 ], [ false, %113 ]
  %.736 = phi ptr [ %.635, %183 ], [ %59, %113 ]
  %.18 = phi i1 [ %.17, %183 ], [ false, %113 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #5
  %185 = icmp eq ptr %18, %.182
  %or.cond4 = select i1 %.579, i1 true, i1 %185
  br i1 %or.cond4, label %.loopexit169, label %.preheader168

.preheader168:                                    ; preds = %184, %.preheader168
  %186 = phi ptr [ %187, %.preheader168 ], [ %.182, %184 ]
  %187 = getelementptr inbounds i8, ptr %186, i64 -64
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %187) #5
  %188 = icmp eq ptr %187, %18
  br i1 %188, label %.loopexit169, label %.preheader168

.loopexit169:                                     ; preds = %.preheader168, %.thread152, %184
  %.19161 = phi i1 [ false, %.thread152 ], [ %.18, %184 ], [ %.18, %.preheader168 ]
  %.837160 = phi ptr [ %59, %.thread152 ], [ %.736, %184 ], [ %.736, %.preheader168 ]
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn159 = phi { ptr, i32 } [ %112, %.thread152 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %184 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %.preheader168 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %13) #5
  br label %189

189:                                              ; preds = %.loopexit169, %110
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn159, %.loopexit169 ], [ %111, %110 ]
  %.938 = phi ptr [ %.837160, %.loopexit169 ], [ %59, %110 ]
  %.20 = phi i1 [ %.19161, %.loopexit169 ], [ false, %110 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  br label %190

190:                                              ; preds = %189, %108
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %189 ], [ %109, %108 ]
  %.1039 = phi ptr [ %.938, %189 ], [ %59, %108 ]
  %.21 = phi i1 [ %.20, %189 ], [ false, %108 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %12) #5
  br label %191

191:                                              ; preds = %190, %106
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %190 ], [ %107, %106 ]
  %.1140 = phi ptr [ %.1039, %190 ], [ %54, %106 ]
  %.22 = phi i1 [ %.21, %190 ], [ false, %106 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %9) #5
  br label %192

192:                                              ; preds = %191, %104
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %191 ], [ %105, %104 ]
  %.1241 = phi ptr [ %.1140, %191 ], [ %54, %104 ]
  %.23 = phi i1 [ %.22, %191 ], [ false, %104 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  br label %193

193:                                              ; preds = %192, %102
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %192 ], [ %103, %102 ]
  %.1342 = phi ptr [ %.1241, %192 ], [ %54, %102 ]
  %.24 = phi i1 [ %.23, %192 ], [ false, %102 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %8) #5
  br label %194

194:                                              ; preds = %193, %100
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %193 ], [ %101, %100 ]
  %.1443 = phi ptr [ %.1342, %193 ], [ %4, %100 ]
  %.25 = phi i1 [ %.24, %193 ], [ false, %100 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  call void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %5) #5
  br label %195

195:                                              ; preds = %98, %194
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %194 ], [ %99, %98 ]
  %.1544 = phi ptr [ %.1443, %194 ], [ %4, %98 ]
  %.26 = phi i1 [ %.25, %194 ], [ false, %98 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  %196 = icmp eq ptr %4, %.1544
  %or.cond7 = select i1 %.26, i1 true, i1 %196
  br i1 %or.cond7, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %195, %.preheader
  %197 = phi ptr [ %198, %.preheader ], [ %.1544, %195 ]
  %198 = getelementptr inbounds i8, ptr %197, i64 -64
  call void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %198) #5
  %199 = icmp eq ptr %198, %4
  br i1 %199, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread162, %195
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn167 = phi { ptr, i32 } [ %97, %.thread162 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %195 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn167
}

declare void @_ZN2TW4Cbor6Encode3mapERKSt3mapIS1_S1_St4lessIS1_ESaISt4pairIKS1_S1_EEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1

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

declare void @_ZN2TW4Cbor6Encode6stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

declare void @_ZN2TW4Cbor6Encode4uintEm(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_EC2IS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #3 align 2

declare void @_ZN2TW4Cbor6Encode5bytesERKSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.TW::Cbor::Encode") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN2TW5OasisL13encodeVaruintERKN5boost14multiprecision6numberINS2_8backends15cpp_int_backendILj256ELj256ELNS2_16cpp_integer_typeE0ELNS2_18cpp_int_check_typeE0EvEELNS2_26expression_template_optionE0EEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 16 dereferenceable(48)) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3mapIN2TW4Cbor6EncodeES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEC2ESt16initializer_listIS7_ERKS4_RKS8_(ptr noundef nonnull align 8 dereferenceable(48), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2TW13Bech32Address10getKeyHashEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIKN2TW4Cbor6EncodeES2_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2TW4Cbor6EncodeD2Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress 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 #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !14, i64 144}
!6 = !{!"_ZTSN2TW5Oasis11TransactionE", !7, i64 0, !9, i64 56, !14, i64 88, !19, i64 96, !14, i64 144, !19, i64 160, !9, i64 208}
!7 = !{!"_ZTSN2TW5Oasis7AddressE", !8, i64 0}
!8 = !{!"_ZTSN2TW13Bech32AddressE", !9, i64 0, !15, i64 32}
!9 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !10, i64 0, !14, i64 8, !12, i64 16}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"long", !12, i64 0}
!15 = !{!"_ZTSSt6vectorIhSaIhEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!19 = !{!"_ZTSN5boost14multiprecision6numberINS0_8backends15cpp_int_backendILj256ELj256ELNS0_16cpp_integer_typeE0ELNS0_18cpp_int_check_typeE0EvEELNS0_26expression_template_optionE0EEE", !20, i64 0}
!20 = !{!"_ZTSN5boost14multiprecision8backends15cpp_int_backendILj256ELj256ELNS0_16cpp_integer_typeE0ELNS0_18cpp_int_check_typeE0EvEE", !21, i64 0}
!21 = !{!"_ZTSN5boost14multiprecision8backends12cpp_int_baseILj256ELj256ELNS0_16cpp_integer_typeE0ELNS0_18cpp_int_check_typeE0EvLb0EEE", !12, i64 0, !22, i64 32}
!22 = !{!"long long", !12, i64 0}
!23 = !{!6, !14, i64 88}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass