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

; 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_____Tag__ = type { ptr, 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_____StructInitializerExpression__ = type { %struct.Node__, ptr, ptr, ptr, ptr }
%struct.tag_____List__Ptr__FieldInitializerExpression______ = type { ptr, i32, i32 }
%struct.tag_____Namespace__ = type { %struct.string__, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }
%struct.tag_____FieldInitializerExpression__ = type { ptr, ptr, %struct.Node__ }
%struct.tag_____Token__ = type { i32, %struct.string__, %struct.tag_____IntRange__, %struct.tag_____IntRange__, i32 }
%struct.tag_____IntRange__ = type { i32, i32 }
%struct.tag_____FieldDef__ = type { ptr, ptr, %struct.Node__, ptr, %struct.tag_____Tag__ }

@mu_____string437 = external dso_local global %struct.string__, align 8
@mu_____string71 = external dso_local global %struct.string__, align 8
@mu_____string324 = external dso_local global %struct.string__, align 8
@mu_____string421 = external dso_local global %struct.string__, align 8
@mu_____string492 = external dso_local global %struct.string__, align 8
@mu_____string422 = 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 @CodeBuilder__writeLine__(ptr noundef, ptr, i32) #4

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @CGenerator__genStructInitializerExpression__(ptr noundef %0, ptr noundef %1, ptr noundef %2) #4 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %struct.string__, align 8
  %8 = alloca %struct.Node__, align 8
  %9 = alloca %struct.tag_____Tag__, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %struct.tag_____StringBuilder__, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %struct.string__, align 8
  %14 = alloca %struct.string__, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca %struct.Node__, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %struct.tag_____Tag__, align 8
  %21 = alloca %struct.string__, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #5
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = call { ptr, i32 } @CGenerator__newLocal__(ptr noundef %22)
  %24 = getelementptr inbounds { ptr, i32 }, ptr %7, i32 0, i32 0
  %25 = extractvalue { ptr, i32 } %23, 0
  store ptr %25, ptr %24, align 8
  %26 = getelementptr inbounds { ptr, i32 }, ptr %7, i32 0, i32 1
  %27 = extractvalue { ptr, i32 } %23, 1
  store i32 %27, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #5
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.Node__, ptr %8, i32 0, i32 1
  store ptr %28, ptr %29, align 8, !tbaa !9
  %30 = getelementptr inbounds %struct.Node__, ptr %8, i32 0, i32 1
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  %32 = icmp ne ptr %31, null
  %33 = zext i1 %32 to i64
  %34 = select i1 %32, i32 15, i32 0
  %35 = getelementptr inbounds %struct.Node__, ptr %8, i32 0, i32 0
  store i32 %34, ptr %35, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds { i32, ptr }, ptr %8, i32 0, i32 0
  %38 = load i32, ptr %37, align 8
  %39 = getelementptr inbounds { i32, ptr }, ptr %8, i32 0, i32 1
  %40 = load ptr, ptr %39, align 8
  %41 = call { ptr, ptr } @CGenerator__nodeTag__(ptr noundef %36, i32 %38, ptr %40)
  %42 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 0
  %43 = extractvalue { ptr, ptr } %41, 0
  store ptr %43, ptr %42, align 8
  %44 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 1
  %45 = extractvalue { ptr, ptr } %41, 1
  store ptr %45, ptr %44, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %46 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %47 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %46, i32 0, i32 1
  %48 = load ptr, ptr %47, align 8, !tbaa !13
  %49 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %50 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %49, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8, !tbaa !15
  %52 = call ptr %48(ptr noundef %51, i64 noundef 16)
  store ptr %52, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 16, i1 false)
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %53, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %54, ptr %12, align 8, !tbaa !5
  %55 = load ptr, ptr %12, align 8, !tbaa !5
  %56 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 0
  %57 = load ptr, ptr %56, align 8
  %58 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8
  call void @CGenerator__writeTag__(ptr noundef %55, ptr %57, ptr %59)
  %60 = load ptr, ptr %12, align 8, !tbaa !5
  %61 = load ptr, ptr @mu_____string421, align 8
  %62 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string421, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %60, ptr %61, i32 %62)
  %63 = load ptr, ptr %12, align 8, !tbaa !5
  %64 = getelementptr inbounds { ptr, i32 }, ptr %7, i32 0, i32 0
  %65 = load ptr, ptr %64, align 8
  %66 = getelementptr inbounds { ptr, i32 }, ptr %7, i32 0, i32 1
  %67 = load i32, ptr %66, align 8
  call void @StringBuilder__write__(ptr noundef %63, ptr %65, i32 %67)
  %68 = load ptr, ptr %12, align 8, !tbaa !5
  %69 = load ptr, ptr @mu_____string324, align 8
  %70 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string324, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %68, ptr %69, i32 %70)
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %71, i32 0, i32 5
  %73 = load ptr, ptr %72, align 8, !tbaa !18
  %74 = load ptr, ptr %12, align 8, !tbaa !5
  %75 = call { ptr, i32 } @StringBuilder__toString__(ptr noundef %74)
  %76 = getelementptr inbounds { ptr, i32 }, ptr %13, i32 0, i32 0
  %77 = extractvalue { ptr, i32 } %75, 0
  store ptr %77, ptr %76, align 8
  %78 = getelementptr inbounds { ptr, i32 }, ptr %13, i32 0, i32 1
  %79 = extractvalue { ptr, i32 } %75, 1
  store i32 %79, ptr %78, align 8
  %80 = getelementptr inbounds { ptr, i32 }, ptr %13, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8
  %82 = getelementptr inbounds { ptr, i32 }, ptr %13, i32 0, i32 1
  %83 = load i32, ptr %82, align 8
  call void @CodeBuilder__writeLine__(ptr noundef %73, ptr %81, i32 %83)
  %84 = load ptr, ptr %12, align 8, !tbaa !5
  call void @StringBuilder__clear__(ptr noundef %84)
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  %86 = load ptr, ptr @mu_____string492, align 8
  %87 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string492, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %85, ptr %86, i32 %87)
  %88 = load ptr, ptr %12, align 8, !tbaa !5
  %89 = getelementptr inbounds { ptr, i32 }, ptr %7, i32 0, i32 0
  %90 = load ptr, ptr %89, align 8
  %91 = getelementptr inbounds { ptr, i32 }, ptr %7, i32 0, i32 1
  %92 = load i32, ptr %91, align 8
  call void @StringBuilder__write__(ptr noundef %88, ptr %90, i32 %92)
  %93 = load ptr, ptr %12, align 8, !tbaa !5
  %94 = load ptr, ptr @mu_____string493, align 8
  %95 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string493, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %93, ptr %94, i32 %95)
  %96 = load ptr, ptr %12, align 8, !tbaa !5
  %97 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 0
  %98 = load ptr, ptr %97, align 8
  %99 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 1
  %100 = load ptr, ptr %99, align 8
  call void @CGenerator__writeTag__(ptr noundef %96, ptr %98, ptr %100)
  %101 = load ptr, ptr %12, align 8, !tbaa !5
  %102 = load ptr, ptr @mu_____string437, align 8
  %103 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string437, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %101, ptr %102, i32 %103)
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %104, i32 0, i32 5
  %106 = load ptr, ptr %105, align 8, !tbaa !18
  %107 = load ptr, ptr %12, align 8, !tbaa !5
  %108 = call { ptr, i32 } @StringBuilder__toString__(ptr noundef %107)
  %109 = getelementptr inbounds { ptr, i32 }, ptr %14, i32 0, i32 0
  %110 = extractvalue { ptr, i32 } %108, 0
  store ptr %110, ptr %109, align 8
  %111 = getelementptr inbounds { ptr, i32 }, ptr %14, i32 0, i32 1
  %112 = extractvalue { ptr, i32 } %108, 1
  store i32 %112, ptr %111, align 8
  %113 = getelementptr inbounds { ptr, i32 }, ptr %14, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8
  %115 = getelementptr inbounds { ptr, i32 }, ptr %14, i32 0, i32 1
  %116 = load i32, ptr %115, align 8
  call void @CodeBuilder__writeLine__(ptr noundef %106, ptr %114, i32 %116)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.tag_____StructInitializerExpression__, ptr %117, i32 0, i32 2
  %119 = load ptr, ptr %118, align 8, !tbaa !21
  store ptr %119, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !17
  br label %120

120:                                              ; preds = %157, %3
  %121 = load i32, ptr %16, align 4, !tbaa !17
  %122 = load ptr, ptr %15, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.tag_____List__Ptr__FieldInitializerExpression______, ptr %122, i32 0, i32 1
  %124 = load i32, ptr %123, align 8, !tbaa !23
  %125 = icmp slt i32 %121, %124
  br i1 %125, label %126, label %223

126:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %127 = load ptr, ptr %15, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.tag_____List__Ptr__FieldInitializerExpression______, ptr %127, i32 0, i32 0
  %129 = load ptr, ptr %128, align 8, !tbaa !25
  %130 = load i32, ptr %16, align 4, !tbaa !17
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds ptr, ptr %129, i64 %131
  %133 = load ptr, ptr %132, align 8, !tbaa !5
  store ptr %133, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  %134 = getelementptr inbounds %struct.tag_____Tag__, ptr %9, i32 0, i32 0
  %135 = load ptr, ptr %134, align 8, !tbaa !26
  %136 = getelementptr inbounds %struct.tag_____Namespace__, ptr %135, i32 0, i32 4
  %137 = load ptr, ptr %136, align 8, !tbaa !28
  %138 = load ptr, ptr %17, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.tag_____FieldInitializerExpression__, ptr %138, i32 0, i32 0
  %140 = load ptr, ptr %139, align 8, !tbaa !30
  %141 = getelementptr inbounds %struct.tag_____Token__, ptr %140, i32 0, i32 1
  %142 = getelementptr inbounds { ptr, i32 }, ptr %141, i32 0, i32 0
  %143 = load ptr, ptr %142, align 8
  %144 = getelementptr inbounds { ptr, i32 }, ptr %141, i32 0, i32 1
  %145 = load i32, ptr %144, align 8
  %146 = call { i32, ptr } @Map__get__string__Node____(ptr noundef %137, ptr %143, i32 %145)
  %147 = getelementptr inbounds { i32, ptr }, ptr %18, i32 0, i32 0
  %148 = extractvalue { i32, ptr } %146, 0
  store i32 %148, ptr %147, align 8
  %149 = getelementptr inbounds { i32, ptr }, ptr %18, i32 0, i32 1
  %150 = extractvalue { i32, ptr } %146, 1
  store ptr %150, ptr %149, align 8
  %151 = getelementptr inbounds %struct.Node__, ptr %18, i32 0, i32 0
  %152 = load i32, ptr %151, align 8, !tbaa !12
  %153 = icmp eq i32 %152, 36
  br i1 %153, label %157, label %154

154:                                              ; preds = %126
  %155 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %156 = load ptr, ptr %155, align 8, !tbaa !5
  call void %156(i32 noundef -4)
  br label %157

157:                                              ; preds = %154, %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %158 = getelementptr inbounds %struct.Node__, ptr %18, i32 0, i32 1
  %159 = load ptr, ptr %158, align 8, !tbaa !9
  store ptr %159, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #5
  %160 = load ptr, ptr %19, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.tag_____FieldDef__, ptr %160, i32 0, i32 4
  %162 = getelementptr inbounds %struct.tag_____Tag__, ptr %9, i32 0, i32 0
  %163 = load ptr, ptr %162, align 8, !tbaa !26
  %164 = getelementptr inbounds %struct.tag_____Namespace__, ptr %163, i32 0, i32 9
  %165 = load ptr, ptr %164, align 8, !tbaa !32
  %166 = getelementptr inbounds %struct.tag_____Tag__, ptr %9, i32 0, i32 1
  %167 = load ptr, ptr %166, align 8, !tbaa !33
  %168 = getelementptr inbounds { ptr, ptr }, ptr %161, i32 0, i32 0
  %169 = load ptr, ptr %168, align 8
  %170 = getelementptr inbounds { ptr, ptr }, ptr %161, i32 0, i32 1
  %171 = load ptr, ptr %170, align 8
  %172 = call { ptr, ptr } @TypeChecker__closeTag__(ptr %169, ptr %171, ptr noundef %165, ptr noundef %167)
  %173 = getelementptr inbounds { ptr, ptr }, ptr %20, i32 0, i32 0
  %174 = extractvalue { ptr, ptr } %172, 0
  store ptr %174, ptr %173, align 8
  %175 = getelementptr inbounds { ptr, ptr }, ptr %20, i32 0, i32 1
  %176 = extractvalue { ptr, ptr } %172, 1
  store ptr %176, ptr %175, align 8
  %177 = load ptr, ptr %12, align 8, !tbaa !5
  call void @StringBuilder__clear__(ptr noundef %177)
  %178 = load ptr, ptr %12, align 8, !tbaa !5
  %179 = getelementptr inbounds { ptr, i32 }, ptr %7, i32 0, i32 0
  %180 = load ptr, ptr %179, align 8
  %181 = getelementptr inbounds { ptr, i32 }, ptr %7, i32 0, i32 1
  %182 = load i32, ptr %181, align 8
  call void @StringBuilder__write__(ptr noundef %178, ptr %180, i32 %182)
  %183 = load ptr, ptr %12, align 8, !tbaa !5
  %184 = load ptr, ptr @mu_____string71, align 8
  %185 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string71, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %183, ptr %184, i32 %185)
  %186 = load ptr, ptr %12, align 8, !tbaa !5
  %187 = load ptr, ptr %17, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.tag_____FieldInitializerExpression__, ptr %187, i32 0, i32 0
  %189 = load ptr, ptr %188, align 8, !tbaa !30
  call void @CGenerator__writeId__(ptr noundef %186, ptr noundef %189)
  %190 = load ptr, ptr %12, align 8, !tbaa !5
  %191 = load ptr, ptr @mu_____string422, align 8
  %192 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string422, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %190, ptr %191, i32 %192)
  %193 = load ptr, ptr %4, align 8, !tbaa !5
  %194 = load ptr, ptr %17, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.tag_____FieldInitializerExpression__, ptr %194, i32 0, i32 2
  %196 = load ptr, ptr %12, align 8, !tbaa !5
  %197 = getelementptr inbounds { i32, ptr }, ptr %195, i32 0, i32 0
  %198 = load i32, ptr %197, align 8
  %199 = getelementptr inbounds { i32, ptr }, ptr %195, i32 0, i32 1
  %200 = load ptr, ptr %199, align 8
  %201 = getelementptr inbounds { ptr, ptr }, ptr %20, i32 0, i32 0
  %202 = load ptr, ptr %201, align 8
  %203 = getelementptr inbounds { ptr, ptr }, ptr %20, i32 0, i32 1
  %204 = load ptr, ptr %203, align 8
  call void @CGenerator__genConverted__(ptr noundef %193, i32 %198, ptr %200, ptr noundef %196, ptr %202, ptr %204)
  %205 = load ptr, ptr %12, align 8, !tbaa !5
  %206 = load ptr, ptr @mu_____string324, align 8
  %207 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string324, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %205, ptr %206, i32 %207)
  %208 = load ptr, ptr %4, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %208, i32 0, i32 5
  %210 = load ptr, ptr %209, align 8, !tbaa !18
  %211 = load ptr, ptr %12, align 8, !tbaa !5
  %212 = call { ptr, i32 } @StringBuilder__toString__(ptr noundef %211)
  %213 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 0
  %214 = extractvalue { ptr, i32 } %212, 0
  store ptr %214, ptr %213, align 8
  %215 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 1
  %216 = extractvalue { ptr, i32 } %212, 1
  store i32 %216, ptr %215, align 8
  %217 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 0
  %218 = load ptr, ptr %217, align 8
  %219 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 1
  %220 = load i32, ptr %219, align 8
  call void @CodeBuilder__writeLine__(ptr noundef %210, ptr %218, i32 %220)
  %221 = load i32, ptr %16, align 4, !tbaa !17
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %16, align 4, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %120, !llvm.loop !34

223:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  %224 = load ptr, ptr %6, align 8, !tbaa !5
  %225 = getelementptr inbounds { ptr, i32 }, ptr %7, i32 0, i32 0
  %226 = load ptr, ptr %225, align 8
  %227 = getelementptr inbounds { ptr, i32 }, ptr %7, i32 0, i32 1
  %228 = load i32, ptr %227, align 8
  call void @StringBuilder__write__(ptr noundef %224, ptr %226, i32 %228)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  ret void
}

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


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

@mu_____string437 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string71 = 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_____string421 = 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_____string422 = 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 @CodeBuilder__writeLine__(ptr noundef, ptr, i32) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @CGenerator__genConverted__(ptr noundef, i32, ptr, ptr noundef, ptr, ptr) 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 } @TypeChecker__closeTag__(ptr, ptr, ptr noundef, 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__writeTag__(ptr noundef, ptr, ptr) 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__writeId__(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @CGenerator__genStructInitializerExpression__(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 {
  %4 = tail call { ptr, i32 } @CGenerator__newLocal__(ptr noundef %0)
  %5 = extractvalue { ptr, i32 } %4, 0
  %6 = extractvalue { ptr, i32 } %4, 1
  %.not = icmp eq ptr %1, null
  %7 = select i1 %.not, i32 0, i32 15
  %8 = tail call { ptr, ptr } @CGenerator__nodeTag__(ptr noundef %0, i32 %7, ptr %1)
  %9 = extractvalue { ptr, ptr } %8, 0
  %10 = extractvalue { ptr, ptr } %8, 1
  %11 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %12 = getelementptr inbounds i8, ptr %11, i64 8
  %13 = load ptr, ptr %12, align 8, !tbaa !5
  %14 = load ptr, ptr %11, align 8, !tbaa !10
  %15 = tail call ptr %13(ptr noundef %14, i64 noundef 16) #3
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %15, i8 0, i64 16, i1 false)
  tail call void @CGenerator__writeTag__(ptr noundef %15, ptr %9, ptr %10)
  %16 = load ptr, ptr @mu_____string421, align 8
  %17 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string421, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %15, ptr %16, i32 %17)
  tail call void @StringBuilder__write__(ptr noundef %15, ptr %5, i32 %6)
  %18 = load ptr, ptr @mu_____string324, align 8
  %19 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string324, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %15, ptr %18, i32 %19)
  %20 = getelementptr inbounds i8, ptr %0, i64 40
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %22 = tail call { ptr, i32 } @StringBuilder__toString__(ptr noundef %15)
  %23 = extractvalue { ptr, i32 } %22, 0
  %24 = extractvalue { ptr, i32 } %22, 1
  tail call void @CodeBuilder__writeLine__(ptr noundef %21, ptr %23, i32 %24)
  tail call void @StringBuilder__clear__(ptr noundef %15)
  %25 = load ptr, ptr @mu_____string492, align 8
  %26 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string492, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %15, ptr %25, i32 %26)
  tail call void @StringBuilder__write__(ptr noundef %15, ptr %5, i32 %6)
  %27 = load ptr, ptr @mu_____string493, align 8
  %28 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string493, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %15, ptr %27, i32 %28)
  tail call void @CGenerator__writeTag__(ptr noundef %15, ptr %9, ptr %10)
  %29 = load ptr, ptr @mu_____string437, align 8
  %30 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string437, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %15, ptr %29, i32 %30)
  %31 = load ptr, ptr %20, align 8, !tbaa !11
  %32 = tail call { ptr, i32 } @StringBuilder__toString__(ptr noundef %15)
  %33 = extractvalue { ptr, i32 } %32, 0
  %34 = extractvalue { ptr, i32 } %32, 1
  tail call void @CodeBuilder__writeLine__(ptr noundef %31, ptr %33, i32 %34)
  %35 = getelementptr inbounds i8, ptr %1, i64 24
  %36 = load ptr, ptr %35, align 8, !tbaa !15
  %37 = getelementptr inbounds i8, ptr %36, i64 8
  %38 = load i32, ptr %37, align 8, !tbaa !18
  %39 = icmp sgt i32 %38, 0
  br i1 %39, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %3
  %40 = getelementptr inbounds i8, ptr %9, i64 32
  %41 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %42 = getelementptr inbounds i8, ptr %9, i64 72
  br label %43

43:                                               ; preds = %.lr.ph, %59
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %59 ]
  %44 = load ptr, ptr %36, align 8, !tbaa !20
  %45 = getelementptr inbounds ptr, ptr %44, i64 %indvars.iv
  %46 = load ptr, ptr %45, align 8, !tbaa !21
  %47 = load ptr, ptr %40, align 8, !tbaa !22
  %48 = load ptr, ptr %46, align 8, !tbaa !24
  %49 = getelementptr inbounds i8, ptr %48, i64 8
  %50 = load ptr, ptr %49, align 8
  %51 = getelementptr inbounds i8, ptr %48, i64 16
  %52 = load i32, ptr %51, align 8
  %53 = tail call { i32, ptr } @Map__get__string__Node____(ptr noundef %47, ptr %50, i32 %52)
  %54 = extractvalue { i32, ptr } %53, 0
  %55 = extractvalue { i32, ptr } %53, 1
  %56 = icmp eq i32 %54, 36
  br i1 %56, label %59, label %57

57:                                               ; preds = %43
  %58 = load ptr, ptr %41, align 8, !tbaa !21
  tail call void %58(i32 noundef -4) #3
  br label %59

59:                                               ; preds = %57, %43
  %60 = getelementptr inbounds i8, ptr %55, i64 40
  %61 = load ptr, ptr %42, align 8, !tbaa !26
  %62 = load ptr, ptr %60, align 8
  %63 = getelementptr inbounds i8, ptr %55, i64 48
  %64 = load ptr, ptr %63, align 8
  %65 = tail call { ptr, ptr } @TypeChecker__closeTag__(ptr %62, ptr %64, ptr noundef %61, ptr noundef %10)
  %66 = extractvalue { ptr, ptr } %65, 0
  %67 = extractvalue { ptr, ptr } %65, 1
  tail call void @StringBuilder__clear__(ptr noundef %15)
  tail call void @StringBuilder__write__(ptr noundef %15, ptr %5, i32 %6)
  %68 = load ptr, ptr @mu_____string71, align 8
  %69 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string71, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %15, ptr %68, i32 %69)
  %70 = load ptr, ptr %46, align 8, !tbaa !24
  tail call void @CGenerator__writeId__(ptr noundef %15, ptr noundef %70)
  %71 = load ptr, ptr @mu_____string422, align 8
  %72 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string422, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %15, ptr %71, i32 %72)
  %73 = getelementptr inbounds i8, ptr %46, i64 16
  %74 = load i32, ptr %73, align 8
  %75 = getelementptr inbounds i8, ptr %46, i64 24
  %76 = load ptr, ptr %75, align 8
  tail call void @CGenerator__genConverted__(ptr noundef nonnull %0, i32 %74, ptr %76, ptr noundef %15, ptr %66, ptr %67)
  %77 = load ptr, ptr @mu_____string324, align 8
  %78 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string324, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %15, ptr %77, i32 %78)
  %79 = load ptr, ptr %20, align 8, !tbaa !11
  %80 = tail call { ptr, i32 } @StringBuilder__toString__(ptr noundef %15)
  %81 = extractvalue { ptr, i32 } %80, 0
  %82 = extractvalue { ptr, i32 } %80, 1
  tail call void @CodeBuilder__writeLine__(ptr noundef %79, ptr %81, i32 %82)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %83 = load i32, ptr %37, align 8, !tbaa !18
  %84 = sext i32 %83 to i64
  %85 = icmp slt i64 %indvars.iv.next, %84
  br i1 %85, label %43, label %._crit_edge, !llvm.loop !27

._crit_edge:                                      ; preds = %59, %3
  tail call void @StringBuilder__write__(ptr noundef %2, ptr %5, i32 %6)
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local { i32, ptr } @Map__get__string__Node____(ptr noundef, 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, !7, i64 8}
!6 = !{!"tag_____IAllocator__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !7, i64 40}
!12 = !{!"tag_____GenerateContext__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !13, i64 48, !13, i64 52, !7, i64 56, !7, i64 64, !7, i64 72, !14, i64 80, !13, i64 96, !14, i64 104, !13, i64 120, !7, i64 128, !7, i64 136, !8, i64 144}
!13 = !{!"int", !8, i64 0}
!14 = !{!"", !7, i64 0, !13, i64 8}
!15 = !{!16, !7, i64 24}
!16 = !{!"tag_____StructInitializerExpression__", !17, i64 0, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!17 = !{!"", !13, i64 0, !7, i64 8}
!18 = !{!19, !13, i64 8}
!19 = !{!"tag_____List__Ptr__FieldInitializerExpression______", !7, i64 0, !13, i64 8, !13, i64 12}
!20 = !{!19, !7, i64 0}
!21 = !{!7, !7, i64 0}
!22 = !{!23, !7, i64 32}
!23 = !{!"tag_____Namespace__", !14, i64 0, !7, i64 16, !13, i64 24, !13, i64 28, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !13, i64 104}
!24 = !{!25, !7, i64 0}
!25 = !{!"tag_____FieldInitializerExpression__", !7, i64 0, !7, i64 8, !17, i64 16}
!26 = !{!23, !7, i64 72}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}


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