; LLVM IR from musetronstar/tagd :: tagl/src (lemon)

; 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.symbol = type { ptr, i32, i32, ptr, ptr, i32, i32, ptr, i32, i32, ptr, i32, ptr, i32, i32, i32, ptr }
%struct.lemon = type { ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, ptr }

@.str.3 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__.emit_destructor_code = external hidden unnamed_addr constant [74 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [3 x i8], align 1

; 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
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @tplt_linedir(ptr noundef, i32 noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @emit_destructor_code(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #3 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store ptr null, ptr %9, align 8, !tbaa !5
  %11 = load ptr, ptr %6, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.symbol, ptr %11, i32 0, i32 2
  %13 = load i32, ptr %12, align 4, !tbaa !9
  %14 = icmp eq i32 %13, 0
  br i1 %14, label %15, label %28

15:                                               ; preds = %4
  %16 = load ptr, ptr %7, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.lemon, ptr %16, i32 0, i32 32
  %18 = load ptr, ptr %17, align 8, !tbaa !12
  store ptr %18, ptr %9, align 8, !tbaa !5
  %19 = load ptr, ptr %9, align 8, !tbaa !5
  %20 = icmp eq ptr %19, null
  br i1 %20, label %21, label %22

21:                                               ; preds = %15
  store i32 1, ptr %10, align 4
  br label %147

22:                                               ; preds = %15
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str.140) #5
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = load i32, ptr %25, align 4, !tbaa !14
  %27 = add nsw i32 %26, 1
  store i32 %27, ptr %25, align 4, !tbaa !14
  br label %79

28:                                               ; preds = %4
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.symbol, ptr %29, i32 0, i32 10
  %31 = load ptr, ptr %30, align 8, !tbaa !15
  %32 = icmp ne ptr %31, null
  br i1 %32, label %33, label %58

33:                                               ; preds = %28
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.symbol, ptr %34, i32 0, i32 10
  %36 = load ptr, ptr %35, align 8, !tbaa !15
  store ptr %36, ptr %9, align 8, !tbaa !5
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str.140) #5
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = load i32, ptr %39, align 4, !tbaa !14
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %39, align 4, !tbaa !14
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.lemon, ptr %42, i32 0, i32 43
  %44 = load i32, ptr %43, align 8, !tbaa !16
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %57, label %46

46:                                               ; preds = %33
  %47 = load ptr, ptr %8, align 8, !tbaa !5
  %48 = load i32, ptr %47, align 4, !tbaa !14
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %47, align 4, !tbaa !14
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.symbol, ptr %51, i32 0, i32 11
  %53 = load i32, ptr %52, align 8, !tbaa !17
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.lemon, ptr %54, i32 0, i32 34
  %56 = load ptr, ptr %55, align 8, !tbaa !18
  call void @tplt_linedir(ptr noundef %50, i32 noundef %53, ptr noundef %56)
  br label %57

57:                                               ; preds = %46, %33
  br label %78

58:                                               ; preds = %28
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.lemon, ptr %59, i32 0, i32 33
  %61 = load ptr, ptr %60, align 8, !tbaa !19
  %62 = icmp ne ptr %61, null
  br i1 %62, label %63, label %76

63:                                               ; preds = %58
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.lemon, ptr %64, i32 0, i32 33
  %66 = load ptr, ptr %65, align 8, !tbaa !19
  store ptr %66, ptr %9, align 8, !tbaa !5
  %67 = load ptr, ptr %9, align 8, !tbaa !5
  %68 = icmp eq ptr %67, null
  br i1 %68, label %69, label %70

69:                                               ; preds = %63
  store i32 1, ptr %10, align 4
  br label %147

70:                                               ; preds = %63
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.140) #5
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = load i32, ptr %73, align 4, !tbaa !14
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %73, align 4, !tbaa !14
  br label %77

76:                                               ; preds = %58
  call void @__assert_fail(ptr noundef @.str.141, ptr noundef @.str.3, i32 noundef 3620, ptr noundef @__PRETTY_FUNCTION__.emit_destructor_code) #6
  unreachable

77:                                               ; preds = %70
  br label %78

78:                                               ; preds = %77, %57
  br label %79

79:                                               ; preds = %78, %22
  br label %80

80:                                               ; preds = %118, %79
  %81 = load ptr, ptr %9, align 8, !tbaa !5
  %82 = load i8, ptr %81, align 1, !tbaa !20
  %83 = icmp ne i8 %82, 0
  br i1 %83, label %84, label %121

84:                                               ; preds = %80
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = load i8, ptr %85, align 1, !tbaa !20
  %87 = sext i8 %86 to i32
  %88 = icmp eq i32 %87, 36
  br i1 %88, label %89, label %103

89:                                               ; preds = %84
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %90, i64 1
  %92 = load i8, ptr %91, align 1, !tbaa !20
  %93 = sext i8 %92 to i32
  %94 = icmp eq i32 %93, 36
  br i1 %94, label %95, label %103

95:                                               ; preds = %89
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.symbol, ptr %97, i32 0, i32 13
  %99 = load i32, ptr %98, align 8, !tbaa !21
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef @.str.142, i32 noundef %99) #5
  %101 = load ptr, ptr %9, align 8, !tbaa !5
  %102 = getelementptr inbounds i8, ptr %101, i32 1
  store ptr %102, ptr %9, align 8, !tbaa !5
  br label %118

103:                                              ; preds = %89, %84
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = load i8, ptr %104, align 1, !tbaa !20
  %106 = sext i8 %105 to i32
  %107 = icmp eq i32 %106, 10
  br i1 %107, label %108, label %112

108:                                              ; preds = %103
  %109 = load ptr, ptr %8, align 8, !tbaa !5
  %110 = load i32, ptr %109, align 4, !tbaa !14
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %109, align 4, !tbaa !14
  br label %112

112:                                              ; preds = %108, %103
  %113 = load ptr, ptr %9, align 8, !tbaa !5
  %114 = load i8, ptr %113, align 1, !tbaa !20
  %115 = sext i8 %114 to i32
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = call i32 @fputc(i32 noundef %115, ptr noundef %116)
  br label %118

118:                                              ; preds = %112, %95
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = getelementptr inbounds i8, ptr %119, i32 1
  store ptr %120, ptr %9, align 8, !tbaa !5
  br label %80, !llvm.loop !22

121:                                              ; preds = %80
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %122, ptr noundef @.str.15) #5
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  %125 = load i32, ptr %124, align 4, !tbaa !14
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %124, align 4, !tbaa !14
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.lemon, ptr %127, i32 0, i32 43
  %129 = load i32, ptr %128, align 8, !tbaa !16
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %141, label %131

131:                                              ; preds = %121
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = load i32, ptr %132, align 4, !tbaa !14
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %132, align 4, !tbaa !14
  %135 = load ptr, ptr %5, align 8, !tbaa !5
  %136 = load ptr, ptr %8, align 8, !tbaa !5
  %137 = load i32, ptr %136, align 4, !tbaa !14
  %138 = load ptr, ptr %7, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.lemon, ptr %138, i32 0, i32 35
  %140 = load ptr, ptr %139, align 8, !tbaa !24
  call void @tplt_linedir(ptr noundef %135, i32 noundef %137, ptr noundef %140)
  br label %141

141:                                              ; preds = %131, %121
  %142 = load ptr, ptr %5, align 8, !tbaa !5
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %142, ptr noundef @.str.143) #5
  %144 = load ptr, ptr %8, align 8, !tbaa !5
  %145 = load i32, ptr %144, align 4, !tbaa !14
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %144, align 4, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %147

147:                                              ; preds = %141, %69, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  ret void
}

declare i32 @fputc(i32 noundef, ptr noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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 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/C++ TBAA"}
!9 = !{!10, !11, i64 12}
!10 = !{!"symbol", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24, !11, i64 32, !11, i64 36, !6, i64 40, !11, i64 48, !11, i64 52, !6, i64 56, !11, i64 64, !6, i64 72, !11, i64 80, !11, i64 84, !11, i64 88, !6, i64 96}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !6, i64 208}
!13 = !{!"lemon", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !6, i64 72, !11, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !11, i64 248, !11, i64 252, !11, i64 256, !11, i64 260, !11, i64 264, !11, i64 268, !11, i64 272, !6, i64 280}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !6, i64 56}
!16 = !{!13, !11, i64 272}
!17 = !{!10, !11, i64 64}
!18 = !{!13, !6, i64 224}
!19 = !{!13, !6, i64 216}
!20 = !{!7, !7, i64 0}
!21 = !{!10, !11, i64 80}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!13, !6, i64 232}


; 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.3 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__.emit_destructor_code = external hidden unnamed_addr constant [74 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #0

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @tplt_linedir(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @emit_destructor_code(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3) local_unnamed_addr #2 {
  %5 = getelementptr inbounds i8, ptr %1, i64 12
  %6 = load i32, ptr %5, align 4, !tbaa !5
  %7 = icmp eq i32 %6, 0
  br i1 %7, label %8, label %16

8:                                                ; preds = %4
  %9 = getelementptr inbounds i8, ptr %2, i64 208
  %10 = load ptr, ptr %9, align 8, !tbaa !11
  %11 = icmp eq ptr %10, null
  br i1 %11, label %72, label %12

12:                                               ; preds = %8
  %13 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.140) #3
  %14 = load i32, ptr %3, align 4, !tbaa !13
  %15 = add nsw i32 %14, 1
  store i32 %15, ptr %3, align 4, !tbaa !13
  br label %39

16:                                               ; preds = %4
  %17 = getelementptr inbounds i8, ptr %1, i64 56
  %18 = load ptr, ptr %17, align 8, !tbaa !14
  %.not = icmp eq ptr %18, null
  br i1 %.not, label %31, label %19

19:                                               ; preds = %16
  %20 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.140) #3
  %21 = load i32, ptr %3, align 4, !tbaa !13
  %22 = add nsw i32 %21, 1
  store i32 %22, ptr %3, align 4, !tbaa !13
  %23 = getelementptr inbounds i8, ptr %2, i64 272
  %24 = load i32, ptr %23, align 8, !tbaa !15
  %.not44 = icmp eq i32 %24, 0
  br i1 %.not44, label %25, label %39

25:                                               ; preds = %19
  %26 = add nsw i32 %21, 2
  store i32 %26, ptr %3, align 4, !tbaa !13
  %27 = getelementptr inbounds i8, ptr %1, i64 64
  %28 = load i32, ptr %27, align 8, !tbaa !16
  %29 = getelementptr inbounds i8, ptr %2, i64 224
  %30 = load ptr, ptr %29, align 8, !tbaa !17
  tail call void @tplt_linedir(ptr noundef %0, i32 noundef %28, ptr noundef %30)
  br label %39

31:                                               ; preds = %16
  %32 = getelementptr inbounds i8, ptr %2, i64 216
  %33 = load ptr, ptr %32, align 8, !tbaa !18
  %.not43 = icmp eq ptr %33, null
  br i1 %.not43, label %38, label %34

34:                                               ; preds = %31
  %35 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.140) #3
  %36 = load i32, ptr %3, align 4, !tbaa !13
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %3, align 4, !tbaa !13
  br label %39

38:                                               ; preds = %31
  tail call void @__assert_fail(ptr noundef nonnull @.str.141, ptr noundef nonnull @.str.3, i32 noundef 3620, ptr noundef nonnull @__PRETTY_FUNCTION__.emit_destructor_code) #4
  unreachable

39:                                               ; preds = %34, %25, %19, %12
  %.0 = phi ptr [ %10, %12 ], [ %18, %19 ], [ %18, %25 ], [ %33, %34 ]
  %40 = getelementptr inbounds i8, ptr %1, i64 80
  br label %41

41:                                               ; preds = %56, %39
  %.1 = phi ptr [ %.0, %39 ], [ %57, %56 ]
  %42 = load i8, ptr %.1, align 1, !tbaa !19
  switch i8 %42, label %.thread [
    i8 0, label %58
    i8 36, label %43
    i8 10, label %50
  ]

43:                                               ; preds = %41
  %44 = getelementptr inbounds i8, ptr %.1, i64 1
  %45 = load i8, ptr %44, align 1, !tbaa !19
  %46 = icmp eq i8 %45, 36
  br i1 %46, label %47, label %.thread

47:                                               ; preds = %43
  %48 = load i32, ptr %40, align 8, !tbaa !20
  %49 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.142, i32 noundef %48) #3
  br label %56

50:                                               ; preds = %41
  %51 = load i32, ptr %3, align 4, !tbaa !13
  %52 = add nsw i32 %51, 1
  store i32 %52, ptr %3, align 4, !tbaa !13
  %.pre = load i8, ptr %.1, align 1, !tbaa !19
  br label %.thread

.thread:                                          ; preds = %41, %43, %50
  %53 = phi i8 [ %42, %41 ], [ 36, %43 ], [ %.pre, %50 ]
  %54 = sext i8 %53 to i32
  %55 = tail call i32 @fputc(i32 noundef %54, ptr noundef %0)
  br label %56

56:                                               ; preds = %.thread, %47
  %.2 = phi ptr [ %44, %47 ], [ %.1, %.thread ]
  %57 = getelementptr inbounds i8, ptr %.2, i64 1
  br label %41, !llvm.loop !21

58:                                               ; preds = %41
  %59 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.15) #3
  %60 = load i32, ptr %3, align 4, !tbaa !13
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %3, align 4, !tbaa !13
  %62 = getelementptr inbounds i8, ptr %2, i64 272
  %63 = load i32, ptr %62, align 8, !tbaa !15
  %.not46 = icmp eq i32 %63, 0
  br i1 %.not46, label %64, label %68

64:                                               ; preds = %58
  %65 = add nsw i32 %60, 2
  store i32 %65, ptr %3, align 4, !tbaa !13
  %66 = getelementptr inbounds i8, ptr %2, i64 232
  %67 = load ptr, ptr %66, align 8, !tbaa !23
  tail call void @tplt_linedir(ptr noundef %0, i32 noundef %65, ptr noundef %67)
  br label %68

68:                                               ; preds = %64, %58
  %69 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.143) #3
  %70 = load i32, ptr %3, align 4, !tbaa !13
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %3, align 4, !tbaa !13
  br label %72

72:                                               ; preds = %8, %68
  ret void
}

; Function Attrs: nofree nounwind
declare noundef i32 @fputc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #0

attributes #0 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { nounwind }
attributes #4 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 12}
!6 = !{!"symbol", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 36, !7, i64 40, !10, i64 48, !10, i64 52, !7, i64 56, !10, i64 64, !7, i64 72, !10, i64 80, !10, i64 84, !10, i64 88, !7, i64 96}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 208}
!12 = !{!"lemon", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !7, i64 72, !10, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !7, i64 280}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !7, i64 56}
!15 = !{!12, !10, i64 272}
!16 = !{!6, !10, i64 64}
!17 = !{!12, !7, i64 224}
!18 = !{!12, !7, i64 216}
!19 = !{!8, !8, i64 0}
!20 = !{!6, !10, i64 80}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!12, !7, i64 232}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass