; LLVM IR from vczh/herodb :: Kernel/Source (Vlpp)

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

@.str = external hidden unnamed_addr constant [3 x i32], align 4
@.str.2 = external hidden unnamed_addr constant [1 x i32], align 4

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i64 @wcslen(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections5ArrayINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl6stream17monospace_tabling16WriteContentLineERNS0_10TextWriterERNS_11collections5ArrayIllEEllRNS5_INS_12ObjectStringIwEES9_EEl(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %2, i64 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %5) #2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i64, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i64 %2, ptr %9, align 8, !tbaa !9
  store i64 %3, ptr %10, align 8, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !5
  store i64 %5, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %22 = load i64, ptr %12, align 8, !tbaa !9
  %23 = load i64, ptr %10, align 8, !tbaa !9
  %24 = mul nsw i64 %22, %23
  store i64 %24, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  store i64 0, ptr %14, align 8, !tbaa !9
  br label %25

25:                                               ; preds = %130, %6
  %26 = load i64, ptr %14, align 8, !tbaa !9
  %27 = load i64, ptr %9, align 8, !tbaa !9
  %28 = icmp slt i64 %26, %27
  br i1 %28, label %30, label %29

29:                                               ; preds = %25
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  br label %133

30:                                               ; preds = %25
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  %33 = getelementptr inbounds ptr, ptr %32, i64 2
  %34 = load ptr, ptr %33, align 8
  call void %34(ptr noundef nonnull align 8 dereferenceable(8) %31, i32 noundef signext 124)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  store i64 0, ptr %16, align 8, !tbaa !9
  br label %35

35:                                               ; preds = %122, %30
  %36 = load i64, ptr %16, align 8, !tbaa !9
  %37 = load i64, ptr %10, align 8, !tbaa !9
  %38 = icmp slt i64 %36, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %35
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  br label %125

40:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %41 = load ptr, ptr %11, align 8, !tbaa !5
  %42 = load i64, ptr %13, align 8, !tbaa !9
  %43 = load i64, ptr %16, align 8, !tbaa !9
  %44 = add nsw i64 %42, %43
  %45 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections5ArrayINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %44)
  %46 = call noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %45)
  store ptr %46, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %47

47:                                               ; preds = %65, %40
  %48 = load i64, ptr %18, align 8, !tbaa !9
  %49 = load i64, ptr %14, align 8, !tbaa !9
  %50 = icmp slt i64 %48, %49
  br i1 %50, label %52, label %51

51:                                               ; preds = %47
  store i32 8, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  br label %68

52:                                               ; preds = %47
  %53 = load ptr, ptr %17, align 8, !tbaa !5
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %58

55:                                               ; preds = %52
  %56 = load ptr, ptr %17, align 8, !tbaa !5
  %57 = call ptr @wcsstr(ptr noundef %56, ptr noundef @.str) #4
  store ptr %57, ptr %17, align 8, !tbaa !5
  br label %58

58:                                               ; preds = %55, %52
  %59 = load ptr, ptr %17, align 8, !tbaa !5
  %60 = icmp ne ptr %59, null
  br i1 %60, label %61, label %64

61:                                               ; preds = %58
  %62 = load ptr, ptr %17, align 8, !tbaa !5
  %63 = getelementptr inbounds i32, ptr %62, i64 2
  store ptr %63, ptr %17, align 8, !tbaa !5
  br label %64

64:                                               ; preds = %61, %58
  br label %65

65:                                               ; preds = %64
  %66 = load i64, ptr %18, align 8, !tbaa !9
  %67 = add nsw i64 %66, 1
  store i64 %67, ptr %18, align 8, !tbaa !9
  br label %47, !llvm.loop !13

68:                                               ; preds = %51
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = load ptr, ptr %69, align 8, !tbaa !11
  %71 = getelementptr inbounds ptr, ptr %70, i64 2
  %72 = load ptr, ptr %71, align 8
  call void %72(ptr noundef nonnull align 8 dereferenceable(8) %69, i32 noundef signext 32)
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  store i64 0, ptr %19, align 8, !tbaa !9
  %73 = load ptr, ptr %17, align 8, !tbaa !5
  %74 = icmp ne ptr %73, null
  br i1 %74, label %75, label %98

75:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  %76 = load ptr, ptr %17, align 8, !tbaa !5
  %77 = call ptr @wcsstr(ptr noundef %76, ptr noundef @.str) #4
  store ptr %77, ptr %20, align 8, !tbaa !5
  %78 = load ptr, ptr %20, align 8, !tbaa !5
  %79 = icmp ne ptr %78, null
  br i1 %79, label %80, label %87

80:                                               ; preds = %75
  %81 = load ptr, ptr %20, align 8, !tbaa !5
  %82 = load ptr, ptr %17, align 8, !tbaa !5
  %83 = ptrtoint ptr %81 to i64
  %84 = ptrtoint ptr %82 to i64
  %85 = sub i64 %83, %84
  %86 = sdiv exact i64 %85, 4
  br label %90

87:                                               ; preds = %75
  %88 = load ptr, ptr %17, align 8, !tbaa !5
  %89 = call i64 @wcslen(ptr noundef %88) #4
  br label %90

90:                                               ; preds = %87, %80
  %91 = phi i64 [ %86, %80 ], [ %89, %87 ]
  store i64 %91, ptr %19, align 8, !tbaa !9
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = load ptr, ptr %17, align 8, !tbaa !5
  %94 = load i64, ptr %19, align 8, !tbaa !9
  %95 = load ptr, ptr %92, align 8, !tbaa !11
  %96 = getelementptr inbounds ptr, ptr %95, i64 3
  %97 = load ptr, ptr %96, align 8
  call void %97(ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef %93, i64 noundef %94)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  br label %98

98:                                               ; preds = %90, %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %99 = load ptr, ptr %8, align 8, !tbaa !5
  %100 = load i64, ptr %16, align 8, !tbaa !9
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections5ArrayIllEixEl(ptr noundef nonnull align 8 dereferenceable(24) %99, i64 noundef %100)
  %102 = load i64, ptr %101, align 8, !tbaa !9
  %103 = sub nsw i64 %102, 2
  store i64 %103, ptr %21, align 8, !tbaa !9
  br label %104

104:                                              ; preds = %114, %98
  %105 = load i64, ptr %21, align 8, !tbaa !9
  %106 = load i64, ptr %19, align 8, !tbaa !9
  %107 = icmp sge i64 %105, %106
  br i1 %107, label %109, label %108

108:                                              ; preds = %104
  store i32 11, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  br label %117

109:                                              ; preds = %104
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = load ptr, ptr %110, align 8, !tbaa !11
  %112 = getelementptr inbounds ptr, ptr %111, i64 2
  %113 = load ptr, ptr %112, align 8
  call void %113(ptr noundef nonnull align 8 dereferenceable(8) %110, i32 noundef signext 32)
  br label %114

114:                                              ; preds = %109
  %115 = load i64, ptr %21, align 8, !tbaa !9
  %116 = add nsw i64 %115, -1
  store i64 %116, ptr %21, align 8, !tbaa !9
  br label %104, !llvm.loop !15

117:                                              ; preds = %108
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = load ptr, ptr %118, align 8, !tbaa !11
  %120 = getelementptr inbounds ptr, ptr %119, i64 2
  %121 = load ptr, ptr %120, align 8
  call void %121(ptr noundef nonnull align 8 dereferenceable(8) %118, i32 noundef signext 124)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  br label %122

122:                                              ; preds = %117
  %123 = load i64, ptr %16, align 8, !tbaa !9
  %124 = add nsw i64 %123, 1
  store i64 %124, ptr %16, align 8, !tbaa !9
  br label %35, !llvm.loop !16

125:                                              ; preds = %39
  %126 = load ptr, ptr %7, align 8, !tbaa !5
  %127 = load ptr, ptr %126, align 8, !tbaa !11
  %128 = getelementptr inbounds ptr, ptr %127, i64 7
  %129 = load ptr, ptr %128, align 8
  call void %129(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef @.str.2)
  br label %130

130:                                              ; preds = %125
  %131 = load i64, ptr %14, align 8, !tbaa !9
  %132 = add nsw i64 %131, 1
  store i64 %132, ptr %14, align 8, !tbaa !9
  br label %25, !llvm.loop !17

133:                                              ; preds = %29
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  ret void
}

; Function Attrs: nounwind willreturn memory(read)
declare ptr @wcsstr(ptr noundef, ptr noundef) #1

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

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}


; 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 [3 x i32], align 4
@.str.2 = external hidden unnamed_addr constant [1 x i32], align 4

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @wcslen(ptr nocapture noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections5ArrayINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl6stream17monospace_tabling16WriteContentLineERNS0_10TextWriterERNS_11collections5ArrayIllEEllRNS5_INS_12ObjectStringIwEES9_EEl(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %2, i64 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %5) local_unnamed_addr #1 {
  %7 = mul nsw i64 %5, %3
  %8 = icmp sgt i64 %2, 0
  br i1 %8, label %.lr.ph59, label %._crit_edge60

.lr.ph59:                                         ; preds = %6
  %9 = icmp sgt i64 %3, 0
  br i1 %9, label %.lr.ph55.us, label %.lr.ph59.split

.lr.ph55.us:                                      ; preds = %.lr.ph59, %._crit_edge56.us
  %.03657.us = phi i64 [ %54, %._crit_edge56.us ], [ 0, %.lr.ph59 ]
  %10 = load ptr, ptr %0, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 16
  %12 = load ptr, ptr %11, align 8
  tail call void %12(ptr noundef nonnull align 8 dereferenceable(8) %0, i32 noundef signext 124)
  %.not = icmp eq i64 %.03657.us, 0
  br label %13

13:                                               ; preds = %.lr.ph55.us, %._crit_edge52.us
  %.04053.us = phi i64 [ 0, %.lr.ph55.us ], [ %45, %._crit_edge52.us ]
  %14 = add nsw i64 %.04053.us, %7
  %15 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections5ArrayINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %14)
  %16 = tail call noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %15)
  br i1 %.not, label %._crit_edge.us, label %.lr.ph.us

._crit_edge.us:                                   ; preds = %48, %13
  %.039.lcssa.us = phi ptr [ %16, %13 ], [ %spec.select.us, %48 ]
  %17 = load ptr, ptr %0, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %17, i64 16
  %19 = load ptr, ptr %18, align 8
  tail call void %19(ptr noundef nonnull align 8 dereferenceable(8) %0, i32 noundef signext 32)
  %.not.us = icmp eq ptr %.039.lcssa.us, null
  br i1 %.not.us, label %34, label %20

20:                                               ; preds = %._crit_edge.us
  %21 = tail call ptr @wcsstr(ptr noundef nonnull %.039.lcssa.us, ptr noundef nonnull @.str) #3
  %.not42.us = icmp eq ptr %21, null
  br i1 %.not42.us, label %27, label %22

22:                                               ; preds = %20
  %23 = ptrtoint ptr %21 to i64
  %24 = ptrtoint ptr %.039.lcssa.us to i64
  %25 = sub i64 %23, %24
  %26 = ashr exact i64 %25, 2
  br label %29

27:                                               ; preds = %20
  %28 = tail call i64 @wcslen(ptr noundef nonnull %.039.lcssa.us) #3
  br label %29

29:                                               ; preds = %27, %22
  %30 = phi i64 [ %26, %22 ], [ %28, %27 ]
  %31 = load ptr, ptr %0, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %31, i64 24
  %33 = load ptr, ptr %32, align 8
  tail call void %33(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %.039.lcssa.us, i64 noundef %30)
  br label %34

34:                                               ; preds = %29, %._crit_edge.us
  %.037.us = phi i64 [ %30, %29 ], [ 0, %._crit_edge.us ]
  %35 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections5ArrayIllEixEl(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.04053.us)
  %36 = load i64, ptr %35, align 8, !tbaa !8
  %37 = add nsw i64 %36, -2
  %.not4348.us = icmp slt i64 %37, %.037.us
  br i1 %.not4348.us, label %._crit_edge52.us, label %.lr.ph51.us

.lr.ph51.us:                                      ; preds = %34, %.lr.ph51.us
  %.049.us = phi i64 [ %41, %.lr.ph51.us ], [ %37, %34 ]
  %38 = load ptr, ptr %0, align 8, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %38, i64 16
  %40 = load ptr, ptr %39, align 8
  tail call void %40(ptr noundef nonnull align 8 dereferenceable(8) %0, i32 noundef signext 32)
  %41 = add nsw i64 %.049.us, -1
  %.not43.us.not = icmp sgt i64 %.049.us, %.037.us
  br i1 %.not43.us.not, label %.lr.ph51.us, label %._crit_edge52.us, !llvm.loop !11

._crit_edge52.us:                                 ; preds = %.lr.ph51.us, %34
  %42 = load ptr, ptr %0, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  %44 = load ptr, ptr %43, align 8
  tail call void %44(ptr noundef nonnull align 8 dereferenceable(8) %0, i32 noundef signext 124)
  %45 = add nuw nsw i64 %.04053.us, 1
  %exitcond63.not = icmp eq i64 %45, %3
  br i1 %exitcond63.not, label %._crit_edge56.us, label %13, !llvm.loop !13

.lr.ph.us:                                        ; preds = %13, %48
  %.03847.us = phi i64 [ %50, %48 ], [ 0, %13 ]
  %.03946.us = phi ptr [ %spec.select.us, %48 ], [ %16, %13 ]
  %.not44.us = icmp eq ptr %.03946.us, null
  br i1 %.not44.us, label %48, label %46

46:                                               ; preds = %.lr.ph.us
  %47 = tail call ptr @wcsstr(ptr noundef nonnull %.03946.us, ptr noundef nonnull @.str) #3
  br label %48

48:                                               ; preds = %46, %.lr.ph.us
  %.1.us = phi ptr [ %47, %46 ], [ null, %.lr.ph.us ]
  %.not45.us = icmp eq ptr %.1.us, null
  %49 = getelementptr inbounds i8, ptr %.1.us, i64 8
  %spec.select.us = select i1 %.not45.us, ptr null, ptr %49
  %50 = add nuw nsw i64 %.03847.us, 1
  %exitcond62.not = icmp eq i64 %50, %.03657.us
  br i1 %exitcond62.not, label %._crit_edge.us, label %.lr.ph.us, !llvm.loop !14

._crit_edge56.us:                                 ; preds = %._crit_edge52.us
  %51 = load ptr, ptr %0, align 8, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %51, i64 56
  %53 = load ptr, ptr %52, align 8
  tail call void %53(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.2)
  %54 = add nuw nsw i64 %.03657.us, 1
  %exitcond64.not = icmp eq i64 %54, %2
  br i1 %exitcond64.not, label %._crit_edge60, label %.lr.ph55.us, !llvm.loop !15

._crit_edge60:                                    ; preds = %.lr.ph59.split, %._crit_edge56.us, %6
  ret void

.lr.ph59.split:                                   ; preds = %.lr.ph59, %.lr.ph59.split
  %.03657 = phi i64 [ %61, %.lr.ph59.split ], [ 0, %.lr.ph59 ]
  %55 = load ptr, ptr %0, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %55, i64 16
  %57 = load ptr, ptr %56, align 8
  tail call void %57(ptr noundef nonnull align 8 dereferenceable(8) %0, i32 noundef signext 124)
  %58 = load ptr, ptr %0, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %58, i64 56
  %60 = load ptr, ptr %59, align 8
  tail call void %60(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.2)
  %61 = add nuw nsw i64 %.03657, 1
  %exitcond.not = icmp eq i64 %61, %2
  br i1 %exitcond.not, label %._crit_edge60, label %.lr.ph59.split, !llvm.loop !15
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare ptr @wcsstr(ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nofree nounwind willreturn memory(argmem: 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 #1 = { 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 #2 = { 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 #3 = { nounwind willreturn memory(read) }

!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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}


; Effective O3 passes: GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass