; LLVM IR from introlab/odas :: src/sink (snk_tracks)

; 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.snk_tracks_obj = type { i64, i32, i32, ptr, ptr, ptr, i32, ptr, %struct.sockaddr_in, i32, ptr }
%struct.sockaddr_in = type { i16, i16, %struct.in_addr, [8 x i8] }
%struct.in_addr = type { i32 }
%struct.msg_tracks_obj = type { i64, i32, ptr }
%struct.tracks_obj = type { i32, ptr, ptr, ptr, ptr }

@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [5 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 uwtable
define dso_local void @snk_tracks_process_format_text_json(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  %4 = load ptr, ptr %2, align 8, !tbaa !5
  %5 = getelementptr inbounds %struct.snk_tracks_obj, ptr %4, i32 0, i32 5
  %6 = load ptr, ptr %5, align 8, !tbaa !9
  %7 = getelementptr inbounds i8, ptr %6, i64 0
  store i8 0, ptr %7, align 1, !tbaa !16
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.snk_tracks_obj, ptr %8, i32 0, i32 5
  %10 = load ptr, ptr %9, align 8, !tbaa !9
  %11 = load ptr, ptr %2, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.snk_tracks_obj, ptr %11, i32 0, i32 5
  %13 = load ptr, ptr %12, align 8, !tbaa !9
  %14 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %10, ptr noundef @.str.8, ptr noundef %13) #4
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.snk_tracks_obj, ptr %15, i32 0, i32 5
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.snk_tracks_obj, ptr %18, i32 0, i32 5
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.snk_tracks_obj, ptr %21, i32 0, i32 10
  %23 = load ptr, ptr %22, align 8, !tbaa !17
  %24 = getelementptr inbounds %struct.msg_tracks_obj, ptr %23, i32 0, i32 0
  %25 = load i64, ptr %24, align 8, !tbaa !18
  %26 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str.9, ptr noundef %20, i64 noundef %25) #4
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.snk_tracks_obj, ptr %27, i32 0, i32 5
  %29 = load ptr, ptr %28, align 8, !tbaa !9
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.snk_tracks_obj, ptr %30, i32 0, i32 5
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  %33 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %29, ptr noundef @.str.10, ptr noundef %32) #4
  store i32 0, ptr %3, align 4, !tbaa !20
  br label %34

34:                                               ; preds = %146, %1
  %35 = load i32, ptr %3, align 4, !tbaa !20
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.snk_tracks_obj, ptr %36, i32 0, i32 1
  %38 = load i32, ptr %37, align 8, !tbaa !21
  %39 = icmp ult i32 %35, %38
  br i1 %39, label %40, label %149

40:                                               ; preds = %34
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.snk_tracks_obj, ptr %41, i32 0, i32 5
  %43 = load ptr, ptr %42, align 8, !tbaa !9
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.snk_tracks_obj, ptr %44, i32 0, i32 5
  %46 = load ptr, ptr %45, align 8, !tbaa !9
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.snk_tracks_obj, ptr %47, i32 0, i32 10
  %49 = load ptr, ptr %48, align 8, !tbaa !17
  %50 = getelementptr inbounds %struct.msg_tracks_obj, ptr %49, i32 0, i32 2
  %51 = load ptr, ptr %50, align 8, !tbaa !22
  %52 = getelementptr inbounds %struct.tracks_obj, ptr %51, i32 0, i32 1
  %53 = load ptr, ptr %52, align 8, !tbaa !23
  %54 = load i32, ptr %3, align 4, !tbaa !20
  %55 = zext i32 %54 to i64
  %56 = getelementptr inbounds i64, ptr %53, i64 %55
  %57 = load i64, ptr %56, align 8, !tbaa !25
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.snk_tracks_obj, ptr %58, i32 0, i32 10
  %60 = load ptr, ptr %59, align 8, !tbaa !17
  %61 = getelementptr inbounds %struct.msg_tracks_obj, ptr %60, i32 0, i32 2
  %62 = load ptr, ptr %61, align 8, !tbaa !22
  %63 = getelementptr inbounds %struct.tracks_obj, ptr %62, i32 0, i32 2
  %64 = load ptr, ptr %63, align 8, !tbaa !26
  %65 = load i32, ptr %3, align 4, !tbaa !20
  %66 = zext i32 %65 to i64
  %67 = getelementptr inbounds ptr, ptr %64, i64 %66
  %68 = load ptr, ptr %67, align 8, !tbaa !5
  %69 = load ptr, ptr %2, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.snk_tracks_obj, ptr %69, i32 0, i32 10
  %71 = load ptr, ptr %70, align 8, !tbaa !17
  %72 = getelementptr inbounds %struct.msg_tracks_obj, ptr %71, i32 0, i32 2
  %73 = load ptr, ptr %72, align 8, !tbaa !22
  %74 = getelementptr inbounds %struct.tracks_obj, ptr %73, i32 0, i32 3
  %75 = load ptr, ptr %74, align 8, !tbaa !27
  %76 = load i32, ptr %3, align 4, !tbaa !20
  %77 = mul i32 %76, 3
  %78 = add i32 %77, 0
  %79 = zext i32 %78 to i64
  %80 = getelementptr inbounds float, ptr %75, i64 %79
  %81 = load float, ptr %80, align 4, !tbaa !28
  %82 = fpext float %81 to double
  %83 = load ptr, ptr %2, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.snk_tracks_obj, ptr %83, i32 0, i32 10
  %85 = load ptr, ptr %84, align 8, !tbaa !17
  %86 = getelementptr inbounds %struct.msg_tracks_obj, ptr %85, i32 0, i32 2
  %87 = load ptr, ptr %86, align 8, !tbaa !22
  %88 = getelementptr inbounds %struct.tracks_obj, ptr %87, i32 0, i32 3
  %89 = load ptr, ptr %88, align 8, !tbaa !27
  %90 = load i32, ptr %3, align 4, !tbaa !20
  %91 = mul i32 %90, 3
  %92 = add i32 %91, 1
  %93 = zext i32 %92 to i64
  %94 = getelementptr inbounds float, ptr %89, i64 %93
  %95 = load float, ptr %94, align 4, !tbaa !28
  %96 = fpext float %95 to double
  %97 = load ptr, ptr %2, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.snk_tracks_obj, ptr %97, i32 0, i32 10
  %99 = load ptr, ptr %98, align 8, !tbaa !17
  %100 = getelementptr inbounds %struct.msg_tracks_obj, ptr %99, i32 0, i32 2
  %101 = load ptr, ptr %100, align 8, !tbaa !22
  %102 = getelementptr inbounds %struct.tracks_obj, ptr %101, i32 0, i32 3
  %103 = load ptr, ptr %102, align 8, !tbaa !27
  %104 = load i32, ptr %3, align 4, !tbaa !20
  %105 = mul i32 %104, 3
  %106 = add i32 %105, 2
  %107 = zext i32 %106 to i64
  %108 = getelementptr inbounds float, ptr %103, i64 %107
  %109 = load float, ptr %108, align 4, !tbaa !28
  %110 = fpext float %109 to double
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.snk_tracks_obj, ptr %111, i32 0, i32 10
  %113 = load ptr, ptr %112, align 8, !tbaa !17
  %114 = getelementptr inbounds %struct.msg_tracks_obj, ptr %113, i32 0, i32 2
  %115 = load ptr, ptr %114, align 8, !tbaa !22
  %116 = getelementptr inbounds %struct.tracks_obj, ptr %115, i32 0, i32 4
  %117 = load ptr, ptr %116, align 8, !tbaa !30
  %118 = load i32, ptr %3, align 4, !tbaa !20
  %119 = zext i32 %118 to i64
  %120 = getelementptr inbounds float, ptr %117, i64 %119
  %121 = load float, ptr %120, align 4, !tbaa !28
  %122 = fpext float %121 to double
  %123 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %43, ptr noundef @.str.11, ptr noundef %46, i64 noundef %57, ptr noundef %68, double noundef %82, double noundef %96, double noundef %110, double noundef %122) #4
  %124 = load i32, ptr %3, align 4, !tbaa !20
  %125 = load ptr, ptr %2, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.snk_tracks_obj, ptr %125, i32 0, i32 1
  %127 = load i32, ptr %126, align 8, !tbaa !21
  %128 = sub i32 %127, 1
  %129 = icmp ne i32 %124, %128
  br i1 %129, label %130, label %138

130:                                              ; preds = %40
  %131 = load ptr, ptr %2, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.snk_tracks_obj, ptr %131, i32 0, i32 5
  %133 = load ptr, ptr %132, align 8, !tbaa !9
  %134 = load ptr, ptr %2, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.snk_tracks_obj, ptr %134, i32 0, i32 5
  %136 = load ptr, ptr %135, align 8, !tbaa !9
  %137 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %133, ptr noundef @.str.12, ptr noundef %136) #4
  br label %138

138:                                              ; preds = %130, %40
  %139 = load ptr, ptr %2, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.snk_tracks_obj, ptr %139, i32 0, i32 5
  %141 = load ptr, ptr %140, align 8, !tbaa !9
  %142 = load ptr, ptr %2, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.snk_tracks_obj, ptr %142, i32 0, i32 5
  %144 = load ptr, ptr %143, align 8, !tbaa !9
  %145 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %141, ptr noundef @.str.13, ptr noundef %144) #4
  br label %146

146:                                              ; preds = %138
  %147 = load i32, ptr %3, align 4, !tbaa !20
  %148 = add i32 %147, 1
  store i32 %148, ptr %3, align 4, !tbaa !20
  br label %34, !llvm.loop !31

149:                                              ; preds = %34
  %150 = load ptr, ptr %2, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.snk_tracks_obj, ptr %150, i32 0, i32 5
  %152 = load ptr, ptr %151, align 8, !tbaa !9
  %153 = load ptr, ptr %2, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.snk_tracks_obj, ptr %153, i32 0, i32 5
  %155 = load ptr, ptr %154, align 8, !tbaa !9
  %156 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %152, ptr noundef @.str.14, ptr noundef %155) #4
  %157 = load ptr, ptr %2, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.snk_tracks_obj, ptr %157, i32 0, i32 5
  %159 = load ptr, ptr %158, align 8, !tbaa !9
  %160 = load ptr, ptr %2, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.snk_tracks_obj, ptr %160, i32 0, i32 5
  %162 = load ptr, ptr %161, align 8, !tbaa !9
  %163 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %159, ptr noundef @.str.15, ptr noundef %162) #4
  %164 = load ptr, ptr %2, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.snk_tracks_obj, ptr %164, i32 0, i32 5
  %166 = load ptr, ptr %165, align 8, !tbaa !9
  %167 = call i64 @strlen(ptr noundef %166) #5
  %168 = trunc i64 %167 to i32
  %169 = load ptr, ptr %2, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.snk_tracks_obj, ptr %169, i32 0, i32 6
  store i32 %168, ptr %170, align 8, !tbaa !33
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  ret void
}

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 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 #4 = { nounwind }
attributes #5 = { 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/C++ TBAA"}
!9 = !{!10, !6, i64 32}
!10 = !{!"snk_tracks_obj", !11, i64 0, !12, i64 8, !12, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !12, i64 40, !6, i64 48, !13, i64 56, !12, i64 72, !6, i64 80}
!11 = !{!"long long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"sockaddr_in", !14, i64 0, !14, i64 2, !15, i64 4, !7, i64 8}
!14 = !{!"short", !7, i64 0}
!15 = !{!"in_addr", !12, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!10, !6, i64 80}
!18 = !{!19, !11, i64 0}
!19 = !{!"msg_tracks_obj", !11, i64 0, !12, i64 8, !6, i64 16}
!20 = !{!12, !12, i64 0}
!21 = !{!10, !12, i64 8}
!22 = !{!19, !6, i64 16}
!23 = !{!24, !6, i64 8}
!24 = !{!"tracks_obj", !12, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!25 = !{!11, !11, i64 0}
!26 = !{!24, !6, i64 16}
!27 = !{!24, !6, i64 24}
!28 = !{!29, !29, i64 0}
!29 = !{!"float", !7, i64 0}
!30 = !{!24, !6, i64 32}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!10, !12, i64 40}


; 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.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: nofree nounwind uwtable
define dso_local void @snk_tracks_process_format_text_json(ptr nocapture noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 32
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  store i8 0, ptr %3, align 1, !tbaa !15
  %4 = load ptr, ptr %2, align 8, !tbaa !5
  %5 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %4, ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef %4) #3
  %6 = load ptr, ptr %2, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 80
  %8 = load ptr, ptr %7, align 8, !tbaa !16
  %9 = load i64, ptr %8, align 8, !tbaa !17
  %10 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.9, ptr noundef %6, i64 noundef %9) #3
  %11 = load ptr, ptr %2, align 8, !tbaa !5
  %12 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.10, ptr noundef %11) #3
  %13 = getelementptr inbounds i8, ptr %0, i64 8
  %14 = load i32, ptr %13, align 8, !tbaa !19
  %.not37 = icmp eq i32 %14, 0
  br i1 %.not37, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %1, %57
  %indvars.iv = phi i64 [ %indvars.iv.next, %57 ], [ 0, %1 ]
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = load ptr, ptr %7, align 8, !tbaa !16
  %17 = getelementptr inbounds i8, ptr %16, i64 16
  %18 = load ptr, ptr %17, align 8, !tbaa !20
  %19 = getelementptr inbounds i8, ptr %18, i64 8
  %20 = load ptr, ptr %19, align 8, !tbaa !21
  %21 = getelementptr inbounds i64, ptr %20, i64 %indvars.iv
  %22 = load i64, ptr %21, align 8, !tbaa !23
  %23 = getelementptr inbounds i8, ptr %18, i64 16
  %24 = load ptr, ptr %23, align 8, !tbaa !24
  %25 = getelementptr inbounds ptr, ptr %24, i64 %indvars.iv
  %26 = load ptr, ptr %25, align 8, !tbaa !25
  %27 = getelementptr inbounds i8, ptr %18, i64 24
  %28 = load ptr, ptr %27, align 8, !tbaa !26
  %29 = trunc nuw i64 %indvars.iv to i32
  %30 = mul i32 %29, 3
  %31 = zext i32 %30 to i64
  %32 = getelementptr inbounds float, ptr %28, i64 %31
  %33 = load float, ptr %32, align 4, !tbaa !27
  %34 = fpext float %33 to double
  %35 = add i32 %30, 1
  %36 = zext i32 %35 to i64
  %37 = getelementptr inbounds float, ptr %28, i64 %36
  %38 = load float, ptr %37, align 4, !tbaa !27
  %39 = fpext float %38 to double
  %40 = add i32 %30, 2
  %41 = zext i32 %40 to i64
  %42 = getelementptr inbounds float, ptr %28, i64 %41
  %43 = load float, ptr %42, align 4, !tbaa !27
  %44 = fpext float %43 to double
  %45 = getelementptr inbounds i8, ptr %18, i64 32
  %46 = load ptr, ptr %45, align 8, !tbaa !29
  %47 = getelementptr inbounds float, ptr %46, i64 %indvars.iv
  %48 = load float, ptr %47, align 4, !tbaa !27
  %49 = fpext float %48 to double
  %50 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %15, ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef %15, i64 noundef %22, ptr noundef %26, double noundef %34, double noundef %39, double noundef %44, double noundef %49) #3
  %51 = load i32, ptr %13, align 8, !tbaa !19
  %52 = add i32 %51, -1
  %53 = zext i32 %52 to i64
  %.not = icmp eq i64 %indvars.iv, %53
  br i1 %.not, label %57, label %54

54:                                               ; preds = %.lr.ph
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %55, ptr noundef nonnull dereferenceable(1) @.str.12, ptr noundef %55) #3
  br label %57

57:                                               ; preds = %54, %.lr.ph
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %58, ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef %58) #3
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %60 = load i32, ptr %13, align 8, !tbaa !19
  %61 = zext i32 %60 to i64
  %62 = icmp ult i64 %indvars.iv.next, %61
  br i1 %62, label %.lr.ph, label %._crit_edge, !llvm.loop !30

._crit_edge:                                      ; preds = %57, %1
  %63 = load ptr, ptr %2, align 8, !tbaa !5
  %64 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %63, ptr noundef nonnull dereferenceable(1) @.str.14, ptr noundef %63) #3
  %65 = load ptr, ptr %2, align 8, !tbaa !5
  %66 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %65, ptr noundef nonnull dereferenceable(1) @.str.15, ptr noundef %65) #3
  %67 = load ptr, ptr %2, align 8, !tbaa !5
  %68 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %67) #4
  %69 = trunc i64 %68 to i32
  %70 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 %69, ptr %70, align 8, !tbaa !32
  ret void
}

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

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

attributes #0 = { nofree 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 #1 = { 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 #2 = { 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 #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, !11, i64 32}
!6 = !{!"snk_tracks_obj", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !10, i64 40, !11, i64 48, !12, i64 56, !10, i64 72, !11, i64 80}
!7 = !{!"long long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"sockaddr_in", !13, i64 0, !13, i64 2, !14, i64 4, !8, i64 8}
!13 = !{!"short", !8, i64 0}
!14 = !{!"in_addr", !10, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!6, !11, i64 80}
!17 = !{!18, !7, i64 0}
!18 = !{!"msg_tracks_obj", !7, i64 0, !10, i64 8, !11, i64 16}
!19 = !{!6, !10, i64 8}
!20 = !{!18, !11, i64 16}
!21 = !{!22, !11, i64 8}
!22 = !{!"tracks_obj", !10, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!23 = !{!7, !7, i64 0}
!24 = !{!22, !11, i64 16}
!25 = !{!11, !11, i64 0}
!26 = !{!22, !11, i64 24}
!27 = !{!28, !28, i64 0}
!28 = !{!"float", !8, i64 0}
!29 = !{!22, !11, i64 32}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!6, !10, i64 40}


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