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

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

@.str.123 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [78 x i8], align 1
@__PRETTY_FUNCTION__._ZN7sym_lib17transpose_generalEPN6format3CSCE = external hidden unnamed_addr constant [39 x i8], align 1

; 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

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

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

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

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

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

; 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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7sym_lib17transpose_generalEPN6format3CSCE(ptr noundef %0) #7 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = icmp ne ptr %18, null
  br i1 %19, label %21, label %20

20:                                               ; preds = %1
  store ptr null, ptr %2, align 8
  br label %256

21:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.format::CSC", ptr %22, i32 0, i32 0
  %24 = load i64, ptr %23, align 8, !tbaa !9
  store i64 %24, ptr %4, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.format::CSC", ptr %25, i32 0, i32 1
  %27 = load i64, ptr %26, align 8, !tbaa !15
  store i64 %27, ptr %5, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %28 = load i64, ptr %4, align 8, !tbaa !14
  store i64 %28, ptr %6, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  store ptr null, ptr %7, align 8, !tbaa !5
  %29 = load i64, ptr %4, align 8, !tbaa !14
  %30 = icmp eq i64 %29, 0
  br i1 %30, label %34, label %31

31:                                               ; preds = %21
  %32 = load i64, ptr %5, align 8, !tbaa !14
  %33 = icmp eq i64 %32, 0
  br i1 %33, label %34, label %36

34:                                               ; preds = %31, %21
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %35, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %255

36:                                               ; preds = %31
  %37 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #9
  %38 = load i64, ptr %5, align 8, !tbaa !14
  %39 = load i64, ptr %4, align 8, !tbaa !14
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.format::CSC", ptr %40, i32 0, i32 2
  %42 = load i64, ptr %41, align 8, !tbaa !16
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.format::CSC", ptr %43, i32 0, i32 4
  %45 = load i8, ptr %44, align 4, !tbaa !17, !range !18, !noundef !19
  %46 = trunc i8 %45 to i1
  invoke void @_ZN6format3CSCC2Emmmb(ptr noundef nonnull align 8 dereferenceable(56) %37, i64 noundef %38, i64 noundef %39, i64 noundef %42, i1 noundef zeroext %46)
          to label %47 unwind label %64

47:                                               ; preds = %36
  store ptr %37, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %48 = load i64, ptr %4, align 8, !tbaa !14
  %49 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %48, i64 4)
  %50 = extractvalue { i64, i1 } %49, 1
  %51 = extractvalue { i64, i1 } %49, 0
  %52 = select i1 %50, i64 -1, i64 %51
  %53 = call noalias noundef nonnull ptr @_Znam(i64 noundef %52) #9
  call void @llvm.memset.p0.i64(ptr align 4 %53, i8 0, i64 %52, i1 false)
  store ptr %53, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 0, ptr %12, align 4, !tbaa !20
  br label %54

54:                                               ; preds = %81, %47
  %55 = load i32, ptr %12, align 4, !tbaa !20
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.format::CSC", ptr %56, i32 0, i32 6
  %58 = load ptr, ptr %57, align 8, !tbaa !21
  %59 = load i64, ptr %5, align 8, !tbaa !14
  %60 = getelementptr inbounds i32, ptr %58, i64 %59
  %61 = load i32, ptr %60, align 4, !tbaa !20
  %62 = icmp slt i32 %55, %61
  br i1 %62, label %68, label %63

63:                                               ; preds = %54
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %84

64:                                               ; preds = %36
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %9, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %37, i64 noundef 56) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  br label %258

68:                                               ; preds = %54
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.format::CSC", ptr %70, i32 0, i32 7
  %72 = load ptr, ptr %71, align 8, !tbaa !22
  %73 = load i32, ptr %12, align 4, !tbaa !20
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds i32, ptr %72, i64 %74
  %76 = load i32, ptr %75, align 4, !tbaa !20
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds i32, ptr %69, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !20
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %78, align 4, !tbaa !20
  br label %81

81:                                               ; preds = %68
  %82 = load i32, ptr %12, align 4, !tbaa !20
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %12, align 4, !tbaa !20
  br label %54, !llvm.loop !23

84:                                               ; preds = %63
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.format::CSC", ptr %85, i32 0, i32 6
  %87 = load ptr, ptr %86, align 8, !tbaa !21
  %88 = getelementptr inbounds i32, ptr %87, i64 0
  store i32 0, ptr %88, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 1, ptr %13, align 4, !tbaa !20
  br label %89

89:                                               ; preds = %118, %84
  %90 = load i32, ptr %13, align 4, !tbaa !20
  %91 = load i64, ptr %6, align 8, !tbaa !14
  %92 = trunc i64 %91 to i32
  %93 = add nsw i32 %92, 1
  %94 = icmp slt i32 %90, %93
  br i1 %94, label %96, label %95

95:                                               ; preds = %89
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %121

96:                                               ; preds = %89
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.format::CSC", ptr %97, i32 0, i32 6
  %99 = load ptr, ptr %98, align 8, !tbaa !21
  %100 = load i32, ptr %13, align 4, !tbaa !20
  %101 = sub nsw i32 %100, 1
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds i32, ptr %99, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !20
  %105 = load ptr, ptr %11, align 8, !tbaa !5
  %106 = load i32, ptr %13, align 4, !tbaa !20
  %107 = sub nsw i32 %106, 1
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds i32, ptr %105, i64 %108
  %110 = load i32, ptr %109, align 4, !tbaa !20
  %111 = add nsw i32 %104, %110
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.format::CSC", ptr %112, i32 0, i32 6
  %114 = load ptr, ptr %113, align 8, !tbaa !21
  %115 = load i32, ptr %13, align 4, !tbaa !20
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds i32, ptr %114, i64 %116
  store i32 %111, ptr %117, align 4, !tbaa !20
  br label %118

118:                                              ; preds = %96
  %119 = load i32, ptr %13, align 4, !tbaa !20
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %13, align 4, !tbaa !20
  br label %89, !llvm.loop !25

121:                                              ; preds = %95
  %122 = load ptr, ptr %11, align 8, !tbaa !5
  %123 = load i64, ptr %6, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 0, ptr %14, align 4, !tbaa !20
  %124 = call noundef ptr @_ZSt6fill_nIPimiET_S1_T0_RKT1_(ptr noundef %122, i64 noundef %123, ptr noundef nonnull align 4 dereferenceable(4) %14)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  store i32 0, ptr %15, align 4, !tbaa !20
  br label %125

125:                                              ; preds = %241, %121
  %126 = load i32, ptr %15, align 4, !tbaa !20
  %127 = load i64, ptr %5, align 8, !tbaa !14
  %128 = trunc i64 %127 to i32
  %129 = icmp slt i32 %126, %128
  br i1 %129, label %131, label %130

130:                                              ; preds = %125
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %244

131:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.format::CSC", ptr %132, i32 0, i32 6
  %134 = load ptr, ptr %133, align 8, !tbaa !21
  %135 = load i32, ptr %15, align 4, !tbaa !20
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds i32, ptr %134, i64 %136
  %138 = load i32, ptr %137, align 4, !tbaa !20
  store i32 %138, ptr %16, align 4, !tbaa !20
  br label %139

139:                                              ; preds = %237, %131
  %140 = load i32, ptr %16, align 4, !tbaa !20
  %141 = load ptr, ptr %3, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.format::CSC", ptr %141, i32 0, i32 6
  %143 = load ptr, ptr %142, align 8, !tbaa !21
  %144 = load i32, ptr %15, align 4, !tbaa !20
  %145 = add nsw i32 %144, 1
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds i32, ptr %143, i64 %146
  %148 = load i32, ptr %147, align 4, !tbaa !20
  %149 = icmp slt i32 %140, %148
  br i1 %149, label %151, label %150

150:                                              ; preds = %139
  store i32 11, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  br label %240

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

177:                                              ; preds = %151
  br label %180

178:                                              ; preds = %151
  call void @__assert_fail(ptr noundef @.str.123, ptr noundef @.str.124, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__._ZN7sym_lib17transpose_generalEPN6format3CSCE) #11
  unreachable

179:                                              ; No predecessors!
  br label %180

180:                                              ; preds = %179, %177
  %181 = load i32, ptr %15, align 4, !tbaa !20
  %182 = load ptr, ptr %7, align 8, !tbaa !5
  %183 = getelementptr inbounds %"struct.format::CSC", ptr %182, i32 0, i32 7
  %184 = load ptr, ptr %183, align 8, !tbaa !22
  %185 = load ptr, ptr %7, align 8, !tbaa !5
  %186 = getelementptr inbounds %"struct.format::CSC", ptr %185, i32 0, i32 6
  %187 = load ptr, ptr %186, align 8, !tbaa !21
  %188 = load i32, ptr %17, align 4, !tbaa !20
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds i32, ptr %187, i64 %189
  %191 = load i32, ptr %190, align 4, !tbaa !20
  %192 = load ptr, ptr %11, align 8, !tbaa !5
  %193 = load i32, ptr %17, align 4, !tbaa !20
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds i32, ptr %192, i64 %194
  %196 = load i32, ptr %195, align 4, !tbaa !20
  %197 = add nsw i32 %191, %196
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds i32, ptr %184, i64 %198
  store i32 %181, ptr %199, align 4, !tbaa !20
  %200 = load ptr, ptr %7, align 8, !tbaa !5
  %201 = getelementptr inbounds %"struct.format::CSC", ptr %200, i32 0, i32 4
  %202 = load i8, ptr %201, align 4, !tbaa !17, !range !18, !noundef !19
  %203 = trunc i8 %202 to i1
  br i1 %203, label %230, label %204

204:                                              ; preds = %180
  %205 = load ptr, ptr %3, align 8, !tbaa !5
  %206 = getelementptr inbounds %"struct.format::CSC", ptr %205, i32 0, i32 8
  %207 = load ptr, ptr %206, align 8, !tbaa !26
  %208 = load i32, ptr %16, align 4, !tbaa !20
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds double, ptr %207, i64 %209
  %211 = load double, ptr %210, align 8, !tbaa !27
  %212 = load ptr, ptr %7, align 8, !tbaa !5
  %213 = getelementptr inbounds %"struct.format::CSC", ptr %212, i32 0, i32 8
  %214 = load ptr, ptr %213, align 8, !tbaa !26
  %215 = load ptr, ptr %7, align 8, !tbaa !5
  %216 = getelementptr inbounds %"struct.format::CSC", ptr %215, i32 0, i32 6
  %217 = load ptr, ptr %216, align 8, !tbaa !21
  %218 = load i32, ptr %17, align 4, !tbaa !20
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds i32, ptr %217, i64 %219
  %221 = load i32, ptr %220, align 4, !tbaa !20
  %222 = load ptr, ptr %11, align 8, !tbaa !5
  %223 = load i32, ptr %17, align 4, !tbaa !20
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds i32, ptr %222, i64 %224
  %226 = load i32, ptr %225, align 4, !tbaa !20
  %227 = add nsw i32 %221, %226
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds double, ptr %214, i64 %228
  store double %211, ptr %229, align 8, !tbaa !27
  br label %230

230:                                              ; preds = %204, %180
  %231 = load ptr, ptr %11, align 8, !tbaa !5
  %232 = load i32, ptr %17, align 4, !tbaa !20
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds i32, ptr %231, i64 %233
  %235 = load i32, ptr %234, align 4, !tbaa !20
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %234, align 4, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %237

237:                                              ; preds = %230
  %238 = load i32, ptr %16, align 4, !tbaa !20
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr %16, align 4, !tbaa !20
  br label %139, !llvm.loop !29

240:                                              ; preds = %150
  br label %241

241:                                              ; preds = %240
  %242 = load i32, ptr %15, align 4, !tbaa !20
  %243 = add nsw i32 %242, 1
  store i32 %243, ptr %15, align 4, !tbaa !20
  br label %125, !llvm.loop !30

244:                                              ; preds = %130
  %245 = load ptr, ptr %3, align 8, !tbaa !5
  %246 = getelementptr inbounds %"struct.format::CSC", ptr %245, i32 0, i32 3
  %247 = load i32, ptr %246, align 8, !tbaa !31
  %248 = load ptr, ptr %7, align 8, !tbaa !5
  %249 = getelementptr inbounds %"struct.format::CSC", ptr %248, i32 0, i32 3
  store i32 %247, ptr %249, align 8, !tbaa !31
  %250 = load ptr, ptr %11, align 8, !tbaa !5
  %251 = icmp eq ptr %250, null
  br i1 %251, label %253, label %252

252:                                              ; preds = %244
  call void @_ZdaPv(ptr noundef %250) #10
  br label %253

253:                                              ; preds = %252, %244
  %254 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %254, ptr %2, align 8
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %255

255:                                              ; preds = %253, %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  br label %256

256:                                              ; preds = %255, %20
  %257 = load ptr, ptr %2, align 8
  ret ptr %257

258:                                              ; preds = %64
  %259 = load ptr, ptr %9, align 8
  %260 = load i32, ptr %10, align 4
  %261 = insertvalue { ptr, i32 } poison, ptr %259, 0
  %262 = insertvalue { ptr, i32 } %261, i32 %260, 1
  resume { ptr, i32 } %262
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 #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 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }
attributes #11 = { noreturn 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, !11, i64 0}
!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 = !{!11, !11, i64 0}
!15 = !{!10, !11, i64 8}
!16 = !{!10, !11, i64 16}
!17 = !{!10, !13, i64 28}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!12, !12, i64 0}
!21 = !{!10, !6, i64 32}
!22 = !{!10, !6, i64 40}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = !{!10, !6, i64 48}
!27 = !{!28, !28, i64 0}
!28 = !{!"double", !7, i64 0}
!29 = distinct !{!29, !24}
!30 = distinct !{!30, !24}
!31 = !{!10, !12, i64 24}


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

@.str.123 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [78 x i8], align 1
@__PRETTY_FUNCTION__._ZN7sym_lib17transpose_generalEPN6format3CSCE = external hidden unnamed_addr constant [39 x i8], align 1

; 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress 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) local_unnamed_addr #4

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

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

; 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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7sym_lib17transpose_generalEPN6format3CSCE(ptr noundef readonly %0) local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %140, label %3

3:                                                ; preds = %1
  %4 = load i64, ptr %0, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  %6 = load i64, ptr %5, align 8, !tbaa !13
  %7 = icmp eq i64 %4, 0
  %8 = icmp eq i64 %6, 0
  %or.cond = select i1 %7, i1 true, i1 %8
  br i1 %or.cond, label %140, label %9

9:                                                ; preds = %3
  %10 = tail call noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #7
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  %12 = load i64, ptr %11, align 8, !tbaa !14
  %13 = getelementptr inbounds i8, ptr %0, i64 28
  %14 = load i8, ptr %13, align 4, !tbaa !15, !range !16, !noundef !17
  %15 = trunc nuw i8 %14 to i1
  invoke void @_ZN6format3CSCC2Emmmb(ptr noundef nonnull align 8 dereferenceable(56) %10, i64 noundef %6, i64 noundef %4, i64 noundef %12, i1 noundef zeroext %15)
          to label %16 unwind label %43

16:                                               ; preds = %9
  %17 = icmp ugt i64 %4, 4611686018427387903
  %18 = shl i64 %4, 2
  %19 = select i1 %17, i64 -1, i64 %18
  %20 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %19) #7
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 %20, i8 0, i64 %19, i1 false)
  %21 = getelementptr inbounds i8, ptr %0, i64 32
  %22 = load ptr, ptr %21, align 8, !tbaa !18
  %23 = getelementptr inbounds i32, ptr %22, i64 %6
  %24 = load i32, ptr %23, align 4, !tbaa !19
  %25 = icmp sgt i32 %24, 0
  br i1 %25, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %16
  %26 = getelementptr inbounds i8, ptr %0, i64 40
  %27 = load ptr, ptr %26, align 8, !tbaa !20
  %28 = zext nneg i32 %24 to i64
  %xtraiter = and i64 %28, 3
  %29 = icmp ult i32 %24, 4
  br i1 %29, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %28, 2147483644
  br label %45

._crit_edge.loopexit.unr-lcssa:                   ; preds = %45, %.lr.ph
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.3, %45 ]
  %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 ]
  %30 = getelementptr inbounds i32, ptr %27, i64 %indvars.iv.epil
  %31 = load i32, ptr %30, align 4, !tbaa !19
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds i32, ptr %20, i64 %32
  %34 = load i32, ptr %33, align 4, !tbaa !19
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %33, align 4, !tbaa !19
  %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 !21

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader, %16
  %36 = getelementptr inbounds i8, ptr %10, i64 32
  %37 = load ptr, ptr %36, align 8, !tbaa !18
  store i32 0, ptr %37, align 4, !tbaa !19
  %38 = trunc i64 %4 to i32
  %.not7882 = icmp slt i32 %38, 1
  br i1 %.not7882, label %._crit_edge86, label %.lr.ph85.preheader

.lr.ph85.preheader:                               ; preds = %._crit_edge
  %39 = add nuw nsw i64 %4, 1
  %wide.trip.count = and i64 %39, 4294967295
  %invariant.gep = getelementptr i8, ptr %20, i64 -4
  %40 = add nsw i64 %wide.trip.count, -1
  %41 = add nsw i64 %wide.trip.count, -2
  %xtraiter107 = and i64 %40, 3
  %42 = icmp ult i64 %41, 3
  br i1 %42, label %._crit_edge86.loopexit.unr-lcssa, label %.lr.ph85.preheader.new

.lr.ph85.preheader.new:                           ; preds = %.lr.ph85.preheader
  %unroll_iter110 = and i64 %40, -4
  %invariant.gep113 = getelementptr inbounds i8, ptr %37, i64 4
  br label %.lr.ph85

43:                                               ; preds = %9
  %44 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %10, i64 noundef 56) #8
  resume { ptr, i32 } %44

45:                                               ; preds = %45, %.lr.ph.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next.3, %45 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %45 ]
  %46 = getelementptr inbounds i32, ptr %27, i64 %indvars.iv
  %47 = load i32, ptr %46, align 4, !tbaa !19
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds i32, ptr %20, i64 %48
  %50 = load i32, ptr %49, align 4, !tbaa !19
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %49, align 4, !tbaa !19
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %52 = getelementptr inbounds i32, ptr %27, i64 %indvars.iv.next
  %53 = load i32, ptr %52, align 4, !tbaa !19
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds i32, ptr %20, i64 %54
  %56 = load i32, ptr %55, align 4, !tbaa !19
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %55, align 4, !tbaa !19
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %58 = getelementptr inbounds i32, ptr %27, i64 %indvars.iv.next.1
  %59 = load i32, ptr %58, align 4, !tbaa !19
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds i32, ptr %20, i64 %60
  %62 = load i32, ptr %61, align 4, !tbaa !19
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %61, align 4, !tbaa !19
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %64 = getelementptr inbounds i32, ptr %27, i64 %indvars.iv.next.2
  %65 = load i32, ptr %64, align 4, !tbaa !19
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds i32, ptr %20, i64 %66
  %68 = load i32, ptr %67, align 4, !tbaa !19
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %67, align 4, !tbaa !19
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3.not = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3.not, label %._crit_edge.loopexit.unr-lcssa, label %45, !llvm.loop !23

._crit_edge86.loopexit.unr-lcssa:                 ; preds = %.lr.ph85, %.lr.ph85.preheader
  %.unr = phi i32 [ 0, %.lr.ph85.preheader ], [ %93, %.lr.ph85 ]
  %indvars.iv95.unr = phi i64 [ 1, %.lr.ph85.preheader ], [ %indvars.iv.next96.3, %.lr.ph85 ]
  %lcmp.mod109.not = icmp eq i64 %xtraiter107, 0
  br i1 %lcmp.mod109.not, label %._crit_edge86, label %.lr.ph85.epil

.lr.ph85.epil:                                    ; preds = %._crit_edge86.loopexit.unr-lcssa, %.lr.ph85.epil
  %70 = phi i32 [ %72, %.lr.ph85.epil ], [ %.unr, %._crit_edge86.loopexit.unr-lcssa ]
  %indvars.iv95.epil = phi i64 [ %indvars.iv.next96.epil, %.lr.ph85.epil ], [ %indvars.iv95.unr, %._crit_edge86.loopexit.unr-lcssa ]
  %epil.iter108 = phi i64 [ %epil.iter108.next, %.lr.ph85.epil ], [ 0, %._crit_edge86.loopexit.unr-lcssa ]
  %gep.epil = getelementptr i32, ptr %invariant.gep, i64 %indvars.iv95.epil
  %71 = load i32, ptr %gep.epil, align 4, !tbaa !19
  %72 = add nsw i32 %71, %70
  %73 = getelementptr inbounds i32, ptr %37, i64 %indvars.iv95.epil
  store i32 %72, ptr %73, align 4, !tbaa !19
  %indvars.iv.next96.epil = add nuw nsw i64 %indvars.iv95.epil, 1
  %epil.iter108.next = add i64 %epil.iter108, 1
  %epil.iter108.cmp.not = icmp eq i64 %epil.iter108.next, %xtraiter107
  br i1 %epil.iter108.cmp.not, label %._crit_edge86, label %.lr.ph85.epil, !llvm.loop !25

._crit_edge86:                                    ; preds = %._crit_edge86.loopexit.unr-lcssa, %.lr.ph85.epil, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #9
  store i32 0, ptr %2, align 4, !tbaa !19
  %74 = call noundef ptr @_ZSt6fill_nIPimiET_S1_T0_RKT1_(ptr noundef nonnull %20, i64 noundef %4, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #9
  %75 = trunc i64 %6 to i32
  %76 = icmp sgt i32 %75, 0
  br i1 %76, label %.lr.ph92, label %._crit_edge93

.lr.ph92:                                         ; preds = %._crit_edge86
  %77 = load ptr, ptr %21, align 8, !tbaa !18
  %78 = getelementptr inbounds i8, ptr %0, i64 40
  %79 = getelementptr inbounds i8, ptr %10, i64 40
  %80 = getelementptr inbounds i8, ptr %10, i64 28
  %81 = getelementptr inbounds i8, ptr %0, i64 48
  %82 = getelementptr inbounds i8, ptr %10, i64 48
  %wide.trip.count104 = and i64 %6, 2147483647
  %.pre = load i32, ptr %77, align 4, !tbaa !19
  br label %99

.lr.ph85:                                         ; preds = %.lr.ph85, %.lr.ph85.preheader.new
  %83 = phi i32 [ 0, %.lr.ph85.preheader.new ], [ %93, %.lr.ph85 ]
  %indvars.iv95 = phi i64 [ 1, %.lr.ph85.preheader.new ], [ %indvars.iv.next96.3, %.lr.ph85 ]
  %niter111 = phi i64 [ 0, %.lr.ph85.preheader.new ], [ %niter111.next.3, %.lr.ph85 ]
  %gep = getelementptr i32, ptr %invariant.gep, i64 %indvars.iv95
  %84 = load i32, ptr %gep, align 4, !tbaa !19
  %85 = add nsw i32 %84, %83
  %86 = getelementptr inbounds i32, ptr %37, i64 %indvars.iv95
  store i32 %85, ptr %86, align 4, !tbaa !19
  %gep.1 = getelementptr i32, ptr %20, i64 %indvars.iv95
  %87 = load i32, ptr %gep.1, align 4, !tbaa !19
  %88 = add nsw i32 %87, %85
  %gep114 = getelementptr inbounds i32, ptr %invariant.gep113, i64 %indvars.iv95
  store i32 %88, ptr %gep114, align 4, !tbaa !19
  %indvars.iv.next96.1 = add nuw nsw i64 %indvars.iv95, 2
  %gep.2 = getelementptr i32, ptr %invariant.gep, i64 %indvars.iv.next96.1
  %89 = load i32, ptr %gep.2, align 4, !tbaa !19
  %90 = add nsw i32 %89, %88
  %91 = getelementptr inbounds i32, ptr %37, i64 %indvars.iv.next96.1
  store i32 %90, ptr %91, align 4, !tbaa !19
  %indvars.iv.next96.2 = add nuw nsw i64 %indvars.iv95, 3
  %gep.3 = getelementptr i32, ptr %invariant.gep, i64 %indvars.iv.next96.2
  %92 = load i32, ptr %gep.3, align 4, !tbaa !19
  %93 = add nsw i32 %92, %90
  %94 = getelementptr inbounds i32, ptr %37, i64 %indvars.iv.next96.2
  store i32 %93, ptr %94, align 4, !tbaa !19
  %indvars.iv.next96.3 = add nuw nsw i64 %indvars.iv95, 4
  %niter111.next.3 = add i64 %niter111, 4
  %niter111.ncmp.3 = icmp eq i64 %niter111.next.3, %unroll_iter110
  br i1 %niter111.ncmp.3, label %._crit_edge86.loopexit.unr-lcssa, label %.lr.ph85, !llvm.loop !26

.loopexit:                                        ; preds = %135, %99
  %95 = phi i32 [ %102, %99 ], [ %137, %135 ]
  %exitcond105.not = icmp eq i64 %indvars.iv.next102, %wide.trip.count104
  br i1 %exitcond105.not, label %._crit_edge93, label %99, !llvm.loop !27

._crit_edge93:                                    ; preds = %.loopexit, %._crit_edge86
  %96 = getelementptr inbounds i8, ptr %0, i64 24
  %97 = load i32, ptr %96, align 8, !tbaa !28
  %98 = getelementptr inbounds i8, ptr %10, i64 24
  store i32 %97, ptr %98, align 8, !tbaa !28
  call void @_ZdaPv(ptr noundef nonnull %20) #8
  br label %140

99:                                               ; preds = %.lr.ph92, %.loopexit
  %100 = phi i32 [ %.pre, %.lr.ph92 ], [ %95, %.loopexit ]
  %indvars.iv101 = phi i64 [ 0, %.lr.ph92 ], [ %indvars.iv.next102, %.loopexit ]
  %indvars.iv.next102 = add nuw nsw i64 %indvars.iv101, 1
  %101 = getelementptr inbounds i32, ptr %77, i64 %indvars.iv.next102
  %102 = load i32, ptr %101, align 4, !tbaa !19
  %103 = icmp slt i32 %100, %102
  br i1 %103, label %.lr.ph89, label %.loopexit

.lr.ph89:                                         ; preds = %99
  %104 = load ptr, ptr %78, align 8, !tbaa !20
  %105 = load ptr, ptr %36, align 8, !tbaa !18
  %106 = load i64, ptr %11, align 8, !tbaa !14
  %107 = sext i32 %100 to i64
  %108 = trunc nuw nsw i64 %indvars.iv101 to i32
  br label %109

109:                                              ; preds = %.lr.ph89, %135
  %indvars.iv98 = phi i64 [ %107, %.lr.ph89 ], [ %indvars.iv.next99, %135 ]
  %110 = getelementptr inbounds i32, ptr %104, i64 %indvars.iv98
  %111 = load i32, ptr %110, align 4, !tbaa !19
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds i32, ptr %105, i64 %112
  %114 = load i32, ptr %113, align 4, !tbaa !19
  %115 = getelementptr inbounds i32, ptr %20, i64 %112
  %116 = load i32, ptr %115, align 4, !tbaa !19
  %117 = add nsw i32 %116, %114
  %118 = sext i32 %117 to i64
  %119 = icmp ugt i64 %106, %118
  br i1 %119, label %121, label %120

120:                                              ; preds = %109
  call void @__assert_fail(ptr noundef nonnull @.str.123, ptr noundef nonnull @.str.124, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7sym_lib17transpose_generalEPN6format3CSCE) #10
  unreachable

121:                                              ; preds = %109
  %122 = load ptr, ptr %79, align 8, !tbaa !20
  %123 = getelementptr inbounds i32, ptr %122, i64 %118
  store i32 %108, ptr %123, align 4, !tbaa !19
  %124 = load i8, ptr %80, align 4, !tbaa !15, !range !16, !noundef !17
  %125 = trunc nuw i8 %124 to i1
  %.pre106 = load i32, ptr %115, align 4, !tbaa !19
  br i1 %125, label %135, label %126

126:                                              ; preds = %121
  %127 = load ptr, ptr %81, align 8, !tbaa !29
  %128 = getelementptr inbounds double, ptr %127, i64 %indvars.iv98
  %129 = load double, ptr %128, align 8, !tbaa !30
  %130 = load ptr, ptr %82, align 8, !tbaa !29
  %131 = load i32, ptr %113, align 4, !tbaa !19
  %132 = add nsw i32 %.pre106, %131
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds double, ptr %130, i64 %133
  store double %129, ptr %134, align 8, !tbaa !30
  br label %135

135:                                              ; preds = %126, %121
  %136 = add nsw i32 %.pre106, 1
  store i32 %136, ptr %115, align 4, !tbaa !19
  %indvars.iv.next99 = add nsw i64 %indvars.iv98, 1
  %137 = load i32, ptr %101, align 4, !tbaa !19
  %138 = sext i32 %137 to i64
  %139 = icmp slt i64 %indvars.iv.next99, %138
  br i1 %139, label %109, label %.loopexit, !llvm.loop !32

140:                                              ; preds = %._crit_edge93, %3, %1
  %.1 = phi ptr [ null, %1 ], [ %10, %._crit_edge93 ], [ null, %3 ]
  ret ptr %.1
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn 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 #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 = { mustprogress 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 = { 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 = { 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 = { builtin allocsize(0) }
attributes #8 = { builtin nounwind }
attributes #9 = { nounwind }
attributes #10 = { noreturn 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, !7, i64 0}
!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 = !{!6, !7, i64 16}
!15 = !{!6, !11, i64 28}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!6, !12, i64 32}
!19 = !{!10, !10, i64 0}
!20 = !{!6, !12, i64 40}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.unroll.disable"}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !22}
!26 = distinct !{!26, !24}
!27 = distinct !{!27, !24}
!28 = !{!6, !10, i64 24}
!29 = !{!6, !12, i64 48}
!30 = !{!31, !31, i64 0}
!31 = !{!"double", !8, i64 0}
!32 = distinct !{!32, !24}


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