; LLVM IR from Aeternum-Veritas/Merry :: childmain (merry_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"

%struct.MerryCLP = type { i8, i8, i8, ptr, ptr, i8, ptr, i64, i8, ptr }
%struct.MerryReader = type { i8, i8, i8, i8, %struct.MerryInstSection, %struct.MerryEAT, %struct.MerrySsT, %struct.MerryST, ptr, [2 x i64], i64, i64, ptr, i64, ptr, i64, ptr, ptr, ptr, ptr, i64, i64 }
%struct.MerryInstSection = type { i64, ptr, i64, i64 }
%struct.MerryEAT = type { ptr, i64, i64 }
%struct.MerrySsT = type { i64, i64, ptr, i8 }
%struct.MerryST = type { ptr, i64 }

@stdout = external global ptr, align 8
@cmd_opts = external hidden global ptr, align 8
@os_thread = external hidden global ptr, align 8
@_os_init = external hidden global i8, align 1
@.str.8 = external hidden unnamed_addr constant [84 x i8], align 1
@id = external hidden global i8, align 1
@.str.9 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [57 x i8], align 1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @merry_main() #1 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = load ptr, ptr @stdout, align 8, !tbaa !5
  %5 = load i8, ptr @id, align 1, !tbaa !9
  %6 = zext i8 %5 to i32
  %7 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %4, ptr noundef @.str.8, i32 noundef %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  %8 = load ptr, ptr @cmd_opts, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.MerryCLP, ptr %8, i32 0, i32 3
  %10 = load ptr, ptr %9, align 8, !tbaa !10
  %11 = call ptr @merry_init_reader(ptr noundef %10)
  store ptr %11, ptr %2, align 8, !tbaa !5
  %12 = load ptr, ptr %2, align 8, !tbaa !5
  %13 = icmp eq ptr %12, null
  br i1 %13, label %14, label %15

14:                                               ; preds = %0
  store i32 1, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %104

15:                                               ; preds = %0
  %16 = load ptr, ptr @stdout, align 8, !tbaa !5
  %17 = load i8, ptr @id, align 1, !tbaa !9
  %18 = zext i8 %17 to i32
  %19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str.9, i32 noundef %18) #4
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = call zeroext i8 @merry_reader_read_file(ptr noundef %20)
  %22 = zext i8 %21 to i32
  %23 = icmp eq i32 %22, 1
  br i1 %23, label %24, label %26

24:                                               ; preds = %15
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  call void @merry_destroy_reader(ptr noundef %25)
  store i32 1, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %104

26:                                               ; preds = %15
  store i8 1, ptr @_os_init, align 1, !tbaa !9
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.MerryReader, ptr %27, i32 0, i32 5
  %29 = getelementptr inbounds %struct.MerryEAT, ptr %28, i32 0, i32 1
  store i64 1, ptr %29, align 8, !tbaa !13
  %30 = load ptr, ptr @cmd_opts, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.MerryCLP, ptr %30, i32 0, i32 9
  %32 = load ptr, ptr %31, align 8, !tbaa !19
  %33 = icmp eq ptr %32, null
  br i1 %33, label %34, label %35

34:                                               ; preds = %26
  br label %39

35:                                               ; preds = %26
  %36 = load ptr, ptr @cmd_opts, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.MerryCLP, ptr %36, i32 0, i32 9
  %38 = load ptr, ptr %37, align 8, !tbaa !19
  br label %39

39:                                               ; preds = %35, %34
  %40 = phi ptr [ @.str.10, %34 ], [ %38, %35 ]
  %41 = call i64 @strtoull(ptr noundef %40, ptr noundef null, i32 noundef 10) #4
  %42 = load ptr, ptr %2, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.MerryReader, ptr %42, i32 0, i32 5
  %44 = getelementptr inbounds %struct.MerryEAT, ptr %43, i32 0, i32 0
  %45 = load ptr, ptr %44, align 8, !tbaa !20
  %46 = getelementptr inbounds i64, ptr %45, i64 0
  store i64 %41, ptr %46, align 8, !tbaa !21
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = call zeroext i8 @merry_os_init_reader_provided(ptr noundef %47)
  %49 = zext i8 %48 to i32
  %50 = icmp eq i32 %49, 1
  br i1 %50, label %51, label %56

51:                                               ; preds = %39
  %52 = load ptr, ptr @stdout, align 8, !tbaa !5
  %53 = load i8, ptr @id, align 1, !tbaa !9
  %54 = zext i8 %53 to i32
  %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.11, i32 noundef %54) #4
  store i32 1, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %104

56:                                               ; preds = %39
  %57 = load ptr, ptr @cmd_opts, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.MerryCLP, ptr %57, i32 0, i32 5
  %59 = load i8, ptr %58, align 8, !tbaa !22
  %60 = zext i8 %59 to i32
  %61 = icmp eq i32 %60, 1
  br i1 %61, label %62, label %66

62:                                               ; preds = %56
  %63 = load ptr, ptr @cmd_opts, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.MerryCLP, ptr %63, i32 0, i32 4
  %65 = load ptr, ptr %64, align 8, !tbaa !23
  call void @merry_os_produce_dump(ptr noundef %65)
  br label %66

66:                                               ; preds = %62, %56
  %67 = load i8, ptr @id, align 1, !tbaa !9
  %68 = zext i8 %67 to i64
  call void @merry_os_give_id(i64 noundef %68)
  %69 = call ptr (...) @merry_thread_init()
  store ptr %69, ptr @os_thread, align 8, !tbaa !5
  %70 = load ptr, ptr @os_thread, align 8, !tbaa !5
  %71 = icmp eq ptr %70, null
  br i1 %71, label %72, label %77

72:                                               ; preds = %66
  %73 = load ptr, ptr @stdout, align 8, !tbaa !5
  %74 = load i8, ptr @id, align 1, !tbaa !9
  %75 = zext i8 %74 to i32
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %73, ptr noundef @.str.12, i32 noundef %75) #4
  store i32 1, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %104

77:                                               ; preds = %66
  %78 = load ptr, ptr @stdout, align 8, !tbaa !5
  %79 = load i8, ptr @id, align 1, !tbaa !9
  %80 = zext i8 %79 to i32
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str.13, i32 noundef %80) #4
  %82 = load ptr, ptr @os_thread, align 8, !tbaa !5
  %83 = call zeroext i8 @merry_create_thread(ptr noundef %82, ptr noundef @merry_os_start_vm, ptr noundef null)
  %84 = zext i8 %83 to i32
  %85 = icmp eq i32 %84, 1
  br i1 %85, label %86, label %91

86:                                               ; preds = %77
  %87 = load ptr, ptr @stdout, align 8, !tbaa !5
  %88 = load i8, ptr @id, align 1, !tbaa !9
  %89 = zext i8 %88 to i32
  %90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef @.str.14, i32 noundef %89) #4
  store i32 1, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %104

91:                                               ; preds = %77
  %92 = load ptr, ptr @stdout, align 8, !tbaa !5
  %93 = load i8, ptr @id, align 1, !tbaa !9
  %94 = zext i8 %93 to i32
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %92, ptr noundef @.str.15, i32 noundef %94) #4
  %96 = load ptr, ptr @stdout, align 8, !tbaa !5
  %97 = load i8, ptr @id, align 1, !tbaa !9
  %98 = zext i8 %97 to i32
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef @.str.16, i32 noundef %98) #4
  %100 = load ptr, ptr @os_thread, align 8, !tbaa !5
  %101 = call zeroext i8 @merry_thread_join(ptr noundef %100, ptr noundef null)
  %102 = call i64 (...) @merry_os_get_ret()
  %103 = trunc i64 %102 to i32
  store i32 %103, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %104

104:                                              ; preds = %91, %86, %72, %51, %24, %14
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #4
  %105 = load i32, ptr %1, align 4
  ret i32 %105
}

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

declare ptr @merry_init_reader(ptr noundef) #3

declare zeroext i8 @merry_reader_read_file(ptr noundef) #3

declare void @merry_destroy_reader(ptr noundef) #3

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

declare zeroext i8 @merry_os_init_reader_provided(ptr noundef) #3

declare void @merry_os_produce_dump(ptr noundef) #3

declare void @merry_os_give_id(i64 noundef) #3

declare ptr @merry_thread_init(...) #3

declare zeroext i8 @merry_create_thread(ptr noundef, ptr noundef, ptr noundef) #3

declare ptr @merry_os_start_vm(ptr noundef) #3

declare zeroext i8 @merry_thread_join(ptr noundef, ptr noundef) #3

declare i64 @merry_os_get_ret(...) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !6, i64 8}
!11 = !{!"MerryCLP", !7, i64 0, !7, i64 1, !7, i64 2, !6, i64 8, !6, i64 16, !7, i64 24, !6, i64 32, !12, i64 40, !7, i64 48, !6, i64 56}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !12, i64 48}
!14 = !{!"MerryReader", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !15, i64 8, !16, i64 40, !17, i64 64, !18, i64 96, !6, i64 112, !7, i64 120, !12, i64 136, !12, i64 144, !6, i64 152, !12, i64 160, !6, i64 168, !12, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !12, i64 216, !12, i64 224}
!15 = !{!"MerryInstSection", !12, i64 0, !6, i64 8, !12, i64 16, !12, i64 24}
!16 = !{!"MerryEAT", !6, i64 0, !12, i64 8, !12, i64 16}
!17 = !{!"MerrySsT", !12, i64 0, !12, i64 8, !6, i64 16, !7, i64 24}
!18 = !{!"MerryST", !6, i64 0, !12, i64 8}
!19 = !{!11, !6, i64 56}
!20 = !{!14, !6, i64 40}
!21 = !{!12, !12, i64 0}
!22 = !{!11, !7, i64 24}
!23 = !{!11, !6, i64 16}


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

@stdout = external local_unnamed_addr global ptr, align 8
@cmd_opts = external hidden local_unnamed_addr global ptr, align 8
@os_thread = external hidden local_unnamed_addr global ptr, align 8
@_os_init = external hidden local_unnamed_addr global i8, align 1
@.str.8 = external hidden unnamed_addr constant [84 x i8], align 1
@id = external hidden local_unnamed_addr global i8, align 1
@.str.9 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [57 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local i32 @merry_main() local_unnamed_addr #1 {
  %1 = load ptr, ptr @stdout, align 8, !tbaa !5
  %2 = load i8, ptr @id, align 1, !tbaa !9
  %3 = zext i8 %2 to i32
  %4 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, i32 noundef %3) #4
  %5 = load ptr, ptr @cmd_opts, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %5, i64 8
  %7 = load ptr, ptr %6, align 8, !tbaa !10
  %8 = tail call ptr @merry_init_reader(ptr noundef %7) #4
  %9 = icmp eq ptr %8, null
  br i1 %9, label %72, label %10

10:                                               ; preds = %0
  %11 = load ptr, ptr @stdout, align 8, !tbaa !5
  %12 = load i8, ptr @id, align 1, !tbaa !9
  %13 = zext i8 %12 to i32
  %14 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.9, i32 noundef %13) #4
  %15 = tail call zeroext i8 @merry_reader_read_file(ptr noundef nonnull %8) #4
  %16 = icmp eq i8 %15, 1
  br i1 %16, label %17, label %18

17:                                               ; preds = %10
  tail call void @merry_destroy_reader(ptr noundef nonnull %8) #4
  br label %72

18:                                               ; preds = %10
  store i8 1, ptr @_os_init, align 1, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %8, i64 40
  %20 = getelementptr inbounds i8, ptr %8, i64 48
  store i64 1, ptr %20, align 8, !tbaa !13
  %21 = load ptr, ptr @cmd_opts, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %21, i64 56
  %23 = load ptr, ptr %22, align 8, !tbaa !19
  %24 = icmp eq ptr %23, null
  %spec.select = select i1 %24, ptr @.str.10, ptr %23
  %25 = tail call i64 @strtoull(ptr nocapture noundef nonnull %spec.select, ptr noundef null, i32 noundef 10) #4
  %26 = load ptr, ptr %19, align 8, !tbaa !20
  store i64 %25, ptr %26, align 8, !tbaa !21
  %27 = tail call zeroext i8 @merry_os_init_reader_provided(ptr noundef nonnull %8) #4
  %28 = icmp eq i8 %27, 1
  br i1 %28, label %29, label %34

29:                                               ; preds = %18
  %30 = load ptr, ptr @stdout, align 8, !tbaa !5
  %31 = load i8, ptr @id, align 1, !tbaa !9
  %32 = zext i8 %31 to i32
  %33 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef nonnull @.str.11, i32 noundef %32) #4
  br label %72

34:                                               ; preds = %18
  %35 = load ptr, ptr @cmd_opts, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i64 24
  %37 = load i8, ptr %36, align 8, !tbaa !22
  %38 = icmp eq i8 %37, 1
  br i1 %38, label %39, label %42

39:                                               ; preds = %34
  %40 = getelementptr inbounds i8, ptr %35, i64 16
  %41 = load ptr, ptr %40, align 8, !tbaa !23
  tail call void @merry_os_produce_dump(ptr noundef %41) #4
  br label %42

42:                                               ; preds = %39, %34
  %43 = load i8, ptr @id, align 1, !tbaa !9
  %44 = zext i8 %43 to i64
  tail call void @merry_os_give_id(i64 noundef %44) #4
  %45 = tail call ptr (...) @merry_thread_init() #4
  store ptr %45, ptr @os_thread, align 8, !tbaa !5
  %46 = icmp eq ptr %45, null
  %47 = load ptr, ptr @stdout, align 8, !tbaa !5
  %48 = load i8, ptr @id, align 1, !tbaa !9
  %49 = zext i8 %48 to i32
  br i1 %46, label %50, label %52

50:                                               ; preds = %42
  %51 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef nonnull @.str.12, i32 noundef %49) #4
  br label %72

52:                                               ; preds = %42
  %53 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef nonnull @.str.13, i32 noundef %49) #4
  %54 = load ptr, ptr @os_thread, align 8, !tbaa !5
  %55 = tail call zeroext i8 @merry_create_thread(ptr noundef %54, ptr noundef nonnull @merry_os_start_vm, ptr noundef null) #4
  %56 = icmp eq i8 %55, 1
  %57 = load ptr, ptr @stdout, align 8, !tbaa !5
  %58 = load i8, ptr @id, align 1, !tbaa !9
  %59 = zext i8 %58 to i32
  br i1 %56, label %60, label %62

60:                                               ; preds = %52
  %61 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef nonnull @.str.14, i32 noundef %59) #4
  br label %72

62:                                               ; preds = %52
  %63 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef nonnull @.str.15, i32 noundef %59) #4
  %64 = load ptr, ptr @stdout, align 8, !tbaa !5
  %65 = load i8, ptr @id, align 1, !tbaa !9
  %66 = zext i8 %65 to i32
  %67 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef nonnull @.str.16, i32 noundef %66) #4
  %68 = load ptr, ptr @os_thread, align 8, !tbaa !5
  %69 = tail call zeroext i8 @merry_thread_join(ptr noundef %68, ptr noundef null) #4
  %70 = tail call i64 (...) @merry_os_get_ret() #4
  %71 = trunc i64 %70 to i32
  br label %72

72:                                               ; preds = %0, %62, %60, %50, %29, %17
  %.0 = phi i32 [ 1, %17 ], [ 1, %29 ], [ 1, %50 ], [ 1, %60 ], [ %71, %62 ], [ 1, %0 ]
  ret i32 %.0
}

declare ptr @merry_init_reader(ptr noundef) local_unnamed_addr #2

declare zeroext i8 @merry_reader_read_file(ptr noundef) local_unnamed_addr #2

declare void @merry_destroy_reader(ptr noundef) local_unnamed_addr #2

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

declare zeroext i8 @merry_os_init_reader_provided(ptr noundef) local_unnamed_addr #2

declare void @merry_os_produce_dump(ptr noundef) local_unnamed_addr #2

declare void @merry_os_give_id(i64 noundef) local_unnamed_addr #2

declare ptr @merry_thread_init(...) local_unnamed_addr #2

declare zeroext i8 @merry_create_thread(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @merry_os_start_vm(ptr noundef) #2

declare zeroext i8 @merry_thread_join(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i64 @merry_os_get_ret(...) local_unnamed_addr #2

attributes #0 = { 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 #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !6, i64 8}
!11 = !{!"MerryCLP", !7, i64 0, !7, i64 1, !7, i64 2, !6, i64 8, !6, i64 16, !7, i64 24, !6, i64 32, !12, i64 40, !7, i64 48, !6, i64 56}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !12, i64 48}
!14 = !{!"MerryReader", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !15, i64 8, !16, i64 40, !17, i64 64, !18, i64 96, !6, i64 112, !7, i64 120, !12, i64 136, !12, i64 144, !6, i64 152, !12, i64 160, !6, i64 168, !12, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !12, i64 216, !12, i64 224}
!15 = !{!"MerryInstSection", !12, i64 0, !6, i64 8, !12, i64 16, !12, i64 24}
!16 = !{!"MerryEAT", !6, i64 0, !12, i64 8, !12, i64 16}
!17 = !{!"MerrySsT", !12, i64 0, !12, i64 8, !6, i64 16, !7, i64 24}
!18 = !{!"MerryST", !6, i64 0, !12, i64 8}
!19 = !{!11, !6, i64 56}
!20 = !{!14, !6, i64 40}
!21 = !{!12, !12, i64 0}
!22 = !{!11, !7, i64 24}
!23 = !{!11, !6, i64 16}


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