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

; 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.tag_____FunctionDef__ = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.Node__, ptr, ptr, ptr, ptr, i32, ptr, %struct.string__, %struct.string__, %struct.tag_____Tag__, i32, ptr, ptr, ptr, ptr, %struct.string__ }
%struct.Node__ = type { i32, ptr }
%struct.tag_____Tag__ = type { ptr, ptr }
%struct.tag_____List__Ptr__Param______ = type { ptr, i32, i32 }
%struct.tag_____List__Node____ = type { ptr, i32, i32 }
%struct.tag_____List__Ptr__Token______ = type { ptr, i32, i32 }
%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_____string309 = external dso_local global %struct.string__, align 8
@mu_____string311 = external dso_local global %struct.string__, align 8
@mu_____string77 = external dso_local global %struct.string__, align 8
@mu_____string303 = external dso_local global %struct.string__, align 8
@mu_____string310 = 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 void @List__add__Ptr__Token______(ptr noundef, ptr noundef) #4

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @Parser__parseFunctionTail__(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 ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %struct.tag_____FunctionDef__, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %struct.tag_____List__Ptr__Param______, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %struct.tag_____List__Node____, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i8, align 1
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca %struct.Node__, align 8
  %20 = alloca %struct.Node__, align 8
  %21 = alloca %struct.Node__, align 8
  %22 = alloca i8, align 1
  %23 = alloca %struct.Node__, align 8
  %24 = alloca i8, align 1
  %25 = alloca ptr, align 8
  %26 = alloca %struct.tag_____List__Ptr__Token______, align 8
  %27 = alloca i8, align 1
  %28 = alloca i8, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %29 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %30 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %29, i32 0, i32 1
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  %32 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %33 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %32, i32 0, i32 0
  %34 = load ptr, ptr %33, align 8, !tbaa !11
  %35 = call ptr %31(ptr noundef %34, i64 noundef 224)
  store ptr %35, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 224, ptr %9) #5
  call void @llvm.memset.p0.i64(ptr align 8 %9, i8 0, i64 224, i1 false)
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.tag_____ParserState__, ptr %36, i32 0, i32 2
  %38 = load ptr, ptr %37, align 8, !tbaa !12
  %39 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %9, i32 0, i32 0
  store ptr %38, ptr %39, align 8, !tbaa !17
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %9, i32 0, i32 1
  store ptr %40, ptr %41, align 8, !tbaa !21
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %9, i32 0, i32 2
  store ptr %42, ptr %43, align 8, !tbaa !22
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.tag_____ParserState__, ptr %44, i32 0, i32 3
  %46 = load ptr, ptr %45, align 8, !tbaa !23
  %47 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %9, i32 0, i32 3
  store ptr %46, ptr %47, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %48 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %49 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %48, i32 0, i32 1
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  %51 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %52 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %51, i32 0, i32 0
  %53 = load ptr, ptr %52, align 8, !tbaa !11
  %54 = call ptr %50(ptr noundef %53, i64 noundef 16)
  store ptr %54, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 16, i1 false)
  %55 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %55, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !25
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %9, i32 0, i32 4
  store ptr %56, ptr %57, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %58 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %59 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %58, i32 0, i32 1
  %60 = load ptr, ptr %59, align 8, !tbaa !9
  %61 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %62 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %61, i32 0, i32 0
  %63 = load ptr, ptr %62, align 8, !tbaa !11
  %64 = call ptr %60(ptr noundef %63, i64 noundef 16)
  store ptr %64, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  call void @llvm.memset.p0.i64(ptr align 8 %13, i8 0, i64 16, i1 false)
  %65 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %65, ptr align 8 %13, i64 16, i1 false), !tbaa.struct !25
  %66 = load ptr, ptr %12, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %9, i32 0, i32 5
  store ptr %66, ptr %67, align 8, !tbaa !28
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %68, ptr align 8 %9, i64 224, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %69, ptr %14, align 8, !tbaa !5
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  call void @Parser__readToken__(ptr noundef %70)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !26
  br label %71

71:                                               ; preds = %187, %3
  br label %72

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.tag_____ParserState__, ptr %73, i32 0, i32 3
  %75 = load ptr, ptr %74, align 8, !tbaa !23
  %76 = getelementptr inbounds %struct.tag_____Token__, ptr %75, i32 0, i32 4
  %77 = load i32, ptr %76, align 8, !tbaa !30
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.tag_____ParserState__, ptr %78, i32 0, i32 5
  %80 = load i32, ptr %79, align 4, !tbaa !32
  %81 = icmp sgt i32 %77, %80
  %82 = zext i1 %81 to i32
  %83 = trunc i32 %82 to i8
  store i8 %83, ptr %16, align 1, !tbaa !33
  %84 = load i8, ptr %16, align 1, !tbaa !33
  %85 = icmp ne i8 %84, 0
  br i1 %85, label %86, label %95

86:                                               ; preds = %72
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.tag_____ParserState__, ptr %87, i32 0, i32 3
  %89 = load ptr, ptr %88, align 8, !tbaa !23
  %90 = getelementptr inbounds %struct.tag_____Token__, ptr %89, i32 0, i32 0
  %91 = load i32, ptr %90, align 8, !tbaa !34
  %92 = icmp ne i32 %91, 6
  %93 = zext i1 %92 to i32
  %94 = trunc i32 %93 to i8
  store i8 %94, ptr %16, align 1, !tbaa !33
  br label %95

95:                                               ; preds = %86, %72
  %96 = load i8, ptr %16, align 1, !tbaa !33
  %97 = icmp ne i8 %96, 0
  br i1 %97, label %99, label %98

98:                                               ; preds = %95
  store i32 3, ptr %17, align 4
  br label %185

99:                                               ; preds = %95
  %100 = load i32, ptr %15, align 4, !tbaa !26
  %101 = icmp ne i32 %100, 2
  br i1 %101, label %102, label %153

102:                                              ; preds = %99
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.tag_____ParserState__, ptr %103, i32 0, i32 3
  %105 = load ptr, ptr %104, align 8, !tbaa !23
  %106 = getelementptr inbounds %struct.tag_____Token__, ptr %105, i32 0, i32 0
  %107 = load i32, ptr %106, align 8, !tbaa !34
  %108 = icmp eq i32 %107, 0
  br i1 %108, label %109, label %131

109:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = call ptr @Parser__parseParam__(ptr noundef %110)
  store ptr %111, ptr %18, align 8, !tbaa !5
  %112 = load ptr, ptr %14, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %112, i32 0, i32 4
  %114 = load ptr, ptr %113, align 8, !tbaa !27
  %115 = load ptr, ptr %18, align 8, !tbaa !5
  call void @List__add__Ptr__Param______(ptr noundef %114, ptr noundef %115)
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #5
  %116 = load ptr, ptr %18, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.Node__, ptr %19, i32 0, i32 1
  store ptr %116, ptr %117, align 8, !tbaa !35
  %118 = getelementptr inbounds %struct.Node__, ptr %19, i32 0, i32 1
  %119 = load ptr, ptr %118, align 8, !tbaa !35
  %120 = icmp ne ptr %119, null
  %121 = zext i1 %120 to i64
  %122 = select i1 %120, i32 35, i32 0
  %123 = getelementptr inbounds %struct.Node__, ptr %19, i32 0, i32 0
  store i32 %122, ptr %123, align 8, !tbaa !36
  %124 = load ptr, ptr %14, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %124, i32 0, i32 5
  %126 = load ptr, ptr %125, align 8, !tbaa !28
  %127 = getelementptr inbounds { i32, ptr }, ptr %19, i32 0, i32 0
  %128 = load i32, ptr %127, align 8
  %129 = getelementptr inbounds { i32, ptr }, ptr %19, i32 0, i32 1
  %130 = load ptr, ptr %129, align 8
  call void @List__add__Node____(ptr noundef %126, i32 %128, ptr %130)
  store i32 2, ptr %15, align 4, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %152

131:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #5
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.tag_____ParserState__, ptr %132, i32 0, i32 3
  %134 = load ptr, ptr %133, align 8, !tbaa !23
  %135 = getelementptr inbounds %struct.Node__, ptr %20, i32 0, i32 1
  store ptr %134, ptr %135, align 8, !tbaa !35
  %136 = getelementptr inbounds %struct.Node__, ptr %20, i32 0, i32 1
  %137 = load ptr, ptr %136, align 8, !tbaa !35
  %138 = icmp ne ptr %137, null
  %139 = zext i1 %138 to i64
  %140 = select i1 %138, i32 21, i32 0
  %141 = getelementptr inbounds %struct.Node__, ptr %20, i32 0, i32 0
  store i32 %140, ptr %141, align 8, !tbaa !36
  %142 = load ptr, ptr %14, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %142, i32 0, i32 5
  %144 = load ptr, ptr %143, align 8, !tbaa !28
  %145 = getelementptr inbounds { i32, ptr }, ptr %20, i32 0, i32 0
  %146 = load i32, ptr %145, align 8
  %147 = getelementptr inbounds { i32, ptr }, ptr %20, i32 0, i32 1
  %148 = load ptr, ptr %147, align 8
  call void @List__add__Node____(ptr noundef %144, i32 %146, ptr %148)
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = load ptr, ptr @mu_____string309, align 8
  %151 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string309, i32 0, i32 1), align 8
  call void @Parser__badToken__(ptr noundef %149, ptr %150, i32 %151)
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #5
  br label %152

152:                                              ; preds = %131, %109
  br label %184

153:                                              ; preds = %99
  %154 = load ptr, ptr %5, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.tag_____ParserState__, ptr %154, i32 0, i32 3
  %156 = load ptr, ptr %155, align 8, !tbaa !23
  %157 = getelementptr inbounds %struct.tag_____Token__, ptr %156, i32 0, i32 0
  %158 = load i32, ptr %157, align 8, !tbaa !34
  %159 = icmp eq i32 %158, 13
  br i1 %159, label %160, label %179

160:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  %161 = load ptr, ptr %5, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.tag_____ParserState__, ptr %161, i32 0, i32 3
  %163 = load ptr, ptr %162, align 8, !tbaa !23
  %164 = getelementptr inbounds %struct.Node__, ptr %21, i32 0, i32 1
  store ptr %163, ptr %164, align 8, !tbaa !35
  %165 = getelementptr inbounds %struct.Node__, ptr %21, i32 0, i32 1
  %166 = load ptr, ptr %165, align 8, !tbaa !35
  %167 = icmp ne ptr %166, null
  %168 = zext i1 %167 to i64
  %169 = select i1 %167, i32 21, i32 0
  %170 = getelementptr inbounds %struct.Node__, ptr %21, i32 0, i32 0
  store i32 %169, ptr %170, align 8, !tbaa !36
  %171 = load ptr, ptr %14, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %171, i32 0, i32 5
  %173 = load ptr, ptr %172, align 8, !tbaa !28
  %174 = getelementptr inbounds { i32, ptr }, ptr %21, i32 0, i32 0
  %175 = load i32, ptr %174, align 8
  %176 = getelementptr inbounds { i32, ptr }, ptr %21, i32 0, i32 1
  %177 = load ptr, ptr %176, align 8
  call void @List__add__Node____(ptr noundef %173, i32 %175, ptr %177)
  %178 = load ptr, ptr %5, align 8, !tbaa !5
  call void @Parser__readToken__(ptr noundef %178)
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  br label %183

179:                                              ; preds = %153
  %180 = load ptr, ptr %5, align 8, !tbaa !5
  %181 = load ptr, ptr @mu_____string77, align 8
  %182 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string77, i32 0, i32 1), align 8
  call void @Parser__expected__(ptr noundef %180, ptr %181, i32 %182)
  br label %183

183:                                              ; preds = %179, %160
  store i32 1, ptr %15, align 4, !tbaa !26
  br label %184

184:                                              ; preds = %183, %152
  store i32 0, ptr %17, align 4
  br label %185

185:                                              ; preds = %184, %98
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  %186 = load i32, ptr %17, align 4
  switch i32 %186, label %355 [
    i32 0, label %187
    i32 3, label %188
  ]

187:                                              ; preds = %185
  br label %71

188:                                              ; preds = %185
  %189 = load i32, ptr %15, align 4, !tbaa !26
  %190 = icmp eq i32 %189, 1
  br i1 %190, label %191, label %195

191:                                              ; preds = %188
  %192 = load ptr, ptr %5, align 8, !tbaa !5
  %193 = load ptr, ptr @mu_____string310, align 8
  %194 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string310, i32 0, i32 1), align 8
  call void @Parser__expected__(ptr noundef %192, ptr %193, i32 %194)
  br label %195

195:                                              ; preds = %191, %188
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  %196 = load ptr, ptr %5, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.tag_____ParserState__, ptr %196, i32 0, i32 3
  %198 = load ptr, ptr %197, align 8, !tbaa !23
  %199 = getelementptr inbounds %struct.tag_____Token__, ptr %198, i32 0, i32 4
  %200 = load i32, ptr %199, align 8, !tbaa !30
  %201 = load ptr, ptr %5, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.tag_____ParserState__, ptr %201, i32 0, i32 5
  %203 = load i32, ptr %202, align 4, !tbaa !32
  %204 = icmp sgt i32 %200, %203
  %205 = zext i1 %204 to i32
  %206 = trunc i32 %205 to i8
  store i8 %206, ptr %22, align 1, !tbaa !33
  %207 = load i8, ptr %22, align 1, !tbaa !33
  %208 = icmp ne i8 %207, 0
  br i1 %208, label %209, label %218

209:                                              ; preds = %195
  %210 = load ptr, ptr %5, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.tag_____ParserState__, ptr %210, i32 0, i32 3
  %212 = load ptr, ptr %211, align 8, !tbaa !23
  %213 = getelementptr inbounds %struct.tag_____Token__, ptr %212, i32 0, i32 0
  %214 = load i32, ptr %213, align 8, !tbaa !34
  %215 = icmp eq i32 %214, 6
  %216 = zext i1 %215 to i32
  %217 = trunc i32 %216 to i8
  store i8 %217, ptr %22, align 1, !tbaa !33
  br label %218

218:                                              ; preds = %209, %195
  %219 = load i8, ptr %22, align 1, !tbaa !33
  %220 = icmp ne i8 %219, 0
  br i1 %220, label %221, label %228

221:                                              ; preds = %218
  %222 = load ptr, ptr %5, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.tag_____ParserState__, ptr %222, i32 0, i32 3
  %224 = load ptr, ptr %223, align 8, !tbaa !23
  %225 = load ptr, ptr %14, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %225, i32 0, i32 6
  store ptr %224, ptr %226, align 8, !tbaa !37
  %227 = load ptr, ptr %5, align 8, !tbaa !5
  call void @Parser__readToken__(ptr noundef %227)
  br label %232

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

232:                                              ; preds = %228, %221
  %233 = load ptr, ptr %14, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %233, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #5
  %235 = load ptr, ptr %5, align 8, !tbaa !5
  %236 = call { i32, ptr } @Parser__tryParseType__(ptr noundef %235)
  %237 = getelementptr inbounds { i32, ptr }, ptr %23, i32 0, i32 0
  %238 = extractvalue { i32, ptr } %236, 0
  store i32 %238, ptr %237, align 8
  %239 = getelementptr inbounds { i32, ptr }, ptr %23, i32 0, i32 1
  %240 = extractvalue { i32, ptr } %236, 1
  store ptr %240, ptr %239, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %234, ptr align 8 %23, i64 16, i1 false), !tbaa.struct !38
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  %241 = load ptr, ptr %5, align 8, !tbaa !5
  %242 = call ptr @Parser__tryParseAttributes__(ptr noundef %241)
  %243 = load ptr, ptr %14, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %243, i32 0, i32 8
  store ptr %242, ptr %244, align 8, !tbaa !39
  br label %245

245:                                              ; preds = %299, %232
  br label %246

246:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #5
  %247 = load ptr, ptr %5, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.tag_____ParserState__, ptr %247, i32 0, i32 3
  %249 = load ptr, ptr %248, align 8, !tbaa !23
  %250 = getelementptr inbounds %struct.tag_____Token__, ptr %249, i32 0, i32 4
  %251 = load i32, ptr %250, align 8, !tbaa !30
  %252 = icmp eq i32 %251, 2147483647
  %253 = zext i1 %252 to i32
  %254 = trunc i32 %253 to i8
  store i8 %254, ptr %24, align 1, !tbaa !33
  %255 = load i8, ptr %24, align 1, !tbaa !33
  %256 = icmp ne i8 %255, 0
  br i1 %256, label %257, label %266

257:                                              ; preds = %246
  %258 = load ptr, ptr %5, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.tag_____ParserState__, ptr %258, i32 0, i32 3
  %260 = load ptr, ptr %259, align 8, !tbaa !23
  %261 = getelementptr inbounds %struct.tag_____Token__, ptr %260, i32 0, i32 0
  %262 = load i32, ptr %261, align 8, !tbaa !34
  %263 = icmp ne i32 %262, 7
  %264 = zext i1 %263 to i32
  %265 = trunc i32 %264 to i8
  store i8 %265, ptr %24, align 1, !tbaa !33
  br label %266

266:                                              ; preds = %257, %246
  %267 = load i8, ptr %24, align 1, !tbaa !33
  %268 = icmp ne i8 %267, 0
  br i1 %268, label %270, label %269

269:                                              ; preds = %266
  store i32 5, ptr %17, align 4
  br label %297

270:                                              ; preds = %266
  %271 = load ptr, ptr %14, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %271, i32 0, i32 9
  %273 = load ptr, ptr %272, align 8, !tbaa !40
  %274 = icmp eq ptr %273, null
  br i1 %274, label %275, label %287

275:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %276 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %277 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %276, i32 0, i32 1
  %278 = load ptr, ptr %277, align 8, !tbaa !9
  %279 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %280 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %279, i32 0, i32 0
  %281 = load ptr, ptr %280, align 8, !tbaa !11
  %282 = call ptr %278(ptr noundef %281, i64 noundef 16)
  store ptr %282, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #5
  call void @llvm.memset.p0.i64(ptr align 8 %26, i8 0, i64 16, i1 false)
  %283 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %283, ptr align 8 %26, i64 16, i1 false), !tbaa.struct !25
  %284 = load ptr, ptr %25, align 8, !tbaa !5
  %285 = load ptr, ptr %14, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %285, i32 0, i32 9
  store ptr %284, ptr %286, align 8, !tbaa !40
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %287

287:                                              ; preds = %275, %270
  %288 = load ptr, ptr %14, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %288, i32 0, i32 9
  %290 = load ptr, ptr %289, align 8, !tbaa !40
  %291 = load ptr, ptr %5, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.tag_____ParserState__, ptr %291, i32 0, i32 3
  %293 = load ptr, ptr %292, align 8, !tbaa !23
  call void @List__add__Ptr__Token______(ptr noundef %290, ptr noundef %293)
  %294 = load ptr, ptr %5, align 8, !tbaa !5
  %295 = load ptr, ptr @mu_____string311, align 8
  %296 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string311, i32 0, i32 1), align 8
  call void @Parser__badToken__(ptr noundef %294, ptr %295, i32 %296)
  store i32 0, ptr %17, align 4
  br label %297

297:                                              ; preds = %287, %269
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #5
  %298 = load i32, ptr %17, align 4
  switch i32 %298, label %355 [
    i32 0, label %299
    i32 5, label %300
  ]

299:                                              ; preds = %297
  br label %245

300:                                              ; preds = %297
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #5
  %301 = load ptr, ptr %5, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.tag_____ParserState__, ptr %301, i32 0, i32 3
  %303 = load ptr, ptr %302, align 8, !tbaa !23
  %304 = getelementptr inbounds %struct.tag_____Token__, ptr %303, i32 0, i32 4
  %305 = load i32, ptr %304, align 8, !tbaa !30
  %306 = load ptr, ptr %5, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.tag_____ParserState__, ptr %306, i32 0, i32 5
  %308 = load i32, ptr %307, align 4, !tbaa !32
  %309 = icmp slt i32 %305, %308
  %310 = zext i1 %309 to i32
  %311 = trunc i32 %310 to i8
  store i8 %311, ptr %27, align 1, !tbaa !33
  %312 = load i8, ptr %27, align 1, !tbaa !33
  %313 = icmp ne i8 %312, 0
  br i1 %313, label %339, label %314

314:                                              ; preds = %300
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #5
  %315 = load ptr, ptr %5, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.tag_____ParserState__, ptr %315, i32 0, i32 3
  %317 = load ptr, ptr %316, align 8, !tbaa !23
  %318 = getelementptr inbounds %struct.tag_____Token__, ptr %317, i32 0, i32 4
  %319 = load i32, ptr %318, align 8, !tbaa !30
  %320 = load ptr, ptr %5, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.tag_____ParserState__, ptr %320, i32 0, i32 5
  %322 = load i32, ptr %321, align 4, !tbaa !32
  %323 = icmp eq i32 %319, %322
  %324 = zext i1 %323 to i32
  %325 = trunc i32 %324 to i8
  store i8 %325, ptr %28, align 1, !tbaa !33
  %326 = load i8, ptr %28, align 1, !tbaa !33
  %327 = icmp ne i8 %326, 0
  br i1 %327, label %328, label %337

328:                                              ; preds = %314
  %329 = load ptr, ptr %5, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.tag_____ParserState__, ptr %329, i32 0, i32 3
  %331 = load ptr, ptr %330, align 8, !tbaa !23
  %332 = getelementptr inbounds %struct.tag_____Token__, ptr %331, i32 0, i32 0
  %333 = load i32, ptr %332, align 8, !tbaa !34
  %334 = icmp ne i32 %333, 7
  %335 = zext i1 %334 to i32
  %336 = trunc i32 %335 to i8
  store i8 %336, ptr %28, align 1, !tbaa !33
  br label %337

337:                                              ; preds = %328, %314
  %338 = load i8, ptr %28, align 1, !tbaa !33
  store i8 %338, ptr %27, align 1, !tbaa !33
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #5
  br label %339

339:                                              ; preds = %337, %300
  %340 = load i8, ptr %27, align 1, !tbaa !33
  %341 = icmp ne i8 %340, 0
  br i1 %341, label %342, label %344

342:                                              ; preds = %339
  %343 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %343, ptr %4, align 8
  store i32 1, ptr %17, align 4
  br label %353

344:                                              ; preds = %339
  %345 = load ptr, ptr %14, align 8, !tbaa !5
  %346 = load ptr, ptr %5, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.tag_____ParserState__, ptr %346, i32 0, i32 16
  store ptr %345, ptr %347, align 8, !tbaa !41
  %348 = load ptr, ptr %5, align 8, !tbaa !5
  %349 = call ptr @Parser__parseBlockStatement__(ptr noundef %348)
  %350 = load ptr, ptr %14, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %350, i32 0, i32 10
  store ptr %349, ptr %351, align 8, !tbaa !42
  %352 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %352, ptr %4, align 8
  store i32 1, ptr %17, align 4
  br label %353

353:                                              ; preds = %344, %342
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 224, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %354 = load ptr, ptr %4, align 8
  ret ptr %354

355:                                              ; preds = %297, %185
  unreachable
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"tag_____IAllocator__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!11 = !{!10, !6, i64 0}
!12 = !{!13, !6, i64 24}
!13 = !{!"tag_____ParserState__", !14, i64 0, !15, i64 16, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !6, i64 64, !16, i64 72, !15, i64 80, !15, i64 84, !6, i64 88, !15, i64 96, !6, i64 104, !6, i64 112, !6, i64 120}
!14 = !{!"", !6, i64 0, !15, i64 8}
!15 = !{!"int", !7, i64 0}
!16 = !{!"tag_____IntRange__", !15, i64 0, !15, i64 4}
!17 = !{!18, !6, i64 0}
!18 = !{!"tag_____FunctionDef__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !19, i64 56, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !15, i64 104, !6, i64 112, !14, i64 120, !14, i64 136, !20, i64 152, !15, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !14, i64 208}
!19 = !{!"", !15, i64 0, !6, i64 8}
!20 = !{!"tag_____Tag__", !6, i64 0, !6, i64 8}
!21 = !{!18, !6, i64 8}
!22 = !{!18, !6, i64 16}
!23 = !{!13, !6, i64 32}
!24 = !{!18, !6, i64 24}
!25 = !{i64 0, i64 8, !5, i64 8, i64 4, !26, i64 12, i64 4, !26}
!26 = !{!15, !15, i64 0}
!27 = !{!18, !6, i64 32}
!28 = !{!18, !6, i64 40}
!29 = !{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 8, !5, i64 48, i64 8, !5, i64 56, i64 4, !26, i64 64, i64 8, !5, i64 72, i64 8, !5, i64 80, i64 8, !5, i64 88, i64 8, !5, i64 96, i64 8, !5, i64 104, i64 4, !26, i64 112, i64 8, !5, i64 120, i64 8, !5, i64 128, i64 4, !26, i64 136, i64 8, !5, i64 144, i64 4, !26, i64 152, i64 8, !5, i64 160, i64 8, !5, i64 168, i64 4, !26, i64 176, i64 8, !5, i64 184, i64 8, !5, i64 192, i64 8, !5, i64 200, i64 8, !5, i64 208, i64 8, !5, i64 216, i64 4, !26}
!30 = !{!31, !15, i64 40}
!31 = !{!"tag_____Token__", !15, i64 0, !14, i64 8, !16, i64 24, !16, i64 32, !15, i64 40}
!32 = !{!13, !15, i64 44}
!33 = !{!7, !7, i64 0}
!34 = !{!31, !15, i64 0}
!35 = !{!19, !6, i64 8}
!36 = !{!19, !15, i64 0}
!37 = !{!18, !6, i64 48}
!38 = !{i64 0, i64 4, !26, i64 8, i64 8, !5}
!39 = !{!18, !6, i64 72}
!40 = !{!18, !6, i64 80}
!41 = !{!13, !6, i64 112}
!42 = !{!18, !6, i64 88}


; 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_____string309 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string311 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string77 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string303 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string310 = 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 void @List__add__Ptr__Token______(ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare dso_local void @List__add__Node____(ptr noundef, i32, ptr) 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 void @Parser__badToken__(ptr noundef, ptr, i32) 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 ptr @Parser__parseBlockStatement__(ptr noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @Parser__parseFunctionTail__(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 {
  %4 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %5 = getelementptr inbounds i8, ptr %4, i64 8
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = load ptr, ptr %4, align 8, !tbaa !10
  %8 = tail call ptr %6(ptr noundef %7, i64 noundef 224) #3
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  %10 = load ptr, ptr %9, align 8, !tbaa !11
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  %12 = load ptr, ptr %11, align 8, !tbaa !16
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8, !tbaa !10
  %15 = tail call ptr %13(ptr noundef %14, i64 noundef 16) #3
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %15, i8 0, i64 16, i1 false)
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = load ptr, ptr %4, align 8, !tbaa !10
  %18 = tail call ptr %16(ptr noundef %17, i64 noundef 16) #3
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %18, i8 0, i64 16, i1 false)
  store ptr %10, ptr %8, align 8, !tbaa !17
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 8
  store ptr %1, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !17
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 16
  store ptr %2, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !17
  %.sroa.7.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 24
  store ptr %12, ptr %.sroa.7.0..sroa_idx, align 8, !tbaa !17
  %.sroa.8.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 32
  store ptr %15, ptr %.sroa.8.0..sroa_idx, align 8, !tbaa !17
  %.sroa.9.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 40
  store ptr %18, ptr %.sroa.9.0..sroa_idx, align 8, !tbaa !17
  %.sroa.10.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 48
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(176) %.sroa.10.0..sroa_idx, i8 0, i64 176, i1 false)
  tail call void @Parser__readToken__(ptr noundef %0)
  %19 = getelementptr inbounds i8, ptr %0, i64 44
  %20 = load ptr, ptr %11, align 8, !tbaa !16
  %21 = getelementptr inbounds i8, ptr %20, i64 40
  %22 = load i32, ptr %21, align 8, !tbaa !18
  %23 = load i32, ptr %19, align 4, !tbaa !20
  %24 = icmp sgt i32 %22, %23
  br i1 %24, label %.lr.ph.preheader, label %.thread.thread

.lr.ph.preheader:                                 ; preds = %3
  %25 = load i32, ptr %20, align 8, !tbaa !21
  %.not127146 = icmp eq i32 %25, 6
  br i1 %.not127146, label %.thread, label %.lr.ph148

.lr.ph:                                           ; preds = %47
  %26 = load i32, ptr %48, align 8, !tbaa !21
  %.not127 = icmp eq i32 %26, 6
  br i1 %.not127, label %.thread.loopexit, label %.lr.ph148

.lr.ph148:                                        ; preds = %.lr.ph.preheader, %.lr.ph
  %27 = phi i32 [ %26, %.lr.ph ], [ %25, %.lr.ph.preheader ]
  %.092129147 = phi i32 [ %.2, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %28 = phi ptr [ %48, %.lr.ph ], [ %20, %.lr.ph.preheader ]
  %.not101 = icmp eq i32 %.092129147, 2
  br i1 %.not101, label %40, label %29

29:                                               ; preds = %.lr.ph148
  %30 = icmp eq i32 %27, 0
  br i1 %30, label %31, label %36

31:                                               ; preds = %29
  %32 = tail call ptr @Parser__parseParam__(ptr noundef %0)
  %33 = load ptr, ptr %.sroa.8.0..sroa_idx, align 8, !tbaa !22
  tail call void @List__add__Ptr__Param______(ptr noundef %33, ptr noundef %32)
  %.not102 = icmp eq ptr %32, null
  %34 = select i1 %.not102, i32 0, i32 35
  %35 = load ptr, ptr %.sroa.9.0..sroa_idx, align 8, !tbaa !26
  tail call void @List__add__Node____(ptr noundef %35, i32 %34, ptr %32)
  br label %47

36:                                               ; preds = %29
  %37 = load ptr, ptr %.sroa.9.0..sroa_idx, align 8, !tbaa !26
  tail call void @List__add__Node____(ptr noundef %37, i32 21, ptr nonnull %28)
  %38 = load ptr, ptr @mu_____string309, align 8
  %39 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string309, i64 8), align 8
  tail call void @Parser__badToken__(ptr noundef %0, ptr %38, i32 %39)
  br label %47

40:                                               ; preds = %.lr.ph148
  %41 = icmp eq i32 %27, 13
  br i1 %41, label %42, label %44

42:                                               ; preds = %40
  %43 = load ptr, ptr %.sroa.9.0..sroa_idx, align 8, !tbaa !26
  tail call void @List__add__Node____(ptr noundef %43, i32 21, ptr nonnull %28)
  tail call void @Parser__readToken__(ptr noundef %0)
  br label %47

44:                                               ; preds = %40
  %45 = load ptr, ptr @mu_____string77, align 8
  %46 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string77, i64 8), align 8
  tail call void @Parser__expected__(ptr noundef %0, ptr %45, i32 %46)
  br label %47

47:                                               ; preds = %36, %31, %44, %42
  %.2 = phi i32 [ 2, %31 ], [ %.092129147, %36 ], [ 1, %44 ], [ 1, %42 ]
  %48 = load ptr, ptr %11, align 8, !tbaa !16
  %49 = getelementptr inbounds i8, ptr %48, i64 40
  %50 = load i32, ptr %49, align 8, !tbaa !18
  %51 = load i32, ptr %19, align 4, !tbaa !20
  %52 = icmp sgt i32 %50, %51
  br i1 %52, label %.lr.ph, label %.thread.loopexit

.thread.loopexit:                                 ; preds = %.lr.ph, %47
  %53 = icmp eq i32 %.2, 1
  br label %.thread

.thread:                                          ; preds = %.thread.loopexit, %.lr.ph.preheader
  %54 = phi i32 [ %23, %.lr.ph.preheader ], [ %51, %.thread.loopexit ]
  %55 = phi ptr [ %20, %.lr.ph.preheader ], [ %48, %.thread.loopexit ]
  %.092.lcssa.ph = phi i1 [ false, %.lr.ph.preheader ], [ %53, %.thread.loopexit ]
  br i1 %.092.lcssa.ph, label %56, label %.thread.thread

56:                                               ; preds = %.thread
  %57 = load ptr, ptr @mu_____string310, align 8
  %58 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string310, i64 8), align 8
  tail call void @Parser__expected__(ptr noundef nonnull %0, ptr %57, i32 %58)
  %.pre = load ptr, ptr %11, align 8, !tbaa !16
  %.pre134 = load i32, ptr %19, align 4, !tbaa !20
  br label %.thread.thread

.thread.thread:                                   ; preds = %3, %56, %.thread
  %59 = phi i32 [ %.pre134, %56 ], [ %54, %.thread ], [ %23, %3 ]
  %60 = phi ptr [ %.pre, %56 ], [ %55, %.thread ], [ %20, %3 ]
  %61 = getelementptr inbounds i8, ptr %60, i64 40
  %62 = load i32, ptr %61, align 8, !tbaa !18
  %63 = icmp sgt i32 %62, %59
  br i1 %63, label %64, label %.critedge

64:                                               ; preds = %.thread.thread
  %65 = load i32, ptr %60, align 8, !tbaa !21
  %.not = icmp eq i32 %65, 6
  br i1 %.not, label %66, label %.critedge

66:                                               ; preds = %64
  store ptr %60, ptr %.sroa.10.0..sroa_idx, align 8, !tbaa !27
  tail call void @Parser__readToken__(ptr noundef nonnull %0)
  br label %69

.critedge:                                        ; preds = %.thread.thread, %64
  %67 = load ptr, ptr @mu_____string303, align 8
  %68 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string303, i64 8), align 8
  tail call void @Parser__expected__(ptr noundef nonnull %0, ptr %67, i32 %68)
  br label %69

69:                                               ; preds = %.critedge, %66
  %70 = getelementptr inbounds i8, ptr %8, i64 56
  %71 = tail call { i32, ptr } @Parser__tryParseType__(ptr noundef nonnull %0)
  %72 = extractvalue { i32, ptr } %71, 0
  %73 = extractvalue { i32, ptr } %71, 1
  store i32 %72, ptr %70, align 8, !tbaa !28
  %.sroa.47.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 64
  store ptr %73, ptr %.sroa.47.0..sroa_idx, align 8, !tbaa !17
  %74 = tail call ptr @Parser__tryParseAttributes__(ptr noundef nonnull %0)
  %75 = getelementptr inbounds i8, ptr %8, i64 72
  store ptr %74, ptr %75, align 8, !tbaa !29
  %76 = load ptr, ptr %11, align 8, !tbaa !16
  %77 = getelementptr inbounds i8, ptr %76, i64 40
  %78 = load i32, ptr %77, align 8, !tbaa !18
  %79 = icmp eq i32 %78, 2147483647
  br i1 %79, label %.lr.ph132, label %.thread120

.lr.ph132:                                        ; preds = %69
  %80 = getelementptr inbounds i8, ptr %8, i64 80
  br label %81

81:                                               ; preds = %.lr.ph132, %92
  %82 = phi ptr [ %76, %.lr.ph132 ], [ %97, %92 ]
  %83 = load i32, ptr %82, align 8, !tbaa !21
  %.not128 = icmp eq i32 %83, 7
  br i1 %.not128, label %.thread120.thread, label %85

.thread120.thread:                                ; preds = %81
  %84 = load i32, ptr %19, align 4, !tbaa !20
  br label %105

85:                                               ; preds = %81
  %86 = load ptr, ptr %80, align 8, !tbaa !30
  %87 = icmp eq ptr %86, null
  br i1 %87, label %88, label %92

88:                                               ; preds = %85
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = load ptr, ptr %4, align 8, !tbaa !10
  %91 = tail call ptr %89(ptr noundef %90, i64 noundef 16) #3
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %91, i8 0, i64 16, i1 false)
  store ptr %91, ptr %80, align 8, !tbaa !30
  %.pre135 = load ptr, ptr %11, align 8, !tbaa !16
  br label %92

92:                                               ; preds = %85, %88
  %93 = phi ptr [ %82, %85 ], [ %.pre135, %88 ]
  %94 = phi ptr [ %86, %85 ], [ %91, %88 ]
  tail call void @List__add__Ptr__Token______(ptr noundef nonnull %94, ptr noundef %93)
  %95 = load ptr, ptr @mu_____string311, align 8
  %96 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string311, i64 8), align 8
  tail call void @Parser__badToken__(ptr noundef nonnull %0, ptr %95, i32 %96)
  %97 = load ptr, ptr %11, align 8, !tbaa !16
  %98 = getelementptr inbounds i8, ptr %97, i64 40
  %99 = load i32, ptr %98, align 8, !tbaa !18
  %100 = icmp eq i32 %99, 2147483647
  br i1 %100, label %81, label %.thread120

.thread120:                                       ; preds = %92, %69
  %101 = phi i32 [ %78, %69 ], [ %99, %92 ]
  %102 = phi ptr [ %76, %69 ], [ %97, %92 ]
  %103 = load i32, ptr %19, align 4, !tbaa !20
  %104 = icmp slt i32 %101, %103
  br i1 %104, label %.critedge110, label %105

105:                                              ; preds = %.thread120.thread, %.thread120
  %106 = phi i32 [ %84, %.thread120.thread ], [ %103, %.thread120 ]
  %107 = phi ptr [ %82, %.thread120.thread ], [ %102, %.thread120 ]
  %108 = phi i32 [ 2147483647, %.thread120.thread ], [ %101, %.thread120 ]
  %109 = icmp eq i32 %108, %106
  br i1 %109, label %110, label %.critedge112

110:                                              ; preds = %105
  %111 = load i32, ptr %107, align 8, !tbaa !21
  %.not106 = icmp eq i32 %111, 7
  br i1 %.not106, label %.critedge112, label %.critedge110

.critedge112:                                     ; preds = %105, %110
  %112 = getelementptr inbounds i8, ptr %0, i64 112
  store ptr %8, ptr %112, align 8, !tbaa !31
  %113 = tail call ptr @Parser__parseBlockStatement__(ptr noundef nonnull %0)
  %114 = getelementptr inbounds i8, ptr %8, i64 88
  store ptr %113, ptr %114, align 8, !tbaa !32
  br label %.critedge110

.critedge110:                                     ; preds = %.thread120, %110, %.critedge112
  ret ptr %8
}

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

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

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


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass