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

; 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_____GenerateContext__ = type { ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, ptr, %struct.string__, i32, %struct.string__, i32, ptr, ptr, i8 }
%struct.tag_____ForIndexStatement__ = type { ptr, ptr, ptr, %struct.Node__, ptr, %struct.Node__, ptr, ptr }
%struct.tag_____ExpressionStatement__ = type { %struct.Node__ }
%struct.tag_____BinaryOperatorExpression__ = type { ptr, %struct.Node__, %struct.Node__ }
%struct.tag_____BlockStatement__ = type { ptr, ptr, ptr }
%struct.tag_____List__Node____ = type { ptr, i32, i32 }

@mu_____string0 = external dso_local global %struct.string__, align 8
@mu_____string423 = external dso_local global %struct.string__, align 8
@mu_____string306 = external dso_local global %struct.string__, align 8
@mu_____string308 = external dso_local global %struct.string__, align 8
@mu_____string447 = external dso_local global %struct.string__, align 8
@mu_____string552 = external dso_local global %struct.string__, align 8
@mu_____string314 = external dso_local global %struct.string__, align 8
@mu_____string544 = 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 zeroext i8 @string__equals__(ptr, i32, ptr, i32) #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 } @CGenerator__symId__(ptr noundef) #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 void @CodeBuilder__indent__(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @CodeBuilder__unIndent__(ptr noundef) #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 void @CGenerator__genStatement__(ptr noundef, i32, ptr) #4

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

; Function Attrs: nounwind uwtable
define dso_local void @CGenerator__genForIndexStatement__(ptr noundef %0, ptr noundef %1) #4 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.string__, align 8
  %6 = alloca %struct.Node__, align 8
  %7 = alloca %struct.Node__, align 8
  %8 = alloca %struct.string__, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %struct.tag_____StringBuilder__, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %struct.string__, align 8
  %13 = alloca %struct.string__, align 8
  %14 = alloca i32, align 4
  %15 = alloca %struct.string__, align 8
  %16 = alloca i32, align 4
  %17 = alloca %struct.string__, align 8
  %18 = alloca %struct.string__, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca %struct.Node__, align 8
  %22 = alloca %struct.string__, align 8
  %23 = alloca %struct.string__, align 8
  %24 = alloca %struct.string__, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %25, i32 0, i32 5
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = load ptr, ptr @mu_____string314, align 8
  %29 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string314, i32 0, i32 1), align 8
  call void @CodeBuilder__writeLine__(ptr noundef %27, ptr %28, i32 %29)
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %30, i32 0, i32 5
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  call void @CodeBuilder__indent__(ptr noundef %32)
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 @mu_____string0, i64 16, i1 false), !tbaa.struct !13
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.tag_____ForIndexStatement__, ptr %33, i32 0, i32 1
  %35 = load ptr, ptr %34, align 8, !tbaa !15
  %36 = icmp ne ptr %35, null
  br i1 %36, label %37, label %70

37:                                               ; preds = %2
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.tag_____ForIndexStatement__, ptr %39, i32 0, i32 1
  %41 = load ptr, ptr %40, align 8, !tbaa !15
  call void @CGenerator__genExpressionStatement__(ptr noundef %38, ptr noundef %41)
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #5
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.tag_____ForIndexStatement__, ptr %42, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8, !tbaa !15
  %45 = getelementptr inbounds %struct.tag_____ExpressionStatement__, ptr %44, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 %45, i64 16, i1 false), !tbaa.struct !18
  %46 = getelementptr inbounds %struct.Node__, ptr %6, i32 0, i32 0
  %47 = load i32, ptr %46, align 8, !tbaa !19
  %48 = icmp eq i32 %47, 12
  br i1 %48, label %52, label %49

49:                                               ; preds = %37
  %50 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %51 = load ptr, ptr %50, align 8, !tbaa !5
  call void %51(i32 noundef -4)
  br label %52

52:                                               ; preds = %49, %37
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #5
  %53 = getelementptr inbounds %struct.Node__, ptr %6, i32 0, i32 1
  %54 = load ptr, ptr %53, align 8, !tbaa !20
  %55 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %54, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %55, i64 16, i1 false), !tbaa.struct !18
  %56 = getelementptr inbounds %struct.Node__, ptr %7, i32 0, i32 0
  %57 = load i32, ptr %56, align 8, !tbaa !19
  %58 = icmp eq i32 %57, 21
  br i1 %58, label %62, label %59

59:                                               ; preds = %52
  %60 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  call void %61(i32 noundef -4)
  br label %62

62:                                               ; preds = %59, %52
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #5
  %63 = getelementptr inbounds %struct.Node__, ptr %7, i32 0, i32 1
  %64 = load ptr, ptr %63, align 8, !tbaa !20
  %65 = call { ptr, i32 } @CGenerator__symId__(ptr noundef %64)
  %66 = getelementptr inbounds { ptr, i32 }, ptr %8, i32 0, i32 0
  %67 = extractvalue { ptr, i32 } %65, 0
  store ptr %67, ptr %66, align 8
  %68 = getelementptr inbounds { ptr, i32 }, ptr %8, i32 0, i32 1
  %69 = extractvalue { ptr, i32 } %65, 1
  store i32 %69, ptr %68, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 %8, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #5
  br label %70

70:                                               ; preds = %62, %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %71 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %72 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %71, i32 0, i32 1
  %73 = load ptr, ptr %72, align 8, !tbaa !21
  %74 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %75 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %74, i32 0, i32 0
  %76 = load ptr, ptr %75, align 8, !tbaa !23
  %77 = call ptr %73(ptr noundef %76, i64 noundef 16)
  store ptr %77, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 16, i1 false)
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %78, ptr align 8 %10, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %79, ptr %11, align 8, !tbaa !5
  %80 = load ptr, ptr %11, align 8, !tbaa !5
  %81 = load ptr, ptr @mu_____string544, align 8
  %82 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string544, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %80, ptr %81, i32 %82)
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.tag_____ForIndexStatement__, ptr %84, i32 0, i32 3
  %86 = load ptr, ptr %11, align 8, !tbaa !5
  %87 = getelementptr inbounds { i32, ptr }, ptr %85, i32 0, i32 0
  %88 = load i32, ptr %87, align 8
  %89 = getelementptr inbounds { i32, ptr }, ptr %85, i32 0, i32 1
  %90 = load ptr, ptr %89, align 8
  call void @CGenerator__genExpression__(ptr noundef %83, i32 %88, ptr %90, ptr noundef %86)
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  %92 = load ptr, ptr @mu_____string447, align 8
  %93 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string447, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %91, ptr %92, i32 %93)
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %94, i32 0, i32 5
  %96 = load ptr, ptr %95, align 8, !tbaa !9
  %97 = load ptr, ptr %11, align 8, !tbaa !5
  %98 = call { ptr, i32 } @StringBuilder__toString__(ptr noundef %97)
  %99 = getelementptr inbounds { ptr, i32 }, ptr %12, i32 0, i32 0
  %100 = extractvalue { ptr, i32 } %98, 0
  store ptr %100, ptr %99, align 8
  %101 = getelementptr inbounds { ptr, i32 }, ptr %12, i32 0, i32 1
  %102 = extractvalue { ptr, i32 } %98, 1
  store i32 %102, ptr %101, align 8
  %103 = getelementptr inbounds { ptr, i32 }, ptr %12, i32 0, i32 0
  %104 = load ptr, ptr %103, align 8
  %105 = getelementptr inbounds { ptr, i32 }, ptr %12, i32 0, i32 1
  %106 = load i32, ptr %105, align 8
  call void @CodeBuilder__writeLine__(ptr noundef %96, ptr %104, i32 %106)
  %107 = load ptr, ptr %11, align 8, !tbaa !5
  call void @StringBuilder__clear__(ptr noundef %107)
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %108, i32 0, i32 5
  %110 = load ptr, ptr %109, align 8, !tbaa !9
  call void @CodeBuilder__indent__(ptr noundef %110)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %111, i32 0, i32 11
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %112, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %113, i32 0, i32 12
  %115 = load i32, ptr %114, align 8, !tbaa !25
  store i32 %115, ptr %14, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  %116 = load ptr, ptr %3, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %116, i32 0, i32 13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %117, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %118, i32 0, i32 14
  %120 = load i32, ptr %119, align 8, !tbaa !26
  store i32 %120, ptr %16, align 4, !tbaa !14
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %121, i32 0, i32 11
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = call { ptr, i32 } @CGenerator__newLabel__(ptr noundef %123)
  %125 = getelementptr inbounds { ptr, i32 }, ptr %17, i32 0, i32 0
  %126 = extractvalue { ptr, i32 } %124, 0
  store ptr %126, ptr %125, align 8
  %127 = getelementptr inbounds { ptr, i32 }, ptr %17, i32 0, i32 1
  %128 = extractvalue { ptr, i32 } %124, 1
  store i32 %128, ptr %127, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %122, ptr align 8 %17, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %129, i32 0, i32 12
  store i32 0, ptr %130, align 8, !tbaa !25
  %131 = load ptr, ptr %3, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %131, i32 0, i32 13
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = call { ptr, i32 } @CGenerator__newLabel__(ptr noundef %133)
  %135 = getelementptr inbounds { ptr, i32 }, ptr %18, i32 0, i32 0
  %136 = extractvalue { ptr, i32 } %134, 0
  store ptr %136, ptr %135, align 8
  %137 = getelementptr inbounds { ptr, i32 }, ptr %18, i32 0, i32 1
  %138 = extractvalue { ptr, i32 } %134, 1
  store i32 %138, ptr %137, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %132, ptr align 8 %18, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  %139 = load ptr, ptr %3, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %139, i32 0, i32 14
  store i32 0, ptr %140, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %141 = load ptr, ptr %4, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.tag_____ForIndexStatement__, ptr %141, i32 0, i32 7
  %143 = load ptr, ptr %142, align 8, !tbaa !27
  %144 = getelementptr inbounds %struct.tag_____BlockStatement__, ptr %143, i32 0, i32 1
  %145 = load ptr, ptr %144, align 8, !tbaa !28
  store ptr %145, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !14
  br label %146

146:                                              ; preds = %152, %70
  %147 = load i32, ptr %20, align 4, !tbaa !14
  %148 = load ptr, ptr %19, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.tag_____List__Node____, ptr %148, i32 0, i32 1
  %150 = load i32, ptr %149, align 8, !tbaa !30
  %151 = icmp slt i32 %147, %150
  br i1 %151, label %152, label %166

152:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  %153 = load ptr, ptr %19, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.tag_____List__Node____, ptr %153, i32 0, i32 0
  %155 = load ptr, ptr %154, align 8, !tbaa !32
  %156 = load i32, ptr %20, align 4, !tbaa !14
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds %struct.Node__, ptr %155, i64 %157
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %158, i64 16, i1 false), !tbaa.struct !18
  %159 = load ptr, ptr %3, align 8, !tbaa !5
  %160 = getelementptr inbounds { i32, ptr }, ptr %21, i32 0, i32 0
  %161 = load i32, ptr %160, align 8
  %162 = getelementptr inbounds { i32, ptr }, ptr %21, i32 0, i32 1
  %163 = load ptr, ptr %162, align 8
  call void @CGenerator__genStatement__(ptr noundef %159, i32 %161, ptr %163)
  %164 = load i32, ptr %20, align 4, !tbaa !14
  %165 = add nsw i32 %164, 1
  store i32 %165, ptr %20, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  br label %146, !llvm.loop !33

166:                                              ; preds = %146
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  %167 = load ptr, ptr %3, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %167, i32 0, i32 14
  %169 = load i32, ptr %168, align 8, !tbaa !26
  %170 = icmp sgt i32 %169, 0
  br i1 %170, label %171, label %207

171:                                              ; preds = %166
  %172 = load ptr, ptr %3, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %172, i32 0, i32 5
  %174 = load ptr, ptr %173, align 8, !tbaa !9
  call void @CodeBuilder__unIndent__(ptr noundef %174)
  %175 = load ptr, ptr %11, align 8, !tbaa !5
  %176 = load ptr, ptr %3, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %176, i32 0, i32 13
  %178 = getelementptr inbounds { ptr, i32 }, ptr %177, i32 0, i32 0
  %179 = load ptr, ptr %178, align 8
  %180 = getelementptr inbounds { ptr, i32 }, ptr %177, i32 0, i32 1
  %181 = load i32, ptr %180, align 8
  call void @StringBuilder__write__(ptr noundef %175, ptr %179, i32 %181)
  %182 = load ptr, ptr %11, align 8, !tbaa !5
  %183 = load ptr, ptr @mu_____string306, align 8
  %184 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string306, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %182, ptr %183, i32 %184)
  %185 = load ptr, ptr %3, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %185, i32 0, i32 5
  %187 = load ptr, ptr %186, align 8, !tbaa !9
  %188 = load ptr, ptr %11, align 8, !tbaa !5
  %189 = call { ptr, i32 } @StringBuilder__toString__(ptr noundef %188)
  %190 = getelementptr inbounds { ptr, i32 }, ptr %22, i32 0, i32 0
  %191 = extractvalue { ptr, i32 } %189, 0
  store ptr %191, ptr %190, align 8
  %192 = getelementptr inbounds { ptr, i32 }, ptr %22, i32 0, i32 1
  %193 = extractvalue { ptr, i32 } %189, 1
  store i32 %193, ptr %192, align 8
  %194 = getelementptr inbounds { ptr, i32 }, ptr %22, i32 0, i32 0
  %195 = load ptr, ptr %194, align 8
  %196 = getelementptr inbounds { ptr, i32 }, ptr %22, i32 0, i32 1
  %197 = load i32, ptr %196, align 8
  call void @CodeBuilder__writeLine__(ptr noundef %187, ptr %195, i32 %197)
  %198 = load ptr, ptr %11, align 8, !tbaa !5
  call void @StringBuilder__clear__(ptr noundef %198)
  %199 = load ptr, ptr %3, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %199, i32 0, i32 5
  %201 = load ptr, ptr %200, align 8, !tbaa !9
  call void @CodeBuilder__indent__(ptr noundef %201)
  %202 = load ptr, ptr %3, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %202, i32 0, i32 5
  %204 = load ptr, ptr %203, align 8, !tbaa !9
  %205 = load ptr, ptr @mu_____string423, align 8
  %206 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string423, i32 0, i32 1), align 8
  call void @CodeBuilder__writeLine__(ptr noundef %204, ptr %205, i32 %206)
  br label %207

207:                                              ; preds = %171, %166
  %208 = load ptr, ptr %4, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.tag_____ForIndexStatement__, ptr %208, i32 0, i32 5
  %210 = getelementptr inbounds %struct.Node__, ptr %209, i32 0, i32 1
  %211 = load ptr, ptr %210, align 8, !tbaa !35
  %212 = icmp ne ptr %211, null
  br i1 %212, label %213, label %221

213:                                              ; preds = %207
  %214 = load ptr, ptr %3, align 8, !tbaa !5
  %215 = load ptr, ptr %4, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.tag_____ForIndexStatement__, ptr %215, i32 0, i32 5
  %217 = getelementptr inbounds { i32, ptr }, ptr %216, i32 0, i32 0
  %218 = load i32, ptr %217, align 8
  %219 = getelementptr inbounds { i32, ptr }, ptr %216, i32 0, i32 1
  %220 = load ptr, ptr %219, align 8
  call void @CGenerator__genStatement__(ptr noundef %214, i32 %218, ptr %220)
  br label %254

221:                                              ; preds = %207
  %222 = getelementptr inbounds { ptr, i32 }, ptr %5, i32 0, i32 0
  %223 = load ptr, ptr %222, align 8
  %224 = getelementptr inbounds { ptr, i32 }, ptr %5, i32 0, i32 1
  %225 = load i32, ptr %224, align 8
  %226 = load ptr, ptr @mu_____string0, align 8
  %227 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string0, i32 0, i32 1), align 8
  %228 = call zeroext i8 @string__equals__(ptr %223, i32 %225, ptr %226, i32 %227)
  %229 = icmp ne i8 %228, 0
  br i1 %229, label %253, label %230

230:                                              ; preds = %221
  %231 = load ptr, ptr %11, align 8, !tbaa !5
  %232 = getelementptr inbounds { ptr, i32 }, ptr %5, i32 0, i32 0
  %233 = load ptr, ptr %232, align 8
  %234 = getelementptr inbounds { ptr, i32 }, ptr %5, i32 0, i32 1
  %235 = load i32, ptr %234, align 8
  call void @StringBuilder__write__(ptr noundef %231, ptr %233, i32 %235)
  %236 = load ptr, ptr %11, align 8, !tbaa !5
  %237 = load ptr, ptr @mu_____string552, align 8
  %238 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string552, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %236, ptr %237, i32 %238)
  %239 = load ptr, ptr %3, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %239, i32 0, i32 5
  %241 = load ptr, ptr %240, align 8, !tbaa !9
  %242 = load ptr, ptr %11, align 8, !tbaa !5
  %243 = call { ptr, i32 } @StringBuilder__toString__(ptr noundef %242)
  %244 = getelementptr inbounds { ptr, i32 }, ptr %23, i32 0, i32 0
  %245 = extractvalue { ptr, i32 } %243, 0
  store ptr %245, ptr %244, align 8
  %246 = getelementptr inbounds { ptr, i32 }, ptr %23, i32 0, i32 1
  %247 = extractvalue { ptr, i32 } %243, 1
  store i32 %247, ptr %246, align 8
  %248 = getelementptr inbounds { ptr, i32 }, ptr %23, i32 0, i32 0
  %249 = load ptr, ptr %248, align 8
  %250 = getelementptr inbounds { ptr, i32 }, ptr %23, i32 0, i32 1
  %251 = load i32, ptr %250, align 8
  call void @CodeBuilder__writeLine__(ptr noundef %241, ptr %249, i32 %251)
  %252 = load ptr, ptr %11, align 8, !tbaa !5
  call void @StringBuilder__clear__(ptr noundef %252)
  br label %253

253:                                              ; preds = %230, %221
  br label %254

254:                                              ; preds = %253, %213
  %255 = load ptr, ptr %3, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %255, i32 0, i32 5
  %257 = load ptr, ptr %256, align 8, !tbaa !9
  call void @CodeBuilder__unIndent__(ptr noundef %257)
  %258 = load ptr, ptr %3, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %258, i32 0, i32 5
  %260 = load ptr, ptr %259, align 8, !tbaa !9
  %261 = load ptr, ptr @mu_____string308, align 8
  %262 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string308, i32 0, i32 1), align 8
  call void @CodeBuilder__writeLine__(ptr noundef %260, ptr %261, i32 %262)
  %263 = load ptr, ptr %3, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %263, i32 0, i32 12
  %265 = load i32, ptr %264, align 8, !tbaa !25
  %266 = icmp sgt i32 %265, 0
  br i1 %266, label %267, label %303

267:                                              ; preds = %254
  %268 = load ptr, ptr %3, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %268, i32 0, i32 5
  %270 = load ptr, ptr %269, align 8, !tbaa !9
  call void @CodeBuilder__unIndent__(ptr noundef %270)
  %271 = load ptr, ptr %11, align 8, !tbaa !5
  %272 = load ptr, ptr %3, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %272, i32 0, i32 11
  %274 = getelementptr inbounds { ptr, i32 }, ptr %273, i32 0, i32 0
  %275 = load ptr, ptr %274, align 8
  %276 = getelementptr inbounds { ptr, i32 }, ptr %273, i32 0, i32 1
  %277 = load i32, ptr %276, align 8
  call void @StringBuilder__write__(ptr noundef %271, ptr %275, i32 %277)
  %278 = load ptr, ptr %11, align 8, !tbaa !5
  %279 = load ptr, ptr @mu_____string306, align 8
  %280 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string306, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %278, ptr %279, i32 %280)
  %281 = load ptr, ptr %3, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %281, i32 0, i32 5
  %283 = load ptr, ptr %282, align 8, !tbaa !9
  %284 = load ptr, ptr %11, align 8, !tbaa !5
  %285 = call { ptr, i32 } @StringBuilder__toString__(ptr noundef %284)
  %286 = getelementptr inbounds { ptr, i32 }, ptr %24, i32 0, i32 0
  %287 = extractvalue { ptr, i32 } %285, 0
  store ptr %287, ptr %286, align 8
  %288 = getelementptr inbounds { ptr, i32 }, ptr %24, i32 0, i32 1
  %289 = extractvalue { ptr, i32 } %285, 1
  store i32 %289, ptr %288, align 8
  %290 = getelementptr inbounds { ptr, i32 }, ptr %24, i32 0, i32 0
  %291 = load ptr, ptr %290, align 8
  %292 = getelementptr inbounds { ptr, i32 }, ptr %24, i32 0, i32 1
  %293 = load i32, ptr %292, align 8
  call void @CodeBuilder__writeLine__(ptr noundef %283, ptr %291, i32 %293)
  %294 = load ptr, ptr %11, align 8, !tbaa !5
  call void @StringBuilder__clear__(ptr noundef %294)
  %295 = load ptr, ptr %3, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %295, i32 0, i32 5
  %297 = load ptr, ptr %296, align 8, !tbaa !9
  call void @CodeBuilder__indent__(ptr noundef %297)
  %298 = load ptr, ptr %3, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %298, i32 0, i32 5
  %300 = load ptr, ptr %299, align 8, !tbaa !9
  %301 = load ptr, ptr @mu_____string423, align 8
  %302 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string423, i32 0, i32 1), align 8
  call void @CodeBuilder__writeLine__(ptr noundef %300, ptr %301, i32 %302)
  br label %303

303:                                              ; preds = %267, %254
  %304 = load ptr, ptr %3, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %304, i32 0, i32 5
  %306 = load ptr, ptr %305, align 8, !tbaa !9
  call void @CodeBuilder__unIndent__(ptr noundef %306)
  %307 = load ptr, ptr %3, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %307, i32 0, i32 5
  %309 = load ptr, ptr %308, align 8, !tbaa !9
  %310 = load ptr, ptr @mu_____string308, align 8
  %311 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string308, i32 0, i32 1), align 8
  call void @CodeBuilder__writeLine__(ptr noundef %309, ptr %310, i32 %311)
  %312 = load ptr, ptr %3, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %312, i32 0, i32 11
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %313, ptr align 8 %13, i64 16, i1 false), !tbaa.struct !13
  %314 = load i32, ptr %14, align 4, !tbaa !14
  %315 = load ptr, ptr %3, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %315, i32 0, i32 12
  store i32 %314, ptr %316, align 8, !tbaa !25
  %317 = load ptr, ptr %3, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %317, i32 0, i32 13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %318, ptr align 8 %15, i64 16, i1 false), !tbaa.struct !13
  %319 = load i32, ptr %16, align 4, !tbaa !14
  %320 = load ptr, ptr %3, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %320, i32 0, i32 14
  store i32 %319, ptr %321, align 8, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #5
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i32 } @CGenerator__newLabel__(ptr noundef) #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 40}
!10 = !{!"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, !12, i64 80, !11, i64 96, !12, i64 104, !11, i64 120, !6, i64 128, !6, i64 136, !7, i64 144}
!11 = !{!"int", !7, i64 0}
!12 = !{!"", !6, i64 0, !11, i64 8}
!13 = !{i64 0, i64 8, !5, i64 8, i64 4, !14}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !6, i64 8}
!16 = !{!"tag_____ForIndexStatement__", !6, i64 0, !6, i64 8, !6, i64 16, !17, i64 24, !6, i64 40, !17, i64 48, !6, i64 64, !6, i64 72}
!17 = !{!"", !11, i64 0, !6, i64 8}
!18 = !{i64 0, i64 4, !14, i64 8, i64 8, !5}
!19 = !{!17, !11, i64 0}
!20 = !{!17, !6, i64 8}
!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, !14, i64 12, i64 4, !14}
!25 = !{!10, !11, i64 96}
!26 = !{!10, !11, i64 120}
!27 = !{!16, !6, i64 72}
!28 = !{!29, !6, i64 8}
!29 = !{!"tag_____BlockStatement__", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!31, !11, i64 8}
!31 = !{!"tag_____List__Node____", !6, i64 0, !11, i64 8, !11, i64 12}
!32 = !{!31, !6, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!16, !6, i64 56}


; 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_____string0 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string423 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string306 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string308 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string447 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string552 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string314 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string544 = 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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @string__equals__(ptr, i32, ptr, i32) local_unnamed_addr #4

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @CGenerator__genForIndexStatement__(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #4 {
  %3 = alloca %struct.string__, align 8
  %4 = alloca %struct.string__, align 8
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = load ptr, ptr @mu_____string314, align 8
  %8 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string314, i64 8), align 8
  tail call void @CodeBuilder__writeLine__(ptr noundef %6, ptr %7, i32 %8)
  %9 = load ptr, ptr %5, align 8, !tbaa !5
  tail call void @CodeBuilder__indent__(ptr noundef %9)
  %.sroa.047.0.copyload = load ptr, ptr @mu_____string0, align 8, !tbaa !12
  %.sroa.6.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string0, i64 8), align 8, !tbaa !13
  %10 = getelementptr inbounds i8, ptr %1, i64 8
  %11 = load ptr, ptr %10, align 8, !tbaa !14
  %.not = icmp eq ptr %11, null
  br i1 %.not, label %28, label %12

12:                                               ; preds = %2
  tail call void @CGenerator__genExpressionStatement__(ptr noundef nonnull %0, ptr noundef nonnull %11)
  %13 = load ptr, ptr %10, align 8, !tbaa !14
  %.sroa.044.0.copyload = load i32, ptr %13, align 8, !tbaa !13
  %.sroa.446.0..sroa_idx = getelementptr inbounds i8, ptr %13, i64 8
  %.sroa.446.0.copyload = load ptr, ptr %.sroa.446.0..sroa_idx, align 8, !tbaa !12
  %14 = icmp eq i32 %.sroa.044.0.copyload, 12
  br i1 %14, label %18, label %15

15:                                               ; preds = %12
  %16 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %17 = load ptr, ptr %16, align 8, !tbaa !12
  tail call void %17(i32 noundef -4) #5
  br label %18

18:                                               ; preds = %15, %12
  %19 = getelementptr inbounds i8, ptr %.sroa.446.0.copyload, i64 8
  %.sroa.041.0.copyload = load i32, ptr %19, align 8, !tbaa !13
  %.sroa.443.0..sroa_idx = getelementptr inbounds i8, ptr %.sroa.446.0.copyload, i64 16
  %.sroa.443.0.copyload = load ptr, ptr %.sroa.443.0..sroa_idx, align 8, !tbaa !12
  %20 = icmp eq i32 %.sroa.041.0.copyload, 21
  br i1 %20, label %24, label %21

21:                                               ; preds = %18
  %22 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %23 = load ptr, ptr %22, align 8, !tbaa !12
  tail call void %23(i32 noundef -4) #5
  br label %24

24:                                               ; preds = %21, %18
  %25 = tail call { ptr, i32 } @CGenerator__symId__(ptr noundef %.sroa.443.0.copyload)
  %26 = extractvalue { ptr, i32 } %25, 0
  %27 = extractvalue { ptr, i32 } %25, 1
  br label %28

28:                                               ; preds = %24, %2
  %.sroa.047.0 = phi ptr [ %26, %24 ], [ %.sroa.047.0.copyload, %2 ]
  %.sroa.6.0 = phi i32 [ %27, %24 ], [ %.sroa.6.0.copyload, %2 ]
  %29 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %30 = getelementptr inbounds i8, ptr %29, i64 8
  %31 = load ptr, ptr %30, align 8, !tbaa !17
  %32 = load ptr, ptr %29, align 8, !tbaa !19
  %33 = tail call ptr %31(ptr noundef %32, i64 noundef 16) #5
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %33, i8 0, i64 16, i1 false)
  %34 = load ptr, ptr @mu_____string544, align 8
  %35 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string544, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %33, ptr %34, i32 %35)
  %36 = getelementptr inbounds i8, ptr %1, i64 24
  %37 = load i32, ptr %36, align 8
  %38 = getelementptr inbounds i8, ptr %1, i64 32
  %39 = load ptr, ptr %38, align 8
  tail call void @CGenerator__genExpression__(ptr noundef nonnull %0, i32 %37, ptr %39, ptr noundef %33)
  %40 = load ptr, ptr @mu_____string447, align 8
  %41 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string447, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %33, ptr %40, i32 %41)
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = tail call { ptr, i32 } @StringBuilder__toString__(ptr noundef %33)
  %44 = extractvalue { ptr, i32 } %43, 0
  %45 = extractvalue { ptr, i32 } %43, 1
  tail call void @CodeBuilder__writeLine__(ptr noundef %42, ptr %44, i32 %45)
  tail call void @StringBuilder__clear__(ptr noundef %33)
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  tail call void @CodeBuilder__indent__(ptr noundef %46)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3)
  %47 = getelementptr inbounds i8, ptr %0, i64 80
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %47, i64 16, i1 false), !tbaa.struct !20
  %48 = getelementptr inbounds i8, ptr %0, i64 96
  %49 = load i32, ptr %48, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4)
  %50 = getelementptr inbounds i8, ptr %0, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %50, i64 16, i1 false), !tbaa.struct !20
  %51 = getelementptr inbounds i8, ptr %0, i64 120
  %52 = load i32, ptr %51, align 8, !tbaa !22
  %53 = tail call { ptr, i32 } @CGenerator__newLabel__(ptr noundef nonnull %0)
  %54 = extractvalue { ptr, i32 } %53, 0
  %55 = extractvalue { ptr, i32 } %53, 1
  store ptr %54, ptr %47, align 8, !tbaa !12
  %.sroa.413.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 88
  store i32 %55, ptr %.sroa.413.0..sroa_idx, align 8, !tbaa !13
  store i32 0, ptr %48, align 8, !tbaa !21
  %56 = tail call { ptr, i32 } @CGenerator__newLabel__(ptr noundef nonnull %0)
  %57 = extractvalue { ptr, i32 } %56, 0
  %58 = extractvalue { ptr, i32 } %56, 1
  store ptr %57, ptr %50, align 8, !tbaa !12
  %.sroa.411.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 112
  store i32 %58, ptr %.sroa.411.0..sroa_idx, align 8, !tbaa !13
  store i32 0, ptr %51, align 8, !tbaa !22
  %59 = getelementptr inbounds i8, ptr %1, i64 72
  %60 = load ptr, ptr %59, align 8, !tbaa !23
  %61 = getelementptr inbounds i8, ptr %60, i64 8
  %62 = load ptr, ptr %61, align 8, !tbaa !24
  %63 = getelementptr inbounds i8, ptr %62, i64 8
  %64 = load i32, ptr %63, align 8, !tbaa !26
  %65 = icmp sgt i32 %64, 0
  br i1 %65, label %.lr.ph, label %._crit_edge.thread

.lr.ph:                                           ; preds = %28, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %28 ]
  %66 = load ptr, ptr %62, align 8, !tbaa !28
  %67 = getelementptr inbounds %struct.Node__, ptr %66, i64 %indvars.iv
  %.sroa.05.0.copyload = load i32, ptr %67, align 8, !tbaa !13
  %.sroa.46.0..sroa_idx = getelementptr inbounds i8, ptr %67, i64 8
  %.sroa.46.0.copyload = load ptr, ptr %.sroa.46.0..sroa_idx, align 8, !tbaa !12
  tail call void @CGenerator__genStatement__(ptr noundef %0, i32 %.sroa.05.0.copyload, ptr %.sroa.46.0.copyload)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %68 = load i32, ptr %63, align 8, !tbaa !26
  %69 = sext i32 %68 to i64
  %70 = icmp slt i64 %indvars.iv.next, %69
  br i1 %70, label %.lr.ph, label %._crit_edge, !llvm.loop !29

._crit_edge:                                      ; preds = %.lr.ph
  %.pre = load i32, ptr %51, align 8, !tbaa !22
  %71 = icmp sgt i32 %.pre, 0
  br i1 %71, label %72, label %._crit_edge.thread

72:                                               ; preds = %._crit_edge
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  tail call void @CodeBuilder__unIndent__(ptr noundef %73)
  %74 = load ptr, ptr %50, align 8
  %75 = load i32, ptr %.sroa.411.0..sroa_idx, align 8
  tail call void @StringBuilder__write__(ptr noundef %33, ptr %74, i32 %75)
  %76 = load ptr, ptr @mu_____string306, align 8
  %77 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string306, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %33, ptr %76, i32 %77)
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = tail call { ptr, i32 } @StringBuilder__toString__(ptr noundef %33)
  %80 = extractvalue { ptr, i32 } %79, 0
  %81 = extractvalue { ptr, i32 } %79, 1
  tail call void @CodeBuilder__writeLine__(ptr noundef %78, ptr %80, i32 %81)
  tail call void @StringBuilder__clear__(ptr noundef %33)
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  tail call void @CodeBuilder__indent__(ptr noundef %82)
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = load ptr, ptr @mu_____string423, align 8
  %85 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string423, i64 8), align 8
  tail call void @CodeBuilder__writeLine__(ptr noundef %83, ptr %84, i32 %85)
  br label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %28, %72, %._crit_edge
  %86 = getelementptr inbounds i8, ptr %1, i64 56
  %87 = load ptr, ptr %86, align 8
  %.not98 = icmp eq ptr %87, null
  br i1 %.not98, label %91, label %88

88:                                               ; preds = %._crit_edge.thread
  %89 = getelementptr inbounds i8, ptr %1, i64 48
  %90 = load i32, ptr %89, align 8
  tail call void @CGenerator__genStatement__(ptr noundef nonnull %0, i32 %90, ptr nonnull %87)
  br label %102

91:                                               ; preds = %._crit_edge.thread
  %92 = load ptr, ptr @mu_____string0, align 8
  %93 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string0, i64 8), align 8
  %94 = tail call zeroext i8 @string__equals__(ptr %.sroa.047.0, i32 %.sroa.6.0, ptr %92, i32 %93)
  %.not99 = icmp eq i8 %94, 0
  br i1 %.not99, label %95, label %102

95:                                               ; preds = %91
  tail call void @StringBuilder__write__(ptr noundef %33, ptr %.sroa.047.0, i32 %.sroa.6.0)
  %96 = load ptr, ptr @mu_____string552, align 8
  %97 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string552, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %33, ptr %96, i32 %97)
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = tail call { ptr, i32 } @StringBuilder__toString__(ptr noundef %33)
  %100 = extractvalue { ptr, i32 } %99, 0
  %101 = extractvalue { ptr, i32 } %99, 1
  tail call void @CodeBuilder__writeLine__(ptr noundef %98, ptr %100, i32 %101)
  tail call void @StringBuilder__clear__(ptr noundef %33)
  br label %102

102:                                              ; preds = %91, %95, %88
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  tail call void @CodeBuilder__unIndent__(ptr noundef %103)
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = load ptr, ptr @mu_____string308, align 8
  %106 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string308, i64 8), align 8
  tail call void @CodeBuilder__writeLine__(ptr noundef %104, ptr %105, i32 %106)
  %107 = load i32, ptr %48, align 8, !tbaa !21
  %108 = icmp sgt i32 %107, 0
  br i1 %108, label %109, label %123

109:                                              ; preds = %102
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  tail call void @CodeBuilder__unIndent__(ptr noundef %110)
  %111 = load ptr, ptr %47, align 8
  %112 = load i32, ptr %.sroa.413.0..sroa_idx, align 8
  tail call void @StringBuilder__write__(ptr noundef %33, ptr %111, i32 %112)
  %113 = load ptr, ptr @mu_____string306, align 8
  %114 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string306, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %33, ptr %113, i32 %114)
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = tail call { ptr, i32 } @StringBuilder__toString__(ptr noundef %33)
  %117 = extractvalue { ptr, i32 } %116, 0
  %118 = extractvalue { ptr, i32 } %116, 1
  tail call void @CodeBuilder__writeLine__(ptr noundef %115, ptr %117, i32 %118)
  tail call void @StringBuilder__clear__(ptr noundef %33)
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  tail call void @CodeBuilder__indent__(ptr noundef %119)
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = load ptr, ptr @mu_____string423, align 8
  %122 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string423, i64 8), align 8
  tail call void @CodeBuilder__writeLine__(ptr noundef %120, ptr %121, i32 %122)
  br label %123

123:                                              ; preds = %109, %102
  %124 = load ptr, ptr %5, align 8, !tbaa !5
  tail call void @CodeBuilder__unIndent__(ptr noundef %124)
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = load ptr, ptr @mu_____string308, align 8
  %127 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string308, i64 8), align 8
  tail call void @CodeBuilder__writeLine__(ptr noundef %125, ptr %126, i32 %127)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef nonnull align 8 dereferenceable(16) %3, i64 16, i1 false), !tbaa.struct !20
  store i32 %49, ptr %48, align 8, !tbaa !21
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %50, ptr noundef nonnull align 8 dereferenceable(16) %4, i64 16, i1 false), !tbaa.struct !20
  store i32 %52, ptr %51, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3)
  ret void
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { mustprogress 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, !7, i64 40}
!6 = !{!"tag_____GenerateContext__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !10, i64 48, !10, i64 52, !7, i64 56, !7, i64 64, !7, i64 72, !11, i64 80, !10, i64 96, !11, i64 104, !10, i64 120, !7, i64 128, !7, i64 136, !8, i64 144}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !10, i64 8}
!12 = !{!7, !7, i64 0}
!13 = !{!10, !10, i64 0}
!14 = !{!15, !7, i64 8}
!15 = !{!"tag_____ForIndexStatement__", !7, i64 0, !7, i64 8, !7, i64 16, !16, i64 24, !7, i64 40, !16, i64 48, !7, i64 64, !7, i64 72}
!16 = !{!"", !10, i64 0, !7, i64 8}
!17 = !{!18, !7, i64 8}
!18 = !{!"tag_____IAllocator__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!19 = !{!18, !7, i64 0}
!20 = !{i64 0, i64 8, !12, i64 8, i64 4, !13}
!21 = !{!6, !10, i64 96}
!22 = !{!6, !10, i64 120}
!23 = !{!15, !7, i64 72}
!24 = !{!25, !7, i64 8}
!25 = !{!"tag_____BlockStatement__", !7, i64 0, !7, i64 8, !7, i64 16}
!26 = !{!27, !10, i64 8}
!27 = !{!"tag_____List__Node____", !7, i64 0, !10, i64 8, !10, i64 12}
!28 = !{!27, !7, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


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