; LLVM IR from thuhcsi/Crystal.TTVS :: Xface/XFace/src/XFaceApp (ApplicationBase)

; 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::istrstream" = type { %"class.std::basic_istream.base", %"class.std::strstreambuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::strstreambuf" = type <{ %"class.std::basic_streambuf", ptr, ptr, i8, [7 x i8] }>
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"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.XFaceApp::ApplicationBase" = type { %"class.XFaceApp::TaskHandlerBase", i8, i8, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.XFaceApp::TaskHandlerBase" = type { ptr, %"class.std::queue", 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<XFaceApp::Task, std::allocator<XFaceApp::Task>>::_Deque_impl" }
%"struct.std::_Deque_base<XFaceApp::Task, std::allocator<XFaceApp::Task>>::_Deque_impl" = type { %"struct.std::_Deque_base<XFaceApp::Task, std::allocator<XFaceApp::Task>>::_Deque_impl_data" }
%"struct.std::_Deque_base<XFaceApp::Task, std::allocator<XFaceApp::Task>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }

@.str.10 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [11 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8XFaceApp15ApplicationBase16fireNotificationENS_12Notification10TaskStatusE(ptr noundef nonnull align 8 dereferenceable(152), i32 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8XFaceApp4Task7getNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(120)) #3 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #4

declare void @_ZN5XFace8FaceBaseC1Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #5

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #6

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: nounwind
declare void @_ZNSt10istrstreamD1Ev(ptr noundef nonnull align 8 dereferenceable(104)) unnamed_addr #7

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN8XFaceApp15ApplicationBase11onUpLoadFDPERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::istrstream", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %9 = load ptr, ptr %4, align 8
  %10 = getelementptr inbounds %"class.XFaceApp::ApplicationBase", ptr %9, i32 0, i32 1
  %11 = load i8, ptr %10, align 8, !tbaa !9, !range !20, !noundef !21
  %12 = trunc i8 %11 to i1
  br i1 %12, label %13, label %14

13:                                               ; preds = %2
  store i1 false, ptr %3, align 1
  br label %66

14:                                               ; preds = %2
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef @.str.10)
  br i1 %16, label %17, label %18

17:                                               ; preds = %14
  call void @_ZNK8XFaceApp15ApplicationBase16fireNotificationENS_12Notification10TaskStatusE(ptr noundef nonnull align 8 dereferenceable(152) %9, i32 noundef 7)
  store i1 true, ptr %3, align 1
  br label %66

18:                                               ; preds = %14
  %19 = getelementptr inbounds %"class.XFaceApp::TaskHandlerBase", ptr %9, i32 0, i32 2
  %20 = load ptr, ptr %19, align 8, !tbaa !22
  %21 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8XFaceApp4Task7getNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(120) %20)
  %22 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.17)
  br i1 %22, label %23, label %24

23:                                               ; preds = %18
  call void @_ZNK8XFaceApp15ApplicationBase16fireNotificationENS_12Notification10TaskStatusE(ptr noundef nonnull align 8 dereferenceable(152) %9, i32 noundef 2)
  br label %24

24:                                               ; preds = %23, %18
  %25 = getelementptr inbounds %"class.XFaceApp::ApplicationBase", ptr %9, i32 0, i32 3
  %26 = load ptr, ptr %25, align 8, !tbaa !23
  %27 = icmp eq ptr %26, null
  br i1 %27, label %32, label %28

28:                                               ; preds = %24
  %29 = load ptr, ptr %26, align 8, !tbaa !24
  %30 = getelementptr inbounds ptr, ptr %29, i64 4
  %31 = load ptr, ptr %30, align 8
  call void %31(ptr noundef nonnull align 8 dereferenceable(88) %26) #8
  br label %32

32:                                               ; preds = %28, %24
  %33 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 88) #9
  invoke void @_ZN5XFace8FaceBaseC1Ev(ptr noundef nonnull align 8 dereferenceable(88) %33)
          to label %34 unwind label %53

34:                                               ; preds = %32
  %35 = getelementptr inbounds %"class.XFaceApp::ApplicationBase", ptr %9, i32 0, i32 3
  store ptr %33, ptr %35, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 368, ptr %8) #8
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  call void @_ZNSt10istrstreamC1EPKc(ptr noundef nonnull align 8 dereferenceable(104) %8, ptr noundef %37)
  %38 = getelementptr inbounds %"class.XFaceApp::ApplicationBase", ptr %9, i32 0, i32 3
  %39 = load ptr, ptr %38, align 8, !tbaa !23
  %40 = load ptr, ptr %39, align 8, !tbaa !24
  %41 = getelementptr inbounds ptr, ptr %40, i64 1
  %42 = load ptr, ptr %41, align 8
  %43 = invoke noundef zeroext i1 %42(ptr noundef nonnull align 8 dereferenceable(88) %39, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %44 unwind label %57

44:                                               ; preds = %34
  %45 = getelementptr inbounds %"class.XFaceApp::TaskHandlerBase", ptr %9, i32 0, i32 2
  %46 = load ptr, ptr %45, align 8, !tbaa !22
  %47 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8XFaceApp4Task7getNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(120) %46)
          to label %48 unwind label %57

48:                                               ; preds = %44
  %49 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef @.str.17)
          to label %50 unwind label %57

50:                                               ; preds = %48
  br i1 %49, label %51, label %61

51:                                               ; preds = %50
  invoke void @_ZNK8XFaceApp15ApplicationBase16fireNotificationENS_12Notification10TaskStatusE(ptr noundef nonnull align 8 dereferenceable(152) %9, i32 noundef 3)
          to label %52 unwind label %57

52:                                               ; preds = %51
  br label %61

53:                                               ; preds = %32
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %6, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %7, align 4
  call void @_ZdlPvm(ptr noundef %33, i64 noundef 88) #10
  br label %68

57:                                               ; preds = %61, %51, %48, %44, %34
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %6, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %7, align 4
  call void @_ZNSt10istrstreamD1Ev(ptr noundef nonnull align 8 dereferenceable(104) %8) #8
  call void @llvm.lifetime.end.p0(i64 368, ptr %8) #8
  br label %68

61:                                               ; preds = %52, %50
  %62 = load ptr, ptr %9, align 8, !tbaa !24
  %63 = getelementptr inbounds ptr, ptr %62, i64 2
  %64 = load ptr, ptr %63, align 8
  invoke void %64(ptr noundef nonnull align 8 dereferenceable(152) %9)
          to label %65 unwind label %57

65:                                               ; preds = %61
  store i1 true, ptr %3, align 1
  call void @_ZNSt10istrstreamD1Ev(ptr noundef nonnull align 8 dereferenceable(104) %8) #8
  call void @llvm.lifetime.end.p0(i64 368, ptr %8) #8
  br label %66

66:                                               ; preds = %65, %17, %13
  %67 = load i1, ptr %3, align 1
  ret i1 %67

68:                                               ; preds = %57, %53
  %69 = load ptr, ptr %6, align 8
  %70 = load i32, ptr %7, align 4
  %71 = insertvalue { ptr, i32 } poison, ptr %69, 0
  %72 = insertvalue { ptr, i32 } %71, i32 %70, 1
  resume { ptr, i32 } %72
}

declare void @_ZNSt10istrstreamC1EPKc(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef) unnamed_addr #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { nobuiltin allocsize(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 = { "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 = { nobuiltin 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !19, i64 96}
!10 = !{!"_ZTSN8XFaceApp15ApplicationBaseE", !11, i64 0, !19, i64 96, !19, i64 97, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144}
!11 = !{!"_ZTSN8XFaceApp15TaskHandlerBaseE", !12, i64 8, !6, i64 88}
!12 = !{!"_ZTSSt5queueIN8XFaceApp4TaskESt5dequeIS1_SaIS1_EEE", !13, i64 0}
!13 = !{!"_ZTSSt5dequeIN8XFaceApp4TaskESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSSt11_Deque_baseIN8XFaceApp4TaskESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSNSt11_Deque_baseIN8XFaceApp4TaskESaIS1_EE11_Deque_implE", !16, i64 0}
!16 = !{!"_ZTSNSt11_Deque_baseIN8XFaceApp4TaskESaIS1_EE16_Deque_impl_dataE", !6, i64 0, !17, i64 8, !18, i64 16, !18, i64 48}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSSt15_Deque_iteratorIN8XFaceApp4TaskERS1_PS1_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!19 = !{!"bool", !7, i64 0}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!11, !6, i64 88}
!23 = !{!10, !6, i64 104}
!24 = !{!25, !25, i64 0}
!25 = !{!"vtable pointer", !8, 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::istrstream" = type { %"class.std::basic_istream.base", %"class.std::strstreambuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::strstreambuf" = type <{ %"class.std::basic_streambuf", ptr, ptr, i8, [7 x i8] }>
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"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 }

@.str.10 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [11 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8XFaceApp15ApplicationBase16fireNotificationENS_12Notification10TaskStatusE(ptr noundef nonnull align 8 dereferenceable(152), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8XFaceApp4Task7getNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #3 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #4

declare void @_ZN5XFace8FaceBaseC1Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #5

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #6

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

; Function Attrs: nounwind
declare void @_ZNSt10istrstreamD1Ev(ptr noundef nonnull align 8 dereferenceable(104)) unnamed_addr #7

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN8XFaceApp15ApplicationBase11onUpLoadFDPERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::istrstream", align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 96
  %5 = load i8, ptr %4, align 8, !tbaa !5, !range !19, !noundef !20
  %6 = trunc nuw i8 %5 to i1
  br i1 %6, label %47, label %7

7:                                                ; preds = %2
  %8 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull @.str.10)
  br i1 %8, label %9, label %10

9:                                                ; preds = %7
  tail call void @_ZNK8XFaceApp15ApplicationBase16fireNotificationENS_12Notification10TaskStatusE(ptr noundef nonnull align 8 dereferenceable(152) %0, i32 noundef 7)
  br label %47

10:                                               ; preds = %7
  %11 = getelementptr inbounds i8, ptr %0, i64 88
  %12 = load ptr, ptr %11, align 8, !tbaa !21
  %13 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8XFaceApp4Task7getNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(120) %12)
  %14 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.17)
  br i1 %14, label %15, label %16

15:                                               ; preds = %10
  tail call void @_ZNK8XFaceApp15ApplicationBase16fireNotificationENS_12Notification10TaskStatusE(ptr noundef nonnull align 8 dereferenceable(152) %0, i32 noundef 2)
  br label %16

16:                                               ; preds = %15, %10
  %17 = getelementptr inbounds i8, ptr %0, i64 104
  %18 = load ptr, ptr %17, align 8, !tbaa !22
  %19 = icmp eq ptr %18, null
  br i1 %19, label %24, label %20

20:                                               ; preds = %16
  %21 = load ptr, ptr %18, align 8, !tbaa !23
  %22 = getelementptr inbounds i8, ptr %21, i64 32
  %23 = load ptr, ptr %22, align 8
  tail call void %23(ptr noundef nonnull align 8 dereferenceable(88) %18) #8
  br label %24

24:                                               ; preds = %20, %16
  %25 = tail call noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #9
  invoke void @_ZN5XFace8FaceBaseC1Ev(ptr noundef nonnull align 8 dereferenceable(88) %25)
          to label %26 unwind label %38

26:                                               ; preds = %24
  store ptr %25, ptr %17, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 368, ptr nonnull %3) #8
  %27 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  call void @_ZNSt10istrstreamC1EPKc(ptr noundef nonnull align 8 dereferenceable(104) %3, ptr noundef %27)
  %28 = load ptr, ptr %17, align 8, !tbaa !22
  %29 = load ptr, ptr %28, align 8, !tbaa !23
  %30 = getelementptr inbounds i8, ptr %29, i64 8
  %31 = load ptr, ptr %30, align 8
  %32 = invoke noundef zeroext i1 %31(ptr noundef nonnull align 8 dereferenceable(88) %28, ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %33 unwind label %40

33:                                               ; preds = %26
  %34 = load ptr, ptr %11, align 8, !tbaa !21
  %35 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8XFaceApp4Task7getNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(120) %34)
  %36 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull @.str.17)
  br i1 %36, label %37, label %42

37:                                               ; preds = %33
  invoke void @_ZNK8XFaceApp15ApplicationBase16fireNotificationENS_12Notification10TaskStatusE(ptr noundef nonnull align 8 dereferenceable(152) %0, i32 noundef 3)
          to label %42 unwind label %40

38:                                               ; preds = %24
  %39 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %25, i64 noundef 88) #10
  br label %48

40:                                               ; preds = %42, %37, %26
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt10istrstreamD1Ev(ptr noundef nonnull align 8 dereferenceable(104) %3) #8
  call void @llvm.lifetime.end.p0(i64 368, ptr nonnull %3) #8
  br label %48

42:                                               ; preds = %37, %33
  %43 = load ptr, ptr %0, align 8, !tbaa !23
  %44 = getelementptr inbounds i8, ptr %43, i64 16
  %45 = load ptr, ptr %44, align 8
  invoke void %45(ptr noundef nonnull align 8 dereferenceable(152) %0)
          to label %46 unwind label %40

46:                                               ; preds = %42
  call void @_ZNSt10istrstreamD1Ev(ptr noundef nonnull align 8 dereferenceable(104) %3) #8
  call void @llvm.lifetime.end.p0(i64 368, ptr nonnull %3) #8
  br label %47

47:                                               ; preds = %2, %46, %9
  %.06 = xor i1 %6, true
  ret i1 %.06

48:                                               ; preds = %40, %38
  %.pn = phi { ptr, i32 } [ %41, %40 ], [ %39, %38 ]
  resume { ptr, i32 } %.pn
}

declare void @_ZNSt10istrstreamC1EPKc(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef) unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { nobuiltin allocsize(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 = { "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 = { nobuiltin 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !18, i64 96}
!6 = !{!"_ZTSN8XFaceApp15ApplicationBaseE", !7, i64 0, !18, i64 96, !18, i64 97, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144}
!7 = !{!"_ZTSN8XFaceApp15TaskHandlerBaseE", !8, i64 8, !13, i64 88}
!8 = !{!"_ZTSSt5queueIN8XFaceApp4TaskESt5dequeIS1_SaIS1_EEE", !9, i64 0}
!9 = !{!"_ZTSSt5dequeIN8XFaceApp4TaskESaIS1_EE", !10, i64 0}
!10 = !{!"_ZTSSt11_Deque_baseIN8XFaceApp4TaskESaIS1_EE", !11, i64 0}
!11 = !{!"_ZTSNSt11_Deque_baseIN8XFaceApp4TaskESaIS1_EE11_Deque_implE", !12, i64 0}
!12 = !{!"_ZTSNSt11_Deque_baseIN8XFaceApp4TaskESaIS1_EE16_Deque_impl_dataE", !13, i64 0, !16, i64 8, !17, i64 16, !17, i64 48}
!13 = !{!"any pointer", !14, i64 0}
!14 = !{!"omnipotent char", !15, i64 0}
!15 = !{!"Simple C++ TBAA"}
!16 = !{!"long", !14, i64 0}
!17 = !{!"_ZTSSt15_Deque_iteratorIN8XFaceApp4TaskERS1_PS1_E", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!18 = !{!"bool", !14, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!7, !13, i64 88}
!22 = !{!6, !13, i64 104}
!23 = !{!24, !24, i64 0}
!24 = !{!"vtable pointer", !15, i64 0}


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