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

; 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.250" = type { ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"struct.langcc::rc_ptr.44" = type { ptr, ptr }
%"struct.lang::cc::Node::Stmt::Switch::_T" = type { %"struct.lang::cc::Node::Stmt::_T.base", %"struct.langcc::rc_ptr.45", %"struct.langcc::rc_ptr.422" }
%"struct.lang::cc::Node::Stmt::_T.base" = type <{ %"struct.lang::cc::Node::_T", i32 }>
%"struct.lang::cc::Node::_T" = type { ptr, %"struct.langcc::hash_obj", %"struct.langcc::enable_rc_from_this_poly", i32, i64, %"struct.langcc::TokenBounds", i8, i64, %"struct.langcc::ParserAttrMask", %"struct.langcc::ParserLookahead" }
%"struct.langcc::hash_obj" = type { %"struct.langcc::Option::_T" }
%"struct.langcc::Option::_T" = type { i32, [32 x i8] }
%"struct.langcc::enable_rc_from_this_poly" = type { ptr, ptr }
%"struct.langcc::TokenBounds" = type { i32, i32 }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::rc_ptr.45" = type { ptr, ptr }
%"struct.langcc::rc_ptr.422" = type { ptr, ptr }

@.str.42 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.264 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.266 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.275 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.276 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.277 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.295 = external hidden unnamed_addr constant [7 x i8], align 1

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: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node10SwitchCase2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef) #4 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef) #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang2cc4Node4Expr2_T5writeERN6langcc6rc_ptrINS4_11PrBufStream2_TEEE(ptr noundef nonnull align 8 dereferenceable(140), ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc11PrBufStream2_T11push_indentEv(ptr noundef nonnull align 8 dereferenceable(80)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc11PrBufStream2_T11push_dedentEv(ptr noundef nonnull align 8 dereferenceable(80)) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4lang2cc4Node4Stmt6Switch2_T5writeERN6langcc6rc_ptrINS5_11PrBufStream2_TEEE(ptr noundef nonnull align 8 dereferenceable(176) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.langcc::rc_ptr.250", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator", align 1
  %20 = alloca i64, align 8
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  %23 = alloca %"struct.langcc::rc_ptr.44", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator", align 1
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::allocator", align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %28 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #6
  %29 = getelementptr inbounds i8, ptr %28, i64 48
  call void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang2cc4Node4Stmt6Switch2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.250") align 8 %5, ptr noundef nonnull align 8 dereferenceable(16) %29)
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %32 unwind label %97

32:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef @.str.295, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %33 unwind label %101

33:                                               ; preds = %32
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %31, ptr noundef %8)
          to label %34 unwind label %105

34:                                               ; preds = %33
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
          to label %37 unwind label %97

37:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.266, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %38 unwind label %110

38:                                               ; preds = %37
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %36, ptr noundef %10)
          to label %39 unwind label %114

39:                                               ; preds = %38
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %40)
          to label %42 unwind label %97

42:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.276, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %43 unwind label %119

43:                                               ; preds = %42
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %41, ptr noundef %12)
          to label %44 unwind label %123

44:                                               ; preds = %43
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  %45 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt6Switch2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %46 unwind label %97

46:                                               ; preds = %44
  %47 = getelementptr inbounds %"struct.lang::cc::Node::Stmt::Switch::_T", ptr %45, i32 0, i32 1
  %48 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %47)
          to label %49 unwind label %97

49:                                               ; preds = %46
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4lang2cc4Node4Expr2_T5writeERN6langcc6rc_ptrINS4_11PrBufStream2_TEEE(ptr noundef nonnull align 8 dereferenceable(140) %48, ptr noundef nonnull align 8 dereferenceable(16) %50)
          to label %51 unwind label %97

51:                                               ; preds = %49
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %52)
          to label %54 unwind label %97

54:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.277, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %55 unwind label %128

55:                                               ; preds = %54
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %53, ptr noundef %14)
          to label %56 unwind label %132

56:                                               ; preds = %55
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %57)
          to label %59 unwind label %97

59:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef @.str.266, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %60 unwind label %137

60:                                               ; preds = %59
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %58, ptr noundef %16)
          to label %61 unwind label %141

61:                                               ; preds = %60
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %62)
          to label %64 unwind label %97

64:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef @.str.275, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %65 unwind label %146

65:                                               ; preds = %64
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %63, ptr noundef %18)
          to label %66 unwind label %150

66:                                               ; preds = %65
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  store i8 0, ptr %21, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  store i8 0, ptr %22, align 1, !tbaa !9
  store i64 0, ptr %20, align 8, !tbaa !11
  br label %67

67:                                               ; preds = %193, %66
  %68 = load i64, ptr %20, align 8, !tbaa !11
  %69 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt6Switch2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %70 unwind label %155

70:                                               ; preds = %67
  %71 = getelementptr inbounds %"struct.lang::cc::Node::Stmt::Switch::_T", ptr %69, i32 0, i32 2
  %72 = invoke noundef i64 @_ZN6langcc3lenINS_6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEEEElRKNS1_INS_3VecIT_EEEE(ptr noundef nonnull align 8 dereferenceable(16) %71)
          to label %73 unwind label %155

73:                                               ; preds = %70
  %74 = icmp slt i64 %68, %72
  br i1 %74, label %75, label %198

75:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  %76 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt6Switch2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %77 unwind label %159

77:                                               ; preds = %75
  %78 = getelementptr inbounds %"struct.lang::cc::Node::Stmt::Switch::_T", ptr %76, i32 0, i32 2
  %79 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node10SwitchCase2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %78)
          to label %80 unwind label %159

80:                                               ; preds = %77
  %81 = load i64, ptr %20, align 8, !tbaa !11
  %82 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %79, i64 noundef %81)
          to label %83 unwind label %159

83:                                               ; preds = %80
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %82)
          to label %84 unwind label %159

84:                                               ; preds = %83
  %85 = load i8, ptr %21, align 1, !tbaa !9, !range !13, !noundef !14
  %86 = trunc i8 %85 to i1
  br i1 %86, label %87, label %176

87:                                               ; preds = %84
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %88)
          to label %90 unwind label %163

90:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef @.str.264, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %91 unwind label %167

91:                                               ; preds = %90
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %89, ptr noundef %24)
          to label %92 unwind label %171

92:                                               ; preds = %91
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  %93 = load ptr, ptr %4, align 8, !tbaa !5
  %94 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %93)
          to label %95 unwind label %163

95:                                               ; preds = %92
  invoke void @_ZN6langcc11PrBufStream2_T13push_newlinesEl(ptr noundef nonnull align 8 dereferenceable(80) %94, i64 noundef 1)
          to label %96 unwind label %163

96:                                               ; preds = %95
  br label %176

97:                                               ; preds = %210, %61, %56, %51, %49, %46, %44, %39, %34, %2
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %6, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %7, align 4
  br label %226

101:                                              ; preds = %32
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %6, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %7, align 4
  br label %109

105:                                              ; preds = %33
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %6, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br label %109

109:                                              ; preds = %105, %101
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  br label %226

110:                                              ; preds = %37
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %6, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %7, align 4
  br label %118

114:                                              ; preds = %38
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %6, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %118

118:                                              ; preds = %114, %110
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  br label %226

119:                                              ; preds = %42
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %6, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %7, align 4
  br label %127

123:                                              ; preds = %43
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %6, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %127

127:                                              ; preds = %123, %119
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  br label %226

128:                                              ; preds = %54
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %6, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %7, align 4
  br label %136

132:                                              ; preds = %55
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %6, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %136

136:                                              ; preds = %132, %128
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  br label %226

137:                                              ; preds = %59
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %6, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %7, align 4
  br label %145

141:                                              ; preds = %60
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %6, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  br label %145

145:                                              ; preds = %141, %137
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  br label %226

146:                                              ; preds = %64
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %6, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %7, align 4
  br label %154

150:                                              ; preds = %65
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %6, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %154

154:                                              ; preds = %150, %146
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  br label %226

155:                                              ; preds = %208, %205, %201, %198, %70, %67
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %6, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %7, align 4
  br label %216

159:                                              ; preds = %83, %80, %77, %75
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %6, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %7, align 4
  br label %197

163:                                              ; preds = %190, %188, %186, %183, %182, %179, %95, %92, %87
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %6, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %7, align 4
  br label %196

167:                                              ; preds = %90
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %6, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %7, align 4
  br label %175

171:                                              ; preds = %91
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %6, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #6
  br label %175

175:                                              ; preds = %171, %167
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  br label %196

176:                                              ; preds = %96, %84
  %177 = load i8, ptr %21, align 1, !tbaa !9, !range !13, !noundef !14
  %178 = trunc i8 %177 to i1
  br i1 %178, label %188, label %179

179:                                              ; preds = %176
  %180 = load ptr, ptr %4, align 8, !tbaa !5
  %181 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %180)
          to label %182 unwind label %163

182:                                              ; preds = %179
  invoke void @_ZN6langcc11PrBufStream2_T13push_newlinesEl(ptr noundef nonnull align 8 dereferenceable(80) %181, i64 noundef 1)
          to label %183 unwind label %163

183:                                              ; preds = %182
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  %185 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %184)
          to label %186 unwind label %163

186:                                              ; preds = %183
  invoke void @_ZN6langcc11PrBufStream2_T11push_indentEv(ptr noundef nonnull align 8 dereferenceable(80) %185)
          to label %187 unwind label %163

187:                                              ; preds = %186
  store i8 1, ptr %22, align 1, !tbaa !9
  br label %188

188:                                              ; preds = %187, %176
  store i8 1, ptr %21, align 1, !tbaa !9
  %189 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %190 unwind label %163

190:                                              ; preds = %188
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4lang2cc4Node10SwitchCase2_T5writeERN6langcc6rc_ptrINS4_11PrBufStream2_TEEE(ptr noundef nonnull align 8 dereferenceable(140) %189, ptr noundef nonnull align 8 dereferenceable(16) %191)
          to label %192 unwind label %163

192:                                              ; preds = %190
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10SwitchCase2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  br label %193

193:                                              ; preds = %192
  %194 = load i64, ptr %20, align 8, !tbaa !11
  %195 = add nsw i64 %194, 1
  store i64 %195, ptr %20, align 8, !tbaa !11
  br label %67, !llvm.loop !15

196:                                              ; preds = %175, %163
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10SwitchCase2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #6
  br label %197

197:                                              ; preds = %196, %159
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  br label %216

198:                                              ; preds = %73
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  %200 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %199)
          to label %201 unwind label %155

201:                                              ; preds = %198
  invoke void @_ZN6langcc11PrBufStream2_T13push_newlinesEl(ptr noundef nonnull align 8 dereferenceable(80) %200, i64 noundef 1)
          to label %202 unwind label %155

202:                                              ; preds = %201
  %203 = load i8, ptr %22, align 1, !tbaa !9, !range !13, !noundef !14
  %204 = trunc i8 %203 to i1
  br i1 %204, label %205, label %210

205:                                              ; preds = %202
  %206 = load ptr, ptr %4, align 8, !tbaa !5
  %207 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %206)
          to label %208 unwind label %155

208:                                              ; preds = %205
  invoke void @_ZN6langcc11PrBufStream2_T11push_dedentEv(ptr noundef nonnull align 8 dereferenceable(80) %207)
          to label %209 unwind label %155

209:                                              ; preds = %208
  br label %210

210:                                              ; preds = %209, %202
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  %211 = load ptr, ptr %4, align 8, !tbaa !5
  %212 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %211)
          to label %213 unwind label %97

213:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef @.str.42, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %214 unwind label %217

214:                                              ; preds = %213
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %212, ptr noundef %26)
          to label %215 unwind label %221

215:                                              ; preds = %214
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt6Switch2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  ret void

216:                                              ; preds = %197, %155
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %226

217:                                              ; preds = %213
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %6, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %7, align 4
  br label %225

221:                                              ; preds = %214
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %6, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  br label %225

225:                                              ; preds = %221, %217
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  br label %226

226:                                              ; preds = %225, %216, %154, %145, %136, %127, %118, %109, %97
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt6Switch2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  br label %227

227:                                              ; preds = %226
  %228 = load ptr, ptr %6, align 8
  %229 = load i32, ptr %7, align 4
  %230 = insertvalue { ptr, i32 } poison, ptr %228, 0
  %231 = insertvalue { ptr, i32 } %230, i32 %229, 1
  resume { ptr, i32 } %231
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN6langcc3lenINS_6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEEEElRKNS1_INS_3VecIT_EEEE(ptr noundef nonnull align 8 dereferenceable(16)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang2cc4Node10SwitchCase2_T5writeERN6langcc6rc_ptrINS4_11PrBufStream2_TEEE(ptr noundef nonnull align 8 dereferenceable(140), ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #4 = { 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 #5 = { 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 #6 = { 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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


; 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.250" = type { ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"struct.langcc::rc_ptr.44" = type { ptr, ptr }

@.str.42 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.264 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.266 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.275 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.276 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.277 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.295 = external hidden unnamed_addr constant [7 x i8], align 1

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: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node10SwitchCase2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef) local_unnamed_addr #4 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc11PrBufStream2_T13push_newlinesEl(ptr noundef nonnull align 8 dereferenceable(80), i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang2cc4Node4Expr2_T5writeERN6langcc6rc_ptrINS4_11PrBufStream2_TEEE(ptr noundef nonnull align 8 dereferenceable(140), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc11PrBufStream2_T11push_indentEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc11PrBufStream2_T11push_dedentEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4lang2cc4Node4Stmt6Switch2_T5writeERN6langcc6rc_ptrINS5_11PrBufStream2_TEEE(ptr noundef nonnull align 8 dereferenceable(176) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.langcc::rc_ptr.250", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca %"struct.langcc::rc_ptr.44", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  %21 = getelementptr inbounds i8, ptr %0, i64 48
  call void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang2cc4Node4Stmt6Switch2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.250") align 8 %3, ptr noundef nonnull align 8 dereferenceable(16) %21)
  %22 = call noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.295, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %23 unwind label %72

23:                                               ; preds = %2
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %22, ptr noundef nonnull %4)
          to label %24 unwind label %74

24:                                               ; preds = %23
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  %25 = call noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.266, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %26 unwind label %77

26:                                               ; preds = %24
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %25, ptr noundef nonnull %6)
          to label %27 unwind label %79

27:                                               ; preds = %26
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  %28 = call noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str.276, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %29 unwind label %82

29:                                               ; preds = %27
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %28, ptr noundef nonnull %8)
          to label %30 unwind label %84

30:                                               ; preds = %29
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  %31 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt6Switch2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %32 = getelementptr inbounds i8, ptr %31, i64 144
  %33 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %32)
  invoke void @_ZN4lang2cc4Node4Expr2_T5writeERN6langcc6rc_ptrINS4_11PrBufStream2_TEEE(ptr noundef nonnull align 8 dereferenceable(140) %33, ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %34 unwind label %70

34:                                               ; preds = %30
  %35 = call noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.277, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %36 unwind label %87

36:                                               ; preds = %34
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %35, ptr noundef nonnull %10)
          to label %37 unwind label %89

37:                                               ; preds = %36
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  %38 = call noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @.str.266, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %39 unwind label %92

39:                                               ; preds = %37
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %38, ptr noundef nonnull %12)
          to label %40 unwind label %94

40:                                               ; preds = %39
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  %41 = call noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.275, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %42 unwind label %97

42:                                               ; preds = %40
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %41, ptr noundef nonnull %14)
          to label %43 unwind label %99

43:                                               ; preds = %42
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  %44 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt6Switch2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %45 = getelementptr inbounds i8, ptr %44, i64 160
  %46 = call noundef i64 @_ZN6langcc3lenINS_6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEEEElRKNS1_INS_3VecIT_EEEE(ptr noundef nonnull align 8 dereferenceable(16) %45)
  %47 = icmp sgt i64 %46, 0
  br i1 %47, label %.critedge.peel, label %._crit_edge

.critedge.peel:                                   ; preds = %43
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  %48 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt6Switch2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %49 = getelementptr inbounds i8, ptr %48, i64 160
  %50 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node10SwitchCase2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %49)
  %51 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %50, i64 noundef 0)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %51)
  %52 = call noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZN6langcc11PrBufStream2_T13push_newlinesEl(ptr noundef nonnull align 8 dereferenceable(80) %52, i64 noundef 1)
          to label %53 unwind label %.loopexit.split-lp

53:                                               ; preds = %.critedge.peel
  %54 = call noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZN6langcc11PrBufStream2_T11push_indentEv(ptr noundef nonnull align 8 dereferenceable(80) %54)
          to label %55 unwind label %.loopexit.split-lp

55:                                               ; preds = %53
  %56 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
  invoke void @_ZN4lang2cc4Node10SwitchCase2_T5writeERN6langcc6rc_ptrINS4_11PrBufStream2_TEEE(ptr noundef nonnull align 8 dereferenceable(140) %56, ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %57 unwind label %.loopexit.split-lp

57:                                               ; preds = %55
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10SwitchCase2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  %58 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt6Switch2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %59 = getelementptr inbounds i8, ptr %58, i64 160
  %60 = call noundef i64 @_ZN6langcc3lenINS_6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEEEElRKNS1_INS_3VecIT_EEEE(ptr noundef nonnull align 8 dereferenceable(16) %59)
  %61 = icmp sgt i64 %60, 1
  br i1 %61, label %.lr.ph.peel.next, label %._crit_edge

.lr.ph.peel.next:                                 ; preds = %57, %109
  %.02460 = phi i64 [ %110, %109 ], [ 1, %57 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  %62 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt6Switch2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %63 = getelementptr inbounds i8, ptr %62, i64 160
  %64 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node10SwitchCase2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %63)
  %65 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %64, i64 noundef %.02460)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %65)
  %66 = call noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.264, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %67 unwind label %104

67:                                               ; preds = %.lr.ph.peel.next
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %66, ptr noundef nonnull %17)
          to label %68 unwind label %105

68:                                               ; preds = %67
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  %69 = call noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZN6langcc11PrBufStream2_T13push_newlinesEl(ptr noundef nonnull align 8 dereferenceable(80) %69, i64 noundef 1)
          to label %107 unwind label %.loopexit

70:                                               ; preds = %30
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %129

72:                                               ; preds = %2
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %76

74:                                               ; preds = %23
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  br label %76

76:                                               ; preds = %74, %72
  %.pn = phi { ptr, i32 } [ %75, %74 ], [ %73, %72 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  br label %129

77:                                               ; preds = %24
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %81

79:                                               ; preds = %26
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  br label %81

81:                                               ; preds = %79, %77
  %.pn39 = phi { ptr, i32 } [ %80, %79 ], [ %78, %77 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  br label %129

82:                                               ; preds = %27
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %86

84:                                               ; preds = %29
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br label %86

86:                                               ; preds = %84, %82
  %.pn41 = phi { ptr, i32 } [ %85, %84 ], [ %83, %82 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  br label %129

87:                                               ; preds = %34
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %91

89:                                               ; preds = %36
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %91

91:                                               ; preds = %89, %87
  %.pn43 = phi { ptr, i32 } [ %90, %89 ], [ %88, %87 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  br label %129

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

94:                                               ; preds = %39
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %96

96:                                               ; preds = %94, %92
  %.pn45 = phi { ptr, i32 } [ %95, %94 ], [ %93, %92 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  br label %129

97:                                               ; preds = %40
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %101

99:                                               ; preds = %42
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %101

101:                                              ; preds = %99, %97
  %.pn47 = phi { ptr, i32 } [ %100, %99 ], [ %98, %97 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  br label %129

102:                                              ; preds = %118, %._crit_edge
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %129

.loopexit:                                        ; preds = %68, %107
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %115

.loopexit.split-lp:                               ; preds = %.critedge.peel, %53, %55
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %115

104:                                              ; preds = %.lr.ph.peel.next
  %lpad.loopexit66 = landingpad { ptr, i32 }
          cleanup
  br label %106

105:                                              ; preds = %67
  %lpad.loopexit71 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  br label %106

106:                                              ; preds = %105, %104
  %.pn51 = phi { ptr, i32 } [ %lpad.loopexit71, %105 ], [ %lpad.loopexit66, %104 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  br label %115

107:                                              ; preds = %68
  %108 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
  invoke void @_ZN4lang2cc4Node10SwitchCase2_T5writeERN6langcc6rc_ptrINS4_11PrBufStream2_TEEE(ptr noundef nonnull align 8 dereferenceable(140) %108, ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %109 unwind label %.loopexit

109:                                              ; preds = %107
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10SwitchCase2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  %110 = add nuw nsw i64 %.02460, 1
  %111 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt6Switch2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %112 = getelementptr inbounds i8, ptr %111, i64 160
  %113 = call noundef i64 @_ZN6langcc3lenINS_6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEEEElRKNS1_INS_3VecIT_EEEE(ptr noundef nonnull align 8 dereferenceable(16) %112)
  %114 = icmp slt i64 %110, %113
  br i1 %114, label %.lr.ph.peel.next, label %._crit_edge, !llvm.loop !5

115:                                              ; preds = %.loopexit, %.loopexit.split-lp, %106
  %.pn53 = phi { ptr, i32 } [ %.pn51, %106 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10SwitchCase2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  br label %129

._crit_edge:                                      ; preds = %109, %57, %43
  %116 = call noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZN6langcc11PrBufStream2_T13push_newlinesEl(ptr noundef nonnull align 8 dereferenceable(80) %116, i64 noundef 1)
          to label %117 unwind label %102

117:                                              ; preds = %._crit_edge
  br i1 %47, label %118, label %120

118:                                              ; preds = %117
  %119 = call noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZN6langcc11PrBufStream2_T11push_dedentEv(ptr noundef nonnull align 8 dereferenceable(80) %119)
          to label %120 unwind label %102

120:                                              ; preds = %118, %117
  %121 = call noundef ptr @_ZN6langcc6rc_ptrINS_11PrBufStream2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.42, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %122 unwind label %124

122:                                              ; preds = %120
  invoke void @_ZN6langcc11PrBufStream2_T11push_stringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(80) %121, ptr noundef nonnull %19)
          to label %123 unwind label %126

123:                                              ; preds = %122
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt6Switch2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  ret void

124:                                              ; preds = %120
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %128

126:                                              ; preds = %122
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  br label %128

128:                                              ; preds = %126, %124
  %.pn49 = phi { ptr, i32 } [ %127, %126 ], [ %125, %124 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #6
  br label %129

129:                                              ; preds = %102, %115, %128, %101, %96, %91, %86, %81, %76, %70
  %.pn53.pn.pn = phi { ptr, i32 } [ %.pn49, %128 ], [ %.pn47, %101 ], [ %.pn45, %96 ], [ %.pn43, %91 ], [ %71, %70 ], [ %.pn41, %86 ], [ %.pn39, %81 ], [ %.pn, %76 ], [ %.pn53, %115 ], [ %103, %102 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt6Switch2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn53.pn.pn
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN6langcc3lenINS_6rc_ptrIN4lang2cc4Node10SwitchCase2_TEEEEElRKNS1_INS_3VecIT_EEEE(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang2cc4Node10SwitchCase2_T5writeERN6langcc6rc_ptrINS4_11PrBufStream2_TEEE(ptr noundef nonnull align 8 dereferenceable(140), 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 = { 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 #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 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 = distinct !{!5, !6, !7}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!"llvm.loop.peeled.count", i32 1}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass