; LLVM IR from sympiler/nasoq :: nasoq_driver.ll (ZN7sym_lib10csc_to_csrEPN6format3CSCE)

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

%"struct.format::CSC" = type { i64, i64, i64, i32, i8, i8, ptr, ptr, ptr }
%"struct.format::CSR" = type { i64, i64, i64, i32, i8, i8, ptr, ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #1

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

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

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7sym_lib10csc_to_csrEPN6format3CSCE(ptr noundef %0) #5 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.format::CSC", ptr %22, i32 0, i32 6
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.format::CSC", ptr %25, i32 0, i32 1
  %27 = load i64, ptr %26, align 8, !tbaa !14
  %28 = getelementptr inbounds i32, ptr %24, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !15
  store i32 %29, ptr %3, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.format::CSC", ptr %30, i32 0, i32 1
  %32 = load i64, ptr %31, align 8, !tbaa !14
  %33 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %32, i64 4)
  %34 = extractvalue { i64, i1 } %33, 1
  %35 = extractvalue { i64, i1 } %33, 0
  %36 = select i1 %34, i64 -1, i64 %35
  %37 = call noalias noundef nonnull ptr @_Znam(i64 noundef %36) #8
  call void @llvm.memset.p0.i64(ptr align 4 %37, i8 0, i64 %36, i1 false)
  store ptr %37, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 0, ptr %5, align 4, !tbaa !15
  br label %38

38:                                               ; preds = %56, %1
  %39 = load i32, ptr %5, align 4, !tbaa !15
  %40 = load i32, ptr %3, align 4, !tbaa !15
  %41 = icmp slt i32 %39, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %59

43:                                               ; preds = %38
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = load ptr, ptr %2, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.format::CSC", ptr %45, i32 0, i32 7
  %47 = load ptr, ptr %46, align 8, !tbaa !16
  %48 = load i32, ptr %5, align 4, !tbaa !15
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds i32, ptr %47, i64 %49
  %51 = load i32, ptr %50, align 4, !tbaa !15
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds i32, ptr %44, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !15
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %53, align 4, !tbaa !15
  br label %56

56:                                               ; preds = %43
  %57 = load i32, ptr %5, align 4, !tbaa !15
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %5, align 4, !tbaa !15
  br label %38, !llvm.loop !17

59:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %60 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #8
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.format::CSC", ptr %61, i32 0, i32 1
  %63 = load i64, ptr %62, align 8, !tbaa !14
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.format::CSC", ptr %64, i32 0, i32 0
  %66 = load i64, ptr %65, align 8, !tbaa !19
  %67 = load ptr, ptr %2, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.format::CSC", ptr %67, i32 0, i32 2
  %69 = load i64, ptr %68, align 8, !tbaa !20
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.format::CSC", ptr %70, i32 0, i32 4
  %72 = load i8, ptr %71, align 4, !tbaa !21, !range !22, !noundef !23
  %73 = trunc i8 %72 to i1
  invoke void @_ZN6format3CSRC2Emmmb(ptr noundef nonnull align 8 dereferenceable(56) %60, i64 noundef %63, i64 noundef %66, i64 noundef %69, i1 noundef zeroext %73)
          to label %74 unwind label %90

74:                                               ; preds = %59
  store ptr %60, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.format::CSR", ptr %75, i32 0, i32 6
  %77 = load ptr, ptr %76, align 8, !tbaa !24
  store ptr %77, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.format::CSR", ptr %78, i32 0, i32 1
  %80 = load i64, ptr %79, align 8, !tbaa !26
  store i64 %80, ptr %10, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.format::CSR", ptr %81, i32 0, i32 0
  %83 = load i64, ptr %82, align 8, !tbaa !28
  store i64 %83, ptr %11, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 0, ptr %12, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !15
  br label %84

84:                                               ; preds = %107, %74
  %85 = load i32, ptr %13, align 4, !tbaa !15
  %86 = load i64, ptr %11, align 8, !tbaa !27
  %87 = trunc i64 %86 to i32
  %88 = icmp slt i32 %85, %87
  br i1 %88, label %94, label %89

89:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %110

90:                                               ; preds = %59
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %7, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %60, i64 noundef 56) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %210

94:                                               ; preds = %84
  %95 = load i32, ptr %12, align 4, !tbaa !15
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = load i32, ptr %13, align 4, !tbaa !15
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds i32, ptr %96, i64 %98
  store i32 %95, ptr %99, align 4, !tbaa !15
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = load i32, ptr %13, align 4, !tbaa !15
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds i32, ptr %100, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !15
  %105 = load i32, ptr %12, align 4, !tbaa !15
  %106 = add nsw i32 %105, %104
  store i32 %106, ptr %12, align 4, !tbaa !15
  br label %107

107:                                              ; preds = %94
  %108 = load i32, ptr %13, align 4, !tbaa !15
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %13, align 4, !tbaa !15
  br label %84, !llvm.loop !29

110:                                              ; preds = %89
  %111 = load i32, ptr %3, align 4, !tbaa !15
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = load i64, ptr %11, align 8, !tbaa !27
  %114 = getelementptr inbounds i32, ptr %112, i64 %113
  store i32 %111, ptr %114, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.format::CSR", ptr %115, i32 0, i32 7
  %117 = load ptr, ptr %116, align 8, !tbaa !30
  store ptr %117, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.format::CSR", ptr %118, i32 0, i32 8
  %120 = load ptr, ptr %119, align 8, !tbaa !31
  store ptr %120, ptr %15, align 8, !tbaa !5
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = load i64, ptr %11, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !15
  %123 = call noundef ptr @_ZSt6fill_nIPimiET_S1_T0_RKT1_(ptr noundef %121, i64 noundef %122, ptr noundef nonnull align 4 dereferenceable(4) %16)
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !15
  br label %124

124:                                              ; preds = %201, %110
  %125 = load i32, ptr %17, align 4, !tbaa !15
  %126 = load i64, ptr %10, align 8, !tbaa !27
  %127 = trunc i64 %126 to i32
  %128 = icmp slt i32 %125, %127
  br i1 %128, label %130, label %129

129:                                              ; preds = %124
  store i32 8, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %204

130:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %131 = load ptr, ptr %2, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.format::CSC", ptr %131, i32 0, i32 6
  %133 = load ptr, ptr %132, align 8, !tbaa !9
  %134 = load i32, ptr %17, align 4, !tbaa !15
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds i32, ptr %133, i64 %135
  %137 = load i32, ptr %136, align 4, !tbaa !15
  store i32 %137, ptr %19, align 4, !tbaa !15
  br label %138

138:                                              ; preds = %197, %130
  %139 = load i32, ptr %19, align 4, !tbaa !15
  %140 = load ptr, ptr %2, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.format::CSC", ptr %140, i32 0, i32 6
  %142 = load ptr, ptr %141, align 8, !tbaa !9
  %143 = load i32, ptr %17, align 4, !tbaa !15
  %144 = add nsw i32 %143, 1
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds i32, ptr %142, i64 %145
  %147 = load i32, ptr %146, align 4, !tbaa !15
  %148 = icmp slt i32 %139, %147
  br i1 %148, label %150, label %149

149:                                              ; preds = %138
  store i32 11, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %200

150:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %151 = load ptr, ptr %2, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.format::CSC", ptr %151, i32 0, i32 7
  %153 = load ptr, ptr %152, align 8, !tbaa !16
  %154 = load i32, ptr %19, align 4, !tbaa !15
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds i32, ptr %153, i64 %155
  %157 = load i32, ptr %156, align 4, !tbaa !15
  store i32 %157, ptr %20, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %158 = load ptr, ptr %9, align 8, !tbaa !5
  %159 = load i32, ptr %20, align 4, !tbaa !15
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds i32, ptr %158, i64 %160
  %162 = load i32, ptr %161, align 4, !tbaa !15
  %163 = load ptr, ptr %4, align 8, !tbaa !5
  %164 = load i32, ptr %20, align 4, !tbaa !15
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds i32, ptr %163, i64 %165
  %167 = load i32, ptr %166, align 4, !tbaa !15
  %168 = add nsw i32 %162, %167
  store i32 %168, ptr %21, align 4, !tbaa !15
  %169 = load i32, ptr %17, align 4, !tbaa !15
  %170 = load ptr, ptr %14, align 8, !tbaa !5
  %171 = load i32, ptr %21, align 4, !tbaa !15
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds i32, ptr %170, i64 %172
  store i32 %169, ptr %173, align 4, !tbaa !15
  %174 = load ptr, ptr %6, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.format::CSR", ptr %174, i32 0, i32 4
  %176 = load i8, ptr %175, align 4, !tbaa !32, !range !22, !noundef !23
  %177 = trunc i8 %176 to i1
  br i1 %177, label %190, label %178

178:                                              ; preds = %150
  %179 = load ptr, ptr %2, align 8, !tbaa !5
  %180 = getelementptr inbounds %"struct.format::CSC", ptr %179, i32 0, i32 8
  %181 = load ptr, ptr %180, align 8, !tbaa !33
  %182 = load i32, ptr %19, align 4, !tbaa !15
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds double, ptr %181, i64 %183
  %185 = load double, ptr %184, align 8, !tbaa !34
  %186 = load ptr, ptr %15, align 8, !tbaa !5
  %187 = load i32, ptr %21, align 4, !tbaa !15
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds double, ptr %186, i64 %188
  store double %185, ptr %189, align 8, !tbaa !34
  br label %190

190:                                              ; preds = %178, %150
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  %192 = load i32, ptr %20, align 4, !tbaa !15
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds i32, ptr %191, i64 %193
  %195 = load i32, ptr %194, align 4, !tbaa !15
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %194, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %197

197:                                              ; preds = %190
  %198 = load i32, ptr %19, align 4, !tbaa !15
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %19, align 4, !tbaa !15
  br label %138, !llvm.loop !36

200:                                              ; preds = %149
  br label %201

201:                                              ; preds = %200
  %202 = load i32, ptr %17, align 4, !tbaa !15
  %203 = add nsw i32 %202, 1
  store i32 %203, ptr %17, align 4, !tbaa !15
  br label %124, !llvm.loop !37

204:                                              ; preds = %129
  %205 = load ptr, ptr %4, align 8, !tbaa !5
  %206 = icmp eq ptr %205, null
  br i1 %206, label %208, label %207

207:                                              ; preds = %204
  call void @_ZdaPv(ptr noundef %205) #9
  br label %208

208:                                              ; preds = %207, %204
  %209 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 1, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  ret ptr %209

210:                                              ; preds = %90
  %211 = load ptr, ptr %7, align 8
  %212 = load i32, ptr %8, align 4
  %213 = insertvalue { ptr, i32 } poison, ptr %211, 0
  %214 = insertvalue { ptr, i32 } %213, i32 %212, 1
  resume { ptr, i32 } %214
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6format3CSRC2Emmmb(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i64 noundef, i64 noundef, i1 noundef zeroext) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt6fill_nIPimiET_S1_T0_RKT1_(ptr noundef, i64 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 32}
!10 = !{!"_ZTSN6format3CSCE", !11, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !13, i64 28, !13, i64 29, !6, i64 32, !6, i64 40, !6, i64 48}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!10, !11, i64 8}
!15 = !{!12, !12, i64 0}
!16 = !{!10, !6, i64 40}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!10, !11, i64 0}
!20 = !{!10, !11, i64 16}
!21 = !{!10, !13, i64 28}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!25, !6, i64 32}
!25 = !{!"_ZTSN6format3CSRE", !11, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !13, i64 28, !13, i64 29, !6, i64 32, !6, i64 40, !6, i64 48}
!26 = !{!25, !11, i64 8}
!27 = !{!11, !11, i64 0}
!28 = !{!25, !11, i64 0}
!29 = distinct !{!29, !18}
!30 = !{!25, !6, i64 40}
!31 = !{!25, !6, i64 48}
!32 = !{!25, !13, i64 28}
!33 = !{!10, !6, i64 48}
!34 = !{!35, !35, i64 0}
!35 = !{!"double", !7, i64 0}
!36 = distinct !{!36, !18}
!37 = distinct !{!37, !18}


; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull ptr @_ZN7sym_lib10csc_to_csrEPN6format3CSCE(ptr nocapture noundef readonly %0) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = getelementptr inbounds i8, ptr %0, i64 32
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  %6 = load i64, ptr %5, align 8, !tbaa !13
  %7 = getelementptr inbounds i32, ptr %4, i64 %6
  %8 = load i32, ptr %7, align 4, !tbaa !14
  %9 = icmp ugt i64 %6, 4611686018427387903
  %10 = shl i64 %6, 2
  %11 = select i1 %9, i64 -1, i64 %10
  %12 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %11) #6
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 %12, i8 0, i64 %11, i1 false)
  %13 = icmp sgt i32 %8, 0
  br i1 %13, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1
  %14 = getelementptr inbounds i8, ptr %0, i64 40
  %15 = load ptr, ptr %14, align 8, !tbaa !15
  %wide.trip.count = zext nneg i32 %8 to i64
  %xtraiter = and i64 %wide.trip.count, 3
  %16 = icmp ult i32 %8, 4
  br i1 %16, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %wide.trip.count, 2147483644
  br label %30

._crit_edge.loopexit.unr-lcssa:                   ; preds = %30, %.lr.ph
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.3, %30 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.epil.preheader ], [ %indvars.iv.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %17 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv.epil
  %18 = load i32, ptr %17, align 4, !tbaa !14
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds i32, ptr %12, i64 %19
  %21 = load i32, ptr %20, align 4, !tbaa !14
  %22 = add nsw i32 %21, 1
  store i32 %22, ptr %20, align 4, !tbaa !14
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.epil.preheader, !llvm.loop !16

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader, %1
  %23 = tail call noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #6
  %24 = load i64, ptr %0, align 8, !tbaa !18
  %25 = getelementptr inbounds i8, ptr %0, i64 16
  %26 = load i64, ptr %25, align 8, !tbaa !19
  %27 = getelementptr inbounds i8, ptr %0, i64 28
  %28 = load i8, ptr %27, align 4, !tbaa !20, !range !21, !noundef !22
  %29 = trunc nuw i8 %28 to i1
  invoke void @_ZN6format3CSRC2Emmmb(ptr noundef nonnull align 8 dereferenceable(56) %23, i64 noundef %6, i64 noundef %24, i64 noundef %26, i1 noundef zeroext %29)
          to label %55 unwind label %81

30:                                               ; preds = %30, %.lr.ph.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next.3, %30 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %30 ]
  %31 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv
  %32 = load i32, ptr %31, align 4, !tbaa !14
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds i32, ptr %12, i64 %33
  %35 = load i32, ptr %34, align 4, !tbaa !14
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %34, align 4, !tbaa !14
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %37 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv.next
  %38 = load i32, ptr %37, align 4, !tbaa !14
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds i32, ptr %12, i64 %39
  %41 = load i32, ptr %40, align 4, !tbaa !14
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %40, align 4, !tbaa !14
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %43 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv.next.1
  %44 = load i32, ptr %43, align 4, !tbaa !14
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds i32, ptr %12, i64 %45
  %47 = load i32, ptr %46, align 4, !tbaa !14
  %48 = add nsw i32 %47, 1
  store i32 %48, ptr %46, align 4, !tbaa !14
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %49 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv.next.2
  %50 = load i32, ptr %49, align 4, !tbaa !14
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds i32, ptr %12, i64 %51
  %53 = load i32, ptr %52, align 4, !tbaa !14
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %52, align 4, !tbaa !14
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %30, !llvm.loop !23

55:                                               ; preds = %._crit_edge
  %56 = getelementptr inbounds i8, ptr %23, i64 32
  %57 = load ptr, ptr %56, align 8, !tbaa !25
  %58 = getelementptr inbounds i8, ptr %23, i64 8
  %59 = load i64, ptr %58, align 8, !tbaa !27
  %60 = load i64, ptr %23, align 8, !tbaa !28
  %61 = trunc i64 %60 to i32
  %62 = icmp sgt i32 %61, 0
  br i1 %62, label %.lr.ph69.preheader, label %._crit_edge70

.lr.ph69.preheader:                               ; preds = %55
  %wide.trip.count83 = and i64 %60, 2147483647
  %63 = add nsw i64 %wide.trip.count83, -1
  %xtraiter102 = and i64 %60, 3
  %64 = icmp ult i64 %63, 3
  br i1 %64, label %._crit_edge70.loopexit.unr-lcssa, label %.lr.ph69.preheader.new

.lr.ph69.preheader.new:                           ; preds = %.lr.ph69.preheader
  %unroll_iter105 = sub nsw i64 %wide.trip.count83, %xtraiter102
  br label %.lr.ph69

._crit_edge70.loopexit.unr-lcssa:                 ; preds = %.lr.ph69, %.lr.ph69.preheader
  %indvars.iv80.unr = phi i64 [ 0, %.lr.ph69.preheader ], [ %indvars.iv.next81.3, %.lr.ph69 ]
  %.06067.unr = phi i32 [ 0, %.lr.ph69.preheader ], [ %98, %.lr.ph69 ]
  %lcmp.mod104.not = icmp eq i64 %xtraiter102, 0
  br i1 %lcmp.mod104.not, label %._crit_edge70, label %.lr.ph69.epil

.lr.ph69.epil:                                    ; preds = %._crit_edge70.loopexit.unr-lcssa, %.lr.ph69.epil
  %indvars.iv80.epil = phi i64 [ %indvars.iv.next81.epil, %.lr.ph69.epil ], [ %indvars.iv80.unr, %._crit_edge70.loopexit.unr-lcssa ]
  %.06067.epil = phi i32 [ %68, %.lr.ph69.epil ], [ %.06067.unr, %._crit_edge70.loopexit.unr-lcssa ]
  %epil.iter103 = phi i64 [ %epil.iter103.next, %.lr.ph69.epil ], [ 0, %._crit_edge70.loopexit.unr-lcssa ]
  %65 = getelementptr inbounds i32, ptr %57, i64 %indvars.iv80.epil
  store i32 %.06067.epil, ptr %65, align 4, !tbaa !14
  %66 = getelementptr inbounds i32, ptr %12, i64 %indvars.iv80.epil
  %67 = load i32, ptr %66, align 4, !tbaa !14
  %68 = add nsw i32 %67, %.06067.epil
  %indvars.iv.next81.epil = add nuw nsw i64 %indvars.iv80.epil, 1
  %epil.iter103.next = add i64 %epil.iter103, 1
  %epil.iter103.cmp.not = icmp eq i64 %epil.iter103.next, %xtraiter102
  br i1 %epil.iter103.cmp.not, label %._crit_edge70, label %.lr.ph69.epil, !llvm.loop !29

._crit_edge70:                                    ; preds = %._crit_edge70.loopexit.unr-lcssa, %.lr.ph69.epil, %55
  %69 = getelementptr inbounds i32, ptr %57, i64 %60
  store i32 %8, ptr %69, align 4, !tbaa !14
  %70 = getelementptr inbounds i8, ptr %23, i64 40
  %71 = load ptr, ptr %70, align 8, !tbaa !30
  %72 = getelementptr inbounds i8, ptr %23, i64 48
  %73 = load ptr, ptr %72, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  store i32 0, ptr %2, align 4, !tbaa !14
  %74 = call noundef ptr @_ZSt6fill_nIPimiET_S1_T0_RKT1_(ptr noundef nonnull %12, i64 noundef %60, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  %75 = trunc i64 %59 to i32
  %76 = icmp sgt i32 %75, 0
  br i1 %76, label %.lr.ph76, label %._crit_edge77

.lr.ph76:                                         ; preds = %._crit_edge70
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %0, i64 40
  %79 = getelementptr inbounds i8, ptr %23, i64 28
  %80 = getelementptr inbounds i8, ptr %0, i64 48
  %wide.trip.count94 = and i64 %59, 2147483647
  %.pre = load i32, ptr %77, align 4, !tbaa !14
  br label %100

81:                                               ; preds = %._crit_edge
  %82 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %23, i64 noundef 56) #8
  resume { ptr, i32 } %82

.lr.ph69:                                         ; preds = %.lr.ph69, %.lr.ph69.preheader.new
  %indvars.iv80 = phi i64 [ 0, %.lr.ph69.preheader.new ], [ %indvars.iv.next81.3, %.lr.ph69 ]
  %.06067 = phi i32 [ 0, %.lr.ph69.preheader.new ], [ %98, %.lr.ph69 ]
  %niter106 = phi i64 [ 0, %.lr.ph69.preheader.new ], [ %niter106.next.3, %.lr.ph69 ]
  %83 = getelementptr inbounds i32, ptr %57, i64 %indvars.iv80
  store i32 %.06067, ptr %83, align 4, !tbaa !14
  %84 = getelementptr inbounds i32, ptr %12, i64 %indvars.iv80
  %85 = load i32, ptr %84, align 4, !tbaa !14
  %86 = add nsw i32 %85, %.06067
  %indvars.iv.next81 = or disjoint i64 %indvars.iv80, 1
  %87 = getelementptr inbounds i32, ptr %57, i64 %indvars.iv.next81
  store i32 %86, ptr %87, align 4, !tbaa !14
  %88 = getelementptr inbounds i32, ptr %12, i64 %indvars.iv.next81
  %89 = load i32, ptr %88, align 4, !tbaa !14
  %90 = add nsw i32 %89, %86
  %indvars.iv.next81.1 = or disjoint i64 %indvars.iv80, 2
  %91 = getelementptr inbounds i32, ptr %57, i64 %indvars.iv.next81.1
  store i32 %90, ptr %91, align 4, !tbaa !14
  %92 = getelementptr inbounds i32, ptr %12, i64 %indvars.iv.next81.1
  %93 = load i32, ptr %92, align 4, !tbaa !14
  %94 = add nsw i32 %93, %90
  %indvars.iv.next81.2 = or disjoint i64 %indvars.iv80, 3
  %95 = getelementptr inbounds i32, ptr %57, i64 %indvars.iv.next81.2
  store i32 %94, ptr %95, align 4, !tbaa !14
  %96 = getelementptr inbounds i32, ptr %12, i64 %indvars.iv.next81.2
  %97 = load i32, ptr %96, align 4, !tbaa !14
  %98 = add nsw i32 %97, %94
  %indvars.iv.next81.3 = add nuw nsw i64 %indvars.iv80, 4
  %niter106.next.3 = add i64 %niter106, 4
  %niter106.ncmp.3 = icmp eq i64 %niter106.next.3, %unroll_iter105
  br i1 %niter106.ncmp.3, label %._crit_edge70.loopexit.unr-lcssa, label %.lr.ph69, !llvm.loop !32

.loopexit:                                        ; preds = %127, %.lr.ph73.split.us, %100
  %99 = phi i32 [ %103, %100 ], [ %121, %.lr.ph73.split.us ], [ %142, %127 ]
  %exitcond95.not = icmp eq i64 %indvars.iv.next92, %wide.trip.count94
  br i1 %exitcond95.not, label %._crit_edge77, label %100, !llvm.loop !33

100:                                              ; preds = %.lr.ph76, %.loopexit
  %101 = phi i32 [ %.pre, %.lr.ph76 ], [ %99, %.loopexit ]
  %indvars.iv91 = phi i64 [ 0, %.lr.ph76 ], [ %indvars.iv.next92, %.loopexit ]
  %indvars.iv.next92 = add nuw nsw i64 %indvars.iv91, 1
  %102 = getelementptr inbounds i32, ptr %77, i64 %indvars.iv.next92
  %103 = load i32, ptr %102, align 4, !tbaa !14
  %104 = icmp slt i32 %101, %103
  br i1 %104, label %.lr.ph73, label %.loopexit

.lr.ph73:                                         ; preds = %100
  %105 = load ptr, ptr %78, align 8, !tbaa !15
  %106 = load i8, ptr %79, align 4, !tbaa !34, !range !21, !noundef !22
  %107 = trunc nuw i8 %106 to i1
  br i1 %107, label %.lr.ph73.split.us.preheader, label %.lr.ph73.split

.lr.ph73.split.us.preheader:                      ; preds = %.lr.ph73
  %108 = sext i32 %101 to i64
  %109 = trunc nuw nsw i64 %indvars.iv91 to i32
  br label %.lr.ph73.split.us

.lr.ph73.split.us:                                ; preds = %.lr.ph73.split.us.preheader, %.lr.ph73.split.us
  %indvars.iv88 = phi i64 [ %108, %.lr.ph73.split.us.preheader ], [ %indvars.iv.next89, %.lr.ph73.split.us ]
  %110 = getelementptr inbounds i32, ptr %105, i64 %indvars.iv88
  %111 = load i32, ptr %110, align 4, !tbaa !14
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds i32, ptr %57, i64 %112
  %114 = load i32, ptr %113, align 4, !tbaa !14
  %115 = getelementptr inbounds i32, ptr %12, i64 %112
  %116 = load i32, ptr %115, align 4, !tbaa !14
  %117 = add nsw i32 %116, %114
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds i32, ptr %71, i64 %118
  store i32 %109, ptr %119, align 4, !tbaa !14
  %120 = add nsw i32 %116, 1
  store i32 %120, ptr %115, align 4, !tbaa !14
  %indvars.iv.next89 = add nsw i64 %indvars.iv88, 1
  %121 = load i32, ptr %102, align 4, !tbaa !14
  %122 = sext i32 %121 to i64
  %123 = icmp slt i64 %indvars.iv.next89, %122
  br i1 %123, label %.lr.ph73.split.us, label %.loopexit, !llvm.loop !35

.lr.ph73.split:                                   ; preds = %.lr.ph73
  %124 = load ptr, ptr %80, align 8, !tbaa !36
  %125 = sext i32 %101 to i64
  %126 = trunc nuw nsw i64 %indvars.iv91 to i32
  br label %127

127:                                              ; preds = %.lr.ph73.split, %127
  %indvars.iv85 = phi i64 [ %125, %.lr.ph73.split ], [ %indvars.iv.next86, %127 ]
  %128 = getelementptr inbounds i32, ptr %105, i64 %indvars.iv85
  %129 = load i32, ptr %128, align 4, !tbaa !14
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds i32, ptr %57, i64 %130
  %132 = load i32, ptr %131, align 4, !tbaa !14
  %133 = getelementptr inbounds i32, ptr %12, i64 %130
  %134 = load i32, ptr %133, align 4, !tbaa !14
  %135 = add nsw i32 %134, %132
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds i32, ptr %71, i64 %136
  store i32 %126, ptr %137, align 4, !tbaa !14
  %138 = getelementptr inbounds double, ptr %124, i64 %indvars.iv85
  %139 = load double, ptr %138, align 8, !tbaa !37
  %140 = getelementptr inbounds double, ptr %73, i64 %136
  store double %139, ptr %140, align 8, !tbaa !37
  %141 = add nsw i32 %134, 1
  store i32 %141, ptr %133, align 4, !tbaa !14
  %indvars.iv.next86 = add nsw i64 %indvars.iv85, 1
  %142 = load i32, ptr %102, align 4, !tbaa !14
  %143 = sext i32 %142 to i64
  %144 = icmp slt i64 %indvars.iv.next86, %143
  br i1 %144, label %127, label %.loopexit, !llvm.loop !35

._crit_edge77:                                    ; preds = %.loopexit, %._crit_edge70
  call void @_ZdaPv(ptr noundef nonnull %12) #8
  ret ptr %23
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6format3CSRC2Emmmb(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i64 noundef, i64 noundef, i1 noundef zeroext) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt6fill_nIPimiET_S1_T0_RKT1_(ptr noundef, i64 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !12, i64 32}
!6 = !{!"_ZTSN6format3CSCE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 28, !11, i64 29, !12, i64 32, !12, i64 40, !12, i64 48}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !12, i64 40}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.unroll.disable"}
!18 = !{!6, !7, i64 0}
!19 = !{!6, !7, i64 16}
!20 = !{!6, !11, i64 28}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!26, !12, i64 32}
!26 = !{!"_ZTSN6format3CSRE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 28, !11, i64 29, !12, i64 32, !12, i64 40, !12, i64 48}
!27 = !{!26, !7, i64 8}
!28 = !{!26, !7, i64 0}
!29 = distinct !{!29, !17}
!30 = !{!26, !12, i64 40}
!31 = !{!26, !12, i64 48}
!32 = distinct !{!32, !24}
!33 = distinct !{!33, !24}
!34 = !{!26, !11, i64 28}
!35 = distinct !{!35, !24}
!36 = !{!6, !12, i64 48}
!37 = !{!38, !38, i64 0}
!38 = !{!"double", !8, i64 0}


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