; LLVM IR from nickmqb/muon :: bootstrap/mu.ll_TypeCheckerFirstPass (checkStaticField__)

; 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_____Error__ = type { ptr, %struct.tag_____IntRange__, %struct.string__ }
%struct.tag_____IntRange__ = type { i32, i32 }
%struct.Node__ = type { i32, ptr }
%struct.tag_____Tag__ = type { ptr, ptr }
%struct.tag_____StaticFieldDef__ = type { ptr, ptr, ptr, %struct.Node__, ptr, ptr, %struct.Node__, i32, ptr, %struct.tag_____Tag__, i32, ptr, %struct.tag_____EvalResult__, %struct.string__ }
%struct.tag_____EvalResult__ = type { %struct.tag_____Tag__, i64, i32 }
%struct.tag_____Namespace__ = type { %struct.string__, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }
%struct.tag_____Token__ = type { i32, %struct.string__, %struct.tag_____IntRange__, %struct.tag_____IntRange__, i32 }
%struct.tag_____List__Ptr__Attribute______ = type { ptr, i32, i32 }
%struct.tag_____Attribute__ = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.tag_____TypeCheckerContext__ = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, i8 }

@mu_____string121 = external dso_local global %struct.string__, align 8
@mu_____string123 = external dso_local global %struct.string__, align 8
@mu_____string110 = external dso_local global %struct.string__, align 8
@mu_____string122 = external dso_local global %struct.string__, align 8
@mu_____string120 = external dso_local global %struct.string__, align 8
@mu_____string124 = external dso_local global %struct.string__, 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 zeroext i8 @string__equals__(ptr, i32, ptr, i32) #4

; Function Attrs: nounwind uwtable
declare dso_local void @List__add__Error____(ptr noundef, ptr noundef byval(%struct.tag_____Error__) align 8) #4

; Function Attrs: nounwind uwtable
declare dso_local void @Error__at__(ptr dead_on_unwind noalias writable sret(%struct.tag_____Error__) align 8, ptr noundef, i64, ptr, i32) #4

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @TypeCheckerFirstPass__checkStaticField__(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.Node__, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca %struct.tag_____Error__, align 8
  %14 = alloca %struct.tag_____Error__, align 8
  %15 = alloca i8, align 1
  %16 = alloca %struct.tag_____Tag__, align 8
  %17 = alloca %struct.tag_____Error__, align 8
  %18 = alloca %struct.tag_____Tag__, 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
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %20, i32 0, i32 8
  store ptr %19, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #5
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.Node__, ptr %7, i32 0, i32 1
  store ptr %22, ptr %23, align 8, !tbaa !17
  %24 = getelementptr inbounds %struct.Node__, ptr %7, i32 0, i32 1
  %25 = load ptr, ptr %24, align 8, !tbaa !17
  %26 = icmp ne ptr %25, null
  %27 = zext i1 %26 to i64
  %28 = select i1 %26, i32 1, i32 0
  %29 = getelementptr inbounds %struct.Node__, ptr %7, i32 0, i32 0
  store i32 %28, ptr %29, align 8, !tbaa !18
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.tag_____Namespace__, ptr %30, i32 0, i32 4
  %32 = load ptr, ptr %31, align 8, !tbaa !19
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %33, i32 0, i32 2
  %35 = load ptr, ptr %34, align 8, !tbaa !21
  %36 = getelementptr inbounds %struct.tag_____Token__, ptr %35, i32 0, i32 1
  %37 = getelementptr inbounds { ptr, i32 }, ptr %36, i32 0, i32 0
  %38 = load ptr, ptr %37, align 8
  %39 = getelementptr inbounds { ptr, i32 }, ptr %36, i32 0, i32 1
  %40 = load i32, ptr %39, align 8
  %41 = getelementptr inbounds { i32, ptr }, ptr %7, i32 0, i32 0
  %42 = load i32, ptr %41, align 8
  %43 = getelementptr inbounds { i32, ptr }, ptr %7, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8
  %45 = call zeroext i8 @Map__tryAdd__string__Node____(ptr noundef %32, ptr %38, i32 %40, i32 %42, ptr %44)
  %46 = icmp ne i8 %45, 0
  br i1 %46, label %52, label %47

47:                                               ; preds = %3
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %49, i32 0, i32 2
  %51 = load ptr, ptr %50, align 8, !tbaa !21
  call void @TypeCheckerFirstPass__duplicateMember__(ptr noundef %48, ptr noundef %51)
  br label %52

52:                                               ; preds = %47, %3
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %53, i32 0, i32 4
  %55 = load ptr, ptr %54, align 8, !tbaa !22
  %56 = icmp ne ptr %55, null
  br i1 %56, label %57, label %134

57:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %58, i32 0, i32 4
  %60 = load ptr, ptr %59, align 8, !tbaa !22
  store ptr %60, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !23
  br label %61

61:                                               ; preds = %130, %57
  %62 = load i32, ptr %9, align 4, !tbaa !23
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.tag_____List__Ptr__Attribute______, ptr %63, i32 0, i32 1
  %65 = load i32, ptr %64, align 8, !tbaa !24
  %66 = icmp slt i32 %62, %65
  br i1 %66, label %67, label %133

67:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.tag_____List__Ptr__Attribute______, ptr %68, i32 0, i32 0
  %70 = load ptr, ptr %69, align 8, !tbaa !26
  %71 = load i32, ptr %9, align 4, !tbaa !23
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds ptr, ptr %70, i64 %72
  %74 = load ptr, ptr %73, align 8, !tbaa !5
  store ptr %74, ptr %10, align 8, !tbaa !5
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.tag_____Attribute__, ptr %75, i32 0, i32 1
  %77 = load ptr, ptr %76, align 8, !tbaa !27
  %78 = getelementptr inbounds %struct.tag_____Token__, ptr %77, i32 0, i32 1
  %79 = getelementptr inbounds { ptr, i32 }, ptr %78, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8
  %81 = getelementptr inbounds { ptr, i32 }, ptr %78, i32 0, i32 1
  %82 = load i32, ptr %81, align 8
  %83 = load ptr, ptr @mu_____string120, align 8
  %84 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string120, i32 0, i32 1), align 8
  %85 = call zeroext i8 @string__equals__(ptr %80, i32 %82, ptr %83, i32 %84)
  %86 = icmp ne i8 %85, 0
  br i1 %86, label %87, label %91

87:                                               ; preds = %67
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  call void @TypeCheckerFirstPass__checkMutableAttribute__(ptr noundef %88, ptr noundef %89, ptr noundef %90)
  br label %130

91:                                               ; preds = %67
  %92 = load ptr, ptr %10, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.tag_____Attribute__, ptr %92, i32 0, i32 1
  %94 = load ptr, ptr %93, align 8, !tbaa !27
  %95 = getelementptr inbounds %struct.tag_____Token__, ptr %94, i32 0, i32 1
  %96 = getelementptr inbounds { ptr, i32 }, ptr %95, i32 0, i32 0
  %97 = load ptr, ptr %96, align 8
  %98 = getelementptr inbounds { ptr, i32 }, ptr %95, i32 0, i32 1
  %99 = load i32, ptr %98, align 8
  %100 = load ptr, ptr @mu_____string121, align 8
  %101 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string121, i32 0, i32 1), align 8
  %102 = call zeroext i8 @string__equals__(ptr %97, i32 %99, ptr %100, i32 %101)
  %103 = icmp ne i8 %102, 0
  br i1 %103, label %104, label %108

104:                                              ; preds = %91
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  call void @TypeCheckerFirstPass__checkThreadLocalAttribute__(ptr noundef %105, ptr noundef %106, ptr noundef %107)
  br label %129

108:                                              ; preds = %91
  %109 = load ptr, ptr %10, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.tag_____Attribute__, ptr %109, i32 0, i32 1
  %111 = load ptr, ptr %110, align 8, !tbaa !27
  %112 = getelementptr inbounds %struct.tag_____Token__, ptr %111, i32 0, i32 1
  %113 = getelementptr inbounds { ptr, i32 }, ptr %112, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8
  %115 = getelementptr inbounds { ptr, i32 }, ptr %112, i32 0, i32 1
  %116 = load i32, ptr %115, align 8
  %117 = load ptr, ptr @mu_____string110, align 8
  %118 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string110, i32 0, i32 1), align 8
  %119 = call zeroext i8 @string__equals__(ptr %114, i32 %116, ptr %117, i32 %118)
  %120 = icmp ne i8 %119, 0
  br i1 %120, label %121, label %125

121:                                              ; preds = %108
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  call void @TypeCheckerFirstPass__checkStaticFieldForeignAttribute__(ptr noundef %122, ptr noundef %123, ptr noundef %124)
  br label %128

125:                                              ; preds = %108
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = load ptr, ptr %10, align 8, !tbaa !5
  call void @TypeCheckerFirstPass__badAttribute__(ptr noundef %126, ptr noundef %127)
  br label %128

128:                                              ; preds = %125, %121
  br label %129

129:                                              ; preds = %128, %104
  br label %130

130:                                              ; preds = %129, %87
  %131 = load i32, ptr %9, align 4, !tbaa !23
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %9, align 4, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %61, !llvm.loop !29

133:                                              ; preds = %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %134

134:                                              ; preds = %133, %52
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %135, i32 0, i32 7
  %137 = load i32, ptr %136, align 8, !tbaa !31
  %138 = and i32 %137, 1
  %139 = icmp eq i32 %138, 0
  %140 = zext i1 %139 to i32
  %141 = trunc i32 %140 to i8
  store i8 %141, ptr %11, align 1, !tbaa !32
  %142 = load i8, ptr %11, align 1, !tbaa !32
  %143 = icmp ne i8 %142, 0
  br i1 %143, label %144, label %152

144:                                              ; preds = %134
  %145 = load ptr, ptr %6, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %145, i32 0, i32 3
  %147 = getelementptr inbounds %struct.Node__, ptr %146, i32 0, i32 1
  %148 = load ptr, ptr %147, align 8, !tbaa !33
  %149 = icmp eq ptr %148, null
  %150 = zext i1 %149 to i32
  %151 = trunc i32 %150 to i8
  store i8 %151, ptr %11, align 1, !tbaa !32
  br label %152

152:                                              ; preds = %144, %134
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  %153 = load i8, ptr %11, align 1, !tbaa !32
  store i8 %153, ptr %12, align 1, !tbaa !32
  %154 = load i8, ptr %12, align 1, !tbaa !32
  %155 = icmp ne i8 %154, 0
  br i1 %155, label %156, label %164

156:                                              ; preds = %152
  %157 = load ptr, ptr %6, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %157, i32 0, i32 6
  %159 = getelementptr inbounds %struct.Node__, ptr %158, i32 0, i32 1
  %160 = load ptr, ptr %159, align 8, !tbaa !34
  %161 = icmp eq ptr %160, null
  %162 = zext i1 %161 to i32
  %163 = trunc i32 %162 to i8
  store i8 %163, ptr %12, align 1, !tbaa !32
  br label %164

164:                                              ; preds = %156, %152
  %165 = load i8, ptr %12, align 1, !tbaa !32
  %166 = icmp ne i8 %165, 0
  br i1 %166, label %167, label %181

167:                                              ; preds = %164
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %168, i32 0, i32 2
  %170 = load ptr, ptr %169, align 8, !tbaa !35
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %171, i32 0, i32 0
  %173 = load ptr, ptr %172, align 8, !tbaa !37
  %174 = load ptr, ptr %6, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %174, i32 0, i32 2
  %176 = load ptr, ptr %175, align 8, !tbaa !21
  %177 = getelementptr inbounds %struct.tag_____Token__, ptr %176, i32 0, i32 2
  %178 = load i64, ptr %177, align 8
  %179 = load ptr, ptr @mu_____string122, align 8
  %180 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string122, i32 0, i32 1), align 8
  call void @Error__at__(ptr dead_on_unwind writable sret(%struct.tag_____Error__) align 8 %13, ptr noundef %173, i64 %178, ptr %179, i32 %180)
  call void @List__add__Error____(ptr noundef %170, ptr noundef byval(%struct.tag_____Error__) align 8 %13)
  br label %181

181:                                              ; preds = %167, %164
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %182, i32 0, i32 7
  %184 = load i32, ptr %183, align 8, !tbaa !31
  %185 = and i32 %184, 1
  %186 = icmp ne i32 %185, 0
  br i1 %186, label %187, label %217

187:                                              ; preds = %181
  %188 = load ptr, ptr %6, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %188, i32 0, i32 6
  %190 = getelementptr inbounds %struct.Node__, ptr %189, i32 0, i32 1
  %191 = load ptr, ptr %190, align 8, !tbaa !34
  %192 = icmp ne ptr %191, null
  br i1 %192, label %193, label %196

193:                                              ; preds = %187
  %194 = load ptr, ptr %4, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %194, i32 0, i32 19
  store i8 1, ptr %195, align 4, !tbaa !38
  br label %216

196:                                              ; preds = %187
  %197 = load ptr, ptr %4, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %197, i32 0, i32 19
  %199 = load i8, ptr %198, align 4, !tbaa !38
  %200 = icmp ne i8 %199, 0
  br i1 %200, label %201, label %215

201:                                              ; preds = %196
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %202, i32 0, i32 2
  %204 = load ptr, ptr %203, align 8, !tbaa !35
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %205, i32 0, i32 0
  %207 = load ptr, ptr %206, align 8, !tbaa !37
  %208 = load ptr, ptr %6, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %208, i32 0, i32 2
  %210 = load ptr, ptr %209, align 8, !tbaa !21
  %211 = getelementptr inbounds %struct.tag_____Token__, ptr %210, i32 0, i32 2
  %212 = load i64, ptr %211, align 8
  %213 = load ptr, ptr @mu_____string123, align 8
  %214 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string123, i32 0, i32 1), align 8
  call void @Error__at__(ptr dead_on_unwind writable sret(%struct.tag_____Error__) align 8 %14, ptr noundef %207, i64 %212, ptr %213, i32 %214)
  call void @List__add__Error____(ptr noundef %204, ptr noundef byval(%struct.tag_____Error__) align 8 %14)
  br label %215

215:                                              ; preds = %201, %196
  br label %216

216:                                              ; preds = %215, %193
  br label %217

217:                                              ; preds = %216, %181
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  %218 = load ptr, ptr %6, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %218, i32 0, i32 7
  %220 = load i32, ptr %219, align 8, !tbaa !31
  %221 = and i32 %220, 1
  %222 = icmp ne i32 %221, 0
  %223 = zext i1 %222 to i32
  %224 = trunc i32 %223 to i8
  store i8 %224, ptr %15, align 1, !tbaa !32
  %225 = load i8, ptr %15, align 1, !tbaa !32
  %226 = icmp ne i8 %225, 0
  br i1 %226, label %227, label %235

227:                                              ; preds = %217
  %228 = load ptr, ptr %6, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %228, i32 0, i32 6
  %230 = getelementptr inbounds %struct.Node__, ptr %229, i32 0, i32 1
  %231 = load ptr, ptr %230, align 8, !tbaa !34
  %232 = icmp eq ptr %231, null
  %233 = zext i1 %232 to i32
  %234 = trunc i32 %233 to i8
  store i8 %234, ptr %15, align 1, !tbaa !32
  br label %235

235:                                              ; preds = %227, %217
  %236 = load i8, ptr %15, align 1, !tbaa !32
  %237 = icmp ne i8 %236, 0
  br i1 %237, label %238, label %326

238:                                              ; preds = %235
  %239 = load ptr, ptr %5, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.tag_____Namespace__, ptr %239, i32 0, i32 3
  %241 = load i32, ptr %240, align 4, !tbaa !39
  %242 = and i32 %241, 4096
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %244, label %295

244:                                              ; preds = %238
  %245 = load ptr, ptr %4, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %245, i32 0, i32 16
  %247 = load i32, ptr %246, align 4, !tbaa !40
  %248 = icmp ult i32 %247, -1
  br i1 %248, label %249, label %280

249:                                              ; preds = %244
  %250 = load ptr, ptr %4, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %250, i32 0, i32 16
  %252 = load i32, ptr %251, align 4, !tbaa !40
  %253 = load ptr, ptr %6, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %253, i32 0, i32 10
  store i32 %252, ptr %254, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  call void @llvm.memset.p0.i64(ptr align 8 %16, i8 0, i64 16, i1 false)
  %255 = load ptr, ptr %5, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.tag_____Tag__, ptr %16, i32 0, i32 0
  store ptr %255, ptr %256, align 8, !tbaa !42
  %257 = load ptr, ptr %6, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %257, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %258, ptr align 8 %16, i64 16, i1 false), !tbaa.struct !43
  %259 = load ptr, ptr %6, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %259, i32 0, i32 7
  %261 = load i32, ptr %260, align 8, !tbaa !31
  %262 = or i32 %261, 64
  %263 = load ptr, ptr %6, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %263, i32 0, i32 7
  store i32 %262, ptr %264, align 8, !tbaa !31
  %265 = load ptr, ptr %4, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %265, i32 0, i32 16
  %267 = load i32, ptr %266, align 4, !tbaa !40
  %268 = icmp ule i32 %267, 2147483647
  br i1 %268, label %269, label %276

269:                                              ; preds = %249
  %270 = load ptr, ptr %4, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %270, i32 0, i32 16
  %272 = load i32, ptr %271, align 4, !tbaa !40
  %273 = mul i32 %272, 2
  %274 = load ptr, ptr %4, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %274, i32 0, i32 16
  store i32 %273, ptr %275, align 4, !tbaa !40
  br label %279

276:                                              ; preds = %249
  %277 = load ptr, ptr %4, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %277, i32 0, i32 16
  store i32 -1, ptr %278, align 4, !tbaa !40
  br label %279

279:                                              ; preds = %276, %269
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  br label %294

280:                                              ; preds = %244
  %281 = load ptr, ptr %4, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %281, i32 0, i32 2
  %283 = load ptr, ptr %282, align 8, !tbaa !35
  %284 = load ptr, ptr %6, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %284, i32 0, i32 0
  %286 = load ptr, ptr %285, align 8, !tbaa !37
  %287 = load ptr, ptr %6, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %287, i32 0, i32 2
  %289 = load ptr, ptr %288, align 8, !tbaa !21
  %290 = getelementptr inbounds %struct.tag_____Token__, ptr %289, i32 0, i32 2
  %291 = load i64, ptr %290, align 8
  %292 = load ptr, ptr @mu_____string124, align 8
  %293 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string124, i32 0, i32 1), align 8
  call void @Error__at__(ptr dead_on_unwind writable sret(%struct.tag_____Error__) align 8 %17, ptr noundef %286, i64 %291, ptr %292, i32 %293)
  call void @List__add__Error____(ptr noundef %283, ptr noundef byval(%struct.tag_____Error__) align 8 %17)
  br label %294

294:                                              ; preds = %280, %279
  br label %325

295:                                              ; preds = %238
  %296 = load ptr, ptr %4, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %296, i32 0, i32 16
  %298 = load i32, ptr %297, align 4, !tbaa !40
  %299 = icmp ult i32 %298, -1
  br i1 %299, label %303, label %300

300:                                              ; preds = %295
  %301 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %302 = load ptr, ptr %301, align 8, !tbaa !5
  call void %302(i32 noundef -2)
  br label %303

303:                                              ; preds = %300, %295
  %304 = load ptr, ptr %4, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %304, i32 0, i32 16
  %306 = load i32, ptr %305, align 4, !tbaa !40
  %307 = load ptr, ptr %6, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %307, i32 0, i32 10
  store i32 %306, ptr %308, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  call void @llvm.memset.p0.i64(ptr align 8 %18, i8 0, i64 16, i1 false)
  %309 = load ptr, ptr %5, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.tag_____Tag__, ptr %18, i32 0, i32 0
  store ptr %309, ptr %310, align 8, !tbaa !42
  %311 = load ptr, ptr %6, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %311, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %312, ptr align 8 %18, i64 16, i1 false), !tbaa.struct !43
  %313 = load ptr, ptr %6, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %313, i32 0, i32 7
  %315 = load i32, ptr %314, align 8, !tbaa !31
  %316 = or i32 %315, 64
  %317 = load ptr, ptr %6, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %317, i32 0, i32 7
  store i32 %316, ptr %318, align 8, !tbaa !31
  %319 = load ptr, ptr %4, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %319, i32 0, i32 16
  %321 = load i32, ptr %320, align 4, !tbaa !40
  %322 = add i32 %321, 1
  %323 = load ptr, ptr %4, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %323, i32 0, i32 16
  store i32 %322, ptr %324, align 4, !tbaa !40
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  br label %325

325:                                              ; preds = %303, %294
  br label %326

326:                                              ; preds = %325, %235
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @Map__tryAdd__string__Node____(ptr noundef, ptr, i32, i32, ptr) #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 80}
!10 = !{!"tag_____StaticFieldDef__", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !6, i64 40, !6, i64 48, !11, i64 56, !12, i64 72, !6, i64 80, !13, i64 88, !12, i64 104, !6, i64 112, !14, i64 120, !16, i64 152}
!11 = !{!"", !12, i64 0, !6, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!"tag_____Tag__", !6, i64 0, !6, i64 8}
!14 = !{!"tag_____EvalResult__", !13, i64 0, !15, i64 16, !12, i64 24}
!15 = !{!"long", !7, i64 0}
!16 = !{!"", !6, i64 0, !12, i64 8}
!17 = !{!11, !6, i64 8}
!18 = !{!11, !12, i64 0}
!19 = !{!20, !6, i64 32}
!20 = !{!"tag_____Namespace__", !16, 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}
!21 = !{!10, !6, i64 16}
!22 = !{!10, !6, i64 40}
!23 = !{!12, !12, i64 0}
!24 = !{!25, !12, i64 8}
!25 = !{!"tag_____List__Ptr__Attribute______", !6, i64 0, !12, i64 8, !12, i64 12}
!26 = !{!25, !6, i64 0}
!27 = !{!28, !6, i64 8}
!28 = !{!"tag_____Attribute__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!10, !12, i64 72}
!32 = !{!7, !7, i64 0}
!33 = !{!10, !6, i64 32}
!34 = !{!10, !6, i64 64}
!35 = !{!36, !6, i64 16}
!36 = !{!"tag_____TypeCheckerContext__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !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, !6, i64 104, !6, i64 112, !12, i64 120, !12, i64 124, !6, i64 128, !12, i64 136, !7, i64 140}
!37 = !{!10, !6, i64 0}
!38 = !{!36, !7, i64 140}
!39 = !{!20, !12, i64 28}
!40 = !{!36, !12, i64 124}
!41 = !{!10, !12, i64 104}
!42 = !{!13, !6, i64 0}
!43 = !{i64 0, i64 8, !5, i64 8, i64 8, !5}


; 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_____Error__ = type { ptr, %struct.tag_____IntRange__, %struct.string__ }
%struct.tag_____IntRange__ = type { i32, i32 }

@mu_____string121 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string123 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string110 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string122 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string120 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string124 = external dso_local local_unnamed_addr global %struct.string__, 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: nounwind uwtable
declare dso_local zeroext i8 @string__equals__(ptr, i32, ptr, i32) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @List__add__Error____(ptr noundef, ptr noundef byval(%struct.tag_____Error__) align 8) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @Error__at__(ptr dead_on_unwind noalias writable sret(%struct.tag_____Error__) align 8, ptr noundef, i64, ptr, i32) local_unnamed_addr #1

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @TypeCheckerFirstPass__checkStaticField__(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #1 {
  %4 = alloca %struct.tag_____Error__, align 8
  %5 = alloca %struct.tag_____Error__, align 8
  %6 = alloca %struct.tag_____Error__, align 8
  %7 = getelementptr inbounds i8, ptr %2, i64 80
  store ptr %1, ptr %7, align 8, !tbaa !5
  %.not = icmp ne ptr %2, null
  %8 = zext i1 %.not to i32
  %9 = getelementptr inbounds i8, ptr %1, i64 32
  %10 = load ptr, ptr %9, align 8, !tbaa !16
  %11 = getelementptr inbounds i8, ptr %2, i64 16
  %12 = load ptr, ptr %11, align 8, !tbaa !18
  %13 = getelementptr inbounds i8, ptr %12, i64 8
  %14 = load ptr, ptr %13, align 8
  %15 = getelementptr inbounds i8, ptr %12, i64 16
  %16 = load i32, ptr %15, align 8
  %17 = tail call zeroext i8 @Map__tryAdd__string__Node____(ptr noundef %10, ptr %14, i32 %16, i32 %8, ptr %2)
  %.not85 = icmp eq i8 %17, 0
  br i1 %.not85, label %18, label %20

18:                                               ; preds = %3
  %19 = load ptr, ptr %11, align 8, !tbaa !18
  tail call void @TypeCheckerFirstPass__duplicateMember__(ptr noundef %0, ptr noundef %19)
  br label %20

20:                                               ; preds = %18, %3
  %21 = getelementptr inbounds i8, ptr %2, i64 40
  %22 = load ptr, ptr %21, align 8, !tbaa !19
  %.not86 = icmp eq ptr %22, null
  br i1 %.not86, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %20
  %23 = getelementptr inbounds i8, ptr %22, i64 8
  %24 = load i32, ptr %23, align 8, !tbaa !20
  %25 = icmp sgt i32 %24, 0
  br i1 %25, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader, %60
  %indvars.iv = phi i64 [ %indvars.iv.next, %60 ], [ 0, %.preheader ]
  %26 = load ptr, ptr %22, align 8, !tbaa !22
  %27 = getelementptr inbounds ptr, ptr %26, i64 %indvars.iv
  %28 = load ptr, ptr %27, align 8, !tbaa !23
  %29 = getelementptr inbounds i8, ptr %28, i64 8
  %30 = load ptr, ptr %29, align 8, !tbaa !24
  %31 = getelementptr inbounds i8, ptr %30, i64 8
  %32 = load ptr, ptr %31, align 8
  %33 = getelementptr inbounds i8, ptr %30, i64 16
  %34 = load i32, ptr %33, align 8
  %35 = load ptr, ptr @mu_____string120, align 8
  %36 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string120, i64 8), align 8
  %37 = tail call zeroext i8 @string__equals__(ptr %32, i32 %34, ptr %35, i32 %36)
  %.not98 = icmp eq i8 %37, 0
  br i1 %.not98, label %39, label %38

38:                                               ; preds = %.lr.ph
  tail call void @TypeCheckerFirstPass__checkMutableAttribute__(ptr noundef %0, ptr noundef %2, ptr noundef nonnull %28)
  br label %60

39:                                               ; preds = %.lr.ph
  %40 = load ptr, ptr %29, align 8, !tbaa !24
  %41 = getelementptr inbounds i8, ptr %40, i64 8
  %42 = load ptr, ptr %41, align 8
  %43 = getelementptr inbounds i8, ptr %40, i64 16
  %44 = load i32, ptr %43, align 8
  %45 = load ptr, ptr @mu_____string121, align 8
  %46 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string121, i64 8), align 8
  %47 = tail call zeroext i8 @string__equals__(ptr %42, i32 %44, ptr %45, i32 %46)
  %.not99 = icmp eq i8 %47, 0
  br i1 %.not99, label %49, label %48

48:                                               ; preds = %39
  tail call void @TypeCheckerFirstPass__checkThreadLocalAttribute__(ptr noundef %0, ptr noundef %2, ptr noundef nonnull %28)
  br label %60

49:                                               ; preds = %39
  %50 = load ptr, ptr %29, align 8, !tbaa !24
  %51 = getelementptr inbounds i8, ptr %50, i64 8
  %52 = load ptr, ptr %51, align 8
  %53 = getelementptr inbounds i8, ptr %50, i64 16
  %54 = load i32, ptr %53, align 8
  %55 = load ptr, ptr @mu_____string110, align 8
  %56 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string110, i64 8), align 8
  %57 = tail call zeroext i8 @string__equals__(ptr %52, i32 %54, ptr %55, i32 %56)
  %.not100 = icmp eq i8 %57, 0
  br i1 %.not100, label %59, label %58

58:                                               ; preds = %49
  tail call void @TypeCheckerFirstPass__checkStaticFieldForeignAttribute__(ptr noundef %0, ptr noundef %2, ptr noundef nonnull %28)
  br label %60

59:                                               ; preds = %49
  tail call void @TypeCheckerFirstPass__badAttribute__(ptr noundef %0, ptr noundef nonnull %28)
  br label %60

60:                                               ; preds = %48, %59, %58, %38
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %61 = load i32, ptr %23, align 8, !tbaa !20
  %62 = sext i32 %61 to i64
  %63 = icmp slt i64 %indvars.iv.next, %62
  br i1 %63, label %.lr.ph, label %.loopexit, !llvm.loop !26

.loopexit:                                        ; preds = %60, %.preheader, %20
  %64 = getelementptr inbounds i8, ptr %2, i64 72
  %65 = load i32, ptr %64, align 8, !tbaa !28
  %66 = and i32 %65, 1
  %.not87.not = icmp eq i32 %66, 0
  br i1 %.not87.not, label %67, label %.critedge101.thread116

67:                                               ; preds = %.loopexit
  %68 = getelementptr inbounds i8, ptr %2, i64 32
  %69 = load ptr, ptr %68, align 8, !tbaa !29
  %.not104 = icmp eq ptr %69, null
  br i1 %.not104, label %.critedge, label %.critedge103

.critedge:                                        ; preds = %67
  %70 = getelementptr inbounds i8, ptr %2, i64 64
  %71 = load ptr, ptr %70, align 8, !tbaa !30
  %.not105 = icmp eq ptr %71, null
  br i1 %.not105, label %.critedge101, label %.critedge103

.critedge101:                                     ; preds = %.critedge
  %72 = getelementptr inbounds i8, ptr %0, i64 16
  %73 = load ptr, ptr %72, align 8, !tbaa !31
  %74 = load ptr, ptr %2, align 8, !tbaa !33
  %75 = load ptr, ptr %11, align 8, !tbaa !18
  %76 = getelementptr inbounds i8, ptr %75, i64 24
  %77 = load i64, ptr %76, align 8
  %78 = load ptr, ptr @mu_____string122, align 8
  %79 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string122, i64 8), align 8
  call void @Error__at__(ptr dead_on_unwind nonnull writable sret(%struct.tag_____Error__) align 8 %4, ptr noundef %74, i64 %77, ptr %78, i32 %79)
  call void @List__add__Error____(ptr noundef %73, ptr noundef nonnull byval(%struct.tag_____Error__) align 8 %4)
  %.pre = load i32, ptr %64, align 8, !tbaa !28
  %.pre112 = and i32 %.pre, 1
  %80 = icmp eq i32 %.pre112, 0
  br i1 %80, label %.critedge103, label %.critedge101.thread116

.critedge101.thread116:                           ; preds = %.loopexit, %.critedge101
  %81 = phi i32 [ %.pre, %.critedge101 ], [ %65, %.loopexit ]
  %82 = getelementptr inbounds i8, ptr %2, i64 64
  %83 = load ptr, ptr %82, align 8, !tbaa !30
  %.not91 = icmp eq ptr %83, null
  %84 = getelementptr inbounds i8, ptr %0, i64 140
  br i1 %.not91, label %86, label %85

85:                                               ; preds = %.critedge101.thread116
  store i8 1, ptr %84, align 4, !tbaa !34
  br label %.thread120

86:                                               ; preds = %.critedge101.thread116
  %87 = load i8, ptr %84, align 4, !tbaa !34
  %.not92 = icmp eq i8 %87, 0
  br i1 %.not92, label %.thread120, label %88

88:                                               ; preds = %86
  %89 = getelementptr inbounds i8, ptr %0, i64 16
  %90 = load ptr, ptr %89, align 8, !tbaa !31
  %91 = load ptr, ptr %2, align 8, !tbaa !33
  %92 = load ptr, ptr %11, align 8, !tbaa !18
  %93 = getelementptr inbounds i8, ptr %92, i64 24
  %94 = load i64, ptr %93, align 8
  %95 = load ptr, ptr @mu_____string123, align 8
  %96 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string123, i64 8), align 8
  call void @Error__at__(ptr dead_on_unwind nonnull writable sret(%struct.tag_____Error__) align 8 %5, ptr noundef %91, i64 %94, ptr %95, i32 %96)
  call void @List__add__Error____(ptr noundef %90, ptr noundef nonnull byval(%struct.tag_____Error__) align 8 %5)
  %.pre109 = load i32, ptr %64, align 8, !tbaa !28
  %.pre113 = and i32 %.pre109, 1
  %97 = icmp eq i32 %.pre113, 0
  br i1 %97, label %.critedge103, label %.thread120

.thread120:                                       ; preds = %86, %85, %88
  %98 = phi i32 [ %.pre109, %88 ], [ %81, %85 ], [ %81, %86 ]
  %99 = getelementptr inbounds i8, ptr %2, i64 64
  %100 = load ptr, ptr %99, align 8, !tbaa !30
  %.not106 = icmp eq ptr %100, null
  br i1 %.not106, label %101, label %.critedge103

101:                                              ; preds = %.thread120
  %102 = getelementptr inbounds i8, ptr %1, i64 28
  %103 = load i32, ptr %102, align 4, !tbaa !35
  %104 = and i32 %103, 4096
  %.not95 = icmp eq i32 %104, 0
  %105 = getelementptr inbounds i8, ptr %0, i64 124
  %106 = load i32, ptr %105, align 4, !tbaa !36
  %.not96 = icmp eq i32 %106, -1
  br i1 %.not95, label %123, label %107

107:                                              ; preds = %101
  br i1 %.not96, label %114, label %108

108:                                              ; preds = %107
  %109 = getelementptr inbounds i8, ptr %2, i64 104
  store i32 %106, ptr %109, align 8, !tbaa !37
  %110 = getelementptr inbounds i8, ptr %2, i64 88
  store ptr %1, ptr %110, align 8, !tbaa !23
  %.sroa.52.0..sroa_idx = getelementptr inbounds i8, ptr %2, i64 96
  store ptr null, ptr %.sroa.52.0..sroa_idx, align 8, !tbaa !23
  %111 = or i32 %98, 64
  store i32 %111, ptr %64, align 8, !tbaa !28
  %112 = icmp sgt i32 %106, -1
  %113 = shl nuw i32 %106, 1
  %storemerge = select i1 %112, i32 %113, i32 -1
  store i32 %storemerge, ptr %105, align 4, !tbaa !36
  br label %.critedge103

114:                                              ; preds = %107
  %115 = getelementptr inbounds i8, ptr %0, i64 16
  %116 = load ptr, ptr %115, align 8, !tbaa !31
  %117 = load ptr, ptr %2, align 8, !tbaa !33
  %118 = load ptr, ptr %11, align 8, !tbaa !18
  %119 = getelementptr inbounds i8, ptr %118, i64 24
  %120 = load i64, ptr %119, align 8
  %121 = load ptr, ptr @mu_____string124, align 8
  %122 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string124, i64 8), align 8
  call void @Error__at__(ptr dead_on_unwind nonnull writable sret(%struct.tag_____Error__) align 8 %6, ptr noundef %117, i64 %120, ptr %121, i32 %122)
  call void @List__add__Error____(ptr noundef %116, ptr noundef nonnull byval(%struct.tag_____Error__) align 8 %6)
  br label %.critedge103

123:                                              ; preds = %101
  br i1 %.not96, label %124, label %127

124:                                              ; preds = %123
  %125 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %126 = load ptr, ptr %125, align 8, !tbaa !23
  call void %126(i32 noundef -2) #2
  %.pre110 = load i32, ptr %105, align 4, !tbaa !36
  %.pre111 = load i32, ptr %64, align 8, !tbaa !28
  br label %127

127:                                              ; preds = %124, %123
  %128 = phi i32 [ %.pre111, %124 ], [ %98, %123 ]
  %129 = phi i32 [ %.pre110, %124 ], [ %106, %123 ]
  %130 = getelementptr inbounds i8, ptr %2, i64 104
  store i32 %129, ptr %130, align 8, !tbaa !37
  %131 = getelementptr inbounds i8, ptr %2, i64 88
  store ptr %1, ptr %131, align 8, !tbaa !23
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %2, i64 96
  store ptr null, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !23
  %132 = or i32 %128, 64
  store i32 %132, ptr %64, align 8, !tbaa !28
  %133 = add i32 %129, 1
  store i32 %133, ptr %105, align 4, !tbaa !36
  br label %.critedge103

.critedge103:                                     ; preds = %.critedge, %67, %.critedge101, %88, %127, %114, %108, %.thread120
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @Map__tryAdd__string__Node____(ptr noundef, ptr, i32, i32, ptr) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { 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 #2 = { 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 80}
!6 = !{!"tag_____StaticFieldDef__", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !7, i64 40, !7, i64 48, !10, i64 56, !11, i64 72, !7, i64 80, !12, i64 88, !11, i64 104, !7, i64 112, !13, i64 120, !15, i64 152}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"", !11, i64 0, !7, i64 8}
!11 = !{!"int", !8, i64 0}
!12 = !{!"tag_____Tag__", !7, i64 0, !7, i64 8}
!13 = !{!"tag_____EvalResult__", !12, i64 0, !14, i64 16, !11, i64 24}
!14 = !{!"long", !8, i64 0}
!15 = !{!"", !7, i64 0, !11, i64 8}
!16 = !{!17, !7, i64 32}
!17 = !{!"tag_____Namespace__", !15, i64 0, !7, i64 16, !11, i64 24, !11, 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, !11, i64 104}
!18 = !{!6, !7, i64 16}
!19 = !{!6, !7, i64 40}
!20 = !{!21, !11, i64 8}
!21 = !{!"tag_____List__Ptr__Attribute______", !7, i64 0, !11, i64 8, !11, i64 12}
!22 = !{!21, !7, i64 0}
!23 = !{!7, !7, i64 0}
!24 = !{!25, !7, i64 8}
!25 = !{!"tag_____Attribute__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!6, !11, i64 72}
!29 = !{!6, !7, i64 32}
!30 = !{!6, !7, i64 64}
!31 = !{!32, !7, i64 16}
!32 = !{!"tag_____TypeCheckerContext__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !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, !7, i64 104, !7, i64 112, !11, i64 120, !11, i64 124, !7, i64 128, !11, i64 136, !8, i64 140}
!33 = !{!6, !7, i64 0}
!34 = !{!32, !8, i64 140}
!35 = !{!17, !11, i64 28}
!36 = !{!32, !11, i64 124}
!37 = !{!6, !11, i64 104}


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