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

; 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_____MatchStatement__ = type { ptr, %struct.Node__, ptr, ptr, ptr, ptr, ptr }
%struct.Node__ = type { i32, ptr }
%struct.tag_____List__Ptr__MatchCase______ = 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_____string311 = external dso_local global %struct.string__, align 8
@mu_____string332 = external dso_local global %struct.string__, align 8
@mu_____string327 = external dso_local global %struct.string__, align 8
@mu_____string315 = 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 void @List__add__Ptr__Token______(ptr noundef, ptr noundef) #4

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

72:                                               ; preds = %1
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = load ptr, ptr @mu_____string302, align 8
  %75 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string302, i32 0, i32 1), align 8
  call void @Parser__expected__(ptr noundef %73, ptr %74, i32 %75)
  br label %76

76:                                               ; preds = %72, %1
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.tag_____ParserState__, ptr %77, i32 0, i32 3
  %79 = load ptr, ptr %78, align 8, !tbaa !12
  %80 = getelementptr inbounds %struct.tag_____Token__, ptr %79, i32 0, i32 4
  %81 = load i32, ptr %80, align 8, !tbaa !27
  %82 = icmp eq i32 %81, 2147483647
  %83 = zext i1 %82 to i32
  %84 = trunc i32 %83 to i8
  store i8 %84, ptr %12, align 1, !tbaa !29
  %85 = load i8, ptr %12, align 1, !tbaa !29
  %86 = icmp ne i8 %85, 0
  br i1 %86, label %87, label %96

87:                                               ; preds = %76
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.tag_____ParserState__, ptr %88, i32 0, i32 3
  %90 = load ptr, ptr %89, align 8, !tbaa !12
  %91 = getelementptr inbounds %struct.tag_____Token__, ptr %90, i32 0, i32 0
  %92 = load i32, ptr %91, align 8, !tbaa !30
  %93 = icmp ne i32 %92, 7
  %94 = zext i1 %93 to i32
  %95 = trunc i32 %94 to i8
  store i8 %95, ptr %12, align 1, !tbaa !29
  br label %96

96:                                               ; preds = %87, %76
  %97 = load i8, ptr %12, align 1, !tbaa !29
  %98 = icmp ne i8 %97, 0
  br i1 %98, label %99, label %150

99:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %100 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %101 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %100, i32 0, i32 1
  %102 = load ptr, ptr %101, align 8, !tbaa !9
  %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 0
  %105 = load ptr, ptr %104, align 8, !tbaa !11
  %106 = call ptr %102(ptr noundef %105, i64 noundef 16)
  store ptr %106, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 16, i1 false)
  %107 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %107, ptr align 8 %14, i64 16, i1 false), !tbaa.struct !20
  %108 = load ptr, ptr %13, align 8, !tbaa !5
  %109 = load ptr, ptr %10, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.tag_____MatchStatement__, ptr %109, i32 0, i32 2
  store ptr %108, ptr %110, align 8, !tbaa !31
  br label %111

111:                                              ; preds = %148, %99
  br label %112

112:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.tag_____ParserState__, ptr %113, i32 0, i32 3
  %115 = load ptr, ptr %114, align 8, !tbaa !12
  %116 = getelementptr inbounds %struct.tag_____Token__, ptr %115, i32 0, i32 4
  %117 = load i32, ptr %116, align 8, !tbaa !27
  %118 = icmp eq i32 %117, 2147483647
  %119 = zext i1 %118 to i32
  %120 = trunc i32 %119 to i8
  store i8 %120, ptr %15, align 1, !tbaa !29
  %121 = load i8, ptr %15, align 1, !tbaa !29
  %122 = icmp ne i8 %121, 0
  br i1 %122, label %123, label %132

123:                                              ; preds = %112
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.tag_____ParserState__, ptr %124, i32 0, i32 3
  %126 = load ptr, ptr %125, align 8, !tbaa !12
  %127 = getelementptr inbounds %struct.tag_____Token__, ptr %126, i32 0, i32 0
  %128 = load i32, ptr %127, align 8, !tbaa !30
  %129 = icmp ne i32 %128, 7
  %130 = zext i1 %129 to i32
  %131 = trunc i32 %130 to i8
  store i8 %131, ptr %15, align 1, !tbaa !29
  br label %132

132:                                              ; preds = %123, %112
  %133 = load i8, ptr %15, align 1, !tbaa !29
  %134 = icmp ne i8 %133, 0
  br i1 %134, label %136, label %135

135:                                              ; preds = %132
  store i32 3, ptr %16, align 4
  br label %146

136:                                              ; preds = %132
  %137 = load ptr, ptr %10, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.tag_____MatchStatement__, ptr %137, i32 0, i32 2
  %139 = load ptr, ptr %138, align 8, !tbaa !31
  %140 = load ptr, ptr %3, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.tag_____ParserState__, ptr %140, i32 0, i32 3
  %142 = load ptr, ptr %141, align 8, !tbaa !12
  call void @List__add__Ptr__Token______(ptr noundef %139, ptr noundef %142)
  %143 = load ptr, ptr %3, align 8, !tbaa !5
  %144 = load ptr, ptr @mu_____string311, align 8
  %145 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string311, i32 0, i32 1), align 8
  call void @Parser__badToken__(ptr noundef %143, ptr %144, i32 %145)
  store i32 0, ptr %16, align 4
  br label %146

146:                                              ; preds = %136, %135
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  %147 = load i32, ptr %16, align 4
  switch i32 %147, label %324 [
    i32 0, label %148
    i32 3, label %149
  ]

148:                                              ; preds = %146
  br label %111

149:                                              ; preds = %146
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %150

150:                                              ; preds = %149, %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %151 = load ptr, ptr %3, align 8, !tbaa !5
  %152 = load ptr, ptr %10, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.tag_____MatchStatement__, ptr %152, i32 0, i32 5
  %154 = load ptr, ptr %153, align 8, !tbaa !23
  %155 = call ptr @Parser__parseOpenBrace__(ptr noundef %151, ptr noundef %154)
  store ptr %155, ptr %17, align 8, !tbaa !5
  %156 = load ptr, ptr %3, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.tag_____ParserState__, ptr %156, i32 0, i32 15
  %158 = load ptr, ptr %157, align 8, !tbaa !32
  %159 = icmp ne ptr %158, null
  br i1 %159, label %160, label %167

160:                                              ; preds = %150
  %161 = load ptr, ptr %3, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.tag_____ParserState__, ptr %161, i32 0, i32 15
  %163 = load ptr, ptr %162, align 8, !tbaa !32
  %164 = load ptr, ptr %10, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.tag_____MatchStatement__, ptr %164, i32 0, i32 6
  store ptr %163, ptr %165, align 8, !tbaa !33
  %166 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %166, ptr %2, align 8
  store i32 1, ptr %16, align 4
  br label %322

167:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %168 = load ptr, ptr %3, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.tag_____ParserState__, ptr %168, i32 0, i32 3
  %170 = load ptr, ptr %169, align 8, !tbaa !12
  %171 = getelementptr inbounds %struct.tag_____Token__, ptr %170, i32 0, i32 4
  %172 = load i32, ptr %171, align 8, !tbaa !27
  store i32 %172, ptr %18, align 4, !tbaa !21
  br label %173

173:                                              ; preds = %315, %167
  br label %174

174:                                              ; preds = %173
  %175 = load ptr, ptr %3, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.tag_____ParserState__, ptr %175, i32 0, i32 3
  %177 = load ptr, ptr %176, align 8, !tbaa !12
  %178 = getelementptr inbounds %struct.tag_____Token__, ptr %177, i32 0, i32 4
  %179 = load i32, ptr %178, align 8, !tbaa !27
  %180 = load ptr, ptr %3, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.tag_____ParserState__, ptr %180, i32 0, i32 5
  %182 = load i32, ptr %181, align 4, !tbaa !34
  %183 = icmp sgt i32 %179, %182
  br i1 %183, label %185, label %184

184:                                              ; preds = %174
  br label %316

185:                                              ; preds = %174
  %186 = load ptr, ptr %3, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.tag_____ParserState__, ptr %186, i32 0, i32 3
  %188 = load ptr, ptr %187, align 8, !tbaa !12
  %189 = getelementptr inbounds %struct.tag_____Token__, ptr %188, i32 0, i32 0
  %190 = load i32, ptr %189, align 8, !tbaa !30
  %191 = icmp eq i32 %190, 8
  br i1 %191, label %192, label %217

192:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #5
  %193 = load ptr, ptr %3, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.tag_____ParserState__, ptr %193, i32 0, i32 3
  %195 = load ptr, ptr %194, align 8, !tbaa !12
  %196 = getelementptr inbounds %struct.Node__, ptr %19, i32 0, i32 1
  store ptr %195, ptr %196, align 8, !tbaa !35
  %197 = getelementptr inbounds %struct.Node__, ptr %19, i32 0, i32 1
  %198 = load ptr, ptr %197, align 8, !tbaa !35
  %199 = icmp ne ptr %198, null
  %200 = zext i1 %199 to i64
  %201 = select i1 %199, i32 21, i32 0
  %202 = getelementptr inbounds %struct.Node__, ptr %19, i32 0, i32 0
  store i32 %201, ptr %202, align 8, !tbaa !36
  %203 = load ptr, ptr %10, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.tag_____MatchStatement__, ptr %203, i32 0, i32 5
  %205 = load ptr, ptr %204, align 8, !tbaa !23
  %206 = getelementptr inbounds { i32, ptr }, ptr %19, i32 0, i32 0
  %207 = load i32, ptr %206, align 8
  %208 = getelementptr inbounds { i32, ptr }, ptr %19, i32 0, i32 1
  %209 = load ptr, ptr %208, align 8
  call void @List__add__Node____(ptr noundef %205, i32 %207, ptr %209)
  %210 = load ptr, ptr %3, align 8, !tbaa !5
  %211 = load ptr, ptr @mu_____string315, align 8
  %212 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string315, i32 0, i32 1), align 8
  call void @Parser__badToken__(ptr noundef %210, ptr %211, i32 %212)
  %213 = load ptr, ptr %3, align 8, !tbaa !5
  %214 = load ptr, ptr %10, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.tag_____MatchStatement__, ptr %214, i32 0, i32 5
  %216 = load ptr, ptr %215, align 8, !tbaa !23
  call void @Parser__endLine__(ptr noundef %213, ptr noundef %216)
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #5
  br label %315

217:                                              ; preds = %185
  %218 = load ptr, ptr %3, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.tag_____ParserState__, ptr %218, i32 0, i32 3
  %220 = load ptr, ptr %219, align 8, !tbaa !12
  %221 = getelementptr inbounds %struct.tag_____Token__, ptr %220, i32 0, i32 4
  %222 = load i32, ptr %221, align 8, !tbaa !27
  %223 = load i32, ptr %18, align 4, !tbaa !21
  %224 = icmp ne i32 %222, %223
  br i1 %224, label %225, label %250

225:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #5
  %226 = load ptr, ptr %3, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.tag_____ParserState__, ptr %226, i32 0, i32 3
  %228 = load ptr, ptr %227, align 8, !tbaa !12
  %229 = getelementptr inbounds %struct.Node__, ptr %20, i32 0, i32 1
  store ptr %228, ptr %229, align 8, !tbaa !35
  %230 = getelementptr inbounds %struct.Node__, ptr %20, i32 0, i32 1
  %231 = load ptr, ptr %230, align 8, !tbaa !35
  %232 = icmp ne ptr %231, null
  %233 = zext i1 %232 to i64
  %234 = select i1 %232, i32 21, i32 0
  %235 = getelementptr inbounds %struct.Node__, ptr %20, i32 0, i32 0
  store i32 %234, ptr %235, align 8, !tbaa !36
  %236 = load ptr, ptr %10, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.tag_____MatchStatement__, ptr %236, i32 0, i32 5
  %238 = load ptr, ptr %237, align 8, !tbaa !23
  %239 = getelementptr inbounds { i32, ptr }, ptr %20, i32 0, i32 0
  %240 = load i32, ptr %239, align 8
  %241 = getelementptr inbounds { i32, ptr }, ptr %20, i32 0, i32 1
  %242 = load ptr, ptr %241, align 8
  call void @List__add__Node____(ptr noundef %238, i32 %240, ptr %242)
  %243 = load ptr, ptr %3, align 8, !tbaa !5
  %244 = load ptr, ptr @mu_____string327, align 8
  %245 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string327, i32 0, i32 1), align 8
  call void @Parser__badToken__(ptr noundef %243, ptr %244, i32 %245)
  %246 = load ptr, ptr %3, align 8, !tbaa !5
  %247 = load ptr, ptr %10, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.tag_____MatchStatement__, ptr %247, i32 0, i32 5
  %249 = load ptr, ptr %248, align 8, !tbaa !23
  call void @Parser__endLine__(ptr noundef %246, ptr noundef %249)
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #5
  br label %314

250:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %251 = load ptr, ptr %3, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.tag_____ParserState__, ptr %251, i32 0, i32 5
  %253 = load i32, ptr %252, align 4, !tbaa !34
  store i32 %253, ptr %21, align 4, !tbaa !21
  %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 !12
  %257 = getelementptr inbounds %struct.tag_____Token__, ptr %256, i32 0, i32 4
  %258 = load i32, ptr %257, align 8, !tbaa !27
  %259 = load ptr, ptr %3, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.tag_____ParserState__, ptr %259, i32 0, i32 5
  store i32 %258, ptr %260, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %261 = load ptr, ptr %3, align 8, !tbaa !5
  %262 = call ptr @Parser__tryParseMatchCase__(ptr noundef %261)
  store ptr %262, ptr %22, align 8, !tbaa !5
  %263 = load ptr, ptr %22, align 8, !tbaa !5
  %264 = icmp ne ptr %263, null
  br i1 %264, label %265, label %285

265:                                              ; preds = %250
  %266 = load ptr, ptr %10, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.tag_____MatchStatement__, ptr %266, i32 0, i32 4
  %268 = load ptr, ptr %267, align 8, !tbaa !22
  %269 = load ptr, ptr %22, align 8, !tbaa !5
  call void @List__add__Ptr__MatchCase______(ptr noundef %268, ptr noundef %269)
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #5
  %270 = load ptr, ptr %22, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.Node__, ptr %23, i32 0, i32 1
  store ptr %270, ptr %271, align 8, !tbaa !35
  %272 = getelementptr inbounds %struct.Node__, ptr %23, i32 0, i32 1
  %273 = load ptr, ptr %272, align 8, !tbaa !35
  %274 = icmp ne ptr %273, null
  %275 = zext i1 %274 to i64
  %276 = select i1 %274, i32 8, i32 0
  %277 = getelementptr inbounds %struct.Node__, ptr %23, i32 0, i32 0
  store i32 %276, ptr %277, align 8, !tbaa !36
  %278 = load ptr, ptr %10, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.tag_____MatchStatement__, ptr %278, i32 0, i32 5
  %280 = load ptr, ptr %279, align 8, !tbaa !23
  %281 = getelementptr inbounds { i32, ptr }, ptr %23, i32 0, i32 0
  %282 = load i32, ptr %281, align 8
  %283 = getelementptr inbounds { i32, ptr }, ptr %23, i32 0, i32 1
  %284 = load ptr, ptr %283, align 8
  call void @List__add__Node____(ptr noundef %280, i32 %282, ptr %284)
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  br label %306

285:                                              ; preds = %250
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  %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 !12
  %289 = getelementptr inbounds %struct.Node__, ptr %24, i32 0, i32 1
  store ptr %288, ptr %289, align 8, !tbaa !35
  %290 = getelementptr inbounds %struct.Node__, ptr %24, i32 0, i32 1
  %291 = load ptr, ptr %290, align 8, !tbaa !35
  %292 = icmp ne ptr %291, null
  %293 = zext i1 %292 to i64
  %294 = select i1 %292, i32 21, i32 0
  %295 = getelementptr inbounds %struct.Node__, ptr %24, i32 0, i32 0
  store i32 %294, ptr %295, align 8, !tbaa !36
  %296 = load ptr, ptr %10, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.tag_____MatchStatement__, ptr %296, i32 0, i32 5
  %298 = load ptr, ptr %297, align 8, !tbaa !23
  %299 = getelementptr inbounds { i32, ptr }, ptr %24, i32 0, i32 0
  %300 = load i32, ptr %299, align 8
  %301 = getelementptr inbounds { i32, ptr }, ptr %24, i32 0, i32 1
  %302 = load ptr, ptr %301, align 8
  call void @List__add__Node____(ptr noundef %298, i32 %300, ptr %302)
  %303 = load ptr, ptr %3, align 8, !tbaa !5
  %304 = load ptr, ptr @mu_____string332, align 8
  %305 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string332, i32 0, i32 1), align 8
  call void @Parser__badToken__(ptr noundef %303, ptr %304, i32 %305)
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  br label %306

306:                                              ; preds = %285, %265
  %307 = load ptr, ptr %3, align 8, !tbaa !5
  %308 = load ptr, ptr %10, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.tag_____MatchStatement__, ptr %308, i32 0, i32 5
  %310 = load ptr, ptr %309, align 8, !tbaa !23
  call void @Parser__endLine__(ptr noundef %307, ptr noundef %310)
  %311 = load i32, ptr %21, align 4, !tbaa !21
  %312 = load ptr, ptr %3, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.tag_____ParserState__, ptr %312, i32 0, i32 5
  store i32 %311, ptr %313, align 4, !tbaa !34
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %314

314:                                              ; preds = %306, %225
  br label %315

315:                                              ; preds = %314, %192
  br label %173

316:                                              ; preds = %184
  %317 = load ptr, ptr %3, align 8, !tbaa !5
  %318 = call ptr @Parser__parseCloseBrace__(ptr noundef %317)
  %319 = load ptr, ptr %10, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.tag_____MatchStatement__, ptr %319, i32 0, i32 6
  store ptr %318, ptr %320, align 8, !tbaa !33
  %321 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %321, ptr %2, align 8
  store i32 1, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %322

322:                                              ; preds = %316, %160
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  %323 = load ptr, ptr %2, align 8
  ret ptr %323

324:                                              ; preds = %146
  unreachable
}

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @Parser__parseCloseBrace__(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 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 32}
!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_____MatchStatement__", !6, i64 0, !19, i64 8, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!19 = !{!"", !15, i64 0, !6, i64 8}
!20 = !{i64 0, i64 8, !5, i64 8, i64 4, !21, i64 12, i64 4, !21}
!21 = !{!15, !15, i64 0}
!22 = !{!18, !6, i64 40}
!23 = !{!18, !6, i64 48}
!24 = !{i64 0, i64 8, !5, i64 8, i64 4, !21, 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 8, !5}
!25 = !{i64 0, i64 4, !21, i64 8, i64 8, !5}
!26 = !{!18, !6, i64 16}
!27 = !{!28, !15, i64 40}
!28 = !{!"tag_____Token__", !15, i64 0, !14, i64 8, !16, i64 24, !16, i64 32, !15, i64 40}
!29 = !{!7, !7, i64 0}
!30 = !{!28, !15, i64 0}
!31 = !{!18, !6, i64 24}
!32 = !{!13, !6, i64 104}
!33 = !{!18, !6, i64 56}
!34 = !{!13, !15, i64 44}
!35 = !{!19, !6, i64 8}
!36 = !{!19, !15, i64 0}


; 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_____string311 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string332 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string327 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string315 = 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 void @List__add__Ptr__Token______(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @List__add__Ptr__MatchCase______(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 { i32, ptr } @Parser__tryParseExpression__(ptr noundef, i32 noundef, i8 noundef zeroext) 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
define dso_local ptr @Parser__parseMatchStatement__(ptr noundef %0) local_unnamed_addr #2 {
  %2 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %3 = getelementptr inbounds i8, ptr %2, i64 8
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = load ptr, ptr %2, align 8, !tbaa !10
  %6 = tail call ptr %4(ptr noundef %5, i64 noundef 64) #3
  %7 = getelementptr inbounds i8, ptr %0, i64 32
  %8 = load ptr, ptr %7, align 8, !tbaa !11
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = load ptr, ptr %2, align 8, !tbaa !10
  %11 = tail call ptr %9(ptr noundef %10, i64 noundef 16) #3
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %11, i8 0, i64 16, i1 false)
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = load ptr, ptr %2, align 8, !tbaa !10
  %14 = tail call ptr %12(ptr noundef %13, i64 noundef 16) #3
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %14, i8 0, i64 16, i1 false)
  store ptr %8, ptr %6, align 8, !tbaa !16
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %.sroa.5.0..sroa_idx, i8 0, i64 32, i1 false)
  %.sroa.550.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 40
  store ptr %11, ptr %.sroa.550.0..sroa_idx, align 8, !tbaa !16
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 48
  store ptr %14, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !16
  %.sroa.7.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 56
  store ptr null, ptr %.sroa.7.0..sroa_idx, align 8, !tbaa !16
  tail call void @Parser__readToken__(ptr noundef %0)
  %15 = tail call { i32, ptr } @Parser__tryParseExpression__(ptr noundef %0, i32 noundef 0, i8 noundef zeroext 0)
  %16 = extractvalue { i32, ptr } %15, 0
  %17 = extractvalue { i32, ptr } %15, 1
  store i32 %16, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !17
  %.sroa.427.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 16
  store ptr %17, ptr %.sroa.427.0..sroa_idx, align 8, !tbaa !16
  %18 = icmp eq ptr %17, null
  br i1 %18, label %19, label %22

19:                                               ; preds = %1
  %20 = load ptr, ptr @mu_____string302, align 8
  %21 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string302, i64 8), align 8
  tail call void @Parser__expected__(ptr noundef nonnull %0, ptr %20, i32 %21)
  br label %22

22:                                               ; preds = %19, %1
  %23 = load ptr, ptr %7, align 8, !tbaa !11
  %24 = getelementptr inbounds i8, ptr %23, i64 40
  %25 = load i32, ptr %24, align 8, !tbaa !18
  %26 = icmp eq i32 %25, 2147483647
  br i1 %26, label %27, label %.critedge

27:                                               ; preds = %22
  %28 = load i32, ptr %23, align 8, !tbaa !20
  %.not = icmp eq i32 %28, 7
  br i1 %.not, label %.critedge, label %29

29:                                               ; preds = %27
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = load ptr, ptr %2, align 8, !tbaa !10
  %32 = tail call ptr %30(ptr noundef %31, i64 noundef 16) #3
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %32, i8 0, i64 16, i1 false)
  %33 = getelementptr inbounds i8, ptr %6, i64 24
  store ptr %32, ptr %33, align 8, !tbaa !21
  %34 = load ptr, ptr %7, align 8, !tbaa !11
  %35 = getelementptr inbounds i8, ptr %34, i64 40
  %36 = load i32, ptr %35, align 8, !tbaa !18
  %37 = icmp eq i32 %36, 2147483647
  br i1 %37, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %29, %40
  %38 = phi ptr [ %44, %40 ], [ %34, %29 ]
  %39 = load i32, ptr %38, align 8, !tbaa !20
  %.not105 = icmp eq i32 %39, 7
  br i1 %.not105, label %.critedge, label %40

40:                                               ; preds = %.lr.ph
  %41 = load ptr, ptr %33, align 8, !tbaa !21
  tail call void @List__add__Ptr__Token______(ptr noundef %41, ptr noundef nonnull %38)
  %42 = load ptr, ptr @mu_____string311, align 8
  %43 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string311, i64 8), align 8
  tail call void @Parser__badToken__(ptr noundef nonnull %0, ptr %42, i32 %43)
  %44 = load ptr, ptr %7, align 8, !tbaa !11
  %45 = getelementptr inbounds i8, ptr %44, i64 40
  %46 = load i32, ptr %45, align 8, !tbaa !18
  %47 = icmp eq i32 %46, 2147483647
  br i1 %47, label %.lr.ph, label %.critedge

.critedge:                                        ; preds = %40, %.lr.ph, %29, %22, %27
  %48 = load ptr, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !24
  %49 = tail call ptr @Parser__parseOpenBrace__(ptr noundef nonnull %0, ptr noundef %48)
  %50 = getelementptr inbounds i8, ptr %0, i64 104
  %51 = load ptr, ptr %50, align 8, !tbaa !25
  %.not96 = icmp eq ptr %51, null
  br i1 %.not96, label %52, label %95

52:                                               ; preds = %.critedge
  %53 = load ptr, ptr %7, align 8, !tbaa !11
  %54 = getelementptr inbounds i8, ptr %53, i64 40
  %55 = load i32, ptr %54, align 8, !tbaa !18
  %56 = getelementptr inbounds i8, ptr %0, i64 44
  %57 = load i32, ptr %56, align 4, !tbaa !26
  %58 = icmp sgt i32 %55, %57
  br i1 %58, label %.lr.ph107, label %._crit_edge

.lr.ph107:                                        ; preds = %52, %88
  %59 = phi i32 [ %92, %88 ], [ %57, %52 ]
  %60 = phi i32 [ %91, %88 ], [ %55, %52 ]
  %61 = phi ptr [ %89, %88 ], [ %53, %52 ]
  %62 = load i32, ptr %61, align 8, !tbaa !20
  %63 = icmp eq i32 %62, 8
  br i1 %63, label %64, label %69

64:                                               ; preds = %.lr.ph107
  %65 = load ptr, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !24
  tail call void @List__add__Node____(ptr noundef %65, i32 21, ptr nonnull %61)
  %66 = load ptr, ptr @mu_____string315, align 8
  %67 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string315, i64 8), align 8
  tail call void @Parser__badToken__(ptr noundef nonnull %0, ptr %66, i32 %67)
  %68 = load ptr, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !24
  tail call void @Parser__endLine__(ptr noundef nonnull %0, ptr noundef %68)
  br label %88

69:                                               ; preds = %.lr.ph107
  %.not97 = icmp eq i32 %60, %55
  br i1 %.not97, label %75, label %70

70:                                               ; preds = %69
  %71 = load ptr, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !24
  tail call void @List__add__Node____(ptr noundef %71, i32 21, ptr nonnull %61)
  %72 = load ptr, ptr @mu_____string327, align 8
  %73 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string327, i64 8), align 8
  tail call void @Parser__badToken__(ptr noundef nonnull %0, ptr %72, i32 %73)
  %74 = load ptr, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !24
  tail call void @Parser__endLine__(ptr noundef nonnull %0, ptr noundef %74)
  br label %88

75:                                               ; preds = %69
  store i32 %55, ptr %56, align 4, !tbaa !26
  %76 = tail call ptr @Parser__tryParseMatchCase__(ptr noundef nonnull %0)
  %.not98 = icmp eq ptr %76, null
  br i1 %.not98, label %80, label %77

77:                                               ; preds = %75
  %78 = load ptr, ptr %.sroa.550.0..sroa_idx, align 8, !tbaa !27
  tail call void @List__add__Ptr__MatchCase______(ptr noundef %78, ptr noundef nonnull %76)
  %79 = load ptr, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !24
  tail call void @List__add__Node____(ptr noundef %79, i32 8, ptr nonnull %76)
  br label %86

80:                                               ; preds = %75
  %81 = load ptr, ptr %7, align 8, !tbaa !11
  %.not99 = icmp eq ptr %81, null
  %82 = select i1 %.not99, i32 0, i32 21
  %83 = load ptr, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !24
  tail call void @List__add__Node____(ptr noundef %83, i32 %82, ptr %81)
  %84 = load ptr, ptr @mu_____string332, align 8
  %85 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string332, i64 8), align 8
  tail call void @Parser__badToken__(ptr noundef nonnull %0, ptr %84, i32 %85)
  br label %86

86:                                               ; preds = %80, %77
  %87 = load ptr, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !24
  tail call void @Parser__endLine__(ptr noundef nonnull %0, ptr noundef %87)
  store i32 %59, ptr %56, align 4, !tbaa !26
  br label %88

88:                                               ; preds = %70, %86, %64
  %89 = load ptr, ptr %7, align 8, !tbaa !11
  %90 = getelementptr inbounds i8, ptr %89, i64 40
  %91 = load i32, ptr %90, align 8, !tbaa !18
  %92 = load i32, ptr %56, align 4, !tbaa !26
  %93 = icmp sgt i32 %91, %92
  br i1 %93, label %.lr.ph107, label %._crit_edge

._crit_edge:                                      ; preds = %88, %52
  %94 = tail call ptr @Parser__parseCloseBrace__(ptr noundef nonnull %0)
  br label %95

95:                                               ; preds = %.critedge, %._crit_edge
  %storemerge = phi ptr [ %94, %._crit_edge ], [ %51, %.critedge ]
  store ptr %storemerge, ptr %.sroa.7.0..sroa_idx, align 8, !tbaa !28
  ret ptr %6
}

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @Parser__parseCloseBrace__(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, !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 32}
!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 = !{!7, !7, i64 0}
!17 = !{!14, !14, 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 = !{!19, !14, i64 0}
!21 = !{!22, !7, i64 24}
!22 = !{!"tag_____MatchStatement__", !7, i64 0, !23, i64 8, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56}
!23 = !{!"", !14, i64 0, !7, i64 8}
!24 = !{!22, !7, i64 48}
!25 = !{!12, !7, i64 104}
!26 = !{!12, !14, i64 44}
!27 = !{!22, !7, i64 40}
!28 = !{!22, !7, i64 56}


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