; LLVM IR from JayXon/Leanify :: main (main)

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.tf::Taskflow" = type { %"class.tf::FlowBuilder", %"class.std::mutex", %"class.std::__cxx11::basic_string", %"class.tf::Graph", %"class.std::queue", %"class.std::optional" }
%"class.tf::FlowBuilder" = type { ptr }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%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 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.tf::Graph" = type { %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<tf::Node *, std::allocator<tf::Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<tf::Node *, std::allocator<tf::Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<tf::Node *, std::allocator<tf::Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tf::Node *, std::allocator<tf::Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<std::shared_ptr<tf::Topology>, std::allocator<std::shared_ptr<tf::Topology>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::shared_ptr<tf::Topology>, std::allocator<std::shared_ptr<tf::Topology>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::shared_ptr<tf::Topology>, std::allocator<std::shared_ptr<tf::Topology>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::shared_ptr<tf::Topology>, std::allocator<std::shared_ptr<tf::Topology>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload_base.base", [7 x i8] }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<std::_List_iterator<tf::Taskflow>>::_Storage", i8 }>
%"union.std::_Optional_payload_base<std::_List_iterator<tf::Taskflow>>::_Storage" = type { %"struct.std::_List_iterator" }
%"struct.std::_List_iterator" = type { ptr }
%"class.tf::Executor" = type { i64, %"class.std::condition_variable", %"class.std::mutex", %"class.std::mutex", %"class.std::mutex", %"class.std::mutex", i64, %"class.std::unordered_map", %"class.std::vector.16", %"class.std::vector.21", %"class.std::__cxx11::list", %"class.std::unordered_set", %"class.tf::Notifier", [72 x i8], %"class.tf::TaskQueue", %"struct.std::atomic.62", %"class.std::shared_ptr", %"class.std::unordered_set.64", [48 x i8] }
%"class.std::condition_variable" = type { %"class.std::__condvar" }
%"class.std::__condvar" = type { %union.pthread_cond_t }
%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 }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl" }
%"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<tf::Worker, std::allocator<tf::Worker>>::_Vector_impl" }
%"struct.std::_Vector_base<tf::Worker, std::allocator<tf::Worker>>::_Vector_impl" = type { %"struct.std::_Vector_base<tf::Worker, std::allocator<tf::Worker>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tf::Worker, std::allocator<tf::Worker>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<tf::Taskflow, std::allocator<tf::Taskflow>>::_List_impl" }
%"struct.std::__cxx11::_List_base<tf::Taskflow, std::allocator<tf::Taskflow>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::unordered_set" = type { %"class.std::_Hashtable.29" }
%"class.std::_Hashtable.29" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.tf::Notifier" = type { %"struct.std::atomic", %"class.std::vector.48" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i64 }
%"class.std::vector.48" = type { %"struct.std::_Vector_base.49" }
%"struct.std::_Vector_base.49" = type { %"struct.std::_Vector_base<tf::Notifier::Waiter, std::allocator<tf::Notifier::Waiter>>::_Vector_impl" }
%"struct.std::_Vector_base<tf::Notifier::Waiter, std::allocator<tf::Notifier::Waiter>>::_Vector_impl" = type { %"struct.std::_Vector_base<tf::Notifier::Waiter, std::allocator<tf::Notifier::Waiter>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tf::Notifier::Waiter, std::allocator<tf::Notifier::Waiter>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.tf::TaskQueue" = type { [3 x %"struct.tf::CachelineAligned"], [3 x %"struct.tf::CachelineAligned"], [3 x %"struct.std::atomic.55"], [3 x %"class.std::vector.57"], [32 x i8] }
%"struct.tf::CachelineAligned" = type { %"struct.std::atomic.53", [120 x i8] }
%"struct.std::atomic.53" = type { %"struct.std::__atomic_base.54" }
%"struct.std::__atomic_base.54" = type { i64 }
%"struct.std::atomic.55" = type { %"struct.std::__atomic_base.56" }
%"struct.std::__atomic_base.56" = type { ptr }
%"class.std::vector.57" = type { %"struct.std::_Vector_base.58" }
%"struct.std::_Vector_base.58" = type { %"struct.std::_Vector_base<tf::TaskQueue<tf::Node *>::Array *, std::allocator<tf::TaskQueue<tf::Node *>::Array *>>::_Vector_impl" }
%"struct.std::_Vector_base<tf::TaskQueue<tf::Node *>::Array *, std::allocator<tf::TaskQueue<tf::Node *>::Array *>>::_Vector_impl" = type { %"struct.std::_Vector_base<tf::TaskQueue<tf::Node *>::Array *, std::allocator<tf::TaskQueue<tf::Node *>::Array *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tf::TaskQueue<tf::Node *>::Array *, std::allocator<tf::TaskQueue<tf::Node *>::Array *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::atomic.62" = type { %"struct.std::__atomic_base.63" }
%"struct.std::__atomic_base.63" = type { i8 }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::unordered_set.64" = type { %"class.std::_Hashtable.65" }
%"class.std::_Hashtable.65" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.tf::Future" = type { %"class.std::future", %"class.std::variant" }
%"class.std::future" = type { %"class.std::__basic_future" }
%"class.std::__basic_future" = type { %"class.std::shared_ptr.84" }
%"class.std::shared_ptr.84" = type { %"class.std::__shared_ptr.85" }
%"class.std::__shared_ptr.85" = type { ptr, %"class.std::__shared_count" }
%"class.std::variant" = type { %"struct.std::__detail::__variant::_Variant_base.base", [7 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base" = type { %"struct.std::__detail::__variant::_Move_assign_base.base" }
%"struct.std::__detail::__variant::_Move_assign_base.base" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base" }
%"struct.std::__detail::__variant::_Copy_assign_base.base" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base" }
%"struct.std::__detail::__variant::_Move_ctor_base.base" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base" = type { %"struct.std::__detail::__variant::_Variant_storage.base" }
%"struct.std::__detail::__variant::_Variant_storage.base" = type { %"union.std::__detail::__variant::_Variadic_union", i8 }
%"union.std::__detail::__variant::_Variadic_union" = type { %"union.std::__detail::__variant::_Variadic_union.87" }
%"union.std::__detail::__variant::_Variadic_union.87" = type { %"struct.std::__detail::__variant::_Uninitialized.88" }
%"struct.std::__detail::__variant::_Uninitialized.88" = type { %"struct.__gnu_cxx::__aligned_membuf" }
%"struct.__gnu_cxx::__aligned_membuf" = type { [16 x i8] }

@is_fast = external dso_local global i8, align 1
@is_verbose = external dso_local global i8, align 1
@iterations = external dso_local global i32, align 4
@zopflipng_lossy_transparent = external dso_local global i8, align 1
@depth = external dso_local global i32, align 4
@max_depth = external dso_local global i32, align 4
@parallel_processing = external dso_local global i8, align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@taskflow = external dso_local global %"class.tf::Taskflow", align 8
@.str.15 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [10 x i8], align 1
@_ZN4Jpeg10keep_exif_E = external global i8, align 1
@.str.24 = external hidden unnamed_addr constant [9 x i8], align 1
@_ZN4Jpeg17keep_icc_profile_E = external global i8, align 1
@_ZN3Png17keep_icc_profile_E = external global i8, align 1
@.str.25 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN4Jpeg18keep_all_metadata_E = external global i8, align 1
@.str.26 = external hidden unnamed_addr constant [16 x i8], align 1
@_ZN4Jpeg24force_arithmetic_coding_E = external global i8, align 1
@.str.27 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [12 x i8], align 1
@_ZN3Zip14force_deflate_E = external global i8, align 1
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [23 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

; 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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z18PauseIfNotTerminalv() #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9PrintInfov() #3

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #5 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca %"class.tf::Executor", align 128
  %12 = alloca %"class.std::shared_ptr", align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.tf::Future", align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  store i8 0, ptr @is_fast, align 1, !tbaa !11
  store i8 0, ptr @is_verbose, align 1, !tbaa !11
  store i32 15, ptr @iterations, align 4, !tbaa !5
  store i32 1, ptr @depth, align 4, !tbaa !5
  store i32 2147483647, ptr @max_depth, align 4, !tbaa !5
  store i8 1, ptr @zopflipng_lossy_transparent, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %16

16:                                               ; preds = %399, %2
  %17 = load i32, ptr %6, align 4, !tbaa !5
  %18 = load i32, ptr %4, align 4, !tbaa !5
  %19 = icmp slt i32 %17, %18
  br i1 %19, label %20, label %30

20:                                               ; preds = %16
  %21 = load ptr, ptr %5, align 8, !tbaa !9
  %22 = load i32, ptr %6, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds ptr, ptr %21, i64 %23
  %25 = load ptr, ptr %24, align 8, !tbaa !9
  %26 = getelementptr inbounds i8, ptr %25, i64 0
  %27 = load i8, ptr %26, align 1, !tbaa !13
  %28 = sext i8 %27 to i32
  %29 = icmp eq i32 %28, 45
  br label %30

30:                                               ; preds = %20, %16
  %31 = phi i1 [ false, %16 ], [ %29, %20 ]
  br i1 %31, label %32, label %402

32:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  store i32 1, ptr %8, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %387, %32
  %34 = load ptr, ptr %5, align 8, !tbaa !9
  %35 = load i32, ptr %6, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds ptr, ptr %34, i64 %36
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = load i32, ptr %8, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds i8, ptr %38, i64 %40
  %42 = load i8, ptr %41, align 1, !tbaa !13
  %43 = icmp ne i8 %42, 0
  br i1 %43, label %45, label %44

44:                                               ; preds = %33
  store i32 5, ptr %9, align 4
  br label %390

45:                                               ; preds = %33
  %46 = load ptr, ptr %5, align 8, !tbaa !9
  %47 = load i32, ptr %6, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds ptr, ptr %46, i64 %48
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  %51 = load i32, ptr %8, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds i8, ptr %50, i64 %52
  %54 = load i8, ptr %53, align 1, !tbaa !13
  %55 = sext i8 %54 to i32
  switch i32 %55, label %373 [
    i32 102, label %56
    i32 105, label %57
    i32 100, label %80
    i32 113, label %103
    i32 118, label %108
    i32 112, label %113
    i32 45, label %114
  ]

56:                                               ; preds = %45
  store i8 1, ptr @is_fast, align 1, !tbaa !11
  br label %386

57:                                               ; preds = %45
  %58 = load i32, ptr %6, align 4, !tbaa !5
  %59 = load i32, ptr %4, align 4, !tbaa !5
  %60 = sub nsw i32 %59, 1
  %61 = icmp slt i32 %58, %60
  br i1 %61, label %62, label %79

62:                                               ; preds = %57
  %63 = load ptr, ptr %5, align 8, !tbaa !9
  %64 = load i32, ptr %6, align 4, !tbaa !5
  %65 = load i32, ptr %7, align 4, !tbaa !5
  %66 = add nsw i32 %65, 1
  store i32 %66, ptr %7, align 4, !tbaa !5
  %67 = add nsw i32 %64, %66
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds ptr, ptr %63, i64 %68
  %70 = load ptr, ptr %69, align 8, !tbaa !9
  %71 = call i64 @strtol(ptr noundef %70, ptr noundef null, i32 noundef 10) #9
  %72 = trunc i64 %71 to i32
  store i32 %72, ptr @iterations, align 4, !tbaa !5
  %73 = load i32, ptr @iterations, align 4, !tbaa !5
  %74 = icmp eq i32 %73, 0
  br i1 %74, label %75, label %78

75:                                               ; preds = %62
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.15)
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @_Z9PrintInfov()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %390

78:                                               ; preds = %62
  br label %79

79:                                               ; preds = %78, %57
  br label %386

80:                                               ; preds = %45
  %81 = load i32, ptr %6, align 4, !tbaa !5
  %82 = load i32, ptr %4, align 4, !tbaa !5
  %83 = sub nsw i32 %82, 1
  %84 = icmp slt i32 %81, %83
  br i1 %84, label %85, label %102

85:                                               ; preds = %80
  %86 = load ptr, ptr %5, align 8, !tbaa !9
  %87 = load i32, ptr %6, align 4, !tbaa !5
  %88 = load i32, ptr %7, align 4, !tbaa !5
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr %7, align 4, !tbaa !5
  %90 = add nsw i32 %87, %89
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds ptr, ptr %86, i64 %91
  %93 = load ptr, ptr %92, align 8, !tbaa !9
  %94 = call i64 @strtol(ptr noundef %93, ptr noundef null, i32 noundef 10) #9
  %95 = trunc i64 %94 to i32
  store i32 %95, ptr @max_depth, align 4, !tbaa !5
  %96 = load i32, ptr @max_depth, align 4, !tbaa !5
  %97 = icmp eq i32 %96, 0
  br i1 %97, label %98, label %101

98:                                               ; preds = %85
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.16)
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @_Z9PrintInfov()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %390

101:                                              ; preds = %85
  br label %102

102:                                              ; preds = %101, %80
  br label %386

103:                                              ; preds = %45
  %104 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !14
  %105 = getelementptr i8, ptr %104, i64 -24
  %106 = load i64, ptr %105, align 8
  %107 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %106
  call void @_ZNSt9basic_iosIcSt11char_traitsIcEE8setstateESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %107, i32 noundef 4)
  store i8 0, ptr @is_verbose, align 1, !tbaa !11
  br label %386

108:                                              ; preds = %45
  %109 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !14
  %110 = getelementptr i8, ptr %109, i64 -24
  %111 = load i64, ptr %110, align 8
  %112 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %111
  call void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %112, i32 noundef 0)
  store i8 1, ptr @is_verbose, align 1, !tbaa !11
  br label %386

113:                                              ; preds = %45
  store i8 1, ptr @parallel_processing, align 1, !tbaa !11
  br label %386

114:                                              ; preds = %45
  %115 = load ptr, ptr %5, align 8, !tbaa !9
  %116 = load i32, ptr %6, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds ptr, ptr %115, i64 %117
  %119 = load ptr, ptr %118, align 8, !tbaa !9
  %120 = load i32, ptr %8, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds i8, ptr %119, i64 %121
  %123 = getelementptr inbounds i8, ptr %122, i64 1
  %124 = call i32 @strcmp(ptr noundef %123, ptr noundef @.str.17) #10
  %125 = icmp eq i32 %124, 0
  br i1 %125, label %126, label %138

126:                                              ; preds = %114
  %127 = load i32, ptr %8, align 4, !tbaa !5
  %128 = add nsw i32 %127, 7
  store i32 %128, ptr %8, align 4, !tbaa !5
  %129 = load ptr, ptr %5, align 8, !tbaa !9
  %130 = load i32, ptr %6, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds ptr, ptr %129, i64 %131
  %133 = load ptr, ptr %132, align 8, !tbaa !9
  %134 = load i32, ptr %8, align 4, !tbaa !5
  %135 = add nsw i32 %134, 1
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds i8, ptr %133, i64 %136
  store i8 102, ptr %137, align 1, !tbaa !13
  br label %372

138:                                              ; preds = %114
  %139 = load ptr, ptr %5, align 8, !tbaa !9
  %140 = load i32, ptr %6, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds ptr, ptr %139, i64 %141
  %143 = load ptr, ptr %142, align 8, !tbaa !9
  %144 = load i32, ptr %8, align 4, !tbaa !5
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds i8, ptr %143, i64 %145
  %147 = getelementptr inbounds i8, ptr %146, i64 1
  %148 = call i32 @strcmp(ptr noundef %147, ptr noundef @.str.18) #10
  %149 = icmp eq i32 %148, 0
  br i1 %149, label %150, label %162

150:                                              ; preds = %138
  %151 = load i32, ptr %8, align 4, !tbaa !5
  %152 = add nsw i32 %151, 8
  store i32 %152, ptr %8, align 4, !tbaa !5
  %153 = load ptr, ptr %5, align 8, !tbaa !9
  %154 = load i32, ptr %6, align 4, !tbaa !5
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds ptr, ptr %153, i64 %155
  %157 = load ptr, ptr %156, align 8, !tbaa !9
  %158 = load i32, ptr %8, align 4, !tbaa !5
  %159 = add nsw i32 %158, 1
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds i8, ptr %157, i64 %160
  store i8 105, ptr %161, align 1, !tbaa !13
  br label %371

162:                                              ; preds = %138
  %163 = load ptr, ptr %5, align 8, !tbaa !9
  %164 = load i32, ptr %6, align 4, !tbaa !5
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds ptr, ptr %163, i64 %165
  %167 = load ptr, ptr %166, align 8, !tbaa !9
  %168 = load i32, ptr %8, align 4, !tbaa !5
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds i8, ptr %167, i64 %169
  %171 = getelementptr inbounds i8, ptr %170, i64 1
  %172 = call i32 @strcmp(ptr noundef %171, ptr noundef @.str.19) #10
  %173 = icmp eq i32 %172, 0
  br i1 %173, label %174, label %186

174:                                              ; preds = %162
  %175 = load i32, ptr %8, align 4, !tbaa !5
  %176 = add nsw i32 %175, 8
  store i32 %176, ptr %8, align 4, !tbaa !5
  %177 = load ptr, ptr %5, align 8, !tbaa !9
  %178 = load i32, ptr %6, align 4, !tbaa !5
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds ptr, ptr %177, i64 %179
  %181 = load ptr, ptr %180, align 8, !tbaa !9
  %182 = load i32, ptr %8, align 4, !tbaa !5
  %183 = add nsw i32 %182, 1
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds i8, ptr %181, i64 %184
  store i8 100, ptr %185, align 1, !tbaa !13
  br label %370

186:                                              ; preds = %162
  %187 = load ptr, ptr %5, align 8, !tbaa !9
  %188 = load i32, ptr %6, align 4, !tbaa !5
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds ptr, ptr %187, i64 %189
  %191 = load ptr, ptr %190, align 8, !tbaa !9
  %192 = load i32, ptr %8, align 4, !tbaa !5
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds i8, ptr %191, i64 %193
  %195 = getelementptr inbounds i8, ptr %194, i64 1
  %196 = call i32 @strcmp(ptr noundef %195, ptr noundef @.str.20) #10
  %197 = icmp eq i32 %196, 0
  br i1 %197, label %198, label %210

198:                                              ; preds = %186
  %199 = load i32, ptr %8, align 4, !tbaa !5
  %200 = add nsw i32 %199, 4
  store i32 %200, ptr %8, align 4, !tbaa !5
  %201 = load ptr, ptr %5, align 8, !tbaa !9
  %202 = load i32, ptr %6, align 4, !tbaa !5
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds ptr, ptr %201, i64 %203
  %205 = load ptr, ptr %204, align 8, !tbaa !9
  %206 = load i32, ptr %8, align 4, !tbaa !5
  %207 = add nsw i32 %206, 1
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds i8, ptr %205, i64 %208
  store i8 113, ptr %209, align 1, !tbaa !13
  br label %369

210:                                              ; preds = %186
  %211 = load ptr, ptr %5, align 8, !tbaa !9
  %212 = load i32, ptr %6, align 4, !tbaa !5
  %213 = sext i32 %212 to i64
  %214 = getelementptr inbounds ptr, ptr %211, i64 %213
  %215 = load ptr, ptr %214, align 8, !tbaa !9
  %216 = load i32, ptr %8, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds i8, ptr %215, i64 %217
  %219 = getelementptr inbounds i8, ptr %218, i64 1
  %220 = call i32 @strcmp(ptr noundef %219, ptr noundef @.str.21) #10
  %221 = icmp eq i32 %220, 0
  br i1 %221, label %222, label %234

222:                                              ; preds = %210
  %223 = load i32, ptr %8, align 4, !tbaa !5
  %224 = add nsw i32 %223, 6
  store i32 %224, ptr %8, align 4, !tbaa !5
  %225 = load ptr, ptr %5, align 8, !tbaa !9
  %226 = load i32, ptr %6, align 4, !tbaa !5
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds ptr, ptr %225, i64 %227
  %229 = load ptr, ptr %228, align 8, !tbaa !9
  %230 = load i32, ptr %8, align 4, !tbaa !5
  %231 = add nsw i32 %230, 1
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds i8, ptr %229, i64 %232
  store i8 118, ptr %233, align 1, !tbaa !13
  br label %368

234:                                              ; preds = %210
  %235 = load ptr, ptr %5, align 8, !tbaa !9
  %236 = load i32, ptr %6, align 4, !tbaa !5
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds ptr, ptr %235, i64 %237
  %239 = load ptr, ptr %238, align 8, !tbaa !9
  %240 = load i32, ptr %8, align 4, !tbaa !5
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds i8, ptr %239, i64 %241
  %243 = getelementptr inbounds i8, ptr %242, i64 1
  %244 = call i32 @strcmp(ptr noundef %243, ptr noundef @.str.22) #10
  %245 = icmp eq i32 %244, 0
  br i1 %245, label %246, label %258

246:                                              ; preds = %234
  %247 = load i32, ptr %8, align 4, !tbaa !5
  %248 = add nsw i32 %247, 7
  store i32 %248, ptr %8, align 4, !tbaa !5
  %249 = load ptr, ptr %5, align 8, !tbaa !9
  %250 = load i32, ptr %6, align 4, !tbaa !5
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds ptr, ptr %249, i64 %251
  %253 = load ptr, ptr %252, align 8, !tbaa !9
  %254 = load i32, ptr %8, align 4, !tbaa !5
  %255 = add nsw i32 %254, 1
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds i8, ptr %253, i64 %256
  store i8 112, ptr %257, align 1, !tbaa !13
  br label %367

258:                                              ; preds = %234
  %259 = load ptr, ptr %5, align 8, !tbaa !9
  %260 = load i32, ptr %6, align 4, !tbaa !5
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds ptr, ptr %259, i64 %261
  %263 = load ptr, ptr %262, align 8, !tbaa !9
  %264 = load i32, ptr %8, align 4, !tbaa !5
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds i8, ptr %263, i64 %265
  %267 = getelementptr inbounds i8, ptr %266, i64 1
  %268 = call i32 @strcmp(ptr noundef %267, ptr noundef @.str.23) #10
  %269 = icmp eq i32 %268, 0
  br i1 %269, label %270, label %273

270:                                              ; preds = %258
  %271 = load i32, ptr %8, align 4, !tbaa !5
  %272 = add nsw i32 %271, 9
  store i32 %272, ptr %8, align 4, !tbaa !5
  store i8 1, ptr @_ZN4Jpeg10keep_exif_E, align 1, !tbaa !11
  br label %366

273:                                              ; preds = %258
  %274 = load ptr, ptr %5, align 8, !tbaa !9
  %275 = load i32, ptr %6, align 4, !tbaa !5
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds ptr, ptr %274, i64 %276
  %278 = load ptr, ptr %277, align 8, !tbaa !9
  %279 = load i32, ptr %8, align 4, !tbaa !5
  %280 = sext i32 %279 to i64
  %281 = getelementptr inbounds i8, ptr %278, i64 %280
  %282 = getelementptr inbounds i8, ptr %281, i64 1
  %283 = call i32 @strcmp(ptr noundef %282, ptr noundef @.str.24) #10
  %284 = icmp eq i32 %283, 0
  br i1 %284, label %285, label %288

285:                                              ; preds = %273
  %286 = load i32, ptr %8, align 4, !tbaa !5
  %287 = add nsw i32 %286, 8
  store i32 %287, ptr %8, align 4, !tbaa !5
  store i8 1, ptr @_ZN4Jpeg17keep_icc_profile_E, align 1, !tbaa !11
  store i8 1, ptr @_ZN3Png17keep_icc_profile_E, align 1, !tbaa !11
  br label %365

288:                                              ; preds = %273
  %289 = load ptr, ptr %5, align 8, !tbaa !9
  %290 = load i32, ptr %6, align 4, !tbaa !5
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds ptr, ptr %289, i64 %291
  %293 = load ptr, ptr %292, align 8, !tbaa !9
  %294 = load i32, ptr %8, align 4, !tbaa !5
  %295 = sext i32 %294 to i64
  %296 = getelementptr inbounds i8, ptr %293, i64 %295
  %297 = getelementptr inbounds i8, ptr %296, i64 1
  %298 = call i32 @strcmp(ptr noundef %297, ptr noundef @.str.25) #10
  %299 = icmp eq i32 %298, 0
  br i1 %299, label %300, label %303

300:                                              ; preds = %288
  %301 = load i32, ptr %8, align 4, !tbaa !5
  %302 = add nsw i32 %301, 13
  store i32 %302, ptr %8, align 4, !tbaa !5
  store i8 1, ptr @_ZN4Jpeg18keep_all_metadata_E, align 1, !tbaa !11
  br label %364

303:                                              ; preds = %288
  %304 = load ptr, ptr %5, align 8, !tbaa !9
  %305 = load i32, ptr %6, align 4, !tbaa !5
  %306 = sext i32 %305 to i64
  %307 = getelementptr inbounds ptr, ptr %304, i64 %306
  %308 = load ptr, ptr %307, align 8, !tbaa !9
  %309 = load i32, ptr %8, align 4, !tbaa !5
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds i8, ptr %308, i64 %310
  %312 = getelementptr inbounds i8, ptr %311, i64 1
  %313 = call i32 @strcmp(ptr noundef %312, ptr noundef @.str.26) #10
  %314 = icmp eq i32 %313, 0
  br i1 %314, label %315, label %318

315:                                              ; preds = %303
  %316 = load i32, ptr %8, align 4, !tbaa !5
  %317 = add nsw i32 %316, 15
  store i32 %317, ptr %8, align 4, !tbaa !5
  store i8 1, ptr @_ZN4Jpeg24force_arithmetic_coding_E, align 1, !tbaa !11
  br label %363

318:                                              ; preds = %303
  %319 = load ptr, ptr %5, align 8, !tbaa !9
  %320 = load i32, ptr %6, align 4, !tbaa !5
  %321 = sext i32 %320 to i64
  %322 = getelementptr inbounds ptr, ptr %319, i64 %321
  %323 = load ptr, ptr %322, align 8, !tbaa !9
  %324 = load i32, ptr %8, align 4, !tbaa !5
  %325 = sext i32 %324 to i64
  %326 = getelementptr inbounds i8, ptr %323, i64 %325
  %327 = getelementptr inbounds i8, ptr %326, i64 1
  %328 = call i32 @strcmp(ptr noundef %327, ptr noundef @.str.27) #10
  %329 = icmp eq i32 %328, 0
  br i1 %329, label %330, label %333

330:                                              ; preds = %318
  %331 = load i32, ptr %8, align 4, !tbaa !5
  %332 = add nsw i32 %331, 24
  store i32 %332, ptr %8, align 4, !tbaa !5
  store i8 0, ptr @zopflipng_lossy_transparent, align 1, !tbaa !11
  br label %362

333:                                              ; preds = %318
  %334 = load ptr, ptr %5, align 8, !tbaa !9
  %335 = load i32, ptr %6, align 4, !tbaa !5
  %336 = sext i32 %335 to i64
  %337 = getelementptr inbounds ptr, ptr %334, i64 %336
  %338 = load ptr, ptr %337, align 8, !tbaa !9
  %339 = load i32, ptr %8, align 4, !tbaa !5
  %340 = sext i32 %339 to i64
  %341 = getelementptr inbounds i8, ptr %338, i64 %340
  %342 = getelementptr inbounds i8, ptr %341, i64 1
  %343 = call i32 @strcmp(ptr noundef %342, ptr noundef @.str.28) #10
  %344 = icmp eq i32 %343, 0
  br i1 %344, label %345, label %348

345:                                              ; preds = %333
  %346 = load i32, ptr %8, align 4, !tbaa !5
  %347 = add nsw i32 %346, 11
  store i32 %347, ptr %8, align 4, !tbaa !5
  store i8 1, ptr @_ZN3Zip14force_deflate_E, align 1, !tbaa !11
  br label %361

348:                                              ; preds = %333
  %349 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.29)
  %350 = load ptr, ptr %5, align 8, !tbaa !9
  %351 = load i32, ptr %6, align 4, !tbaa !5
  %352 = sext i32 %351 to i64
  %353 = getelementptr inbounds ptr, ptr %350, i64 %352
  %354 = load ptr, ptr %353, align 8, !tbaa !9
  %355 = load i32, ptr %8, align 4, !tbaa !5
  %356 = sext i32 %355 to i64
  %357 = getelementptr inbounds i8, ptr %354, i64 %356
  %358 = getelementptr inbounds i8, ptr %357, i64 1
  %359 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %349, ptr noundef %358)
  %360 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %359, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @_Z9PrintInfov()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %390

361:                                              ; preds = %345
  br label %362

362:                                              ; preds = %361, %330
  br label %363

363:                                              ; preds = %362, %315
  br label %364

364:                                              ; preds = %363, %300
  br label %365

365:                                              ; preds = %364, %285
  br label %366

366:                                              ; preds = %365, %270
  br label %367

367:                                              ; preds = %366, %246
  br label %368

368:                                              ; preds = %367, %222
  br label %369

369:                                              ; preds = %368, %198
  br label %370

370:                                              ; preds = %369, %174
  br label %371

371:                                              ; preds = %370, %150
  br label %372

372:                                              ; preds = %371, %126
  br label %386

373:                                              ; preds = %45
  %374 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.29)
  %375 = load ptr, ptr %5, align 8, !tbaa !9
  %376 = load i32, ptr %6, align 4, !tbaa !5
  %377 = sext i32 %376 to i64
  %378 = getelementptr inbounds ptr, ptr %375, i64 %377
  %379 = load ptr, ptr %378, align 8, !tbaa !9
  %380 = load i32, ptr %8, align 4, !tbaa !5
  %381 = sext i32 %380 to i64
  %382 = getelementptr inbounds i8, ptr %379, i64 %381
  %383 = load i8, ptr %382, align 1, !tbaa !13
  %384 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %374, i8 noundef signext %383)
  %385 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %384, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @_Z9PrintInfov()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %390

386:                                              ; preds = %372, %113, %108, %103, %102, %79, %56
  br label %387

387:                                              ; preds = %386
  %388 = load i32, ptr %8, align 4, !tbaa !5
  %389 = add nsw i32 %388, 1
  store i32 %389, ptr %8, align 4, !tbaa !5
  br label %33, !llvm.loop !16

390:                                              ; preds = %373, %348, %98, %75, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  %391 = load i32, ptr %9, align 4
  switch i32 %391, label %396 [
    i32 5, label %392
  ]

392:                                              ; preds = %390
  %393 = load i32, ptr %7, align 4, !tbaa !5
  %394 = load i32, ptr %6, align 4, !tbaa !5
  %395 = add nsw i32 %394, %393
  store i32 %395, ptr %6, align 4, !tbaa !5
  store i32 0, ptr %9, align 4
  br label %396

396:                                              ; preds = %392, %390
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  %397 = load i32, ptr %9, align 4
  switch i32 %397, label %461 [
    i32 0, label %398
  ]

398:                                              ; preds = %396
  br label %399

399:                                              ; preds = %398
  %400 = load i32, ptr %6, align 4, !tbaa !5
  %401 = add nsw i32 %400, 1
  store i32 %401, ptr %6, align 4, !tbaa !5
  br label %16, !llvm.loop !18

402:                                              ; preds = %30
  %403 = load i8, ptr @parallel_processing, align 1, !tbaa !11, !range !19, !noundef !20
  %404 = trunc i8 %403 to i1
  br i1 %404, label %405, label %411

405:                                              ; preds = %402
  %406 = load i8, ptr @is_verbose, align 1, !tbaa !11, !range !19, !noundef !20
  %407 = trunc i8 %406 to i1
  br i1 %407, label %408, label %411

408:                                              ; preds = %405
  %409 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.30)
  %410 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %409, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @_Z9PrintInfov()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %461

411:                                              ; preds = %405, %402
  %412 = load i32, ptr %6, align 4, !tbaa !5
  %413 = load i32, ptr %4, align 4, !tbaa !5
  %414 = icmp eq i32 %412, %413
  br i1 %414, label %415, label %418

415:                                              ; preds = %411
  %416 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.31)
  %417 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %416, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @_Z9PrintInfov()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %461

418:                                              ; preds = %411
  %419 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt5fixedRSt8ios_base)
  %420 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !14
  %421 = getelementptr i8, ptr %420, i64 -24
  %422 = load i64, ptr %421, align 8
  %423 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %422
  %424 = call noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216) %423, i64 noundef 2)
  br label %425

425:                                              ; preds = %431, %418
  %426 = load ptr, ptr %5, align 8, !tbaa !9
  %427 = load i32, ptr %6, align 4, !tbaa !5
  %428 = sext i32 %427 to i64
  %429 = getelementptr inbounds ptr, ptr %426, i64 %428
  %430 = load ptr, ptr %429, align 8, !tbaa !9
  call void @_Z12TraversePathPKcPFiS0_PK4statiE(ptr noundef %430, ptr noundef @_Z22EnqueueProcessFileTaskPKcPK4stati)
  br label %431

431:                                              ; preds = %425
  %432 = load i32, ptr %6, align 4, !tbaa !5
  %433 = add nsw i32 %432, 1
  store i32 %433, ptr %6, align 4, !tbaa !5
  %434 = load i32, ptr %4, align 4, !tbaa !5
  %435 = icmp slt i32 %433, %434
  br i1 %435, label %425, label %436, !llvm.loop !21

436:                                              ; preds = %431
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  store i64 1, ptr %10, align 8, !tbaa !22
  %437 = load i8, ptr @parallel_processing, align 1, !tbaa !11, !range !19, !noundef !20
  %438 = trunc i8 %437 to i1
  br i1 %438, label %439, label %442

439:                                              ; preds = %436
  %440 = call noundef i32 @_ZNSt6thread20hardware_concurrencyEv() #9
  %441 = zext i32 %440 to i64
  store i64 %441, ptr %10, align 8, !tbaa !22
  br label %442

442:                                              ; preds = %439, %436
  call void @llvm.lifetime.start.p0(i64 1536, ptr %11) #9
  %443 = load i64, ptr %10, align 8, !tbaa !22
  call void @_ZNSt10shared_ptrIN2tf15WorkerInterfaceEEC2EDn(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr null) #9
  invoke void @_ZN2tf8ExecutorC2EmSt10shared_ptrINS_15WorkerInterfaceEE(ptr noundef nonnull align 128 dereferenceable(1488) %11, i64 noundef %443, ptr noundef %12)
          to label %444 unwind label %447

444:                                              ; preds = %442
  call void @_ZNSt12__shared_ptrIN2tf15WorkerInterfaceELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr %15) #9
  invoke void @_ZN2tf8Executor3runERNS_8TaskflowE(ptr dead_on_unwind writable sret(%"class.tf::Future") align 8 %15, ptr noundef nonnull align 128 dereferenceable(1488) %11, ptr noundef nonnull align 8 dereferenceable(200) @taskflow)
          to label %445 unwind label %451

445:                                              ; preds = %444
  invoke void @_ZNKSt14__basic_futureIvE4waitEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %446 unwind label %455

446:                                              ; preds = %445
  call void @_ZN2tf6FutureIvED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %15) #9
  call void @_Z18PauseIfNotTerminalv()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  call void @_ZN2tf8ExecutorD2Ev(ptr noundef nonnull align 128 dereferenceable(1488) %11) #9
  call void @llvm.lifetime.end.p0(i64 1536, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  br label %461

447:                                              ; preds = %442
  %448 = landingpad { ptr, i32 }
          cleanup
  %449 = extractvalue { ptr, i32 } %448, 0
  store ptr %449, ptr %13, align 8
  %450 = extractvalue { ptr, i32 } %448, 1
  store i32 %450, ptr %14, align 4
  call void @_ZNSt12__shared_ptrIN2tf15WorkerInterfaceELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  br label %460

451:                                              ; preds = %444
  %452 = landingpad { ptr, i32 }
          cleanup
  %453 = extractvalue { ptr, i32 } %452, 0
  store ptr %453, ptr %13, align 8
  %454 = extractvalue { ptr, i32 } %452, 1
  store i32 %454, ptr %14, align 4
  br label %459

455:                                              ; preds = %445
  %456 = landingpad { ptr, i32 }
          cleanup
  %457 = extractvalue { ptr, i32 } %456, 0
  store ptr %457, ptr %13, align 8
  %458 = extractvalue { ptr, i32 } %456, 1
  store i32 %458, ptr %14, align 4
  call void @_ZN2tf6FutureIvED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #9
  br label %459

459:                                              ; preds = %455, %451
  call void @llvm.lifetime.end.p0(i64 40, ptr %15) #9
  call void @_ZN2tf8ExecutorD2Ev(ptr noundef nonnull align 128 dereferenceable(1488) %11) #9
  br label %460

460:                                              ; preds = %459, %447
  call void @llvm.lifetime.end.p0(i64 1536, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  br label %463

461:                                              ; preds = %446, %415, %408, %396
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  %462 = load i32, ptr %3, align 4
  ret i32 %462

463:                                              ; preds = %460
  %464 = load ptr, ptr %13, align 8
  %465 = load i32, ptr %14, align 4
  %466 = insertvalue { ptr, i32 } poison, ptr %464, 0
  %467 = insertvalue { ptr, i32 } %466, i32 %465, 1
  resume { ptr, i32 } %467
}

; Function Attrs: nounwind
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare void @_ZNSt9basic_iosIcSt11char_traitsIcEE8setstateESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264), i32 noundef) #3 align 2

declare void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264), i32 noundef) #6

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #7

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216), i64 noundef) #4 align 2

declare void @_Z12TraversePathPKcPFiS0_PK4statiE(ptr noundef, ptr noundef) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10shared_ptrIN2tf15WorkerInterfaceEEC2EDn(ptr noundef nonnull align 8 dereferenceable(16), ptr) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN2tf8ExecutorC2EmSt10shared_ptrINS_15WorkerInterfaceEE(ptr noundef nonnull align 128 dereferenceable(1488), i64 noundef, ptr noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrIN2tf15WorkerInterfaceELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN2tf8Executor3runERNS_8TaskflowE(ptr dead_on_unwind noalias writable sret(%"class.tf::Future") align 8, ptr noundef nonnull align 128 dereferenceable(1488), ptr noundef nonnull align 8 dereferenceable(200)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt14__basic_futureIvE4waitEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2tf6FutureIvED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #8 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2tf8ExecutorD2Ev(ptr noundef nonnull align 128 dereferenceable(1488)) unnamed_addr #8 align 2

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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress 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 = { mustprogress 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 = { 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 #5 = { mustprogress norecurse 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 #6 = { "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 #7 = { nounwind willreturn memory(read) "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 #8 = { inlinehint 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 #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(read) }

!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, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"vtable pointer", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = distinct !{!21, !17}
!22 = !{!23, !23, i64 0}
!23 = !{!"long", !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"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.tf::Taskflow" = type { %"class.tf::FlowBuilder", %"class.std::mutex", %"class.std::__cxx11::basic_string", %"class.tf::Graph", %"class.std::queue", %"class.std::optional" }
%"class.tf::FlowBuilder" = type { ptr }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%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 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.tf::Graph" = type { %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<tf::Node *, std::allocator<tf::Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<tf::Node *, std::allocator<tf::Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<tf::Node *, std::allocator<tf::Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tf::Node *, std::allocator<tf::Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<std::shared_ptr<tf::Topology>, std::allocator<std::shared_ptr<tf::Topology>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::shared_ptr<tf::Topology>, std::allocator<std::shared_ptr<tf::Topology>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::shared_ptr<tf::Topology>, std::allocator<std::shared_ptr<tf::Topology>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::shared_ptr<tf::Topology>, std::allocator<std::shared_ptr<tf::Topology>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload_base.base", [7 x i8] }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<std::_List_iterator<tf::Taskflow>>::_Storage", i8 }>
%"union.std::_Optional_payload_base<std::_List_iterator<tf::Taskflow>>::_Storage" = type { %"struct.std::_List_iterator" }
%"struct.std::_List_iterator" = type { ptr }
%"class.tf::Executor" = type { i64, %"class.std::condition_variable", %"class.std::mutex", %"class.std::mutex", %"class.std::mutex", %"class.std::mutex", i64, %"class.std::unordered_map", %"class.std::vector.16", %"class.std::vector.21", %"class.std::__cxx11::list", %"class.std::unordered_set", %"class.tf::Notifier", [72 x i8], %"class.tf::TaskQueue", %"struct.std::atomic.62", %"class.std::shared_ptr", %"class.std::unordered_set.64", [48 x i8] }
%"class.std::condition_variable" = type { %"class.std::__condvar" }
%"class.std::__condvar" = type { %union.pthread_cond_t }
%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 }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl" }
%"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<tf::Worker, std::allocator<tf::Worker>>::_Vector_impl" }
%"struct.std::_Vector_base<tf::Worker, std::allocator<tf::Worker>>::_Vector_impl" = type { %"struct.std::_Vector_base<tf::Worker, std::allocator<tf::Worker>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tf::Worker, std::allocator<tf::Worker>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<tf::Taskflow, std::allocator<tf::Taskflow>>::_List_impl" }
%"struct.std::__cxx11::_List_base<tf::Taskflow, std::allocator<tf::Taskflow>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::unordered_set" = type { %"class.std::_Hashtable.29" }
%"class.std::_Hashtable.29" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.tf::Notifier" = type { %"struct.std::atomic", %"class.std::vector.48" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i64 }
%"class.std::vector.48" = type { %"struct.std::_Vector_base.49" }
%"struct.std::_Vector_base.49" = type { %"struct.std::_Vector_base<tf::Notifier::Waiter, std::allocator<tf::Notifier::Waiter>>::_Vector_impl" }
%"struct.std::_Vector_base<tf::Notifier::Waiter, std::allocator<tf::Notifier::Waiter>>::_Vector_impl" = type { %"struct.std::_Vector_base<tf::Notifier::Waiter, std::allocator<tf::Notifier::Waiter>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tf::Notifier::Waiter, std::allocator<tf::Notifier::Waiter>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.tf::TaskQueue" = type { [3 x %"struct.tf::CachelineAligned"], [3 x %"struct.tf::CachelineAligned"], [3 x %"struct.std::atomic.55"], [3 x %"class.std::vector.57"], [32 x i8] }
%"struct.tf::CachelineAligned" = type { %"struct.std::atomic.53", [120 x i8] }
%"struct.std::atomic.53" = type { %"struct.std::__atomic_base.54" }
%"struct.std::__atomic_base.54" = type { i64 }
%"struct.std::atomic.55" = type { %"struct.std::__atomic_base.56" }
%"struct.std::__atomic_base.56" = type { ptr }
%"class.std::vector.57" = type { %"struct.std::_Vector_base.58" }
%"struct.std::_Vector_base.58" = type { %"struct.std::_Vector_base<tf::TaskQueue<tf::Node *>::Array *, std::allocator<tf::TaskQueue<tf::Node *>::Array *>>::_Vector_impl" }
%"struct.std::_Vector_base<tf::TaskQueue<tf::Node *>::Array *, std::allocator<tf::TaskQueue<tf::Node *>::Array *>>::_Vector_impl" = type { %"struct.std::_Vector_base<tf::TaskQueue<tf::Node *>::Array *, std::allocator<tf::TaskQueue<tf::Node *>::Array *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tf::TaskQueue<tf::Node *>::Array *, std::allocator<tf::TaskQueue<tf::Node *>::Array *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::atomic.62" = type { %"struct.std::__atomic_base.63" }
%"struct.std::__atomic_base.63" = type { i8 }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::unordered_set.64" = type { %"class.std::_Hashtable.65" }
%"class.std::_Hashtable.65" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.tf::Future" = type { %"class.std::future", %"class.std::variant" }
%"class.std::future" = type { %"class.std::__basic_future" }
%"class.std::__basic_future" = type { %"class.std::shared_ptr.84" }
%"class.std::shared_ptr.84" = type { %"class.std::__shared_ptr.85" }
%"class.std::__shared_ptr.85" = type { ptr, %"class.std::__shared_count" }
%"class.std::variant" = type { %"struct.std::__detail::__variant::_Variant_base.base", [7 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base" = type { %"struct.std::__detail::__variant::_Move_assign_base.base" }
%"struct.std::__detail::__variant::_Move_assign_base.base" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base" }
%"struct.std::__detail::__variant::_Copy_assign_base.base" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base" }
%"struct.std::__detail::__variant::_Move_ctor_base.base" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base" = type { %"struct.std::__detail::__variant::_Variant_storage.base" }
%"struct.std::__detail::__variant::_Variant_storage.base" = type { %"union.std::__detail::__variant::_Variadic_union", i8 }
%"union.std::__detail::__variant::_Variadic_union" = type { %"union.std::__detail::__variant::_Variadic_union.87" }
%"union.std::__detail::__variant::_Variadic_union.87" = type { %"struct.std::__detail::__variant::_Uninitialized.88" }
%"struct.std::__detail::__variant::_Uninitialized.88" = type { %"struct.__gnu_cxx::__aligned_membuf" }
%"struct.__gnu_cxx::__aligned_membuf" = type { [16 x i8] }

@is_fast = external dso_local local_unnamed_addr global i8, align 1
@is_verbose = external dso_local local_unnamed_addr global i8, align 1
@iterations = external dso_local local_unnamed_addr global i32, align 4
@zopflipng_lossy_transparent = external dso_local local_unnamed_addr global i8, align 1
@depth = external dso_local local_unnamed_addr global i32, align 4
@max_depth = external dso_local local_unnamed_addr global i32, align 4
@parallel_processing = external dso_local local_unnamed_addr global i8, align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@taskflow = external dso_local global %"class.tf::Taskflow", align 8
@.str.15 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [10 x i8], align 1
@_ZN4Jpeg10keep_exif_E = external local_unnamed_addr global i8, align 1
@.str.24 = external hidden unnamed_addr constant [9 x i8], align 1
@_ZN4Jpeg17keep_icc_profile_E = external local_unnamed_addr global i8, align 1
@_ZN3Png17keep_icc_profile_E = external local_unnamed_addr global i8, align 1
@.str.25 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN4Jpeg18keep_all_metadata_E = external local_unnamed_addr global i8, align 1
@.str.26 = external hidden unnamed_addr constant [16 x i8], align 1
@_ZN4Jpeg24force_arithmetic_coding_E = external local_unnamed_addr global i8, align 1
@.str.27 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [12 x i8], align 1
@_ZN3Zip14force_deflate_E = external local_unnamed_addr global i8, align 1
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [23 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

; 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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z18PauseIfNotTerminalv() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9PrintInfov() local_unnamed_addr #3

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.tf::Executor", align 128
  %4 = alloca %"class.std::shared_ptr", align 8
  %5 = alloca %"class.tf::Future", align 8
  store i8 0, ptr @is_fast, align 1, !tbaa !5
  store i8 0, ptr @is_verbose, align 1, !tbaa !5
  store i32 15, ptr @iterations, align 4, !tbaa !9
  store i32 1, ptr @depth, align 4, !tbaa !9
  store i32 2147483647, ptr @max_depth, align 4, !tbaa !9
  store i8 1, ptr @zopflipng_lossy_transparent, align 1, !tbaa !5
  %6 = icmp sgt i32 %0, 1
  br i1 %6, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %2
  %7 = add nsw i32 %0, -1
  br label %8

8:                                                ; preds = %.lr.ph, %141
  %.0117147 = phi i32 [ 1, %.lr.ph ], [ %143, %141 ]
  %9 = sext i32 %.0117147 to i64
  %10 = getelementptr inbounds ptr, ptr %1, i64 %9
  %11 = load ptr, ptr %10, align 8, !tbaa !11
  %12 = load i8, ptr %11, align 1, !tbaa !13
  %13 = icmp eq i8 %12, 45
  br i1 %13, label %.preheader, label %.critedge

.preheader:                                       ; preds = %8
  %14 = icmp slt i32 %.0117147, %7
  br label %15

15:                                               ; preds = %.preheader, %139
  %16 = phi ptr [ %.pre, %139 ], [ %11, %.preheader ]
  %.0115 = phi i32 [ %.1116, %139 ], [ 0, %.preheader ]
  %.0113 = phi i32 [ %140, %139 ], [ 1, %.preheader ]
  %17 = sext i32 %.0113 to i64
  %18 = getelementptr inbounds i8, ptr %16, i64 %17
  %19 = load i8, ptr %18, align 1, !tbaa !13
  switch i8 %19, label %132 [
    i8 0, label %141
    i8 102, label %20
    i8 105, label %21
    i8 100, label %34
    i8 113, label %47
    i8 118, label %52
    i8 112, label %57
    i8 45, label %58
  ]

20:                                               ; preds = %15
  store i8 1, ptr @is_fast, align 1, !tbaa !5
  br label %139

21:                                               ; preds = %15
  br i1 %14, label %22, label %139

22:                                               ; preds = %21
  %23 = add nsw i32 %.0115, 1
  %24 = add nsw i32 %23, %.0117147
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds ptr, ptr %1, i64 %25
  %27 = load ptr, ptr %26, align 8, !tbaa !11
  %28 = tail call i64 @strtol(ptr nocapture noundef %27, ptr noundef null, i32 noundef 10) #10
  %29 = trunc i64 %28 to i32
  store i32 %29, ptr @iterations, align 4, !tbaa !9
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %31, label %139

31:                                               ; preds = %22
  %32 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.15)
  %33 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  tail call void @_Z9PrintInfov()
  br label %.thread

34:                                               ; preds = %15
  br i1 %14, label %35, label %139

35:                                               ; preds = %34
  %36 = add nsw i32 %.0115, 1
  %37 = add nsw i32 %36, %.0117147
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds ptr, ptr %1, i64 %38
  %40 = load ptr, ptr %39, align 8, !tbaa !11
  %41 = tail call i64 @strtol(ptr nocapture noundef %40, ptr noundef null, i32 noundef 10) #10
  %42 = trunc i64 %41 to i32
  store i32 %42, ptr @max_depth, align 4, !tbaa !9
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %139

44:                                               ; preds = %35
  %45 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.16)
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  tail call void @_Z9PrintInfov()
  br label %.thread

47:                                               ; preds = %15
  %48 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !14
  %49 = getelementptr i8, ptr %48, i64 -24
  %50 = load i64, ptr %49, align 8
  %51 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %50
  tail call void @_ZNSt9basic_iosIcSt11char_traitsIcEE8setstateESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %51, i32 noundef 4)
  store i8 0, ptr @is_verbose, align 1, !tbaa !5
  br label %139

52:                                               ; preds = %15
  %53 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !14
  %54 = getelementptr i8, ptr %53, i64 -24
  %55 = load i64, ptr %54, align 8
  %56 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %55
  tail call void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %56, i32 noundef 0)
  store i8 1, ptr @is_verbose, align 1, !tbaa !5
  br label %139

57:                                               ; preds = %15
  store i8 1, ptr @parallel_processing, align 1, !tbaa !5
  br label %139

58:                                               ; preds = %15
  %59 = getelementptr inbounds i8, ptr %18, i64 1
  %60 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) @.str.17) #11
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %62, label %65

62:                                               ; preds = %58
  %63 = add nsw i32 %.0113, 7
  %64 = getelementptr i8, ptr %18, i64 8
  store i8 102, ptr %64, align 1, !tbaa !13
  br label %139

65:                                               ; preds = %58
  %66 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) @.str.18) #11
  %67 = icmp eq i32 %66, 0
  br i1 %67, label %68, label %71

68:                                               ; preds = %65
  %69 = add nsw i32 %.0113, 8
  %70 = getelementptr i8, ptr %18, i64 9
  store i8 105, ptr %70, align 1, !tbaa !13
  br label %139

71:                                               ; preds = %65
  %72 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) @.str.19) #11
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %77

74:                                               ; preds = %71
  %75 = add nsw i32 %.0113, 8
  %76 = getelementptr i8, ptr %18, i64 9
  store i8 100, ptr %76, align 1, !tbaa !13
  br label %139

77:                                               ; preds = %71
  %78 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) @.str.20) #11
  %79 = icmp eq i32 %78, 0
  br i1 %79, label %80, label %83

80:                                               ; preds = %77
  %81 = add nsw i32 %.0113, 4
  %82 = getelementptr i8, ptr %18, i64 5
  store i8 113, ptr %82, align 1, !tbaa !13
  br label %139

83:                                               ; preds = %77
  %84 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) @.str.21) #11
  %85 = icmp eq i32 %84, 0
  br i1 %85, label %86, label %89

86:                                               ; preds = %83
  %87 = add nsw i32 %.0113, 6
  %88 = getelementptr i8, ptr %18, i64 7
  store i8 118, ptr %88, align 1, !tbaa !13
  br label %139

89:                                               ; preds = %83
  %90 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) @.str.22) #11
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %92, label %95

92:                                               ; preds = %89
  %93 = add nsw i32 %.0113, 7
  %94 = getelementptr i8, ptr %18, i64 8
  store i8 112, ptr %94, align 1, !tbaa !13
  br label %139

95:                                               ; preds = %89
  %96 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) @.str.23) #11
  %97 = icmp eq i32 %96, 0
  br i1 %97, label %98, label %100

98:                                               ; preds = %95
  %99 = add nsw i32 %.0113, 9
  store i8 1, ptr @_ZN4Jpeg10keep_exif_E, align 1, !tbaa !5
  br label %139

100:                                              ; preds = %95
  %101 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) @.str.24) #11
  %102 = icmp eq i32 %101, 0
  br i1 %102, label %103, label %105

103:                                              ; preds = %100
  %104 = add nsw i32 %.0113, 8
  store i8 1, ptr @_ZN4Jpeg17keep_icc_profile_E, align 1, !tbaa !5
  store i8 1, ptr @_ZN3Png17keep_icc_profile_E, align 1, !tbaa !5
  br label %139

105:                                              ; preds = %100
  %106 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) @.str.25) #11
  %107 = icmp eq i32 %106, 0
  br i1 %107, label %108, label %110

108:                                              ; preds = %105
  %109 = add nsw i32 %.0113, 13
  store i8 1, ptr @_ZN4Jpeg18keep_all_metadata_E, align 1, !tbaa !5
  br label %139

110:                                              ; preds = %105
  %111 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) @.str.26) #11
  %112 = icmp eq i32 %111, 0
  br i1 %112, label %113, label %115

113:                                              ; preds = %110
  %114 = add nsw i32 %.0113, 15
  store i8 1, ptr @_ZN4Jpeg24force_arithmetic_coding_E, align 1, !tbaa !5
  br label %139

115:                                              ; preds = %110
  %116 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) @.str.27) #11
  %117 = icmp eq i32 %116, 0
  br i1 %117, label %118, label %120

118:                                              ; preds = %115
  %119 = add nsw i32 %.0113, 24
  store i8 0, ptr @zopflipng_lossy_transparent, align 1, !tbaa !5
  br label %139

120:                                              ; preds = %115
  %121 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) @.str.28) #11
  %122 = icmp eq i32 %121, 0
  br i1 %122, label %123, label %125

123:                                              ; preds = %120
  %124 = add nsw i32 %.0113, 11
  store i8 1, ptr @_ZN3Zip14force_deflate_E, align 1, !tbaa !5
  br label %139

125:                                              ; preds = %120
  %126 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.29)
  %127 = load ptr, ptr %10, align 8, !tbaa !11
  %128 = getelementptr inbounds i8, ptr %127, i64 %17
  %129 = getelementptr inbounds i8, ptr %128, i64 1
  %130 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef nonnull %129)
  %131 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  tail call void @_Z9PrintInfov()
  br label %.thread

132:                                              ; preds = %15
  %133 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.29)
  %134 = load ptr, ptr %10, align 8, !tbaa !11
  %135 = getelementptr inbounds i8, ptr %134, i64 %17
  %136 = load i8, ptr %135, align 1, !tbaa !13
  %137 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %133, i8 noundef signext %136)
  %138 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  tail call void @_Z9PrintInfov()
  br label %.thread

139:                                              ; preds = %20, %47, %52, %57, %22, %21, %35, %34, %68, %80, %92, %103, %113, %123, %118, %108, %98, %86, %74, %62
  %.1116 = phi i32 [ %.0115, %62 ], [ %.0115, %68 ], [ %.0115, %74 ], [ %.0115, %80 ], [ %.0115, %86 ], [ %.0115, %92 ], [ %.0115, %98 ], [ %.0115, %103 ], [ %.0115, %108 ], [ %.0115, %113 ], [ %.0115, %118 ], [ %.0115, %123 ], [ %.0115, %57 ], [ %.0115, %52 ], [ %.0115, %47 ], [ %36, %35 ], [ %.0115, %34 ], [ %23, %22 ], [ %.0115, %21 ], [ %.0115, %20 ]
  %.1114 = phi i32 [ %63, %62 ], [ %69, %68 ], [ %75, %74 ], [ %81, %80 ], [ %87, %86 ], [ %93, %92 ], [ %99, %98 ], [ %104, %103 ], [ %109, %108 ], [ %114, %113 ], [ %119, %118 ], [ %124, %123 ], [ %.0113, %57 ], [ %.0113, %52 ], [ %.0113, %47 ], [ %.0113, %35 ], [ %.0113, %34 ], [ %.0113, %22 ], [ %.0113, %21 ], [ %.0113, %20 ]
  %140 = add nsw i32 %.1114, 1
  %.pre = load ptr, ptr %10, align 8, !tbaa !11
  br label %15, !llvm.loop !16

141:                                              ; preds = %15
  %142 = add i32 %.0117147, 1
  %143 = add i32 %142, %.0115
  %144 = icmp slt i32 %143, %0
  br i1 %144, label %8, label %.critedge, !llvm.loop !18

.critedge:                                        ; preds = %8, %141, %2
  %.0117.lcssa = phi i32 [ 1, %2 ], [ %143, %141 ], [ %.0117147, %8 ]
  %145 = load i8, ptr @parallel_processing, align 1, !tbaa !5, !range !19, !noundef !20
  %146 = trunc nuw i8 %145 to i1
  br i1 %146, label %147, label %153

147:                                              ; preds = %.critedge
  %148 = load i8, ptr @is_verbose, align 1, !tbaa !5, !range !19, !noundef !20
  %149 = trunc nuw i8 %148 to i1
  br i1 %149, label %150, label %153

150:                                              ; preds = %147
  %151 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.30)
  %152 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %151, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  tail call void @_Z9PrintInfov()
  br label %.thread

153:                                              ; preds = %147, %.critedge
  %154 = icmp eq i32 %.0117.lcssa, %0
  br i1 %154, label %155, label %158

155:                                              ; preds = %153
  %156 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.31)
  %157 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %156, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  tail call void @_Z9PrintInfov()
  br label %.thread

158:                                              ; preds = %153
  %159 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt5fixedRSt8ios_base)
  %160 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !14
  %161 = getelementptr i8, ptr %160, i64 -24
  %162 = load i64, ptr %161, align 8
  %163 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %162
  %164 = tail call noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216) %163, i64 noundef 2)
  %165 = sext i32 %.0117.lcssa to i64
  %166 = sext i32 %0 to i64
  br label %167

167:                                              ; preds = %167, %158
  %indvars.iv = phi i64 [ %indvars.iv.next, %167 ], [ %165, %158 ]
  %168 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv
  %169 = load ptr, ptr %168, align 8, !tbaa !11
  tail call void @_Z12TraversePathPKcPFiS0_PK4statiE(ptr noundef %169, ptr noundef nonnull @_Z22EnqueueProcessFileTaskPKcPK4stati)
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %170 = icmp slt i64 %indvars.iv.next, %166
  br i1 %170, label %167, label %171, !llvm.loop !21

171:                                              ; preds = %167
  %172 = load i8, ptr @parallel_processing, align 1, !tbaa !5, !range !19, !noundef !20
  %173 = trunc nuw i8 %172 to i1
  br i1 %173, label %174, label %177

174:                                              ; preds = %171
  %175 = tail call noundef i32 @_ZNSt6thread20hardware_concurrencyEv() #10
  %176 = zext i32 %175 to i64
  br label %177

177:                                              ; preds = %174, %171
  %.0110 = phi i64 [ %176, %174 ], [ 1, %171 ]
  call void @llvm.lifetime.start.p0(i64 1536, ptr nonnull %3) #10
  call void @_ZNSt10shared_ptrIN2tf15WorkerInterfaceEEC2EDn(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr null) #10
  invoke void @_ZN2tf8ExecutorC2EmSt10shared_ptrINS_15WorkerInterfaceEE(ptr noundef nonnull align 128 dereferenceable(1488) %3, i64 noundef %.0110, ptr noundef nonnull %4)
          to label %178 unwind label %181

178:                                              ; preds = %177
  call void @_ZNSt12__shared_ptrIN2tf15WorkerInterfaceELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #10
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #10
  invoke void @_ZN2tf8Executor3runERNS_8TaskflowE(ptr dead_on_unwind nonnull writable sret(%"class.tf::Future") align 8 %5, ptr noundef nonnull align 128 dereferenceable(1488) %3, ptr noundef nonnull align 8 dereferenceable(200) @taskflow)
          to label %179 unwind label %183

179:                                              ; preds = %178
  invoke void @_ZNKSt14__basic_futureIvE4waitEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %180 unwind label %185

180:                                              ; preds = %179
  call void @_ZN2tf6FutureIvED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #10
  call void @_Z18PauseIfNotTerminalv()
  call void @_ZN2tf8ExecutorD2Ev(ptr noundef nonnull align 128 dereferenceable(1488) %3) #10
  call void @llvm.lifetime.end.p0(i64 1536, ptr nonnull %3) #10
  br label %.thread

181:                                              ; preds = %177
  %182 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN2tf15WorkerInterfaceELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #10
  br label %188

183:                                              ; preds = %178
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %187

185:                                              ; preds = %179
  %186 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2tf6FutureIvED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #10
  br label %187

187:                                              ; preds = %185, %183
  %.pn = phi { ptr, i32 } [ %186, %185 ], [ %184, %183 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #10
  call void @_ZN2tf8ExecutorD2Ev(ptr noundef nonnull align 128 dereferenceable(1488) %3) #10
  br label %188

188:                                              ; preds = %187, %181
  %.pn.pn = phi { ptr, i32 } [ %.pn, %187 ], [ %182, %181 ]
  call void @llvm.lifetime.end.p0(i64 1536, ptr nonnull %3) #10
  resume { ptr, i32 } %.pn.pn

.thread:                                          ; preds = %31, %44, %125, %132, %180, %155, %150
  %.2122 = phi i32 [ 1, %150 ], [ 1, %155 ], [ 0, %180 ], [ 1, %132 ], [ 1, %125 ], [ 1, %44 ], [ 1, %31 ]
  ret i32 %.2122
}

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt9basic_iosIcSt11char_traitsIcEE8setstateESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264), i32 noundef) local_unnamed_addr #3 align 2

declare void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264), i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216), i64 noundef) local_unnamed_addr #4 align 2

declare void @_Z12TraversePathPKcPFiS0_PK4statiE(ptr noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10shared_ptrIN2tf15WorkerInterfaceEEC2EDn(ptr noundef nonnull align 8 dereferenceable(16), ptr) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN2tf8ExecutorC2EmSt10shared_ptrINS_15WorkerInterfaceEE(ptr noundef nonnull align 128 dereferenceable(1488), i64 noundef, ptr noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrIN2tf15WorkerInterfaceELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN2tf8Executor3runERNS_8TaskflowE(ptr dead_on_unwind noalias writable sret(%"class.tf::Future") align 8, ptr noundef nonnull align 128 dereferenceable(1488), ptr noundef nonnull align 8 dereferenceable(200)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt14__basic_futureIvE4waitEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2tf6FutureIvED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #9 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2tf8ExecutorD2Ev(ptr noundef nonnull align 128 dereferenceable(1488)) unnamed_addr #9 align 2

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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress 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 = { mustprogress 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 = { 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 #5 = { mustprogress norecurse 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 #6 = { 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 #7 = { "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 #8 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 #9 = { inlinehint 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 #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(read) }

!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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"vtable pointer", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = distinct !{!21, !17}


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