; LLVM IR from nickmqb/muon :: bootstrap/mu.ll_Parser (parseForStatement__)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.string__ = type { ptr, i32 }
%struct.tag_____IAllocator__ = type { ptr, ptr, ptr, ptr }
%struct.Node__ = type { i32, ptr }
%struct.tag_____ForEachStatement__ = type { ptr, ptr, ptr, ptr, ptr, %struct.Node__, ptr, ptr }
%struct.tag_____ParserState__ = type { %struct.string__, i32, ptr, ptr, i32, i32, i32, i32, i32, ptr, %struct.tag_____IntRange__, i32, i32, ptr, i32, ptr, ptr, ptr }
%struct.tag_____IntRange__ = type { i32, i32 }
%struct.tag_____Token__ = type { i32, %struct.string__, %struct.tag_____IntRange__, %struct.tag_____IntRange__, i32 }

@mu_____string297 = external dso_local global %struct.string__, align 8
@mu_____string175 = external dso_local global %struct.string__, align 8
@mu_____string314 = external dso_local global %struct.string__, align 8
@mu_____string325 = external dso_local global %struct.string__, align 8
@mu_____string302 = external dso_local global %struct.string__, align 8
@top_____currentAllocator__ = external dso_local thread_local global %struct.tag_____IAllocator__, 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 @Parser__readToken__(ptr noundef) #4

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local { i32, ptr } @Parser__parseForStatement__(ptr noundef %0) #4 {
  %2 = alloca %struct.Node__, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %struct.tag_____ForEachStatement__, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %struct.tag_____ForEachStatement__, align 8
  %11 = alloca %struct.Node__, align 8
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca %struct.tag_____ForEachStatement__, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i8, align 1
  %17 = alloca %struct.Node__, align 8
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  %21 = alloca %struct.Node__, align 8
  %22 = alloca %struct.Node__, align 8
  %23 = alloca %struct.Node__, align 8
  %24 = alloca ptr, align 8
  %25 = alloca %struct.tag_____ForEachStatement__, align 8
  %26 = alloca ptr, align 8
  %27 = alloca %struct.Node__, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.tag_____ParserState__, ptr %28, i32 0, i32 3
  %30 = load ptr, ptr %29, align 8, !tbaa !9
  store ptr %30, ptr %4, align 8, !tbaa !5
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  call void @Parser__readToken__(ptr noundef %31)
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.tag_____ParserState__, ptr %32, i32 0, i32 3
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = getelementptr inbounds %struct.tag_____Token__, ptr %34, i32 0, i32 4
  %36 = load i32, ptr %35, align 8, !tbaa !14
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.tag_____ParserState__, ptr %37, i32 0, i32 5
  %39 = load i32, ptr %38, align 4, !tbaa !16
  %40 = icmp sle i32 %36, %39
  br i1 %40, label %41, label %60

41:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %42 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %43 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %42, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8, !tbaa !17
  %45 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %46 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %45, i32 0, i32 0
  %47 = load ptr, ptr %46, align 8, !tbaa !19
  %48 = call ptr %44(ptr noundef %47, i64 noundef 72)
  store ptr %48, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 72, ptr %6) #5
  call void @llvm.memset.p0.i64(ptr align 8 %6, i8 0, i64 72, i1 false)
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %6, i32 0, i32 0
  store ptr %49, ptr %50, align 8, !tbaa !20
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %51, ptr align 8 %6, i64 72, i1 false), !tbaa.struct !23
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  store ptr %52, ptr %53, align 8, !tbaa !25
  %54 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  %55 = load ptr, ptr %54, align 8, !tbaa !25
  %56 = icmp ne ptr %55, null
  %57 = zext i1 %56 to i64
  %58 = select i1 %56, i32 27, i32 0
  %59 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 0
  store i32 %58, ptr %59, align 8, !tbaa !26
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 72, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %452

60:                                               ; preds = %1
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.tag_____ParserState__, ptr %61, i32 0, i32 3
  %63 = load ptr, ptr %62, align 8, !tbaa !9
  %64 = getelementptr inbounds %struct.tag_____Token__, ptr %63, i32 0, i32 0
  %65 = load i32, ptr %64, align 8, !tbaa !27
  %66 = icmp eq i32 %65, 14
  br i1 %66, label %67, label %78

67:                                               ; preds = %60
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = call ptr @Parser__parseForIndexStatementTail__(ptr noundef %68, ptr noundef %69, ptr noundef null)
  %71 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  store ptr %70, ptr %71, align 8, !tbaa !25
  %72 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  %73 = load ptr, ptr %72, align 8, !tbaa !25
  %74 = icmp ne ptr %73, null
  %75 = zext i1 %74 to i64
  %76 = select i1 %74, i32 28, i32 0
  %77 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 0
  store i32 %76, ptr %77, align 8, !tbaa !26
  store i32 1, ptr %7, align 4
  br label %452

78:                                               ; preds = %60
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.tag_____ParserState__, ptr %79, i32 0, i32 3
  %81 = load ptr, ptr %80, align 8, !tbaa !9
  %82 = getelementptr inbounds %struct.tag_____Token__, ptr %81, i32 0, i32 0
  %83 = load i32, ptr %82, align 8, !tbaa !27
  %84 = icmp eq i32 %83, 0
  br i1 %84, label %85, label %412

85:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.tag_____ParserState__, ptr %86, i32 0, i32 3
  %88 = load ptr, ptr %87, align 8, !tbaa !9
  store ptr %88, ptr %8, align 8, !tbaa !5
  %89 = load ptr, ptr %3, align 8, !tbaa !5
  call void @Parser__readToken__(ptr noundef %89)
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.tag_____ParserState__, ptr %90, i32 0, i32 3
  %92 = load ptr, ptr %91, align 8, !tbaa !9
  %93 = getelementptr inbounds %struct.tag_____Token__, ptr %92, i32 0, i32 4
  %94 = load i32, ptr %93, align 8, !tbaa !14
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.tag_____ParserState__, ptr %95, i32 0, i32 5
  %97 = load i32, ptr %96, align 4, !tbaa !16
  %98 = icmp sle i32 %94, %97
  br i1 %98, label %99, label %130

99:                                               ; preds = %85
  %100 = load ptr, ptr %3, align 8, !tbaa !5
  %101 = load ptr, ptr @mu_____string314, align 8
  %102 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string314, i32 0, i32 1), align 8
  call void @Parser__expected__(ptr noundef %100, ptr %101, i32 %102)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %103 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %104 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %103, i32 0, i32 1
  %105 = load ptr, ptr %104, align 8, !tbaa !17
  %106 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %107 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %106, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8, !tbaa !19
  %109 = call ptr %105(ptr noundef %108, i64 noundef 72)
  store ptr %109, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 72, ptr %10) #5
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 72, i1 false)
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %10, i32 0, i32 0
  store ptr %110, ptr %111, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.Node__, ptr %11, i32 0, i32 1
  store ptr %112, ptr %113, align 8, !tbaa !25
  %114 = getelementptr inbounds %struct.Node__, ptr %11, i32 0, i32 1
  %115 = load ptr, ptr %114, align 8, !tbaa !25
  %116 = icmp ne ptr %115, null
  %117 = zext i1 %116 to i64
  %118 = select i1 %116, i32 21, i32 0
  %119 = getelementptr inbounds %struct.Node__, ptr %11, i32 0, i32 0
  store i32 %118, ptr %119, align 8, !tbaa !26
  %120 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %10, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %120, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !28
  %121 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %121, ptr align 8 %10, i64 72, i1 false), !tbaa.struct !23
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  store ptr %122, ptr %123, align 8, !tbaa !25
  %124 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  %125 = load ptr, ptr %124, align 8, !tbaa !25
  %126 = icmp ne ptr %125, null
  %127 = zext i1 %126 to i64
  %128 = select i1 %126, i32 27, i32 0
  %129 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 0
  store i32 %128, ptr %129, align 8, !tbaa !26
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %411

130:                                              ; preds = %85
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  %131 = load ptr, ptr %3, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.tag_____ParserState__, ptr %131, i32 0, i32 3
  %133 = load ptr, ptr %132, align 8, !tbaa !9
  %134 = getelementptr inbounds %struct.tag_____Token__, ptr %133, i32 0, i32 0
  %135 = load i32, ptr %134, align 8, !tbaa !27
  %136 = icmp eq i32 %135, 4
  %137 = zext i1 %136 to i32
  %138 = trunc i32 %137 to i8
  store i8 %138, ptr %12, align 1, !tbaa !29
  %139 = load i8, ptr %12, align 1, !tbaa !29
  %140 = icmp ne i8 %139, 0
  br i1 %140, label %141, label %153

141:                                              ; preds = %130
  %142 = load ptr, ptr %3, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.tag_____ParserState__, ptr %142, i32 0, i32 3
  %144 = load ptr, ptr %143, align 8, !tbaa !9
  %145 = getelementptr inbounds %struct.tag_____Token__, ptr %144, i32 0, i32 1
  %146 = getelementptr inbounds { ptr, i32 }, ptr %145, i32 0, i32 0
  %147 = load ptr, ptr %146, align 8
  %148 = getelementptr inbounds { ptr, i32 }, ptr %145, i32 0, i32 1
  %149 = load i32, ptr %148, align 8
  %150 = load ptr, ptr @mu_____string175, align 8
  %151 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string175, i32 0, i32 1), align 8
  %152 = call zeroext i8 @string__equals__(ptr %147, i32 %149, ptr %150, i32 %151)
  store i8 %152, ptr %12, align 1, !tbaa !29
  br label %153

153:                                              ; preds = %141, %130
  %154 = load i8, ptr %12, align 1, !tbaa !29
  %155 = icmp ne i8 %154, 0
  br i1 %155, label %156, label %168

156:                                              ; preds = %153
  %157 = load ptr, ptr %3, align 8, !tbaa !5
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = call ptr @Parser__parseForIndexStatementTail__(ptr noundef %157, ptr noundef %158, ptr noundef %159)
  %161 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  store ptr %160, ptr %161, align 8, !tbaa !25
  %162 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  %163 = load ptr, ptr %162, align 8, !tbaa !25
  %164 = icmp ne ptr %163, null
  %165 = zext i1 %164 to i64
  %166 = select i1 %164, i32 28, i32 0
  %167 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 0
  store i32 %166, ptr %167, align 8, !tbaa !26
  store i32 1, ptr %7, align 4
  br label %410

168:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %169 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %170 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %169, i32 0, i32 1
  %171 = load ptr, ptr %170, align 8, !tbaa !17
  %172 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %173 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %172, i32 0, i32 0
  %174 = load ptr, ptr %173, align 8, !tbaa !19
  %175 = call ptr %171(ptr noundef %174, i64 noundef 72)
  store ptr %175, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 72, ptr %14) #5
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 72, i1 false)
  %176 = load ptr, ptr %4, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %14, i32 0, i32 0
  store ptr %176, ptr %177, align 8, !tbaa !20
  %178 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %178, ptr align 8 %14, i64 72, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %179 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %179, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  %180 = load ptr, ptr %3, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.tag_____ParserState__, ptr %180, i32 0, i32 3
  %182 = load ptr, ptr %181, align 8, !tbaa !9
  %183 = getelementptr inbounds %struct.tag_____Token__, ptr %182, i32 0, i32 0
  %184 = load i32, ptr %183, align 8, !tbaa !27
  %185 = icmp eq i32 %184, 0
  %186 = zext i1 %185 to i32
  %187 = trunc i32 %186 to i8
  store i8 %187, ptr %16, align 1, !tbaa !29
  %188 = load i8, ptr %16, align 1, !tbaa !29
  %189 = icmp ne i8 %188, 0
  br i1 %189, label %190, label %202

190:                                              ; preds = %168
  %191 = load ptr, ptr %3, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.tag_____ParserState__, ptr %191, i32 0, i32 3
  %193 = load ptr, ptr %192, align 8, !tbaa !9
  %194 = getelementptr inbounds %struct.tag_____Token__, ptr %193, i32 0, i32 1
  %195 = getelementptr inbounds { ptr, i32 }, ptr %194, i32 0, i32 0
  %196 = load ptr, ptr %195, align 8
  %197 = getelementptr inbounds { ptr, i32 }, ptr %194, i32 0, i32 1
  %198 = load i32, ptr %197, align 8
  %199 = load ptr, ptr @mu_____string325, align 8
  %200 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string325, i32 0, i32 1), align 8
  %201 = call zeroext i8 @string__equals__(ptr %196, i32 %198, ptr %199, i32 %200)
  store i8 %201, ptr %16, align 1, !tbaa !29
  br label %202

202:                                              ; preds = %190, %168
  %203 = load i8, ptr %16, align 1, !tbaa !29
  %204 = icmp ne i8 %203, 0
  br i1 %204, label %205, label %243

205:                                              ; preds = %202
  %206 = load ptr, ptr %8, align 8, !tbaa !5
  %207 = load ptr, ptr %15, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %207, i32 0, i32 1
  store ptr %206, ptr %208, align 8, !tbaa !30
  %209 = load ptr, ptr %3, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.tag_____ParserState__, ptr %209, i32 0, i32 3
  %211 = load ptr, ptr %210, align 8, !tbaa !9
  %212 = load ptr, ptr %15, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %212, i32 0, i32 4
  store ptr %211, ptr %213, align 8, !tbaa !31
  %214 = load ptr, ptr %3, align 8, !tbaa !5
  call void @Parser__readToken__(ptr noundef %214)
  %215 = load ptr, ptr %15, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %215, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  %217 = load ptr, ptr %3, align 8, !tbaa !5
  %218 = call { i32, ptr } @Parser__tryParseExpression__(ptr noundef %217, i32 noundef 0, i8 noundef zeroext 0)
  %219 = getelementptr inbounds { i32, ptr }, ptr %17, i32 0, i32 0
  %220 = extractvalue { i32, ptr } %218, 0
  store i32 %220, ptr %219, align 8
  %221 = getelementptr inbounds { i32, ptr }, ptr %17, i32 0, i32 1
  %222 = extractvalue { i32, ptr } %218, 1
  store ptr %222, ptr %221, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %216, ptr align 8 %17, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  %223 = load ptr, ptr %15, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %223, i32 0, i32 5
  %225 = getelementptr inbounds %struct.Node__, ptr %224, i32 0, i32 1
  %226 = load ptr, ptr %225, align 8, !tbaa !32
  %227 = icmp eq ptr %226, null
  br i1 %227, label %228, label %232

228:                                              ; preds = %205
  %229 = load ptr, ptr %3, align 8, !tbaa !5
  %230 = load ptr, ptr @mu_____string302, align 8
  %231 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string302, i32 0, i32 1), align 8
  call void @Parser__expected__(ptr noundef %229, ptr %230, i32 %231)
  br label %232

232:                                              ; preds = %228, %205
  %233 = load ptr, ptr %3, align 8, !tbaa !5
  %234 = load ptr, ptr %15, align 8, !tbaa !5
  %235 = call ptr @Parser__parseForEachStatementTail__(ptr noundef %233, ptr noundef %234)
  %236 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  store ptr %235, ptr %236, align 8, !tbaa !25
  %237 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  %238 = load ptr, ptr %237, align 8, !tbaa !25
  %239 = icmp ne ptr %238, null
  %240 = zext i1 %239 to i64
  %241 = select i1 %239, i32 27, i32 0
  %242 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 0
  store i32 %241, ptr %242, align 8, !tbaa !26
  store i32 1, ptr %7, align 4
  br label %409

243:                                              ; preds = %202
  %244 = load ptr, ptr %3, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.tag_____ParserState__, ptr %244, i32 0, i32 3
  %246 = load ptr, ptr %245, align 8, !tbaa !9
  %247 = getelementptr inbounds %struct.tag_____Token__, ptr %246, i32 0, i32 0
  %248 = load i32, ptr %247, align 8, !tbaa !27
  %249 = icmp eq i32 %248, 13
  br i1 %249, label %250, label %378

250:                                              ; preds = %243
  %251 = load ptr, ptr %8, align 8, !tbaa !5
  %252 = load ptr, ptr %15, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %252, i32 0, i32 1
  store ptr %251, ptr %253, align 8, !tbaa !30
  %254 = load ptr, ptr %3, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.tag_____ParserState__, ptr %254, i32 0, i32 3
  %256 = load ptr, ptr %255, align 8, !tbaa !9
  %257 = load ptr, ptr %15, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %257, i32 0, i32 2
  store ptr %256, ptr %258, align 8, !tbaa !33
  %259 = load ptr, ptr %3, align 8, !tbaa !5
  call void @Parser__readToken__(ptr noundef %259)
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #5
  %260 = load ptr, ptr %3, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.tag_____ParserState__, ptr %260, i32 0, i32 3
  %262 = load ptr, ptr %261, align 8, !tbaa !9
  %263 = getelementptr inbounds %struct.tag_____Token__, ptr %262, i32 0, i32 4
  %264 = load i32, ptr %263, align 8, !tbaa !14
  %265 = load ptr, ptr %3, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.tag_____ParserState__, ptr %265, i32 0, i32 5
  %267 = load i32, ptr %266, align 4, !tbaa !16
  %268 = icmp sgt i32 %264, %267
  %269 = zext i1 %268 to i32
  %270 = trunc i32 %269 to i8
  store i8 %270, ptr %18, align 1, !tbaa !29
  %271 = load i8, ptr %18, align 1, !tbaa !29
  %272 = icmp ne i8 %271, 0
  br i1 %272, label %273, label %282

273:                                              ; preds = %250
  %274 = load ptr, ptr %3, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.tag_____ParserState__, ptr %274, i32 0, i32 3
  %276 = load ptr, ptr %275, align 8, !tbaa !9
  %277 = getelementptr inbounds %struct.tag_____Token__, ptr %276, i32 0, i32 0
  %278 = load i32, ptr %277, align 8, !tbaa !27
  %279 = icmp eq i32 %278, 0
  %280 = zext i1 %279 to i32
  %281 = trunc i32 %280 to i8
  store i8 %281, ptr %18, align 1, !tbaa !29
  br label %282

282:                                              ; preds = %273, %250
  %283 = load i8, ptr %18, align 1, !tbaa !29
  %284 = icmp ne i8 %283, 0
  br i1 %284, label %285, label %292

285:                                              ; preds = %282
  %286 = load ptr, ptr %3, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.tag_____ParserState__, ptr %286, i32 0, i32 3
  %288 = load ptr, ptr %287, align 8, !tbaa !9
  %289 = load ptr, ptr %15, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %289, i32 0, i32 3
  store ptr %288, ptr %290, align 8, !tbaa !34
  %291 = load ptr, ptr %3, align 8, !tbaa !5
  call void @Parser__readToken__(ptr noundef %291)
  br label %296

292:                                              ; preds = %282
  %293 = load ptr, ptr %3, align 8, !tbaa !5
  %294 = load ptr, ptr @mu_____string297, align 8
  %295 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string297, i32 0, i32 1), align 8
  call void @Parser__expected__(ptr noundef %293, ptr %294, i32 %295)
  br label %296

296:                                              ; preds = %292, %285
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  %297 = load ptr, ptr %3, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.tag_____ParserState__, ptr %297, i32 0, i32 3
  %299 = load ptr, ptr %298, align 8, !tbaa !9
  %300 = getelementptr inbounds %struct.tag_____Token__, ptr %299, i32 0, i32 4
  %301 = load i32, ptr %300, align 8, !tbaa !14
  %302 = load ptr, ptr %3, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.tag_____ParserState__, ptr %302, i32 0, i32 5
  %304 = load i32, ptr %303, align 4, !tbaa !16
  %305 = icmp sgt i32 %301, %304
  %306 = zext i1 %305 to i32
  %307 = trunc i32 %306 to i8
  store i8 %307, ptr %19, align 1, !tbaa !29
  %308 = load i8, ptr %19, align 1, !tbaa !29
  %309 = icmp ne i8 %308, 0
  br i1 %309, label %310, label %319

310:                                              ; preds = %296
  %311 = load ptr, ptr %3, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.tag_____ParserState__, ptr %311, i32 0, i32 3
  %313 = load ptr, ptr %312, align 8, !tbaa !9
  %314 = getelementptr inbounds %struct.tag_____Token__, ptr %313, i32 0, i32 0
  %315 = load i32, ptr %314, align 8, !tbaa !27
  %316 = icmp eq i32 %315, 0
  %317 = zext i1 %316 to i32
  %318 = trunc i32 %317 to i8
  store i8 %318, ptr %19, align 1, !tbaa !29
  br label %319

319:                                              ; preds = %310, %296
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #5
  %320 = load i8, ptr %19, align 1, !tbaa !29
  store i8 %320, ptr %20, align 1, !tbaa !29
  %321 = load i8, ptr %20, align 1, !tbaa !29
  %322 = icmp ne i8 %321, 0
  br i1 %322, label %323, label %335

323:                                              ; preds = %319
  %324 = load ptr, ptr %3, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.tag_____ParserState__, ptr %324, i32 0, i32 3
  %326 = load ptr, ptr %325, align 8, !tbaa !9
  %327 = getelementptr inbounds %struct.tag_____Token__, ptr %326, i32 0, i32 1
  %328 = getelementptr inbounds { ptr, i32 }, ptr %327, i32 0, i32 0
  %329 = load ptr, ptr %328, align 8
  %330 = getelementptr inbounds { ptr, i32 }, ptr %327, i32 0, i32 1
  %331 = load i32, ptr %330, align 8
  %332 = load ptr, ptr @mu_____string325, align 8
  %333 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string325, i32 0, i32 1), align 8
  %334 = call zeroext i8 @string__equals__(ptr %329, i32 %331, ptr %332, i32 %333)
  store i8 %334, ptr %20, align 1, !tbaa !29
  br label %335

335:                                              ; preds = %323, %319
  %336 = load i8, ptr %20, align 1, !tbaa !29
  %337 = icmp ne i8 %336, 0
  br i1 %337, label %338, label %345

338:                                              ; preds = %335
  %339 = load ptr, ptr %3, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.tag_____ParserState__, ptr %339, i32 0, i32 3
  %341 = load ptr, ptr %340, align 8, !tbaa !9
  %342 = load ptr, ptr %15, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %342, i32 0, i32 4
  store ptr %341, ptr %343, align 8, !tbaa !31
  %344 = load ptr, ptr %3, align 8, !tbaa !5
  call void @Parser__readToken__(ptr noundef %344)
  br label %349

345:                                              ; preds = %335
  %346 = load ptr, ptr %3, align 8, !tbaa !5
  %347 = load ptr, ptr @mu_____string325, align 8
  %348 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string325, i32 0, i32 1), align 8
  call void @Parser__expected__(ptr noundef %346, ptr %347, i32 %348)
  br label %349

349:                                              ; preds = %345, %338
  %350 = load ptr, ptr %15, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %350, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  %352 = load ptr, ptr %3, align 8, !tbaa !5
  %353 = call { i32, ptr } @Parser__tryParseExpression__(ptr noundef %352, i32 noundef 0, i8 noundef zeroext 0)
  %354 = getelementptr inbounds { i32, ptr }, ptr %21, i32 0, i32 0
  %355 = extractvalue { i32, ptr } %353, 0
  store i32 %355, ptr %354, align 8
  %356 = getelementptr inbounds { i32, ptr }, ptr %21, i32 0, i32 1
  %357 = extractvalue { i32, ptr } %353, 1
  store ptr %357, ptr %356, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %351, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  %358 = load ptr, ptr %15, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %358, i32 0, i32 5
  %360 = getelementptr inbounds %struct.Node__, ptr %359, i32 0, i32 1
  %361 = load ptr, ptr %360, align 8, !tbaa !32
  %362 = icmp eq ptr %361, null
  br i1 %362, label %363, label %367

363:                                              ; preds = %349
  %364 = load ptr, ptr %3, align 8, !tbaa !5
  %365 = load ptr, ptr @mu_____string302, align 8
  %366 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string302, i32 0, i32 1), align 8
  call void @Parser__expected__(ptr noundef %364, ptr %365, i32 %366)
  br label %367

367:                                              ; preds = %363, %349
  %368 = load ptr, ptr %3, align 8, !tbaa !5
  %369 = load ptr, ptr %15, align 8, !tbaa !5
  %370 = call ptr @Parser__parseForEachStatementTail__(ptr noundef %368, ptr noundef %369)
  %371 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  store ptr %370, ptr %371, align 8, !tbaa !25
  %372 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  %373 = load ptr, ptr %372, align 8, !tbaa !25
  %374 = icmp ne ptr %373, null
  %375 = zext i1 %374 to i64
  %376 = select i1 %374, i32 27, i32 0
  %377 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 0
  store i32 %376, ptr %377, align 8, !tbaa !26
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #5
  br label %409

378:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #5
  %379 = load ptr, ptr %8, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct.Node__, ptr %22, i32 0, i32 1
  store ptr %379, ptr %380, align 8, !tbaa !25
  %381 = getelementptr inbounds %struct.Node__, ptr %22, i32 0, i32 1
  %382 = load ptr, ptr %381, align 8, !tbaa !25
  %383 = icmp ne ptr %382, null
  %384 = zext i1 %383 to i64
  %385 = select i1 %383, i32 21, i32 0
  %386 = getelementptr inbounds %struct.Node__, ptr %22, i32 0, i32 0
  store i32 %385, ptr %386, align 8, !tbaa !26
  %387 = load ptr, ptr %15, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %387, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #5
  %389 = load ptr, ptr %3, align 8, !tbaa !5
  %390 = getelementptr inbounds { i32, ptr }, ptr %22, i32 0, i32 0
  %391 = load i32, ptr %390, align 8
  %392 = getelementptr inbounds { i32, ptr }, ptr %22, i32 0, i32 1
  %393 = load ptr, ptr %392, align 8
  %394 = call { i32, ptr } @Parser__parseExpressionTail__(ptr noundef %389, i32 %391, ptr %393, i32 noundef 0, i8 noundef zeroext 0)
  %395 = getelementptr inbounds { i32, ptr }, ptr %23, i32 0, i32 0
  %396 = extractvalue { i32, ptr } %394, 0
  store i32 %396, ptr %395, align 8
  %397 = getelementptr inbounds { i32, ptr }, ptr %23, i32 0, i32 1
  %398 = extractvalue { i32, ptr } %394, 1
  store ptr %398, ptr %397, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %388, ptr align 8 %23, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  %399 = load ptr, ptr %3, align 8, !tbaa !5
  %400 = load ptr, ptr %15, align 8, !tbaa !5
  %401 = call ptr @Parser__parseForEachStatementTail__(ptr noundef %399, ptr noundef %400)
  %402 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  store ptr %401, ptr %402, align 8, !tbaa !25
  %403 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  %404 = load ptr, ptr %403, align 8, !tbaa !25
  %405 = icmp ne ptr %404, null
  %406 = zext i1 %405 to i64
  %407 = select i1 %405, i32 27, i32 0
  %408 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 0
  store i32 %407, ptr %408, align 8, !tbaa !26
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  br label %409

409:                                              ; preds = %378, %367, %232
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %410

410:                                              ; preds = %409, %156
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  br label %411

411:                                              ; preds = %410, %99
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %452

412:                                              ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %413 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %414 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %413, i32 0, i32 1
  %415 = load ptr, ptr %414, align 8, !tbaa !17
  %416 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %417 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %416, i32 0, i32 0
  %418 = load ptr, ptr %417, align 8, !tbaa !19
  %419 = call ptr %415(ptr noundef %418, i64 noundef 72)
  store ptr %419, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 72, ptr %25) #5
  call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 72, i1 false)
  %420 = load ptr, ptr %4, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %25, i32 0, i32 0
  store ptr %420, ptr %421, align 8, !tbaa !20
  %422 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %422, ptr align 8 %25, i64 72, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %423 = load ptr, ptr %24, align 8, !tbaa !5
  store ptr %423, ptr %26, align 8, !tbaa !5
  %424 = load ptr, ptr %26, align 8, !tbaa !5
  %425 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %424, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #5
  %426 = load ptr, ptr %3, align 8, !tbaa !5
  %427 = call { i32, ptr } @Parser__tryParseExpression__(ptr noundef %426, i32 noundef 0, i8 noundef zeroext 0)
  %428 = getelementptr inbounds { i32, ptr }, ptr %27, i32 0, i32 0
  %429 = extractvalue { i32, ptr } %427, 0
  store i32 %429, ptr %428, align 8
  %430 = getelementptr inbounds { i32, ptr }, ptr %27, i32 0, i32 1
  %431 = extractvalue { i32, ptr } %427, 1
  store ptr %431, ptr %430, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %425, ptr align 8 %27, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #5
  %432 = load ptr, ptr %26, align 8, !tbaa !5
  %433 = getelementptr inbounds %struct.tag_____ForEachStatement__, ptr %432, i32 0, i32 5
  %434 = getelementptr inbounds %struct.Node__, ptr %433, i32 0, i32 1
  %435 = load ptr, ptr %434, align 8, !tbaa !32
  %436 = icmp eq ptr %435, null
  br i1 %436, label %437, label %441

437:                                              ; preds = %412
  %438 = load ptr, ptr %3, align 8, !tbaa !5
  %439 = load ptr, ptr @mu_____string302, align 8
  %440 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string302, i32 0, i32 1), align 8
  call void @Parser__expected__(ptr noundef %438, ptr %439, i32 %440)
  br label %441

441:                                              ; preds = %437, %412
  %442 = load ptr, ptr %3, align 8, !tbaa !5
  %443 = load ptr, ptr %26, align 8, !tbaa !5
  %444 = call ptr @Parser__parseForEachStatementTail__(ptr noundef %442, ptr noundef %443)
  %445 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  store ptr %444, ptr %445, align 8, !tbaa !25
  %446 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  %447 = load ptr, ptr %446, align 8, !tbaa !25
  %448 = icmp ne ptr %447, null
  %449 = zext i1 %448 to i64
  %450 = select i1 %448, i32 27, i32 0
  %451 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 0
  store i32 %450, ptr %451, align 8, !tbaa !26
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %452

452:                                              ; preds = %441, %411, %67, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  %453 = load { i32, ptr }, ptr %2, align 8
  ret { i32, ptr } %453
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 32}
!10 = !{!"tag_____ParserState__", !11, i64 0, !12, i64 16, !6, i64 24, !6, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !6, i64 64, !13, i64 72, !12, i64 80, !12, i64 84, !6, i64 88, !12, i64 96, !6, i64 104, !6, i64 112, !6, i64 120}
!11 = !{!"", !6, i64 0, !12, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!"tag_____IntRange__", !12, i64 0, !12, i64 4}
!14 = !{!15, !12, i64 40}
!15 = !{!"tag_____Token__", !12, i64 0, !11, i64 8, !13, i64 24, !13, i64 32, !12, i64 40}
!16 = !{!10, !12, i64 44}
!17 = !{!18, !6, i64 8}
!18 = !{!"tag_____IAllocator__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!19 = !{!18, !6, i64 0}
!20 = !{!21, !6, i64 0}
!21 = !{!"tag_____ForEachStatement__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !22, i64 40, !6, i64 56, !6, i64 64}
!22 = !{!"", !12, i64 0, !6, i64 8}
!23 = !{i64 0, i64 8, !5, i64 8, i64 8, !5, i64 16, i64 8, !5, i64 24, i64 8, !5, i64 32, i64 8, !5, i64 40, i64 4, !24, i64 48, i64 8, !5, i64 56, i64 8, !5, i64 64, i64 8, !5}
!24 = !{!12, !12, i64 0}
!25 = !{!22, !6, i64 8}
!26 = !{!22, !12, i64 0}
!27 = !{!15, !12, i64 0}
!28 = !{i64 0, i64 4, !24, i64 8, i64 8, !5}
!29 = !{!7, !7, i64 0}
!30 = !{!21, !6, i64 8}
!31 = !{!21, !6, i64 32}
!32 = !{!21, !6, i64 48}
!33 = !{!21, !6, i64 16}
!34 = !{!21, !6, i64 24}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

@mu_____string297 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string175 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string314 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string325 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string302 = external dso_local local_unnamed_addr global %struct.string__, align 8
@top_____currentAllocator__ = external dso_local thread_local local_unnamed_addr global %struct.tag_____IAllocator__, align 8

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local { i32, ptr } @Parser__parseForStatement__(ptr noundef %0) local_unnamed_addr #2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 32
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @Parser__readToken__(ptr noundef %0)
  %4 = load ptr, ptr %2, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %4, i64 40
  %6 = load i32, ptr %5, align 8, !tbaa !13
  %7 = getelementptr inbounds i8, ptr %0, i64 44
  %8 = load i32, ptr %7, align 4, !tbaa !15
  %.not = icmp sgt i32 %6, %8
  br i1 %.not, label %15, label %9

9:                                                ; preds = %1
  %10 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %11 = getelementptr inbounds i8, ptr %10, i64 8
  %12 = load ptr, ptr %11, align 8, !tbaa !16
  %13 = load ptr, ptr %10, align 8, !tbaa !18
  %14 = tail call ptr %12(ptr noundef %13, i64 noundef 72) #3
  store ptr %3, ptr %14, align 8, !tbaa !19
  %.sroa.561.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %.sroa.561.0..sroa_idx, i8 0, i64 64, i1 false)
  br label %146

15:                                               ; preds = %1
  %16 = load i32, ptr %4, align 8, !tbaa !20
  switch i32 %16, label %129 [
    i32 14, label %17
    i32 0, label %20
  ]

17:                                               ; preds = %15
  %18 = tail call ptr @Parser__parseForIndexStatementTail__(ptr noundef nonnull %0, ptr noundef %3, ptr noundef null)
  %.not144 = icmp eq ptr %18, null
  %19 = select i1 %.not144, i32 0, i32 28
  br label %146

20:                                               ; preds = %15
  tail call void @Parser__readToken__(ptr noundef nonnull %0)
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %21, i64 40
  %23 = load i32, ptr %22, align 8, !tbaa !13
  %24 = load i32, ptr %7, align 4, !tbaa !15
  %.not134 = icmp sgt i32 %23, %24
  br i1 %.not134, label %33, label %25

25:                                               ; preds = %20
  %26 = load ptr, ptr @mu_____string314, align 8
  %27 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string314, i64 8), align 8
  tail call void @Parser__expected__(ptr noundef nonnull %0, ptr %26, i32 %27)
  %28 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %29 = getelementptr inbounds i8, ptr %28, i64 8
  %30 = load ptr, ptr %29, align 8, !tbaa !16
  %31 = load ptr, ptr %28, align 8, !tbaa !18
  %32 = tail call ptr %30(ptr noundef %31, i64 noundef 72) #3
  store ptr %3, ptr %32, align 8, !tbaa !19
  %.sroa.551.0..sroa_idx = getelementptr inbounds i8, ptr %32, i64 8
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %.sroa.551.0..sroa_idx, i8 0, i64 32, i1 false)
  %.sroa.552.0..sroa_idx = getelementptr inbounds i8, ptr %32, i64 40
  store i32 21, ptr %.sroa.552.0..sroa_idx, align 8, !tbaa !21
  %.sroa.7.0..sroa_idx = getelementptr inbounds i8, ptr %32, i64 48
  store ptr %4, ptr %.sroa.7.0..sroa_idx, align 8, !tbaa !19
  %.sroa.8.0..sroa_idx = getelementptr inbounds i8, ptr %32, i64 56
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %.sroa.8.0..sroa_idx, i8 0, i64 16, i1 false)
  br label %146

33:                                               ; preds = %20
  %34 = load i32, ptr %21, align 8, !tbaa !20
  %35 = icmp eq i32 %34, 4
  br i1 %35, label %36, label %.critedge

36:                                               ; preds = %33
  %37 = getelementptr inbounds i8, ptr %21, i64 8
  %38 = load ptr, ptr %37, align 8
  %39 = getelementptr inbounds i8, ptr %21, i64 16
  %40 = load i32, ptr %39, align 8
  %41 = load ptr, ptr @mu_____string175, align 8
  %42 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string175, i64 8), align 8
  %43 = tail call zeroext i8 @string__equals__(ptr %38, i32 %40, ptr %41, i32 %42)
  %44 = icmp eq i8 %43, 0
  br i1 %44, label %.critedge, label %45

45:                                               ; preds = %36
  %46 = tail call ptr @Parser__parseForIndexStatementTail__(ptr noundef nonnull %0, ptr noundef %3, ptr noundef nonnull %4)
  %.not143 = icmp eq ptr %46, null
  %47 = select i1 %.not143, i32 0, i32 28
  br label %146

.critedge:                                        ; preds = %33, %36
  %48 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %49 = getelementptr inbounds i8, ptr %48, i64 8
  %50 = load ptr, ptr %49, align 8, !tbaa !16
  %51 = load ptr, ptr %48, align 8, !tbaa !18
  %52 = tail call ptr %50(ptr noundef %51, i64 noundef 72) #3
  store ptr %3, ptr %52, align 8, !tbaa !19
  %.sroa.542.0..sroa_idx = getelementptr inbounds i8, ptr %52, i64 8
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %.sroa.542.0..sroa_idx, i8 0, i64 64, i1 false)
  %53 = load ptr, ptr %2, align 8, !tbaa !5
  %54 = load i32, ptr %53, align 8, !tbaa !20
  %55 = icmp eq i32 %54, 0
  br i1 %55, label %56, label %.critedge146

56:                                               ; preds = %.critedge
  %57 = getelementptr inbounds i8, ptr %53, i64 8
  %58 = load ptr, ptr %57, align 8
  %59 = getelementptr inbounds i8, ptr %53, i64 16
  %60 = load i32, ptr %59, align 8
  %61 = load ptr, ptr @mu_____string325, align 8
  %62 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string325, i64 8), align 8
  %63 = tail call zeroext i8 @string__equals__(ptr %58, i32 %60, ptr %61, i32 %62)
  %64 = icmp eq i8 %63, 0
  %.pre = load ptr, ptr %2, align 8, !tbaa !5
  br i1 %64, label %..critedge146_crit_edge, label %65

..critedge146_crit_edge:                          ; preds = %56
  %.pre154 = load i32, ptr %.pre, align 8, !tbaa !20
  br label %.critedge146

65:                                               ; preds = %56
  store ptr %4, ptr %.sroa.542.0..sroa_idx, align 8, !tbaa !22
  %66 = getelementptr inbounds i8, ptr %52, i64 32
  store ptr %.pre, ptr %66, align 8, !tbaa !25
  tail call void @Parser__readToken__(ptr noundef nonnull %0)
  %67 = getelementptr inbounds i8, ptr %52, i64 40
  %68 = tail call { i32, ptr } @Parser__tryParseExpression__(ptr noundef nonnull %0, i32 noundef 0, i8 noundef zeroext 0)
  %69 = extractvalue { i32, ptr } %68, 0
  %70 = extractvalue { i32, ptr } %68, 1
  store i32 %69, ptr %67, align 8, !tbaa !21
  %.sroa.424.0..sroa_idx = getelementptr inbounds i8, ptr %52, i64 48
  store ptr %70, ptr %.sroa.424.0..sroa_idx, align 8, !tbaa !19
  %71 = icmp eq ptr %70, null
  br i1 %71, label %72, label %126

72:                                               ; preds = %65
  %73 = load ptr, ptr @mu_____string302, align 8
  %74 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string302, i64 8), align 8
  tail call void @Parser__expected__(ptr noundef nonnull %0, ptr %73, i32 %74)
  br label %126

.critedge146:                                     ; preds = %..critedge146_crit_edge, %.critedge
  %75 = phi i32 [ %54, %.critedge ], [ %.pre154, %..critedge146_crit_edge ]
  %76 = phi ptr [ %53, %.critedge ], [ %.pre, %..critedge146_crit_edge ]
  %77 = icmp eq i32 %75, 13
  br i1 %77, label %78, label %121

78:                                               ; preds = %.critedge146
  store ptr %4, ptr %.sroa.542.0..sroa_idx, align 8, !tbaa !22
  %79 = getelementptr inbounds i8, ptr %52, i64 16
  store ptr %76, ptr %79, align 8, !tbaa !26
  tail call void @Parser__readToken__(ptr noundef nonnull %0)
  %80 = load ptr, ptr %2, align 8, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %80, i64 40
  %82 = load i32, ptr %81, align 8, !tbaa !13
  %83 = load i32, ptr %7, align 4, !tbaa !15
  %84 = icmp sgt i32 %82, %83
  br i1 %84, label %85, label %.critedge148

85:                                               ; preds = %78
  %86 = load i32, ptr %80, align 8, !tbaa !20
  %.not152 = icmp eq i32 %86, 0
  br i1 %.not152, label %87, label %.critedge148

87:                                               ; preds = %85
  %88 = getelementptr inbounds i8, ptr %52, i64 24
  store ptr %80, ptr %88, align 8, !tbaa !27
  tail call void @Parser__readToken__(ptr noundef nonnull %0)
  br label %91

.critedge148:                                     ; preds = %78, %85
  %89 = load ptr, ptr @mu_____string297, align 8
  %90 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string297, i64 8), align 8
  tail call void @Parser__expected__(ptr noundef nonnull %0, ptr %89, i32 %90)
  br label %91

91:                                               ; preds = %.critedge148, %87
  %92 = load ptr, ptr %2, align 8, !tbaa !5
  %93 = getelementptr inbounds i8, ptr %92, i64 40
  %94 = load i32, ptr %93, align 8, !tbaa !13
  %95 = load i32, ptr %7, align 4, !tbaa !15
  %96 = icmp sgt i32 %94, %95
  br i1 %96, label %97, label %.critedge151

97:                                               ; preds = %91
  %98 = load i32, ptr %92, align 8, !tbaa !20
  %.not153 = icmp eq i32 %98, 0
  br i1 %.not153, label %.critedge150, label %.critedge151

.critedge150:                                     ; preds = %97
  %99 = getelementptr inbounds i8, ptr %92, i64 8
  %100 = load ptr, ptr %99, align 8
  %101 = getelementptr inbounds i8, ptr %92, i64 16
  %102 = load i32, ptr %101, align 8
  %103 = load ptr, ptr @mu_____string325, align 8
  %104 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string325, i64 8), align 8
  %105 = tail call zeroext i8 @string__equals__(ptr %100, i32 %102, ptr %103, i32 %104)
  %106 = icmp eq i8 %105, 0
  br i1 %106, label %.critedge151, label %107

107:                                              ; preds = %.critedge150
  %108 = load ptr, ptr %2, align 8, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %52, i64 32
  store ptr %108, ptr %109, align 8, !tbaa !25
  tail call void @Parser__readToken__(ptr noundef nonnull %0)
  br label %112

.critedge151:                                     ; preds = %97, %91, %.critedge150
  %110 = load ptr, ptr @mu_____string325, align 8
  %111 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string325, i64 8), align 8
  tail call void @Parser__expected__(ptr noundef nonnull %0, ptr %110, i32 %111)
  br label %112

112:                                              ; preds = %.critedge151, %107
  %113 = getelementptr inbounds i8, ptr %52, i64 40
  %114 = tail call { i32, ptr } @Parser__tryParseExpression__(ptr noundef nonnull %0, i32 noundef 0, i8 noundef zeroext 0)
  %115 = extractvalue { i32, ptr } %114, 0
  %116 = extractvalue { i32, ptr } %114, 1
  store i32 %115, ptr %113, align 8, !tbaa !21
  %.sroa.416.0..sroa_idx = getelementptr inbounds i8, ptr %52, i64 48
  store ptr %116, ptr %.sroa.416.0..sroa_idx, align 8, !tbaa !19
  %117 = icmp eq ptr %116, null
  br i1 %117, label %118, label %126

118:                                              ; preds = %112
  %119 = load ptr, ptr @mu_____string302, align 8
  %120 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string302, i64 8), align 8
  tail call void @Parser__expected__(ptr noundef nonnull %0, ptr %119, i32 %120)
  br label %126

121:                                              ; preds = %.critedge146
  %122 = getelementptr inbounds i8, ptr %52, i64 40
  %123 = tail call { i32, ptr } @Parser__parseExpressionTail__(ptr noundef nonnull %0, i32 21, ptr nonnull %4, i32 noundef 0, i8 noundef zeroext 0)
  %124 = extractvalue { i32, ptr } %123, 0
  %125 = extractvalue { i32, ptr } %123, 1
  store i32 %124, ptr %122, align 8, !tbaa !21
  %.sroa.49.0..sroa_idx = getelementptr inbounds i8, ptr %52, i64 48
  store ptr %125, ptr %.sroa.49.0..sroa_idx, align 8, !tbaa !19
  br label %126

126:                                              ; preds = %112, %118, %65, %72, %121
  %127 = tail call ptr @Parser__parseForEachStatementTail__(ptr noundef nonnull %0, ptr noundef nonnull %52)
  %.not137 = icmp eq ptr %127, null
  %128 = select i1 %.not137, i32 0, i32 27
  br label %146

129:                                              ; preds = %15
  %130 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %131 = getelementptr inbounds i8, ptr %130, i64 8
  %132 = load ptr, ptr %131, align 8, !tbaa !16
  %133 = load ptr, ptr %130, align 8, !tbaa !18
  %134 = tail call ptr %132(ptr noundef %133, i64 noundef 72) #3
  store ptr %3, ptr %134, align 8, !tbaa !19
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %134, i64 8
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %.sroa.5.0..sroa_idx, i8 0, i64 64, i1 false)
  %135 = getelementptr inbounds i8, ptr %134, i64 40
  %136 = tail call { i32, ptr } @Parser__tryParseExpression__(ptr noundef nonnull %0, i32 noundef 0, i8 noundef zeroext 0)
  %137 = extractvalue { i32, ptr } %136, 0
  %138 = extractvalue { i32, ptr } %136, 1
  store i32 %137, ptr %135, align 8, !tbaa !21
  %.sroa.41.0..sroa_idx = getelementptr inbounds i8, ptr %134, i64 48
  store ptr %138, ptr %.sroa.41.0..sroa_idx, align 8, !tbaa !19
  %139 = icmp eq ptr %138, null
  br i1 %139, label %140, label %143

140:                                              ; preds = %129
  %141 = load ptr, ptr @mu_____string302, align 8
  %142 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string302, i64 8), align 8
  tail call void @Parser__expected__(ptr noundef nonnull %0, ptr %141, i32 %142)
  br label %143

143:                                              ; preds = %140, %129
  %144 = tail call ptr @Parser__parseForEachStatementTail__(ptr noundef nonnull %0, ptr noundef nonnull %134)
  %.not133 = icmp eq ptr %144, null
  %145 = select i1 %.not133, i32 0, i32 27
  br label %146

146:                                              ; preds = %25, %126, %45, %143, %17, %9
  %.sroa.0116.3 = phi i32 [ 27, %9 ], [ %19, %17 ], [ %145, %143 ], [ 27, %25 ], [ %47, %45 ], [ %128, %126 ]
  %.sroa.9.3 = phi ptr [ %14, %9 ], [ %18, %17 ], [ %144, %143 ], [ %32, %25 ], [ %46, %45 ], [ %127, %126 ]
  %.fca.0.insert = insertvalue { i32, ptr } poison, i32 %.sroa.0116.3, 0
  %.fca.1.insert = insertvalue { i32, ptr } %.fca.0.insert, ptr %.sroa.9.3, 1
  ret { i32, ptr } %.fca.1.insert
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !8, i64 32}
!6 = !{!"tag_____ParserState__", !7, i64 0, !11, i64 16, !8, i64 24, !8, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !8, i64 64, !12, i64 72, !11, i64 80, !11, i64 84, !8, i64 88, !11, i64 96, !8, i64 104, !8, i64 112, !8, i64 120}
!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 = !{!"tag_____IntRange__", !11, i64 0, !11, i64 4}
!13 = !{!14, !11, i64 40}
!14 = !{!"tag_____Token__", !11, i64 0, !7, i64 8, !12, i64 24, !12, i64 32, !11, i64 40}
!15 = !{!6, !11, i64 44}
!16 = !{!17, !8, i64 8}
!17 = !{!"tag_____IAllocator__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!18 = !{!17, !8, i64 0}
!19 = !{!8, !8, i64 0}
!20 = !{!14, !11, i64 0}
!21 = !{!11, !11, i64 0}
!22 = !{!23, !8, i64 8}
!23 = !{!"tag_____ForEachStatement__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !24, i64 40, !8, i64 56, !8, i64 64}
!24 = !{!"", !11, i64 0, !8, i64 8}
!25 = !{!23, !8, i64 32}
!26 = !{!23, !8, i64 16}
!27 = !{!23, !8, i64 24}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass