; LLVM IR from nickmqb/muon :: bootstrap/mu.ll_CGenerator (genFormat__)

; 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.string__ = type { ptr, i32 }
%struct.tag_____IAllocator__ = type { ptr, ptr, ptr, ptr }
%struct.Node__ = type { i32, ptr }
%struct.tag_____StringBuilder__ = type { ptr, i32, i32 }
%struct.tag_____Tag__ = type { ptr, ptr }
%struct.tag_____CallExpression__ = type { %struct.Node__, ptr, ptr, ptr, ptr, ptr }
%struct.tag_____List__Node____ = type { ptr, i32, i32 }
%struct.tag_____StringExpression__ = type { ptr, %struct.string__, i32 }
%struct.tag_____GenerateContext__ = type { ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, ptr, %struct.string__, i32, %struct.string__, i32, ptr, ptr, i8 }
%struct.tag_____CommonTags__ = type { %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@mu_____string437 = external dso_local global %struct.string__, align 8
@mu_____string500 = external dso_local global %struct.string__, align 8
@mu_____string497 = external dso_local global %struct.string__, align 8
@mu_____string409 = external dso_local global %struct.string__, align 8
@mu_____string503 = external dso_local global %struct.string__, align 8
@mu_____string507 = external dso_local global %struct.string__, align 8
@mu_____string504 = external dso_local global %struct.string__, align 8
@mu_____string505 = external dso_local global %struct.string__, align 8
@mu_____string502 = external dso_local global %struct.string__, align 8
@mu_____string506 = external dso_local global %struct.string__, align 8
@mu_____string303 = external dso_local global %struct.string__, align 8
@mu_____string410 = external dso_local global %struct.string__, align 8
@mu_____string324 = external dso_local global %struct.string__, align 8
@mu_____string501 = external dso_local global %struct.string__, align 8
@mu_____string492 = external dso_local global %struct.string__, align 8
@mu_____string493 = external dso_local global %struct.string__, align 8
@top_____currentAllocator__ = external dso_local thread_local global %struct.tag_____IAllocator__, align 8
@top_____abandonFn__ = external dso_local thread_local global ptr, align 8

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #1

; 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

; Function Attrs: nounwind uwtable
declare dso_local void @StringBuilder__write__(ptr noundef, ptr, i32) #4

; Function Attrs: nounwind uwtable
declare dso_local void @StringBuilder__writeChar__(ptr noundef, i8 noundef signext) #4

; Function Attrs: nounwind uwtable
declare dso_local void @CodeBuilder__writeLine__(ptr noundef, ptr, i32) #4

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i32 } @StringBuilder__toString__(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @StringBuilder__clear__(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local { ptr, ptr } @CGenerator__nodeTag__(ptr noundef, i32, ptr) #4

; Function Attrs: nounwind uwtable
declare dso_local void @CGenerator__genExpression__(ptr noundef, i32, ptr, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i32 } @CGenerator__newLocal__(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @CGenerator__writeNs__(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @CGenerator__genFormat__(ptr noundef %0, ptr noundef %1, i32 %2, ptr %3, ptr noundef %4) #4 {
  %6 = alloca %struct.Node__, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %struct.Node__, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %struct.Node__, align 8
  %14 = alloca %struct.Node__, align 8
  %15 = alloca %struct.string__, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %struct.tag_____StringBuilder__, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %struct.string__, align 8
  %20 = alloca %struct.string__, align 8
  %21 = alloca %struct.string__, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca %struct.tag_____StringBuilder__, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca i8, align 1
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  %33 = alloca i8, align 1
  %34 = alloca ptr, align 8
  %35 = alloca i32, align 4
  %36 = alloca %struct.Node__, align 8
  %37 = alloca %struct.tag_____Tag__, align 8
  %38 = alloca %struct.string__, align 8
  %39 = alloca i8, align 1
  %40 = alloca %struct.string__, align 8
  %41 = alloca %struct.string__, align 8
  %42 = alloca i8, align 1
  %43 = alloca i8, align 1
  %44 = alloca ptr, align 8
  %45 = alloca i32, align 4
  %46 = alloca %struct.string__, align 8
  %47 = getelementptr inbounds { i32, ptr }, ptr %6, i32 0, i32 0
  store i32 %2, ptr %47, align 8
  %48 = getelementptr inbounds { i32, ptr }, ptr %6, i32 0, i32 1
  store ptr %3, ptr %48, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %4, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  %49 = getelementptr inbounds %struct.Node__, ptr %6, i32 0, i32 1
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  %51 = icmp ne ptr %50, null
  br i1 %51, label %52, label %53

52:                                               ; preds = %5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %6, i64 16, i1 false), !tbaa.struct !12
  br label %72

53:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.tag_____CallExpression__, ptr %54, i32 0, i32 2
  %56 = load ptr, ptr %55, align 8, !tbaa !14
  store ptr %56, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !13
  %57 = load i32, ptr %12, align 4, !tbaa !13
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.tag_____List__Node____, ptr %58, i32 0, i32 1
  %60 = load i32, ptr %59, align 8, !tbaa !16
  %61 = icmp ult i32 %57, %60
  br i1 %61, label %65, label %62

62:                                               ; preds = %53
  %63 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %64 = load ptr, ptr %63, align 8, !tbaa !5
  call void %64(i32 noundef -3)
  br label %65

65:                                               ; preds = %62, %53
  %66 = load ptr, ptr %11, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.tag_____List__Node____, ptr %66, i32 0, i32 0
  %68 = load ptr, ptr %67, align 8, !tbaa !18
  %69 = load i32, ptr %12, align 4, !tbaa !13
  %70 = zext i32 %69 to i64
  %71 = getelementptr inbounds %struct.Node__, ptr %68, i64 %70
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %71, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %72

72:                                               ; preds = %65, %52
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %10, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %13, i64 16, i1 false), !tbaa.struct !12
  %73 = getelementptr inbounds %struct.Node__, ptr %14, i32 0, i32 0
  %74 = load i32, ptr %73, align 8, !tbaa !19
  %75 = icmp eq i32 %74, 20
  br i1 %75, label %79, label %76

76:                                               ; preds = %72
  %77 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %78 = load ptr, ptr %77, align 8, !tbaa !5
  call void %78(i32 noundef -4)
  br label %79

79:                                               ; preds = %76, %72
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  %80 = getelementptr inbounds %struct.Node__, ptr %14, i32 0, i32 1
  %81 = load ptr, ptr %80, align 8, !tbaa !9
  %82 = getelementptr inbounds %struct.tag_____StringExpression__, ptr %81, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %82, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %83 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %84 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %83, i32 0, i32 1
  %85 = load ptr, ptr %84, align 8, !tbaa !21
  %86 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %87 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %86, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8, !tbaa !23
  %89 = call ptr %85(ptr noundef %88, i64 noundef 16)
  store ptr %89, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  call void @llvm.memset.p0.i64(ptr align 8 %17, i8 0, i64 16, i1 false)
  %90 = load ptr, ptr %16, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %90, ptr align 8 %17, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %91 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %91, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #5
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = call { ptr, i32 } @CGenerator__newLocal__(ptr noundef %92)
  %94 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 0
  %95 = extractvalue { ptr, i32 } %93, 0
  store ptr %95, ptr %94, align 8
  %96 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 1
  %97 = extractvalue { ptr, i32 } %93, 1
  store i32 %97, ptr %96, align 8
  %98 = load ptr, ptr %18, align 8, !tbaa !5
  %99 = load ptr, ptr @mu_____string497, align 8
  %100 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string497, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %98, ptr %99, i32 %100)
  %101 = load ptr, ptr %18, align 8, !tbaa !5
  %102 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8
  %104 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 1
  %105 = load i32, ptr %104, align 8
  call void @StringBuilder__write__(ptr noundef %101, ptr %103, i32 %105)
  %106 = load ptr, ptr %18, align 8, !tbaa !5
  %107 = load ptr, ptr @mu_____string324, align 8
  %108 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string324, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %106, ptr %107, i32 %108)
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %109, i32 0, i32 5
  %111 = load ptr, ptr %110, align 8, !tbaa !25
  %112 = load ptr, ptr %18, align 8, !tbaa !5
  %113 = call { ptr, i32 } @StringBuilder__toString__(ptr noundef %112)
  %114 = getelementptr inbounds { ptr, i32 }, ptr %20, i32 0, i32 0
  %115 = extractvalue { ptr, i32 } %113, 0
  store ptr %115, ptr %114, align 8
  %116 = getelementptr inbounds { ptr, i32 }, ptr %20, i32 0, i32 1
  %117 = extractvalue { ptr, i32 } %113, 1
  store i32 %117, ptr %116, align 8
  %118 = getelementptr inbounds { ptr, i32 }, ptr %20, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8
  %120 = getelementptr inbounds { ptr, i32 }, ptr %20, i32 0, i32 1
  %121 = load i32, ptr %120, align 8
  call void @CodeBuilder__writeLine__(ptr noundef %111, ptr %119, i32 %121)
  %122 = load ptr, ptr %18, align 8, !tbaa !5
  call void @StringBuilder__clear__(ptr noundef %122)
  %123 = load ptr, ptr %18, align 8, !tbaa !5
  %124 = load ptr, ptr @mu_____string492, align 8
  %125 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string492, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %123, ptr %124, i32 %125)
  %126 = load ptr, ptr %18, align 8, !tbaa !5
  %127 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 0
  %128 = load ptr, ptr %127, align 8
  %129 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 1
  %130 = load i32, ptr %129, align 8
  call void @StringBuilder__write__(ptr noundef %126, ptr %128, i32 %130)
  %131 = load ptr, ptr %18, align 8, !tbaa !5
  %132 = load ptr, ptr @mu_____string493, align 8
  %133 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string493, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %131, ptr %132, i32 %133)
  %134 = load ptr, ptr %18, align 8, !tbaa !5
  %135 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 0
  %136 = load ptr, ptr %135, align 8
  %137 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 1
  %138 = load i32, ptr %137, align 8
  call void @StringBuilder__write__(ptr noundef %134, ptr %136, i32 %138)
  %139 = load ptr, ptr %18, align 8, !tbaa !5
  %140 = load ptr, ptr @mu_____string437, align 8
  %141 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string437, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %139, ptr %140, i32 %141)
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %142, i32 0, i32 5
  %144 = load ptr, ptr %143, align 8, !tbaa !25
  %145 = load ptr, ptr %18, align 8, !tbaa !5
  %146 = call { ptr, i32 } @StringBuilder__toString__(ptr noundef %145)
  %147 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 0
  %148 = extractvalue { ptr, i32 } %146, 0
  store ptr %148, ptr %147, align 8
  %149 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 1
  %150 = extractvalue { ptr, i32 } %146, 1
  store i32 %150, ptr %149, align 8
  %151 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 0
  %152 = load ptr, ptr %151, align 8
  %153 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 1
  %154 = load i32, ptr %153, align 8
  call void @CodeBuilder__writeLine__(ptr noundef %144, ptr %152, i32 %154)
  %155 = load ptr, ptr %18, align 8, !tbaa !5
  call void @StringBuilder__clear__(ptr noundef %155)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %156 = getelementptr inbounds %struct.Node__, ptr %6, i32 0, i32 1
  %157 = load ptr, ptr %156, align 8, !tbaa !9
  %158 = icmp ne ptr %157, null
  br i1 %158, label %159, label %160

159:                                              ; preds = %79
  store i32 0, ptr %22, align 4, !tbaa !13
  br label %161

160:                                              ; preds = %79
  store i32 1, ptr %22, align 4, !tbaa !13
  br label %161

161:                                              ; preds = %160, %159
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %162 = load i32, ptr %22, align 4, !tbaa !13
  store i32 %162, ptr %23, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %163 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %164 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %163, i32 0, i32 1
  %165 = load ptr, ptr %164, align 8, !tbaa !21
  %166 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %167 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %166, i32 0, i32 0
  %168 = load ptr, ptr %167, align 8, !tbaa !23
  %169 = call ptr %165(ptr noundef %168, i64 noundef 16)
  store ptr %169, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 16, i1 false)
  %170 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %170, ptr align 8 %25, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %171 = load ptr, ptr %24, align 8, !tbaa !5
  store ptr %171, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  store i32 0, ptr %27, align 4, !tbaa !13
  br label %172

172:                                              ; preds = %496, %161
  br label %173

173:                                              ; preds = %172
  %174 = load i32, ptr %27, align 4, !tbaa !13
  %175 = getelementptr inbounds %struct.string__, ptr %15, i32 0, i32 1
  %176 = load i32, ptr %175, align 8, !tbaa !28
  %177 = icmp slt i32 %174, %176
  br i1 %177, label %179, label %178

178:                                              ; preds = %173
  br label %499

179:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  store ptr %15, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %180 = load i32, ptr %27, align 4, !tbaa !13
  store i32 %180, ptr %29, align 4, !tbaa !13
  %181 = load i32, ptr %29, align 4, !tbaa !13
  %182 = load ptr, ptr %28, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.string__, ptr %182, i32 0, i32 1
  %184 = load i32, ptr %183, align 8, !tbaa !28
  %185 = icmp ult i32 %181, %184
  br i1 %185, label %189, label %186

186:                                              ; preds = %179
  %187 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %188 = load ptr, ptr %187, align 8, !tbaa !5
  call void %188(i32 noundef -3)
  br label %189

189:                                              ; preds = %186, %179
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #5
  %190 = load ptr, ptr %28, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.string__, ptr %190, i32 0, i32 0
  %192 = load ptr, ptr %191, align 8, !tbaa !29
  %193 = load i32, ptr %29, align 4, !tbaa !13
  %194 = zext i32 %193 to i64
  %195 = getelementptr inbounds i8, ptr %192, i64 %194
  %196 = load i8, ptr %195, align 1, !tbaa !30
  store i8 %196, ptr %30, align 1, !tbaa !30
  %197 = load i8, ptr %30, align 1, !tbaa !30
  %198 = sext i8 %197 to i32
  %199 = icmp eq i32 %198, 123
  br i1 %199, label %200, label %444

200:                                              ; preds = %189
  %201 = load i32, ptr %27, align 4, !tbaa !13
  %202 = add nsw i32 %201, 1
  store i32 %202, ptr %27, align 4, !tbaa !13
  %203 = load i32, ptr %27, align 4, !tbaa !13
  %204 = getelementptr inbounds %struct.string__, ptr %15, i32 0, i32 1
  %205 = load i32, ptr %204, align 8, !tbaa !28
  %206 = icmp slt i32 %203, %205
  br i1 %206, label %207, label %440

207:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  store ptr %15, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  %208 = load i32, ptr %27, align 4, !tbaa !13
  store i32 %208, ptr %32, align 4, !tbaa !13
  %209 = load i32, ptr %32, align 4, !tbaa !13
  %210 = load ptr, ptr %31, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.string__, ptr %210, i32 0, i32 1
  %212 = load i32, ptr %211, align 8, !tbaa !28
  %213 = icmp ult i32 %209, %212
  br i1 %213, label %217, label %214

214:                                              ; preds = %207
  %215 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %216 = load ptr, ptr %215, align 8, !tbaa !5
  call void %216(i32 noundef -3)
  br label %217

217:                                              ; preds = %214, %207
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #5
  %218 = load ptr, ptr %31, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.string__, ptr %218, i32 0, i32 0
  %220 = load ptr, ptr %219, align 8, !tbaa !29
  %221 = load i32, ptr %32, align 4, !tbaa !13
  %222 = zext i32 %221 to i64
  %223 = getelementptr inbounds i8, ptr %220, i64 %222
  %224 = load i8, ptr %223, align 1, !tbaa !30
  store i8 %224, ptr %33, align 1, !tbaa !30
  %225 = load i8, ptr %33, align 1, !tbaa !30
  %226 = sext i8 %225 to i32
  %227 = icmp eq i32 %226, 125
  br i1 %227, label %228, label %426

228:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %229 = load ptr, ptr %8, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.tag_____CallExpression__, ptr %229, i32 0, i32 2
  %231 = load ptr, ptr %230, align 8, !tbaa !14
  store ptr %231, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  %232 = load i32, ptr %23, align 4, !tbaa !13
  store i32 %232, ptr %35, align 4, !tbaa !13
  %233 = load i32, ptr %35, align 4, !tbaa !13
  %234 = load ptr, ptr %34, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.tag_____List__Node____, ptr %234, i32 0, i32 1
  %236 = load i32, ptr %235, align 8, !tbaa !16
  %237 = icmp ult i32 %233, %236
  br i1 %237, label %241, label %238

238:                                              ; preds = %228
  %239 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %240 = load ptr, ptr %239, align 8, !tbaa !5
  call void %240(i32 noundef -3)
  br label %241

241:                                              ; preds = %238, %228
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #5
  %242 = load ptr, ptr %34, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.tag_____List__Node____, ptr %242, i32 0, i32 0
  %244 = load ptr, ptr %243, align 8, !tbaa !18
  %245 = load i32, ptr %35, align 4, !tbaa !13
  %246 = zext i32 %245 to i64
  %247 = getelementptr inbounds %struct.Node__, ptr %244, i64 %246
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %247, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #5
  %248 = load ptr, ptr %7, align 8, !tbaa !5
  %249 = getelementptr inbounds { i32, ptr }, ptr %36, i32 0, i32 0
  %250 = load i32, ptr %249, align 8
  %251 = getelementptr inbounds { i32, ptr }, ptr %36, i32 0, i32 1
  %252 = load ptr, ptr %251, align 8
  %253 = call { ptr, ptr } @CGenerator__nodeTag__(ptr noundef %248, i32 %250, ptr %252)
  %254 = getelementptr inbounds { ptr, ptr }, ptr %37, i32 0, i32 0
  %255 = extractvalue { ptr, ptr } %253, 0
  store ptr %255, ptr %254, align 8
  %256 = getelementptr inbounds { ptr, ptr }, ptr %37, i32 0, i32 1
  %257 = extractvalue { ptr, ptr } %253, 1
  store ptr %257, ptr %256, align 8
  %258 = load ptr, ptr %7, align 8, !tbaa !5
  %259 = load ptr, ptr %26, align 8, !tbaa !5
  %260 = call { ptr, i32 } @StringBuilder__toString__(ptr noundef %259)
  %261 = getelementptr inbounds { ptr, i32 }, ptr %38, i32 0, i32 0
  %262 = extractvalue { ptr, i32 } %260, 0
  store ptr %262, ptr %261, align 8
  %263 = getelementptr inbounds { ptr, i32 }, ptr %38, i32 0, i32 1
  %264 = extractvalue { ptr, i32 } %260, 1
  store i32 %264, ptr %263, align 8
  %265 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 0
  %266 = load ptr, ptr %265, align 8
  %267 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 1
  %268 = load i32, ptr %267, align 8
  %269 = getelementptr inbounds { ptr, i32 }, ptr %38, i32 0, i32 0
  %270 = load ptr, ptr %269, align 8
  %271 = getelementptr inbounds { ptr, i32 }, ptr %38, i32 0, i32 1
  %272 = load i32, ptr %271, align 8
  call void @CGenerator__genFormatSlice__(ptr noundef %258, ptr %266, i32 %268, ptr %270, i32 %272)
  %273 = load ptr, ptr %26, align 8, !tbaa !5
  call void @StringBuilder__clear__(ptr noundef %273)
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #5
  %274 = getelementptr inbounds %struct.tag_____Tag__, ptr %37, i32 0, i32 0
  %275 = load ptr, ptr %274, align 8, !tbaa !31
  %276 = load ptr, ptr %7, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %276, i32 0, i32 4
  %278 = load ptr, ptr %277, align 8, !tbaa !33
  %279 = getelementptr inbounds %struct.tag_____CommonTags__, ptr %278, i32 0, i32 20
  %280 = load ptr, ptr %279, align 8, !tbaa !34
  %281 = icmp eq ptr %275, %280
  %282 = zext i1 %281 to i32
  %283 = trunc i32 %282 to i8
  store i8 %283, ptr %39, align 1, !tbaa !30
  %284 = load i8, ptr %39, align 1, !tbaa !30
  %285 = icmp ne i8 %284, 0
  br i1 %285, label %297, label %286

286:                                              ; preds = %241
  %287 = getelementptr inbounds %struct.tag_____Tag__, ptr %37, i32 0, i32 0
  %288 = load ptr, ptr %287, align 8, !tbaa !31
  %289 = load ptr, ptr %7, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %289, i32 0, i32 4
  %291 = load ptr, ptr %290, align 8, !tbaa !33
  %292 = getelementptr inbounds %struct.tag_____CommonTags__, ptr %291, i32 0, i32 19
  %293 = load ptr, ptr %292, align 8, !tbaa !36
  %294 = icmp eq ptr %288, %293
  %295 = zext i1 %294 to i32
  %296 = trunc i32 %295 to i8
  store i8 %296, ptr %39, align 1, !tbaa !30
  br label %297

297:                                              ; preds = %286, %241
  %298 = load i8, ptr %39, align 1, !tbaa !30
  %299 = icmp ne i8 %298, 0
  br i1 %299, label %300, label %353

300:                                              ; preds = %297
  %301 = load ptr, ptr %18, align 8, !tbaa !5
  %302 = load ptr, ptr @mu_____string501, align 8
  %303 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string501, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %301, ptr %302, i32 %303)
  %304 = load ptr, ptr %18, align 8, !tbaa !5
  %305 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 0
  %306 = load ptr, ptr %305, align 8
  %307 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 1
  %308 = load i32, ptr %307, align 8
  call void @StringBuilder__write__(ptr noundef %304, ptr %306, i32 %308)
  %309 = load ptr, ptr %18, align 8, !tbaa !5
  %310 = load ptr, ptr @mu_____string502, align 8
  %311 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string502, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %309, ptr %310, i32 %311)
  %312 = load ptr, ptr %7, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %312, i32 0, i32 5
  %314 = load ptr, ptr %313, align 8, !tbaa !25
  %315 = load ptr, ptr %18, align 8, !tbaa !5
  %316 = call { ptr, i32 } @StringBuilder__toString__(ptr noundef %315)
  %317 = getelementptr inbounds { ptr, i32 }, ptr %40, i32 0, i32 0
  %318 = extractvalue { ptr, i32 } %316, 0
  store ptr %318, ptr %317, align 8
  %319 = getelementptr inbounds { ptr, i32 }, ptr %40, i32 0, i32 1
  %320 = extractvalue { ptr, i32 } %316, 1
  store i32 %320, ptr %319, align 8
  %321 = getelementptr inbounds { ptr, i32 }, ptr %40, i32 0, i32 0
  %322 = load ptr, ptr %321, align 8
  %323 = getelementptr inbounds { ptr, i32 }, ptr %40, i32 0, i32 1
  %324 = load i32, ptr %323, align 8
  call void @CodeBuilder__writeLine__(ptr noundef %314, ptr %322, i32 %324)
  %325 = load ptr, ptr %18, align 8, !tbaa !5
  call void @StringBuilder__clear__(ptr noundef %325)
  %326 = load ptr, ptr %18, align 8, !tbaa !5
  %327 = load ptr, ptr %7, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %327, i32 0, i32 4
  %329 = load ptr, ptr %328, align 8, !tbaa !33
  %330 = getelementptr inbounds %struct.tag_____CommonTags__, ptr %329, i32 0, i32 18
  %331 = getelementptr inbounds %struct.tag_____Tag__, ptr %330, i32 0, i32 0
  %332 = load ptr, ptr %331, align 8, !tbaa !37
  call void @CGenerator__writeNs__(ptr noundef %326, ptr noundef %332)
  %333 = load ptr, ptr %18, align 8, !tbaa !5
  %334 = load ptr, ptr @mu_____string503, align 8
  %335 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string503, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %333, ptr %334, i32 %335)
  %336 = load ptr, ptr %7, align 8, !tbaa !5
  %337 = load ptr, ptr %18, align 8, !tbaa !5
  %338 = getelementptr inbounds { i32, ptr }, ptr %36, i32 0, i32 0
  %339 = load i32, ptr %338, align 8
  %340 = getelementptr inbounds { i32, ptr }, ptr %36, i32 0, i32 1
  %341 = load ptr, ptr %340, align 8
  call void @CGenerator__genExpression__(ptr noundef %336, i32 %339, ptr %341, ptr noundef %337)
  %342 = load ptr, ptr %18, align 8, !tbaa !5
  %343 = load ptr, ptr @mu_____string504, align 8
  %344 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string504, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %342, ptr %343, i32 %344)
  %345 = load ptr, ptr %18, align 8, !tbaa !5
  %346 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 0
  %347 = load ptr, ptr %346, align 8
  %348 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 1
  %349 = load i32, ptr %348, align 8
  call void @StringBuilder__write__(ptr noundef %345, ptr %347, i32 %349)
  %350 = load ptr, ptr %18, align 8, !tbaa !5
  %351 = load ptr, ptr @mu_____string410, align 8
  %352 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string410, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %350, ptr %351, i32 %352)
  br label %409

353:                                              ; preds = %297
  %354 = getelementptr inbounds %struct.tag_____Tag__, ptr %37, i32 0, i32 0
  %355 = load ptr, ptr %354, align 8, !tbaa !31
  %356 = load ptr, ptr %7, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %356, i32 0, i32 4
  %358 = load ptr, ptr %357, align 8, !tbaa !33
  %359 = getelementptr inbounds %struct.tag_____CommonTags__, ptr %358, i32 0, i32 16
  %360 = getelementptr inbounds %struct.tag_____Tag__, ptr %359, i32 0, i32 0
  %361 = load ptr, ptr %360, align 8, !tbaa !38
  %362 = icmp eq ptr %355, %361
  br i1 %362, label %363, label %384

363:                                              ; preds = %353
  %364 = load ptr, ptr %18, align 8, !tbaa !5
  %365 = load ptr, ptr @mu_____string500, align 8
  %366 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string500, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %364, ptr %365, i32 %366)
  %367 = load ptr, ptr %18, align 8, !tbaa !5
  %368 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 0
  %369 = load ptr, ptr %368, align 8
  %370 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 1
  %371 = load i32, ptr %370, align 8
  call void @StringBuilder__write__(ptr noundef %367, ptr %369, i32 %371)
  %372 = load ptr, ptr %18, align 8, !tbaa !5
  %373 = load ptr, ptr @mu_____string409, align 8
  %374 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string409, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %372, ptr %373, i32 %374)
  %375 = load ptr, ptr %7, align 8, !tbaa !5
  %376 = load ptr, ptr %18, align 8, !tbaa !5
  %377 = getelementptr inbounds { i32, ptr }, ptr %36, i32 0, i32 0
  %378 = load i32, ptr %377, align 8
  %379 = getelementptr inbounds { i32, ptr }, ptr %36, i32 0, i32 1
  %380 = load ptr, ptr %379, align 8
  call void @CGenerator__genExpression__(ptr noundef %375, i32 %378, ptr %380, ptr noundef %376)
  %381 = load ptr, ptr %18, align 8, !tbaa !5
  %382 = load ptr, ptr @mu_____string410, align 8
  %383 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string410, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %381, ptr %382, i32 %383)
  br label %408

384:                                              ; preds = %353
  %385 = load ptr, ptr %18, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.tag_____Tag__, ptr %37, i32 0, i32 0
  %387 = load ptr, ptr %386, align 8, !tbaa !31
  call void @CGenerator__writeNs__(ptr noundef %385, ptr noundef %387)
  %388 = load ptr, ptr %18, align 8, !tbaa !5
  %389 = load ptr, ptr @mu_____string505, align 8
  %390 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string505, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %388, ptr %389, i32 %390)
  %391 = load ptr, ptr %7, align 8, !tbaa !5
  %392 = load ptr, ptr %18, align 8, !tbaa !5
  %393 = getelementptr inbounds { i32, ptr }, ptr %36, i32 0, i32 0
  %394 = load i32, ptr %393, align 8
  %395 = getelementptr inbounds { i32, ptr }, ptr %36, i32 0, i32 1
  %396 = load ptr, ptr %395, align 8
  call void @CGenerator__genExpression__(ptr noundef %391, i32 %394, ptr %396, ptr noundef %392)
  %397 = load ptr, ptr %18, align 8, !tbaa !5
  %398 = load ptr, ptr @mu_____string506, align 8
  %399 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string506, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %397, ptr %398, i32 %399)
  %400 = load ptr, ptr %18, align 8, !tbaa !5
  %401 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 0
  %402 = load ptr, ptr %401, align 8
  %403 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 1
  %404 = load i32, ptr %403, align 8
  call void @StringBuilder__write__(ptr noundef %400, ptr %402, i32 %404)
  %405 = load ptr, ptr %18, align 8, !tbaa !5
  %406 = load ptr, ptr @mu_____string410, align 8
  %407 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string410, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %405, ptr %406, i32 %407)
  br label %408

408:                                              ; preds = %384, %363
  br label %409

409:                                              ; preds = %408, %300
  %410 = load ptr, ptr %7, align 8, !tbaa !5
  %411 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %410, i32 0, i32 5
  %412 = load ptr, ptr %411, align 8, !tbaa !25
  %413 = load ptr, ptr %18, align 8, !tbaa !5
  %414 = call { ptr, i32 } @StringBuilder__toString__(ptr noundef %413)
  %415 = getelementptr inbounds { ptr, i32 }, ptr %41, i32 0, i32 0
  %416 = extractvalue { ptr, i32 } %414, 0
  store ptr %416, ptr %415, align 8
  %417 = getelementptr inbounds { ptr, i32 }, ptr %41, i32 0, i32 1
  %418 = extractvalue { ptr, i32 } %414, 1
  store i32 %418, ptr %417, align 8
  %419 = getelementptr inbounds { ptr, i32 }, ptr %41, i32 0, i32 0
  %420 = load ptr, ptr %419, align 8
  %421 = getelementptr inbounds { ptr, i32 }, ptr %41, i32 0, i32 1
  %422 = load i32, ptr %421, align 8
  call void @CodeBuilder__writeLine__(ptr noundef %412, ptr %420, i32 %422)
  %423 = load ptr, ptr %18, align 8, !tbaa !5
  call void @StringBuilder__clear__(ptr noundef %423)
  %424 = load i32, ptr %23, align 4, !tbaa !13
  %425 = add nsw i32 %424, 1
  store i32 %425, ptr %23, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  br label %439

426:                                              ; preds = %217
  %427 = load i8, ptr %33, align 1, !tbaa !30
  %428 = sext i8 %427 to i32
  %429 = icmp eq i32 %428, 123
  br i1 %429, label %430, label %433

430:                                              ; preds = %426
  %431 = load ptr, ptr %26, align 8, !tbaa !5
  %432 = load i8, ptr %30, align 1, !tbaa !30
  call void @StringBuilder__writeChar__(ptr noundef %431, i8 noundef signext %432)
  br label %438

433:                                              ; preds = %426
  %434 = load ptr, ptr %26, align 8, !tbaa !5
  %435 = load i8, ptr %30, align 1, !tbaa !30
  call void @StringBuilder__writeChar__(ptr noundef %434, i8 noundef signext %435)
  %436 = load ptr, ptr %26, align 8, !tbaa !5
  %437 = load i8, ptr %33, align 1, !tbaa !30
  call void @StringBuilder__writeChar__(ptr noundef %436, i8 noundef signext %437)
  br label %438

438:                                              ; preds = %433, %430
  br label %439

439:                                              ; preds = %438, %409
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %443

440:                                              ; preds = %200
  %441 = load ptr, ptr %26, align 8, !tbaa !5
  %442 = load i8, ptr %30, align 1, !tbaa !30
  call void @StringBuilder__writeChar__(ptr noundef %441, i8 noundef signext %442)
  br label %443

443:                                              ; preds = %440, %439
  br label %496

444:                                              ; preds = %189
  %445 = load ptr, ptr %26, align 8, !tbaa !5
  %446 = load i8, ptr %30, align 1, !tbaa !30
  call void @StringBuilder__writeChar__(ptr noundef %445, i8 noundef signext %446)
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #5
  %447 = load i8, ptr %30, align 1, !tbaa !30
  %448 = sext i8 %447 to i32
  %449 = icmp eq i32 %448, 125
  %450 = zext i1 %449 to i32
  %451 = trunc i32 %450 to i8
  store i8 %451, ptr %42, align 1, !tbaa !30
  %452 = load i8, ptr %42, align 1, !tbaa !30
  %453 = icmp ne i8 %452, 0
  br i1 %453, label %454, label %462

454:                                              ; preds = %444
  %455 = load i32, ptr %27, align 4, !tbaa !13
  %456 = getelementptr inbounds %struct.string__, ptr %15, i32 0, i32 1
  %457 = load i32, ptr %456, align 8, !tbaa !28
  %458 = sub nsw i32 %457, 1
  %459 = icmp slt i32 %455, %458
  %460 = zext i1 %459 to i32
  %461 = trunc i32 %460 to i8
  store i8 %461, ptr %42, align 1, !tbaa !30
  br label %462

462:                                              ; preds = %454, %444
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #5
  %463 = load i8, ptr %42, align 1, !tbaa !30
  store i8 %463, ptr %43, align 1, !tbaa !30
  %464 = load i8, ptr %43, align 1, !tbaa !30
  %465 = icmp ne i8 %464, 0
  br i1 %465, label %466, label %489

466:                                              ; preds = %462
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #5
  store ptr %15, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #5
  %467 = load i32, ptr %27, align 4, !tbaa !13
  %468 = add nsw i32 %467, 1
  store i32 %468, ptr %45, align 4, !tbaa !13
  %469 = load i32, ptr %45, align 4, !tbaa !13
  %470 = load ptr, ptr %44, align 8, !tbaa !5
  %471 = getelementptr inbounds %struct.string__, ptr %470, i32 0, i32 1
  %472 = load i32, ptr %471, align 8, !tbaa !28
  %473 = icmp ult i32 %469, %472
  br i1 %473, label %477, label %474

474:                                              ; preds = %466
  %475 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %476 = load ptr, ptr %475, align 8, !tbaa !5
  call void %476(i32 noundef -3)
  br label %477

477:                                              ; preds = %474, %466
  %478 = load ptr, ptr %44, align 8, !tbaa !5
  %479 = getelementptr inbounds %struct.string__, ptr %478, i32 0, i32 0
  %480 = load ptr, ptr %479, align 8, !tbaa !29
  %481 = load i32, ptr %45, align 4, !tbaa !13
  %482 = zext i32 %481 to i64
  %483 = getelementptr inbounds i8, ptr %480, i64 %482
  %484 = load i8, ptr %483, align 1, !tbaa !30
  %485 = sext i8 %484 to i32
  %486 = icmp eq i32 %485, 125
  %487 = zext i1 %486 to i32
  %488 = trunc i32 %487 to i8
  store i8 %488, ptr %43, align 1, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  br label %489

489:                                              ; preds = %477, %462
  %490 = load i8, ptr %43, align 1, !tbaa !30
  %491 = icmp ne i8 %490, 0
  br i1 %491, label %492, label %495

492:                                              ; preds = %489
  %493 = load i32, ptr %27, align 4, !tbaa !13
  %494 = add nsw i32 %493, 1
  store i32 %494, ptr %27, align 4, !tbaa !13
  br label %495

495:                                              ; preds = %492, %489
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #5
  br label %496

496:                                              ; preds = %495, %443
  %497 = load i32, ptr %27, align 4, !tbaa !13
  %498 = add nsw i32 %497, 1
  store i32 %498, ptr %27, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %172

499:                                              ; preds = %178
  %500 = load ptr, ptr %7, align 8, !tbaa !5
  %501 = load ptr, ptr %26, align 8, !tbaa !5
  %502 = call { ptr, i32 } @StringBuilder__toString__(ptr noundef %501)
  %503 = getelementptr inbounds { ptr, i32 }, ptr %46, i32 0, i32 0
  %504 = extractvalue { ptr, i32 } %502, 0
  store ptr %504, ptr %503, align 8
  %505 = getelementptr inbounds { ptr, i32 }, ptr %46, i32 0, i32 1
  %506 = extractvalue { ptr, i32 } %502, 1
  store i32 %506, ptr %505, align 8
  %507 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 0
  %508 = load ptr, ptr %507, align 8
  %509 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 1
  %510 = load i32, ptr %509, align 8
  %511 = getelementptr inbounds { ptr, i32 }, ptr %46, i32 0, i32 0
  %512 = load ptr, ptr %511, align 8
  %513 = getelementptr inbounds { ptr, i32 }, ptr %46, i32 0, i32 1
  %514 = load i32, ptr %513, align 8
  call void @CGenerator__genFormatSlice__(ptr noundef %500, ptr %508, i32 %510, ptr %512, i32 %514)
  %515 = load ptr, ptr %9, align 8, !tbaa !5
  %516 = load ptr, ptr @mu_____string507, align 8
  %517 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string507, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %515, ptr %516, i32 %517)
  %518 = load ptr, ptr %9, align 8, !tbaa !5
  %519 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 0
  %520 = load ptr, ptr %519, align 8
  %521 = getelementptr inbounds { ptr, i32 }, ptr %19, i32 0, i32 1
  %522 = load i32, ptr %521, align 8
  call void @StringBuilder__write__(ptr noundef %518, ptr %520, i32 %522)
  %523 = load ptr, ptr %9, align 8, !tbaa !5
  %524 = load ptr, ptr @mu_____string303, align 8
  %525 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string303, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %523, ptr %524, i32 %525)
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @CGenerator__genFormatSlice__(ptr noundef, ptr, i32, ptr, i32) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{i64 0, i64 4, !13, i64 8, i64 8, !5}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !6, i64 24}
!15 = !{!"tag_____CallExpression__", !10, i64 0, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!16 = !{!17, !11, i64 8}
!17 = !{!"tag_____List__Node____", !6, i64 0, !11, i64 8, !11, i64 12}
!18 = !{!17, !6, i64 0}
!19 = !{!10, !11, i64 0}
!20 = !{i64 0, i64 8, !5, i64 8, i64 4, !13}
!21 = !{!22, !6, i64 8}
!22 = !{!"tag_____IAllocator__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!23 = !{!22, !6, i64 0}
!24 = !{i64 0, i64 8, !5, i64 8, i64 4, !13, i64 12, i64 4, !13}
!25 = !{!26, !6, i64 40}
!26 = !{!"tag_____GenerateContext__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !11, i64 48, !11, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !27, i64 80, !11, i64 96, !27, i64 104, !11, i64 120, !6, i64 128, !6, i64 136, !7, i64 144}
!27 = !{!"", !6, i64 0, !11, i64 8}
!28 = !{!27, !11, i64 8}
!29 = !{!27, !6, i64 0}
!30 = !{!7, !7, i64 0}
!31 = !{!32, !6, i64 0}
!32 = !{!"tag_____Tag__", !6, i64 0, !6, i64 8}
!33 = !{!26, !6, i64 32}
!34 = !{!35, !6, i64 312}
!35 = !{!"tag_____CommonTags__", !32, i64 0, !32, i64 16, !32, i64 32, !32, i64 48, !32, i64 64, !32, i64 80, !32, i64 96, !32, i64 112, !32, i64 128, !32, i64 144, !32, i64 160, !32, i64 176, !32, i64 192, !32, i64 208, !32, i64 224, !32, i64 240, !32, i64 256, !32, i64 272, !32, i64 288, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376}
!36 = !{!35, !6, i64 304}
!37 = !{!35, !6, i64 288}
!38 = !{!35, !6, i64 256}


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

%struct.string__ = type { ptr, i32 }
%struct.tag_____IAllocator__ = type { ptr, ptr, ptr, ptr }
%struct.Node__ = type { i32, ptr }

@mu_____string437 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string500 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string497 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string409 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string503 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string507 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string504 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string505 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string502 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string506 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string303 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string410 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string324 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string501 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string492 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string493 = external dso_local local_unnamed_addr global %struct.string__, align 8
@top_____currentAllocator__ = external dso_local thread_local local_unnamed_addr global %struct.tag_____IAllocator__, align 8
@top_____abandonFn__ = external dso_local thread_local local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #0

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

; Function Attrs: nounwind uwtable
declare dso_local void @StringBuilder__write__(ptr noundef, ptr, i32) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @StringBuilder__writeChar__(ptr noundef, i8 noundef signext) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @CodeBuilder__writeLine__(ptr noundef, ptr, i32) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i32 } @StringBuilder__toString__(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @StringBuilder__clear__(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local { ptr, ptr } @CGenerator__nodeTag__(ptr noundef, i32, ptr) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @CGenerator__genExpression__(ptr noundef, i32, ptr, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i32 } @CGenerator__newLocal__(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @CGenerator__writeNs__(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @CGenerator__genFormat__(ptr noundef %0, ptr nocapture noundef readonly %1, i32 %2, ptr readonly %3, ptr noundef %4) local_unnamed_addr #2 {
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %6, label %16

6:                                                ; preds = %5
  %7 = getelementptr inbounds i8, ptr %1, i64 24
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %8, i64 8
  %10 = load i32, ptr %9, align 8, !tbaa !12
  %.not192 = icmp eq i32 %10, 0
  br i1 %.not192, label %11, label %14

11:                                               ; preds = %6
  %12 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %13 = load ptr, ptr %12, align 8, !tbaa !14
  tail call void %13(i32 noundef -3) #3
  br label %14

14:                                               ; preds = %11, %6
  %15 = load ptr, ptr %8, align 8, !tbaa !15
  %.sroa.0140.0.copyload141 = load i32, ptr %15, align 8, !tbaa !16
  %.sroa.6.0..sroa_idx145 = getelementptr inbounds i8, ptr %15, i64 8
  %.sroa.6.0.copyload146 = load ptr, ptr %.sroa.6.0..sroa_idx145, align 8, !tbaa !14
  br label %16

16:                                               ; preds = %5, %14
  %.sroa.0140.0 = phi i32 [ %.sroa.0140.0.copyload141, %14 ], [ %2, %5 ]
  %.sroa.6.0 = phi ptr [ %.sroa.6.0.copyload146, %14 ], [ %3, %5 ]
  %17 = icmp eq i32 %.sroa.0140.0, 20
  br i1 %17, label %21, label %18

18:                                               ; preds = %16
  %19 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %20 = load ptr, ptr %19, align 8, !tbaa !14
  tail call void %20(i32 noundef -4) #3
  br label %21

21:                                               ; preds = %18, %16
  %22 = getelementptr inbounds i8, ptr %.sroa.6.0, i64 8
  %.sroa.0.0.copyload = load ptr, ptr %22, align 8, !tbaa !14
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %.sroa.6.0, i64 16
  %.sroa.6.0.copyload = load i32, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !16
  %23 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  %25 = load ptr, ptr %24, align 8, !tbaa !17
  %26 = load ptr, ptr %23, align 8, !tbaa !19
  %27 = tail call ptr %25(ptr noundef %26, i64 noundef 16) #3
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %27, i8 0, i64 16, i1 false)
  %28 = tail call { ptr, i32 } @CGenerator__newLocal__(ptr noundef %0)
  %29 = extractvalue { ptr, i32 } %28, 0
  %30 = extractvalue { ptr, i32 } %28, 1
  %31 = load ptr, ptr @mu_____string497, align 8
  %32 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string497, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %31, i32 %32)
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %29, i32 %30)
  %33 = load ptr, ptr @mu_____string324, align 8
  %34 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string324, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %33, i32 %34)
  %35 = getelementptr inbounds i8, ptr %0, i64 40
  %36 = load ptr, ptr %35, align 8, !tbaa !20
  %37 = tail call { ptr, i32 } @StringBuilder__toString__(ptr noundef %27)
  %38 = extractvalue { ptr, i32 } %37, 0
  %39 = extractvalue { ptr, i32 } %37, 1
  tail call void @CodeBuilder__writeLine__(ptr noundef %36, ptr %38, i32 %39)
  tail call void @StringBuilder__clear__(ptr noundef %27)
  %40 = load ptr, ptr @mu_____string492, align 8
  %41 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string492, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %40, i32 %41)
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %29, i32 %30)
  %42 = load ptr, ptr @mu_____string493, align 8
  %43 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string493, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %42, i32 %43)
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %29, i32 %30)
  %44 = load ptr, ptr @mu_____string437, align 8
  %45 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string437, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %44, i32 %45)
  %46 = load ptr, ptr %35, align 8, !tbaa !20
  %47 = tail call { ptr, i32 } @StringBuilder__toString__(ptr noundef %27)
  %48 = extractvalue { ptr, i32 } %47, 0
  %49 = extractvalue { ptr, i32 } %47, 1
  tail call void @CodeBuilder__writeLine__(ptr noundef %46, ptr %48, i32 %49)
  tail call void @StringBuilder__clear__(ptr noundef %27)
  %50 = load ptr, ptr %24, align 8, !tbaa !17
  %51 = load ptr, ptr %23, align 8, !tbaa !19
  %52 = tail call ptr %50(ptr noundef %51, i64 noundef 16) #3
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %52, i8 0, i64 16, i1 false)
  %53 = icmp sgt i32 %.sroa.6.0.copyload, 0
  br i1 %53, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %21
  %. = zext i1 %.not to i32
  %54 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %55 = add nsw i32 %.sroa.6.0.copyload, -1
  %56 = getelementptr inbounds i8, ptr %1, i64 24
  %57 = getelementptr inbounds i8, ptr %0, i64 32
  br label %58

58:                                               ; preds = %.lr.ph, %153
  %.0172207 = phi i32 [ %., %.lr.ph ], [ %.2, %153 ]
  %.0173206 = phi i32 [ 0, %.lr.ph ], [ %154, %153 ]
  %59 = icmp ult i32 %.0173206, %.sroa.6.0.copyload
  br i1 %59, label %62, label %60

60:                                               ; preds = %58
  %61 = load ptr, ptr %54, align 8, !tbaa !14
  tail call void %61(i32 noundef -3) #3
  br label %62

62:                                               ; preds = %60, %58
  %63 = zext i32 %.0173206 to i64
  %64 = getelementptr inbounds i8, ptr %.sroa.0.0.copyload, i64 %63
  %65 = load i8, ptr %64, align 1, !tbaa !23
  %66 = icmp eq i8 %65, 123
  br i1 %66, label %67, label %141

67:                                               ; preds = %62
  %68 = add nsw i32 %.0173206, 1
  %69 = icmp slt i32 %68, %.sroa.6.0.copyload
  br i1 %69, label %70, label %140

70:                                               ; preds = %67
  %71 = icmp ult i32 %68, %.sroa.6.0.copyload
  br i1 %71, label %74, label %72

72:                                               ; preds = %70
  %73 = load ptr, ptr %54, align 8, !tbaa !14
  tail call void %73(i32 noundef -3) #3
  br label %74

74:                                               ; preds = %72, %70
  %75 = zext i32 %68 to i64
  %76 = getelementptr inbounds i8, ptr %.sroa.0.0.copyload, i64 %75
  %77 = load i8, ptr %76, align 1, !tbaa !23
  switch i8 %77, label %139 [
    i8 125, label %78
    i8 123, label %138
  ]

78:                                               ; preds = %74
  %79 = load ptr, ptr %56, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %79, i64 8
  %81 = load i32, ptr %80, align 8, !tbaa !12
  %82 = icmp ult i32 %.0172207, %81
  br i1 %82, label %85, label %83

83:                                               ; preds = %78
  %84 = load ptr, ptr %54, align 8, !tbaa !14
  tail call void %84(i32 noundef -3) #3
  br label %85

85:                                               ; preds = %83, %78
  %86 = load ptr, ptr %79, align 8, !tbaa !15
  %87 = zext i32 %.0172207 to i64
  %88 = getelementptr inbounds %struct.Node__, ptr %86, i64 %87
  %.sroa.019.0.copyload = load i32, ptr %88, align 8, !tbaa !16
  %.sroa.724.0..sroa_idx = getelementptr inbounds i8, ptr %88, i64 8
  %.sroa.724.0.copyload = load ptr, ptr %.sroa.724.0..sroa_idx, align 8, !tbaa !14
  %89 = tail call { ptr, ptr } @CGenerator__nodeTag__(ptr noundef %0, i32 %.sroa.019.0.copyload, ptr %.sroa.724.0.copyload)
  %90 = extractvalue { ptr, ptr } %89, 0
  %91 = tail call { ptr, i32 } @StringBuilder__toString__(ptr noundef %52)
  %92 = extractvalue { ptr, i32 } %91, 0
  %93 = extractvalue { ptr, i32 } %91, 1
  tail call void @CGenerator__genFormatSlice__(ptr noundef %0, ptr %29, i32 %30, ptr %92, i32 %93)
  tail call void @StringBuilder__clear__(ptr noundef %52)
  %94 = load ptr, ptr %57, align 8, !tbaa !24
  %95 = getelementptr inbounds i8, ptr %94, i64 312
  %96 = load ptr, ptr %95, align 8, !tbaa !25
  %97 = icmp eq ptr %90, %96
  br i1 %97, label %.thread, label %98

98:                                               ; preds = %85
  %99 = getelementptr inbounds i8, ptr %94, i64 304
  %100 = load ptr, ptr %99, align 8, !tbaa !28
  %.not205 = icmp eq ptr %90, %100
  br i1 %.not205, label %.thread, label %116

.thread:                                          ; preds = %85, %98
  %101 = load ptr, ptr @mu_____string501, align 8
  %102 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string501, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %101, i32 %102)
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %29, i32 %30)
  %103 = load ptr, ptr @mu_____string502, align 8
  %104 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string502, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %103, i32 %104)
  %105 = load ptr, ptr %35, align 8, !tbaa !20
  %106 = tail call { ptr, i32 } @StringBuilder__toString__(ptr noundef %27)
  %107 = extractvalue { ptr, i32 } %106, 0
  %108 = extractvalue { ptr, i32 } %106, 1
  tail call void @CodeBuilder__writeLine__(ptr noundef %105, ptr %107, i32 %108)
  tail call void @StringBuilder__clear__(ptr noundef %27)
  %109 = load ptr, ptr %57, align 8, !tbaa !24
  %110 = getelementptr inbounds i8, ptr %109, i64 288
  %111 = load ptr, ptr %110, align 8, !tbaa !29
  tail call void @CGenerator__writeNs__(ptr noundef %27, ptr noundef %111)
  %112 = load ptr, ptr @mu_____string503, align 8
  %113 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string503, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %112, i32 %113)
  tail call void @CGenerator__genExpression__(ptr noundef nonnull %0, i32 %.sroa.019.0.copyload, ptr %.sroa.724.0.copyload, ptr noundef %27)
  %114 = load ptr, ptr @mu_____string504, align 8
  %115 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string504, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %114, i32 %115)
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %29, i32 %30)
  br label %130

116:                                              ; preds = %98
  %117 = getelementptr inbounds i8, ptr %94, i64 256
  %118 = load ptr, ptr %117, align 8, !tbaa !30
  %119 = icmp eq ptr %90, %118
  br i1 %119, label %120, label %125

120:                                              ; preds = %116
  %121 = load ptr, ptr @mu_____string500, align 8
  %122 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string500, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %121, i32 %122)
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %29, i32 %30)
  %123 = load ptr, ptr @mu_____string409, align 8
  %124 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string409, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %123, i32 %124)
  tail call void @CGenerator__genExpression__(ptr noundef nonnull %0, i32 %.sroa.019.0.copyload, ptr %.sroa.724.0.copyload, ptr noundef %27)
  br label %130

125:                                              ; preds = %116
  tail call void @CGenerator__writeNs__(ptr noundef %27, ptr noundef %90)
  %126 = load ptr, ptr @mu_____string505, align 8
  %127 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string505, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %126, i32 %127)
  tail call void @CGenerator__genExpression__(ptr noundef nonnull %0, i32 %.sroa.019.0.copyload, ptr %.sroa.724.0.copyload, ptr noundef %27)
  %128 = load ptr, ptr @mu_____string506, align 8
  %129 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string506, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %128, i32 %129)
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %29, i32 %30)
  br label %130

130:                                              ; preds = %120, %125, %.thread
  %131 = load ptr, ptr @mu_____string410, align 8
  %132 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string410, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %27, ptr %131, i32 %132)
  %133 = load ptr, ptr %35, align 8, !tbaa !20
  %134 = tail call { ptr, i32 } @StringBuilder__toString__(ptr noundef %27)
  %135 = extractvalue { ptr, i32 } %134, 0
  %136 = extractvalue { ptr, i32 } %134, 1
  tail call void @CodeBuilder__writeLine__(ptr noundef %133, ptr %135, i32 %136)
  tail call void @StringBuilder__clear__(ptr noundef %27)
  %137 = add nsw i32 %.0172207, 1
  br label %153

138:                                              ; preds = %74
  tail call void @StringBuilder__writeChar__(ptr noundef %52, i8 noundef signext 123)
  br label %153

139:                                              ; preds = %74
  tail call void @StringBuilder__writeChar__(ptr noundef %52, i8 noundef signext 123)
  tail call void @StringBuilder__writeChar__(ptr noundef %52, i8 noundef signext %77)
  br label %153

140:                                              ; preds = %67
  tail call void @StringBuilder__writeChar__(ptr noundef %52, i8 noundef signext 123)
  br label %153

141:                                              ; preds = %62
  tail call void @StringBuilder__writeChar__(ptr noundef %52, i8 noundef signext %65)
  %142 = icmp ne i8 %65, 125
  %143 = icmp sge i32 %.0173206, %55
  %narrow.not = select i1 %142, i1 true, i1 %143
  br i1 %narrow.not, label %.thread198, label %144

144:                                              ; preds = %141
  %145 = add nsw i32 %.0173206, 1
  %146 = icmp ult i32 %145, %.sroa.6.0.copyload
  br i1 %146, label %149, label %147

147:                                              ; preds = %144
  %148 = load ptr, ptr %54, align 8, !tbaa !14
  tail call void %148(i32 noundef -3) #3
  br label %149

149:                                              ; preds = %144, %147
  %150 = zext i32 %145 to i64
  %151 = getelementptr inbounds i8, ptr %.sroa.0.0.copyload, i64 %150
  %152 = load i8, ptr %151, align 1, !tbaa !23
  %.fr = freeze i8 %152
  %.not204 = icmp eq i8 %.fr, 125
  br i1 %.not204, label %153, label %.thread198

.thread198:                                       ; preds = %141, %149
  br label %153

153:                                              ; preds = %.thread198, %149, %130, %139, %138, %140
  %.2175 = phi i32 [ %68, %140 ], [ %68, %138 ], [ %68, %139 ], [ %68, %130 ], [ %.0173206, %.thread198 ], [ %145, %149 ]
  %.2 = phi i32 [ %.0172207, %140 ], [ %.0172207, %138 ], [ %.0172207, %139 ], [ %137, %130 ], [ %.0172207, %.thread198 ], [ %.0172207, %149 ]
  %154 = add nsw i32 %.2175, 1
  %155 = icmp slt i32 %154, %.sroa.6.0.copyload
  br i1 %155, label %58, label %._crit_edge

._crit_edge:                                      ; preds = %153, %21
  %156 = tail call { ptr, i32 } @StringBuilder__toString__(ptr noundef %52)
  %157 = extractvalue { ptr, i32 } %156, 0
  %158 = extractvalue { ptr, i32 } %156, 1
  tail call void @CGenerator__genFormatSlice__(ptr noundef %0, ptr %29, i32 %30, ptr %157, i32 %158)
  %159 = load ptr, ptr @mu_____string507, align 8
  %160 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string507, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %159, i32 %160)
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %29, i32 %30)
  %161 = load ptr, ptr @mu_____string303, align 8
  %162 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string303, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %161, i32 %162)
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @CGenerator__genFormatSlice__(ptr noundef, ptr, i32, ptr, i32) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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, !11, i64 24}
!6 = !{!"tag_____CallExpression__", !7, i64 0, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48}
!7 = !{!"", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 8}
!13 = !{!"tag_____List__Node____", !11, i64 0, !8, i64 8, !8, i64 12}
!14 = !{!11, !11, i64 0}
!15 = !{!13, !11, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !11, i64 8}
!18 = !{!"tag_____IAllocator__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!19 = !{!18, !11, i64 0}
!20 = !{!21, !11, i64 40}
!21 = !{!"tag_____GenerateContext__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !8, i64 48, !8, i64 52, !11, i64 56, !11, i64 64, !11, i64 72, !22, i64 80, !8, i64 96, !22, i64 104, !8, i64 120, !11, i64 128, !11, i64 136, !9, i64 144}
!22 = !{!"", !11, i64 0, !8, i64 8}
!23 = !{!9, !9, i64 0}
!24 = !{!21, !11, i64 32}
!25 = !{!26, !11, i64 312}
!26 = !{!"tag_____CommonTags__", !27, i64 0, !27, i64 16, !27, i64 32, !27, i64 48, !27, i64 64, !27, i64 80, !27, i64 96, !27, i64 112, !27, i64 128, !27, i64 144, !27, i64 160, !27, i64 176, !27, i64 192, !27, i64 208, !27, i64 224, !27, i64 240, !27, i64 256, !27, i64 272, !27, i64 288, !11, i64 304, !11, i64 312, !11, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !11, i64 360, !11, i64 368, !11, i64 376}
!27 = !{!"tag_____Tag__", !11, i64 0, !11, i64 8}
!28 = !{!26, !11, i64 304}
!29 = !{!26, !11, i64 288}
!30 = !{!26, !11, i64 256}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass