; LLVM IR from chensoft/libsocket :: lib/libchen/src/sys/fs.unix/ZN4chen2fs5touchERKNSt7/cxx1112basic_stringIcSt1_a6e252a2/ZN4chen2fs5touchERKNSt7 (traitsIcESaIcEEEll)

; 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::error_code" = type { i32, 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] }
%struct.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, %struct.timespec, %struct.timespec, %struct.timespec, [3 x i64] }
%struct.timespec = type { i64, i64 }
%struct.utimbuf = type { i64, i64 }

@.str.5 = external hidden unnamed_addr constant [4 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local { i32, ptr } @_ZN4chen2fs5touchERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEll(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %1, i64 noundef %2) #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::error_code", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::error_code", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %struct.stat, align 8
  %15 = alloca %struct.utimbuf, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i64 %1, ptr %6, align 8, !tbaa !9
  store i64 %2, ptr %7, align 8, !tbaa !9
  %16 = load i64, ptr %6, align 8, !tbaa !9
  %17 = icmp ne i64 %16, 0
  br i1 %17, label %20, label %18

18:                                               ; preds = %3
  %19 = call i64 @time(ptr noundef null) #6
  store i64 %19, ptr %6, align 8, !tbaa !9
  br label %20

20:                                               ; preds = %18, %3
  %21 = load i64, ptr %7, align 8, !tbaa !9
  %22 = icmp ne i64 %21, 0
  br i1 %22, label %25, label %23

23:                                               ; preds = %20
  %24 = load i64, ptr %6, align 8, !tbaa !9
  store i64 %24, ptr %7, align 8, !tbaa !9
  br label %25

25:                                               ; preds = %23, %20
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN4chen2fs7dirnameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %26)
  %27 = invoke { i32, ptr } @_ZN4chen2fs6createERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtb(ptr noundef nonnull align 8 dereferenceable(32) %8, i16 noundef zeroext 0, i1 noundef zeroext true)
          to label %28 unwind label %44

28:                                               ; preds = %25
  %29 = getelementptr inbounds { i32, ptr }, ptr %11, i32 0, i32 0
  %30 = extractvalue { i32, ptr } %27, 0
  store i32 %30, ptr %29, align 8
  %31 = getelementptr inbounds { i32, ptr }, ptr %11, i32 0, i32 1
  %32 = extractvalue { i32, ptr } %27, 1
  store ptr %32, ptr %31, align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %33) #6
  %35 = call noalias ptr @fopen(ptr noundef %34, ptr noundef @.str.5)
  store ptr %35, ptr %12, align 8, !tbaa !5
  %36 = load ptr, ptr %12, align 8, !tbaa !5
  %37 = icmp ne ptr %36, null
  br i1 %37, label %48, label %38

38:                                               ; preds = %28
  %39 = call { i32, ptr } @_ZN4chen3sys5errorEv()
  %40 = getelementptr inbounds { i32, ptr }, ptr %4, i32 0, i32 0
  %41 = extractvalue { i32, ptr } %39, 0
  store i32 %41, ptr %40, align 8
  %42 = getelementptr inbounds { i32, ptr }, ptr %4, i32 0, i32 1
  %43 = extractvalue { i32, ptr } %39, 1
  store ptr %43, ptr %42, align 8
  store i32 1, ptr %13, align 4
  br label %79

44:                                               ; preds = %25
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %9, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  br label %81

48:                                               ; preds = %28
  %49 = load ptr, ptr %12, align 8, !tbaa !5
  %50 = call i32 @fclose(ptr noundef %49)
  call void @llvm.lifetime.start.p0(i64 144, ptr %14) #6
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 144, i1 false)
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %51) #6
  %53 = call i32 @stat(ptr noundef %52, ptr noundef %14) #6
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %72, label %55

55:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  call void @llvm.memset.p0.i64(ptr align 8 %15, i8 0, i64 16, i1 false)
  %56 = load i64, ptr %6, align 8, !tbaa !9
  %57 = getelementptr inbounds %struct.utimbuf, ptr %15, i32 0, i32 1
  store i64 %56, ptr %57, align 8, !tbaa !11
  %58 = load i64, ptr %7, align 8, !tbaa !9
  %59 = getelementptr inbounds %struct.utimbuf, ptr %15, i32 0, i32 0
  store i64 %58, ptr %59, align 8, !tbaa !13
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %60) #6
  %62 = call i32 @utime(ptr noundef %61, ptr noundef %15) #6
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %65, label %64

64:                                               ; preds = %55
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  br label %71

65:                                               ; preds = %55
  %66 = call { i32, ptr } @_ZN4chen3sys5errorEv()
  %67 = getelementptr inbounds { i32, ptr }, ptr %4, i32 0, i32 0
  %68 = extractvalue { i32, ptr } %66, 0
  store i32 %68, ptr %67, align 8
  %69 = getelementptr inbounds { i32, ptr }, ptr %4, i32 0, i32 1
  %70 = extractvalue { i32, ptr } %66, 1
  store ptr %70, ptr %69, align 8
  br label %71

71:                                               ; preds = %65, %64
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  br label %78

72:                                               ; preds = %48
  %73 = call { i32, ptr } @_ZN4chen3sys5errorEv()
  %74 = getelementptr inbounds { i32, ptr }, ptr %4, i32 0, i32 0
  %75 = extractvalue { i32, ptr } %73, 0
  store i32 %75, ptr %74, align 8
  %76 = getelementptr inbounds { i32, ptr }, ptr %4, i32 0, i32 1
  %77 = extractvalue { i32, ptr } %73, 1
  store ptr %77, ptr %76, align 8
  store i32 1, ptr %13, align 4
  br label %78

78:                                               ; preds = %72, %71
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #6
  br label %79

79:                                               ; preds = %78, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  %80 = load { i32, ptr }, ptr %4, align 8
  ret { i32, ptr } %80

81:                                               ; preds = %44
  %82 = load ptr, ptr %9, align 8
  %83 = load i32, ptr %10, align 4
  %84 = insertvalue { ptr, i32 } poison, ptr %82, 0
  %85 = insertvalue { ptr, i32 } %84, i32 %83, 1
  resume { ptr, i32 } %85
}

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZN4chen2fs6createERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtb(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext, i1 noundef zeroext) #4 align 2

declare void @_ZN4chen2fs7dirnameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #5

declare noalias ptr @fopen(ptr noundef, ptr noundef) #5

declare { i32, ptr } @_ZN4chen3sys5errorEv() #5

declare i32 @fclose(ptr noundef) #5

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #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 = { 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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"_ZTS7utimbuf", !10, i64 0, !10, i64 8}
!13 = !{!12, !10, 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::error_code" = type { i32, 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] }
%struct.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, %struct.timespec, %struct.timespec, %struct.timespec, [3 x i64] }
%struct.timespec = type { i64, i64 }
%struct.utimbuf = type { i64, i64 }

@.str.5 = external hidden unnamed_addr constant [4 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

declare i32 @__gxx_personality_v0(...)

; 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 nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local { i32, ptr } @_ZN4chen2fs5touchERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEll(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::error_code", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %struct.stat, align 8
  %7 = alloca %struct.utimbuf, align 8
  %.not = icmp eq i64 %1, 0
  br i1 %.not, label %8, label %10

8:                                                ; preds = %3
  %9 = tail call i64 @time(ptr noundef null) #7
  br label %10

10:                                               ; preds = %8, %3
  %.0 = phi i64 [ %1, %3 ], [ %9, %8 ]
  %.not16 = icmp eq i64 %2, 0
  %spec.select = select i1 %.not16, i64 %.0, i64 %2
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  call void @_ZN4chen2fs7dirnameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %0)
  %11 = invoke { i32, ptr } @_ZN4chen2fs6createERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtb(ptr noundef nonnull align 8 dereferenceable(32) %5, i16 noundef zeroext 0, i1 noundef zeroext true)
          to label %12 unwind label %19

12:                                               ; preds = %10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  %13 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #7
  %14 = call noalias ptr @fopen(ptr noundef %13, ptr noundef nonnull @.str.5)
  %.not17 = icmp eq ptr %14, null
  br i1 %.not17, label %15, label %21

15:                                               ; preds = %12
  %16 = call { i32, ptr } @_ZN4chen3sys5errorEv()
  %17 = extractvalue { i32, ptr } %16, 0
  %18 = extractvalue { i32, ptr } %16, 1
  br label %40

19:                                               ; preds = %10
  %20 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  resume { ptr, i32 } %20

21:                                               ; preds = %12
  %22 = call i32 @fclose(ptr noundef nonnull %14)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %6) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(144) %6, i8 0, i64 144, i1 false)
  %23 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #7
  %24 = call i32 @stat(ptr noundef %23, ptr noundef nonnull %6) #7
  %.not18 = icmp eq i32 %24, 0
  br i1 %.not18, label %25, label %35

25:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  %26 = getelementptr inbounds i8, ptr %7, i64 8
  store i64 %.0, ptr %26, align 8, !tbaa !5
  store i64 %spec.select, ptr %7, align 8, !tbaa !10
  %27 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #7
  %28 = call i32 @utime(ptr noundef %27, ptr noundef nonnull %7) #7
  %.not19 = icmp eq i32 %28, 0
  br i1 %.not19, label %29, label %30

29:                                               ; preds = %25
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  %.fca.0.load.pre.pre.pre = load i32, ptr %4, align 8
  %.fca.1.gep.phi.trans.insert.phi.trans.insert.phi.trans.insert = getelementptr inbounds i8, ptr %4, i64 8
  %.fca.1.load.pre.pre.pre = load ptr, ptr %.fca.1.gep.phi.trans.insert.phi.trans.insert.phi.trans.insert, align 8
  br label %34

30:                                               ; preds = %25
  %31 = call { i32, ptr } @_ZN4chen3sys5errorEv()
  %32 = extractvalue { i32, ptr } %31, 0
  %33 = extractvalue { i32, ptr } %31, 1
  br label %34

34:                                               ; preds = %30, %29
  %.fca.1.load.pre.pre = phi ptr [ %33, %30 ], [ %.fca.1.load.pre.pre.pre, %29 ]
  %.fca.0.load.pre.pre = phi i32 [ %32, %30 ], [ %.fca.0.load.pre.pre.pre, %29 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  br label %39

35:                                               ; preds = %21
  %36 = call { i32, ptr } @_ZN4chen3sys5errorEv()
  %37 = extractvalue { i32, ptr } %36, 0
  %38 = extractvalue { i32, ptr } %36, 1
  br label %39

39:                                               ; preds = %35, %34
  %.fca.1.load.pre = phi ptr [ %38, %35 ], [ %.fca.1.load.pre.pre, %34 ]
  %.fca.0.load.pre = phi i32 [ %37, %35 ], [ %.fca.0.load.pre.pre, %34 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %6) #7
  br label %40

40:                                               ; preds = %39, %15
  %.fca.1.load = phi ptr [ %.fca.1.load.pre, %39 ], [ %18, %15 ]
  %.fca.0.load = phi i32 [ %.fca.0.load.pre, %39 ], [ %17, %15 ]
  %.fca.0.insert = insertvalue { i32, ptr } poison, i32 %.fca.0.load, 0
  %.fca.1.insert = insertvalue { i32, ptr } %.fca.0.insert, ptr %.fca.1.load, 1
  ret { i32, ptr } %.fca.1.insert
}

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZN4chen2fs6createERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtb(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #4 align 2

declare void @_ZN4chen2fs7dirnameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3

declare { i32, ptr } @_ZN4chen3sys5errorEv() local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #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 }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"_ZTS7utimbuf", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 0}


; Effective O3 passes: BDCEPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass