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

; 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_pots_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_pots_obj = type { i64, i32, ptr }
%struct.pots_obj = type { i32, 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 [61 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_pots_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_pots_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_pots_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_pots_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_pots_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_pots_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_pots_obj, ptr %21, i32 0, i32 10
  %23 = load ptr, ptr %22, align 8, !tbaa !17
  %24 = getelementptr inbounds %struct.msg_pots_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_pots_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_pots_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 = %126, %1
  %35 = load i32, ptr %3, align 4, !tbaa !20
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.snk_pots_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 %129

40:                                               ; preds = %34
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.snk_pots_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_pots_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_pots_obj, ptr %47, i32 0, i32 10
  %49 = load ptr, ptr %48, align 8, !tbaa !17
  %50 = getelementptr inbounds %struct.msg_pots_obj, ptr %49, i32 0, i32 2
  %51 = load ptr, ptr %50, align 8, !tbaa !22
  %52 = getelementptr inbounds %struct.pots_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 = mul i32 %54, 4
  %56 = add i32 %55, 0
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds float, ptr %53, i64 %57
  %59 = load float, ptr %58, align 4, !tbaa !25
  %60 = fpext float %59 to double
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.snk_pots_obj, ptr %61, i32 0, i32 10
  %63 = load ptr, ptr %62, align 8, !tbaa !17
  %64 = getelementptr inbounds %struct.msg_pots_obj, ptr %63, i32 0, i32 2
  %65 = load ptr, ptr %64, align 8, !tbaa !22
  %66 = getelementptr inbounds %struct.pots_obj, ptr %65, i32 0, i32 1
  %67 = load ptr, ptr %66, align 8, !tbaa !23
  %68 = load i32, ptr %3, align 4, !tbaa !20
  %69 = mul i32 %68, 4
  %70 = add i32 %69, 1
  %71 = zext i32 %70 to i64
  %72 = getelementptr inbounds float, ptr %67, i64 %71
  %73 = load float, ptr %72, align 4, !tbaa !25
  %74 = fpext float %73 to double
  %75 = load ptr, ptr %2, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.snk_pots_obj, ptr %75, i32 0, i32 10
  %77 = load ptr, ptr %76, align 8, !tbaa !17
  %78 = getelementptr inbounds %struct.msg_pots_obj, ptr %77, i32 0, i32 2
  %79 = load ptr, ptr %78, align 8, !tbaa !22
  %80 = getelementptr inbounds %struct.pots_obj, ptr %79, i32 0, i32 1
  %81 = load ptr, ptr %80, align 8, !tbaa !23
  %82 = load i32, ptr %3, align 4, !tbaa !20
  %83 = mul i32 %82, 4
  %84 = add i32 %83, 2
  %85 = zext i32 %84 to i64
  %86 = getelementptr inbounds float, ptr %81, i64 %85
  %87 = load float, ptr %86, align 4, !tbaa !25
  %88 = fpext float %87 to double
  %89 = load ptr, ptr %2, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.snk_pots_obj, ptr %89, i32 0, i32 10
  %91 = load ptr, ptr %90, align 8, !tbaa !17
  %92 = getelementptr inbounds %struct.msg_pots_obj, ptr %91, i32 0, i32 2
  %93 = load ptr, ptr %92, align 8, !tbaa !22
  %94 = getelementptr inbounds %struct.pots_obj, ptr %93, i32 0, i32 1
  %95 = load ptr, ptr %94, align 8, !tbaa !23
  %96 = load i32, ptr %3, align 4, !tbaa !20
  %97 = mul i32 %96, 4
  %98 = add i32 %97, 3
  %99 = zext i32 %98 to i64
  %100 = getelementptr inbounds float, ptr %95, i64 %99
  %101 = load float, ptr %100, align 4, !tbaa !25
  %102 = fpext float %101 to double
  %103 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %43, ptr noundef @.str.11, ptr noundef %46, double noundef %60, double noundef %74, double noundef %88, double noundef %102) #4
  %104 = load i32, ptr %3, align 4, !tbaa !20
  %105 = load ptr, ptr %2, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.snk_pots_obj, ptr %105, i32 0, i32 1
  %107 = load i32, ptr %106, align 8, !tbaa !21
  %108 = sub i32 %107, 1
  %109 = icmp ne i32 %104, %108
  br i1 %109, label %110, label %118

110:                                              ; preds = %40
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.snk_pots_obj, ptr %111, i32 0, i32 5
  %113 = load ptr, ptr %112, align 8, !tbaa !9
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.snk_pots_obj, ptr %114, i32 0, i32 5
  %116 = load ptr, ptr %115, align 8, !tbaa !9
  %117 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %113, ptr noundef @.str.12, ptr noundef %116) #4
  br label %118

118:                                              ; preds = %110, %40
  %119 = load ptr, ptr %2, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.snk_pots_obj, ptr %119, i32 0, i32 5
  %121 = load ptr, ptr %120, align 8, !tbaa !9
  %122 = load ptr, ptr %2, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.snk_pots_obj, ptr %122, i32 0, i32 5
  %124 = load ptr, ptr %123, align 8, !tbaa !9
  %125 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %121, ptr noundef @.str.13, ptr noundef %124) #4
  br label %126

126:                                              ; preds = %118
  %127 = load i32, ptr %3, align 4, !tbaa !20
  %128 = add i32 %127, 1
  store i32 %128, ptr %3, align 4, !tbaa !20
  br label %34, !llvm.loop !27

129:                                              ; preds = %34
  %130 = load ptr, ptr %2, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.snk_pots_obj, ptr %130, i32 0, i32 5
  %132 = load ptr, ptr %131, align 8, !tbaa !9
  %133 = load ptr, ptr %2, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.snk_pots_obj, ptr %133, i32 0, i32 5
  %135 = load ptr, ptr %134, align 8, !tbaa !9
  %136 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %132, ptr noundef @.str.14, ptr noundef %135) #4
  %137 = load ptr, ptr %2, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.snk_pots_obj, ptr %137, i32 0, i32 5
  %139 = load ptr, ptr %138, align 8, !tbaa !9
  %140 = load ptr, ptr %2, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.snk_pots_obj, ptr %140, i32 0, i32 5
  %142 = load ptr, ptr %141, align 8, !tbaa !9
  %143 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %139, ptr noundef @.str.15, ptr noundef %142) #4
  %144 = load ptr, ptr %2, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.snk_pots_obj, ptr %144, i32 0, i32 5
  %146 = load ptr, ptr %145, align 8, !tbaa !9
  %147 = call i64 @strlen(ptr noundef %146) #5
  %148 = trunc i64 %147 to i32
  %149 = load ptr, ptr %2, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.snk_pots_obj, ptr %149, i32 0, i32 6
  store i32 %148, ptr %150, align 8, !tbaa !29
  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_pots_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_pots_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 = !{!"pots_obj", !12, i64 0, !6, i64 8}
!25 = !{!26, !26, i64 0}
!26 = !{!"float", !7, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!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 [61 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_pots_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
  %.not33 = icmp eq i32 %14, 0
  br i1 %.not33, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %1, %49
  %indvars.iv = phi i64 [ %indvars.iv.next, %49 ], [ 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 = trunc nuw i64 %indvars.iv to i32
  %22 = shl i32 %21, 2
  %23 = zext i32 %22 to i64
  %24 = getelementptr inbounds float, ptr %20, i64 %23
  %25 = load float, ptr %24, align 4, !tbaa !23
  %26 = fpext float %25 to double
  %27 = or disjoint i32 %22, 1
  %28 = zext i32 %27 to i64
  %29 = getelementptr inbounds float, ptr %20, i64 %28
  %30 = load float, ptr %29, align 4, !tbaa !23
  %31 = fpext float %30 to double
  %32 = or disjoint i32 %22, 2
  %33 = zext i32 %32 to i64
  %34 = getelementptr inbounds float, ptr %20, i64 %33
  %35 = load float, ptr %34, align 4, !tbaa !23
  %36 = fpext float %35 to double
  %37 = or disjoint i32 %22, 3
  %38 = zext i32 %37 to i64
  %39 = getelementptr inbounds float, ptr %20, i64 %38
  %40 = load float, ptr %39, align 4, !tbaa !23
  %41 = fpext float %40 to double
  %42 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %15, ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef %15, double noundef %26, double noundef %31, double noundef %36, double noundef %41) #3
  %43 = load i32, ptr %13, align 8, !tbaa !19
  %44 = add i32 %43, -1
  %45 = zext i32 %44 to i64
  %.not = icmp eq i64 %indvars.iv, %45
  br i1 %.not, label %49, label %46

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

49:                                               ; preds = %46, %.lr.ph
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  %51 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %50, ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef %50) #3
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %52 = load i32, ptr %13, align 8, !tbaa !19
  %53 = zext i32 %52 to i64
  %54 = icmp ult i64 %indvars.iv.next, %53
  br i1 %54, label %.lr.ph, label %._crit_edge, !llvm.loop !25

._crit_edge:                                      ; preds = %49, %1
  %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.14, ptr noundef %55) #3
  %57 = load ptr, ptr %2, align 8, !tbaa !5
  %58 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %57, ptr noundef nonnull dereferenceable(1) @.str.15, ptr noundef %57) #3
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  %60 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %59) #4
  %61 = trunc i64 %60 to i32
  %62 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 %61, ptr %62, align 8, !tbaa !27
  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_pots_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_pots_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 = !{!"pots_obj", !10, i64 0, !11, i64 8}
!23 = !{!24, !24, i64 0}
!24 = !{!"float", !8, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!6, !10, i64 40}


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