; LLVM IR from pupnp/pupnp :: upnp/src/threadutil (ThreadPool)

; 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.THREADPOOL = type { %union.pthread_mutex_t, %union.pthread_cond_t, %union.pthread_cond_t, i32, i32, i32, i32, i32, i32, %struct.FREELIST, %struct.LINKEDLIST, %struct.LINKEDLIST, %struct.LINKEDLIST, ptr, %struct.THREADPOOLATTR, %struct.TPOOLSTATS }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%struct.FREELIST = type { ptr, i64, i32, i32 }
%struct.LINKEDLIST = type { %struct.LISTNODE, %struct.LISTNODE, i64, %struct.FREELIST, ptr, ptr }
%struct.LISTNODE = type { ptr, ptr, ptr }
%struct.THREADPOOLATTR = type { i32, i32, i64, i32, i32, i32, i32, i32 }
%struct.TPOOLSTATS = type { double, i32, double, double, i32, double, double, i32, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32 }

; Function Attrs: nounwind
declare i32 @pthread_mutex_lock(ptr noundef) #0

; Function Attrs: nounwind
declare i32 @pthread_mutex_unlock(ptr noundef) #0

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @ThreadPoolGetStats(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %6 = load ptr, ptr %4, align 8, !tbaa !5
  %7 = icmp eq ptr %6, null
  br i1 %7, label %11, label %8

8:                                                ; preds = %2
  %9 = load ptr, ptr %5, align 8, !tbaa !5
  %10 = icmp eq ptr %9, null
  br i1 %10, label %11, label %12

11:                                               ; preds = %8, %2
  store i32 22, ptr %3, align 4
  br label %119

12:                                               ; preds = %8
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.THREADPOOL, ptr %13, i32 0, i32 4
  %15 = load i32, ptr %14, align 4, !tbaa !9
  %16 = icmp ne i32 %15, 0
  br i1 %16, label %21, label %17

17:                                               ; preds = %12
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.THREADPOOL, ptr %18, i32 0, i32 0
  %20 = call i32 @pthread_mutex_lock(ptr noundef %19) #4
  br label %21

21:                                               ; preds = %17, %12
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.THREADPOOL, ptr %23, i32 0, i32 15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %24, i64 120, i1 false), !tbaa.struct !19
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.TPOOLSTATS, ptr %25, i32 0, i32 1
  %27 = load i32, ptr %26, align 8, !tbaa !22
  %28 = icmp sgt i32 %27, 0
  br i1 %28, label %29, label %40

29:                                               ; preds = %21
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.TPOOLSTATS, ptr %30, i32 0, i32 0
  %32 = load double, ptr %31, align 8, !tbaa !23
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.TPOOLSTATS, ptr %33, i32 0, i32 1
  %35 = load i32, ptr %34, align 8, !tbaa !22
  %36 = sitofp i32 %35 to double
  %37 = fdiv double %32, %36
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.TPOOLSTATS, ptr %38, i32 0, i32 2
  store double %37, ptr %39, align 8, !tbaa !24
  br label %43

40:                                               ; preds = %21
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.TPOOLSTATS, ptr %41, i32 0, i32 2
  store double 0.000000e+00, ptr %42, align 8, !tbaa !24
  br label %43

43:                                               ; preds = %40, %29
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.TPOOLSTATS, ptr %44, i32 0, i32 4
  %46 = load i32, ptr %45, align 8, !tbaa !25
  %47 = icmp sgt i32 %46, 0
  br i1 %47, label %48, label %59

48:                                               ; preds = %43
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.TPOOLSTATS, ptr %49, i32 0, i32 3
  %51 = load double, ptr %50, align 8, !tbaa !26
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.TPOOLSTATS, ptr %52, i32 0, i32 4
  %54 = load i32, ptr %53, align 8, !tbaa !25
  %55 = sitofp i32 %54 to double
  %56 = fdiv double %51, %55
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.TPOOLSTATS, ptr %57, i32 0, i32 5
  store double %56, ptr %58, align 8, !tbaa !27
  br label %62

59:                                               ; preds = %43
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.TPOOLSTATS, ptr %60, i32 0, i32 5
  store double 0.000000e+00, ptr %61, align 8, !tbaa !27
  br label %62

62:                                               ; preds = %59, %48
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.TPOOLSTATS, ptr %63, i32 0, i32 7
  %65 = load i32, ptr %64, align 8, !tbaa !28
  %66 = icmp sgt i32 %65, 0
  br i1 %66, label %67, label %78

67:                                               ; preds = %62
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.TPOOLSTATS, ptr %68, i32 0, i32 6
  %70 = load double, ptr %69, align 8, !tbaa !29
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.TPOOLSTATS, ptr %71, i32 0, i32 7
  %73 = load i32, ptr %72, align 8, !tbaa !28
  %74 = sitofp i32 %73 to double
  %75 = fdiv double %70, %74
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.TPOOLSTATS, ptr %76, i32 0, i32 8
  store double %75, ptr %77, align 8, !tbaa !30
  br label %81

78:                                               ; preds = %62
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.TPOOLSTATS, ptr %79, i32 0, i32 8
  store double 0.000000e+00, ptr %80, align 8, !tbaa !30
  br label %81

81:                                               ; preds = %78, %67
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.THREADPOOL, ptr %82, i32 0, i32 5
  %84 = load i32, ptr %83, align 8, !tbaa !31
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.TPOOLSTATS, ptr %85, i32 0, i32 14
  store i32 %84, ptr %86, align 4, !tbaa !32
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.THREADPOOL, ptr %87, i32 0, i32 8
  %89 = load i32, ptr %88, align 4, !tbaa !33
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.TPOOLSTATS, ptr %90, i32 0, i32 13
  store i32 %89, ptr %91, align 8, !tbaa !34
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.THREADPOOL, ptr %92, i32 0, i32 12
  %94 = call i64 @ListSize(ptr noundef %93)
  %95 = trunc i64 %94 to i32
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.TPOOLSTATS, ptr %96, i32 0, i32 16
  store i32 %95, ptr %97, align 4, !tbaa !35
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.THREADPOOL, ptr %98, i32 0, i32 10
  %100 = call i64 @ListSize(ptr noundef %99)
  %101 = trunc i64 %100 to i32
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.TPOOLSTATS, ptr %102, i32 0, i32 17
  store i32 %101, ptr %103, align 8, !tbaa !36
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.THREADPOOL, ptr %104, i32 0, i32 11
  %106 = call i64 @ListSize(ptr noundef %105)
  %107 = trunc i64 %106 to i32
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.TPOOLSTATS, ptr %108, i32 0, i32 18
  store i32 %107, ptr %109, align 4, !tbaa !37
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.THREADPOOL, ptr %110, i32 0, i32 4
  %112 = load i32, ptr %111, align 4, !tbaa !9
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %118, label %114

114:                                              ; preds = %81
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.THREADPOOL, ptr %115, i32 0, i32 0
  %117 = call i32 @pthread_mutex_unlock(ptr noundef %116) #4
  br label %118

118:                                              ; preds = %114, %81
  store i32 0, ptr %3, align 4
  br label %119

119:                                              ; preds = %118, %11
  %120 = load i32, ptr %3, align 4
  ret i32 %120
}

declare i64 @ListSize(ptr noundef) #3

attributes #0 = { 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 #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { "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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 140}
!10 = !{!"THREADPOOL", !7, i64 0, !7, i64 40, !7, i64 88, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156, !12, i64 160, !14, i64 184, !14, i64 280, !14, i64 376, !6, i64 472, !16, i64 480, !17, i64 520}
!11 = !{!"int", !7, i64 0}
!12 = !{!"FREELIST", !6, i64 0, !13, i64 8, !11, i64 16, !11, i64 20}
!13 = !{!"long", !7, i64 0}
!14 = !{!"LINKEDLIST", !15, i64 0, !15, i64 24, !13, i64 48, !12, i64 56, !6, i64 80, !6, i64 88}
!15 = !{!"LISTNODE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!"THREADPOOLATTR", !11, i64 0, !11, i64 4, !13, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32}
!17 = !{!"TPOOLSTATS", !18, i64 0, !11, i64 8, !18, i64 16, !18, i64 24, !11, i64 32, !18, i64 40, !18, i64 48, !11, i64 56, !18, i64 64, !18, i64 72, !18, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116}
!18 = !{!"double", !7, i64 0}
!19 = !{i64 0, i64 8, !20, i64 8, i64 4, !21, i64 16, i64 8, !20, i64 24, i64 8, !20, i64 32, i64 4, !21, i64 40, i64 8, !20, i64 48, i64 8, !20, i64 56, i64 4, !21, i64 64, i64 8, !20, i64 72, i64 8, !20, i64 80, i64 8, !20, i64 88, i64 4, !21, i64 92, i64 4, !21, i64 96, i64 4, !21, i64 100, i64 4, !21, i64 104, i64 4, !21, i64 108, i64 4, !21, i64 112, i64 4, !21, i64 116, i64 4, !21}
!20 = !{!18, !18, i64 0}
!21 = !{!11, !11, i64 0}
!22 = !{!17, !11, i64 8}
!23 = !{!17, !18, i64 0}
!24 = !{!17, !18, i64 16}
!25 = !{!17, !11, i64 32}
!26 = !{!17, !18, i64 24}
!27 = !{!17, !18, i64 40}
!28 = !{!17, !11, i64 56}
!29 = !{!17, !18, i64 48}
!30 = !{!17, !18, i64 64}
!31 = !{!10, !11, i64 144}
!32 = !{!17, !11, i64 100}
!33 = !{!10, !11, i64 156}
!34 = !{!17, !11, i64 96}
!35 = !{!17, !11, i64 108}
!36 = !{!17, !11, i64 112}
!37 = !{!17, !11, i64 116}


; 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: nounwind
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 23) i32 @ThreadPoolGetStats(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = icmp eq ptr %0, null
  %4 = icmp eq ptr %1, null
  %or.cond = or i1 %3, %4
  br i1 %or.cond, label %62, label %5

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 140
  %7 = load i32, ptr %6, align 4, !tbaa !5
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %8, label %10

8:                                                ; preds = %5
  %9 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull %0) #4
  br label %10

10:                                               ; preds = %8, %5
  %11 = getelementptr inbounds i8, ptr %0, i64 520
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %1, ptr noundef nonnull align 8 dereferenceable(120) %11, i64 120, i1 false), !tbaa.struct !18
  %12 = getelementptr inbounds i8, ptr %1, i64 8
  %13 = load i32, ptr %12, align 8, !tbaa !21
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %15, label %19

15:                                               ; preds = %10
  %16 = load double, ptr %1, align 8, !tbaa !22
  %17 = uitofp nneg i32 %13 to double
  %18 = fdiv double %16, %17
  br label %19

19:                                               ; preds = %10, %15
  %.sink = phi double [ %18, %15 ], [ 0.000000e+00, %10 ]
  %20 = getelementptr inbounds i8, ptr %1, i64 16
  store double %.sink, ptr %20, align 8
  %21 = getelementptr inbounds i8, ptr %1, i64 32
  %22 = load i32, ptr %21, align 8, !tbaa !23
  %23 = icmp sgt i32 %22, 0
  br i1 %23, label %24, label %29

24:                                               ; preds = %19
  %25 = getelementptr inbounds i8, ptr %1, i64 24
  %26 = load double, ptr %25, align 8, !tbaa !24
  %27 = uitofp nneg i32 %22 to double
  %28 = fdiv double %26, %27
  br label %29

29:                                               ; preds = %19, %24
  %.sink40 = phi double [ %28, %24 ], [ 0.000000e+00, %19 ]
  %30 = getelementptr inbounds i8, ptr %1, i64 40
  store double %.sink40, ptr %30, align 8
  %31 = getelementptr inbounds i8, ptr %1, i64 56
  %32 = load i32, ptr %31, align 8, !tbaa !25
  %33 = icmp sgt i32 %32, 0
  br i1 %33, label %34, label %39

34:                                               ; preds = %29
  %35 = getelementptr inbounds i8, ptr %1, i64 48
  %36 = load double, ptr %35, align 8, !tbaa !26
  %37 = uitofp nneg i32 %32 to double
  %38 = fdiv double %36, %37
  br label %39

39:                                               ; preds = %29, %34
  %.sink41 = phi double [ %38, %34 ], [ 0.000000e+00, %29 ]
  %40 = getelementptr inbounds i8, ptr %1, i64 64
  store double %.sink41, ptr %40, align 8
  %41 = getelementptr inbounds i8, ptr %0, i64 144
  %42 = load i32, ptr %41, align 8, !tbaa !27
  %43 = getelementptr inbounds i8, ptr %1, i64 100
  store i32 %42, ptr %43, align 4, !tbaa !28
  %44 = getelementptr inbounds i8, ptr %0, i64 156
  %45 = load i32, ptr %44, align 4, !tbaa !29
  %46 = getelementptr inbounds i8, ptr %1, i64 96
  store i32 %45, ptr %46, align 8, !tbaa !30
  %47 = getelementptr inbounds i8, ptr %0, i64 376
  %48 = tail call i64 @ListSize(ptr noundef nonnull %47) #4
  %49 = trunc i64 %48 to i32
  %50 = getelementptr inbounds i8, ptr %1, i64 108
  store i32 %49, ptr %50, align 4, !tbaa !31
  %51 = getelementptr inbounds i8, ptr %0, i64 184
  %52 = tail call i64 @ListSize(ptr noundef nonnull %51) #4
  %53 = trunc i64 %52 to i32
  %54 = getelementptr inbounds i8, ptr %1, i64 112
  store i32 %53, ptr %54, align 8, !tbaa !32
  %55 = getelementptr inbounds i8, ptr %0, i64 280
  %56 = tail call i64 @ListSize(ptr noundef nonnull %55) #4
  %57 = trunc i64 %56 to i32
  %58 = getelementptr inbounds i8, ptr %1, i64 116
  store i32 %57, ptr %58, align 4, !tbaa !33
  %59 = load i32, ptr %6, align 4, !tbaa !5
  %.not39 = icmp eq i32 %59, 0
  br i1 %.not39, label %60, label %62

60:                                               ; preds = %39
  %61 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %0) #4
  br label %62

62:                                               ; preds = %39, %60, %2
  %.0 = phi i32 [ 22, %2 ], [ 0, %60 ], [ 0, %39 ]
  ret i32 %.0
}

declare i64 @ListSize(ptr noundef) local_unnamed_addr #3

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { "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, !9, i64 140}
!6 = !{!"THREADPOOL", !7, i64 0, !7, i64 40, !7, i64 88, !9, i64 136, !9, i64 140, !9, i64 144, !9, i64 148, !9, i64 152, !9, i64 156, !10, i64 160, !13, i64 184, !13, i64 280, !13, i64 376, !11, i64 472, !15, i64 480, !16, i64 520}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = !{!"FREELIST", !11, i64 0, !12, i64 8, !9, i64 16, !9, i64 20}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"LINKEDLIST", !14, i64 0, !14, i64 24, !12, i64 48, !10, i64 56, !11, i64 80, !11, i64 88}
!14 = !{!"LISTNODE", !11, i64 0, !11, i64 8, !11, i64 16}
!15 = !{!"THREADPOOLATTR", !9, i64 0, !9, i64 4, !12, i64 8, !9, i64 16, !9, i64 20, !9, i64 24, !9, i64 28, !9, i64 32}
!16 = !{!"TPOOLSTATS", !17, i64 0, !9, i64 8, !17, i64 16, !17, i64 24, !9, i64 32, !17, i64 40, !17, i64 48, !9, i64 56, !17, i64 64, !17, i64 72, !17, i64 80, !9, i64 88, !9, i64 92, !9, i64 96, !9, i64 100, !9, i64 104, !9, i64 108, !9, i64 112, !9, i64 116}
!17 = !{!"double", !7, i64 0}
!18 = !{i64 0, i64 8, !19, i64 8, i64 4, !20, i64 16, i64 8, !19, i64 24, i64 8, !19, i64 32, i64 4, !20, i64 40, i64 8, !19, i64 48, i64 8, !19, i64 56, i64 4, !20, i64 64, i64 8, !19, i64 72, i64 8, !19, i64 80, i64 8, !19, i64 88, i64 4, !20, i64 92, i64 4, !20, i64 96, i64 4, !20, i64 100, i64 4, !20, i64 104, i64 4, !20, i64 108, i64 4, !20, i64 112, i64 4, !20, i64 116, i64 4, !20}
!19 = !{!17, !17, i64 0}
!20 = !{!9, !9, i64 0}
!21 = !{!16, !9, i64 8}
!22 = !{!16, !17, i64 0}
!23 = !{!16, !9, i64 32}
!24 = !{!16, !17, i64 24}
!25 = !{!16, !9, i64 56}
!26 = !{!16, !17, i64 48}
!27 = !{!6, !9, i64 144}
!28 = !{!16, !9, i64 100}
!29 = !{!6, !9, i64 156}
!30 = !{!16, !9, i64 96}
!31 = !{!16, !9, i64 108}
!32 = !{!16, !9, i64 112}
!33 = !{!16, !9, i64 116}


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