; LLVM IR from Aeternum-Veritas/Merry :: legacy/MerryAssembler/src/lexer.ll (ZN5merry9front_end5Lexer10next_tokenEv)

; 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"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.merry::front_end::Token" = type { %"class.merry::core::Loc", i32, %"class.std::__cxx11::basic_string" }
%"class.merry::core::Loc" = type { i64, i64, %"class.std::__cxx11::basic_string" }
%"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 }
%"class.merry::front_end::Lexer" = type <{ %"class.merry::core::Loc", %"class.std::__cxx11::basic_string", i64, i8, [7 x i8] }>

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5merry9front_end5Lexer7advanceEv(ptr noundef nonnull align 8 dereferenceable(89)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5merry9front_end5Lexer15skip_whitespaceEv(ptr noundef nonnull align 8 dereferenceable(89)) #0 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5merry9front_end5Lexer10next_tokenEv(ptr dead_on_unwind noalias writable sret(%"class.merry::front_end::Token") align 8 %0, ptr noundef nonnull align 8 dereferenceable(89) %1) #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.merry::core::Loc", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca %"class.merry::core::Loc", align 8
  %13 = alloca i8, align 1
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.merry::core::Loc", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.merry::core::Loc", align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.merry::core::Loc", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %23 = load ptr, ptr %4, align 8
  call void @_ZN5merry9front_end5Lexer15skip_whitespaceEv(ptr noundef nonnull align 8 dereferenceable(89) %23)
  %24 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 2
  %25 = load i64, ptr %24, align 8, !tbaa !9
  %26 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 1
  %27 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  %28 = sub i64 %27, 1
  %29 = icmp uge i64 %25, %28
  br i1 %29, label %30, label %49

30:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %31 unwind label %35

31:                                               ; preds = %30
  %32 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 0
  invoke void @_ZN5merry4core3LocC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(48) %32)
          to label %33 unwind label %39

33:                                               ; preds = %31
  invoke void @_ZN5merry9front_end5TokenC2ENS0_9TokenTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4core3LocE(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef 0, ptr noundef %5, ptr noundef %9)
          to label %34 unwind label %43

34:                                               ; preds = %33
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  br label %233

35:                                               ; preds = %30
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %7, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %8, align 4
  br label %48

39:                                               ; preds = %31
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %7, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %8, align 4
  br label %47

43:                                               ; preds = %33
  %44 = landingpad { ptr, i32 }
          cleanup
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %7, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %8, align 4
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  br label %47

47:                                               ; preds = %43, %39
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  br label %48

48:                                               ; preds = %47, %35
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  br label %234

49:                                               ; preds = %2
  br label %50

50:                                               ; preds = %80, %49
  %51 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 3
  %52 = load i8, ptr %51, align 8, !tbaa !15
  %53 = sext i8 %52 to i32
  %54 = icmp eq i32 %53, 59
  br i1 %54, label %55, label %62

55:                                               ; preds = %50
  %56 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 2
  %57 = load i64, ptr %56, align 8, !tbaa !9
  %58 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 1
  %59 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %58) #7
  %60 = sub i64 %59, 1
  %61 = icmp ult i64 %57, %60
  br label %62

62:                                               ; preds = %55, %50
  %63 = phi i1 [ false, %50 ], [ %61, %55 ]
  br i1 %63, label %64, label %81

64:                                               ; preds = %62
  br label %65

65:                                               ; preds = %79, %64
  %66 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 3
  %67 = load i8, ptr %66, align 8, !tbaa !15
  %68 = sext i8 %67 to i32
  %69 = icmp ne i32 %68, 10
  br i1 %69, label %70, label %77

70:                                               ; preds = %65
  %71 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 2
  %72 = load i64, ptr %71, align 8, !tbaa !9
  %73 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 1
  %74 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %73) #7
  %75 = sub i64 %74, 1
  %76 = icmp ult i64 %72, %75
  br label %77

77:                                               ; preds = %70, %65
  %78 = phi i1 [ false, %65 ], [ %76, %70 ]
  br i1 %78, label %79, label %80

79:                                               ; preds = %77
  call void @_ZN5merry9front_end5Lexer7advanceEv(ptr noundef nonnull align 8 dereferenceable(89) %23)
  br label %65, !llvm.loop !16

80:                                               ; preds = %77
  call void @_ZN5merry9front_end5Lexer15skip_whitespaceEv(ptr noundef nonnull align 8 dereferenceable(89) %23)
  br label %50, !llvm.loop !18

81:                                               ; preds = %62
  call void @_ZN5merry9front_end5Lexer15skip_whitespaceEv(ptr noundef nonnull align 8 dereferenceable(89) %23)
  %82 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 2
  %83 = load i64, ptr %82, align 8, !tbaa !9
  %84 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 1
  %85 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %84) #7
  %86 = sub i64 %85, 1
  %87 = icmp uge i64 %83, %86
  br i1 %87, label %88, label %107

88:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %89 unwind label %93

89:                                               ; preds = %88
  %90 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 0
  invoke void @_ZN5merry4core3LocC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 8 dereferenceable(48) %90)
          to label %91 unwind label %97

91:                                               ; preds = %89
  invoke void @_ZN5merry9front_end5TokenC2ENS0_9TokenTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4core3LocE(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef 0, ptr noundef %10, ptr noundef %12)
          to label %92 unwind label %101

92:                                               ; preds = %91
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  br label %233

93:                                               ; preds = %88
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %7, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %8, align 4
  br label %106

97:                                               ; preds = %89
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %7, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %8, align 4
  br label %105

101:                                              ; preds = %91
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %7, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %8, align 4
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #7
  br label %105

105:                                              ; preds = %101, %97
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %106

106:                                              ; preds = %105, %93
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  br label %234

107:                                              ; preds = %81
  %108 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 3
  %109 = load i8, ptr %108, align 8, !tbaa !15
  %110 = sext i8 %109 to i32
  switch i32 %110, label %136 [
    i32 58, label %111
    i32 44, label %111
  ]

111:                                              ; preds = %107, %107
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #7
  %112 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 3
  %113 = load i8, ptr %112, align 8, !tbaa !15
  store i8 %113, ptr %13, align 1, !tbaa !19
  call void @_ZN5merry9front_end5Lexer7advanceEv(ptr noundef nonnull align 8 dereferenceable(89) %23)
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  %114 = load i8, ptr %13, align 1, !tbaa !19
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %114)
          to label %115 unwind label %122

115:                                              ; preds = %111
  %116 = load i8, ptr %13, align 1, !tbaa !19
  %117 = sext i8 %116 to i32
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %118 unwind label %122

118:                                              ; preds = %115
  %119 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 0
  invoke void @_ZN5merry4core3LocC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 8 dereferenceable(48) %119)
          to label %120 unwind label %126

120:                                              ; preds = %118
  invoke void @_ZN5merry9front_end5TokenC2ENS0_9TokenTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4core3LocE(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef %117, ptr noundef %15, ptr noundef %16)
          to label %121 unwind label %130

121:                                              ; preds = %120
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  br label %233

122:                                              ; preds = %115, %111
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %7, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %8, align 4
  br label %135

126:                                              ; preds = %118
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %7, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %8, align 4
  br label %134

130:                                              ; preds = %120
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %7, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %8, align 4
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #7
  br label %134

134:                                              ; preds = %130, %126
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %135

135:                                              ; preds = %134, %122
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  br label %234

136:                                              ; preds = %107
  %137 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 3
  %138 = load i8, ptr %137, align 8, !tbaa !15
  %139 = sext i8 %138 to i32
  %140 = call i32 @isalnum(i32 noundef %139) #8
  %141 = icmp ne i32 %140, 0
  br i1 %141, label %147, label %142

142:                                              ; preds = %136
  %143 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 3
  %144 = load i8, ptr %143, align 8, !tbaa !15
  %145 = sext i8 %144 to i32
  %146 = icmp eq i32 %145, 95
  br i1 %146, label %147, label %227

147:                                              ; preds = %142, %136
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  %148 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 3
  %149 = load i8, ptr %148, align 8, !tbaa !15
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %17, i8 noundef signext %149)
          to label %150 unwind label %185

150:                                              ; preds = %147
  invoke void @_ZN5merry9front_end5Lexer7advanceEv(ptr noundef nonnull align 8 dereferenceable(89) %23)
          to label %151 unwind label %185

151:                                              ; preds = %150
  br label %152

152:                                              ; preds = %189, %151
  %153 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 3
  %154 = load i8, ptr %153, align 8, !tbaa !15
  %155 = sext i8 %154 to i32
  %156 = call i32 @isalnum(i32 noundef %155) #8
  %157 = icmp ne i32 %156, 0
  br i1 %157, label %168, label %158

158:                                              ; preds = %152
  %159 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 3
  %160 = load i8, ptr %159, align 8, !tbaa !15
  %161 = sext i8 %160 to i32
  %162 = icmp eq i32 %161, 95
  br i1 %162, label %168, label %163

163:                                              ; preds = %158
  %164 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 3
  %165 = load i8, ptr %164, align 8, !tbaa !15
  %166 = sext i8 %165 to i32
  %167 = icmp eq i32 %166, 46
  br label %168

168:                                              ; preds = %163, %158, %152
  %169 = phi i1 [ true, %158 ], [ true, %152 ], [ %167, %163 ]
  br i1 %169, label %170, label %190

170:                                              ; preds = %168
  %171 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 3
  %172 = load i8, ptr %171, align 8, !tbaa !15
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %17, i8 noundef signext %172)
          to label %173 unwind label %185

173:                                              ; preds = %170
  invoke void @_ZN5merry9front_end5Lexer7advanceEv(ptr noundef nonnull align 8 dereferenceable(89) %23)
          to label %174 unwind label %185

174:                                              ; preds = %173
  %175 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 2
  %176 = load i64, ptr %175, align 8, !tbaa !9
  %177 = add i64 %176, 1
  %178 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 1
  %179 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %178) #7
  %180 = icmp uge i64 %177, %179
  br i1 %180, label %181, label %189

181:                                              ; preds = %174
  %182 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 3
  %183 = load i8, ptr %182, align 8, !tbaa !15
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %17, i8 noundef signext %183)
          to label %184 unwind label %185

184:                                              ; preds = %181
  br label %190

185:                                              ; preds = %211, %197, %190, %181, %173, %170, %150, %147
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %7, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %8, align 4
  br label %226

189:                                              ; preds = %174
  br label %152, !llvm.loop !20

190:                                              ; preds = %184, %168
  %191 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm(ptr noundef nonnull align 8 dereferenceable(32) %17, i64 noundef 0)
          to label %192 unwind label %185

192:                                              ; preds = %190
  %193 = load i8, ptr %191, align 1, !tbaa !19
  %194 = sext i8 %193 to i32
  %195 = call i32 @isdigit(i32 noundef %194) #8
  %196 = icmp ne i32 %195, 0
  br i1 %196, label %197, label %211

197:                                              ; preds = %192
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %198 unwind label %185

198:                                              ; preds = %197
  %199 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 0
  invoke void @_ZN5merry4core3LocC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(48) %199)
          to label %200 unwind label %202

200:                                              ; preds = %198
  invoke void @_ZN5merry9front_end5TokenC2ENS0_9TokenTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4core3LocE(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef 1, ptr noundef %18, ptr noundef %19)
          to label %201 unwind label %206

201:                                              ; preds = %200
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  store i32 1, ptr %20, align 4
  br label %225

202:                                              ; preds = %198
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %7, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %8, align 4
  br label %210

206:                                              ; preds = %200
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %7, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %8, align 4
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  br label %210

210:                                              ; preds = %206, %202
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %226

211:                                              ; preds = %192
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %212 unwind label %185

212:                                              ; preds = %211
  %213 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 0
  invoke void @_ZN5merry4core3LocC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(48) %213)
          to label %214 unwind label %216

214:                                              ; preds = %212
  invoke void @_ZN5merry9front_end5TokenC2ENS0_9TokenTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4core3LocE(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef 2, ptr noundef %21, ptr noundef %22)
          to label %215 unwind label %220

215:                                              ; preds = %214
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  store i32 1, ptr %20, align 4
  br label %225

216:                                              ; preds = %212
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %7, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %8, align 4
  br label %224

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

224:                                              ; preds = %220, %216
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  br label %226

225:                                              ; preds = %215, %201
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #7
  br label %233

226:                                              ; preds = %224, %210, %185
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #7
  br label %234

227:                                              ; preds = %142
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
  %229 = getelementptr inbounds %"class.merry::front_end::Lexer", ptr %23, i32 0, i32 3
  %230 = load i8, ptr %229, align 8, !tbaa !15
  %231 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %228, i8 noundef signext %230)
  %232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %231, ptr noundef @.str.2)
  call void @exit(i32 noundef 1) #9
  unreachable

233:                                              ; preds = %225, %121, %92, %34
  ret void

234:                                              ; preds = %226, %135, %106, %48
  %235 = load ptr, ptr %7, align 8
  %236 = load i32, ptr %8, align 4
  %237 = insertvalue { ptr, i32 } poison, ptr %235, 0
  %238 = insertvalue { ptr, i32 } %237, i32 %236, 1
  resume { ptr, i32 } %238
}

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5merry4core3LocC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5merry9front_end5TokenC2ENS0_9TokenTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4core3LocE(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef, ptr noundef) unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #0 align 2

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @isalnum(i32 noundef) #5

; Function Attrs: nounwind willreturn memory(read)
declare i32 @isdigit(i32 noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #6

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

attributes #0 = { 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 #1 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #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 = { nounwind willreturn memory(read) "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 = { noreturn nounwind "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 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { noreturn 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 80}
!10 = !{!"_ZTSN5merry9front_end5LexerE", !11, i64 0, !13, i64 48, !12, i64 80, !7, i64 88}
!11 = !{!"_ZTSN5merry4core3LocE", !12, i64 0, !12, i64 8, !13, i64 16}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !12, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!15 = !{!10, !7, i64 88}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!7, !7, i64 0}
!20 = distinct !{!20, !17}


; 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"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.merry::front_end::Token" = type { %"class.merry::core::Loc", i32, %"class.std::__cxx11::basic_string" }
%"class.merry::core::Loc" = type { i64, i64, %"class.std::__cxx11::basic_string" }
%"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 }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5merry9front_end5Lexer7advanceEv(ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5merry9front_end5Lexer15skip_whitespaceEv(ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5merry9front_end5Lexer10next_tokenEv(ptr dead_on_unwind noalias writable sret(%"class.merry::front_end::Token") align 8 %0, ptr noundef nonnull align 8 dereferenceable(89) %1) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca %"class.merry::core::Loc", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca %"class.merry::core::Loc", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.merry::core::Loc", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.merry::core::Loc", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.merry::core::Loc", align 8
  tail call void @_ZN5merry9front_end5Lexer15skip_whitespaceEv(ptr noundef nonnull align 8 dereferenceable(89) %1)
  %17 = getelementptr inbounds i8, ptr %1, i64 80
  %18 = load i64, ptr %17, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %1, i64 48
  %20 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  %21 = add i64 %20, -1
  %.not = icmp ult i64 %18, %21
  br i1 %.not, label %.preheader42, label %25

.preheader42:                                     ; preds = %2
  %22 = getelementptr inbounds i8, ptr %1, i64 88
  %23 = load i8, ptr %22, align 8, !tbaa !14
  %24 = icmp eq i8 %23, 59
  br i1 %24, label %.lr.ph45, label %.critedge

25:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %26 unwind label %29

26:                                               ; preds = %25
  invoke void @_ZN5merry4core3LocC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %27 unwind label %31

27:                                               ; preds = %26
  invoke void @_ZN5merry9front_end5TokenC2ENS0_9TokenTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4core3LocE(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef 0, ptr noundef nonnull %3, ptr noundef nonnull %5)
          to label %28 unwind label %33

28:                                               ; preds = %27
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  br label %125

29:                                               ; preds = %25
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %36

31:                                               ; preds = %26
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %35

33:                                               ; preds = %27
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #7
  br label %35

35:                                               ; preds = %33, %31
  %.pn34 = phi { ptr, i32 } [ %34, %33 ], [ %32, %31 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  br label %36

36:                                               ; preds = %35, %29
  %.pn34.pn = phi { ptr, i32 } [ %.pn34, %35 ], [ %30, %29 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  br label %126

.lr.ph45:                                         ; preds = %.preheader42, %.critedge2
  %37 = load i64, ptr %17, align 8, !tbaa !5
  %38 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  %39 = add i64 %38, -1
  %40 = icmp ult i64 %37, %39
  br i1 %40, label %.preheader41, label %.critedge

.preheader41:                                     ; preds = %.lr.ph45
  %41 = load i8, ptr %22, align 8, !tbaa !14
  %.not3343 = icmp eq i8 %41, 10
  br i1 %.not3343, label %.critedge2, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader41, %46
  %42 = load i64, ptr %17, align 8, !tbaa !5
  %43 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  %44 = add i64 %43, -1
  %45 = icmp ult i64 %42, %44
  br i1 %45, label %46, label %.critedge2

46:                                               ; preds = %.lr.ph
  tail call void @_ZN5merry9front_end5Lexer7advanceEv(ptr noundef nonnull align 8 dereferenceable(89) %1)
  %47 = load i8, ptr %22, align 8, !tbaa !14
  %.not33 = icmp eq i8 %47, 10
  br i1 %.not33, label %.critedge2, label %.lr.ph, !llvm.loop !15

.critedge2:                                       ; preds = %.lr.ph, %46, %.preheader41
  tail call void @_ZN5merry9front_end5Lexer15skip_whitespaceEv(ptr noundef nonnull align 8 dereferenceable(89) %1)
  %48 = load i8, ptr %22, align 8, !tbaa !14
  %49 = icmp eq i8 %48, 59
  br i1 %49, label %.lr.ph45, label %.critedge, !llvm.loop !17

.critedge:                                        ; preds = %.lr.ph45, %.critedge2, %.preheader42
  tail call void @_ZN5merry9front_end5Lexer15skip_whitespaceEv(ptr noundef nonnull align 8 dereferenceable(89) %1)
  %50 = load i64, ptr %17, align 8, !tbaa !5
  %51 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  %52 = add i64 %51, -1
  %.not19 = icmp ult i64 %50, %52
  br i1 %.not19, label %65, label %53

53:                                               ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %54 unwind label %57

54:                                               ; preds = %53
  invoke void @_ZN5merry4core3LocC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %55 unwind label %59

55:                                               ; preds = %54
  invoke void @_ZN5merry9front_end5TokenC2ENS0_9TokenTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4core3LocE(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef 0, ptr noundef nonnull %6, ptr noundef nonnull %8)
          to label %56 unwind label %61

56:                                               ; preds = %55
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  br label %125

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

59:                                               ; preds = %54
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %63

61:                                               ; preds = %55
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #7
  br label %63

63:                                               ; preds = %61, %59
  %.pn30 = phi { ptr, i32 } [ %62, %61 ], [ %60, %59 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br label %64

64:                                               ; preds = %63, %57
  %.pn30.pn = phi { ptr, i32 } [ %.pn30, %63 ], [ %58, %57 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  br label %126

65:                                               ; preds = %.critedge
  %66 = load i8, ptr %22, align 8, !tbaa !14
  switch i8 %66, label %81 [
    i8 58, label %67
    i8 44, label %67
  ]

67:                                               ; preds = %65, %65
  tail call void @_ZN5merry9front_end5Lexer7advanceEv(ptr noundef nonnull align 8 dereferenceable(89) %1)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext %66)
          to label %68 unwind label %73

68:                                               ; preds = %67
  %69 = zext nneg i8 %66 to i32
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %70 unwind label %73

70:                                               ; preds = %68
  invoke void @_ZN5merry4core3LocC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %71 unwind label %75

71:                                               ; preds = %70
  invoke void @_ZN5merry9front_end5TokenC2ENS0_9TokenTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4core3LocE(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef %69, ptr noundef nonnull %10, ptr noundef nonnull %11)
          to label %72 unwind label %77

72:                                               ; preds = %71
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  br label %125

73:                                               ; preds = %68, %67
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %80

75:                                               ; preds = %70
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %79

77:                                               ; preds = %71
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #7
  br label %79

79:                                               ; preds = %77, %75
  %.pn = phi { ptr, i32 } [ %78, %77 ], [ %76, %75 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %80

80:                                               ; preds = %79, %73
  %.pn.pn = phi { ptr, i32 } [ %.pn, %79 ], [ %74, %73 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  br label %126

81:                                               ; preds = %65
  %82 = sext i8 %66 to i32
  %83 = tail call i32 @isalnum(i32 noundef %82) #8
  %.not22 = icmp ne i32 %83, 0
  %84 = icmp eq i8 %66, 95
  %or.cond = or i1 %84, %.not22
  br i1 %or.cond, label %85, label %120

85:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  %86 = load i8, ptr %22, align 8, !tbaa !14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %12, i8 noundef signext %86)
          to label %87 unwind label %.loopexit.split-lp

87:                                               ; preds = %85
  invoke void @_ZN5merry9front_end5Lexer7advanceEv(ptr noundef nonnull align 8 dereferenceable(89) %1)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %87, %92
  %88 = load i8, ptr %22, align 8, !tbaa !14
  %89 = sext i8 %88 to i32
  %90 = call i32 @isalnum(i32 noundef %89) #8
  %.fr = freeze i32 %90
  %.not23.not = icmp eq i32 %.fr, 0
  br i1 %.not23.not, label %switch.early.test, label %.critedge4

switch.early.test:                                ; preds = %.preheader
  switch i8 %88, label %.loopexit [
    i8 95, label %.critedge4
    i8 46, label %.critedge4
  ]

.critedge4:                                       ; preds = %switch.early.test, %switch.early.test, %.preheader
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %12, i8 noundef signext %88)
          to label %91 unwind label %.loopexit40

91:                                               ; preds = %.critedge4
  invoke void @_ZN5merry9front_end5Lexer7advanceEv(ptr noundef nonnull align 8 dereferenceable(89) %1)
          to label %92 unwind label %.loopexit40

92:                                               ; preds = %91
  %93 = load i64, ptr %17, align 8, !tbaa !5
  %94 = add i64 %93, 1
  %95 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  %.not24 = icmp ult i64 %94, %95
  br i1 %.not24, label %.preheader, label %96, !llvm.loop !18

96:                                               ; preds = %92
  %97 = load i8, ptr %22, align 8, !tbaa !14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %12, i8 noundef signext %97)
          to label %.loopexit unwind label %.loopexit.split-lp

.loopexit40:                                      ; preds = %.critedge4, %91
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %119

.loopexit.split-lp:                               ; preds = %85, %87, %96, %.loopexit, %102, %110
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %119

.loopexit:                                        ; preds = %switch.early.test, %96
  %98 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm(ptr noundef nonnull align 8 dereferenceable(32) %12, i64 noundef 0)
          to label %99 unwind label %.loopexit.split-lp

99:                                               ; preds = %.loopexit
  %100 = load i8, ptr %98, align 1, !tbaa !19
  %101 = sext i8 %100 to i32
  %isdigittmp = add nsw i32 %101, -48
  %isdigit = icmp ult i32 %isdigittmp, 10
  br i1 %isdigit, label %102, label %110

102:                                              ; preds = %99
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %103 unwind label %.loopexit.split-lp

103:                                              ; preds = %102
  invoke void @_ZN5merry4core3LocC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %104 unwind label %105

104:                                              ; preds = %103
  invoke void @_ZN5merry9front_end5TokenC2ENS0_9TokenTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4core3LocE(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef 1, ptr noundef nonnull %13, ptr noundef nonnull %14)
          to label %118 unwind label %107

105:                                              ; preds = %103
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %109

107:                                              ; preds = %104
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #7
  br label %109

109:                                              ; preds = %107, %105
  %.pn27 = phi { ptr, i32 } [ %108, %107 ], [ %106, %105 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %119

110:                                              ; preds = %99
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %111 unwind label %.loopexit.split-lp

111:                                              ; preds = %110
  invoke void @_ZN5merry4core3LocC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %112 unwind label %113

112:                                              ; preds = %111
  invoke void @_ZN5merry9front_end5TokenC2ENS0_9TokenTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4core3LocE(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef 2, ptr noundef nonnull %15, ptr noundef nonnull %16)
          to label %118 unwind label %115

113:                                              ; preds = %111
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %117

115:                                              ; preds = %112
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #7
  br label %117

117:                                              ; preds = %115, %113
  %.pn25 = phi { ptr, i32 } [ %116, %115 ], [ %114, %113 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %119

118:                                              ; preds = %112, %104
  %.sink48 = phi ptr [ %14, %104 ], [ %16, %112 ]
  %.sink = phi ptr [ %13, %104 ], [ %15, %112 ]
  call void @_ZN5merry4core3LocD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %.sink48) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  br label %125

119:                                              ; preds = %.loopexit40, %.loopexit.split-lp, %117, %109
  %.pn27.pn = phi { ptr, i32 } [ %.pn27, %109 ], [ %.pn25, %117 ], [ %lpad.loopexit, %.loopexit40 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  br label %126

120:                                              ; preds = %81
  %121 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
  %122 = load i8, ptr %22, align 8, !tbaa !14
  %123 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %121, i8 noundef signext %122)
  %124 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %123, ptr noundef nonnull @.str.2)
  tail call void @exit(i32 noundef 1) #9
  unreachable

125:                                              ; preds = %118, %72, %56, %28
  ret void

126:                                              ; preds = %119, %80, %64, %36
  %.pn34.pn.pn = phi { ptr, i32 } [ %.pn34.pn, %36 ], [ %.pn30.pn, %64 ], [ %.pn27.pn, %119 ], [ %.pn.pn, %80 ]
  resume { ptr, i32 } %.pn34.pn.pn
}

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5merry4core3LocC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5merry9front_end5TokenC2ENS0_9TokenTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4core3LocE(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef, ptr noundef) unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @isalnum(i32 noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #6

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

attributes #0 = { 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 #1 = { 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #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 = { mustprogress nofree nounwind willreturn memory(read) "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 = { noreturn nounwind "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 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { noreturn 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, !8, i64 80}
!6 = !{!"_ZTSN5merry9front_end5LexerE", !7, i64 0, !11, i64 48, !8, i64 80, !9, i64 88}
!7 = !{!"_ZTSN5merry4core3LocE", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !8, i64 8, !9, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!6, !9, i64 88}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = !{!9, !9, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass