; LLVM IR from thepowersgang/mrustc :: src/parse/lex.ll (ZN5Lexer8parseIntEPNS_7NumModeE)

; 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.U128 = type { i64, i64 }
%struct.Codepoint = type { i32 }
%"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 }

@_ZTIN12CompileError7GenericE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.37 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [31 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

declare void @__cxa_free_exception(ptr)

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN5Lexer4getcEv(ptr noundef nonnull align 8 dereferenceable(256)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9CodepointeqEc(ptr noundef nonnull align 4 dereferenceable(4), i8 noundef signext) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5Lexer6ungetcEv(ptr noundef nonnull align 8 dereferenceable(256)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9Codepoint7isdigitEv(ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local { i64, i64 } @_ZN5Lexer8parseIntEPNS_7NumModeE(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.U128, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %struct.Codepoint, align 4
  %8 = alloca %struct.Codepoint, align 4
  %9 = alloca %struct.Codepoint, align 4
  %10 = alloca %class.U128, align 8
  %11 = alloca %class.U128, align 8
  %12 = alloca %class.U128, align 8
  %13 = alloca %struct.Codepoint, align 4
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i1, align 1
  %19 = alloca %struct.Codepoint, align 4
  %20 = alloca %class.U128, align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator", align 1
  %23 = alloca i1, align 1
  %24 = alloca %class.U128, align 8
  %25 = alloca %struct.Codepoint, align 4
  %26 = alloca %class.U128, align 8
  %27 = alloca %struct.Codepoint, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %28 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 2, ptr %6, align 4, !tbaa !9
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef 0, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %29 = call i32 @_ZN5Lexer4getcEv(ptr noundef nonnull align 8 dereferenceable(256) %28)
  %30 = getelementptr inbounds %struct.Codepoint, ptr %7, i32 0, i32 0
  store i32 %29, ptr %30, align 4
  %31 = call noundef zeroext i1 @_ZN9CodepointeqEc(ptr noundef nonnull align 4 dereferenceable(4) %7, i8 noundef signext 48)
  br i1 %31, label %32, label %193

32:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %33 = call i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256) %28)
  %34 = getelementptr inbounds %struct.Codepoint, ptr %8, i32 0, i32 0
  store i32 %33, ptr %34, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %8, i64 4, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  %35 = call noundef zeroext i1 @_ZN9CodepointeqEc(ptr noundef nonnull align 4 dereferenceable(4) %7, i8 noundef signext 120)
  br i1 %35, label %36, label %90

36:                                               ; preds = %32
  store i32 3, ptr %6, align 4, !tbaa !9
  br label %37

37:                                               ; preds = %88, %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %38 = call i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256) %28)
  %39 = getelementptr inbounds %struct.Codepoint, ptr %9, i32 0, i32 0
  store i32 %38, ptr %39, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %9, i64 4, i1 false), !tbaa.struct !11
  %40 = call noundef zeroext i1 @_ZNK9Codepoint8isxdigitEv(ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br i1 %40, label %41, label %89

41:                                               ; preds = %37
  %42 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128mLEj(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef 16)
  %43 = getelementptr inbounds %struct.Codepoint, ptr %7, i32 0, i32 0
  %44 = load i32, ptr %43, align 4, !tbaa !14
  %45 = icmp ule i32 %44, 57
  br i1 %45, label %46, label %56

46:                                               ; preds = %41
  %47 = getelementptr inbounds %struct.Codepoint, ptr %7, i32 0, i32 0
  %48 = load i32, ptr %47, align 4, !tbaa !14
  %49 = sub i32 %48, 48
  %50 = zext i32 %49 to i64
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %10, i64 noundef %50, i64 noundef 0)
  %51 = getelementptr inbounds { i64, i64 }, ptr %10, i32 0, i32 0
  %52 = load i64, ptr %51, align 8
  %53 = getelementptr inbounds { i64, i64 }, ptr %10, i32 0, i32 1
  %54 = load i64, ptr %53, align 8
  %55 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLES_(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 %52, i64 %54)
  br label %88

56:                                               ; preds = %41
  %57 = getelementptr inbounds %struct.Codepoint, ptr %7, i32 0, i32 0
  %58 = load i32, ptr %57, align 4, !tbaa !14
  %59 = icmp ule i32 %58, 70
  br i1 %59, label %60, label %71

60:                                               ; preds = %56
  %61 = getelementptr inbounds %struct.Codepoint, ptr %7, i32 0, i32 0
  %62 = load i32, ptr %61, align 4, !tbaa !14
  %63 = sub i32 %62, 65
  %64 = add i32 %63, 10
  %65 = zext i32 %64 to i64
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %11, i64 noundef %65, i64 noundef 0)
  %66 = getelementptr inbounds { i64, i64 }, ptr %11, i32 0, i32 0
  %67 = load i64, ptr %66, align 8
  %68 = getelementptr inbounds { i64, i64 }, ptr %11, i32 0, i32 1
  %69 = load i64, ptr %68, align 8
  %70 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLES_(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 %67, i64 %69)
  br label %87

71:                                               ; preds = %56
  %72 = getelementptr inbounds %struct.Codepoint, ptr %7, i32 0, i32 0
  %73 = load i32, ptr %72, align 4, !tbaa !14
  %74 = icmp ule i32 %73, 102
  br i1 %74, label %75, label %86

75:                                               ; preds = %71
  %76 = getelementptr inbounds %struct.Codepoint, ptr %7, i32 0, i32 0
  %77 = load i32, ptr %76, align 4, !tbaa !14
  %78 = sub i32 %77, 97
  %79 = add i32 %78, 10
  %80 = zext i32 %79 to i64
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %12, i64 noundef %80, i64 noundef 0)
  %81 = getelementptr inbounds { i64, i64 }, ptr %12, i32 0, i32 0
  %82 = load i64, ptr %81, align 8
  %83 = getelementptr inbounds { i64, i64 }, ptr %12, i32 0, i32 1
  %84 = load i64, ptr %83, align 8
  %85 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLES_(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 %82, i64 %84)
  br label %86

86:                                               ; preds = %75, %71
  br label %87

87:                                               ; preds = %86, %60
  br label %88

88:                                               ; preds = %87, %46
  br label %37, !llvm.loop !16

89:                                               ; preds = %37
  br label %192

90:                                               ; preds = %32
  %91 = call noundef zeroext i1 @_ZN9CodepointeqEc(ptr noundef nonnull align 4 dereferenceable(4) %7, i8 noundef signext 98)
  br i1 %91, label %92, label %129

92:                                               ; preds = %90
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %93

93:                                               ; preds = %127, %92
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %94 = call i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256) %28)
  %95 = getelementptr inbounds %struct.Codepoint, ptr %13, i32 0, i32 0
  store i32 %94, ptr %95, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %13, i64 4, i1 false), !tbaa.struct !11
  %96 = call noundef zeroext i1 @_ZNK9Codepoint7isdigitEv(ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br i1 %96, label %97, label %128

97:                                               ; preds = %93
  %98 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128mLEj(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef 2)
  %99 = getelementptr inbounds %struct.Codepoint, ptr %7, i32 0, i32 0
  %100 = load i32, ptr %99, align 4, !tbaa !14
  %101 = icmp eq i32 %100, 48
  br i1 %101, label %102, label %104

102:                                              ; preds = %97
  %103 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLEj(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef 0)
  br label %127

104:                                              ; preds = %97
  %105 = getelementptr inbounds %struct.Codepoint, ptr %7, i32 0, i32 0
  %106 = load i32, ptr %105, align 4, !tbaa !14
  %107 = icmp eq i32 %106, 49
  br i1 %107, label %108, label %110

108:                                              ; preds = %104
  %109 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLEj(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef 1)
  br label %126

110:                                              ; preds = %104
  store i1 true, ptr %18, align 1
  %111 = call ptr @__cxa_allocate_exception(i64 40) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.37, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %112 unwind label %114

112:                                              ; preds = %110
  invoke void @_ZN12CompileError7GenericC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %111, ptr noundef %14)
          to label %113 unwind label %118

113:                                              ; preds = %112
  store i1 false, ptr %18, align 1
  invoke void @__cxa_throw(ptr %111, ptr @_ZTIN12CompileError7GenericE, ptr @_ZN12CompileError7GenericD2Ev) #6
          to label %224 unwind label %118

114:                                              ; preds = %110
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %16, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %17, align 4
  br label %122

118:                                              ; preds = %113, %112
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %16, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  br label %122

122:                                              ; preds = %118, %114
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  %123 = load i1, ptr %18, align 1
  br i1 %123, label %124, label %125

124:                                              ; preds = %122
  call void @__cxa_free_exception(ptr %111) #5
  br label %125

125:                                              ; preds = %124, %122
  br label %218

126:                                              ; preds = %108
  br label %127

127:                                              ; preds = %126, %102
  br label %93, !llvm.loop !18

128:                                              ; preds = %93
  br label %191

129:                                              ; preds = %90
  %130 = call noundef zeroext i1 @_ZN9CodepointeqEc(ptr noundef nonnull align 4 dereferenceable(4) %7, i8 noundef signext 111)
  br i1 %130, label %131, label %173

131:                                              ; preds = %129
  store i32 1, ptr %6, align 4, !tbaa !9
  br label %132

132:                                              ; preds = %171, %131
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %133 = call i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256) %28)
  %134 = getelementptr inbounds %struct.Codepoint, ptr %19, i32 0, i32 0
  store i32 %133, ptr %134, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %19, i64 4, i1 false), !tbaa.struct !11
  %135 = call noundef zeroext i1 @_ZNK9Codepoint7isdigitEv(ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br i1 %135, label %136, label %172

136:                                              ; preds = %132
  %137 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128mLEj(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef 8)
  %138 = getelementptr inbounds %struct.Codepoint, ptr %7, i32 0, i32 0
  %139 = load i32, ptr %138, align 4, !tbaa !14
  %140 = icmp ule i32 48, %139
  br i1 %140, label %141, label %155

141:                                              ; preds = %136
  %142 = getelementptr inbounds %struct.Codepoint, ptr %7, i32 0, i32 0
  %143 = load i32, ptr %142, align 4, !tbaa !14
  %144 = icmp ule i32 %143, 55
  br i1 %144, label %145, label %155

145:                                              ; preds = %141
  %146 = getelementptr inbounds %struct.Codepoint, ptr %7, i32 0, i32 0
  %147 = load i32, ptr %146, align 4, !tbaa !14
  %148 = sub i32 %147, 48
  %149 = zext i32 %148 to i64
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %20, i64 noundef %149, i64 noundef 0)
  %150 = getelementptr inbounds { i64, i64 }, ptr %20, i32 0, i32 0
  %151 = load i64, ptr %150, align 8
  %152 = getelementptr inbounds { i64, i64 }, ptr %20, i32 0, i32 1
  %153 = load i64, ptr %152, align 8
  %154 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLES_(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 %151, i64 %153)
  br label %171

155:                                              ; preds = %141, %136
  store i1 true, ptr %23, align 1
  %156 = call ptr @__cxa_allocate_exception(i64 40) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.38, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %157 unwind label %159

157:                                              ; preds = %155
  invoke void @_ZN12CompileError7GenericC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %156, ptr noundef %21)
          to label %158 unwind label %163

158:                                              ; preds = %157
  store i1 false, ptr %23, align 1
  invoke void @__cxa_throw(ptr %156, ptr @_ZTIN12CompileError7GenericE, ptr @_ZN12CompileError7GenericD2Ev) #6
          to label %224 unwind label %163

159:                                              ; preds = %155
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %16, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %17, align 4
  br label %167

163:                                              ; preds = %158, %157
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %16, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  br label %167

167:                                              ; preds = %163, %159
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  %168 = load i1, ptr %23, align 1
  br i1 %168, label %169, label %170

169:                                              ; preds = %167
  call void @__cxa_free_exception(ptr %156) #5
  br label %170

170:                                              ; preds = %169, %167
  br label %218

171:                                              ; preds = %145
  br label %132, !llvm.loop !19

172:                                              ; preds = %132
  br label %190

173:                                              ; preds = %129
  store i32 2, ptr %6, align 4, !tbaa !9
  br label %174

174:                                              ; preds = %176, %173
  %175 = call noundef zeroext i1 @_ZNK9Codepoint7isdigitEv(ptr noundef nonnull align 4 dereferenceable(4) %7)
  br i1 %175, label %176, label %189

176:                                              ; preds = %174
  %177 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128mLEj(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef 10)
  %178 = getelementptr inbounds %struct.Codepoint, ptr %7, i32 0, i32 0
  %179 = load i32, ptr %178, align 4, !tbaa !14
  %180 = sub i32 %179, 48
  %181 = zext i32 %180 to i64
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %24, i64 noundef %181, i64 noundef 0)
  %182 = getelementptr inbounds { i64, i64 }, ptr %24, i32 0, i32 0
  %183 = load i64, ptr %182, align 8
  %184 = getelementptr inbounds { i64, i64 }, ptr %24, i32 0, i32 1
  %185 = load i64, ptr %184, align 8
  %186 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLES_(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 %183, i64 %185)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %187 = call i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256) %28)
  %188 = getelementptr inbounds %struct.Codepoint, ptr %25, i32 0, i32 0
  store i32 %187, ptr %188, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %25, i64 4, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %174, !llvm.loop !20

189:                                              ; preds = %174
  br label %190

190:                                              ; preds = %189, %172
  br label %191

191:                                              ; preds = %190, %128
  br label %192

192:                                              ; preds = %191, %89
  br label %210

193:                                              ; preds = %2
  store i32 2, ptr %6, align 4, !tbaa !9
  br label %194

194:                                              ; preds = %196, %193
  %195 = call noundef zeroext i1 @_ZNK9Codepoint7isdigitEv(ptr noundef nonnull align 4 dereferenceable(4) %7)
  br i1 %195, label %196, label %209

196:                                              ; preds = %194
  %197 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128mLEj(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef 10)
  %198 = getelementptr inbounds %struct.Codepoint, ptr %7, i32 0, i32 0
  %199 = load i32, ptr %198, align 4, !tbaa !14
  %200 = sub i32 %199, 48
  %201 = zext i32 %200 to i64
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %26, i64 noundef %201, i64 noundef 0)
  %202 = getelementptr inbounds { i64, i64 }, ptr %26, i32 0, i32 0
  %203 = load i64, ptr %202, align 8
  %204 = getelementptr inbounds { i64, i64 }, ptr %26, i32 0, i32 1
  %205 = load i64, ptr %204, align 8
  %206 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLES_(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 %203, i64 %205)
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %207 = call i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256) %28)
  %208 = getelementptr inbounds %struct.Codepoint, ptr %27, i32 0, i32 0
  store i32 %207, ptr %208, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %27, i64 4, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  br label %194, !llvm.loop !21

209:                                              ; preds = %194
  br label %210

210:                                              ; preds = %209, %192
  call void @_ZN5Lexer6ungetcEv(ptr noundef nonnull align 8 dereferenceable(256) %28)
  %211 = load ptr, ptr %5, align 8, !tbaa !5
  %212 = icmp ne ptr %211, null
  br i1 %212, label %213, label %216

213:                                              ; preds = %210
  %214 = load i32, ptr %6, align 4, !tbaa !9
  %215 = load ptr, ptr %5, align 8, !tbaa !5
  store i32 %214, ptr %215, align 4, !tbaa !9
  br label %216

216:                                              ; preds = %213, %210
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %217 = load { i64, i64 }, ptr %3, align 8
  ret { i64, i64 } %217

218:                                              ; preds = %170, %125
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %219

219:                                              ; preds = %218
  %220 = load ptr, ptr %16, align 8
  %221 = load i32, ptr %17, align 4
  %222 = insertvalue { ptr, i32 } poison, ptr %220, 0
  %223 = insertvalue { ptr, i32 } %222, i32 %221, 1
  resume { ptr, i32 } %223

224:                                              ; preds = %158, %113
  unreachable
}

declare void @_ZN12CompileError7GenericC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12CompileError7GenericD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 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 dso_local void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9Codepoint8isxdigitEv(ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #3 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

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { "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 }
attributes #6 = { noreturn }

!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 = !{!"_ZTSN5Lexer7NumModeE", !7, i64 0}
!11 = !{i64 0, i64 4, !12}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"_ZTS9Codepoint", !13, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !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.U128 = type { i64, i64 }
%struct.Codepoint = type { i32 }
%"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 }

@_ZTIN12CompileError7GenericE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.37 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [31 x i8], align 1

declare i32 @__gxx_personality_v0(...)

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN5Lexer4getcEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9CodepointeqEc(ptr noundef nonnull align 4 dereferenceable(4), i8 noundef signext) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5Lexer6ungetcEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9Codepoint7isdigitEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local { i64, i64 } @_ZN5Lexer8parseIntEPNS_7NumModeE(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef writeonly %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.U128, align 8
  %4 = alloca %struct.Codepoint, align 4
  %5 = alloca %class.U128, align 8
  %6 = alloca %class.U128, align 8
  %7 = alloca %class.U128, align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca %class.U128, align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %class.U128, align 8
  %14 = alloca %class.U128, align 8
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef 0, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  %15 = call i32 @_ZN5Lexer4getcEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  store i32 %15, ptr %4, align 4
  %16 = call noundef zeroext i1 @_ZN9CodepointeqEc(ptr noundef nonnull align 4 dereferenceable(4) %4, i8 noundef signext 48)
  br i1 %16, label %19, label %.preheader44

.preheader44:                                     ; preds = %2
  %17 = call noundef zeroext i1 @_ZNK9Codepoint7isdigitEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
  br i1 %17, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader44
  %18 = getelementptr inbounds i8, ptr %14, i64 8
  br label %96

19:                                               ; preds = %2
  %20 = call i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  store i32 %20, ptr %4, align 4, !tbaa !5
  %21 = call noundef zeroext i1 @_ZN9CodepointeqEc(ptr noundef nonnull align 4 dereferenceable(4) %4, i8 noundef signext 120)
  br i1 %21, label %.preheader, label %42

.preheader:                                       ; preds = %19
  %22 = call i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  store i32 %22, ptr %4, align 4, !tbaa !5
  %23 = call noundef zeroext i1 @_ZNK9Codepoint8isxdigitEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
  br i1 %23, label %.lr.ph49, label %.loopexit

.lr.ph49:                                         ; preds = %.preheader
  %24 = getelementptr inbounds i8, ptr %7, i64 8
  %25 = getelementptr inbounds i8, ptr %6, i64 8
  %26 = getelementptr inbounds i8, ptr %5, i64 8
  br label %27

27:                                               ; preds = %.lr.ph49, %39
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128mLEj(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef 16)
  %29 = load i32, ptr %4, align 4, !tbaa !9
  %30 = icmp ult i32 %29, 58
  br i1 %30, label %.sink.split, label %31

31:                                               ; preds = %27
  %32 = icmp ult i32 %29, 71
  br i1 %32, label %.sink.split, label %33

33:                                               ; preds = %31
  %34 = icmp ult i32 %29, 103
  br i1 %34, label %.sink.split, label %39

.sink.split:                                      ; preds = %33, %31, %27
  %.sink70 = phi i32 [ -48, %27 ], [ -55, %31 ], [ -87, %33 ]
  %.sink67 = phi ptr [ %5, %27 ], [ %6, %31 ], [ %7, %33 ]
  %.sink59 = phi ptr [ %26, %27 ], [ %25, %31 ], [ %24, %33 ]
  %35 = add nsw i32 %29, %.sink70
  %36 = zext i32 %35 to i64
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %.sink67, i64 noundef %36, i64 noundef 0)
  %.sink = load i64, ptr %.sink67, align 8
  %37 = load i64, ptr %.sink59, align 8
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLES_(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 %.sink, i64 %37)
  br label %39

39:                                               ; preds = %.sink.split, %33
  %40 = call i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  store i32 %40, ptr %4, align 4, !tbaa !5
  %41 = call noundef zeroext i1 @_ZNK9Codepoint8isxdigitEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
  br i1 %41, label %27, label %.loopexit, !llvm.loop !11

42:                                               ; preds = %19
  %43 = call noundef zeroext i1 @_ZN9CodepointeqEc(ptr noundef nonnull align 4 dereferenceable(4) %4, i8 noundef signext 98)
  br i1 %43, label %.preheader38, label %60

.preheader38:                                     ; preds = %42
  %44 = call i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  store i32 %44, ptr %4, align 4, !tbaa !5
  %45 = call noundef zeroext i1 @_ZNK9Codepoint7isdigitEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
  br i1 %45, label %.lr.ph48, label %.loopexit

.lr.ph48:                                         ; preds = %.preheader38, %56
  %46 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128mLEj(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef 2)
  %47 = load i32, ptr %4, align 4, !tbaa !9
  switch i32 %47, label %49 [
    i32 48, label %56
    i32 49, label %48
  ]

48:                                               ; preds = %.lr.ph48
  br label %56

49:                                               ; preds = %.lr.ph48
  %50 = call ptr @__cxa_allocate_exception(i64 40) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str.37, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %51 unwind label %.thread

51:                                               ; preds = %49
  invoke void @_ZN12CompileError7GenericC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %50, ptr noundef nonnull %8)
          to label %52 unwind label %54

52:                                               ; preds = %51
  invoke void @__cxa_throw(ptr nonnull %50, ptr nonnull @_ZTIN12CompileError7GenericE, ptr nonnull @_ZN12CompileError7GenericD2Ev) #5
          to label %109 unwind label %54

.thread:                                          ; preds = %49
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #4
  br label %.sink.split61

54:                                               ; preds = %51, %52
  %.020 = phi i1 [ false, %52 ], [ true, %51 ]
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #4
  br i1 %.020, label %.sink.split61, label %108

56:                                               ; preds = %.lr.ph48, %48
  %.sink60 = phi i32 [ 1, %48 ], [ 0, %.lr.ph48 ]
  %57 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLEj(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %.sink60)
  %58 = call i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  store i32 %58, ptr %4, align 4, !tbaa !5
  %59 = call noundef zeroext i1 @_ZNK9Codepoint7isdigitEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
  br i1 %59, label %.lr.ph48, label %.loopexit, !llvm.loop !13

60:                                               ; preds = %42
  %61 = call noundef zeroext i1 @_ZN9CodepointeqEc(ptr noundef nonnull align 4 dereferenceable(4) %4, i8 noundef signext 111)
  br i1 %61, label %.preheader40, label %.preheader42

.preheader42:                                     ; preds = %60
  %62 = call noundef zeroext i1 @_ZNK9Codepoint7isdigitEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
  br i1 %62, label %.lr.ph46, label %.loopexit

.lr.ph46:                                         ; preds = %.preheader42
  %63 = getelementptr inbounds i8, ptr %13, i64 8
  br label %86

.preheader40:                                     ; preds = %60
  %64 = call i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  store i32 %64, ptr %4, align 4, !tbaa !5
  %65 = call noundef zeroext i1 @_ZNK9Codepoint7isdigitEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
  br i1 %65, label %.lr.ph47, label %.loopexit

.lr.ph47:                                         ; preds = %.preheader40
  %66 = getelementptr inbounds i8, ptr %10, i64 8
  br label %67

67:                                               ; preds = %.lr.ph47, %71
  %68 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128mLEj(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef 8)
  %69 = load i32, ptr %4, align 4
  %70 = and i32 %69, -8
  %or.cond = icmp eq i32 %70, 48
  br i1 %or.cond, label %71, label %79

71:                                               ; preds = %67
  %72 = add nsw i32 %69, -48
  %73 = zext nneg i32 %72 to i64
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %10, i64 noundef %73, i64 noundef 0)
  %74 = load i64, ptr %10, align 8
  %75 = load i64, ptr %66, align 8
  %76 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLES_(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 %74, i64 %75)
  %77 = call i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  store i32 %77, ptr %4, align 4, !tbaa !5
  %78 = call noundef zeroext i1 @_ZNK9Codepoint7isdigitEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
  br i1 %78, label %67, label %.loopexit, !llvm.loop !14

79:                                               ; preds = %67
  %80 = call ptr @__cxa_allocate_exception(i64 40) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.38, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %81 unwind label %.thread34

81:                                               ; preds = %79
  invoke void @_ZN12CompileError7GenericC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %80, ptr noundef nonnull %11)
          to label %82 unwind label %84

82:                                               ; preds = %81
  invoke void @__cxa_throw(ptr nonnull %80, ptr nonnull @_ZTIN12CompileError7GenericE, ptr nonnull @_ZN12CompileError7GenericD2Ev) #5
          to label %109 unwind label %84

.thread34:                                        ; preds = %79
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #4
  br label %.sink.split61

84:                                               ; preds = %81, %82
  %.015 = phi i1 [ false, %82 ], [ true, %81 ]
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #4
  br i1 %.015, label %.sink.split61, label %108

86:                                               ; preds = %.lr.ph46, %86
  %87 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128mLEj(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef 10)
  %88 = load i32, ptr %4, align 4, !tbaa !9
  %89 = add i32 %88, -48
  %90 = zext i32 %89 to i64
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %13, i64 noundef %90, i64 noundef 0)
  %91 = load i64, ptr %13, align 8
  %92 = load i64, ptr %63, align 8
  %93 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLES_(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 %91, i64 %92)
  %94 = call i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  store i32 %94, ptr %4, align 4, !tbaa !5
  %95 = call noundef zeroext i1 @_ZNK9Codepoint7isdigitEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
  br i1 %95, label %86, label %.loopexit, !llvm.loop !15

96:                                               ; preds = %.lr.ph, %96
  %97 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128mLEj(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef 10)
  %98 = load i32, ptr %4, align 4, !tbaa !9
  %99 = add i32 %98, -48
  %100 = zext i32 %99 to i64
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %14, i64 noundef %100, i64 noundef 0)
  %101 = load i64, ptr %14, align 8
  %102 = load i64, ptr %18, align 8
  %103 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLES_(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 %101, i64 %102)
  %104 = call i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  store i32 %104, ptr %4, align 4, !tbaa !5
  %105 = call noundef zeroext i1 @_ZNK9Codepoint7isdigitEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
  br i1 %105, label %96, label %.loopexit, !llvm.loop !16

.loopexit:                                        ; preds = %96, %86, %71, %56, %39, %.preheader44, %.preheader42, %.preheader40, %.preheader38, %.preheader
  %.0 = phi i32 [ 3, %.preheader ], [ 0, %.preheader38 ], [ 1, %.preheader40 ], [ 2, %.preheader42 ], [ 2, %.preheader44 ], [ 3, %39 ], [ 0, %56 ], [ 1, %71 ], [ 2, %86 ], [ 2, %96 ]
  call void @_ZN5Lexer6ungetcEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %107, label %106

106:                                              ; preds = %.loopexit
  store i32 %.0, ptr %1, align 4, !tbaa !17
  br label %107

107:                                              ; preds = %106, %.loopexit
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  %.fca.0.load = load i64, ptr %3, align 8
  %.fca.0.insert = insertvalue { i64, i64 } poison, i64 %.fca.0.load, 0
  %.fca.1.gep = getelementptr inbounds i8, ptr %3, i64 8
  %.fca.1.load = load i64, ptr %.fca.1.gep, align 8
  %.fca.1.insert = insertvalue { i64, i64 } %.fca.0.insert, i64 %.fca.1.load, 1
  ret { i64, i64 } %.fca.1.insert

.sink.split61:                                    ; preds = %84, %.thread34, %54, %.thread
  %.sink62 = phi ptr [ %50, %.thread ], [ %50, %54 ], [ %80, %.thread34 ], [ %80, %84 ]
  %.pn28.pn.ph = phi { ptr, i32 } [ %53, %.thread ], [ %55, %54 ], [ %83, %.thread34 ], [ %85, %84 ]
  call void @__cxa_free_exception(ptr %.sink62) #4
  br label %108

108:                                              ; preds = %.sink.split61, %84, %54
  %.pn28.pn = phi { ptr, i32 } [ %55, %54 ], [ %85, %84 ], [ %.pn28.pn.ph, %.sink.split61 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  resume { ptr, i32 } %.pn28.pn

109:                                              ; preds = %82, %52
  unreachable
}

declare void @_ZN12CompileError7GenericC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN5Lexer8getc_numEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9Codepoint8isxdigitEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128mLEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLES_(ptr noundef nonnull align 8 dereferenceable(16), i64, i64) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN4U128pLEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_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 #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { "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 = { nounwind }
attributes #5 = { noreturn }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTS9Codepoint", !6, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = !{!18, !18, i64 0}
!18 = !{!"_ZTSN5Lexer7NumModeE", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass