; LLVM IR from jzimmerman/langcc :: gen/cc/gen.ll (ZN4lang2cc6parser18_parse_proc_43_0_0EPN6langcc15ParserProcStateE)

; 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.langcc::rc_ptr.45" = type { ptr, ptr }
%"struct.langcc::rc_ptr.306" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::SymItem" = type { i64, i64, %"struct.langcc::ParserAttrMask", i64, i64, i64, %"struct.langcc::Result_T", %"struct.langcc::ParserLookahead" }
%"struct.langcc::Result_T" = type { ptr, %"struct.langcc::TokenBounds" }
%"struct.langcc::TokenBounds" = type { i32, i32 }
%"struct.langcc::ParserProcState" = type { %"struct.langcc::rc_ptr.16", ptr, ptr, i64, ptr, i64, ptr, i64, ptr, i64, %"struct.langcc::SymItem", ptr, ptr }
%"struct.langcc::rc_ptr.16" = type { ptr, ptr }
%"struct.langcc::ParserVertexStackItem" = type { i64, i64 }

declare i32 @__gxx_personality_v0(...)

; 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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; 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) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang2cc4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.45") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr5Index2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang2cc4Node4Expr5Index8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS2_2_TEEESC_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.306") align 8, ptr noundef, i64 noundef, i64, i1 noundef zeroext, i64 noundef, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8, ptr noundef, ptr noundef) #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, i32 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88), i64 noundef, i64 noundef) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress noinline uwtable
define dso_local void @_ZN4lang2cc6parser18_parse_proc_43_0_0EPN6langcc15ParserProcStateE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::SymItem") align 8 %0, ptr noundef %1) #7 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca %"struct.langcc::SymItem", align 8
  %10 = alloca %"struct.langcc::SymItem", align 8
  %11 = alloca %"struct.langcc::SymItem", align 8
  %12 = alloca %"struct.langcc::SymItem", align 8
  %13 = alloca %"struct.langcc::Result_T", align 8
  %14 = alloca %"struct.langcc::Result_T", align 8
  %15 = alloca %"struct.langcc::Result_T", align 8
  %16 = alloca %"struct.langcc::Result_T", align 8
  %17 = alloca %"struct.langcc::rc_ptr.45", align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"struct.langcc::rc_ptr.45", align 8
  %21 = alloca %"struct.langcc::rc_ptr.306", align 8
  %22 = alloca %"struct.langcc::TokenBounds", align 4
  %23 = alloca %"struct.langcc::ParserAttrMask", align 8
  %24 = alloca %"struct.langcc::ParserLookahead", align 8
  %25 = alloca %"struct.langcc::rc_ptr.45", align 8
  %26 = alloca %"struct.langcc::rc_ptr.45", align 8
  %27 = alloca %"struct.langcc::Result_T", align 8
  %28 = alloca %"struct.langcc::TokenBounds", align 4
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca i64, align 8
  %36 = alloca i64, align 8
  %37 = alloca i64, align 8
  %38 = alloca i64, align 8
  %39 = alloca i64, align 8
  %40 = alloca i64, align 8
  store ptr %1, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %41, i32 0, i32 5
  %43 = load i64, ptr %42, align 8, !tbaa !9
  store i64 %43, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %44, i32 0, i32 7
  %46 = load i64, ptr %45, align 8, !tbaa !20
  store i64 %46, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %47, i32 0, i32 9
  %49 = load i64, ptr %48, align 8, !tbaa !21
  store i64 %49, ptr %6, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %50, i32 0, i32 3
  %52 = load i64, ptr %51, align 8, !tbaa !22
  store i64 %52, ptr %7, align 8, !tbaa !19
  %53 = load i64, ptr %7, align 8, !tbaa !19
  %54 = sub nsw i64 %53, 4
  store i64 %54, ptr %7, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %55, i32 0, i32 2
  %57 = load ptr, ptr %56, align 8, !tbaa !23
  %58 = load i64, ptr %7, align 8, !tbaa !19
  %59 = sub nsw i64 %58, 1
  %60 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %57, i64 %59
  %61 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %60, i32 0, i32 1
  %62 = load i64, ptr %61, align 8, !tbaa !24
  store i64 %62, ptr %8, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 88, ptr %9) #8
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %63, i32 0, i32 4
  %65 = load ptr, ptr %64, align 8, !tbaa !26
  %66 = load i64, ptr %4, align 8, !tbaa !19
  %67 = sub nsw i64 %66, 1
  %68 = getelementptr inbounds %"struct.langcc::SymItem", ptr %65, i64 %67
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %68, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %10) #8
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %69, i32 0, i32 4
  %71 = load ptr, ptr %70, align 8, !tbaa !26
  %72 = load i64, ptr %4, align 8, !tbaa !19
  %73 = sub nsw i64 %72, 2
  %74 = getelementptr inbounds %"struct.langcc::SymItem", ptr %71, i64 %73
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %74, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %11) #8
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %75, i32 0, i32 4
  %77 = load ptr, ptr %76, align 8, !tbaa !26
  %78 = load i64, ptr %4, align 8, !tbaa !19
  %79 = sub nsw i64 %78, 3
  %80 = getelementptr inbounds %"struct.langcc::SymItem", ptr %77, i64 %79
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %80, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %12) #8
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %81, i32 0, i32 4
  %83 = load ptr, ptr %82, align 8, !tbaa !26
  %84 = load i64, ptr %4, align 8, !tbaa !19
  %85 = sub nsw i64 %84, 4
  %86 = getelementptr inbounds %"struct.langcc::SymItem", ptr %83, i64 %85
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %86, i64 88, i1 false), !tbaa.struct !27
  %87 = load i64, ptr %4, align 8, !tbaa !19
  %88 = sub nsw i64 %87, 4
  store i64 %88, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  %89 = load ptr, ptr %3, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %89, i32 0, i32 6
  %91 = load ptr, ptr %90, align 8, !tbaa !30
  %92 = load i64, ptr %5, align 8, !tbaa !19
  %93 = sub nsw i64 %92, 1
  %94 = getelementptr inbounds %"struct.langcc::Result_T", ptr %91, i64 %93
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %94, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #8
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %95, i32 0, i32 6
  %97 = load ptr, ptr %96, align 8, !tbaa !30
  %98 = load i64, ptr %5, align 8, !tbaa !19
  %99 = sub nsw i64 %98, 2
  %100 = getelementptr inbounds %"struct.langcc::Result_T", ptr %97, i64 %99
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %100, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #8
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %101, i32 0, i32 6
  %103 = load ptr, ptr %102, align 8, !tbaa !30
  %104 = load i64, ptr %5, align 8, !tbaa !19
  %105 = sub nsw i64 %104, 3
  %106 = getelementptr inbounds %"struct.langcc::Result_T", ptr %103, i64 %105
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %106, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %107, i32 0, i32 6
  %109 = load ptr, ptr %108, align 8, !tbaa !30
  %110 = load i64, ptr %5, align 8, !tbaa !19
  %111 = sub nsw i64 %110, 4
  %112 = getelementptr inbounds %"struct.langcc::Result_T", ptr %109, i64 %111
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %112, i64 16, i1 false), !tbaa.struct !31
  %113 = load i64, ptr %5, align 8, !tbaa !19
  %114 = sub nsw i64 %113, 4
  store i64 %114, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  %115 = getelementptr inbounds %"struct.langcc::Result_T", ptr %16, i32 0, i32 0
  %116 = load ptr, ptr %115, align 8, !tbaa !32
  %117 = getelementptr inbounds i8, ptr %116, i64 48
  call void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang2cc4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.45") align 8 %17, ptr noundef nonnull align 8 dereferenceable(16) %117)
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %118 unwind label %276

118:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  %119 = getelementptr inbounds %"struct.langcc::Result_T", ptr %14, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8, !tbaa !32
  %121 = getelementptr inbounds i8, ptr %120, i64 48
  invoke void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang2cc4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.45") align 8 %20, ptr noundef nonnull align 8 dereferenceable(16) %121)
          to label %122 unwind label %280

122:                                              ; preds = %118
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %123 unwind label %284

123:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %124, i32 0, i32 12
  %126 = load ptr, ptr %125, align 8, !tbaa !33
  %127 = load ptr, ptr %3, align 8, !tbaa !5
  %128 = invoke noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192) %127)
          to label %129 unwind label %288

129:                                              ; preds = %123
  %130 = invoke noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8) %128)
          to label %131 unwind label %288

131:                                              ; preds = %129
  %132 = load i64, ptr %8, align 8, !tbaa !19
  %133 = trunc i64 %132 to i32
  %134 = getelementptr inbounds %"struct.langcc::Result_T", ptr %13, i32 0, i32 1
  %135 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %134, i32 0, i32 1
  %136 = load i32, ptr %135, align 4, !tbaa !34
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %22, i32 noundef %133, i32 noundef %136)
          to label %137 unwind label %288

137:                                              ; preds = %131
  invoke void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %23)
          to label %138 unwind label %288

138:                                              ; preds = %137
  invoke void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16) %24)
          to label %139 unwind label %288

139:                                              ; preds = %138
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %140 unwind label %288

140:                                              ; preds = %139
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %141 unwind label %292

141:                                              ; preds = %140
  %142 = load i64, ptr %22, align 4
  invoke void @_ZN4lang2cc4Node4Expr5Index8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS2_2_TEEESC_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.306") align 8 %21, ptr noundef %126, i64 noundef %130, i64 %142, i1 noundef zeroext false, i64 noundef -1, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %23, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %24, ptr noundef %25, ptr noundef %26)
          to label %143 unwind label %296

143:                                              ; preds = %141
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #8
  invoke void @_ZNK6langcc6rc_ptrIN4lang2cc4Node4Expr5Index2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %144 unwind label %301

144:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #8
  %145 = invoke noundef ptr @_ZNK6langcc6rc_ptrIN4lang2cc4Node4Expr5Index2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %146 unwind label %305

146:                                              ; preds = %144
  %147 = load i64, ptr %8, align 8, !tbaa !19
  %148 = trunc i64 %147 to i32
  %149 = getelementptr inbounds %"struct.langcc::Result_T", ptr %13, i32 0, i32 1
  %150 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %149, i32 0, i32 1
  %151 = load i32, ptr %150, align 4, !tbaa !34
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %28, i32 noundef %148, i32 noundef %151)
          to label %152 unwind label %305

152:                                              ; preds = %146
  %153 = load i64, ptr %28, align 4
  invoke void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef %145, i64 %153)
          to label %154 unwind label %305

154:                                              ; preds = %152
  %155 = load ptr, ptr %3, align 8, !tbaa !5
  %156 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %155, i32 0, i32 6
  %157 = load ptr, ptr %156, align 8, !tbaa !30
  %158 = load i64, ptr %5, align 8, !tbaa !19
  %159 = getelementptr inbounds %"struct.langcc::Result_T", ptr %157, i64 %158
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %159, ptr align 8 %27, i64 16, i1 false), !tbaa.struct !31
  %160 = load i64, ptr %5, align 8, !tbaa !19
  %161 = add nsw i64 %160, 1
  store i64 %161, ptr %5, align 8, !tbaa !19
  %162 = load i64, ptr %8, align 8, !tbaa !19
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 167, i64 noundef %162)
          to label %163 unwind label %305

163:                                              ; preds = %154
  %164 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %165 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %164, i32 0, i32 0
  %166 = getelementptr inbounds [16 x i8], ptr %165, i64 0, i64 0
  store i8 1, ptr %166, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %167 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %168 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %167, i32 0, i32 0
  %169 = getelementptr inbounds [16 x i8], ptr %168, i64 0, i64 0
  %170 = load i8, ptr %169, align 8, !tbaa !28
  %171 = zext i8 %170 to i64
  store i64 %171, ptr %29, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  store i64 0, ptr %30, align 8, !tbaa !19
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %173 unwind label %309

173:                                              ; preds = %163
  %174 = load i64, ptr %172, align 8, !tbaa !19
  %175 = trunc i64 %174 to i8
  %176 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %177 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %176, i32 0, i32 0
  %178 = getelementptr inbounds [16 x i8], ptr %177, i64 0, i64 0
  store i8 %175, ptr %178, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  %179 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %180 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %179, i32 0, i32 0
  %181 = getelementptr inbounds [16 x i8], ptr %180, i64 0, i64 1
  store i8 1, ptr %181, align 1, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %182 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %183 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %182, i32 0, i32 0
  %184 = getelementptr inbounds [16 x i8], ptr %183, i64 0, i64 1
  %185 = load i8, ptr %184, align 1, !tbaa !28
  %186 = zext i8 %185 to i64
  store i64 %186, ptr %31, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  store i64 0, ptr %32, align 8, !tbaa !19
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %188 unwind label %313

188:                                              ; preds = %173
  %189 = load i64, ptr %187, align 8, !tbaa !19
  %190 = trunc i64 %189 to i8
  %191 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %192 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %191, i32 0, i32 0
  %193 = getelementptr inbounds [16 x i8], ptr %192, i64 0, i64 1
  store i8 %190, ptr %193, align 1, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  %194 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %195 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %194, i32 0, i32 0
  %196 = getelementptr inbounds [16 x i8], ptr %195, i64 0, i64 2
  store i8 1, ptr %196, align 2, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %197 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %198 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %197, i32 0, i32 0
  %199 = getelementptr inbounds [16 x i8], ptr %198, i64 0, i64 2
  %200 = load i8, ptr %199, align 2, !tbaa !28
  %201 = zext i8 %200 to i64
  store i64 %201, ptr %33, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  store i64 0, ptr %34, align 8, !tbaa !19
  %202 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %203 unwind label %317

203:                                              ; preds = %188
  %204 = load i64, ptr %202, align 8, !tbaa !19
  %205 = trunc i64 %204 to i8
  %206 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %207 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %206, i32 0, i32 0
  %208 = getelementptr inbounds [16 x i8], ptr %207, i64 0, i64 2
  store i8 %205, ptr %208, align 2, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  %209 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %210 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %209, i32 0, i32 0
  %211 = getelementptr inbounds [16 x i8], ptr %210, i64 0, i64 3
  store i8 1, ptr %211, align 1, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %212 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %213 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %212, i32 0, i32 0
  %214 = getelementptr inbounds [16 x i8], ptr %213, i64 0, i64 3
  %215 = load i8, ptr %214, align 1, !tbaa !28
  %216 = zext i8 %215 to i64
  store i64 %216, ptr %35, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %217 = getelementptr inbounds %"struct.langcc::SymItem", ptr %12, i32 0, i32 2
  %218 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %217, i32 0, i32 0
  %219 = getelementptr inbounds [16 x i8], ptr %218, i64 0, i64 3
  %220 = load i8, ptr %219, align 1, !tbaa !28
  %221 = zext i8 %220 to i64
  store i64 %221, ptr %36, align 8, !tbaa !19
  %222 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %223 unwind label %321

223:                                              ; preds = %203
  %224 = load i64, ptr %222, align 8, !tbaa !19
  %225 = trunc i64 %224 to i8
  %226 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %227 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %226, i32 0, i32 0
  %228 = getelementptr inbounds [16 x i8], ptr %227, i64 0, i64 3
  store i8 %225, ptr %228, align 1, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  %229 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %230 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %229, i32 0, i32 0
  %231 = getelementptr inbounds [16 x i8], ptr %230, i64 0, i64 4
  store i8 18, ptr %231, align 4, !tbaa !28
  %232 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %233 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %232, i32 0, i32 0
  %234 = getelementptr inbounds [16 x i8], ptr %233, i64 0, i64 5
  store i8 18, ptr %234, align 1, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %235 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %236 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %235, i32 0, i32 0
  %237 = getelementptr inbounds [16 x i8], ptr %236, i64 0, i64 5
  %238 = load i8, ptr %237, align 1, !tbaa !28
  %239 = zext i8 %238 to i64
  store i64 %239, ptr %37, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  store i64 12, ptr %38, align 8, !tbaa !19
  %240 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %241 unwind label %325

241:                                              ; preds = %223
  %242 = load i64, ptr %240, align 8, !tbaa !19
  %243 = trunc i64 %242 to i8
  %244 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %245 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %244, i32 0, i32 0
  %246 = getelementptr inbounds [16 x i8], ptr %245, i64 0, i64 5
  store i8 %243, ptr %246, align 1, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %247 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %248 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %247, i32 0, i32 0
  %249 = getelementptr inbounds [16 x i8], ptr %248, i64 0, i64 5
  %250 = load i8, ptr %249, align 1, !tbaa !28
  %251 = zext i8 %250 to i64
  store i64 %251, ptr %39, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %252 = getelementptr inbounds %"struct.langcc::SymItem", ptr %12, i32 0, i32 2
  %253 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %252, i32 0, i32 0
  %254 = getelementptr inbounds [16 x i8], ptr %253, i64 0, i64 5
  %255 = load i8, ptr %254, align 1, !tbaa !28
  %256 = zext i8 %255 to i64
  store i64 %256, ptr %40, align 8, !tbaa !19
  %257 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40)
          to label %258 unwind label %329

258:                                              ; preds = %241
  %259 = load i64, ptr %257, align 8, !tbaa !19
  %260 = trunc i64 %259 to i8
  %261 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %262 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %261, i32 0, i32 0
  %263 = getelementptr inbounds [16 x i8], ptr %262, i64 0, i64 5
  store i8 %260, ptr %263, align 1, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  %264 = load i64, ptr %4, align 8, !tbaa !19
  %265 = load ptr, ptr %3, align 8, !tbaa !5
  %266 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %265, i32 0, i32 5
  store i64 %264, ptr %266, align 8, !tbaa !9
  %267 = load i64, ptr %5, align 8, !tbaa !19
  %268 = load ptr, ptr %3, align 8, !tbaa !5
  %269 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %268, i32 0, i32 7
  store i64 %267, ptr %269, align 8, !tbaa !20
  %270 = load i64, ptr %6, align 8, !tbaa !19
  %271 = load ptr, ptr %3, align 8, !tbaa !5
  %272 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %271, i32 0, i32 9
  store i64 %270, ptr %272, align 8, !tbaa !21
  %273 = load i64, ptr %7, align 8, !tbaa !19
  %274 = load ptr, ptr %3, align 8, !tbaa !5
  %275 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %274, i32 0, i32 3
  store i64 %273, ptr %275, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr5Index2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  ret void

276:                                              ; preds = %2
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %18, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %19, align 4
  br label %338

280:                                              ; preds = %118
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %18, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %19, align 4
  br label %337

284:                                              ; preds = %122
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %18, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %19, align 4
  br label %336

288:                                              ; preds = %139, %138, %137, %131, %129, %123
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %18, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %19, align 4
  br label %335

292:                                              ; preds = %140
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %18, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %19, align 4
  br label %300

296:                                              ; preds = %141
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %18, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %19, align 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #8
  br label %300

300:                                              ; preds = %296, %292
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #8
  br label %335

301:                                              ; preds = %143
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %18, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %19, align 4
  br label %334

305:                                              ; preds = %154, %152, %146, %144
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %18, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %19, align 4
  br label %333

309:                                              ; preds = %163
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %18, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %333

313:                                              ; preds = %173
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %18, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %333

317:                                              ; preds = %188
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %18, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %333

321:                                              ; preds = %203
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %18, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %333

325:                                              ; preds = %223
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %18, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %333

329:                                              ; preds = %241
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %18, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %333

333:                                              ; preds = %329, %325, %321, %317, %313, %309, %305
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  br label %334

334:                                              ; preds = %333, %301
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr5Index2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  br label %335

335:                                              ; preds = %334, %300, %288
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  br label %336

336:                                              ; preds = %335, %284
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  br label %337

337:                                              ; preds = %336, %280
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  br label %338

338:                                              ; preds = %337, %276
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  br label %339

339:                                              ; preds = %338
  %340 = load ptr, ptr %18, align 8
  %341 = load i32, ptr %19, align 4
  %342 = insertvalue { ptr, i32 } poison, ptr %340, 0
  %343 = insertvalue { ptr, i32 } %342, i32 %341, 1
  resume { ptr, i32 } %343
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK6langcc6rc_ptrIN4lang2cc4Node4Expr5Index2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6langcc6rc_ptrIN4lang2cc4Node4Expr5Index2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 = { alwaysinline mustprogress 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 #4 = { mustprogress 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 = { inlinehint mustprogress 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 #6 = { inlinehint mustprogress 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 #7 = { mustprogress noinline 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 #8 = { 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++ TBAA"}
!9 = !{!10, !12, i64 48}
!10 = !{!"_ZTSN6langcc15ParserProcStateE", !11, i64 0, !6, i64 16, !6, i64 24, !12, i64 32, !6, i64 40, !12, i64 48, !6, i64 56, !12, i64 64, !6, i64 72, !12, i64 80, !13, i64 88, !6, i64 176, !6, i64 184}
!11 = !{!"_ZTSN6langcc6rc_ptrINS_9LexOutputEEE", !6, i64 0, !6, i64 8}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSN6langcc7SymItemE", !12, i64 0, !12, i64 8, !14, i64 16, !12, i64 32, !12, i64 40, !12, i64 48, !15, i64 56, !18, i64 72}
!14 = !{!"_ZTSN6langcc14ParserAttrMaskE", !7, i64 0}
!15 = !{!"_ZTSN6langcc8Result_TE", !6, i64 0, !16, i64 8}
!16 = !{!"_ZTSN6langcc11TokenBoundsE", !17, i64 0, !17, i64 4}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN6langcc15ParserLookaheadE", !7, i64 0}
!19 = !{!12, !12, i64 0}
!20 = !{!10, !12, i64 64}
!21 = !{!10, !12, i64 80}
!22 = !{!10, !12, i64 32}
!23 = !{!10, !6, i64 24}
!24 = !{!25, !12, i64 8}
!25 = !{!"_ZTSN6langcc21ParserVertexStackItemE", !12, i64 0, !12, i64 8}
!26 = !{!10, !6, i64 40}
!27 = !{i64 0, i64 8, !19, i64 8, i64 8, !19, i64 16, i64 16, !28, i64 32, i64 8, !19, i64 40, i64 8, !19, i64 48, i64 8, !19, i64 56, i64 8, !5, i64 64, i64 4, !29, i64 68, i64 4, !29, i64 72, i64 16, !28}
!28 = !{!7, !7, i64 0}
!29 = !{!17, !17, i64 0}
!30 = !{!10, !6, i64 56}
!31 = !{i64 0, i64 8, !5, i64 8, i64 4, !29, i64 12, i64 4, !29}
!32 = !{!15, !6, i64 0}
!33 = !{!10, !6, i64 184}
!34 = !{!15, !17, i64 12}


; 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.langcc::rc_ptr.45" = type { ptr, ptr }
%"struct.langcc::rc_ptr.306" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::SymItem" = type { i64, i64, %"struct.langcc::ParserAttrMask", i64, i64, i64, %"struct.langcc::Result_T", %"struct.langcc::ParserLookahead" }
%"struct.langcc::Result_T" = type { ptr, %"struct.langcc::TokenBounds" }
%"struct.langcc::TokenBounds" = type { i32, i32 }
%"struct.langcc::ParserVertexStackItem" = type { i64, i64 }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress 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) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang2cc4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.45") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr5Index2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang2cc4Node4Expr5Index8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS2_2_TEEESC_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.306") align 8, ptr noundef, i64 noundef, i64, i1 noundef zeroext, i64 noundef, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, i32 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88), i64 noundef, i64 noundef) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: mustprogress noinline uwtable
define dso_local void @_ZN4lang2cc6parser18_parse_proc_43_0_0EPN6langcc15ParserProcStateE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::SymItem") align 8 %0, ptr noundef %1) local_unnamed_addr #7 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.langcc::rc_ptr.45", align 8
  %4 = alloca %"struct.langcc::rc_ptr.45", align 8
  %5 = alloca %"struct.langcc::rc_ptr.306", align 8
  %6 = alloca %"struct.langcc::TokenBounds", align 8
  %7 = alloca %"struct.langcc::ParserAttrMask", align 8
  %8 = alloca %"struct.langcc::ParserLookahead", align 8
  %9 = alloca %"struct.langcc::rc_ptr.45", align 8
  %10 = alloca %"struct.langcc::rc_ptr.45", align 8
  %11 = alloca %"struct.langcc::Result_T", align 8
  %12 = alloca %"struct.langcc::TokenBounds", align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = getelementptr inbounds i8, ptr %1, i64 48
  %26 = load i64, ptr %25, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %1, i64 64
  %28 = load i64, ptr %27, align 8, !tbaa !18
  %29 = getelementptr inbounds i8, ptr %1, i64 80
  %30 = load i64, ptr %29, align 8, !tbaa !19
  %31 = getelementptr inbounds i8, ptr %1, i64 32
  %32 = load i64, ptr %31, align 8, !tbaa !20
  %33 = getelementptr inbounds i8, ptr %1, i64 24
  %34 = load ptr, ptr %33, align 8, !tbaa !21
  %35 = getelementptr %"struct.langcc::ParserVertexStackItem", ptr %34, i64 %32
  %36 = getelementptr i8, ptr %35, i64 -72
  %37 = load i64, ptr %36, align 8, !tbaa !22
  %38 = getelementptr inbounds i8, ptr %1, i64 40
  %39 = load ptr, ptr %38, align 8, !tbaa !24
  %40 = add nsw i64 %26, -4
  %41 = getelementptr inbounds %"struct.langcc::SymItem", ptr %39, i64 %40
  %.sroa.46.0..sroa_idx = getelementptr inbounds i8, ptr %41, i64 19
  %.sroa.46.0.copyload = load i8, ptr %.sroa.46.0..sroa_idx, align 1
  %.sroa.58.0..sroa_idx = getelementptr inbounds i8, ptr %41, i64 21
  %.sroa.58.0.copyload = load i8, ptr %.sroa.58.0..sroa_idx, align 1
  %42 = getelementptr inbounds i8, ptr %1, i64 56
  %43 = load ptr, ptr %42, align 8, !tbaa !25
  %44 = getelementptr %"struct.langcc::Result_T", ptr %43, i64 %28
  %.sroa.4.0..sroa_idx = getelementptr i8, ptr %44, i64 -4
  %.sroa.4.0.copyload = load i32, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !26
  %45 = getelementptr i8, ptr %44, i64 -32
  %.sroa.01.0.copyload = load ptr, ptr %45, align 8, !tbaa !27
  %46 = add nsw i64 %28, -4
  %47 = getelementptr inbounds %"struct.langcc::Result_T", ptr %43, i64 %46
  %.sroa.0.0.copyload = load ptr, ptr %47, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8
  %48 = getelementptr inbounds i8, ptr %.sroa.0.0.copyload, i64 48
  call void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang2cc4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.45") align 8 %3, ptr noundef nonnull align 8 dereferenceable(16) %48)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %49 = getelementptr inbounds i8, ptr %.sroa.01.0.copyload, i64 48
  invoke void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang2cc4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.45") align 8 %4, ptr noundef nonnull align 8 dereferenceable(16) %49)
          to label %50 unwind label %92

50:                                               ; preds = %2
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  %51 = getelementptr inbounds i8, ptr %1, i64 184
  %52 = load ptr, ptr %51, align 8, !tbaa !28
  %53 = call noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192) %1)
  %54 = call noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8) %53)
  %55 = trunc i64 %37 to i32
  call void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %6, i32 noundef %55, i32 noundef %.sroa.4.0.copyload)
  call void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %7)
  call void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16) %8)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %4)
  %56 = load i64, ptr %6, align 8
  invoke void @_ZN4lang2cc4Node4Expr5Index8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS2_2_TEEESC_(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.306") align 8 %5, ptr noundef %52, i64 noundef %54, i64 %56, i1 noundef zeroext false, i64 noundef -1, ptr noundef nonnull byval(%"struct.langcc::ParserAttrMask") align 8 %7, ptr noundef nonnull byval(%"struct.langcc::ParserLookahead") align 8 %8, ptr noundef nonnull %9, ptr noundef nonnull %10)
          to label %57 unwind label %94

57:                                               ; preds = %50
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @_ZNK6langcc6rc_ptrIN4lang2cc4Node4Expr5Index2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #8
  %58 = call noundef ptr @_ZNK6langcc6rc_ptrIN4lang2cc4Node4Expr5Index2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  call void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %12, i32 noundef %55, i32 noundef %.sroa.4.0.copyload)
  %59 = load i64, ptr %12, align 8
  call void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef %58, i64 %59)
  %60 = load ptr, ptr %42, align 8, !tbaa !25
  %61 = getelementptr inbounds %"struct.langcc::Result_T", ptr %60, i64 %46
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef nonnull align 8 dereferenceable(16) %11, i64 16, i1 false), !tbaa.struct !29
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 167, i64 noundef %37)
          to label %62 unwind label %96

62:                                               ; preds = %57
  %63 = add nsw i64 %28, -3
  %64 = add nsw i64 %32, -4
  %65 = getelementptr inbounds i8, ptr %0, i64 16
  store i8 1, ptr %65, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  store i64 1, ptr %13, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  store i64 0, ptr %14, align 8, !tbaa !31
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
  %67 = load i64, ptr %66, align 8, !tbaa !31
  %68 = trunc i64 %67 to i8
  store i8 %68, ptr %65, align 8, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  %69 = getelementptr inbounds i8, ptr %0, i64 17
  store i8 1, ptr %69, align 1, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  store i64 1, ptr %15, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  store i64 0, ptr %16, align 8, !tbaa !31
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %71 = load i64, ptr %70, align 8, !tbaa !31
  %72 = trunc i64 %71 to i8
  store i8 %72, ptr %69, align 1, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  %73 = getelementptr inbounds i8, ptr %0, i64 18
  store i8 1, ptr %73, align 2, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  store i64 1, ptr %17, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  store i64 0, ptr %18, align 8, !tbaa !31
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %75 = load i64, ptr %74, align 8, !tbaa !31
  %76 = trunc i64 %75 to i8
  store i8 %76, ptr %73, align 2, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  %77 = getelementptr inbounds i8, ptr %0, i64 19
  store i8 1, ptr %77, align 1, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  store i64 1, ptr %19, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  %78 = zext i8 %.sroa.46.0.copyload to i64
  store i64 %78, ptr %20, align 8, !tbaa !31
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %80 = load i64, ptr %79, align 8, !tbaa !31
  %81 = trunc i64 %80 to i8
  store i8 %81, ptr %77, align 1, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  %82 = getelementptr inbounds i8, ptr %0, i64 20
  store i8 18, ptr %82, align 4, !tbaa !30
  %83 = getelementptr inbounds i8, ptr %0, i64 21
  store i8 18, ptr %83, align 1, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  store i64 18, ptr %21, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  store i64 12, ptr %22, align 8, !tbaa !31
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %85 = load i64, ptr %84, align 8, !tbaa !31
  %86 = trunc i64 %85 to i8
  store i8 %86, ptr %83, align 1, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #8
  %87 = and i64 %85, 255
  store i64 %87, ptr %23, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #8
  %88 = zext i8 %.sroa.58.0.copyload to i64
  store i64 %88, ptr %24, align 8, !tbaa !31
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24)
  %90 = load i64, ptr %89, align 8, !tbaa !31
  %91 = trunc i64 %90 to i8
  store i8 %91, ptr %83, align 1, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  store i64 %40, ptr %25, align 8, !tbaa !5
  store i64 %63, ptr %27, align 8, !tbaa !18
  store i64 %30, ptr %29, align 8, !tbaa !19
  store i64 %64, ptr %31, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr5Index2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  ret void

92:                                               ; preds = %2
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %99

94:                                               ; preds = %50
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  br label %98

96:                                               ; preds = %57
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr5Index2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  br label %98

98:                                               ; preds = %96, %94
  %.pn = phi { ptr, i32 } [ %97, %96 ], [ %95, %94 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  br label %99

99:                                               ; preds = %98, %92
  %.pn.pn = phi { ptr, i32 } [ %.pn, %98 ], [ %93, %92 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK6langcc6rc_ptrIN4lang2cc4Node4Expr5Index2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6langcc6rc_ptrIN4lang2cc4Node4Expr5Index2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 = { alwaysinline mustprogress 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 #4 = { mustprogress 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 = { inlinehint mustprogress 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 #6 = { inlinehint mustprogress 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 #7 = { mustprogress noinline 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 #8 = { 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, !11, i64 48}
!6 = !{!"_ZTSN6langcc15ParserProcStateE", !7, i64 0, !8, i64 16, !8, i64 24, !11, i64 32, !8, i64 40, !11, i64 48, !8, i64 56, !11, i64 64, !8, i64 72, !11, i64 80, !12, i64 88, !8, i64 176, !8, i64 184}
!7 = !{!"_ZTSN6langcc6rc_ptrINS_9LexOutputEEE", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"_ZTSN6langcc7SymItemE", !11, i64 0, !11, i64 8, !13, i64 16, !11, i64 32, !11, i64 40, !11, i64 48, !14, i64 56, !17, i64 72}
!13 = !{!"_ZTSN6langcc14ParserAttrMaskE", !9, i64 0}
!14 = !{!"_ZTSN6langcc8Result_TE", !8, i64 0, !15, i64 8}
!15 = !{!"_ZTSN6langcc11TokenBoundsE", !16, i64 0, !16, i64 4}
!16 = !{!"int", !9, i64 0}
!17 = !{!"_ZTSN6langcc15ParserLookaheadE", !9, i64 0}
!18 = !{!6, !11, i64 64}
!19 = !{!6, !11, i64 80}
!20 = !{!6, !11, i64 32}
!21 = !{!6, !8, i64 24}
!22 = !{!23, !11, i64 8}
!23 = !{!"_ZTSN6langcc21ParserVertexStackItemE", !11, i64 0, !11, i64 8}
!24 = !{!6, !8, i64 40}
!25 = !{!6, !8, i64 56}
!26 = !{!16, !16, i64 0}
!27 = !{!8, !8, i64 0}
!28 = !{!6, !8, i64 184}
!29 = !{i64 0, i64 8, !27, i64 8, i64 4, !26, i64 12, i64 4, !26}
!30 = !{!9, !9, i64 0}
!31 = !{!11, !11, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass