; LLVM IR from jzimmerman/langcc :: gen/meta/gen.ll (ZN4lang4meta6parser18_parse_proc_67_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.324" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::StrSlice" = type { %"struct.langcc::rc_ptr.161", i64, i64 }
%"struct.langcc::rc_ptr.161" = type { ptr, ptr }
%"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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang4meta4Node9ParseExpr6StrLit8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_8StrSliceE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.324") 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) #6

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 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 #3 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 #3 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 #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i64 @_ZN6langcc26result_decode_token_boundsENS_8Result_TE(ptr, i64) #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN6langcc15ParserProcState11fetch_tokenEl(ptr dead_on_unwind noalias writable sret(%"struct.langcc::StrSlice") align 8, ptr noundef nonnull align 8 dereferenceable(192), i64 noundef) #7 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)) #3

; Function Attrs: mustprogress noinline uwtable
define dso_local void @_ZN4lang4meta6parser18_parse_proc_67_0_0EPN6langcc15ParserProcStateE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::SymItem") align 8 %0, ptr noundef %1) #8 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::Result_T", align 8
  %11 = alloca %"struct.langcc::TokenBounds", align 4
  %12 = alloca %"struct.langcc::Result_T", align 8
  %13 = alloca %"struct.langcc::StrSlice", align 8
  %14 = alloca %"struct.langcc::rc_ptr.324", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"struct.langcc::TokenBounds", align 4
  %18 = alloca %"struct.langcc::ParserAttrMask", align 8
  %19 = alloca %"struct.langcc::ParserLookahead", align 8
  %20 = alloca %"struct.langcc::StrSlice", align 8
  %21 = alloca %"struct.langcc::Result_T", align 8
  %22 = alloca %"struct.langcc::TokenBounds", align 4
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  store ptr %1, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %27, i32 0, i32 5
  %29 = load i64, ptr %28, align 8, !tbaa !9
  store i64 %29, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %30, i32 0, i32 7
  %32 = load i64, ptr %31, align 8, !tbaa !20
  store i64 %32, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %33, i32 0, i32 9
  %35 = load i64, ptr %34, align 8, !tbaa !21
  store i64 %35, ptr %6, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %36, i32 0, i32 3
  %38 = load i64, ptr %37, align 8, !tbaa !22
  store i64 %38, ptr %7, align 8, !tbaa !19
  %39 = load i64, ptr %7, align 8, !tbaa !19
  %40 = sub nsw i64 %39, 1
  store i64 %40, ptr %7, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %41, i32 0, i32 2
  %43 = load ptr, ptr %42, align 8, !tbaa !23
  %44 = load i64, ptr %7, align 8, !tbaa !19
  %45 = sub nsw i64 %44, 1
  %46 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %43, i64 %45
  %47 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %46, i32 0, i32 1
  %48 = load i64, ptr %47, align 8, !tbaa !24
  store i64 %48, ptr %8, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 88, ptr %9) #9
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %49, i32 0, i32 4
  %51 = load ptr, ptr %50, align 8, !tbaa !26
  %52 = load i64, ptr %4, align 8, !tbaa !19
  %53 = sub nsw i64 %52, 1
  %54 = getelementptr inbounds %"struct.langcc::SymItem", ptr %51, i64 %53
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %54, i64 88, i1 false), !tbaa.struct !27
  %55 = load i64, ptr %4, align 8, !tbaa !19
  %56 = sub nsw i64 %55, 1
  store i64 %56, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #9
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %57, i32 0, i32 6
  %59 = load ptr, ptr %58, align 8, !tbaa !30
  %60 = load i64, ptr %5, align 8, !tbaa !19
  %61 = sub nsw i64 %60, 1
  %62 = getelementptr inbounds %"struct.langcc::Result_T", ptr %59, i64 %61
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %62, i64 16, i1 false), !tbaa.struct !31
  %63 = load i64, ptr %5, align 8, !tbaa !19
  %64 = sub nsw i64 %63, 1
  store i64 %64, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %10, i64 16, i1 false), !tbaa.struct !31
  %65 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8
  %67 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %68 = load i64, ptr %67, align 8
  %69 = call i64 @_ZN6langcc26result_decode_token_boundsENS_8Result_TE(ptr %66, i64 %68)
  store i64 %69, ptr %11, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #9
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %11, i32 0, i32 0
  %72 = load i32, ptr %71, align 4, !tbaa !32
  %73 = sext i32 %72 to i64
  call void @_ZN6langcc15ParserProcState11fetch_tokenEl(ptr dead_on_unwind writable sret(%"struct.langcc::StrSlice") align 8 %13, ptr noundef nonnull align 8 dereferenceable(192) %70, i64 noundef %73)
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #9
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %74, i32 0, i32 12
  %76 = load ptr, ptr %75, align 8, !tbaa !33
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  %78 = invoke noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192) %77)
          to label %79 unwind label %155

79:                                               ; preds = %2
  %80 = invoke noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8) %78)
          to label %81 unwind label %155

81:                                               ; preds = %79
  %82 = load i64, ptr %8, align 8, !tbaa !19
  %83 = trunc i64 %82 to i32
  %84 = getelementptr inbounds %"struct.langcc::Result_T", ptr %10, i32 0, i32 1
  %85 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %84, i32 0, i32 1
  %86 = load i32, ptr %85, align 4, !tbaa !34
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %17, i32 noundef %83, i32 noundef %86)
          to label %87 unwind label %155

87:                                               ; preds = %81
  invoke void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %18)
          to label %88 unwind label %155

88:                                               ; preds = %87
  invoke void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16) %19)
          to label %89 unwind label %155

89:                                               ; preds = %88
  invoke void @_ZN6langcc8StrSliceC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %90 unwind label %155

90:                                               ; preds = %89
  %91 = load i64, ptr %17, align 4
  invoke void @_ZN4lang4meta4Node9ParseExpr6StrLit8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_8StrSliceE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.324") align 8 %14, ptr noundef %76, i64 noundef %80, i64 %91, i1 noundef zeroext false, i64 noundef -1, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %18, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %19, ptr noundef %20)
          to label %92 unwind label %159

92:                                               ; preds = %90
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  invoke void @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr6StrLit2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %93 unwind label %163

93:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #9
  %94 = invoke noundef ptr @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr6StrLit2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %95 unwind label %167

95:                                               ; preds = %93
  %96 = load i64, ptr %8, align 8, !tbaa !19
  %97 = trunc i64 %96 to i32
  %98 = getelementptr inbounds %"struct.langcc::Result_T", ptr %10, i32 0, i32 1
  %99 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %98, i32 0, i32 1
  %100 = load i32, ptr %99, align 4, !tbaa !34
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %22, i32 noundef %97, i32 noundef %100)
          to label %101 unwind label %167

101:                                              ; preds = %95
  %102 = load i64, ptr %22, align 4
  invoke void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef %94, i64 %102)
          to label %103 unwind label %167

103:                                              ; preds = %101
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %104, i32 0, i32 6
  %106 = load ptr, ptr %105, align 8, !tbaa !30
  %107 = load i64, ptr %5, align 8, !tbaa !19
  %108 = getelementptr inbounds %"struct.langcc::Result_T", ptr %106, i64 %107
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %108, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !31
  %109 = load i64, ptr %5, align 8, !tbaa !19
  %110 = add nsw i64 %109, 1
  store i64 %110, ptr %5, align 8, !tbaa !19
  %111 = load i64, ptr %8, align 8, !tbaa !19
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 114, i64 noundef %111)
          to label %112 unwind label %167

112:                                              ; preds = %103
  %113 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %114 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %113, i32 0, i32 0
  %115 = getelementptr inbounds [16 x i8], ptr %114, i64 0, i64 0
  store i8 8, ptr %115, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %116 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %117 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %116, i32 0, i32 0
  %118 = getelementptr inbounds [16 x i8], ptr %117, i64 0, i64 0
  %119 = load i8, ptr %118, align 8, !tbaa !28
  %120 = zext i8 %119 to i64
  store i64 %120, ptr %23, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  store i64 8, ptr %24, align 8, !tbaa !19
  %121 = invoke 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)
          to label %122 unwind label %171

122:                                              ; preds = %112
  %123 = load i64, ptr %121, align 8, !tbaa !19
  %124 = trunc i64 %123 to i8
  %125 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %126 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %125, i32 0, i32 0
  %127 = getelementptr inbounds [16 x i8], ptr %126, i64 0, i64 0
  store i8 %124, ptr %127, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  %128 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %129 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %128, i32 0, i32 0
  %130 = getelementptr inbounds [16 x i8], ptr %129, i64 0, i64 1
  store i8 8, ptr %130, align 1, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %131 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %132 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %131, i32 0, i32 0
  %133 = getelementptr inbounds [16 x i8], ptr %132, i64 0, i64 1
  %134 = load i8, ptr %133, align 1, !tbaa !28
  %135 = zext i8 %134 to i64
  store i64 %135, ptr %25, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  store i64 8, ptr %26, align 8, !tbaa !19
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %137 unwind label %175

137:                                              ; preds = %122
  %138 = load i64, ptr %136, align 8, !tbaa !19
  %139 = trunc i64 %138 to i8
  %140 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %141 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %140, i32 0, i32 0
  %142 = getelementptr inbounds [16 x i8], ptr %141, i64 0, i64 1
  store i8 %139, ptr %142, align 1, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  %143 = load i64, ptr %4, align 8, !tbaa !19
  %144 = load ptr, ptr %3, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %144, i32 0, i32 5
  store i64 %143, ptr %145, align 8, !tbaa !9
  %146 = load i64, ptr %5, align 8, !tbaa !19
  %147 = load ptr, ptr %3, align 8, !tbaa !5
  %148 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %147, i32 0, i32 7
  store i64 %146, ptr %148, align 8, !tbaa !20
  %149 = load i64, ptr %6, align 8, !tbaa !19
  %150 = load ptr, ptr %3, align 8, !tbaa !5
  %151 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %150, i32 0, i32 9
  store i64 %149, ptr %151, align 8, !tbaa !21
  %152 = load i64, ptr %7, align 8, !tbaa !19
  %153 = load ptr, ptr %3, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %153, i32 0, i32 3
  store i64 %152, ptr %154, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #9
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr6StrLit2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  ret void

155:                                              ; preds = %89, %88, %87, %81, %79, %2
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %15, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %16, align 4
  br label %181

159:                                              ; preds = %90
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %15, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %16, align 4
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  br label %181

163:                                              ; preds = %92
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %15, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %16, align 4
  br label %180

167:                                              ; preds = %103, %101, %95, %93
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %15, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %16, align 4
  br label %179

171:                                              ; preds = %112
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %15, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %179

175:                                              ; preds = %122
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %15, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br label %179

179:                                              ; preds = %175, %171, %167
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #9
  br label %180

180:                                              ; preds = %179, %163
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr6StrLit2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #9
  br label %181

181:                                              ; preds = %180, %159, %155
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  br label %182

182:                                              ; preds = %181
  %183 = load ptr, ptr %15, align 8
  %184 = load i32, ptr %16, align 4
  %185 = insertvalue { ptr, i32 } poison, ptr %183, 0
  %186 = insertvalue { ptr, i32 } %185, i32 %184, 1
  resume { ptr, i32 } %186
}

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr6StrLit2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16)) #5 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 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 = { alwaysinline 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 #8 = { 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 #9 = { 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 = !{!16, !17, 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.324" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::StrSlice" = type { %"struct.langcc::rc_ptr.161", i64, i64 }
%"struct.langcc::rc_ptr.161" = type { ptr, ptr }
%"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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang4meta4Node9ParseExpr6StrLit8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_8StrSliceE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.324") 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) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 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 #3 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 #3 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 #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i64 @_ZN6langcc26result_decode_token_boundsENS_8Result_TE(ptr, i64) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN6langcc15ParserProcState11fetch_tokenEl(ptr dead_on_unwind noalias writable sret(%"struct.langcc::StrSlice") align 8, ptr noundef nonnull align 8 dereferenceable(192), i64 noundef) local_unnamed_addr #7 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 #3

; Function Attrs: mustprogress noinline uwtable
define dso_local void @_ZN4lang4meta6parser18_parse_proc_67_0_0EPN6langcc15ParserProcStateE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::SymItem") align 8 %0, ptr noundef %1) local_unnamed_addr #8 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.langcc::StrSlice", align 8
  %4 = alloca %"struct.langcc::rc_ptr.324", align 8
  %5 = alloca %"struct.langcc::TokenBounds", align 8
  %6 = alloca %"struct.langcc::ParserAttrMask", align 8
  %7 = alloca %"struct.langcc::ParserLookahead", align 8
  %8 = alloca %"struct.langcc::StrSlice", align 8
  %9 = alloca %"struct.langcc::Result_T", align 8
  %10 = alloca %"struct.langcc::TokenBounds", align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = getelementptr inbounds i8, ptr %1, i64 48
  %16 = load i64, ptr %15, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %1, i64 64
  %18 = load i64, ptr %17, align 8, !tbaa !18
  %19 = getelementptr inbounds i8, ptr %1, i64 80
  %20 = load i64, ptr %19, align 8, !tbaa !19
  %21 = getelementptr inbounds i8, ptr %1, i64 32
  %22 = load i64, ptr %21, align 8, !tbaa !20
  %23 = getelementptr inbounds i8, ptr %1, i64 24
  %24 = load ptr, ptr %23, align 8, !tbaa !21
  %25 = getelementptr %"struct.langcc::ParserVertexStackItem", ptr %24, i64 %22
  %26 = getelementptr i8, ptr %25, i64 -24
  %27 = load i64, ptr %26, align 8, !tbaa !22
  %28 = getelementptr inbounds i8, ptr %1, i64 56
  %29 = load ptr, ptr %28, align 8, !tbaa !24
  %30 = add nsw i64 %18, -1
  %31 = getelementptr inbounds %"struct.langcc::Result_T", ptr %29, i64 %30
  %.sroa.02.0.copyload = load ptr, ptr %31, align 8, !tbaa !25
  %.sroa.53.0..sroa_idx = getelementptr inbounds i8, ptr %31, i64 8
  %.sroa.53.0.copyload = load i64, ptr %.sroa.53.0..sroa_idx, align 8
  %32 = tail call i64 @_ZN6langcc26result_decode_token_boundsENS_8Result_TE(ptr %.sroa.02.0.copyload, i64 %.sroa.53.0.copyload)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #9
  %sext = shl i64 %32, 32
  %33 = ashr exact i64 %sext, 32
  call void @_ZN6langcc15ParserProcState11fetch_tokenEl(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::StrSlice") align 8 %3, ptr noundef nonnull align 8 dereferenceable(192) %1, i64 noundef %33)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  %34 = getelementptr inbounds i8, ptr %1, i64 184
  %35 = load ptr, ptr %34, align 8, !tbaa !26
  %36 = call noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192) %1)
  %37 = call noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8) %36)
  %38 = trunc i64 %27 to i32
  %.sroa.53.12.extract.shift = lshr i64 %.sroa.53.0.copyload, 32
  %.sroa.53.12.extract.trunc = trunc nuw i64 %.sroa.53.12.extract.shift to i32
  call void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %5, i32 noundef %38, i32 noundef %.sroa.53.12.extract.trunc)
  call void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %6)
  call void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16) %7)
  invoke void @_ZN6langcc8StrSliceC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %39 unwind label %57

39:                                               ; preds = %2
  %40 = load i64, ptr %5, align 8
  invoke void @_ZN4lang4meta4Node9ParseExpr6StrLit8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_8StrSliceE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.324") align 8 %4, ptr noundef %35, i64 noundef %37, i64 %40, i1 noundef zeroext false, i64 noundef -1, ptr noundef nonnull byval(%"struct.langcc::ParserAttrMask") align 8 %6, ptr noundef nonnull byval(%"struct.langcc::ParserLookahead") align 8 %7, ptr noundef nonnull %8)
          to label %41 unwind label %59

41:                                               ; preds = %39
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr6StrLit2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #9
  %42 = call noundef ptr @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr6StrLit2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %10, i32 noundef %38, i32 noundef %.sroa.53.12.extract.trunc)
  %43 = load i64, ptr %10, align 8
  call void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef %42, i64 %43)
  %44 = load ptr, ptr %28, align 8, !tbaa !24
  %45 = getelementptr inbounds %"struct.langcc::Result_T", ptr %44, i64 %30
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef nonnull align 8 dereferenceable(16) %9, i64 16, i1 false), !tbaa.struct !27
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 114, i64 noundef %27)
          to label %46 unwind label %61

46:                                               ; preds = %41
  %47 = add nsw i64 %16, -1
  %48 = add nsw i64 %22, -1
  %49 = getelementptr inbounds i8, ptr %0, i64 16
  store i8 8, ptr %49, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  store i64 8, ptr %11, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  store i64 8, ptr %12, align 8, !tbaa !30
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %51 = load i64, ptr %50, align 8, !tbaa !30
  %52 = trunc i64 %51 to i8
  store i8 %52, ptr %49, align 8, !tbaa !29
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  %53 = getelementptr inbounds i8, ptr %0, i64 17
  store i8 8, ptr %53, align 1, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  store i64 8, ptr %13, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  store i64 8, ptr %14, align 8, !tbaa !30
  %54 = 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)
  %55 = load i64, ptr %54, align 8, !tbaa !30
  %56 = trunc i64 %55 to i8
  store i8 %56, ptr %53, align 1, !tbaa !29
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  store i64 %47, ptr %15, align 8, !tbaa !5
  store i64 %18, ptr %17, align 8, !tbaa !18
  store i64 %20, ptr %19, align 8, !tbaa !19
  store i64 %48, ptr %21, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #9
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr6StrLit2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #9
  ret void

57:                                               ; preds = %2
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %63

59:                                               ; preds = %39
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  br label %63

61:                                               ; preds = %41
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #9
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr6StrLit2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  br label %63

63:                                               ; preds = %61, %59, %57
  %.pn = phi { ptr, i32 } [ %62, %61 ], [ %60, %59 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #9
  resume { ptr, i32 } %.pn
}

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr6StrLit2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5 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 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 = { alwaysinline 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 #8 = { 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 #9 = { 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 56}
!25 = !{!8, !8, i64 0}
!26 = !{!6, !8, i64 184}
!27 = !{i64 0, i64 8, !25, i64 8, i64 4, !28, i64 12, i64 4, !28}
!28 = !{!16, !16, i64 0}
!29 = !{!9, !9, i64 0}
!30 = !{!11, !11, i64 0}


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