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

; 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.tag_____IAllocator__ = type { ptr, ptr, ptr, ptr }
%struct.string__ = type { ptr, i32 }
%struct.tag_____SetEntry__Ptr__Array__Tag________ = type { i32, ptr }
%struct.tag_____Tag__ = type { ptr, ptr }
%struct.tag_____CustomSet__Ptr__Array__Tag________ = type { %struct.tag_____Array__SetEntry__Ptr__Array__Tag__________, i32, i32, i32, ptr, ptr }
%struct.tag_____Array__SetEntry__Ptr__Array__Tag__________ = type { ptr, i32 }
%struct.tag_____StringBuilder__ = type { ptr, i32, i32 }
%struct.tag_____SetEntry__Tag____ = type { i32, %struct.tag_____Tag__ }
%struct.tag_____MapEntry__string__Node____ = type { i32, %struct.string__, %struct.Node__ }
%struct.Node__ = type { i32, ptr }
%struct.tag_____Namespace__ = type { %struct.string__, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, 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_____Set__Tag____ = type { %struct.tag_____Array__SetEntry__Tag______, i32, i32, i32 }
%struct.tag_____Array__SetEntry__Tag______ = type { ptr, i32 }
%struct.tag_____Map__string__Node____ = type { %struct.tag_____Array__MapEntry__string__Node______, i32, i32, i32 }
%struct.tag_____Array__MapEntry__string__Node______ = type { ptr, i32 }

@top_____currentAllocator__ = external dso_local thread_local global %struct.tag_____IAllocator__, align 8
@top_____abandonFn__ = external dso_local thread_local global ptr, align 8
@__const.CGenerator__forwardNamespace__.local7 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.CGenerator__forwardNamespace__.local8 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.CGenerator__forwardNamespace__.local10 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.CGenerator__forwardNamespace__.local11 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.CGenerator__forwardNamespace__.local16 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.CGenerator__forwardNamespace__.local17 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.CGenerator__forwardNamespace__.local18 = external hidden unnamed_addr constant %struct.string__, 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 { ptr, i32 } @StringBuilder__compactToString__(ptr noundef) #4

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

; Function Attrs: nounwind uwtable
define dso_local void @CGenerator__forwardNamespace__(ptr noundef %0, ptr noundef %1) #4 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %struct.tag_____SetEntry__Ptr__Array__Tag________, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %struct.tag_____Tag__, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %struct.tag_____CustomSet__Ptr__Array__Tag________, align 8
  %12 = alloca %struct.tag_____Tag__, align 8
  %13 = alloca %struct.tag_____StringBuilder__, align 8
  %14 = alloca %struct.string__, align 8
  %15 = alloca %struct.string__, align 8
  %16 = alloca %struct.string__, align 8
  %17 = alloca %struct.string__, align 8
  %18 = alloca %struct.string__, align 8
  %19 = alloca %struct.tag_____StringBuilder__, align 8
  %20 = alloca %struct.string__, align 8
  %21 = alloca %struct.string__, align 8
  %22 = alloca %struct.string__, align 8
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca %struct.tag_____SetEntry__Tag____, align 8
  %27 = alloca %struct.tag_____Tag__, align 8
  %28 = alloca %struct.tag_____StringBuilder__, align 8
  %29 = alloca %struct.string__, align 8
  %30 = alloca %struct.string__, align 8
  %31 = alloca %struct.string__, align 8
  %32 = alloca %struct.string__, align 8
  %33 = alloca %struct.string__, align 8
  %34 = alloca ptr, align 8
  %35 = alloca i32, align 4
  %36 = alloca %struct.tag_____MapEntry__string__Node____, align 8
  %37 = alloca %struct.Node__, align 8
  %38 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.tag_____Namespace__, ptr %39, i32 0, i32 3
  %41 = load i32, ptr %40, align 4, !tbaa !9
  %42 = and i32 %41, 288
  %43 = icmp eq i32 %42, 256
  br i1 %43, label %44, label %107

44:                                               ; preds = %2
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.tag_____Namespace__, ptr %45, i32 0, i32 10
  %47 = load ptr, ptr %46, align 8, !tbaa !13
  %48 = icmp ne ptr %47, null
  br i1 %48, label %49, label %98

49:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.tag_____Namespace__, ptr %50, i32 0, i32 10
  %52 = load ptr, ptr %51, align 8, !tbaa !13
  store ptr %52, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !14
  br label %53

53:                                               ; preds = %83, %49
  %54 = load i32, ptr %6, align 4, !tbaa !14
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.tag_____CustomSet__Ptr__Array__Tag________, ptr %55, i32 0, i32 0
  %57 = getelementptr inbounds %struct.tag_____Array__SetEntry__Ptr__Array__Tag__________, ptr %56, i32 0, i32 1
  %58 = load i32, ptr %57, align 8, !tbaa !15
  %59 = icmp slt i32 %54, %58
  br i1 %59, label %60, label %86

60:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #5
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.tag_____CustomSet__Ptr__Array__Tag________, ptr %61, i32 0, i32 0
  %63 = getelementptr inbounds %struct.tag_____Array__SetEntry__Ptr__Array__Tag__________, ptr %62, i32 0, i32 0
  %64 = load ptr, ptr %63, align 8, !tbaa !18
  %65 = load i32, ptr %6, align 4, !tbaa !14
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds %struct.tag_____SetEntry__Ptr__Array__Tag________, ptr %64, i64 %66
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %67, i64 16, i1 false), !tbaa.struct !19
  %68 = getelementptr inbounds %struct.tag_____SetEntry__Ptr__Array__Tag________, ptr %7, i32 0, i32 0
  %69 = load i32, ptr %68, align 8, !tbaa !20
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %83

71:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %72 = getelementptr inbounds %struct.tag_____SetEntry__Ptr__Array__Tag________, ptr %7, i32 0, i32 1
  %73 = load ptr, ptr %72, align 8, !tbaa !22
  store ptr %73, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  call void @llvm.memset.p0.i64(ptr align 8 %9, i8 0, i64 16, i1 false)
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.tag_____Tag__, ptr %9, i32 0, i32 0
  store ptr %74, ptr %75, align 8, !tbaa !23
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.tag_____Tag__, ptr %9, i32 0, i32 1
  store ptr %76, ptr %77, align 8, !tbaa !25
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8
  %81 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 1
  %82 = load ptr, ptr %81, align 8
  call void @CGenerator__forwardStructVariant__(ptr noundef %78, ptr %80, ptr %82)
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %83

83:                                               ; preds = %71, %60
  %84 = load i32, ptr %6, align 4, !tbaa !14
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %6, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  br label %53, !llvm.loop !26

86:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %87 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %88 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %87, i32 0, i32 1
  %89 = load ptr, ptr %88, align 8, !tbaa !28
  %90 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %91 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %90, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8, !tbaa !30
  %93 = call ptr %89(ptr noundef %92, i64 noundef 48)
  store ptr %93, ptr %10, align 8, !tbaa !5
  %94 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #5
  call void @Tag__createArgsSet__(ptr dead_on_unwind writable sret(%struct.tag_____CustomSet__Ptr__Array__Tag________) align 8 %11)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %94, ptr align 8 %11, i64 48, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #5
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.tag_____Namespace__, ptr %96, i32 0, i32 11
  store ptr %95, ptr %97, align 8, !tbaa !32
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %106

98:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 16, i1 false)
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.tag_____Tag__, ptr %12, i32 0, i32 0
  store ptr %99, ptr %100, align 8, !tbaa !23
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = getelementptr inbounds { ptr, ptr }, ptr %12, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8
  %104 = getelementptr inbounds { ptr, ptr }, ptr %12, i32 0, i32 1
  %105 = load ptr, ptr %104, align 8
  call void @CGenerator__forwardStructVariant__(ptr noundef %101, ptr %103, ptr %105)
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  br label %106

106:                                              ; preds = %98, %86
  br label %254

107:                                              ; preds = %2
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.tag_____Namespace__, ptr %108, i32 0, i32 3
  %110 = load i32, ptr %109, align 4, !tbaa !9
  %111 = and i32 %110, 2048
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %144

113:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  call void @llvm.memset.p0.i64(ptr align 8 %13, i8 0, i64 16, i1 false)
  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 @__const.CGenerator__forwardNamespace__.local7, i64 16, i1 false)
  %114 = getelementptr inbounds { ptr, i32 }, ptr %14, i32 0, i32 0
  %115 = load ptr, ptr %114, align 8
  %116 = getelementptr inbounds { ptr, i32 }, ptr %14, i32 0, i32 1
  %117 = load i32, ptr %116, align 8
  call void @StringBuilder__write__(ptr noundef %13, ptr %115, i32 %117)
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = call { ptr, i32 } @CGenerator__symNs__(ptr noundef %118)
  %120 = getelementptr inbounds { ptr, i32 }, ptr %15, i32 0, i32 0
  %121 = extractvalue { ptr, i32 } %119, 0
  store ptr %121, ptr %120, align 8
  %122 = getelementptr inbounds { ptr, i32 }, ptr %15, i32 0, i32 1
  %123 = extractvalue { ptr, i32 } %119, 1
  store i32 %123, ptr %122, align 8
  %124 = getelementptr inbounds { ptr, i32 }, ptr %15, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8
  %126 = getelementptr inbounds { ptr, i32 }, ptr %15, i32 0, i32 1
  %127 = load i32, ptr %126, align 8
  call void @StringBuilder__write__(ptr noundef %13, ptr %125, i32 %127)
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 @__const.CGenerator__forwardNamespace__.local8, i64 16, i1 false)
  %128 = getelementptr inbounds { ptr, i32 }, ptr %16, i32 0, i32 0
  %129 = load ptr, ptr %128, align 8
  %130 = getelementptr inbounds { ptr, i32 }, ptr %16, i32 0, i32 1
  %131 = load i32, ptr %130, align 8
  call void @StringBuilder__write__(ptr noundef %13, ptr %129, i32 %131)
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %132, i32 0, i32 5
  %134 = load ptr, ptr %133, align 8, !tbaa !33
  %135 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef %13)
  %136 = getelementptr inbounds { ptr, i32 }, ptr %17, i32 0, i32 0
  %137 = extractvalue { ptr, i32 } %135, 0
  store ptr %137, ptr %136, align 8
  %138 = getelementptr inbounds { ptr, i32 }, ptr %17, i32 0, i32 1
  %139 = extractvalue { ptr, i32 } %135, 1
  store i32 %139, ptr %138, align 8
  %140 = getelementptr inbounds { ptr, i32 }, ptr %17, i32 0, i32 0
  %141 = load ptr, ptr %140, align 8
  %142 = getelementptr inbounds { ptr, i32 }, ptr %17, i32 0, i32 1
  %143 = load i32, ptr %142, align 8
  call void @CodeBuilder__writeLine__(ptr noundef %134, ptr %141, i32 %143)
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  br label %253

144:                                              ; preds = %107
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.tag_____Namespace__, ptr %145, i32 0, i32 3
  %147 = load i32, ptr %146, align 4, !tbaa !9
  %148 = and i32 %147, 8192
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %252

150:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = call { ptr, i32 } @CGenerator__symNs__(ptr noundef %151)
  %153 = getelementptr inbounds { ptr, i32 }, ptr %18, i32 0, i32 0
  %154 = extractvalue { ptr, i32 } %152, 0
  store ptr %154, ptr %153, align 8
  %155 = getelementptr inbounds { ptr, i32 }, ptr %18, i32 0, i32 1
  %156 = extractvalue { ptr, i32 } %152, 1
  store i32 %156, ptr %155, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #5
  call void @llvm.memset.p0.i64(ptr align 8 %19, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 @__const.CGenerator__forwardNamespace__.local10, i64 16, i1 false)
  %157 = getelementptr inbounds { ptr, i32 }, ptr %20, i32 0, i32 0
  %158 = load ptr, ptr %157, align 8
  %159 = getelementptr inbounds { ptr, i32 }, ptr %20, i32 0, i32 1
  %160 = load i32, ptr %159, align 8
  call void @StringBuilder__write__(ptr noundef %19, ptr %158, i32 %160)
  %161 = getelementptr inbounds { ptr, i32 }, ptr %18, i32 0, i32 0
  %162 = load ptr, ptr %161, align 8
  %163 = getelementptr inbounds { ptr, i32 }, ptr %18, i32 0, i32 1
  %164 = load i32, ptr %163, align 8
  call void @StringBuilder__write__(ptr noundef %19, ptr %162, i32 %164)
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 @__const.CGenerator__forwardNamespace__.local11, i64 16, i1 false)
  %165 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 0
  %166 = load ptr, ptr %165, align 8
  %167 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 1
  %168 = load i32, ptr %167, align 8
  call void @StringBuilder__write__(ptr noundef %19, ptr %166, i32 %168)
  %169 = load ptr, ptr %3, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %169, i32 0, i32 5
  %171 = load ptr, ptr %170, align 8, !tbaa !33
  %172 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef %19)
  %173 = getelementptr inbounds { ptr, i32 }, ptr %22, i32 0, i32 0
  %174 = extractvalue { ptr, i32 } %172, 0
  store ptr %174, ptr %173, align 8
  %175 = getelementptr inbounds { ptr, i32 }, ptr %22, i32 0, i32 1
  %176 = extractvalue { ptr, i32 } %172, 1
  store i32 %176, ptr %175, align 8
  %177 = getelementptr inbounds { ptr, i32 }, ptr %22, i32 0, i32 0
  %178 = load ptr, ptr %177, align 8
  %179 = getelementptr inbounds { ptr, i32 }, ptr %22, i32 0, i32 1
  %180 = load i32, ptr %179, align 8
  call void @CodeBuilder__writeLine__(ptr noundef %171, ptr %178, i32 %180)
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 1, ptr %23, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %181 = load ptr, ptr %4, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.tag_____Namespace__, ptr %181, i32 0, i32 8
  %183 = load ptr, ptr %182, align 8, !tbaa !35
  store ptr %183, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !14
  br label %184

184:                                              ; preds = %248, %150
  %185 = load i32, ptr %25, align 4, !tbaa !14
  %186 = load ptr, ptr %24, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.tag_____Set__Tag____, ptr %186, i32 0, i32 0
  %188 = getelementptr inbounds %struct.tag_____Array__SetEntry__Tag______, ptr %187, i32 0, i32 1
  %189 = load i32, ptr %188, align 8, !tbaa !36
  %190 = icmp slt i32 %185, %189
  br i1 %190, label %191, label %251

191:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #5
  %192 = load ptr, ptr %24, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.tag_____Set__Tag____, ptr %192, i32 0, i32 0
  %194 = getelementptr inbounds %struct.tag_____Array__SetEntry__Tag______, ptr %193, i32 0, i32 0
  %195 = load ptr, ptr %194, align 8, !tbaa !39
  %196 = load i32, ptr %25, align 4, !tbaa !14
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds %struct.tag_____SetEntry__Tag____, ptr %195, i64 %197
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 8 %198, i64 24, i1 false), !tbaa.struct !40
  %199 = getelementptr inbounds %struct.tag_____SetEntry__Tag____, ptr %26, i32 0, i32 0
  %200 = load i32, ptr %199, align 8, !tbaa !41
  %201 = icmp ne i32 %200, 0
  br i1 %201, label %202, label %248

202:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #5
  %203 = getelementptr inbounds %struct.tag_____SetEntry__Tag____, ptr %26, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %203, i64 16, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #5
  call void @llvm.memset.p0.i64(ptr align 8 %28, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %29, ptr align 8 @__const.CGenerator__forwardNamespace__.local16, i64 16, i1 false)
  %204 = getelementptr inbounds { ptr, i32 }, ptr %29, i32 0, i32 0
  %205 = load ptr, ptr %204, align 8
  %206 = getelementptr inbounds { ptr, i32 }, ptr %29, i32 0, i32 1
  %207 = load i32, ptr %206, align 8
  call void @StringBuilder__write__(ptr noundef %28, ptr %205, i32 %207)
  %208 = getelementptr inbounds { ptr, i32 }, ptr %18, i32 0, i32 0
  %209 = load ptr, ptr %208, align 8
  %210 = getelementptr inbounds { ptr, i32 }, ptr %18, i32 0, i32 1
  %211 = load i32, ptr %210, align 8
  call void @StringBuilder__write__(ptr noundef %28, ptr %209, i32 %211)
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %30, ptr align 8 @__const.CGenerator__forwardNamespace__.local17, i64 16, i1 false)
  %212 = getelementptr inbounds { ptr, i32 }, ptr %30, i32 0, i32 0
  %213 = load ptr, ptr %212, align 8
  %214 = getelementptr inbounds { ptr, i32 }, ptr %30, i32 0, i32 1
  %215 = load i32, ptr %214, align 8
  call void @StringBuilder__write__(ptr noundef %28, ptr %213, i32 %215)
  %216 = getelementptr inbounds { ptr, ptr }, ptr %27, i32 0, i32 0
  %217 = load ptr, ptr %216, align 8
  %218 = getelementptr inbounds { ptr, ptr }, ptr %27, i32 0, i32 1
  %219 = load ptr, ptr %218, align 8
  %220 = call { ptr, i32 } @CGenerator__symNestedTag__(ptr %217, ptr %219)
  %221 = getelementptr inbounds { ptr, i32 }, ptr %31, i32 0, i32 0
  %222 = extractvalue { ptr, i32 } %220, 0
  store ptr %222, ptr %221, align 8
  %223 = getelementptr inbounds { ptr, i32 }, ptr %31, i32 0, i32 1
  %224 = extractvalue { ptr, i32 } %220, 1
  store i32 %224, ptr %223, align 8
  %225 = getelementptr inbounds { ptr, i32 }, ptr %31, i32 0, i32 0
  %226 = load ptr, ptr %225, align 8
  %227 = getelementptr inbounds { ptr, i32 }, ptr %31, i32 0, i32 1
  %228 = load i32, ptr %227, align 8
  call void @StringBuilder__write__(ptr noundef %28, ptr %226, i32 %228)
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 @__const.CGenerator__forwardNamespace__.local18, i64 16, i1 false)
  %229 = getelementptr inbounds { ptr, i32 }, ptr %32, i32 0, i32 0
  %230 = load ptr, ptr %229, align 8
  %231 = getelementptr inbounds { ptr, i32 }, ptr %32, i32 0, i32 1
  %232 = load i32, ptr %231, align 8
  call void @StringBuilder__write__(ptr noundef %28, ptr %230, i32 %232)
  %233 = load i32, ptr %23, align 4, !tbaa !14
  call void @int__writeTo__(i32 noundef %233, ptr noundef %28)
  %234 = load ptr, ptr %3, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %234, i32 0, i32 5
  %236 = load ptr, ptr %235, align 8, !tbaa !33
  %237 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef %28)
  %238 = getelementptr inbounds { ptr, i32 }, ptr %33, i32 0, i32 0
  %239 = extractvalue { ptr, i32 } %237, 0
  store ptr %239, ptr %238, align 8
  %240 = getelementptr inbounds { ptr, i32 }, ptr %33, i32 0, i32 1
  %241 = extractvalue { ptr, i32 } %237, 1
  store i32 %241, ptr %240, align 8
  %242 = getelementptr inbounds { ptr, i32 }, ptr %33, i32 0, i32 0
  %243 = load ptr, ptr %242, align 8
  %244 = getelementptr inbounds { ptr, i32 }, ptr %33, i32 0, i32 1
  %245 = load i32, ptr %244, align 8
  call void @CodeBuilder__writeLine__(ptr noundef %236, ptr %243, i32 %245)
  %246 = load i32, ptr %23, align 4, !tbaa !14
  %247 = add nsw i32 %246, 1
  store i32 %247, ptr %23, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #5
  br label %248

248:                                              ; preds = %202, %191
  %249 = load i32, ptr %25, align 4, !tbaa !14
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %25, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #5
  br label %184, !llvm.loop !44

251:                                              ; preds = %184
  call void @llvm.lifetime.end.p0(i64 4, 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 16, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  br label %252

252:                                              ; preds = %251, %144
  br label %253

253:                                              ; preds = %252, %113
  br label %254

254:                                              ; preds = %253, %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %255 = load ptr, ptr %4, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.tag_____Namespace__, ptr %255, i32 0, i32 4
  %257 = load ptr, ptr %256, align 8, !tbaa !45
  store ptr %257, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  store i32 0, ptr %35, align 4, !tbaa !14
  br label %258

258:                                              ; preds = %290, %254
  %259 = load i32, ptr %35, align 4, !tbaa !14
  %260 = load ptr, ptr %34, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.tag_____Map__string__Node____, ptr %260, i32 0, i32 0
  %262 = getelementptr inbounds %struct.tag_____Array__MapEntry__string__Node______, ptr %261, i32 0, i32 1
  %263 = load i32, ptr %262, align 8, !tbaa !46
  %264 = icmp slt i32 %259, %263
  br i1 %264, label %265, label %293

265:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 40, ptr %36) #5
  %266 = load ptr, ptr %34, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.tag_____Map__string__Node____, ptr %266, i32 0, i32 0
  %268 = getelementptr inbounds %struct.tag_____Array__MapEntry__string__Node______, ptr %267, i32 0, i32 0
  %269 = load ptr, ptr %268, align 8, !tbaa !49
  %270 = load i32, ptr %35, align 4, !tbaa !14
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds %struct.tag_____MapEntry__string__Node____, ptr %269, i64 %271
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %272, i64 40, i1 false), !tbaa.struct !50
  %273 = getelementptr inbounds %struct.tag_____MapEntry__string__Node____, ptr %36, i32 0, i32 0
  %274 = load i32, ptr %273, align 8, !tbaa !51
  %275 = icmp ne i32 %274, 0
  br i1 %275, label %276, label %290

276:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #5
  %277 = getelementptr inbounds %struct.tag_____MapEntry__string__Node____, ptr %36, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %37, ptr align 8 %277, i64 16, i1 false), !tbaa.struct !19
  %278 = getelementptr inbounds %struct.Node__, ptr %37, i32 0, i32 0
  %279 = load i32, ptr %278, align 8, !tbaa !54
  switch i32 %279, label %285 [
    i32 22, label %280
    i32 0, label %286
  ]

280:                                              ; preds = %276
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  %281 = getelementptr inbounds %struct.Node__, ptr %37, i32 0, i32 1
  %282 = load ptr, ptr %281, align 8, !tbaa !55
  store ptr %282, ptr %38, align 8, !tbaa !5
  %283 = load ptr, ptr %3, align 8, !tbaa !5
  %284 = load ptr, ptr %38, align 8, !tbaa !5
  call void @CGenerator__forwardNamespace__(ptr noundef %283, ptr noundef %284)
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  br label %289

285:                                              ; preds = %276
  br label %289

286:                                              ; preds = %276
  %287 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %288 = load ptr, ptr %287, align 8, !tbaa !5
  call void %288(i32 noundef -5)
  br label %289

289:                                              ; preds = %286, %285, %280
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #5
  br label %290

290:                                              ; preds = %289, %265
  %291 = load i32, ptr %35, align 4, !tbaa !14
  %292 = add nsw i32 %291, 1
  store i32 %292, ptr %35, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 40, ptr %36) #5
  br label %258, !llvm.loop !56

293:                                              ; preds = %258
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  ret void
}

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

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i32 } @CGenerator__symNs__(ptr noundef) #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__symNestedTag__(ptr, ptr) #4

; Function Attrs: nounwind uwtable
declare dso_local void @Tag__createArgsSet__(ptr dead_on_unwind noalias writable sret(%struct.tag_____CustomSet__Ptr__Array__Tag________) align 8) #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, !12, i64 28}
!10 = !{!"tag_____Namespace__", !11, i64 0, !6, i64 16, !12, i64 24, !12, 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, !12, i64 104}
!11 = !{!"", !6, i64 0, !12, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!10, !6, i64 80}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !12, i64 8}
!16 = !{!"tag_____CustomSet__Ptr__Array__Tag________", !17, i64 0, !12, i64 16, !12, i64 20, !12, i64 24, !6, i64 32, !6, i64 40}
!17 = !{!"tag_____Array__SetEntry__Ptr__Array__Tag__________", !6, i64 0, !12, i64 8}
!18 = !{!16, !6, i64 0}
!19 = !{i64 0, i64 4, !14, i64 8, i64 8, !5}
!20 = !{!21, !12, i64 0}
!21 = !{!"tag_____SetEntry__Ptr__Array__Tag________", !12, i64 0, !6, i64 8}
!22 = !{!21, !6, i64 8}
!23 = !{!24, !6, i64 0}
!24 = !{!"tag_____Tag__", !6, i64 0, !6, i64 8}
!25 = !{!24, !6, i64 8}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!29, !6, i64 8}
!29 = !{!"tag_____IAllocator__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!30 = !{!29, !6, i64 0}
!31 = !{i64 0, i64 8, !5, i64 8, i64 4, !14, i64 16, i64 4, !14, i64 20, i64 4, !14, i64 24, i64 4, !14, i64 32, i64 8, !5, i64 40, i64 8, !5}
!32 = !{!10, !6, i64 88}
!33 = !{!34, !6, i64 40}
!34 = !{!"tag_____GenerateContext__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !12, i64 48, !12, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !11, i64 80, !12, i64 96, !11, i64 104, !12, i64 120, !6, i64 128, !6, i64 136, !7, i64 144}
!35 = !{!10, !6, i64 64}
!36 = !{!37, !12, i64 8}
!37 = !{!"tag_____Set__Tag____", !38, i64 0, !12, i64 16, !12, i64 20, !12, i64 24}
!38 = !{!"tag_____Array__SetEntry__Tag______", !6, i64 0, !12, i64 8}
!39 = !{!37, !6, i64 0}
!40 = !{i64 0, i64 4, !14, i64 8, i64 8, !5, i64 16, i64 8, !5}
!41 = !{!42, !12, i64 0}
!42 = !{!"tag_____SetEntry__Tag____", !12, i64 0, !24, i64 8}
!43 = !{i64 0, i64 8, !5, i64 8, i64 8, !5}
!44 = distinct !{!44, !27}
!45 = !{!10, !6, i64 32}
!46 = !{!47, !12, i64 8}
!47 = !{!"tag_____Map__string__Node____", !48, i64 0, !12, i64 16, !12, i64 20, !12, i64 24}
!48 = !{!"tag_____Array__MapEntry__string__Node______", !6, i64 0, !12, i64 8}
!49 = !{!47, !6, i64 0}
!50 = !{i64 0, i64 4, !14, i64 8, i64 8, !5, i64 16, i64 4, !14, i64 24, i64 4, !14, i64 32, i64 8, !5}
!51 = !{!52, !12, i64 0}
!52 = !{!"tag_____MapEntry__string__Node____", !12, i64 0, !11, i64 8, !53, i64 24}
!53 = !{!"", !12, i64 0, !6, i64 8}
!54 = !{!53, !12, i64 0}
!55 = !{!53, !6, i64 8}
!56 = distinct !{!56, !27}


; 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.tag_____IAllocator__ = type { ptr, ptr, ptr, ptr }
%struct.string__ = type { ptr, i32 }
%struct.tag_____CustomSet__Ptr__Array__Tag________ = type { %struct.tag_____Array__SetEntry__Ptr__Array__Tag__________, i32, i32, i32, ptr, ptr }
%struct.tag_____Array__SetEntry__Ptr__Array__Tag__________ = type { ptr, i32 }
%struct.tag_____StringBuilder__ = type { ptr, i32, i32 }
%struct.tag_____SetEntry__Ptr__Array__Tag________ = type { i32, ptr }
%struct.tag_____SetEntry__Tag____ = type { i32, %struct.tag_____Tag__ }
%struct.tag_____Tag__ = type { ptr, ptr }
%struct.tag_____MapEntry__string__Node____ = type { i32, %struct.string__, %struct.Node__ }
%struct.Node__ = type { i32, ptr }

@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
@__const.CGenerator__forwardNamespace__.local7 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.CGenerator__forwardNamespace__.local8 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.CGenerator__forwardNamespace__.local10 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.CGenerator__forwardNamespace__.local11 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.CGenerator__forwardNamespace__.local16 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.CGenerator__forwardNamespace__.local17 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.CGenerator__forwardNamespace__.local18 = external hidden unnamed_addr constant %struct.string__, 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 { ptr, i32 } @StringBuilder__compactToString__(ptr noundef) local_unnamed_addr #4

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

; Function Attrs: nounwind uwtable
define dso_local void @CGenerator__forwardNamespace__(ptr noundef %0, ptr noundef %1) local_unnamed_addr #4 {
  %3 = alloca %struct.tag_____CustomSet__Ptr__Array__Tag________, align 8
  %4 = alloca %struct.tag_____StringBuilder__, align 8
  %5 = alloca %struct.tag_____StringBuilder__, align 8
  %6 = alloca %struct.tag_____StringBuilder__, align 8
  %7 = getelementptr inbounds i8, ptr %1, i64 28
  %8 = load i32, ptr %7, align 4, !tbaa !5
  %9 = and i32 %8, 288
  %10 = icmp eq i32 %9, 256
  br i1 %10, label %11, label %32

11:                                               ; preds = %2
  %12 = getelementptr inbounds i8, ptr %1, i64 80
  %13 = load ptr, ptr %12, align 8, !tbaa !12
  %.not95 = icmp eq ptr %13, null
  br i1 %.not95, label %31, label %.preheader

.preheader:                                       ; preds = %11
  %14 = getelementptr inbounds i8, ptr %13, i64 8
  %15 = load i32, ptr %14, align 8, !tbaa !13
  %16 = icmp sgt i32 %15, 0
  br i1 %16, label %.lr.ph101, label %._crit_edge102

.lr.ph101:                                        ; preds = %.preheader, %21
  %17 = phi i32 [ %22, %21 ], [ %15, %.preheader ]
  %indvars.iv108 = phi i64 [ %indvars.iv.next109, %21 ], [ 0, %.preheader ]
  %18 = load ptr, ptr %13, align 8, !tbaa !16
  %19 = getelementptr inbounds %struct.tag_____SetEntry__Ptr__Array__Tag________, ptr %18, i64 %indvars.iv108
  %.sroa.063.0.copyload = load i32, ptr %19, align 8, !tbaa !17
  %.not97 = icmp eq i32 %.sroa.063.0.copyload, 0
  br i1 %.not97, label %21, label %20

20:                                               ; preds = %.lr.ph101
  %.sroa.465.0..sroa_idx = getelementptr inbounds i8, ptr %19, i64 8
  %.sroa.465.0.copyload = load ptr, ptr %.sroa.465.0..sroa_idx, align 8, !tbaa !18
  tail call void @CGenerator__forwardStructVariant__(ptr noundef %0, ptr %1, ptr %.sroa.465.0.copyload)
  %.pre114 = load i32, ptr %14, align 8, !tbaa !13
  br label %21

21:                                               ; preds = %20, %.lr.ph101
  %22 = phi i32 [ %.pre114, %20 ], [ %17, %.lr.ph101 ]
  %indvars.iv.next109 = add nuw nsw i64 %indvars.iv108, 1
  %23 = sext i32 %22 to i64
  %24 = icmp slt i64 %indvars.iv.next109, %23
  br i1 %24, label %.lr.ph101, label %._crit_edge102, !llvm.loop !19

._crit_edge102:                                   ; preds = %21, %.preheader
  %25 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %26 = getelementptr inbounds i8, ptr %25, i64 8
  %27 = load ptr, ptr %26, align 8, !tbaa !21
  %28 = load ptr, ptr %25, align 8, !tbaa !23
  %29 = tail call ptr %27(ptr noundef %28, i64 noundef 48) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #5
  call void @Tag__createArgsSet__(ptr dead_on_unwind nonnull writable sret(%struct.tag_____CustomSet__Ptr__Array__Tag________) align 8 %3)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %29, ptr noundef nonnull align 8 dereferenceable(48) %3, i64 48, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #5
  %30 = getelementptr inbounds i8, ptr %1, i64 88
  store ptr %29, ptr %30, align 8, !tbaa !25
  br label %76

31:                                               ; preds = %11
  tail call void @CGenerator__forwardStructVariant__(ptr noundef %0, ptr nonnull %1, ptr null)
  br label %76

32:                                               ; preds = %2
  %33 = and i32 %8, 2048
  %.not = icmp eq i32 %33, 0
  br i1 %.not, label %43, label %34

34:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false)
  %.sroa.053.0.copyload = load ptr, ptr @__const.CGenerator__forwardNamespace__.local7, align 8
  %.sroa.454.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const.CGenerator__forwardNamespace__.local7, i64 8), align 8
  call void @StringBuilder__write__(ptr noundef nonnull %4, ptr %.sroa.053.0.copyload, i32 %.sroa.454.0.copyload)
  %35 = call { ptr, i32 } @CGenerator__symNs__(ptr noundef nonnull %1)
  %36 = extractvalue { ptr, i32 } %35, 0
  %37 = extractvalue { ptr, i32 } %35, 1
  call void @StringBuilder__write__(ptr noundef nonnull %4, ptr %36, i32 %37)
  %.sroa.048.0.copyload = load ptr, ptr @__const.CGenerator__forwardNamespace__.local8, align 8
  %.sroa.449.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const.CGenerator__forwardNamespace__.local8, i64 8), align 8
  call void @StringBuilder__write__(ptr noundef nonnull %4, ptr %.sroa.048.0.copyload, i32 %.sroa.449.0.copyload)
  %38 = getelementptr inbounds i8, ptr %0, i64 40
  %39 = load ptr, ptr %38, align 8, !tbaa !26
  %40 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef nonnull %4)
  %41 = extractvalue { ptr, i32 } %40, 0
  %42 = extractvalue { ptr, i32 } %40, 1
  call void @CodeBuilder__writeLine__(ptr noundef %39, ptr %41, i32 %42)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  br label %76

43:                                               ; preds = %32
  %44 = and i32 %8, 8192
  %.not93 = icmp eq i32 %44, 0
  br i1 %.not93, label %76, label %45

45:                                               ; preds = %43
  %46 = tail call { ptr, i32 } @CGenerator__symNs__(ptr noundef nonnull %1)
  %47 = extractvalue { ptr, i32 } %46, 0
  %48 = extractvalue { ptr, i32 } %46, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
  %.sroa.039.0.copyload = load ptr, ptr @__const.CGenerator__forwardNamespace__.local10, align 8
  %.sroa.440.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const.CGenerator__forwardNamespace__.local10, i64 8), align 8
  call void @StringBuilder__write__(ptr noundef nonnull %5, ptr %.sroa.039.0.copyload, i32 %.sroa.440.0.copyload)
  call void @StringBuilder__write__(ptr noundef nonnull %5, ptr %47, i32 %48)
  %.sroa.036.0.copyload = load ptr, ptr @__const.CGenerator__forwardNamespace__.local11, align 8
  %.sroa.437.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const.CGenerator__forwardNamespace__.local11, i64 8), align 8
  call void @StringBuilder__write__(ptr noundef nonnull %5, ptr %.sroa.036.0.copyload, i32 %.sroa.437.0.copyload)
  %49 = getelementptr inbounds i8, ptr %0, i64 40
  %50 = load ptr, ptr %49, align 8, !tbaa !26
  %51 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef nonnull %5)
  %52 = extractvalue { ptr, i32 } %51, 0
  %53 = extractvalue { ptr, i32 } %51, 1
  call void @CodeBuilder__writeLine__(ptr noundef %50, ptr %52, i32 %53)
  %54 = getelementptr inbounds i8, ptr %1, i64 64
  %55 = load ptr, ptr %54, align 8, !tbaa !28
  %56 = getelementptr inbounds i8, ptr %55, i64 8
  %57 = load i32, ptr %56, align 8, !tbaa !29
  %58 = icmp sgt i32 %57, 0
  br i1 %58, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %45
  %.sroa.018.0.copyload = load ptr, ptr @__const.CGenerator__forwardNamespace__.local16, align 8
  %.sroa.419.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const.CGenerator__forwardNamespace__.local16, i64 8), align 8
  %.sroa.015.0.copyload = load ptr, ptr @__const.CGenerator__forwardNamespace__.local17, align 8
  %.sroa.416.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const.CGenerator__forwardNamespace__.local17, i64 8), align 8
  %.sroa.010.0.copyload = load ptr, ptr @__const.CGenerator__forwardNamespace__.local18, align 8
  %.sroa.411.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const.CGenerator__forwardNamespace__.local18, i64 8), align 8
  br label %59

59:                                               ; preds = %.lr.ph, %72
  %60 = phi i32 [ %57, %.lr.ph ], [ %73, %72 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %72 ]
  %.08999 = phi i32 [ 1, %.lr.ph ], [ %.1, %72 ]
  %61 = load ptr, ptr %55, align 8, !tbaa !32
  %62 = getelementptr inbounds %struct.tag_____SetEntry__Tag____, ptr %61, i64 %indvars.iv
  %.sroa.023.0.copyload = load i32, ptr %62, align 8, !tbaa !17
  %.not94 = icmp eq i32 %.sroa.023.0.copyload, 0
  br i1 %.not94, label %72, label %63

63:                                               ; preds = %59
  %.sroa.526.0..sroa_idx = getelementptr inbounds i8, ptr %62, i64 16
  %.sroa.526.0.copyload = load ptr, ptr %.sroa.526.0..sroa_idx, align 8, !tbaa !18
  %.sroa.425.0..sroa_idx = getelementptr inbounds i8, ptr %62, i64 8
  %.sroa.425.0.copyload = load ptr, ptr %.sroa.425.0..sroa_idx, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false)
  call void @StringBuilder__write__(ptr noundef nonnull %6, ptr %.sroa.018.0.copyload, i32 %.sroa.419.0.copyload)
  call void @StringBuilder__write__(ptr noundef nonnull %6, ptr %47, i32 %48)
  call void @StringBuilder__write__(ptr noundef nonnull %6, ptr %.sroa.015.0.copyload, i32 %.sroa.416.0.copyload)
  %64 = call { ptr, i32 } @CGenerator__symNestedTag__(ptr %.sroa.425.0.copyload, ptr %.sroa.526.0.copyload)
  %65 = extractvalue { ptr, i32 } %64, 0
  %66 = extractvalue { ptr, i32 } %64, 1
  call void @StringBuilder__write__(ptr noundef nonnull %6, ptr %65, i32 %66)
  call void @StringBuilder__write__(ptr noundef nonnull %6, ptr %.sroa.010.0.copyload, i32 %.sroa.411.0.copyload)
  call void @int__writeTo__(i32 noundef %.08999, ptr noundef nonnull %6)
  %67 = load ptr, ptr %49, align 8, !tbaa !26
  %68 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef nonnull %6)
  %69 = extractvalue { ptr, i32 } %68, 0
  %70 = extractvalue { ptr, i32 } %68, 1
  call void @CodeBuilder__writeLine__(ptr noundef %67, ptr %69, i32 %70)
  %71 = add nsw i32 %.08999, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  %.pre = load i32, ptr %56, align 8, !tbaa !29
  br label %72

72:                                               ; preds = %63, %59
  %73 = phi i32 [ %.pre, %63 ], [ %60, %59 ]
  %.1 = phi i32 [ %71, %63 ], [ %.08999, %59 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %74 = sext i32 %73 to i64
  %75 = icmp slt i64 %indvars.iv.next, %74
  br i1 %75, label %59, label %._crit_edge, !llvm.loop !33

._crit_edge:                                      ; preds = %72, %45
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  br label %76

76:                                               ; preds = %34, %._crit_edge, %43, %._crit_edge102, %31
  %77 = getelementptr inbounds i8, ptr %1, i64 32
  %78 = load ptr, ptr %77, align 8, !tbaa !34
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  %80 = load i32, ptr %79, align 8, !tbaa !35
  %81 = icmp sgt i32 %80, 0
  br i1 %81, label %.lr.ph105, label %._crit_edge106

.lr.ph105:                                        ; preds = %76
  %82 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  br label %83

83:                                               ; preds = %.lr.ph105, %90
  %indvars.iv111 = phi i64 [ 0, %.lr.ph105 ], [ %indvars.iv.next112, %90 ]
  %84 = load ptr, ptr %78, align 8, !tbaa !38
  %85 = getelementptr inbounds %struct.tag_____MapEntry__string__Node____, ptr %84, i64 %indvars.iv111
  %.sroa.02.0.copyload = load i32, ptr %85, align 8, !tbaa !17
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %85, i64 32
  %.sroa.6.0.copyload = load ptr, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !18
  %.not96 = icmp eq i32 %.sroa.02.0.copyload, 0
  br i1 %.not96, label %90, label %86

86:                                               ; preds = %83
  %.sroa.44.0..sroa_idx = getelementptr inbounds i8, ptr %85, i64 24
  %.sroa.44.0.copyload = load i32, ptr %.sroa.44.0..sroa_idx, align 8, !tbaa !17
  switch i32 %.sroa.44.0.copyload, label %90 [
    i32 22, label %87
    i32 0, label %88
  ]

87:                                               ; preds = %86
  call void @CGenerator__forwardNamespace__(ptr noundef %0, ptr noundef %.sroa.6.0.copyload)
  br label %90

88:                                               ; preds = %86
  %89 = load ptr, ptr %82, align 8, !tbaa !18
  call void %89(i32 noundef -5) #5
  br label %90

90:                                               ; preds = %87, %88, %86, %83
  %indvars.iv.next112 = add nuw nsw i64 %indvars.iv111, 1
  %91 = load i32, ptr %79, align 8, !tbaa !35
  %92 = sext i32 %91 to i64
  %93 = icmp slt i64 %indvars.iv.next112, %92
  br i1 %93, label %83, label %._crit_edge106, !llvm.loop !39

._crit_edge106:                                   ; preds = %90, %76
  ret void
}

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

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i32 } @CGenerator__symNs__(ptr noundef) 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__symNestedTag__(ptr, ptr) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local void @Tag__createArgsSet__(ptr dead_on_unwind noalias writable sret(%struct.tag_____CustomSet__Ptr__Array__Tag________) align 8) 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, !11, i64 28}
!6 = !{!"tag_____Namespace__", !7, i64 0, !8, i64 16, !11, i64 24, !11, i64 28, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 56, !8, i64 64, !8, i64 72, !8, i64 80, !8, i64 88, !8, i64 96, !11, i64 104}
!7 = !{!"", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!6, !8, i64 80}
!13 = !{!14, !11, i64 8}
!14 = !{!"tag_____CustomSet__Ptr__Array__Tag________", !15, i64 0, !11, i64 16, !11, i64 20, !11, i64 24, !8, i64 32, !8, i64 40}
!15 = !{!"tag_____Array__SetEntry__Ptr__Array__Tag__________", !8, i64 0, !11, i64 8}
!16 = !{!14, !8, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!8, !8, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !8, i64 8}
!22 = !{!"tag_____IAllocator__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!23 = !{!22, !8, i64 0}
!24 = !{i64 0, i64 8, !18, i64 8, i64 4, !17, i64 16, i64 4, !17, i64 20, i64 4, !17, i64 24, i64 4, !17, i64 32, i64 8, !18, i64 40, i64 8, !18}
!25 = !{!6, !8, i64 88}
!26 = !{!27, !8, i64 40}
!27 = !{!"tag_____GenerateContext__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !11, i64 48, !11, i64 52, !8, i64 56, !8, i64 64, !8, i64 72, !7, i64 80, !11, i64 96, !7, i64 104, !11, i64 120, !8, i64 128, !8, i64 136, !9, i64 144}
!28 = !{!6, !8, i64 64}
!29 = !{!30, !11, i64 8}
!30 = !{!"tag_____Set__Tag____", !31, i64 0, !11, i64 16, !11, i64 20, !11, i64 24}
!31 = !{!"tag_____Array__SetEntry__Tag______", !8, i64 0, !11, i64 8}
!32 = !{!30, !8, i64 0}
!33 = distinct !{!33, !20}
!34 = !{!6, !8, i64 32}
!35 = !{!36, !11, i64 8}
!36 = !{!"tag_____Map__string__Node____", !37, i64 0, !11, i64 16, !11, i64 20, !11, i64 24}
!37 = !{!"tag_____Array__MapEntry__string__Node______", !8, i64 0, !11, i64 8}
!38 = !{!36, !8, i64 0}
!39 = distinct !{!39, !20}


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