; LLVM IR from BitFunnel/NativeJIT :: test/CodeGen/ML64Verifier.ll (ZN9NativeJIT12ML64Verifier11ProcessLineEv)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::_Setw" = type { i32 }
%"class.NativeJIT::ML64Verifier" = type { ptr, i32, ptr, i32, ptr, %"class.std::__cxx11::basic_stringstream" }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::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 }

@.str = external hidden unnamed_addr constant [83 x i8], align 1
@__FUNCTION__._ZN9NativeJIT12ML64Verifier11ProcessLineEv = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9NativeJIT12ML64Verifier11ProcessLineEv(ptr noundef nonnull align 8 dereferenceable(432) %0) #0 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca %"struct.std::_Setw", align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %8 = load ptr, ptr %2, align 8
  %9 = call noundef zeroext i1 @_ZN9NativeJIT12ML64Verifier18AdvanceToDataFieldEv(ptr noundef nonnull align 8 dereferenceable(432) %8)
  br i1 %9, label %10, label %108

10:                                               ; preds = %1
  br label %11

11:                                               ; preds = %106, %10
  %12 = call noundef zeroext i1 @_ZNK9NativeJIT12ML64Verifier5AtEOLEv(ptr noundef nonnull align 8 dereferenceable(432) %8)
  %13 = xor i1 %12, true
  br i1 %13, label %14, label %107

14:                                               ; preds = %11
  %15 = call noundef signext i8 @_ZN9NativeJIT12ML64Verifier8PeekCharEv(ptr noundef nonnull align 8 dereferenceable(432) %8)
  %16 = sext i8 %15 to i32
  %17 = call i32 @isxdigit(i32 noundef %16) #7
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %19, label %105

19:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  br label %20

20:                                               ; preds = %19
  %21 = call noundef zeroext i1 @_ZN9NativeJIT12ML64Verifier13ReadHexNumberERmRj(ptr noundef nonnull align 8 dereferenceable(432) %8, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  br i1 %21, label %23, label %22

22:                                               ; preds = %20
  call void (ptr, ptr, i32, ptr, ptr, ...) @_ZN9NativeJIT12LogThrowImplEPKcS1_jS1_S1_z(ptr noundef @.str, ptr noundef @__FUNCTION__._ZN9NativeJIT12ML64Verifier11ProcessLineEv, i32 noundef 64, ptr noundef @.str.1, ptr noundef @.str.2)
  br label %23

23:                                               ; preds = %22, %20
  br label %24

24:                                               ; preds = %23
  br label %25

25:                                               ; preds = %24
  br label %26

26:                                               ; preds = %25
  %27 = load i32, ptr %4, align 4, !tbaa !9
  %28 = icmp ule i32 %27, 8
  br i1 %28, label %29, label %32

29:                                               ; preds = %26
  %30 = load i32, ptr %4, align 4, !tbaa !9
  %31 = icmp ugt i32 %30, 0
  br i1 %31, label %34, label %32

32:                                               ; preds = %29, %26
  %33 = load i32, ptr %4, align 4, !tbaa !9
  call void (ptr, ptr, i32, ptr, ptr, ...) @_ZN9NativeJIT12LogThrowImplEPKcS1_jS1_S1_z(ptr noundef @.str, ptr noundef @__FUNCTION__._ZN9NativeJIT12ML64Verifier11ProcessLineEv, i32 noundef 65, ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef %33)
  br label %34

34:                                               ; preds = %32, %29
  br label %35

35:                                               ; preds = %34
  br label %36

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %37

37:                                               ; preds = %101, %36
  %38 = load i32, ptr %5, align 4, !tbaa !9
  %39 = load i32, ptr %4, align 4, !tbaa !9
  %40 = icmp ult i32 %38, %39
  br i1 %40, label %42, label %41

41:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  br label %104

42:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #8
  %43 = load i64, ptr %3, align 8, !tbaa !11
  %44 = and i64 %43, 255
  %45 = trunc i64 %44 to i8
  store i8 %45, ptr %6, align 1, !tbaa !13
  %46 = getelementptr inbounds %"class.NativeJIT::ML64Verifier", ptr %8, i32 0, i32 5
  %47 = getelementptr inbounds i8, ptr %46, i64 16
  %48 = call i32 @_ZSt4setwi(i32 noundef 2)
  %49 = getelementptr inbounds %"struct.std::_Setw", ptr %7, i32 0, i32 0
  store i32 %48, ptr %49, align 4
  %50 = getelementptr inbounds %"struct.std::_Setw", ptr %7, i32 0, i32 0
  %51 = load i32, ptr %50, align 4
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %47, i32 %51)
  %53 = load i8, ptr %6, align 1, !tbaa !13
  %54 = zext i8 %53 to i32
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %52, i32 noundef %54)
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef @.str.5)
  %57 = load i64, ptr %3, align 8, !tbaa !11
  %58 = lshr i64 %57, 8
  store i64 %58, ptr %3, align 8, !tbaa !11
  %59 = load i8, ptr %6, align 1, !tbaa !13
  %60 = zext i8 %59 to i32
  %61 = getelementptr inbounds %"class.NativeJIT::ML64Verifier", ptr %8, i32 0, i32 4
  %62 = load ptr, ptr %61, align 8, !tbaa !14
  %63 = getelementptr inbounds %"class.NativeJIT::ML64Verifier", ptr %8, i32 0, i32 3
  %64 = load i32, ptr %63, align 8, !tbaa !26
  %65 = zext i32 %64 to i64
  %66 = getelementptr inbounds i8, ptr %62, i64 %65
  %67 = load i8, ptr %66, align 1, !tbaa !13
  %68 = zext i8 %67 to i32
  %69 = icmp ne i32 %60, %68
  br i1 %69, label %70, label %81

70:                                               ; preds = %42
  %71 = load i8, ptr %6, align 1, !tbaa !13
  %72 = zext i8 %71 to i32
  %73 = getelementptr inbounds %"class.NativeJIT::ML64Verifier", ptr %8, i32 0, i32 4
  %74 = load ptr, ptr %73, align 8, !tbaa !14
  %75 = getelementptr inbounds %"class.NativeJIT::ML64Verifier", ptr %8, i32 0, i32 3
  %76 = load i32, ptr %75, align 8, !tbaa !26
  %77 = zext i32 %76 to i64
  %78 = getelementptr inbounds i8, ptr %74, i64 %77
  %79 = load i8, ptr %78, align 1, !tbaa !13
  %80 = zext i8 %79 to i32
  call void @_ZN9NativeJIT12ML64Verifier11ReportErrorEjj(ptr noundef nonnull align 8 dereferenceable(432) %8, i32 noundef %72, i32 noundef %80)
  br label %81

81:                                               ; preds = %70, %42
  br label %82

82:                                               ; preds = %81
  %83 = load i8, ptr %6, align 1, !tbaa !13
  %84 = zext i8 %83 to i32
  %85 = getelementptr inbounds %"class.NativeJIT::ML64Verifier", ptr %8, i32 0, i32 4
  %86 = load ptr, ptr %85, align 8, !tbaa !14
  %87 = getelementptr inbounds %"class.NativeJIT::ML64Verifier", ptr %8, i32 0, i32 3
  %88 = load i32, ptr %87, align 8, !tbaa !26
  %89 = zext i32 %88 to i64
  %90 = getelementptr inbounds i8, ptr %86, i64 %89
  %91 = load i8, ptr %90, align 1, !tbaa !13
  %92 = zext i8 %91 to i32
  %93 = icmp eq i32 %84, %92
  br i1 %93, label %95, label %94

94:                                               ; preds = %82
  call void (ptr, ptr, i32, ptr, ptr, ...) @_ZN9NativeJIT12LogThrowImplEPKcS1_jS1_S1_z(ptr noundef @.str, ptr noundef @__FUNCTION__._ZN9NativeJIT12ML64Verifier11ProcessLineEv, i32 noundef 78, ptr noundef @.str.6, ptr noundef @.str.7)
  br label %95

95:                                               ; preds = %94, %82
  br label %96

96:                                               ; preds = %95
  br label %97

97:                                               ; preds = %96
  %98 = getelementptr inbounds %"class.NativeJIT::ML64Verifier", ptr %8, i32 0, i32 3
  %99 = load i32, ptr %98, align 8, !tbaa !26
  %100 = add i32 %99, 1
  store i32 %100, ptr %98, align 8, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #8
  br label %101

101:                                              ; preds = %97
  %102 = load i32, ptr %5, align 4, !tbaa !9
  %103 = add i32 %102, 1
  store i32 %103, ptr %5, align 4, !tbaa !9
  br label %37, !llvm.loop !27

104:                                              ; preds = %41
  call void @_ZN9NativeJIT12ML64Verifier14SkipDelimitersEv(ptr noundef nonnull align 8 dereferenceable(432) %8)
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  br label %106

105:                                              ; preds = %14
  br label %107

106:                                              ; preds = %104
  br label %11, !llvm.loop !29

107:                                              ; preds = %105, %11
  br label %108

108:                                              ; preds = %107, %1
  call void @_ZN9NativeJIT12ML64Verifier17AdvanceToNextLineEv(ptr noundef nonnull align 8 dereferenceable(432) %8)
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NativeJIT12ML64Verifier18AdvanceToDataFieldEv(ptr noundef nonnull align 8 dereferenceable(432)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK9NativeJIT12ML64Verifier5AtEOLEv(ptr noundef nonnull align 8 dereferenceable(432)) #0 align 2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @isxdigit(i32 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef signext i8 @_ZN9NativeJIT12ML64Verifier8PeekCharEv(ptr noundef nonnull align 8 dereferenceable(432)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NativeJIT12ML64Verifier13ReadHexNumberERmRj(ptr noundef nonnull align 8 dereferenceable(432), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

declare void @_ZN9NativeJIT12LogThrowImplEPKcS1_jS1_S1_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #4

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt4setwi(i32 noundef) #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9NativeJIT12ML64Verifier17AdvanceToNextLineEv(ptr noundef nonnull align 8 dereferenceable(432)) #0 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 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nounwind willreturn memory(read) }
attributes #8 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !6, i64 32}
!15 = !{!"_ZTSN9NativeJIT12ML64VerifierE", !6, i64 0, !10, i64 8, !6, i64 16, !10, i64 24, !6, i64 32, !16, i64 40}
!16 = !{!"_ZTSNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE", !17, i64 0, !20, i64 24}
!17 = !{!"_ZTSSd", !18, i64 0, !19, i64 16}
!18 = !{!"_ZTSSi", !12, i64 8}
!19 = !{!"_ZTSSo"}
!20 = !{!"_ZTSNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE", !21, i64 0, !23, i64 64, !24, i64 72}
!21 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !22, i64 56}
!22 = !{!"_ZTSSt6locale", !6, i64 0}
!23 = !{!"_ZTSSt13_Ios_Openmode", !7, i64 0}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !12, i64 8, !7, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!26 = !{!15, !10, i64 24}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !28}


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

@.str = external hidden unnamed_addr constant [83 x i8], align 1
@__FUNCTION__._ZN9NativeJIT12ML64Verifier11ProcessLineEv = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9NativeJIT12ML64Verifier11ProcessLineEv(ptr noundef nonnull align 8 dereferenceable(432) %0) local_unnamed_addr #0 align 2 {
  %2 = alloca i64, align 8
  %3 = alloca i32, align 4
  %4 = tail call noundef zeroext i1 @_ZN9NativeJIT12ML64Verifier18AdvanceToDataFieldEv(ptr noundef nonnull align 8 dereferenceable(432) %0)
  br i1 %4, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %1
  %5 = tail call noundef zeroext i1 @_ZNK9NativeJIT12ML64Verifier5AtEOLEv(ptr noundef nonnull align 8 dereferenceable(432) %0)
  br i1 %5, label %.loopexit, label %.lr.ph11

.lr.ph11:                                         ; preds = %.preheader
  %6 = getelementptr inbounds i8, ptr %0, i64 56
  %7 = getelementptr inbounds i8, ptr %0, i64 32
  %8 = getelementptr inbounds i8, ptr %0, i64 24
  br label %9

9:                                                ; preds = %.lr.ph11, %._crit_edge
  %10 = call noundef signext i8 @_ZN9NativeJIT12ML64Verifier8PeekCharEv(ptr noundef nonnull align 8 dereferenceable(432) %0)
  %11 = sext i8 %10 to i32
  %12 = call i32 @isxdigit(i32 noundef %11) #7
  %.not = icmp eq i32 %12, 0
  br i1 %.not, label %.loopexit, label %13

13:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  %14 = call noundef zeroext i1 @_ZN9NativeJIT12ML64Verifier13ReadHexNumberERmRj(ptr noundef nonnull align 8 dereferenceable(432) %0, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(4) %3)
  br i1 %14, label %16, label %15

15:                                               ; preds = %13
  call void (ptr, ptr, i32, ptr, ptr, ...) @_ZN9NativeJIT12LogThrowImplEPKcS1_jS1_S1_z(ptr noundef nonnull @.str, ptr noundef nonnull @__FUNCTION__._ZN9NativeJIT12ML64Verifier11ProcessLineEv, i32 noundef 64, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2)
  br label %16

16:                                               ; preds = %13, %15
  %17 = load i32, ptr %3, align 4
  %18 = add i32 %17, -1
  %or.cond = icmp ult i32 %18, 8
  br i1 %or.cond, label %.lr.ph.preheader, label %19

19:                                               ; preds = %16
  call void (ptr, ptr, i32, ptr, ptr, ...) @_ZN9NativeJIT12LogThrowImplEPKcS1_jS1_S1_z(ptr noundef nonnull @.str, ptr noundef nonnull @__FUNCTION__._ZN9NativeJIT12ML64Verifier11ProcessLineEv, i32 noundef 65, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, i32 noundef %17)
  %.pre = load i32, ptr %3, align 4, !tbaa !5
  %.not13 = icmp eq i32 %.pre, 0
  br i1 %.not13, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %16, %19
  br label %.lr.ph

._crit_edge:                                      ; preds = %43, %19
  call void @_ZN9NativeJIT12ML64Verifier14SkipDelimitersEv(ptr noundef nonnull align 8 dereferenceable(432) %0)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  %20 = call noundef zeroext i1 @_ZNK9NativeJIT12ML64Verifier5AtEOLEv(ptr noundef nonnull align 8 dereferenceable(432) %0)
  br i1 %20, label %.loopexit, label %9, !llvm.loop !9

.lr.ph:                                           ; preds = %.lr.ph.preheader, %43
  %.010 = phi i32 [ %46, %43 ], [ 0, %.lr.ph.preheader ]
  %21 = load i64, ptr %2, align 8, !tbaa !11
  %22 = trunc i64 %21 to i32
  %23 = call i32 @_ZSt4setwi(i32 noundef 2)
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 %23)
  %25 = and i32 %22, 255
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %24, i32 noundef %25)
  %27 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull @.str.5)
  %28 = load i64, ptr %2, align 8, !tbaa !11
  %29 = lshr i64 %28, 8
  store i64 %29, ptr %2, align 8, !tbaa !11
  %30 = load ptr, ptr %7, align 8, !tbaa !13
  %31 = load i32, ptr %8, align 8, !tbaa !26
  %32 = zext i32 %31 to i64
  %33 = getelementptr inbounds i8, ptr %30, i64 %32
  %34 = load i8, ptr %33, align 1, !tbaa !27
  %35 = zext i8 %34 to i32
  %.not9 = icmp eq i32 %25, %35
  br i1 %.not9, label %37, label %36

36:                                               ; preds = %.lr.ph
  call void @_ZN9NativeJIT12ML64Verifier11ReportErrorEjj(ptr noundef nonnull align 8 dereferenceable(432) %0, i32 noundef %25, i32 noundef %35)
  %.pre14 = load ptr, ptr %7, align 8, !tbaa !13
  %.pre15 = load i32, ptr %8, align 8, !tbaa !26
  %.phi.trans.insert = zext i32 %.pre15 to i64
  %.phi.trans.insert16 = getelementptr inbounds i8, ptr %.pre14, i64 %.phi.trans.insert
  %.pre17 = load i8, ptr %.phi.trans.insert16, align 1, !tbaa !27
  br label %37

37:                                               ; preds = %.lr.ph, %36
  %38 = phi i8 [ %34, %.lr.ph ], [ %.pre17, %36 ]
  %39 = phi i32 [ %31, %.lr.ph ], [ %.pre15, %36 ]
  %40 = trunc i64 %21 to i8
  %41 = icmp eq i8 %38, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %37
  call void (ptr, ptr, i32, ptr, ptr, ...) @_ZN9NativeJIT12LogThrowImplEPKcS1_jS1_S1_z(ptr noundef nonnull @.str, ptr noundef nonnull @__FUNCTION__._ZN9NativeJIT12ML64Verifier11ProcessLineEv, i32 noundef 78, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7)
  %.pre18 = load i32, ptr %8, align 8, !tbaa !26
  br label %43

43:                                               ; preds = %42, %37
  %44 = phi i32 [ %.pre18, %42 ], [ %39, %37 ]
  %45 = add i32 %44, 1
  store i32 %45, ptr %8, align 8, !tbaa !26
  %46 = add nuw i32 %.010, 1
  %47 = load i32, ptr %3, align 4, !tbaa !5
  %48 = icmp ult i32 %46, %47
  br i1 %48, label %.lr.ph, label %._crit_edge, !llvm.loop !28

.loopexit:                                        ; preds = %9, %._crit_edge, %.preheader, %1
  call void @_ZN9NativeJIT12ML64Verifier17AdvanceToNextLineEv(ptr noundef nonnull align 8 dereferenceable(432) %0)
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NativeJIT12ML64Verifier18AdvanceToDataFieldEv(ptr noundef nonnull align 8 dereferenceable(432)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK9NativeJIT12ML64Verifier5AtEOLEv(ptr noundef nonnull align 8 dereferenceable(432)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef signext i8 @_ZN9NativeJIT12ML64Verifier8PeekCharEv(ptr noundef nonnull align 8 dereferenceable(432)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NativeJIT12ML64Verifier13ReadHexNumberERmRj(ptr noundef nonnull align 8 dereferenceable(432), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

declare void @_ZN9NativeJIT12LogThrowImplEPKcS1_jS1_S1_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #4

; 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 #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt4setwi(i32 noundef) local_unnamed_addr #6

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9NativeJIT12ML64Verifier11ReportErrorEjj(ptr noundef nonnull align 8 dereferenceable(432), i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9NativeJIT12ML64Verifier17AdvanceToNextLineEv(ptr noundef nonnull align 8 dereferenceable(432)) local_unnamed_addr #0 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 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 #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nounwind willreturn memory(read) }
attributes #8 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !15, i64 32}
!14 = !{!"_ZTSN9NativeJIT12ML64VerifierE", !15, i64 0, !6, i64 8, !15, i64 16, !6, i64 24, !15, i64 32, !16, i64 40}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"_ZTSNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE", !17, i64 0, !20, i64 24}
!17 = !{!"_ZTSSd", !18, i64 0, !19, i64 16}
!18 = !{!"_ZTSSi", !12, i64 8}
!19 = !{!"_ZTSSo"}
!20 = !{!"_ZTSNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE", !21, i64 0, !23, i64 64, !24, i64 72}
!21 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !22, i64 56}
!22 = !{!"_ZTSSt6locale", !15, i64 0}
!23 = !{!"_ZTSSt13_Ios_Openmode", !7, i64 0}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !12, i64 8, !7, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !15, i64 0}
!26 = !{!14, !6, i64 24}
!27 = !{!7, !7, i64 0}
!28 = distinct !{!28, !10}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass