; LLVM IR from microsoft/ntttcp-for-linux :: src (ntttcp)

; 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.ntttcp_test_endpoint = type { i32, ptr, i32, i32, %struct.timeval, %struct.timeval, i32, i32, i8, ptr, ptr, ptr, i8, ptr, i32, [8 x i32] }
%struct.timeval = type { i64, i64 }
%struct.ntttcp_test = type { i8, i8, i8, i8, i8, i8, i8, ptr, i32, i32, ptr, i32, i32, i8, i32, i32, i32, i32, i64, i64, i64, i64, i32, i32, i32, i8, ptr, ptr, i8, ptr, i8, ptr, i8, ptr, i8, i8 }
%struct.ntttcp_test_endpoint_results = type { ptr, i64, double, ptr, ptr, ptr, ptr, ptr, ptr, i64, i64, i64, i64, i64, i64, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i64, double, double, double, double, double, double, i64, i64, i64, double, i32, i32 }

; 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 void @free(ptr noundef) #1

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

11:                                               ; preds = %1
  %12 = load ptr, ptr %2, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %12, i32 0, i32 1
  %14 = load ptr, ptr %13, align 8, !tbaa !16
  %15 = getelementptr inbounds %struct.ntttcp_test, ptr %14, i32 0, i32 8
  %16 = load i32, ptr %15, align 8, !tbaa !17
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %17, i32 0, i32 1
  %19 = load ptr, ptr %18, align 8, !tbaa !16
  %20 = getelementptr inbounds %struct.ntttcp_test, ptr %19, i32 0, i32 11
  %21 = load i32, ptr %20, align 8, !tbaa !19
  %22 = mul i32 %16, %21
  store i32 %22, ptr %4, align 4, !tbaa !9
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %23

23:                                               ; preds = %35, %11
  %24 = load i32, ptr %3, align 4, !tbaa !9
  %25 = load i32, ptr %4, align 4, !tbaa !9
  %26 = icmp ult i32 %24, %25
  br i1 %26, label %27, label %38

27:                                               ; preds = %23
  %28 = load ptr, ptr %2, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %28, i32 0, i32 9
  %30 = load ptr, ptr %29, align 8, !tbaa !20
  %31 = load i32, ptr %3, align 4, !tbaa !9
  %32 = zext i32 %31 to i64
  %33 = getelementptr inbounds ptr, ptr %30, i64 %32
  %34 = load ptr, ptr %33, align 8, !tbaa !5
  call void @free(ptr noundef %34) #3
  br label %35

35:                                               ; preds = %27
  %36 = load i32, ptr %3, align 4, !tbaa !9
  %37 = add i32 %36, 1
  store i32 %37, ptr %3, align 4, !tbaa !9
  br label %23, !llvm.loop !21

38:                                               ; preds = %23
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %39, i32 0, i32 9
  %41 = load ptr, ptr %40, align 8, !tbaa !20
  call void @free(ptr noundef %41) #3
  br label %84

42:                                               ; preds = %1
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %43, i32 0, i32 1
  %45 = load ptr, ptr %44, align 8, !tbaa !16
  %46 = getelementptr inbounds %struct.ntttcp_test, ptr %45, i32 0, i32 13
  %47 = load i8, ptr %46, align 8, !tbaa !23, !range !24, !noundef !25
  %48 = trunc i8 %47 to i1
  %49 = zext i1 %48 to i32
  %50 = icmp eq i32 %49, 1
  br i1 %50, label %51, label %57

51:                                               ; preds = %42
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %52, i32 0, i32 1
  %54 = load ptr, ptr %53, align 8, !tbaa !16
  %55 = getelementptr inbounds %struct.ntttcp_test, ptr %54, i32 0, i32 8
  %56 = load i32, ptr %55, align 8, !tbaa !17
  store i32 %56, ptr %4, align 4, !tbaa !9
  br label %64

57:                                               ; preds = %42
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %58, i32 0, i32 1
  %60 = load ptr, ptr %59, align 8, !tbaa !16
  %61 = getelementptr inbounds %struct.ntttcp_test, ptr %60, i32 0, i32 8
  %62 = load i32, ptr %61, align 8, !tbaa !17
  %63 = add i32 %62, 1
  store i32 %63, ptr %4, align 4, !tbaa !9
  br label %64

64:                                               ; preds = %57, %51
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %77, %64
  %66 = load i32, ptr %3, align 4, !tbaa !9
  %67 = load i32, ptr %4, align 4, !tbaa !9
  %68 = icmp ult i32 %66, %67
  br i1 %68, label %69, label %80

69:                                               ; preds = %65
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %70, i32 0, i32 10
  %72 = load ptr, ptr %71, align 8, !tbaa !26
  %73 = load i32, ptr %3, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = getelementptr inbounds ptr, ptr %72, i64 %74
  %76 = load ptr, ptr %75, align 8, !tbaa !5
  call void @free(ptr noundef %76) #3
  br label %77

77:                                               ; preds = %69
  %78 = load i32, ptr %3, align 4, !tbaa !9
  %79 = add i32 %78, 1
  store i32 %79, ptr %3, align 4, !tbaa !9
  br label %65, !llvm.loop !27

80:                                               ; preds = %65
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %81, i32 0, i32 10
  %83 = load ptr, ptr %82, align 8, !tbaa !26
  call void @free(ptr noundef %83) #3
  br label %84

84:                                               ; preds = %80, %38
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %85

85:                                               ; preds = %99, %84
  %86 = load i32, ptr %3, align 4, !tbaa !9
  %87 = load i32, ptr %4, align 4, !tbaa !9
  %88 = icmp ult i32 %86, %87
  br i1 %88, label %89, label %102

89:                                               ; preds = %85
  %90 = load ptr, ptr %2, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %90, i32 0, i32 13
  %92 = load ptr, ptr %91, align 8, !tbaa !28
  %93 = getelementptr inbounds %struct.ntttcp_test_endpoint_results, ptr %92, i32 0, i32 15
  %94 = load ptr, ptr %93, align 8, !tbaa !29
  %95 = load i32, ptr %3, align 4, !tbaa !9
  %96 = zext i32 %95 to i64
  %97 = getelementptr inbounds ptr, ptr %94, i64 %96
  %98 = load ptr, ptr %97, align 8, !tbaa !5
  call void @free(ptr noundef %98) #3
  br label %99

99:                                               ; preds = %89
  %100 = load i32, ptr %3, align 4, !tbaa !9
  %101 = add i32 %100, 1
  store i32 %101, ptr %3, align 4, !tbaa !9
  br label %85, !llvm.loop !32

102:                                              ; preds = %85
  %103 = load ptr, ptr %2, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %103, i32 0, i32 13
  %105 = load ptr, ptr %104, align 8, !tbaa !28
  %106 = getelementptr inbounds %struct.ntttcp_test_endpoint_results, ptr %105, i32 0, i32 3
  %107 = load ptr, ptr %106, align 8, !tbaa !33
  call void @free(ptr noundef %107) #3
  %108 = load ptr, ptr %2, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %108, i32 0, i32 13
  %110 = load ptr, ptr %109, align 8, !tbaa !28
  %111 = getelementptr inbounds %struct.ntttcp_test_endpoint_results, ptr %110, i32 0, i32 5
  %112 = load ptr, ptr %111, align 8, !tbaa !34
  call void @free(ptr noundef %112) #3
  %113 = load ptr, ptr %2, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %113, i32 0, i32 13
  %115 = load ptr, ptr %114, align 8, !tbaa !28
  %116 = getelementptr inbounds %struct.ntttcp_test_endpoint_results, ptr %115, i32 0, i32 7
  %117 = load ptr, ptr %116, align 8, !tbaa !35
  call void @free(ptr noundef %117) #3
  %118 = load ptr, ptr %2, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %118, i32 0, i32 13
  %120 = load ptr, ptr %119, align 8, !tbaa !28
  %121 = getelementptr inbounds %struct.ntttcp_test_endpoint_results, ptr %120, i32 0, i32 4
  %122 = load ptr, ptr %121, align 8, !tbaa !36
  call void @free(ptr noundef %122) #3
  %123 = load ptr, ptr %2, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %123, i32 0, i32 13
  %125 = load ptr, ptr %124, align 8, !tbaa !28
  %126 = getelementptr inbounds %struct.ntttcp_test_endpoint_results, ptr %125, i32 0, i32 6
  %127 = load ptr, ptr %126, align 8, !tbaa !37
  call void @free(ptr noundef %127) #3
  %128 = load ptr, ptr %2, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %128, i32 0, i32 13
  %130 = load ptr, ptr %129, align 8, !tbaa !28
  %131 = getelementptr inbounds %struct.ntttcp_test_endpoint_results, ptr %130, i32 0, i32 8
  %132 = load ptr, ptr %131, align 8, !tbaa !38
  call void @free(ptr noundef %132) #3
  %133 = load ptr, ptr %2, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %133, i32 0, i32 13
  %135 = load ptr, ptr %134, align 8, !tbaa !28
  call void @free(ptr noundef %135) #3
  %136 = load ptr, ptr %2, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %136, i32 0, i32 11
  %138 = load ptr, ptr %137, align 8, !tbaa !39
  call void @free(ptr noundef %138) #3
  %139 = load ptr, ptr %2, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.ntttcp_test_endpoint, ptr %139, i32 0, i32 1
  %141 = load ptr, ptr %140, align 8, !tbaa !16
  call void @free(ptr noundef %141) #3
  %142 = load ptr, ptr %2, align 8, !tbaa !5
  call void @free(ptr noundef %142) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  ret void
}

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 = { 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 }

!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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"ntttcp_test_endpoint", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !13, i64 24, !13, i64 40, !10, i64 56, !10, i64 60, !15, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !15, i64 96, !6, i64 104, !10, i64 112, !7, i64 116}
!13 = !{!"timeval", !14, i64 0, !14, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!12, !6, i64 8}
!17 = !{!18, !10, i64 16}
!18 = !{!"ntttcp_test", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !15, i64 4, !15, i64 5, !15, i64 6, !6, i64 8, !10, i64 16, !10, i64 20, !6, i64 24, !10, i64 32, !10, i64 36, !15, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !10, i64 96, !10, i64 100, !10, i64 104, !15, i64 108, !6, i64 112, !6, i64 120, !15, i64 128, !6, i64 136, !15, i64 144, !6, i64 152, !15, i64 160, !6, i64 168, !15, i64 176, !15, i64 177}
!19 = !{!18, !10, i64 32}
!20 = !{!12, !6, i64 72}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!18, !15, i64 40}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!12, !6, i64 80}
!27 = distinct !{!27, !22}
!28 = !{!12, !6, i64 104}
!29 = !{!30, !6, i64 120}
!30 = !{!"ntttcp_test_endpoint_results", !6, i64 0, !14, i64 8, !31, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !6, i64 120, !31, i64 128, !31, i64 136, !31, i64 144, !31, i64 152, !31, i64 160, !31, i64 168, !31, i64 176, !31, i64 184, !31, i64 192, !31, i64 200, !31, i64 208, !31, i64 216, !31, i64 224, !31, i64 232, !14, i64 240, !31, i64 248, !31, i64 256, !31, i64 264, !31, i64 272, !31, i64 280, !31, i64 288, !14, i64 296, !14, i64 304, !14, i64 312, !31, i64 320, !10, i64 328, !10, i64 332}
!31 = !{!"double", !7, i64 0}
!32 = distinct !{!32, !22}
!33 = !{!30, !6, i64 24}
!34 = !{!30, !6, i64 40}
!35 = !{!30, !6, i64 56}
!36 = !{!30, !6, i64 32}
!37 = !{!30, !6, i64 48}
!38 = !{!30, !6, i64 64}
!39 = !{!12, !6, i64 88}


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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #0

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

6:                                                ; preds = %1
  %7 = getelementptr inbounds i8, ptr %5, i64 16
  %8 = load i32, ptr %7, align 8, !tbaa !15
  %9 = getelementptr inbounds i8, ptr %5, i64 32
  %10 = load i32, ptr %9, align 8, !tbaa !17
  %11 = mul i32 %10, %8
  %.not45 = icmp eq i32 %11, 0
  br i1 %.not45, label %._crit_edge40, label %.lr.ph39

.lr.ph39:                                         ; preds = %6
  %12 = getelementptr inbounds i8, ptr %0, i64 72
  %wide.trip.count51 = zext i32 %11 to i64
  br label %13

13:                                               ; preds = %.lr.ph39, %13
  %indvars.iv48 = phi i64 [ 0, %.lr.ph39 ], [ %indvars.iv.next49, %13 ]
  %14 = load ptr, ptr %12, align 8, !tbaa !18
  %15 = getelementptr inbounds ptr, ptr %14, i64 %indvars.iv48
  %16 = load ptr, ptr %15, align 8, !tbaa !19
  tail call void @free(ptr noundef %16) #2
  %indvars.iv.next49 = add nuw nsw i64 %indvars.iv48, 1
  %exitcond52.not = icmp eq i64 %indvars.iv.next49, %wide.trip.count51
  br i1 %exitcond52.not, label %._crit_edge40, label %13, !llvm.loop !20

17:                                               ; preds = %1
  %18 = getelementptr inbounds i8, ptr %5, i64 40
  %19 = load i8, ptr %18, align 8, !tbaa !22, !range !23, !noundef !24
  %20 = getelementptr inbounds i8, ptr %5, i64 16
  %21 = load i32, ptr %20, align 8, !tbaa !15
  %22 = xor i8 %19, 1
  %not. = zext nneg i8 %22 to i32
  %.033 = add i32 %21, %not.
  %.not = icmp eq i32 %.033, 0
  br i1 %.not, label %._crit_edge40, label %.lr.ph

.lr.ph:                                           ; preds = %17
  %23 = getelementptr inbounds i8, ptr %0, i64 80
  %wide.trip.count = zext i32 %.033 to i64
  br label %24

24:                                               ; preds = %.lr.ph, %24
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %24 ]
  %25 = load ptr, ptr %23, align 8, !tbaa !25
  %26 = getelementptr inbounds ptr, ptr %25, i64 %indvars.iv
  %27 = load ptr, ptr %26, align 8, !tbaa !19
  tail call void @free(ptr noundef %27) #2
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge40, label %24, !llvm.loop !26

._crit_edge40:                                    ; preds = %24, %13, %17, %6
  %.sink = phi i64 [ 72, %6 ], [ 80, %17 ], [ 72, %13 ], [ 80, %24 ]
  %.134 = phi i32 [ %11, %6 ], [ %.033, %17 ], [ %11, %13 ], [ %.033, %24 ]
  %28 = getelementptr inbounds i8, ptr %0, i64 %.sink
  %29 = load ptr, ptr %28, align 8, !tbaa !19
  tail call void @free(ptr noundef %29) #2
  %.not46 = icmp eq i32 %.134, 0
  br i1 %.not46, label %._crit_edge44, label %.lr.ph43

.lr.ph43:                                         ; preds = %._crit_edge40
  %30 = getelementptr inbounds i8, ptr %0, i64 104
  %wide.trip.count56 = zext i32 %.134 to i64
  br label %31

31:                                               ; preds = %.lr.ph43, %31
  %indvars.iv53 = phi i64 [ 0, %.lr.ph43 ], [ %indvars.iv.next54, %31 ]
  %32 = load ptr, ptr %30, align 8, !tbaa !27
  %33 = getelementptr inbounds i8, ptr %32, i64 120
  %34 = load ptr, ptr %33, align 8, !tbaa !28
  %35 = getelementptr inbounds ptr, ptr %34, i64 %indvars.iv53
  %36 = load ptr, ptr %35, align 8, !tbaa !19
  tail call void @free(ptr noundef %36) #2
  %indvars.iv.next54 = add nuw nsw i64 %indvars.iv53, 1
  %exitcond57.not = icmp eq i64 %indvars.iv.next54, %wide.trip.count56
  br i1 %exitcond57.not, label %._crit_edge44, label %31, !llvm.loop !31

._crit_edge44:                                    ; preds = %31, %._crit_edge40
  %37 = getelementptr inbounds i8, ptr %0, i64 104
  %38 = load ptr, ptr %37, align 8, !tbaa !27
  %39 = getelementptr inbounds i8, ptr %38, i64 24
  %40 = load ptr, ptr %39, align 8, !tbaa !32
  tail call void @free(ptr noundef %40) #2
  %41 = load ptr, ptr %37, align 8, !tbaa !27
  %42 = getelementptr inbounds i8, ptr %41, i64 40
  %43 = load ptr, ptr %42, align 8, !tbaa !33
  tail call void @free(ptr noundef %43) #2
  %44 = load ptr, ptr %37, align 8, !tbaa !27
  %45 = getelementptr inbounds i8, ptr %44, i64 56
  %46 = load ptr, ptr %45, align 8, !tbaa !34
  tail call void @free(ptr noundef %46) #2
  %47 = load ptr, ptr %37, align 8, !tbaa !27
  %48 = getelementptr inbounds i8, ptr %47, i64 32
  %49 = load ptr, ptr %48, align 8, !tbaa !35
  tail call void @free(ptr noundef %49) #2
  %50 = load ptr, ptr %37, align 8, !tbaa !27
  %51 = getelementptr inbounds i8, ptr %50, i64 48
  %52 = load ptr, ptr %51, align 8, !tbaa !36
  tail call void @free(ptr noundef %52) #2
  %53 = load ptr, ptr %37, align 8, !tbaa !27
  %54 = getelementptr inbounds i8, ptr %53, i64 64
  %55 = load ptr, ptr %54, align 8, !tbaa !37
  tail call void @free(ptr noundef %55) #2
  %56 = load ptr, ptr %37, align 8, !tbaa !27
  tail call void @free(ptr noundef %56) #2
  %57 = getelementptr inbounds i8, ptr %0, i64 88
  %58 = load ptr, ptr %57, align 8, !tbaa !38
  tail call void @free(ptr noundef %58) #2
  %59 = getelementptr inbounds i8, ptr %0, i64 8
  %60 = load ptr, ptr %59, align 8, !tbaa !14
  tail call void @free(ptr noundef %60) #2
  tail call void @free(ptr noundef nonnull %0) #2
  ret void
}

attributes #0 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 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 }

!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, !7, i64 0}
!6 = !{!"ntttcp_test_endpoint", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !11, i64 24, !11, i64 40, !7, i64 56, !7, i64 60, !13, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !13, i64 96, !10, i64 104, !7, i64 112, !8, i64 116}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"timeval", !12, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!16, !7, i64 16}
!16 = !{!"ntttcp_test", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !13, i64 6, !10, i64 8, !7, i64 16, !7, i64 20, !10, i64 24, !7, i64 32, !7, i64 36, !13, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !7, i64 96, !7, i64 100, !7, i64 104, !13, i64 108, !10, i64 112, !10, i64 120, !13, i64 128, !10, i64 136, !13, i64 144, !10, i64 152, !13, i64 160, !10, i64 168, !13, i64 176, !13, i64 177}
!17 = !{!16, !7, i64 32}
!18 = !{!6, !10, i64 72}
!19 = !{!10, !10, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!16, !13, i64 40}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!6, !10, i64 80}
!26 = distinct !{!26, !21}
!27 = !{!6, !10, i64 104}
!28 = !{!29, !10, i64 120}
!29 = !{!"ntttcp_test_endpoint_results", !10, i64 0, !12, i64 8, !30, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !10, i64 120, !30, i64 128, !30, i64 136, !30, i64 144, !30, i64 152, !30, i64 160, !30, i64 168, !30, i64 176, !30, i64 184, !30, i64 192, !30, i64 200, !30, i64 208, !30, i64 216, !30, i64 224, !30, i64 232, !12, i64 240, !30, i64 248, !30, i64 256, !30, i64 264, !30, i64 272, !30, i64 280, !30, i64 288, !12, i64 296, !12, i64 304, !12, i64 312, !30, i64 320, !7, i64 328, !7, i64 332}
!30 = !{!"double", !8, i64 0}
!31 = distinct !{!31, !21}
!32 = !{!29, !10, i64 24}
!33 = !{!29, !10, i64 40}
!34 = !{!29, !10, i64 56}
!35 = !{!29, !10, i64 32}
!36 = !{!29, !10, i64 48}
!37 = !{!29, !10, i64 64}
!38 = !{!6, !10, i64 88}


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