; LLVM IR from Aeternum-Veritas/Merry :: asm/src/emit.ll (ZN4masm4Emit7add_SsTEv)

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

%"union.masm::ByteSwap" = type { i64 }
%"class.masm::Emit" = type { %"class.std::basic_fstream", i64, i64, i64, i64, %"class.std::vector", %"class.std::vector.4", %"class.std::vector.9", i8, i8, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.std::basic_fstream" = type { %"class.std::basic_iostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.0 }
%union.anon.0 = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<std::vector<unsigned char> *, std::allocator<std::vector<unsigned char> *>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned char> *, std::allocator<std::vector<unsigned char> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned char> *, std::allocator<std::vector<unsigned char> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned char> *, std::allocator<std::vector<unsigned char> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4masm4Emit7add_SsTEv(ptr noundef nonnull align 8 dereferenceable(712) %0) #0 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca %"union.masm::ByteSwap", align 8
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i8, align 1
  %17 = alloca i32, align 4
  %18 = alloca i8, align 1
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i8, align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  %23 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %24 = getelementptr inbounds %"class.masm::Emit", ptr %23, i32 0, i32 19
  %25 = load ptr, ptr %24, align 8, !tbaa !9
  %26 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #4
  store i64 %26, ptr %4, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 7, ptr %5, align 4, !tbaa !37
  br label %27

27:                                               ; preds = %43, %1
  %28 = load i32, ptr %5, align 4, !tbaa !37
  %29 = icmp sge i32 %28, 0
  br i1 %29, label %31, label %30

30:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %46

31:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #4
  %32 = load i64, ptr %4, align 8, !tbaa !36
  %33 = load i32, ptr %5, align 4, !tbaa !37
  %34 = mul nsw i32 %33, 8
  %35 = zext i32 %34 to i64
  %36 = lshr i64 %32, %35
  %37 = and i64 %36, 255
  %38 = trunc i64 %37 to i8
  store i8 %38, ptr %6, align 1, !tbaa !38
  %39 = getelementptr inbounds %"class.masm::Emit", ptr %23, i32 0, i32 0
  %40 = getelementptr inbounds i8, ptr %39, i64 16
  %41 = load i8, ptr %6, align 1, !tbaa !38
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %40, i8 noundef zeroext %41)
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #4
  br label %43

43:                                               ; preds = %31
  %44 = load i32, ptr %5, align 4, !tbaa !37
  %45 = add nsw i32 %44, -1
  store i32 %45, ptr %5, align 4, !tbaa !37
  br label %27, !llvm.loop !39

46:                                               ; preds = %30
  store i64 0, ptr %3, align 8, !tbaa !38
  %47 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 1
  store i8 1, ptr %47, align 1, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store ptr %3, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds [8 x i8], ptr %48, i64 0, i64 0
  store ptr %49, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = getelementptr inbounds [8 x i8], ptr %50, i64 0, i64 0
  %52 = getelementptr inbounds i8, ptr %51, i64 8
  store ptr %52, ptr %9, align 8, !tbaa !5
  br label %53

53:                                               ; preds = %65, %46
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  %56 = icmp ne ptr %54, %55
  br i1 %56, label %58, label %57

57:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %68

58:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = load i8, ptr %59, align 1, !tbaa !38
  store i8 %60, ptr %10, align 1, !tbaa !38
  %61 = getelementptr inbounds %"class.masm::Emit", ptr %23, i32 0, i32 0
  %62 = getelementptr inbounds i8, ptr %61, i64 16
  %63 = load i8, ptr %10, align 1, !tbaa !38
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %62, i8 noundef zeroext %63)
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  br label %65

65:                                               ; preds = %58
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %66, i32 1
  store ptr %67, ptr %8, align 8, !tbaa !5
  br label %53

68:                                               ; preds = %57
  %69 = getelementptr inbounds %"class.masm::Emit", ptr %23, i32 0, i32 7
  %70 = getelementptr inbounds %"class.masm::Emit", ptr %23, i32 0, i32 19
  call void @_ZNSt6vectorIPS_IhSaIhEESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %69, ptr noundef nonnull align 8 dereferenceable(8) %70)
  %71 = getelementptr inbounds %"class.masm::Emit", ptr %23, i32 0, i32 20
  %72 = load ptr, ptr %71, align 8, !tbaa !41
  %73 = call noundef zeroext i1 @_ZNKSt6vectorIhSaIhEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #4
  br i1 %73, label %123, label %74

74:                                               ; preds = %68
  %75 = getelementptr inbounds %"class.masm::Emit", ptr %23, i32 0, i32 20
  %76 = load ptr, ptr %75, align 8, !tbaa !41
  %77 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %76) #4
  store i64 %77, ptr %4, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 7, ptr %11, align 4, !tbaa !37
  br label %78

78:                                               ; preds = %94, %74
  %79 = load i32, ptr %11, align 4, !tbaa !37
  %80 = icmp sge i32 %79, 0
  br i1 %80, label %82, label %81

81:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %97

82:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #4
  %83 = load i64, ptr %4, align 8, !tbaa !36
  %84 = load i32, ptr %11, align 4, !tbaa !37
  %85 = mul nsw i32 %84, 8
  %86 = zext i32 %85 to i64
  %87 = lshr i64 %83, %86
  %88 = and i64 %87, 255
  %89 = trunc i64 %88 to i8
  store i8 %89, ptr %12, align 1, !tbaa !38
  %90 = getelementptr inbounds %"class.masm::Emit", ptr %23, i32 0, i32 0
  %91 = getelementptr inbounds i8, ptr %90, i64 16
  %92 = load i8, ptr %12, align 1, !tbaa !38
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %91, i8 noundef zeroext %92)
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #4
  br label %94

94:                                               ; preds = %82
  %95 = load i32, ptr %11, align 4, !tbaa !37
  %96 = add nsw i32 %95, -1
  store i32 %96, ptr %11, align 4, !tbaa !37
  br label %78, !llvm.loop !42

97:                                               ; preds = %81
  store i64 0, ptr %3, align 8, !tbaa !38
  %98 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 1
  store i8 1, ptr %98, align 1, !tbaa !38
  %99 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 2
  store i8 1, ptr %99, align 2, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  store ptr %3, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %100 = load ptr, ptr %13, align 8, !tbaa !5
  %101 = getelementptr inbounds [8 x i8], ptr %100, i64 0, i64 0
  store ptr %101, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %102 = load ptr, ptr %13, align 8, !tbaa !5
  %103 = getelementptr inbounds [8 x i8], ptr %102, i64 0, i64 0
  %104 = getelementptr inbounds i8, ptr %103, i64 8
  store ptr %104, ptr %15, align 8, !tbaa !5
  br label %105

105:                                              ; preds = %117, %97
  %106 = load ptr, ptr %14, align 8, !tbaa !5
  %107 = load ptr, ptr %15, align 8, !tbaa !5
  %108 = icmp ne ptr %106, %107
  br i1 %108, label %110, label %109

109:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %120

110:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #4
  %111 = load ptr, ptr %14, align 8, !tbaa !5
  %112 = load i8, ptr %111, align 1, !tbaa !38
  store i8 %112, ptr %16, align 1, !tbaa !38
  %113 = getelementptr inbounds %"class.masm::Emit", ptr %23, i32 0, i32 0
  %114 = getelementptr inbounds i8, ptr %113, i64 16
  %115 = load i8, ptr %16, align 1, !tbaa !38
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %114, i8 noundef zeroext %115)
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #4
  br label %117

117:                                              ; preds = %110
  %118 = load ptr, ptr %14, align 8, !tbaa !5
  %119 = getelementptr inbounds i8, ptr %118, i32 1
  store ptr %119, ptr %14, align 8, !tbaa !5
  br label %105

120:                                              ; preds = %109
  %121 = getelementptr inbounds %"class.masm::Emit", ptr %23, i32 0, i32 7
  %122 = getelementptr inbounds %"class.masm::Emit", ptr %23, i32 0, i32 20
  call void @_ZNSt6vectorIPS_IhSaIhEESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %121, ptr noundef nonnull align 8 dereferenceable(8) %122)
  br label %123

123:                                              ; preds = %120, %68
  %124 = getelementptr inbounds %"class.masm::Emit", ptr %23, i32 0, i32 9
  %125 = load i8, ptr %124, align 1, !tbaa !43, !range !44, !noundef !45
  %126 = trunc i8 %125 to i1
  br i1 %126, label %127, label %174

127:                                              ; preds = %123
  %128 = getelementptr inbounds %"class.masm::Emit", ptr %23, i32 0, i32 13
  %129 = load ptr, ptr %128, align 8, !tbaa !46
  %130 = call noundef i64 @_ZNKSt13unordered_mapImmSt4hashImESt8equal_toImESaISt4pairIKmmEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %129) #4
  %131 = mul i64 %130, 16
  store i64 %131, ptr %4, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 7, ptr %17, align 4, !tbaa !37
  br label %132

132:                                              ; preds = %148, %127
  %133 = load i32, ptr %17, align 4, !tbaa !37
  %134 = icmp sge i32 %133, 0
  br i1 %134, label %136, label %135

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

136:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #4
  %137 = load i64, ptr %4, align 8, !tbaa !36
  %138 = load i32, ptr %17, align 4, !tbaa !37
  %139 = mul nsw i32 %138, 8
  %140 = zext i32 %139 to i64
  %141 = lshr i64 %137, %140
  %142 = and i64 %141, 255
  %143 = trunc i64 %142 to i8
  store i8 %143, ptr %18, align 1, !tbaa !38
  %144 = getelementptr inbounds %"class.masm::Emit", ptr %23, i32 0, i32 0
  %145 = getelementptr inbounds i8, ptr %144, i64 16
  %146 = load i8, ptr %18, align 1, !tbaa !38
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %145, i8 noundef zeroext %146)
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #4
  br label %148

148:                                              ; preds = %136
  %149 = load i32, ptr %17, align 4, !tbaa !37
  %150 = add nsw i32 %149, -1
  store i32 %150, ptr %17, align 4, !tbaa !37
  br label %132, !llvm.loop !47

151:                                              ; preds = %135
  %152 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
  store i8 2, ptr %152, align 8, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  store ptr %3, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %153 = load ptr, ptr %19, align 8, !tbaa !5
  %154 = getelementptr inbounds [8 x i8], ptr %153, i64 0, i64 0
  store ptr %154, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %155 = load ptr, ptr %19, align 8, !tbaa !5
  %156 = getelementptr inbounds [8 x i8], ptr %155, i64 0, i64 0
  %157 = getelementptr inbounds i8, ptr %156, i64 8
  store ptr %157, ptr %21, align 8, !tbaa !5
  br label %158

158:                                              ; preds = %170, %151
  %159 = load ptr, ptr %20, align 8, !tbaa !5
  %160 = load ptr, ptr %21, align 8, !tbaa !5
  %161 = icmp ne ptr %159, %160
  br i1 %161, label %163, label %162

162:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %173

163:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #4
  %164 = load ptr, ptr %20, align 8, !tbaa !5
  %165 = load i8, ptr %164, align 1, !tbaa !38
  store i8 %165, ptr %22, align 1, !tbaa !38
  %166 = getelementptr inbounds %"class.masm::Emit", ptr %23, i32 0, i32 0
  %167 = getelementptr inbounds i8, ptr %166, i64 16
  %168 = load i8, ptr %22, align 1, !tbaa !38
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %167, i8 noundef zeroext %168)
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #4
  br label %170

170:                                              ; preds = %163
  %171 = load ptr, ptr %20, align 8, !tbaa !5
  %172 = getelementptr inbounds i8, ptr %171, i32 1
  store ptr %172, ptr %20, align 8, !tbaa !5
  br label %158

173:                                              ; preds = %162
  br label %174

174:                                              ; preds = %173, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef zeroext) #2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt13unordered_mapImmSt4hashImESt8equal_toImESaISt4pairIKmmEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56)) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { 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, !6, i64 696}
!10 = !{!"_ZTSN4masm4EmitE", !11, i64 0, !14, i64 528, !14, i64 536, !14, i64 544, !14, i64 552, !24, i64 560, !28, i64 584, !32, i64 608, !20, i64 632, !20, i64 633, !20, i64 634, !20, i64 635, !6, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !6, i64 672, !6, i64 680, !6, i64 688, !6, i64 696, !6, i64 704}
!11 = !{!"_ZTSSt13basic_fstreamIcSt11char_traitsIcEE", !12, i64 0, !16, i64 24}
!12 = !{!"_ZTSSd", !13, i64 0, !15, i64 16}
!13 = !{!"_ZTSSi", !14, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTSSo"}
!16 = !{!"_ZTSSt13basic_filebufIcSt11char_traitsIcEE", !17, i64 0, !7, i64 64, !19, i64 104, !21, i64 120, !22, i64 124, !22, i64 132, !22, i64 140, !6, i64 152, !14, i64 160, !20, i64 168, !20, i64 169, !20, i64 170, !7, i64 171, !6, i64 176, !6, i64 184, !20, i64 192, !6, i64 200, !6, i64 208, !14, i64 216, !6, i64 224, !6, i64 232}
!17 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !18, i64 56}
!18 = !{!"_ZTSSt6locale", !6, i64 0}
!19 = !{!"_ZTSSt12__basic_fileIcE", !6, i64 0, !20, i64 8}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTSSt13_Ios_Openmode", !7, i64 0}
!22 = !{!"_ZTS11__mbstate_t", !23, i64 0, !7, i64 4}
!23 = !{!"int", !7, i64 0}
!24 = !{!"_ZTSSt6vectorImSaImEE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseImSaImEE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSSt6vectorISt4pairImmESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseISt4pairImmESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseISt4pairImmESaIS1_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseISt4pairImmESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSSt6vectorIPS_IhSaIhEESaIS2_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIPSt6vectorIhSaIhEESaIS3_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPSt6vectorIhSaIhEESaIS3_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPSt6vectorIhSaIhEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!14, !14, i64 0}
!37 = !{!23, !23, i64 0}
!38 = !{!7, !7, i64 0}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = !{!10, !6, i64 704}
!42 = distinct !{!42, !40}
!43 = !{!10, !20, i64 633}
!44 = !{i8 0, i8 2}
!45 = !{}
!46 = !{!10, !6, i64 648}
!47 = distinct !{!47, !40}


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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4masm4Emit7add_SsTEv(ptr noundef nonnull align 8 dereferenceable(712) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 696
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #3
  %5 = getelementptr inbounds i8, ptr %0, i64 16
  %6 = lshr i64 %4, 56
  %7 = trunc nuw i64 %6 to i8
  %8 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %7)
  %9 = lshr i64 %4, 48
  %10 = trunc i64 %9 to i8
  %11 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %10)
  %12 = lshr i64 %4, 40
  %13 = trunc i64 %12 to i8
  %14 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %13)
  %15 = lshr i64 %4, 32
  %16 = trunc i64 %15 to i8
  %17 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %16)
  %18 = lshr i64 %4, 24
  %19 = trunc i64 %18 to i8
  %20 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %19)
  %21 = lshr i64 %4, 16
  %22 = trunc i64 %21 to i8
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %22)
  %24 = lshr i64 %4, 8
  %25 = trunc i64 %24 to i8
  %26 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %25)
  %27 = trunc i64 %4 to i8
  %28 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %27)
  %29 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %30 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 1)
  %31 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %32 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %33 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %35 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %36 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %37 = getelementptr inbounds i8, ptr %0, i64 608
  tail call void @_ZNSt6vectorIPS_IhSaIhEESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %38 = getelementptr inbounds i8, ptr %0, i64 704
  %39 = load ptr, ptr %38, align 8, !tbaa !35
  %40 = tail call noundef zeroext i1 @_ZNKSt6vectorIhSaIhEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #3
  br i1 %40, label %75, label %41

41:                                               ; preds = %1
  %42 = load ptr, ptr %38, align 8, !tbaa !35
  %43 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #3
  %44 = lshr i64 %43, 56
  %45 = trunc nuw i64 %44 to i8
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %45)
  %47 = lshr i64 %43, 48
  %48 = trunc i64 %47 to i8
  %49 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %48)
  %50 = lshr i64 %43, 40
  %51 = trunc i64 %50 to i8
  %52 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %51)
  %53 = lshr i64 %43, 32
  %54 = trunc i64 %53 to i8
  %55 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %54)
  %56 = lshr i64 %43, 24
  %57 = trunc i64 %56 to i8
  %58 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %57)
  %59 = lshr i64 %43, 16
  %60 = trunc i64 %59 to i8
  %61 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %60)
  %62 = lshr i64 %43, 8
  %63 = trunc i64 %62 to i8
  %64 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %63)
  %65 = trunc i64 %43 to i8
  %66 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %65)
  %67 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %68 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 1)
  %69 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 1)
  %70 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %71 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %72 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %73 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %74 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  tail call void @_ZNSt6vectorIPS_IhSaIhEESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(8) %38)
  br label %75

75:                                               ; preds = %41, %1
  %.sroa.13.0 = phi i8 [ 0, %1 ], [ 1, %41 ]
  %76 = getelementptr inbounds i8, ptr %0, i64 633
  %77 = load i8, ptr %76, align 1, !tbaa !36, !range !37, !noundef !38
  %78 = trunc nuw i8 %77 to i1
  br i1 %78, label %.loopexit.loopexit, label %.loopexit

.loopexit.loopexit:                               ; preds = %75
  %79 = getelementptr inbounds i8, ptr %0, i64 648
  %80 = load ptr, ptr %79, align 8, !tbaa !39
  %81 = tail call noundef i64 @_ZNKSt13unordered_mapImmSt4hashImESt8equal_toImESaISt4pairIKmmEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %80) #3
  %82 = shl i64 %81, 4
  %83 = lshr i64 %82, 56
  %84 = trunc nuw i64 %83 to i8
  %85 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %84)
  %86 = lshr i64 %82, 48
  %87 = trunc i64 %86 to i8
  %88 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %87)
  %89 = lshr i64 %82, 40
  %90 = trunc i64 %89 to i8
  %91 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %90)
  %92 = lshr i64 %82, 32
  %93 = trunc i64 %92 to i8
  %94 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %93)
  %95 = lshr i64 %82, 24
  %96 = trunc i64 %95 to i8
  %97 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %96)
  %98 = lshr i64 %82, 16
  %99 = trunc i64 %98 to i8
  %100 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %99)
  %101 = lshr i64 %82, 8
  %102 = trunc i64 %101 to i8
  %103 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %102)
  %104 = trunc i64 %82 to i8
  %105 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %104)
  %106 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 2)
  %107 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 1)
  %108 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext %.sroa.13.0)
  %109 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %110 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %111 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %112 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  %113 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef zeroext 0)
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %75
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef zeroext) local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt13unordered_mapImmSt4hashImESt8equal_toImESaISt4pairIKmmEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #2 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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, !16, i64 696}
!6 = !{!"_ZTSN4masm4EmitE", !7, i64 0, !10, i64 528, !10, i64 536, !10, i64 544, !10, i64 552, !23, i64 560, !27, i64 584, !31, i64 608, !19, i64 632, !19, i64 633, !19, i64 634, !19, i64 635, !16, i64 640, !16, i64 648, !16, i64 656, !16, i64 664, !16, i64 672, !16, i64 680, !16, i64 688, !16, i64 696, !16, i64 704}
!7 = !{!"_ZTSSt13basic_fstreamIcSt11char_traitsIcEE", !8, i64 0, !14, i64 24}
!8 = !{!"_ZTSSd", !9, i64 0, !13, i64 16}
!9 = !{!"_ZTSSi", !10, i64 8}
!10 = !{!"long", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTSSo"}
!14 = !{!"_ZTSSt13basic_filebufIcSt11char_traitsIcEE", !15, i64 0, !11, i64 64, !18, i64 104, !20, i64 120, !21, i64 124, !21, i64 132, !21, i64 140, !16, i64 152, !10, i64 160, !19, i64 168, !19, i64 169, !19, i64 170, !11, i64 171, !16, i64 176, !16, i64 184, !19, i64 192, !16, i64 200, !16, i64 208, !10, i64 216, !16, i64 224, !16, i64 232}
!15 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !17, i64 56}
!16 = !{!"any pointer", !11, i64 0}
!17 = !{!"_ZTSSt6locale", !16, i64 0}
!18 = !{!"_ZTSSt12__basic_fileIcE", !16, i64 0, !19, i64 8}
!19 = !{!"bool", !11, i64 0}
!20 = !{!"_ZTSSt13_Ios_Openmode", !11, i64 0}
!21 = !{!"_ZTS11__mbstate_t", !22, i64 0, !11, i64 4}
!22 = !{!"int", !11, i64 0}
!23 = !{!"_ZTSSt6vectorImSaImEE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseImSaImEE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!27 = !{!"_ZTSSt6vectorISt4pairImmESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseISt4pairImmESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseISt4pairImmESaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseISt4pairImmESaIS1_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!31 = !{!"_ZTSSt6vectorIPS_IhSaIhEESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIPSt6vectorIhSaIhEESaIS3_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIPSt6vectorIhSaIhEESaIS3_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPSt6vectorIhSaIhEESaIS3_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!35 = !{!6, !16, i64 704}
!36 = !{!6, !19, i64 633}
!37 = !{i8 0, i8 2}
!38 = !{}
!39 = !{!6, !16, i64 648}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass