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

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

%struct.string__ = type { ptr, i32 }
%struct.tag_____IAllocator__ = type { ptr, ptr, ptr, ptr }
%struct.Node__ = type { i32, ptr }
%struct.tag_____IfStatement__ = type { ptr, %struct.Node__, ptr, ptr, ptr, %struct.Node__ }
%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_____string304 = external dso_local global %struct.string__, align 8
@mu_____string311 = external dso_local global %struct.string__, align 8
@mu_____string320 = external dso_local global %struct.string__, align 8
@mu_____string302 = external dso_local global %struct.string__, align 8
@mu_____string321 = external dso_local global %struct.string__, align 8
@top_____currentAllocator__ = external dso_local thread_local global %struct.tag_____IAllocator__, align 8

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

; Function Attrs: nounwind uwtable
declare dso_local void @List__add__Ptr__Token______(ptr noundef, ptr noundef) #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
declare dso_local ptr @Parser__parseBlockStatement__(ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local { i32, ptr } @Parser__parseIfStatement__(ptr noundef %0) #4 {
  %2 = alloca %struct.Node__, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.tag_____IfStatement__, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %struct.Node__, align 8
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca %struct.tag_____List__Ptr__Token______, align 8
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca %struct.string__, align 8
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca %struct.Node__, align 8
  %20 = 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
  %21 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %22 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %21, i32 0, i32 1
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  %24 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %25 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %24, i32 0, i32 0
  %26 = load ptr, ptr %25, align 8, !tbaa !11
  %27 = call ptr %23(ptr noundef %26, i64 noundef 64)
  store ptr %27, 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)
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.tag_____ParserState__, ptr %28, i32 0, i32 3
  %30 = load ptr, ptr %29, align 8, !tbaa !12
  %31 = getelementptr inbounds %struct.tag_____IfStatement__, ptr %5, i32 0, i32 0
  store ptr %30, ptr %31, align 8, !tbaa !17
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 %5, i64 64, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %33, ptr %6, align 8, !tbaa !5
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  call void @Parser__readToken__(ptr noundef %34)
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.tag_____IfStatement__, ptr %35, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #5
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = call { i32, ptr } @Parser__tryParseExpression__(ptr noundef %37, i32 noundef 0, i8 noundef zeroext 0)
  %39 = getelementptr inbounds { i32, ptr }, ptr %7, i32 0, i32 0
  %40 = extractvalue { i32, ptr } %38, 0
  store i32 %40, ptr %39, align 8
  %41 = getelementptr inbounds { i32, ptr }, ptr %7, i32 0, i32 1
  %42 = extractvalue { i32, ptr } %38, 1
  store ptr %42, ptr %41, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %7, i64 16, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.tag_____ParserState__, ptr %43, i32 0, i32 3
  %45 = load ptr, ptr %44, align 8, !tbaa !12
  %46 = getelementptr inbounds %struct.tag_____Token__, ptr %45, i32 0, i32 4
  %47 = load i32, ptr %46, align 8, !tbaa !23
  %48 = icmp eq i32 %47, 2147483647
  %49 = zext i1 %48 to i32
  %50 = trunc i32 %49 to i8
  store i8 %50, ptr %8, align 1, !tbaa !25
  %51 = load i8, ptr %8, align 1, !tbaa !25
  %52 = icmp ne i8 %51, 0
  br i1 %52, label %53, label %62

53:                                               ; preds = %1
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.tag_____ParserState__, ptr %54, i32 0, i32 3
  %56 = load ptr, ptr %55, align 8, !tbaa !12
  %57 = getelementptr inbounds %struct.tag_____Token__, ptr %56, i32 0, i32 0
  %58 = load i32, ptr %57, align 8, !tbaa !26
  %59 = icmp ne i32 %58, 7
  %60 = zext i1 %59 to i32
  %61 = trunc i32 %60 to i8
  store i8 %61, ptr %8, align 1, !tbaa !25
  br label %62

62:                                               ; preds = %53, %1
  %63 = load i8, ptr %8, align 1, !tbaa !25
  %64 = icmp ne i8 %63, 0
  br i1 %64, label %65, label %126

65:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %66 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %67 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %66, i32 0, i32 1
  %68 = load ptr, ptr %67, align 8, !tbaa !9
  %69 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %70 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %69, i32 0, i32 0
  %71 = load ptr, ptr %70, align 8, !tbaa !11
  %72 = call ptr %68(ptr noundef %71, i64 noundef 16)
  store ptr %72, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 16, i1 false)
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %73, ptr align 8 %10, i64 16, i1 false), !tbaa.struct !27
  %74 = load ptr, ptr %9, align 8, !tbaa !5
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.tag_____IfStatement__, ptr %75, i32 0, i32 2
  store ptr %74, ptr %76, align 8, !tbaa !28
  br label %77

77:                                               ; preds = %124, %65
  br label %78

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

89:                                               ; preds = %78
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.tag_____ParserState__, ptr %90, i32 0, i32 3
  %92 = load ptr, ptr %91, align 8, !tbaa !12
  %93 = getelementptr inbounds %struct.tag_____Token__, ptr %92, i32 0, i32 0
  %94 = load i32, ptr %93, align 8, !tbaa !26
  %95 = icmp ne i32 %94, 7
  %96 = zext i1 %95 to i32
  %97 = trunc i32 %96 to i8
  store i8 %97, ptr %11, align 1, !tbaa !25
  br label %98

98:                                               ; preds = %89, %78
  %99 = load i8, ptr %11, align 1, !tbaa !25
  %100 = icmp ne i8 %99, 0
  br i1 %100, label %102, label %101

101:                                              ; preds = %98
  store i32 3, ptr %12, align 4
  br label %122

102:                                              ; preds = %98
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.tag_____IfStatement__, ptr %103, i32 0, i32 2
  %105 = load ptr, ptr %104, align 8, !tbaa !28
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.tag_____ParserState__, ptr %106, i32 0, i32 3
  %108 = load ptr, ptr %107, align 8, !tbaa !12
  call void @List__add__Ptr__Token______(ptr noundef %105, ptr noundef %108)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.tag_____IfStatement__, ptr %109, i32 0, i32 1
  %111 = getelementptr inbounds %struct.Node__, ptr %110, i32 0, i32 1
  %112 = load ptr, ptr %111, align 8, !tbaa !29
  %113 = icmp ne ptr %112, null
  br i1 %113, label %114, label %115

114:                                              ; preds = %102
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 @mu_____string311, i64 16, i1 false), !tbaa.struct !30
  br label %116

115:                                              ; preds = %102
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 @mu_____string304, i64 16, i1 false), !tbaa.struct !30
  br label %116

116:                                              ; preds = %115, %114
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = getelementptr inbounds { ptr, i32 }, ptr %13, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8
  %120 = getelementptr inbounds { ptr, i32 }, ptr %13, i32 0, i32 1
  %121 = load i32, ptr %120, align 8
  call void @Parser__badToken__(ptr noundef %117, ptr %119, i32 %121)
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  store i32 0, ptr %12, align 4
  br label %122

122:                                              ; preds = %116, %101
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  %123 = load i32, ptr %12, align 4
  switch i32 %123, label %273 [
    i32 0, label %124
    i32 3, label %125
  ]

124:                                              ; preds = %122
  br label %77

125:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %137

126:                                              ; preds = %62
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.tag_____IfStatement__, ptr %127, i32 0, i32 1
  %129 = getelementptr inbounds %struct.Node__, ptr %128, i32 0, i32 1
  %130 = load ptr, ptr %129, align 8, !tbaa !29
  %131 = icmp eq ptr %130, null
  br i1 %131, label %132, label %136

132:                                              ; preds = %126
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = load ptr, ptr @mu_____string302, align 8
  %135 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string302, i32 0, i32 1), align 8
  call void @Parser__expected__(ptr noundef %133, ptr %134, i32 %135)
  br label %136

136:                                              ; preds = %132, %126
  br label %137

137:                                              ; preds = %136, %125
  %138 = load ptr, ptr %3, align 8, !tbaa !5
  %139 = call ptr @Parser__parseBlockStatement__(ptr noundef %138)
  %140 = load ptr, ptr %6, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.tag_____IfStatement__, ptr %140, i32 0, i32 3
  store ptr %139, ptr %141, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #5
  %142 = load ptr, ptr %3, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.tag_____ParserState__, ptr %142, i32 0, i32 3
  %144 = load ptr, ptr %143, align 8, !tbaa !12
  %145 = getelementptr inbounds %struct.tag_____Token__, ptr %144, i32 0, i32 0
  %146 = load i32, ptr %145, align 8, !tbaa !26
  %147 = icmp eq i32 %146, 0
  %148 = zext i1 %147 to i32
  %149 = trunc i32 %148 to i8
  store i8 %149, ptr %14, align 1, !tbaa !25
  %150 = load i8, ptr %14, align 1, !tbaa !25
  %151 = icmp ne i8 %150, 0
  br i1 %151, label %152, label %164

152:                                              ; preds = %137
  %153 = load ptr, ptr %3, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.tag_____ParserState__, ptr %153, i32 0, i32 3
  %155 = load ptr, ptr %154, align 8, !tbaa !12
  %156 = getelementptr inbounds %struct.tag_____Token__, ptr %155, i32 0, i32 1
  %157 = getelementptr inbounds { ptr, i32 }, ptr %156, i32 0, i32 0
  %158 = load ptr, ptr %157, align 8
  %159 = getelementptr inbounds { ptr, i32 }, ptr %156, i32 0, i32 1
  %160 = load i32, ptr %159, align 8
  %161 = load ptr, ptr @mu_____string321, align 8
  %162 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string321, i32 0, i32 1), align 8
  %163 = call zeroext i8 @string__equals__(ptr %158, i32 %160, ptr %161, i32 %162)
  store i8 %163, ptr %14, align 1, !tbaa !25
  br label %164

164:                                              ; preds = %152, %137
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  %165 = load i8, ptr %14, align 1, !tbaa !25
  store i8 %165, ptr %15, align 1, !tbaa !25
  %166 = load i8, ptr %15, align 1, !tbaa !25
  %167 = icmp ne i8 %166, 0
  br i1 %167, label %168, label %193

168:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  %169 = load ptr, ptr %3, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.tag_____ParserState__, ptr %169, i32 0, i32 3
  %171 = load ptr, ptr %170, align 8, !tbaa !12
  %172 = getelementptr inbounds %struct.tag_____Token__, ptr %171, i32 0, i32 4
  %173 = load i32, ptr %172, align 8, !tbaa !23
  %174 = load ptr, ptr %3, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.tag_____ParserState__, ptr %174, i32 0, i32 5
  %176 = load i32, ptr %175, align 4, !tbaa !32
  %177 = icmp eq i32 %173, %176
  %178 = zext i1 %177 to i32
  %179 = trunc i32 %178 to i8
  store i8 %179, ptr %16, align 1, !tbaa !25
  %180 = load i8, ptr %16, align 1, !tbaa !25
  %181 = icmp ne i8 %180, 0
  br i1 %181, label %191, label %182

182:                                              ; preds = %168
  %183 = load ptr, ptr %3, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.tag_____ParserState__, ptr %183, i32 0, i32 3
  %185 = load ptr, ptr %184, align 8, !tbaa !12
  %186 = getelementptr inbounds %struct.tag_____Token__, ptr %185, i32 0, i32 4
  %187 = load i32, ptr %186, align 8, !tbaa !23
  %188 = icmp eq i32 %187, 2147483647
  %189 = zext i1 %188 to i32
  %190 = trunc i32 %189 to i8
  store i8 %190, ptr %16, align 1, !tbaa !25
  br label %191

191:                                              ; preds = %182, %168
  %192 = load i8, ptr %16, align 1, !tbaa !25
  store i8 %192, ptr %15, align 1, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  br label %193

193:                                              ; preds = %191, %164
  %194 = load i8, ptr %15, align 1, !tbaa !25
  %195 = icmp ne i8 %194, 0
  br i1 %195, label %196, label %263

196:                                              ; preds = %193
  %197 = load ptr, ptr %3, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.tag_____ParserState__, ptr %197, i32 0, i32 3
  %199 = load ptr, ptr %198, align 8, !tbaa !12
  %200 = load ptr, ptr %6, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.tag_____IfStatement__, ptr %200, i32 0, i32 4
  store ptr %199, ptr %201, align 8, !tbaa !33
  %202 = load ptr, ptr %3, align 8, !tbaa !5
  call void @Parser__readToken__(ptr noundef %202)
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  %203 = load ptr, ptr %3, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.tag_____ParserState__, ptr %203, i32 0, i32 3
  %205 = load ptr, ptr %204, align 8, !tbaa !12
  %206 = getelementptr inbounds %struct.tag_____Token__, ptr %205, i32 0, i32 0
  %207 = load i32, ptr %206, align 8, !tbaa !26
  %208 = icmp eq i32 %207, 0
  %209 = zext i1 %208 to i32
  %210 = trunc i32 %209 to i8
  store i8 %210, ptr %17, align 1, !tbaa !25
  %211 = load i8, ptr %17, align 1, !tbaa !25
  %212 = icmp ne i8 %211, 0
  br i1 %212, label %213, label %225

213:                                              ; preds = %196
  %214 = load ptr, ptr %3, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.tag_____ParserState__, ptr %214, i32 0, i32 3
  %216 = load ptr, ptr %215, align 8, !tbaa !12
  %217 = getelementptr inbounds %struct.tag_____Token__, ptr %216, i32 0, i32 1
  %218 = getelementptr inbounds { ptr, i32 }, ptr %217, i32 0, i32 0
  %219 = load ptr, ptr %218, align 8
  %220 = getelementptr inbounds { ptr, i32 }, ptr %217, i32 0, i32 1
  %221 = load i32, ptr %220, align 8
  %222 = load ptr, ptr @mu_____string320, align 8
  %223 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string320, i32 0, i32 1), align 8
  %224 = call zeroext i8 @string__equals__(ptr %219, i32 %221, ptr %222, i32 %223)
  store i8 %224, ptr %17, align 1, !tbaa !25
  br label %225

225:                                              ; preds = %213, %196
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #5
  %226 = load i8, ptr %17, align 1, !tbaa !25
  store i8 %226, ptr %18, align 1, !tbaa !25
  %227 = load i8, ptr %18, align 1, !tbaa !25
  %228 = icmp ne i8 %227, 0
  br i1 %228, label %229, label %238

229:                                              ; preds = %225
  %230 = load ptr, ptr %3, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.tag_____ParserState__, ptr %230, i32 0, i32 3
  %232 = load ptr, ptr %231, align 8, !tbaa !12
  %233 = getelementptr inbounds %struct.tag_____Token__, ptr %232, i32 0, i32 4
  %234 = load i32, ptr %233, align 8, !tbaa !23
  %235 = icmp eq i32 %234, 2147483647
  %236 = zext i1 %235 to i32
  %237 = trunc i32 %236 to i8
  store i8 %237, ptr %18, align 1, !tbaa !25
  br label %238

238:                                              ; preds = %229, %225
  %239 = load i8, ptr %18, align 1, !tbaa !25
  %240 = icmp ne i8 %239, 0
  br i1 %240, label %241, label %250

241:                                              ; preds = %238
  %242 = load ptr, ptr %6, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.tag_____IfStatement__, ptr %242, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #5
  %244 = load ptr, ptr %3, align 8, !tbaa !5
  %245 = call { i32, ptr } @Parser__parseIfStatement__(ptr noundef %244)
  %246 = getelementptr inbounds { i32, ptr }, ptr %19, i32 0, i32 0
  %247 = extractvalue { i32, ptr } %245, 0
  store i32 %247, ptr %246, align 8
  %248 = getelementptr inbounds { i32, ptr }, ptr %19, i32 0, i32 1
  %249 = extractvalue { i32, ptr } %245, 1
  store ptr %249, ptr %248, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %243, ptr align 8 %19, i64 16, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #5
  br label %262

250:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #5
  %251 = load ptr, ptr %3, align 8, !tbaa !5
  %252 = call ptr @Parser__parseBlockStatement__(ptr noundef %251)
  %253 = getelementptr inbounds %struct.Node__, ptr %20, i32 0, i32 1
  store ptr %252, ptr %253, align 8, !tbaa !34
  %254 = getelementptr inbounds %struct.Node__, ptr %20, i32 0, i32 1
  %255 = load ptr, ptr %254, align 8, !tbaa !34
  %256 = icmp ne ptr %255, null
  %257 = zext i1 %256 to i64
  %258 = select i1 %256, i32 5, i32 0
  %259 = getelementptr inbounds %struct.Node__, ptr %20, i32 0, i32 0
  store i32 %258, ptr %259, align 8, !tbaa !35
  %260 = load ptr, ptr %6, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.tag_____IfStatement__, ptr %260, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %261, ptr align 8 %20, i64 16, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #5
  br label %262

262:                                              ; preds = %250, %241
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  br label %263

263:                                              ; preds = %262, %193
  %264 = load ptr, ptr %6, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  store ptr %264, ptr %265, align 8, !tbaa !34
  %266 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 1
  %267 = load ptr, ptr %266, align 8, !tbaa !34
  %268 = icmp ne ptr %267, null
  %269 = zext i1 %268 to i64
  %270 = select i1 %268, i32 25, i32 0
  %271 = getelementptr inbounds %struct.Node__, ptr %2, i32 0, i32 0
  store i32 %270, ptr %271, align 8, !tbaa !35
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #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
  %272 = load { i32, ptr }, ptr %2, align 8
  ret { i32, ptr } %272

273:                                              ; preds = %122
  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 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_____IfStatement__", !6, i64 0, !19, i64 8, !6, i64 24, !6, i64 32, !6, i64 40, !19, i64 48}
!19 = !{!"", !15, i64 0, !6, i64 8}
!20 = !{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 4, !21, i64 56, i64 8, !5}
!21 = !{!15, !15, i64 0}
!22 = !{i64 0, i64 4, !21, i64 8, i64 8, !5}
!23 = !{!24, !15, i64 40}
!24 = !{!"tag_____Token__", !15, i64 0, !14, i64 8, !16, i64 24, !16, i64 32, !15, i64 40}
!25 = !{!7, !7, i64 0}
!26 = !{!24, !15, i64 0}
!27 = !{i64 0, i64 8, !5, i64 8, i64 4, !21, i64 12, i64 4, !21}
!28 = !{!18, !6, i64 24}
!29 = !{!18, !6, i64 16}
!30 = !{i64 0, i64 8, !5, i64 8, i64 4, !21}
!31 = !{!18, !6, i64 32}
!32 = !{!13, !15, i64 44}
!33 = !{!18, !6, i64 40}
!34 = !{!19, !6, i64 8}
!35 = !{!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_____string304 = 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_____string320 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string302 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string321 = external dso_local local_unnamed_addr global %struct.string__, align 8
@top_____currentAllocator__ = external dso_local thread_local local_unnamed_addr global %struct.tag_____IAllocator__, align 8

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local { i32, ptr } @Parser__parseIfStatement__(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
  store ptr %8, ptr %6, align 8, !tbaa !16
  %.sroa.538.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %.sroa.538.0..sroa_idx, i8 0, i64 56, i1 false)
  tail call void @Parser__readToken__(ptr noundef %0)
  %9 = tail call { i32, ptr } @Parser__tryParseExpression__(ptr noundef %0, i32 noundef 0, i8 noundef zeroext 0)
  %10 = extractvalue { i32, ptr } %9, 0
  %11 = extractvalue { i32, ptr } %9, 1
  store i32 %10, ptr %.sroa.538.0..sroa_idx, align 8, !tbaa !17
  %.sroa.426.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 16
  store ptr %11, ptr %.sroa.426.0..sroa_idx, align 8, !tbaa !16
  %12 = load ptr, ptr %7, align 8, !tbaa !11
  %13 = getelementptr inbounds i8, ptr %12, i64 40
  %14 = load i32, ptr %13, align 8, !tbaa !18
  %15 = icmp eq i32 %14, 2147483647
  br i1 %15, label %16, label %.critedge

16:                                               ; preds = %1
  %17 = load i32, ptr %12, align 8, !tbaa !20
  %.not = icmp eq i32 %17, 7
  br i1 %.not, label %.critedge, label %18

18:                                               ; preds = %16
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = load ptr, ptr %2, align 8, !tbaa !10
  %21 = tail call ptr %19(ptr noundef %20, i64 noundef 16) #3
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %21, i8 0, i64 16, i1 false)
  %22 = getelementptr inbounds i8, ptr %6, i64 24
  store ptr %21, ptr %22, align 8, !tbaa !21
  %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 %.lr.ph, label %.thread

.lr.ph:                                           ; preds = %18, %29
  %27 = phi ptr [ %32, %29 ], [ %23, %18 ]
  %28 = load i32, ptr %27, align 8, !tbaa !20
  %.not95 = icmp eq i32 %28, 7
  br i1 %.not95, label %.thread, label %29

29:                                               ; preds = %.lr.ph
  %30 = load ptr, ptr %22, align 8, !tbaa !21
  tail call void @List__add__Ptr__Token______(ptr noundef %30, ptr noundef nonnull %27)
  %31 = load ptr, ptr %.sroa.426.0..sroa_idx, align 8, !tbaa !24
  %.not78 = icmp eq ptr %31, null
  %.val = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string304, i64 8), align 8
  %.val96 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string311, i64 8), align 8
  %.sroa.5.0 = select i1 %.not78, i32 %.val, i32 %.val96
  %mu_____string304.val = load ptr, ptr @mu_____string304, align 8
  %mu_____string311.val = load ptr, ptr @mu_____string311, align 8
  %.sroa.014.0 = select i1 %.not78, ptr %mu_____string304.val, ptr %mu_____string311.val
  tail call void @Parser__badToken__(ptr noundef nonnull %0, ptr %.sroa.014.0, i32 %.sroa.5.0)
  %32 = load ptr, ptr %7, align 8, !tbaa !11
  %33 = getelementptr inbounds i8, ptr %32, i64 40
  %34 = load i32, ptr %33, align 8, !tbaa !18
  %35 = icmp eq i32 %34, 2147483647
  br i1 %35, label %.lr.ph, label %.thread

.critedge:                                        ; preds = %1, %16
  %36 = icmp eq ptr %11, null
  br i1 %36, label %37, label %.thread

37:                                               ; preds = %.critedge
  %38 = load ptr, ptr @mu_____string302, align 8
  %39 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string302, i64 8), align 8
  tail call void @Parser__expected__(ptr noundef nonnull %0, ptr %38, i32 %39)
  br label %.thread

.thread:                                          ; preds = %29, %.lr.ph, %18, %.critedge, %37
  %40 = tail call ptr @Parser__parseBlockStatement__(ptr noundef nonnull %0)
  %41 = getelementptr inbounds i8, ptr %6, i64 32
  store ptr %40, ptr %41, align 8, !tbaa !25
  %42 = load ptr, ptr %7, align 8, !tbaa !11
  %43 = load i32, ptr %42, align 8, !tbaa !20
  %44 = icmp eq i32 %43, 0
  br i1 %44, label %45, label %.critedge86

45:                                               ; preds = %.thread
  %46 = getelementptr inbounds i8, ptr %42, i64 8
  %47 = load ptr, ptr %46, align 8
  %48 = getelementptr inbounds i8, ptr %42, i64 16
  %49 = load i32, ptr %48, align 8
  %50 = load ptr, ptr @mu_____string321, align 8
  %51 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string321, i64 8), align 8
  %52 = tail call zeroext i8 @string__equals__(ptr %47, i32 %49, ptr %50, i32 %51)
  %53 = icmp eq i8 %52, 0
  br i1 %53, label %.critedge86, label %.critedge85

.critedge85:                                      ; preds = %45
  %54 = load ptr, ptr %7, align 8, !tbaa !11
  %55 = getelementptr inbounds i8, ptr %54, i64 40
  %56 = load i32, ptr %55, align 8, !tbaa !18
  %57 = getelementptr inbounds i8, ptr %0, i64 44
  %58 = load i32, ptr %57, align 4, !tbaa !26
  %59 = icmp ne i32 %56, %58
  %60 = icmp ne i32 %56, 2147483647
  %spec.select = and i1 %60, %59
  br i1 %spec.select, label %.critedge86, label %61

61:                                               ; preds = %.critedge85
  %62 = getelementptr inbounds i8, ptr %6, i64 40
  store ptr %54, ptr %62, align 8, !tbaa !27
  tail call void @Parser__readToken__(ptr noundef nonnull %0)
  %63 = load ptr, ptr %7, align 8, !tbaa !11
  %64 = load i32, ptr %63, align 8, !tbaa !20
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %66, label %.critedge89

66:                                               ; preds = %61
  %67 = getelementptr inbounds i8, ptr %63, i64 8
  %68 = load ptr, ptr %67, align 8
  %69 = getelementptr inbounds i8, ptr %63, i64 16
  %70 = load i32, ptr %69, align 8
  %71 = load ptr, ptr @mu_____string320, align 8
  %72 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string320, i64 8), align 8
  %73 = tail call zeroext i8 @string__equals__(ptr %68, i32 %70, ptr %71, i32 %72)
  %74 = icmp eq i8 %73, 0
  br i1 %74, label %.critedge89, label %.critedge88

.critedge88:                                      ; preds = %66
  %75 = load ptr, ptr %7, align 8, !tbaa !11
  %76 = getelementptr inbounds i8, ptr %75, i64 40
  %77 = load i32, ptr %76, align 8, !tbaa !18
  %.not97 = icmp eq i32 %77, 2147483647
  br i1 %.not97, label %78, label %.critedge89

78:                                               ; preds = %.critedge88
  %79 = getelementptr inbounds i8, ptr %6, i64 48
  %80 = tail call { i32, ptr } @Parser__parseIfStatement__(ptr noundef nonnull %0)
  %81 = extractvalue { i32, ptr } %80, 1
  store i32 25, ptr %79, align 8, !tbaa !17
  br label %.critedge86.sink.split

.critedge89:                                      ; preds = %66, %61, %.critedge88
  %82 = tail call ptr @Parser__parseBlockStatement__(ptr noundef nonnull %0)
  %.not83 = icmp eq ptr %82, null
  %83 = select i1 %.not83, i32 0, i32 5
  %84 = getelementptr inbounds i8, ptr %6, i64 48
  store i32 %83, ptr %84, align 8, !tbaa !17
  br label %.critedge86.sink.split

.critedge86.sink.split:                           ; preds = %.critedge89, %78
  %.sink = phi ptr [ %81, %78 ], [ %82, %.critedge89 ]
  %.sroa.44.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 56
  store ptr %.sink, ptr %.sroa.44.0..sroa_idx, align 8, !tbaa !16
  br label %.critedge86

.critedge86:                                      ; preds = %.critedge86.sink.split, %45, %.thread, %.critedge85
  %.fca.1.insert = insertvalue { i32, ptr } { i32 25, ptr poison }, ptr %6, 1
  ret { i32, ptr } %.fca.1.insert
}

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_____IfStatement__", !7, i64 0, !23, i64 8, !7, i64 24, !7, i64 32, !7, i64 40, !23, i64 48}
!23 = !{!"", !14, i64 0, !7, i64 8}
!24 = !{!22, !7, i64 16}
!25 = !{!22, !7, i64 32}
!26 = !{!12, !14, i64 44}
!27 = !{!22, !7, i64 40}


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