; LLVM IR from clangen/musikcube :: src/3rdparty/win32_src/pdcurses (color)

; 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.SCREEN = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i32, i32, i32, i32, i32, i32, i64, i32, i32, ptr, i32, i32, i32, i8, i32, i64, i8, i8, %struct.MOUSE_STATUS, i16, i64, ptr, ptr, i8, i8, i32, i32, ptr, i32, i32, ptr, i32, i32, ptr }
%struct.MOUSE_STATUS = type { i32, i32, [9 x i16], i32 }
%struct._opaque_screen_t = type { ptr, i32, i32, i8, ptr, i32, i32, i32, ptr, i32, i8, ptr, ptr }
%struct._pdc_pair = type { i32, i32, i32, i32 }

@SP = external global ptr, align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [91 x i8], align 1
@_default_foreground_idx = external hidden global i32, align 4
@_default_background_idx = external hidden global i32, align 4
@__PRETTY_FUNCTION__.PDC_init_atrtab = external hidden unnamed_addr constant [26 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [18 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare hidden void @_init_pair_core(i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @PDC_set_default_colors(i32 noundef, i32 noundef) #1

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @PDC_init_atrtab() #1 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = load ptr, ptr @SP, align 8, !tbaa !5
  %5 = icmp ne ptr %4, null
  br i1 %5, label %6, label %7

6:                                                ; preds = %0
  br label %8

7:                                                ; preds = %0
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 545, ptr noundef @__PRETTY_FUNCTION__.PDC_init_atrtab) #4
  unreachable

8:                                                ; preds = %6
  %9 = load ptr, ptr @SP, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.SCREEN, ptr %9, i32 0, i32 45
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  %12 = icmp ne ptr %11, null
  br i1 %12, label %88, label %13

13:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  %14 = call noalias ptr @calloc(i64 noundef 1, i64 noundef 80) #6
  %15 = load ptr, ptr @SP, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.SCREEN, ptr %15, i32 0, i32 45
  store ptr %14, ptr %16, align 8, !tbaa !9
  %17 = load ptr, ptr @SP, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.SCREEN, ptr %17, i32 0, i32 45
  %19 = load ptr, ptr %18, align 8, !tbaa !9
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %22

21:                                               ; preds = %13
  br label %23

22:                                               ; preds = %13
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 551, ptr noundef @__PRETTY_FUNCTION__.PDC_init_atrtab) #4
  unreachable

23:                                               ; preds = %21
  %24 = load ptr, ptr @SP, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.SCREEN, ptr %24, i32 0, i32 45
  %26 = load ptr, ptr %25, align 8, !tbaa !9
  %27 = icmp ne ptr %26, null
  br i1 %27, label %29, label %28

28:                                               ; preds = %23
  store i32 -1, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %85

29:                                               ; preds = %23
  %30 = load ptr, ptr @SP, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.SCREEN, ptr %30, i32 0, i32 45
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  %33 = getelementptr inbounds %struct._opaque_screen_t, ptr %32, i32 0, i32 1
  store i32 1, ptr %33, align 8, !tbaa !16
  %34 = call noalias ptr @calloc(i64 noundef 2, i64 noundef 16) #6
  %35 = load ptr, ptr @SP, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.SCREEN, ptr %35, i32 0, i32 45
  %37 = load ptr, ptr %36, align 8, !tbaa !9
  %38 = getelementptr inbounds %struct._opaque_screen_t, ptr %37, i32 0, i32 0
  store ptr %34, ptr %38, align 8, !tbaa !18
  %39 = load ptr, ptr @SP, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.SCREEN, ptr %39, i32 0, i32 45
  %41 = load ptr, ptr %40, align 8, !tbaa !9
  %42 = getelementptr inbounds %struct._opaque_screen_t, ptr %41, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8, !tbaa !18
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %46

45:                                               ; preds = %29
  br label %47

46:                                               ; preds = %29
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 556, ptr noundef @__PRETTY_FUNCTION__.PDC_init_atrtab) #4
  unreachable

47:                                               ; preds = %45
  %48 = load ptr, ptr @SP, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.SCREEN, ptr %48, i32 0, i32 45
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  %51 = getelementptr inbounds %struct._opaque_screen_t, ptr %50, i32 0, i32 0
  %52 = load ptr, ptr %51, align 8, !tbaa !18
  %53 = icmp ne ptr %52, null
  br i1 %53, label %55, label %54

54:                                               ; preds = %47
  store i32 -1, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %85

55:                                               ; preds = %47
  %56 = load ptr, ptr @SP, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.SCREEN, ptr %56, i32 0, i32 45
  %58 = load ptr, ptr %57, align 8, !tbaa !9
  %59 = getelementptr inbounds %struct._opaque_screen_t, ptr %58, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8, !tbaa !18
  store ptr %60, ptr %2, align 8, !tbaa !5
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct._pdc_pair, ptr %61, i64 1
  %63 = getelementptr inbounds %struct._pdc_pair, ptr %62, i32 0, i32 0
  store i32 -2, ptr %63, align 4, !tbaa !19
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct._pdc_pair, ptr %64, i64 0
  %66 = getelementptr inbounds %struct._pdc_pair, ptr %65, i32 0, i32 0
  store i32 -2, ptr %66, align 4, !tbaa !19
  %67 = load ptr, ptr %2, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct._pdc_pair, ptr %67, i64 0
  %69 = getelementptr inbounds %struct._pdc_pair, ptr %68, i32 0, i32 3
  store i32 0, ptr %69, align 4, !tbaa !21
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct._pdc_pair, ptr %70, i64 0
  %72 = getelementptr inbounds %struct._pdc_pair, ptr %71, i32 0, i32 2
  store i32 0, ptr %72, align 4, !tbaa !22
  %73 = load ptr, ptr %2, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct._pdc_pair, ptr %73, i64 1
  %75 = getelementptr inbounds %struct._pdc_pair, ptr %74, i32 0, i32 3
  store i32 1, ptr %75, align 4, !tbaa !21
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct._pdc_pair, ptr %76, i64 1
  %78 = getelementptr inbounds %struct._pdc_pair, ptr %77, i32 0, i32 2
  store i32 1, ptr %78, align 4, !tbaa !22
  %79 = load ptr, ptr @SP, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.SCREEN, ptr %79, i32 0, i32 45
  %81 = load ptr, ptr %80, align 8, !tbaa !9
  %82 = getelementptr inbounds %struct._opaque_screen_t, ptr %81, i32 0, i32 3
  store i8 0, ptr %82, align 8, !tbaa !23
  %83 = load i32, ptr @_default_foreground_idx, align 4, !tbaa !24
  %84 = load i32, ptr @_default_background_idx, align 4, !tbaa !24
  call void @PDC_set_default_colors(i32 noundef %83, i32 noundef %84)
  store i32 0, ptr %3, align 4
  br label %85

85:                                               ; preds = %55, %54, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  %86 = load i32, ptr %3, align 4
  switch i32 %86, label %117 [
    i32 0, label %87
    i32 1, label %115
  ]

87:                                               ; preds = %85
  br label %88

88:                                               ; preds = %87, %8
  %89 = load ptr, ptr @SP, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.SCREEN, ptr %89, i32 0, i32 9
  %91 = load i8, ptr %90, align 1, !tbaa !25, !range !26, !noundef !27
  %92 = trunc i8 %91 to i1
  br i1 %92, label %93, label %98

93:                                               ; preds = %88
  %94 = load ptr, ptr @SP, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.SCREEN, ptr %94, i32 0, i32 10
  %96 = load i16, ptr %95, align 2, !tbaa !28
  %97 = sext i16 %96 to i32
  br label %100

98:                                               ; preds = %88
  %99 = load i32, ptr @_default_foreground_idx, align 4, !tbaa !24
  br label %100

100:                                              ; preds = %98, %93
  %101 = phi i32 [ %97, %93 ], [ %99, %98 ]
  %102 = load ptr, ptr @SP, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.SCREEN, ptr %102, i32 0, i32 9
  %104 = load i8, ptr %103, align 1, !tbaa !25, !range !26, !noundef !27
  %105 = trunc i8 %104 to i1
  br i1 %105, label %106, label %111

106:                                              ; preds = %100
  %107 = load ptr, ptr @SP, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.SCREEN, ptr %107, i32 0, i32 11
  %109 = load i16, ptr %108, align 4, !tbaa !29
  %110 = sext i16 %109 to i32
  br label %113

111:                                              ; preds = %100
  %112 = load i32, ptr @_default_background_idx, align 4, !tbaa !24
  br label %113

113:                                              ; preds = %111, %106
  %114 = phi i32 [ %110, %106 ], [ %112, %111 ]
  call void @_init_pair_core(i32 noundef 0, i32 noundef %101, i32 noundef %114)
  store i32 0, ptr %1, align 4
  br label %115

115:                                              ; preds = %113, %85
  %116 = load i32, ptr %1, align 4
  ret i32 %116

117:                                              ; preds = %85
  unreachable
}

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 208}
!10 = !{!"", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !11, i64 9, !12, i64 10, !12, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !14, i64 40, !13, i64 48, !13, i64 52, !6, i64 56, !13, i64 64, !13, i64 68, !13, i64 72, !11, i64 76, !13, i64 80, !14, i64 88, !11, i64 96, !11, i64 97, !15, i64 100, !12, i64 132, !14, i64 136, !6, i64 144, !6, i64 152, !11, i64 160, !11, i64 161, !13, i64 164, !13, i64 168, !6, i64 176, !13, i64 184, !13, i64 188, !6, i64 192, !13, i64 200, !13, i64 204, !6, i64 208}
!11 = !{!"_Bool", !7, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"", !13, i64 0, !13, i64 4, !7, i64 8, !13, i64 28}
!16 = !{!17, !13, i64 8}
!17 = !{!"_opaque_screen_t", !6, i64 0, !13, i64 8, !13, i64 12, !11, i64 16, !6, i64 24, !13, i64 32, !13, i64 36, !13, i64 40, !6, i64 48, !13, i64 56, !11, i64 60, !6, i64 64, !6, i64 72}
!18 = !{!17, !6, i64 0}
!19 = !{!20, !13, i64 0}
!20 = !{!"_pdc_pair", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!21 = !{!20, !13, i64 12}
!22 = !{!20, !13, i64 8}
!23 = !{!17, !11, i64 16}
!24 = !{!13, !13, i64 0}
!25 = !{!10, !11, i64 9}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = !{!10, !12, i64 10}
!29 = !{!10, !12, i64 12}


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

@SP = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [91 x i8], align 1
@_default_foreground_idx = external hidden local_unnamed_addr global i32, align 4
@_default_background_idx = external hidden local_unnamed_addr global i32, align 4
@__PRETTY_FUNCTION__.PDC_init_atrtab = external hidden unnamed_addr constant [26 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [18 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare hidden void @_init_pair_core(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @PDC_set_default_colors(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @PDC_init_atrtab() local_unnamed_addr #1 {
  %1 = load ptr, ptr @SP, align 8, !tbaa !5
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %2, label %3

2:                                                ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 545, ptr noundef nonnull @__PRETTY_FUNCTION__.PDC_init_atrtab) #3
  unreachable

3:                                                ; preds = %0
  %4 = getelementptr inbounds i8, ptr %1, i64 208
  %5 = load ptr, ptr %4, align 8, !tbaa !9
  %.not11 = icmp eq ptr %5, null
  br i1 %.not11, label %6, label %19

6:                                                ; preds = %3
  %7 = tail call noalias dereferenceable_or_null(80) ptr @calloc(i64 noundef 1, i64 noundef 80) #4
  store ptr %7, ptr %4, align 8, !tbaa !9
  %.not12 = icmp eq ptr %7, null
  br i1 %.not12, label %8, label %9

8:                                                ; preds = %6
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 551, ptr noundef nonnull @__PRETTY_FUNCTION__.PDC_init_atrtab) #3
  unreachable

9:                                                ; preds = %6
  %10 = getelementptr inbounds i8, ptr %7, i64 8
  store i32 1, ptr %10, align 8, !tbaa !16
  %11 = tail call noalias dereferenceable_or_null(32) ptr @calloc(i64 noundef 2, i64 noundef 16) #4
  store ptr %11, ptr %7, align 8, !tbaa !18
  %.not13 = icmp eq ptr %11, null
  br i1 %.not13, label %12, label %13

12:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 556, ptr noundef nonnull @__PRETTY_FUNCTION__.PDC_init_atrtab) #3
  unreachable

13:                                               ; preds = %9
  %14 = getelementptr inbounds i8, ptr %11, i64 16
  store i32 -2, ptr %14, align 4, !tbaa !19
  store i32 -2, ptr %11, align 4, !tbaa !19
  %15 = getelementptr inbounds i8, ptr %11, i64 28
  store i32 1, ptr %15, align 4, !tbaa !21
  %16 = getelementptr inbounds i8, ptr %11, i64 24
  store i32 1, ptr %16, align 4, !tbaa !22
  %17 = load i32, ptr @_default_foreground_idx, align 4, !tbaa !23
  %18 = load i32, ptr @_default_background_idx, align 4, !tbaa !23
  tail call void @PDC_set_default_colors(i32 noundef %17, i32 noundef %18)
  %.pre = load ptr, ptr @SP, align 8, !tbaa !5
  br label %19

19:                                               ; preds = %13, %3
  %20 = phi ptr [ %.pre, %13 ], [ %1, %3 ]
  %21 = getelementptr inbounds i8, ptr %20, i64 9
  %22 = load i8, ptr %21, align 1, !tbaa !24, !range !25, !noundef !26
  %23 = trunc nuw i8 %22 to i1
  br i1 %23, label %24, label %31

24:                                               ; preds = %19
  %25 = getelementptr inbounds i8, ptr %20, i64 10
  %26 = load i16, ptr %25, align 2, !tbaa !27
  %27 = sext i16 %26 to i32
  %28 = getelementptr inbounds i8, ptr %20, i64 12
  %29 = load i16, ptr %28, align 4, !tbaa !28
  %30 = sext i16 %29 to i32
  br label %34

31:                                               ; preds = %19
  %32 = load i32, ptr @_default_foreground_idx, align 4, !tbaa !23
  %33 = load i32, ptr @_default_background_idx, align 4, !tbaa !23
  br label %34

34:                                               ; preds = %31, %24
  %35 = phi i32 [ %27, %24 ], [ %32, %31 ]
  %36 = phi i32 [ %30, %24 ], [ %33, %31 ]
  tail call void @_init_pair_core(i32 noundef 0, i32 noundef %35, i32 noundef %36)
  ret i32 0
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #2

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind 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 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { noreturn nounwind }
attributes #4 = { nounwind allocsize(0,1) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 208}
!10 = !{!"", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !11, i64 9, !12, i64 10, !12, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !14, i64 40, !13, i64 48, !13, i64 52, !6, i64 56, !13, i64 64, !13, i64 68, !13, i64 72, !11, i64 76, !13, i64 80, !14, i64 88, !11, i64 96, !11, i64 97, !15, i64 100, !12, i64 132, !14, i64 136, !6, i64 144, !6, i64 152, !11, i64 160, !11, i64 161, !13, i64 164, !13, i64 168, !6, i64 176, !13, i64 184, !13, i64 188, !6, i64 192, !13, i64 200, !13, i64 204, !6, i64 208}
!11 = !{!"_Bool", !7, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"", !13, i64 0, !13, i64 4, !7, i64 8, !13, i64 28}
!16 = !{!17, !13, i64 8}
!17 = !{!"_opaque_screen_t", !6, i64 0, !13, i64 8, !13, i64 12, !11, i64 16, !6, i64 24, !13, i64 32, !13, i64 36, !13, i64 40, !6, i64 48, !13, i64 56, !11, i64 60, !6, i64 64, !6, i64 72}
!18 = !{!17, !6, i64 0}
!19 = !{!20, !13, i64 0}
!20 = !{!"_pdc_pair", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!21 = !{!20, !13, i64 12}
!22 = !{!20, !13, i64 8}
!23 = !{!13, !13, i64 0}
!24 = !{!10, !11, i64 9}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!10, !12, i64 10}
!28 = !{!10, !12, i64 12}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass