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

; 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.TIMERTHREAD = type { %union.pthread_mutex_t, %union.pthread_cond_t, i32, %struct.LINKEDLIST, i32, %struct.FREELIST, ptr }
%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.LINKEDLIST = type { %struct.LISTNODE, %struct.LISTNODE, i64, %struct.FREELIST, ptr, ptr }
%struct.LISTNODE = type { ptr, ptr, ptr }
%struct.FREELIST = type { ptr, i64, i32, i32 }
%struct.TIMEREVENT = type { %struct.THREADPOOLJOB, i64, i32, i32 }
%struct.THREADPOOLJOB = type { ptr, ptr, ptr, %struct.timeval, i32, i32 }
%struct.timeval = type { i64, i64 }

@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@__PRETTY_FUNCTION__.TimerThreadShutdown = external hidden unnamed_addr constant [39 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

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

; Function Attrs: nounwind
declare i32 @pthread_cond_destroy(ptr noundef) #2

; Function Attrs: nounwind
declare i32 @pthread_mutex_destroy(ptr noundef) #2

declare i32 @FreeListDestroy(ptr noundef) #3

declare i32 @ListDestroy(ptr noundef, i32 noundef) #3

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

declare ptr @ListHead(ptr noundef) #3

declare ptr @ListNext(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden void @FreeTimerEvent(ptr noundef, ptr noundef) #4

declare ptr @ListDelNode(ptr noundef, ptr noundef, i32 noundef) #3

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

10:                                               ; preds = %1
  br label %12

11:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 360, ptr noundef @__PRETTY_FUNCTION__.TimerThreadShutdown) #6
  unreachable

12:                                               ; preds = %10
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = icmp eq ptr %13, null
  br i1 %14, label %15, label %16

15:                                               ; preds = %12
  store i32 22, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %97

16:                                               ; preds = %12
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.TIMERTHREAD, ptr %17, i32 0, i32 0
  %19 = call i32 @pthread_mutex_lock(ptr noundef %18) #5
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.TIMERTHREAD, ptr %20, i32 0, i32 4
  store i32 1, ptr %21, align 8, !tbaa !9
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.TIMERTHREAD, ptr %22, i32 0, i32 3
  %24 = call ptr @ListHead(ptr noundef %23)
  store ptr %24, ptr %5, align 8, !tbaa !5
  br label %25

25:                                               ; preds = %54, %16
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = icmp ne ptr %26, null
  br i1 %27, label %28, label %58

28:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.LISTNODE, ptr %29, i32 0, i32 2
  %31 = load ptr, ptr %30, align 8, !tbaa !16
  store ptr %31, ptr %7, align 8, !tbaa !5
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.TIMERTHREAD, ptr %32, i32 0, i32 3
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = call ptr @ListNext(ptr noundef %33, ptr noundef %34)
  store ptr %35, ptr %4, align 8, !tbaa !5
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.TIMERTHREAD, ptr %36, i32 0, i32 3
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = call ptr @ListDelNode(ptr noundef %37, ptr noundef %38, i32 noundef 0)
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.TIMEREVENT, ptr %40, i32 0, i32 0
  %42 = getelementptr inbounds %struct.THREADPOOLJOB, ptr %41, i32 0, i32 2
  %43 = load ptr, ptr %42, align 8, !tbaa !17
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %54

45:                                               ; preds = %28
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.TIMEREVENT, ptr %46, i32 0, i32 0
  %48 = getelementptr inbounds %struct.THREADPOOLJOB, ptr %47, i32 0, i32 2
  %49 = load ptr, ptr %48, align 8, !tbaa !17
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.TIMEREVENT, ptr %50, i32 0, i32 0
  %52 = getelementptr inbounds %struct.THREADPOOLJOB, ptr %51, i32 0, i32 1
  %53 = load ptr, ptr %52, align 8, !tbaa !21
  call void %49(ptr noundef %53)
  br label %54

54:                                               ; preds = %45, %28
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  call void @FreeTimerEvent(ptr noundef %55, ptr noundef %56)
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %57, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %25, !llvm.loop !22

58:                                               ; preds = %25
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.TIMERTHREAD, ptr %59, i32 0, i32 3
  %61 = call i32 @ListDestroy(ptr noundef %60, i32 noundef 0)
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.TIMERTHREAD, ptr %62, i32 0, i32 5
  %64 = call i32 @FreeListDestroy(ptr noundef %63)
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.TIMERTHREAD, ptr %65, i32 0, i32 1
  %67 = call i32 @pthread_cond_broadcast(ptr noundef %66) #5
  br label %68

68:                                               ; preds = %73, %58
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.TIMERTHREAD, ptr %69, i32 0, i32 4
  %71 = load i32, ptr %70, align 8, !tbaa !9
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %79

73:                                               ; preds = %68
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.TIMERTHREAD, ptr %74, i32 0, i32 1
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.TIMERTHREAD, ptr %76, i32 0, i32 0
  %78 = call i32 @pthread_cond_wait(ptr noundef %75, ptr noundef %77)
  br label %68, !llvm.loop !24

79:                                               ; preds = %68
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.TIMERTHREAD, ptr %80, i32 0, i32 0
  %82 = call i32 @pthread_mutex_unlock(ptr noundef %81) #5
  br label %83

83:                                               ; preds = %88, %79
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.TIMERTHREAD, ptr %84, i32 0, i32 1
  %86 = call i32 @pthread_cond_destroy(ptr noundef %85) #5
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %89

88:                                               ; preds = %83
  br label %83, !llvm.loop !25

89:                                               ; preds = %83
  br label %90

90:                                               ; preds = %95, %89
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.TIMERTHREAD, ptr %91, i32 0, i32 0
  %93 = call i32 @pthread_mutex_destroy(ptr noundef %92) #5
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %96

95:                                               ; preds = %90
  br label %90, !llvm.loop !26

96:                                               ; preds = %90
  store i32 0, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %97

97:                                               ; preds = %96, %15
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  %98 = load i32, ptr %2, align 4
  ret i32 %98
}

; Function Attrs: nounwind
declare i32 @pthread_cond_broadcast(ptr noundef) #2

declare i32 @pthread_cond_wait(ptr noundef, ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn 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 "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 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 #5 = { nounwind }
attributes #6 = { noreturn 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 192}
!10 = !{!"TIMERTHREAD", !7, i64 0, !7, i64 40, !11, i64 88, !12, i64 96, !11, i64 192, !15, i64 200, !6, i64 224}
!11 = !{!"int", !7, i64 0}
!12 = !{!"LINKEDLIST", !13, i64 0, !13, i64 24, !14, i64 48, !15, i64 56, !6, i64 80, !6, i64 88}
!13 = !{!"LISTNODE", !6, i64 0, !6, i64 8, !6, i64 16}
!14 = !{!"long", !7, i64 0}
!15 = !{!"FREELIST", !6, i64 0, !14, i64 8, !11, i64 16, !11, i64 20}
!16 = !{!13, !6, i64 16}
!17 = !{!18, !6, i64 16}
!18 = !{!"TIMEREVENT", !19, i64 0, !14, i64 48, !11, i64 56, !11, i64 60}
!19 = !{!"THREADPOOLJOB", !6, i64 0, !6, i64 8, !6, i64 16, !20, i64 24, !11, i64 40, !11, i64 44}
!20 = !{!"timeval", !14, i64 0, !14, i64 8}
!21 = !{!18, !6, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = distinct !{!25, !23}
!26 = distinct !{!26, !23}


; 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 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@__PRETTY_FUNCTION__.TimerThreadShutdown = external hidden unnamed_addr constant [39 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind
declare i32 @pthread_cond_destroy(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind
declare i32 @pthread_mutex_destroy(ptr noundef) local_unnamed_addr #1

declare i32 @FreeListDestroy(ptr noundef) local_unnamed_addr #2

declare i32 @ListDestroy(ptr noundef, i32 noundef) local_unnamed_addr #2

declare ptr @ListHead(ptr noundef) local_unnamed_addr #2

declare ptr @ListNext(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden void @FreeTimerEvent(ptr noundef, ptr noundef) local_unnamed_addr #3

declare ptr @ListDelNode(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @TimerThreadShutdown(ptr noundef %0) local_unnamed_addr #3 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %2, label %3

2:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 360, ptr noundef nonnull @__PRETTY_FUNCTION__.TimerThreadShutdown) #4
  unreachable

3:                                                ; preds = %1
  %4 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull %0) #5
  %5 = getelementptr inbounds i8, ptr %0, i64 192
  store i32 1, ptr %5, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 96
  %7 = tail call ptr @ListHead(ptr noundef nonnull %6) #5
  %.not2934 = icmp eq ptr %7, null
  br i1 %.not2934, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %3, %17
  %.02635 = phi ptr [ %10, %17 ], [ %7, %3 ]
  %8 = getelementptr inbounds i8, ptr %.02635, i64 16
  %9 = load ptr, ptr %8, align 8, !tbaa !15
  %10 = tail call ptr @ListNext(ptr noundef nonnull %6, ptr noundef nonnull %.02635) #5
  %11 = tail call ptr @ListDelNode(ptr noundef nonnull %6, ptr noundef nonnull %.02635, i32 noundef 0) #5
  %12 = getelementptr inbounds i8, ptr %9, i64 16
  %13 = load ptr, ptr %12, align 8, !tbaa !16
  %.not33 = icmp eq ptr %13, null
  br i1 %.not33, label %17, label %14

14:                                               ; preds = %.lr.ph
  %15 = getelementptr inbounds i8, ptr %9, i64 8
  %16 = load ptr, ptr %15, align 8, !tbaa !20
  tail call void %13(ptr noundef %16) #5
  br label %17

17:                                               ; preds = %14, %.lr.ph
  tail call void @FreeTimerEvent(ptr noundef nonnull %0, ptr noundef nonnull %9)
  %.not29 = icmp eq ptr %10, null
  br i1 %.not29, label %._crit_edge, label %.lr.ph, !llvm.loop !21

._crit_edge:                                      ; preds = %17, %3
  %18 = tail call i32 @ListDestroy(ptr noundef nonnull %6, i32 noundef 0) #5
  %19 = getelementptr inbounds i8, ptr %0, i64 200
  %20 = tail call i32 @FreeListDestroy(ptr noundef nonnull %19) #5
  %21 = getelementptr inbounds i8, ptr %0, i64 40
  %22 = tail call i32 @pthread_cond_broadcast(ptr noundef nonnull %21) #5
  %23 = load i32, ptr %5, align 8, !tbaa !5
  %.not3036 = icmp eq i32 %23, 0
  br i1 %.not3036, label %._crit_edge39, label %.lr.ph38

.lr.ph38:                                         ; preds = %._crit_edge, %.lr.ph38
  %24 = tail call i32 @pthread_cond_wait(ptr noundef nonnull %21, ptr noundef nonnull %0) #5
  %25 = load i32, ptr %5, align 8, !tbaa !5
  %.not30 = icmp eq i32 %25, 0
  br i1 %.not30, label %._crit_edge39, label %.lr.ph38, !llvm.loop !23

._crit_edge39:                                    ; preds = %.lr.ph38, %._crit_edge
  %26 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %0) #5
  br label %27

27:                                               ; preds = %27, %._crit_edge39
  %28 = tail call i32 @pthread_cond_destroy(ptr noundef nonnull %21) #5
  %.not31 = icmp eq i32 %28, 0
  br i1 %.not31, label %.preheader, label %27, !llvm.loop !24

.preheader:                                       ; preds = %27, %.preheader
  %29 = tail call i32 @pthread_mutex_destroy(ptr noundef nonnull %0) #5
  %.not32 = icmp eq i32 %29, 0
  br i1 %.not32, label %30, label %.preheader, !llvm.loop !25

30:                                               ; preds = %.preheader
  ret i32 0
}

; Function Attrs: nounwind
declare i32 @pthread_cond_broadcast(ptr noundef) local_unnamed_addr #1

declare i32 @pthread_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { noreturn 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 = { 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 = { "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 = { noreturn nounwind }
attributes #5 = { 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 192}
!6 = !{!"TIMERTHREAD", !7, i64 0, !7, i64 40, !9, i64 88, !10, i64 96, !9, i64 192, !14, i64 200, !12, i64 224}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = !{!"LINKEDLIST", !11, i64 0, !11, i64 24, !13, i64 48, !14, i64 56, !12, i64 80, !12, i64 88}
!11 = !{!"LISTNODE", !12, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"FREELIST", !12, i64 0, !13, i64 8, !9, i64 16, !9, i64 20}
!15 = !{!11, !12, i64 16}
!16 = !{!17, !12, i64 16}
!17 = !{!"TIMEREVENT", !18, i64 0, !13, i64 48, !9, i64 56, !9, i64 60}
!18 = !{!"THREADPOOLJOB", !12, i64 0, !12, i64 8, !12, i64 16, !19, i64 24, !9, i64 40, !9, i64 44}
!19 = !{!"timeval", !13, i64 0, !13, i64 8}
!20 = !{!17, !12, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = distinct !{!24, !22}
!25 = distinct !{!25, !22}


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