; LLVM IR from kala13x/libxutils :: tools (xtop)

; 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.xapi_data_ = type { [128 x i8], [128 x i8], [2048 x i8], i16, %struct.XSocket, i32, i8, i8, i8, i8, i8, i8, %struct.XByteBuffer, %struct.XByteBuffer, ptr, i32, i32, ptr, ptr, ptr }
%struct.XSocket = type { i32, %union.xsock_addr_t, i32, i32, i16, i32, i32, i32, i32, ptr }
%union.xsock_addr_t = type { %struct.sockaddr_in, [96 x i8] }
%struct.sockaddr_in = type { i16, i16, %struct.in_addr, [8 x i8] }
%struct.in_addr = type { i32 }
%struct.XByteBuffer = type { ptr, i64, i64, i16, i16, i32 }
%struct.xapi_ = type { ptr, %struct.XEvents, i64, ptr, i8, i8, i8 }
%struct.XEvents = type { ptr, i32, ptr, ptr, i32, i32, i8, %struct.XHash }
%struct.XHash = type { ptr, ptr, i64, [32 x %struct.xlist] }
%struct.xlist = type { ptr, ptr, %struct.xlist_data, i8 }
%struct.xlist_data = type { ptr, ptr, ptr, i64 }
%struct.xmon_args_ = type { ptr, i8, i8, i8, i8, [4096 x i8], [4096 x i8], [256 x i8], [256 x i8], [2048 x i8], [2048 x i8], i64, i16, i16, i16, i8, i32 }

@.str.179 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.190 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.191 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [38 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

declare void @XLog_Display(i32 noundef, i8 noundef zeroext, ptr noundef, ...) #1

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #2

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

declare i32 @XString_Append(ptr noundef, ptr noundef, ...) #1

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @XTOPApp_AssembleBody(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.xapi_data_, ptr %11, i32 0, i32 17
  %13 = load ptr, ptr %12, align 8, !tbaa !9
  %14 = getelementptr inbounds %struct.xapi_, ptr %13, i32 0, i32 3
  %15 = load ptr, ptr %14, align 8, !tbaa !16
  store ptr %15, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.xmon_args_, ptr %16, i32 0, i32 0
  %18 = load ptr, ptr %17, align 8, !tbaa !20
  store ptr %18, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.xapi_data_, ptr %19, i32 0, i32 18
  %21 = load ptr, ptr %20, align 8, !tbaa !22
  %22 = load i32, ptr %21, align 4, !tbaa !23
  store i32 %22, ptr %8, align 4, !tbaa !23
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = call i32 (ptr, ptr, ...) @XString_Append(ptr noundef %23, ptr noundef @.str.186)
  %25 = icmp slt i32 %24, 0
  br i1 %25, label %26, label %29

26:                                               ; preds = %2
  %27 = call ptr @__errno_location() #5
  %28 = load i32, ptr %27, align 4, !tbaa !23
  call void (i32, i8, ptr, ...) @XLog_Display(i32 noundef 64, i8 noundef zeroext 1, ptr noundef @.str.187, i32 noundef %28)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %105

29:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  store i8 0, ptr %10, align 1, !tbaa !24
  %30 = load i32, ptr %8, align 4, !tbaa !23
  %31 = icmp eq i32 %30, 4
  br i1 %31, label %35, label %32

32:                                               ; preds = %29
  %33 = load i32, ptr %8, align 4, !tbaa !23
  %34 = icmp eq i32 %33, 3
  br i1 %34, label %35, label %44

35:                                               ; preds = %32, %29
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = call i32 @XTOPApp_AppendCPUJson(ptr noundef %36, ptr noundef %37)
  %39 = icmp slt i32 %38, 0
  br i1 %39, label %40, label %43

40:                                               ; preds = %35
  %41 = call ptr @__errno_location() #5
  %42 = load i32, ptr %41, align 4, !tbaa !23
  call void (i32, i8, ptr, ...) @XLog_Display(i32 noundef 64, i8 noundef zeroext 1, ptr noundef @.str.188, i32 noundef %42)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %104

43:                                               ; preds = %35
  store i8 1, ptr %10, align 1, !tbaa !24
  br label %44

44:                                               ; preds = %43, %32
  %45 = load i32, ptr %8, align 4, !tbaa !23
  %46 = icmp eq i32 %45, 4
  br i1 %46, label %50, label %47

47:                                               ; preds = %44
  %48 = load i32, ptr %8, align 4, !tbaa !23
  %49 = icmp eq i32 %48, 2
  br i1 %49, label %50, label %70

50:                                               ; preds = %47, %44
  %51 = load i8, ptr %10, align 1, !tbaa !24
  %52 = zext i8 %51 to i32
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %61

54:                                               ; preds = %50
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = call i32 (ptr, ptr, ...) @XString_Append(ptr noundef %55, ptr noundef @.str.179)
  %57 = icmp slt i32 %56, 0
  br i1 %57, label %58, label %61

58:                                               ; preds = %54
  %59 = call ptr @__errno_location() #5
  %60 = load i32, ptr %59, align 4, !tbaa !23
  call void (i32, i8, ptr, ...) @XLog_Display(i32 noundef 64, i8 noundef zeroext 1, ptr noundef @.str.189, i32 noundef %60)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %104

61:                                               ; preds = %54, %50
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = call i32 @XTOPApp_AppendMemoryJson(ptr noundef %62, ptr noundef %63)
  %65 = icmp slt i32 %64, 0
  br i1 %65, label %66, label %69

66:                                               ; preds = %61
  %67 = call ptr @__errno_location() #5
  %68 = load i32, ptr %67, align 4, !tbaa !23
  call void (i32, i8, ptr, ...) @XLog_Display(i32 noundef 64, i8 noundef zeroext 1, ptr noundef @.str.190, i32 noundef %68)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %104

69:                                               ; preds = %61
  store i8 1, ptr %10, align 1, !tbaa !24
  br label %70

70:                                               ; preds = %69, %47
  %71 = load i32, ptr %8, align 4, !tbaa !23
  %72 = icmp eq i32 %71, 4
  br i1 %72, label %76, label %73

73:                                               ; preds = %70
  %74 = load i32, ptr %8, align 4, !tbaa !23
  %75 = icmp eq i32 %74, 1
  br i1 %75, label %76, label %96

76:                                               ; preds = %73, %70
  %77 = load i8, ptr %10, align 1, !tbaa !24
  %78 = zext i8 %77 to i32
  %79 = icmp ne i32 %78, 0
  br i1 %79, label %80, label %87

80:                                               ; preds = %76
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = call i32 (ptr, ptr, ...) @XString_Append(ptr noundef %81, ptr noundef @.str.179)
  %83 = icmp slt i32 %82, 0
  br i1 %83, label %84, label %87

84:                                               ; preds = %80
  %85 = call ptr @__errno_location() #5
  %86 = load i32, ptr %85, align 4, !tbaa !23
  call void (i32, i8, ptr, ...) @XLog_Display(i32 noundef 64, i8 noundef zeroext 1, ptr noundef @.str.189, i32 noundef %86)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %104

87:                                               ; preds = %80, %76
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = call i32 @XTOPApp_AppendNetworkJson(ptr noundef %88, ptr noundef %89)
  %91 = icmp slt i32 %90, 0
  br i1 %91, label %92, label %95

92:                                               ; preds = %87
  %93 = call ptr @__errno_location() #5
  %94 = load i32, ptr %93, align 4, !tbaa !23
  call void (i32, i8, ptr, ...) @XLog_Display(i32 noundef 64, i8 noundef zeroext 1, ptr noundef @.str.190, i32 noundef %94)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %104

95:                                               ; preds = %87
  br label %96

96:                                               ; preds = %95, %73
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = call i32 (ptr, ptr, ...) @XString_Append(ptr noundef %97, ptr noundef @.str.191)
  %99 = icmp slt i32 %98, 0
  br i1 %99, label %100, label %103

100:                                              ; preds = %96
  %101 = call ptr @__errno_location() #5
  %102 = load i32, ptr %101, align 4, !tbaa !23
  call void (i32, i8, ptr, ...) @XLog_Display(i32 noundef 64, i8 noundef zeroext 1, ptr noundef @.str.192, i32 noundef %102)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %104

103:                                              ; preds = %96
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %104

104:                                              ; preds = %103, %100, %92, %84, %66, %58, %40
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  br label %105

105:                                              ; preds = %104, %26
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  %106 = load i32, ptr %3, align 4
  ret i32 %106
}

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

!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 2560}
!10 = !{!"xapi_data_", !7, i64 0, !7, i64 128, !7, i64 256, !11, i64 2304, !12, i64 2312, !13, i64 2464, !7, i64 2468, !7, i64 2469, !7, i64 2470, !7, i64 2471, !7, i64 2472, !7, i64 2473, !14, i64 2480, !14, i64 2512, !6, i64 2544, !13, i64 2552, !13, i64 2556, !6, i64 2560, !6, i64 2568, !6, i64 2576}
!11 = !{!"short", !7, i64 0}
!12 = !{!"XSocket", !13, i64 0, !7, i64 4, !13, i64 116, !13, i64 120, !11, i64 124, !13, i64 128, !13, i64 132, !13, i64 136, !13, i64 140, !6, i64 144}
!13 = !{!"int", !7, i64 0}
!14 = !{!"XByteBuffer", !6, i64 0, !15, i64 8, !15, i64 16, !11, i64 24, !11, i64 26, !13, i64 28}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !6, i64 1880}
!17 = !{!"xapi_", !6, i64 0, !18, i64 8, !15, i64 1872, !6, i64 1880, !7, i64 1888, !7, i64 1889, !7, i64 1890}
!18 = !{!"XEvents", !6, i64 0, !13, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !13, i64 36, !7, i64 40, !19, i64 48}
!19 = !{!"XHash", !6, i64 0, !6, i64 8, !15, i64 16, !7, i64 24}
!20 = !{!21, !6, i64 0}
!21 = !{!"xmon_args_", !6, i64 0, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 4108, !7, i64 8204, !7, i64 8460, !7, i64 8716, !7, i64 10764, !15, i64 12816, !11, i64 12824, !11, i64 12826, !11, i64 12828, !7, i64 12830, !13, i64 12832}
!22 = !{!10, !6, i64 2568}
!23 = !{!13, !13, i64 0}
!24 = !{!7, !7, i64 0}


; 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.179 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.190 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.191 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [38 x i8], align 1

declare void @XLog_Display(i32 noundef, i8 noundef zeroext, ptr noundef, ...) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #1

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

declare i32 @XString_Append(ptr noundef, ptr noundef, ...) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 2) i32 @XTOPApp_AssembleBody(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 2560
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %4, i64 1880
  %6 = load ptr, ptr %5, align 8, !tbaa !15
  %7 = load ptr, ptr %6, align 8, !tbaa !19
  %8 = getelementptr inbounds i8, ptr %0, i64 2568
  %9 = load ptr, ptr %8, align 8, !tbaa !21
  %10 = load i32, ptr %9, align 4, !tbaa !22
  %11 = tail call i32 (ptr, ptr, ...) @XString_Append(ptr noundef %1, ptr noundef nonnull @.str.186) #3
  %12 = icmp slt i32 %11, 0
  br i1 %12, label %.sink.split, label %13

13:                                               ; preds = %2
  %14 = add i32 %10, -5
  %or.cond = icmp ult i32 %14, -2
  br i1 %or.cond, label %18, label %15

15:                                               ; preds = %13
  %16 = tail call i32 @XTOPApp_AppendCPUJson(ptr noundef %7, ptr noundef %1)
  %17 = icmp slt i32 %16, 0
  br i1 %17, label %.sink.split, label %18

18:                                               ; preds = %15, %13
  %.0 = phi i32 [ 0, %13 ], [ 1, %15 ]
  switch i32 %10, label %26 [
    i32 4, label %19
    i32 2, label %19
  ]

19:                                               ; preds = %18, %18
  br i1 %or.cond, label %23, label %20

20:                                               ; preds = %19
  %21 = tail call i32 (ptr, ptr, ...) @XString_Append(ptr noundef %1, ptr noundef nonnull @.str.179) #3
  %22 = icmp slt i32 %21, 0
  br i1 %22, label %.sink.split, label %23

23:                                               ; preds = %20, %19
  %24 = tail call i32 @XTOPApp_AppendMemoryJson(ptr noundef %7, ptr noundef %1)
  %25 = icmp slt i32 %24, 0
  br i1 %25, label %.sink.split, label %26

26:                                               ; preds = %23, %18
  %.1 = phi i32 [ %.0, %18 ], [ 1, %23 ]
  switch i32 %10, label %34 [
    i32 4, label %27
    i32 1, label %27
  ]

27:                                               ; preds = %26, %26
  %.not = icmp eq i32 %.1, 0
  br i1 %.not, label %31, label %28

28:                                               ; preds = %27
  %29 = tail call i32 (ptr, ptr, ...) @XString_Append(ptr noundef %1, ptr noundef nonnull @.str.179) #3
  %30 = icmp slt i32 %29, 0
  br i1 %30, label %.sink.split, label %31

31:                                               ; preds = %28, %27
  %32 = tail call i32 @XTOPApp_AppendNetworkJson(ptr noundef %7, ptr noundef %1)
  %33 = icmp slt i32 %32, 0
  br i1 %33, label %.sink.split, label %34

34:                                               ; preds = %26, %31
  %35 = tail call i32 (ptr, ptr, ...) @XString_Append(ptr noundef %1, ptr noundef nonnull @.str.191) #3
  %36 = icmp slt i32 %35, 0
  br i1 %36, label %.sink.split, label %39

.sink.split:                                      ; preds = %34, %31, %28, %23, %20, %15, %2
  %.str.188.sink = phi ptr [ @.str.187, %2 ], [ @.str.188, %15 ], [ @.str.189, %20 ], [ @.str.190, %23 ], [ @.str.189, %28 ], [ @.str.190, %31 ], [ @.str.192, %34 ]
  %37 = tail call ptr @__errno_location() #4
  %38 = load i32, ptr %37, align 4, !tbaa !22
  tail call void (i32, i8, ptr, ...) @XLog_Display(i32 noundef 64, i8 noundef zeroext 1, ptr noundef nonnull %.str.188.sink, i32 noundef %38) #3
  br label %39

39:                                               ; preds = %.sink.split, %34
  %.127 = phi i32 [ 1, %34 ], [ -1, %.sink.split ]
  ret i32 %.127
}

attributes #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 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 = { nounwind willreturn memory(none) }

!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, !12, i64 2560}
!6 = !{!"xapi_data_", !7, i64 0, !7, i64 128, !7, i64 256, !9, i64 2304, !10, i64 2312, !11, i64 2464, !7, i64 2468, !7, i64 2469, !7, i64 2470, !7, i64 2471, !7, i64 2472, !7, i64 2473, !13, i64 2480, !13, i64 2512, !12, i64 2544, !11, i64 2552, !11, i64 2556, !12, i64 2560, !12, i64 2568, !12, i64 2576}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"short", !7, i64 0}
!10 = !{!"XSocket", !11, i64 0, !7, i64 4, !11, i64 116, !11, i64 120, !9, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !12, i64 144}
!11 = !{!"int", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"XByteBuffer", !12, i64 0, !14, i64 8, !14, i64 16, !9, i64 24, !9, i64 26, !11, i64 28}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !12, i64 1880}
!16 = !{!"xapi_", !12, i64 0, !17, i64 8, !14, i64 1872, !12, i64 1880, !7, i64 1888, !7, i64 1889, !7, i64 1890}
!17 = !{!"XEvents", !12, i64 0, !11, i64 8, !12, i64 16, !12, i64 24, !11, i64 32, !11, i64 36, !7, i64 40, !18, i64 48}
!18 = !{!"XHash", !12, i64 0, !12, i64 8, !14, i64 16, !7, i64 24}
!19 = !{!20, !12, i64 0}
!20 = !{!"xmon_args_", !12, i64 0, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 4108, !7, i64 8204, !7, i64 8460, !7, i64 8716, !7, i64 10764, !14, i64 12816, !9, i64 12824, !9, i64 12826, !9, i64 12828, !7, i64 12830, !11, i64 12832}
!21 = !{!6, !12, i64 2568}
!22 = !{!11, !11, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass