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

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

@__const._ZN4masm4Emit10add_headerEv.header = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4masm4Emit10add_headerEv(ptr noundef nonnull align 8 dereferenceable(712) %0) #0 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca [8 x i8], align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca %"union.masm::ByteSwap", align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %13 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const._ZN4masm4Emit10add_headerEv.header, i64 8, i1 false)
  %14 = getelementptr inbounds %"class.masm::Emit", ptr %13, i32 0, i32 11
  %15 = load i8, ptr %14, align 1, !tbaa !9, !range !36, !noundef !37
  %16 = trunc i8 %15 to i1
  %17 = zext i1 %16 to i64
  %18 = select i1 %16, i32 1, i32 0
  %19 = trunc i32 %18 to i8
  %20 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 6
  store i8 %19, ptr %20, align 1, !tbaa !38
  %21 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 6
  %22 = load i8, ptr %21, align 1, !tbaa !38
  %23 = zext i8 %22 to i32
  %24 = shl i32 %23, 1
  %25 = trunc i32 %24 to i8
  store i8 %25, ptr %21, align 1, !tbaa !38
  %26 = getelementptr inbounds %"class.masm::Emit", ptr %13, i32 0, i32 10
  %27 = load i8, ptr %26, align 2, !tbaa !39, !range !36, !noundef !37
  %28 = trunc i8 %27 to i1
  %29 = zext i1 %28 to i64
  %30 = select i1 %28, i32 1, i32 0
  %31 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 6
  %32 = load i8, ptr %31, align 1, !tbaa !38
  %33 = zext i8 %32 to i32
  %34 = or i32 %33, %30
  %35 = trunc i32 %34 to i8
  store i8 %35, ptr %31, align 1, !tbaa !38
  %36 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 6
  %37 = load i8, ptr %36, align 1, !tbaa !38
  %38 = zext i8 %37 to i32
  %39 = shl i32 %38, 1
  %40 = trunc i32 %39 to i8
  store i8 %40, ptr %36, align 1, !tbaa !38
  %41 = getelementptr inbounds %"class.masm::Emit", ptr %13, i32 0, i32 8
  %42 = load i8, ptr %41, align 8, !tbaa !40, !range !36, !noundef !37
  %43 = trunc i8 %42 to i1
  %44 = zext i1 %43 to i64
  %45 = select i1 %43, i32 1, i32 0
  %46 = trunc i32 %45 to i8
  %47 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 6
  store i8 %46, ptr %47, align 1, !tbaa !38
  %48 = getelementptr inbounds %"class.masm::Emit", ptr %13, i32 0, i32 9
  %49 = load i8, ptr %48, align 1, !tbaa !41, !range !36, !noundef !37
  %50 = trunc i8 %49 to i1
  %51 = zext i1 %50 to i64
  %52 = select i1 %50, i32 1, i32 0
  %53 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 7
  %54 = load i8, ptr %53, align 1, !tbaa !38
  %55 = zext i8 %54 to i32
  %56 = or i32 %55, %52
  %57 = trunc i32 %56 to i8
  store i8 %57, ptr %53, align 1, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  store ptr %3, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds [8 x i8], ptr %58, i64 0, i64 0
  store ptr %59, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds [8 x i8], ptr %60, i64 0, i64 0
  %62 = getelementptr inbounds i8, ptr %61, i64 8
  store ptr %62, ptr %6, align 8, !tbaa !5
  br label %63

63:                                               ; preds = %75, %1
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = icmp ne ptr %64, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  br label %78

68:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = load i8, ptr %69, align 1, !tbaa !38
  store i8 %70, ptr %7, align 1, !tbaa !38
  %71 = getelementptr inbounds %"class.masm::Emit", ptr %13, i32 0, i32 0
  %72 = getelementptr inbounds i8, ptr %71, i64 16
  %73 = load i8, ptr %7, align 1, !tbaa !38
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %72, i8 noundef zeroext %73)
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  br label %75

75:                                               ; preds = %68
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %76, i32 1
  store ptr %77, ptr %5, align 8, !tbaa !5
  br label %63

78:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %79 = getelementptr inbounds %"class.masm::Emit", ptr %13, i32 0, i32 18
  %80 = load ptr, ptr %79, align 8, !tbaa !42
  %81 = call noundef i64 @_ZNKSt6vectorIN4masm9GenBinaryESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #5
  %82 = mul i64 %81, 8
  store i64 %82, ptr %8, align 8, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 7, ptr %9, align 4, !tbaa !43
  br label %83

83:                                               ; preds = %95, %78
  %84 = load i32, ptr %9, align 4, !tbaa !43
  %85 = icmp sge i32 %84, 0
  br i1 %85, label %87, label %86

86:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %98

87:                                               ; preds = %83
  %88 = getelementptr inbounds %"class.masm::Emit", ptr %13, i32 0, i32 0
  %89 = getelementptr inbounds i8, ptr %88, i64 16
  %90 = load i32, ptr %9, align 4, !tbaa !43
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 %91
  %93 = load i8, ptr %92, align 1, !tbaa !38
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %89, i8 noundef zeroext %93)
  br label %95

95:                                               ; preds = %87
  %96 = load i32, ptr %9, align 4, !tbaa !43
  %97 = add nsw i32 %96, -1
  store i32 %97, ptr %9, align 4, !tbaa !43
  br label %83, !llvm.loop !44

98:                                               ; preds = %86
  %99 = getelementptr inbounds %"class.masm::Emit", ptr %13, i32 0, i32 5
  %100 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %99) #5
  %101 = mul i64 %100, 8
  store i64 %101, ptr %8, align 8, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 7, ptr %10, align 4, !tbaa !43
  br label %102

102:                                              ; preds = %114, %98
  %103 = load i32, ptr %10, align 4, !tbaa !43
  %104 = icmp sge i32 %103, 0
  br i1 %104, label %106, label %105

105:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %117

106:                                              ; preds = %102
  %107 = getelementptr inbounds %"class.masm::Emit", ptr %13, i32 0, i32 0
  %108 = getelementptr inbounds i8, ptr %107, i64 16
  %109 = load i32, ptr %10, align 4, !tbaa !43
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 %110
  %112 = load i8, ptr %111, align 1, !tbaa !38
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %108, i8 noundef zeroext %112)
  br label %114

114:                                              ; preds = %106
  %115 = load i32, ptr %10, align 4, !tbaa !43
  %116 = add nsw i32 %115, -1
  store i32 %116, ptr %10, align 4, !tbaa !43
  br label %102, !llvm.loop !46

117:                                              ; preds = %105
  store i64 16, ptr %8, align 8, !tbaa !38
  %118 = getelementptr inbounds %"class.masm::Emit", ptr %13, i32 0, i32 20
  %119 = load ptr, ptr %118, align 8, !tbaa !47
  %120 = call noundef zeroext i1 @_ZNKSt6vectorIhSaIhEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %119) #5
  br i1 %120, label %124, label %121

121:                                              ; preds = %117
  %122 = load i64, ptr %8, align 8, !tbaa !38
  %123 = add i64 %122, 16
  store i64 %123, ptr %8, align 8, !tbaa !38
  br label %124

124:                                              ; preds = %121, %117
  %125 = getelementptr inbounds %"class.masm::Emit", ptr %13, i32 0, i32 9
  %126 = load i8, ptr %125, align 1, !tbaa !41, !range !36, !noundef !37
  %127 = trunc i8 %126 to i1
  br i1 %127, label %128, label %131

128:                                              ; preds = %124
  %129 = load i64, ptr %8, align 8, !tbaa !38
  %130 = add i64 %129, 16
  store i64 %130, ptr %8, align 8, !tbaa !38
  br label %131

131:                                              ; preds = %128, %124
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 7, ptr %11, align 4, !tbaa !43
  br label %132

132:                                              ; preds = %144, %131
  %133 = load i32, ptr %11, align 4, !tbaa !43
  %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 %11) #5
  br label %147

136:                                              ; preds = %132
  %137 = getelementptr inbounds %"class.masm::Emit", ptr %13, i32 0, i32 0
  %138 = getelementptr inbounds i8, ptr %137, i64 16
  %139 = load i32, ptr %11, align 4, !tbaa !43
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 %140
  %142 = load i8, ptr %141, align 1, !tbaa !38
  %143 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %138, i8 noundef zeroext %142)
  br label %144

144:                                              ; preds = %136
  %145 = load i32, ptr %11, align 4, !tbaa !43
  %146 = add nsw i32 %145, -1
  store i32 %146, ptr %11, align 4, !tbaa !43
  br label %132, !llvm.loop !48

147:                                              ; preds = %135
  %148 = getelementptr inbounds %"class.masm::Emit", ptr %13, i32 0, i32 9
  %149 = load i8, ptr %148, align 1, !tbaa !41, !range !36, !noundef !37
  %150 = trunc i8 %149 to i1
  br i1 %150, label %151, label %155

151:                                              ; preds = %147
  %152 = getelementptr inbounds %"class.masm::Emit", ptr %13, i32 0, i32 12
  %153 = load ptr, ptr %152, align 8, !tbaa !49
  %154 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %153) #5
  br label %156

155:                                              ; preds = %147
  br label %156

156:                                              ; preds = %155, %151
  %157 = phi i64 [ %154, %151 ], [ 0, %155 ]
  store i64 %157, ptr %8, align 8, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 7, ptr %12, align 4, !tbaa !43
  br label %158

158:                                              ; preds = %170, %156
  %159 = load i32, ptr %12, align 4, !tbaa !43
  %160 = icmp sge i32 %159, 0
  br i1 %160, label %162, label %161

161:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %173

162:                                              ; preds = %158
  %163 = getelementptr inbounds %"class.masm::Emit", ptr %13, i32 0, i32 0
  %164 = getelementptr inbounds i8, ptr %163, i64 16
  %165 = load i32, ptr %12, align 4, !tbaa !43
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 %166
  %168 = load i8, ptr %167, 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) %164, i8 noundef zeroext %168)
  br label %170

170:                                              ; preds = %162
  %171 = load i32, ptr %12, align 4, !tbaa !43
  %172 = add nsw i32 %171, -1
  store i32 %172, ptr %12, align 4, !tbaa !43
  br label %158, !llvm.loop !50

173:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

; 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 i64 @_ZNKSt6vectorIN4masm9GenBinaryESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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, !20, i64 635}
!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 = !{i8 0, i8 2}
!37 = !{}
!38 = !{!7, !7, i64 0}
!39 = !{!10, !20, i64 634}
!40 = !{!10, !20, i64 632}
!41 = !{!10, !20, i64 633}
!42 = !{!10, !6, i64 688}
!43 = !{!23, !23, i64 0}
!44 = distinct !{!44, !45}
!45 = !{!"llvm.loop.mustprogress"}
!46 = distinct !{!46, !45}
!47 = !{!10, !6, i64 704}
!48 = distinct !{!48, !45}
!49 = !{!10, !6, i64 640}
!50 = distinct !{!50, !45}


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

@__const._ZN4masm4Emit10add_headerEv.header = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4masm4Emit10add_headerEv(ptr noundef nonnull align 8 dereferenceable(712) %0) local_unnamed_addr #0 align 2 {
  %2 = load i64, ptr @__const._ZN4masm4Emit10add_headerEv.header, align 1
  %.sroa.0102.0.extract.trunc = trunc i64 %2 to i8
  %.sroa.4.0.extract.shift = lshr i64 %2, 8
  %.sroa.4.0.extract.trunc = trunc i64 %.sroa.4.0.extract.shift to i8
  %.sroa.5.0.extract.shift = lshr i64 %2, 16
  %.sroa.5.0.extract.trunc = trunc i64 %.sroa.5.0.extract.shift to i8
  %.sroa.6.0.extract.shift = lshr i64 %2, 24
  %.sroa.6.0.extract.trunc = trunc i64 %.sroa.6.0.extract.shift to i8
  %.sroa.7.0.extract.shift = lshr i64 %2, 32
  %.sroa.7.0.extract.trunc = trunc i64 %.sroa.7.0.extract.shift to i8
  %.sroa.8.0.extract.shift = lshr i64 %2, 40
  %.sroa.8.0.extract.trunc = trunc i64 %.sroa.8.0.extract.shift to i8
  %.sroa.13103.0.extract.shift = lshr i64 %2, 56
  %.sroa.13103.0.extract.trunc = trunc nuw i64 %.sroa.13103.0.extract.shift to i8
  %3 = getelementptr inbounds i8, ptr %0, i64 632
  %4 = load i8, ptr %3, align 8, !tbaa !5, !range !35, !noundef !36
  %5 = getelementptr inbounds i8, ptr %0, i64 633
  %6 = load i8, ptr %5, align 1, !tbaa !37, !range !35, !noundef !36
  %7 = or i8 %6, %.sroa.13103.0.extract.trunc
  %8 = getelementptr inbounds i8, ptr %0, i64 16
  %9 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.0102.0.extract.trunc)
  %10 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.4.0.extract.trunc)
  %11 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.5.0.extract.trunc)
  %12 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.6.0.extract.trunc)
  %13 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.7.0.extract.trunc)
  %14 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.8.0.extract.trunc)
  %15 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %4)
  %16 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %7)
  %17 = getelementptr inbounds i8, ptr %0, i64 688
  %18 = load ptr, ptr %17, align 8, !tbaa !38
  %19 = tail call noundef i64 @_ZNKSt6vectorIN4masm9GenBinaryESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #3
  %20 = shl i64 %19, 3
  %.sroa.0.0.extract.trunc = trunc i64 %20 to i8
  %.sroa.13.0.extract.shift = lshr i64 %20, 8
  %.sroa.13.0.extract.trunc = trunc i64 %.sroa.13.0.extract.shift to i8
  %.sroa.17.0.extract.shift = lshr i64 %20, 16
  %.sroa.17.0.extract.trunc = trunc i64 %.sroa.17.0.extract.shift to i8
  %.sroa.21.0.extract.shift = lshr i64 %20, 24
  %.sroa.21.0.extract.trunc = trunc i64 %.sroa.21.0.extract.shift to i8
  %.sroa.25.0.extract.shift = lshr i64 %20, 32
  %.sroa.25.0.extract.trunc = trunc i64 %.sroa.25.0.extract.shift to i8
  %.sroa.29.0.extract.shift = lshr i64 %20, 40
  %.sroa.29.0.extract.trunc = trunc i64 %.sroa.29.0.extract.shift to i8
  %.sroa.33.0.extract.shift = lshr i64 %20, 48
  %.sroa.33.0.extract.trunc = trunc i64 %.sroa.33.0.extract.shift to i8
  %.sroa.37.0.extract.shift = lshr i64 %20, 56
  %.sroa.37.0.extract.trunc = trunc nuw i64 %.sroa.37.0.extract.shift to i8
  %21 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.37.0.extract.trunc)
  %22 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.33.0.extract.trunc)
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.29.0.extract.trunc)
  %24 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.25.0.extract.trunc)
  %25 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.21.0.extract.trunc)
  %26 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.17.0.extract.trunc)
  %27 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.13.0.extract.trunc)
  %28 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.0.0.extract.trunc)
  %29 = getelementptr inbounds i8, ptr %0, i64 560
  %30 = tail call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #3
  %31 = shl i64 %30, 3
  %.sroa.0.0.extract.trunc35 = trunc i64 %31 to i8
  %.sroa.13.0.extract.shift39 = lshr i64 %31, 8
  %.sroa.13.0.extract.trunc40 = trunc i64 %.sroa.13.0.extract.shift39 to i8
  %.sroa.17.0.extract.shift48 = lshr i64 %31, 16
  %.sroa.17.0.extract.trunc49 = trunc i64 %.sroa.17.0.extract.shift48 to i8
  %.sroa.21.0.extract.shift57 = lshr i64 %31, 24
  %.sroa.21.0.extract.trunc58 = trunc i64 %.sroa.21.0.extract.shift57 to i8
  %.sroa.25.0.extract.shift66 = lshr i64 %31, 32
  %.sroa.25.0.extract.trunc67 = trunc i64 %.sroa.25.0.extract.shift66 to i8
  %.sroa.29.0.extract.shift75 = lshr i64 %31, 40
  %.sroa.29.0.extract.trunc76 = trunc i64 %.sroa.29.0.extract.shift75 to i8
  %.sroa.33.0.extract.shift84 = lshr i64 %31, 48
  %.sroa.33.0.extract.trunc85 = trunc i64 %.sroa.33.0.extract.shift84 to i8
  %.sroa.37.0.extract.shift93 = lshr i64 %31, 56
  %.sroa.37.0.extract.trunc94 = trunc nuw i64 %.sroa.37.0.extract.shift93 to i8
  %32 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.37.0.extract.trunc94)
  %33 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.33.0.extract.trunc85)
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.29.0.extract.trunc76)
  %35 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.25.0.extract.trunc67)
  %36 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.21.0.extract.trunc58)
  %37 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.17.0.extract.trunc49)
  %38 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.13.0.extract.trunc40)
  %39 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.0.0.extract.trunc35)
  %40 = getelementptr inbounds i8, ptr %0, i64 704
  %41 = load ptr, ptr %40, align 8, !tbaa !39
  %42 = tail call noundef zeroext i1 @_ZNKSt6vectorIhSaIhEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #3
  %spec.select = select i1 %42, i8 16, i8 32
  %43 = load i8, ptr %5, align 1, !tbaa !37, !range !35, !noundef !36
  %44 = trunc nuw i8 %43 to i1
  %narrow = add nuw nsw i8 %spec.select, 16
  %.sroa.0.1 = select i1 %44, i8 %narrow, i8 %spec.select
  %45 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext 0)
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext 0)
  %47 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext 0)
  %48 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext 0)
  %49 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext 0)
  %50 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext 0)
  %51 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext 0)
  %52 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.0.1)
  %53 = load i8, ptr %5, align 1, !tbaa !37, !range !35, !noundef !36
  %54 = trunc nuw i8 %53 to i1
  br i1 %54, label %55, label %59

55:                                               ; preds = %1
  %56 = getelementptr inbounds i8, ptr %0, i64 640
  %57 = load ptr, ptr %56, align 8, !tbaa !40
  %58 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %57) #3
  br label %59

59:                                               ; preds = %1, %55
  %60 = phi i64 [ %58, %55 ], [ 0, %1 ]
  %.sroa.0.0.extract.trunc38 = trunc i64 %60 to i8
  %.sroa.13.0.extract.shift43 = lshr i64 %60, 8
  %.sroa.13.0.extract.trunc44 = trunc i64 %.sroa.13.0.extract.shift43 to i8
  %.sroa.17.0.extract.shift52 = lshr i64 %60, 16
  %.sroa.17.0.extract.trunc53 = trunc i64 %.sroa.17.0.extract.shift52 to i8
  %.sroa.21.0.extract.shift61 = lshr i64 %60, 24
  %.sroa.21.0.extract.trunc62 = trunc i64 %.sroa.21.0.extract.shift61 to i8
  %.sroa.25.0.extract.shift70 = lshr i64 %60, 32
  %.sroa.25.0.extract.trunc71 = trunc i64 %.sroa.25.0.extract.shift70 to i8
  %.sroa.29.0.extract.shift79 = lshr i64 %60, 40
  %.sroa.29.0.extract.trunc80 = trunc i64 %.sroa.29.0.extract.shift79 to i8
  %.sroa.33.0.extract.shift88 = lshr i64 %60, 48
  %.sroa.33.0.extract.trunc89 = trunc i64 %.sroa.33.0.extract.shift88 to i8
  %.sroa.37.0.extract.shift97 = lshr i64 %60, 56
  %.sroa.37.0.extract.trunc98 = trunc nuw i64 %.sroa.37.0.extract.shift97 to i8
  %61 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.37.0.extract.trunc98)
  %62 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.33.0.extract.trunc89)
  %63 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.29.0.extract.trunc80)
  %64 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.25.0.extract.trunc71)
  %65 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.21.0.extract.trunc62)
  %66 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.17.0.extract.trunc53)
  %67 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.13.0.extract.trunc44)
  %68 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_h(ptr noundef nonnull align 8 dereferenceable(8) %8, i8 noundef zeroext %.sroa.0.0.extract.trunc38)
  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 i64 @_ZNKSt6vectorIN4masm9GenBinaryESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

; 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

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, !19, i64 632}
!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 = !{i8 0, i8 2}
!36 = !{}
!37 = !{!6, !19, i64 633}
!38 = !{!6, !16, i64 688}
!39 = !{!6, !16, i64 704}
!40 = !{!6, !16, i64 640}


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