; LLVM IR from nubot-nudt/simatch :: src/robot_code/world_model/rtdb/comm.ll (Z11sync_ratdmai)

; 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.timeval = type { i64, i64 }
%struct._agent = type { i8, i8, i8, %struct.timeval, i32, i32, [10 x i8], i32 }
%struct.itimerval = type { %struct.timeval, %struct.timeval }

@MAX_DELTA = external dso_local global i32, align 4
@lastSendTimeStamp = external dso_local global %struct.timeval, align 8
@delay = external dso_local global i32, align 4
@myNumber = external dso_local global i32, align 4
@agent = external dso_local global [10 x %struct._agent], align 16
@RUNNING_AGENTS = external dso_local global i32, align 4

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_Z11sync_ratdmai(i32 noundef %0) #0 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %struct.itimerval, align 8
  %7 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #4
  %8 = load i32, ptr %3, align 4, !tbaa !5
  %9 = sext i32 %8 to i64
  %10 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %9
  %11 = getelementptr inbounds %struct._agent, ptr %10, i32 0, i32 2
  store i8 1, ptr %11, align 2, !tbaa !9
  %12 = load i32, ptr %3, align 4, !tbaa !5
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %13
  %15 = getelementptr inbounds %struct._agent, ptr %14, i32 0, i32 0
  %16 = load i8, ptr %15, align 16, !tbaa !13
  %17 = sext i8 %16 to i32
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %27, label %19

19:                                               ; preds = %1
  %20 = load i32, ptr %3, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %21
  %23 = getelementptr inbounds %struct._agent, ptr %22, i32 0, i32 0
  %24 = load i8, ptr %23, align 16, !tbaa !13
  %25 = sext i8 %24 to i32
  %26 = icmp eq i32 %25, 2
  br i1 %26, label %27, label %28

27:                                               ; preds = %19, %1
  store i32 1, ptr %2, align 4
  store i32 1, ptr %7, align 4
  br label %158

28:                                               ; preds = %19
  %29 = load i32, ptr %3, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %30
  %32 = getelementptr inbounds %struct._agent, ptr %31, i32 0, i32 3
  %33 = getelementptr inbounds %struct.timeval, ptr %32, i32 0, i32 0
  %34 = load i64, ptr %33, align 8, !tbaa !14
  %35 = load i64, ptr @lastSendTimeStamp, align 8, !tbaa !15
  %36 = sub nsw i64 %34, %35
  %37 = sitofp i64 %36 to double
  %38 = load i32, ptr %3, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %39
  %41 = getelementptr inbounds %struct._agent, ptr %40, i32 0, i32 3
  %42 = getelementptr inbounds %struct.timeval, ptr %41, i32 0, i32 1
  %43 = load i64, ptr %42, align 8, !tbaa !16
  %44 = sitofp i64 %43 to double
  %45 = call double @llvm.fmuladd.f64(double %37, double 1.000000e+06, double %44)
  %46 = load i64, ptr getelementptr inbounds (%struct.timeval, ptr @lastSendTimeStamp, i32 0, i32 1), align 8, !tbaa !17
  %47 = sitofp i64 %46 to double
  %48 = fsub double %45, %47
  %49 = fptosi double %48 to i32
  store i32 %49, ptr %4, align 4, !tbaa !5
  %50 = load i32, ptr %4, align 4, !tbaa !5
  %51 = sub nsw i32 %50, 1500
  store i32 %51, ptr %4, align 4, !tbaa !5
  %52 = load i32, ptr %4, align 4, !tbaa !5
  %53 = icmp slt i32 %52, 0
  br i1 %53, label %54, label %55

54:                                               ; preds = %28
  store i32 2, ptr %2, align 4
  store i32 1, ptr %7, align 4
  br label %158

55:                                               ; preds = %28
  %56 = load i32, ptr %3, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %57
  %59 = getelementptr inbounds %struct._agent, ptr %58, i32 0, i32 1
  %60 = load i8, ptr %59, align 1, !tbaa !18
  %61 = sext i8 %60 to i32
  %62 = load i32, ptr @myNumber, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %63
  %65 = getelementptr inbounds %struct._agent, ptr %64, i32 0, i32 1
  %66 = load i8, ptr %65, align 1, !tbaa !18
  %67 = sext i8 %66 to i32
  %68 = sub nsw i32 %61, %67
  %69 = sitofp i32 %68 to double
  %70 = fmul double %69, 1.000000e+05
  %71 = load i32, ptr @RUNNING_AGENTS, align 4, !tbaa !5
  %72 = sitofp i32 %71 to double
  %73 = fdiv double %70, %72
  %74 = fptosi double %73 to i32
  store i32 %74, ptr %5, align 4, !tbaa !5
  %75 = load i32, ptr %5, align 4, !tbaa !5
  %76 = icmp slt i32 %75, 0
  br i1 %76, label %77, label %80

77:                                               ; preds = %55
  %78 = load i32, ptr %5, align 4, !tbaa !5
  %79 = add nsw i32 %78, 100000
  store i32 %79, ptr %5, align 4, !tbaa !5
  br label %80

80:                                               ; preds = %77, %55
  %81 = load i32, ptr %4, align 4, !tbaa !5
  %82 = load i32, ptr %5, align 4, !tbaa !5
  %83 = sub nsw i32 %81, %82
  %84 = load i32, ptr %3, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %85
  %87 = getelementptr inbounds %struct._agent, ptr %86, i32 0, i32 4
  store i32 %83, ptr %87, align 8, !tbaa !19
  %88 = load i32, ptr @myNumber, align 4, !tbaa !5
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %89
  %91 = getelementptr inbounds %struct._agent, ptr %90, i32 0, i32 1
  %92 = load i8, ptr %91, align 1, !tbaa !18
  %93 = sext i8 %92 to i32
  %94 = icmp eq i32 %93, 0
  br i1 %94, label %95, label %126

95:                                               ; preds = %80
  %96 = load i32, ptr %3, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %97
  %99 = getelementptr inbounds %struct._agent, ptr %98, i32 0, i32 4
  %100 = load i32, ptr %99, align 8, !tbaa !19
  %101 = load i32, ptr @delay, align 4, !tbaa !5
  %102 = icmp sgt i32 %100, %101
  br i1 %102, label %103, label %125

103:                                              ; preds = %95
  %104 = load i32, ptr %3, align 4, !tbaa !5
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %105
  %107 = getelementptr inbounds %struct._agent, ptr %106, i32 0, i32 4
  %108 = load i32, ptr %107, align 8, !tbaa !19
  %109 = load i32, ptr @MAX_DELTA, align 4, !tbaa !5
  %110 = icmp slt i32 %108, %109
  br i1 %110, label %111, label %125

111:                                              ; preds = %103
  %112 = load i32, ptr %3, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %113
  %115 = getelementptr inbounds %struct._agent, ptr %114, i32 0, i32 4
  %116 = load i32, ptr %115, align 8, !tbaa !19
  %117 = icmp sgt i32 %116, 1000
  br i1 %117, label %118, label %124

118:                                              ; preds = %111
  %119 = load i32, ptr %3, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %120
  %122 = getelementptr inbounds %struct._agent, ptr %121, i32 0, i32 4
  %123 = load i32, ptr %122, align 8, !tbaa !19
  store i32 %123, ptr @delay, align 4, !tbaa !5
  br label %124

124:                                              ; preds = %118, %111
  br label %125

125:                                              ; preds = %124, %103, %95
  br label %157

126:                                              ; preds = %80
  %127 = load i32, ptr %3, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %128
  %130 = getelementptr inbounds %struct._agent, ptr %129, i32 0, i32 1
  %131 = load i8, ptr %130, align 1, !tbaa !18
  %132 = sext i8 %131 to i32
  %133 = icmp eq i32 %132, 0
  br i1 %133, label %134, label %156

134:                                              ; preds = %126
  %135 = load i32, ptr %5, align 4, !tbaa !5
  %136 = sitofp i32 %135 to double
  %137 = fsub double 1.000000e+05, %136
  %138 = fptosi double %137 to i32
  store i32 %138, ptr %5, align 4, !tbaa !5
  %139 = load i32, ptr %5, align 4, !tbaa !5
  %140 = sub nsw i32 %139, 1500
  store i32 %140, ptr %5, align 4, !tbaa !5
  %141 = load i32, ptr %5, align 4, !tbaa !5
  %142 = srem i32 %141, 1000000
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds %struct.itimerval, ptr %6, i32 0, i32 1
  %145 = getelementptr inbounds %struct.timeval, ptr %144, i32 0, i32 1
  store i64 %143, ptr %145, align 8, !tbaa !20
  %146 = load i32, ptr %5, align 4, !tbaa !5
  %147 = sdiv i32 %146, 1000000
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds %struct.itimerval, ptr %6, i32 0, i32 1
  %150 = getelementptr inbounds %struct.timeval, ptr %149, i32 0, i32 0
  store i64 %148, ptr %150, align 8, !tbaa !22
  %151 = getelementptr inbounds %struct.itimerval, ptr %6, i32 0, i32 0
  %152 = getelementptr inbounds %struct.timeval, ptr %151, i32 0, i32 1
  store i64 100000, ptr %152, align 8, !tbaa !23
  %153 = getelementptr inbounds %struct.itimerval, ptr %6, i32 0, i32 0
  %154 = getelementptr inbounds %struct.timeval, ptr %153, i32 0, i32 0
  store i64 0, ptr %154, align 8, !tbaa !24
  %155 = call i32 @setitimer(i32 noundef 0, ptr noundef %6, ptr noundef null) #4
  br label %156

156:                                              ; preds = %134, %126
  br label %157

157:                                              ; preds = %156, %125
  store i32 0, ptr %2, align 4
  store i32 1, ptr %7, align 4
  br label %158

158:                                              ; preds = %157, %54, %27
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  %159 = load i32, ptr %2, align 4
  ret i32 %159
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: nounwind
declare i32 @setitimer(i32 noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { mustprogress 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !7, i64 2}
!10 = !{!"_ZTS6_agent", !7, i64 0, !7, i64 1, !7, i64 2, !11, i64 8, !6, i64 24, !6, i64 28, !7, i64 32, !6, i64 44}
!11 = !{!"_ZTS7timeval", !12, i64 0, !12, i64 8}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !7, i64 0}
!14 = !{!10, !12, i64 8}
!15 = !{!11, !12, i64 0}
!16 = !{!10, !12, i64 16}
!17 = !{!11, !12, i64 8}
!18 = !{!10, !7, i64 1}
!19 = !{!10, !6, i64 24}
!20 = !{!21, !12, i64 24}
!21 = !{!"_ZTS9itimerval", !11, i64 0, !11, i64 16}
!22 = !{!21, !12, i64 16}
!23 = !{!21, !12, i64 8}
!24 = !{!21, !12, 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"

%struct.timeval = type { i64, i64 }
%struct._agent = type { i8, i8, i8, %struct.timeval, i32, i32, [10 x i8], i32 }
%struct.itimerval = type { %struct.timeval, %struct.timeval }

@MAX_DELTA = external dso_local local_unnamed_addr global i32, align 4
@lastSendTimeStamp = external dso_local local_unnamed_addr global %struct.timeval, align 8
@delay = external dso_local local_unnamed_addr global i32, align 4
@myNumber = external dso_local local_unnamed_addr global i32, align 4
@agent = external dso_local local_unnamed_addr global [10 x %struct._agent], align 16
@RUNNING_AGENTS = external dso_local local_unnamed_addr global i32, align 4

; Function Attrs: mustprogress nofree nounwind willreturn uwtable
define dso_local noundef range(i32 0, 3) i32 @_Z11sync_ratdmai(i32 noundef %0) local_unnamed_addr #0 {
  %2 = alloca %struct.itimerval, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #4
  %3 = sext i32 %0 to i64
  %4 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %3
  %5 = getelementptr inbounds i8, ptr %4, i64 2
  store i8 1, ptr %5, align 2, !tbaa !5
  %6 = load i8, ptr %4, align 16, !tbaa !12
  switch i8 %6, label %7 [
    i8 0, label %63
    i8 2, label %63
  ]

7:                                                ; preds = %1
  %8 = getelementptr inbounds i8, ptr %4, i64 8
  %9 = load i64, ptr %8, align 8, !tbaa !13
  %10 = load i64, ptr @lastSendTimeStamp, align 8, !tbaa !14
  %11 = sub nsw i64 %9, %10
  %12 = sitofp i64 %11 to double
  %13 = getelementptr inbounds i8, ptr %4, i64 16
  %14 = load i64, ptr %13, align 16, !tbaa !15
  %15 = sitofp i64 %14 to double
  %16 = tail call double @llvm.fmuladd.f64(double %12, double 1.000000e+06, double %15)
  %17 = load i64, ptr getelementptr inbounds (i8, ptr @lastSendTimeStamp, i64 8), align 8, !tbaa !16
  %18 = sitofp i64 %17 to double
  %19 = fsub double %16, %18
  %20 = fptosi double %19 to i32
  %21 = icmp slt i32 %20, 1500
  br i1 %21, label %63, label %22

22:                                               ; preds = %7
  %23 = add nsw i32 %20, -1500
  %24 = getelementptr inbounds i8, ptr %4, i64 1
  %25 = load i8, ptr %24, align 1, !tbaa !17
  %26 = sext i8 %25 to i32
  %27 = load i32, ptr @myNumber, align 4, !tbaa !18
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [10 x %struct._agent], ptr @agent, i64 0, i64 %28, i32 1
  %30 = load i8, ptr %29, align 1, !tbaa !17
  %31 = sext i8 %30 to i32
  %32 = sub nsw i32 %26, %31
  %33 = sitofp i32 %32 to double
  %34 = fmul double %33, 1.000000e+05
  %35 = load i32, ptr @RUNNING_AGENTS, align 4, !tbaa !18
  %36 = sitofp i32 %35 to double
  %37 = fdiv double %34, %36
  %38 = fptosi double %37 to i32
  %39 = icmp slt i32 %38, 0
  %40 = add nsw i32 %38, 100000
  %spec.select = select i1 %39, i32 %40, i32 %38
  %41 = sub i32 %23, %spec.select
  %42 = getelementptr inbounds i8, ptr %4, i64 24
  store i32 %41, ptr %42, align 8, !tbaa !19
  %43 = icmp eq i8 %30, 0
  br i1 %43, label %44, label %51

44:                                               ; preds = %22
  %45 = load i32, ptr @delay, align 4, !tbaa !18
  %46 = icmp sgt i32 %41, %45
  %47 = load i32, ptr @MAX_DELTA, align 4
  %48 = icmp slt i32 %41, %47
  %or.cond = select i1 %46, i1 %48, i1 false
  %49 = icmp sgt i32 %41, 1000
  %or.cond29 = and i1 %49, %or.cond
  br i1 %or.cond29, label %50, label %63

50:                                               ; preds = %44
  store i32 %41, ptr @delay, align 4, !tbaa !18
  br label %63

51:                                               ; preds = %22
  %52 = icmp eq i8 %25, 0
  br i1 %52, label %53, label %63

53:                                               ; preds = %51
  %54 = sub i32 98500, %spec.select
  %55 = srem i32 %54, 1000000
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds i8, ptr %2, i64 16
  %58 = getelementptr inbounds i8, ptr %2, i64 24
  store i64 %56, ptr %58, align 8, !tbaa !20
  %59 = sdiv i32 %54, 1000000
  %60 = sext i32 %59 to i64
  store i64 %60, ptr %57, align 8, !tbaa !22
  %61 = getelementptr inbounds i8, ptr %2, i64 8
  store i64 100000, ptr %61, align 8, !tbaa !23
  store i64 0, ptr %2, align 8, !tbaa !24
  %62 = call i32 @setitimer(i32 noundef 0, ptr noundef nonnull %2, ptr noundef null) #4
  br label %63

63:                                               ; preds = %50, %44, %53, %51, %7, %1, %1
  %.023 = phi i32 [ 1, %1 ], [ 1, %1 ], [ 2, %7 ], [ 0, %51 ], [ 0, %53 ], [ 0, %44 ], [ 0, %50 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #4
  ret i32 %.023
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: mustprogress nofree nounwind willreturn
declare noundef i32 @setitimer(i32 noundef, ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

!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 2}
!6 = !{!"_ZTS6_agent", !7, i64 0, !7, i64 1, !7, i64 2, !9, i64 8, !11, i64 24, !11, i64 28, !7, i64 32, !11, i64 44}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"_ZTS7timeval", !10, i64 0, !10, i64 8}
!10 = !{!"long", !7, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!9, !10, i64 0}
!15 = !{!6, !10, i64 16}
!16 = !{!9, !10, i64 8}
!17 = !{!6, !7, i64 1}
!18 = !{!11, !11, i64 0}
!19 = !{!6, !11, i64 24}
!20 = !{!21, !10, i64 24}
!21 = !{!"_ZTS9itimerval", !9, i64 0, !9, i64 16}
!22 = !{!21, !10, i64 16}
!23 = !{!21, !10, i64 8}
!24 = !{!21, !10, i64 0}


; Effective O3 passes: EarlyCSEPass,Float2IntPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass