; LLVM IR from specinfo-ua/UAPKI :: library/uapkic/src (dstu7624)

; 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.ByteArray_st = type { ptr, i64 }
%struct.Dstu7624Ctx_st = type { i32, [8 x [256 x i64]], [8 x [256 x i64]], [1024 x i8], [1024 x i8], [1280 x i64], [1280 x i64], [8 x i64], i64, i64, i64, %union.anon, ptr, ptr, ptr }
%union.anon = type { %struct.Dstu7624GmacCtx_st }
%struct.Dstu7624GmacCtx_st = type { [8 x i64], [8 x i64], [64 x i8], i64, i64, i64, ptr }
%struct.Dstu7624GcmCtx_st = type { [8 x i64], i64, ptr }

@.str = external hidden unnamed_addr constant [18 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 void @stacktrace_create(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1

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

declare void @stacktrace_add(ptr noundef, i64 noundef, i32 noundef) #1

declare void @gf2m_free(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @dstu7624_init(ptr noundef, ptr noundef, i64 noundef) #2

declare i64 @ba_get_len(ptr noundef) #1

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

declare ptr @gf2m_alloc(ptr noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @dstu7624_init_gcm(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca [5 x i32], align 16
  %10 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i64 %3, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 20, ptr %9) #4
  call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %11

11:                                               ; preds = %4
  %12 = load ptr, ptr %5, align 8, !tbaa !5
  %13 = icmp ne ptr %12, null
  br i1 %13, label %16, label %14

14:                                               ; preds = %11
  store i32 2, ptr %10, align 4, !tbaa !11
  %15 = load i32, ptr %10, align 4, !tbaa !11
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 4170, i32 noundef %15, ptr noundef null)
  br label %128

16:                                               ; preds = %11
  br label %17

17:                                               ; preds = %16
  br label %18

18:                                               ; preds = %17
  br label %19

19:                                               ; preds = %18
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = icmp ne ptr %20, null
  br i1 %21, label %24, label %22

22:                                               ; preds = %19
  store i32 2, ptr %10, align 4, !tbaa !11
  %23 = load i32, ptr %10, align 4, !tbaa !11
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 4171, i32 noundef %23, ptr noundef null)
  br label %128

24:                                               ; preds = %19
  br label %25

25:                                               ; preds = %24
  br label %26

26:                                               ; preds = %25
  br label %27

27:                                               ; preds = %26
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = icmp ne ptr %28, null
  br i1 %29, label %32, label %30

30:                                               ; preds = %27
  store i32 2, ptr %10, align 4, !tbaa !11
  %31 = load i32, ptr %10, align 4, !tbaa !11
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 4172, i32 noundef %31, ptr noundef null)
  br label %128

32:                                               ; preds = %27
  br label %33

33:                                               ; preds = %32
  br label %34

34:                                               ; preds = %33
  br label %35

35:                                               ; preds = %34
  %36 = load i64, ptr %8, align 8, !tbaa !9
  %37 = icmp ule i64 8, %36
  br i1 %37, label %38, label %44

38:                                               ; preds = %35
  %39 = load i64, ptr %8, align 8, !tbaa !9
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.ByteArray_st, ptr %40, i32 0, i32 1
  %42 = load i64, ptr %41, align 8, !tbaa !13
  %43 = icmp ule i64 %39, %42
  br i1 %43, label %46, label %44

44:                                               ; preds = %38, %35
  store i32 2, ptr %10, align 4, !tbaa !11
  %45 = load i32, ptr %10, align 4, !tbaa !11
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 4173, i32 noundef %45, ptr noundef null)
  br label %128

46:                                               ; preds = %38
  br label %47

47:                                               ; preds = %46
  br label %48

48:                                               ; preds = %47
  br label %49

49:                                               ; preds = %48
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = call i64 @ba_get_len(ptr noundef %52)
  %54 = call i32 @dstu7624_init(ptr noundef %50, ptr noundef %51, i64 noundef %53)
  store i32 %54, ptr %10, align 4, !tbaa !11
  %55 = load i32, ptr %10, align 4, !tbaa !11
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %59

57:                                               ; preds = %49
  %58 = load i32, ptr %10, align 4, !tbaa !11
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 4175, i32 noundef %58)
  br label %128

59:                                               ; preds = %49
  br label %60

60:                                               ; preds = %59
  br label %61

61:                                               ; preds = %60
  br label %62

62:                                               ; preds = %61
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.Dstu7624Ctx_st, ptr %64, i32 0, i32 11
  %66 = getelementptr inbounds %struct.Dstu7624GcmCtx_st, ptr %65, i32 0, i32 0
  %67 = getelementptr inbounds [8 x i64], ptr %66, i64 0, i64 0
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.Dstu7624Ctx_st, ptr %68, i32 0, i32 9
  %70 = load i64, ptr %69, align 8, !tbaa !15
  %71 = lshr i64 %70, 3
  %72 = call i32 @ba_to_uint64(ptr noundef %63, ptr noundef %67, i64 noundef %71)
  store i32 %72, ptr %10, align 4, !tbaa !11
  %73 = load i32, ptr %10, align 4, !tbaa !11
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %77

75:                                               ; preds = %62
  %76 = load i32, ptr %10, align 4, !tbaa !11
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 4177, i32 noundef %76)
  br label %128

77:                                               ; preds = %62
  br label %78

78:                                               ; preds = %77
  br label %79

79:                                               ; preds = %78
  %80 = load i64, ptr %8, align 8, !tbaa !9
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.Dstu7624Ctx_st, ptr %81, i32 0, i32 11
  %83 = getelementptr inbounds %struct.Dstu7624GcmCtx_st, ptr %82, i32 0, i32 1
  store i64 %80, ptr %83, align 8, !tbaa !17
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.Dstu7624Ctx_st, ptr %84, i32 0, i32 9
  %86 = load i64, ptr %85, align 8, !tbaa !15
  switch i64 %86, label %105 [
    i64 16, label %87
    i64 32, label %93
    i64 64, label %99
  ]

87:                                               ; preds = %79
  %88 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0
  store i32 128, ptr %88, align 16, !tbaa !11
  %89 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 1
  store i32 7, ptr %89, align 4, !tbaa !11
  %90 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 2
  store i32 2, ptr %90, align 8, !tbaa !11
  %91 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 3
  store i32 1, ptr %91, align 4, !tbaa !11
  %92 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 4
  store i32 0, ptr %92, align 16, !tbaa !11
  br label %106

93:                                               ; preds = %79
  %94 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0
  store i32 256, ptr %94, align 16, !tbaa !11
  %95 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 1
  store i32 10, ptr %95, align 4, !tbaa !11
  %96 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 2
  store i32 5, ptr %96, align 8, !tbaa !11
  %97 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 3
  store i32 2, ptr %97, align 4, !tbaa !11
  %98 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 4
  store i32 0, ptr %98, align 16, !tbaa !11
  br label %106

99:                                               ; preds = %79
  %100 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0
  store i32 512, ptr %100, align 16, !tbaa !11
  %101 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 1
  store i32 8, ptr %101, align 4, !tbaa !11
  %102 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 2
  store i32 5, ptr %102, align 8, !tbaa !11
  %103 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 3
  store i32 2, ptr %103, align 4, !tbaa !11
  %104 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 4
  store i32 0, ptr %104, align 16, !tbaa !11
  br label %106

105:                                              ; preds = %79
  br label %106

106:                                              ; preds = %105, %99, %93, %87
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.Dstu7624Ctx_st, ptr %107, i32 0, i32 11
  %109 = getelementptr inbounds %struct.Dstu7624GcmCtx_st, ptr %108, i32 0, i32 2
  %110 = load ptr, ptr %109, align 8, !tbaa !17
  call void @gf2m_free(ptr noundef %110)
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.Dstu7624Ctx_st, ptr %111, i32 0, i32 11
  %113 = getelementptr inbounds %struct.Dstu7624GcmCtx_st, ptr %112, i32 0, i32 2
  store ptr null, ptr %113, align 8, !tbaa !17
  br label %114

114:                                              ; preds = %106
  %115 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0
  %116 = call ptr @gf2m_alloc(ptr noundef %115, i64 noundef 5)
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.Dstu7624Ctx_st, ptr %117, i32 0, i32 11
  %119 = getelementptr inbounds %struct.Dstu7624GcmCtx_st, ptr %118, i32 0, i32 2
  store ptr %116, ptr %119, align 8, !tbaa !17
  %120 = icmp eq ptr null, %116
  br i1 %120, label %121, label %123

121:                                              ; preds = %114
  store i32 2, ptr %10, align 4, !tbaa !11
  %122 = load i32, ptr %10, align 4, !tbaa !11
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 4210, i32 noundef %122)
  br label %128

123:                                              ; preds = %114
  br label %124

124:                                              ; preds = %123
  br label %125

125:                                              ; preds = %124
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.Dstu7624Ctx_st, ptr %126, i32 0, i32 0
  store i32 9, ptr %127, align 8, !tbaa !18
  br label %128

128:                                              ; preds = %125, %121, %75, %57, %44, %30, %22, %14
  %129 = load i32, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 20, ptr %9) #4
  ret i32 %129
}

declare i32 @ba_to_uint64(ptr noundef, ptr noundef, i64 noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #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 #2 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"ByteArray_st", !6, i64 0, !10, i64 8}
!15 = !{!16, !10, i64 55376}
!16 = !{!"Dstu7624Ctx_st", !12, i64 0, !7, i64 8, !7, i64 16392, !7, i64 32776, !7, i64 33800, !7, i64 34824, !7, i64 45064, !7, i64 55304, !10, i64 55368, !10, i64 55376, !10, i64 55384, !7, i64 55392, !6, i64 55616, !6, i64 55624, !6, i64 55632}
!17 = !{!7, !7, i64 0}
!18 = !{!16, !12, 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"

@.str = external hidden unnamed_addr constant [18 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 void @stacktrace_create(ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

declare void @stacktrace_add(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

declare void @gf2m_free(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @dstu7624_init(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare i64 @ba_get_len(ptr noundef) local_unnamed_addr #1

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

declare ptr @gf2m_alloc(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @dstu7624_init_gcm(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #2 {
  %5 = alloca [5 x i32], align 16
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %5) #4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(20) %5, i8 0, i64 20, i1 false)
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %6, label %7

6:                                                ; preds = %4
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 4170, i32 noundef 2, ptr noundef null) #4
  br label %45

7:                                                ; preds = %4
  %.not34 = icmp eq ptr %1, null
  br i1 %.not34, label %8, label %9

8:                                                ; preds = %7
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 4171, i32 noundef 2, ptr noundef null) #4
  br label %45

9:                                                ; preds = %7
  %.not35 = icmp eq ptr %2, null
  br i1 %.not35, label %10, label %11

10:                                               ; preds = %9
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 4172, i32 noundef 2, ptr noundef null) #4
  br label %45

11:                                               ; preds = %9
  %12 = icmp ugt i64 %3, 7
  br i1 %12, label %13, label %16

13:                                               ; preds = %11
  %14 = getelementptr inbounds i8, ptr %2, i64 8
  %15 = load i64, ptr %14, align 8, !tbaa !5
  %.not36 = icmp ult i64 %15, %3
  br i1 %.not36, label %16, label %17

16:                                               ; preds = %13, %11
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 4173, i32 noundef 2, ptr noundef null) #4
  br label %45

17:                                               ; preds = %13
  %18 = tail call i64 @ba_get_len(ptr noundef nonnull %2) #4
  %19 = tail call i32 @dstu7624_init(ptr noundef nonnull %0, ptr noundef nonnull %1, i64 noundef %18)
  %.not37 = icmp eq i32 %19, 0
  br i1 %.not37, label %21, label %20

20:                                               ; preds = %17
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 4175, i32 noundef %19) #4
  br label %45

21:                                               ; preds = %17
  %22 = getelementptr inbounds i8, ptr %0, i64 55392
  %23 = getelementptr inbounds i8, ptr %0, i64 55376
  %24 = load i64, ptr %23, align 8, !tbaa !11
  %25 = lshr i64 %24, 3
  %26 = tail call i32 @ba_to_uint64(ptr noundef nonnull %2, ptr noundef nonnull %22, i64 noundef %25) #4
  %.not38 = icmp eq i32 %26, 0
  br i1 %.not38, label %28, label %27

27:                                               ; preds = %21
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 4177, i32 noundef %26) #4
  br label %45

28:                                               ; preds = %21
  %29 = getelementptr inbounds i8, ptr %0, i64 55456
  store i64 %3, ptr %29, align 8, !tbaa !14
  %30 = load i64, ptr %23, align 8, !tbaa !11
  switch i64 %30, label %38 [
    i64 16, label %31
    i64 32, label %32
    i64 64, label %33
  ]

31:                                               ; preds = %28
  store i32 128, ptr %5, align 16, !tbaa !15
  br label %.sink.split

32:                                               ; preds = %28
  store i32 256, ptr %5, align 16, !tbaa !15
  br label %.sink.split

33:                                               ; preds = %28
  store i32 512, ptr %5, align 16, !tbaa !15
  br label %.sink.split

.sink.split:                                      ; preds = %31, %32, %33
  %.sink = phi i32 [ 2, %33 ], [ 2, %32 ], [ 1, %31 ]
  %34 = phi <2 x i32> [ <i32 8, i32 5>, %33 ], [ <i32 10, i32 5>, %32 ], [ <i32 7, i32 2>, %31 ]
  %35 = getelementptr inbounds i8, ptr %5, i64 4
  store <2 x i32> %34, ptr %35, align 4, !tbaa !15
  %36 = getelementptr inbounds i8, ptr %5, i64 12
  store i32 %.sink, ptr %36, align 4, !tbaa !15
  %37 = getelementptr inbounds i8, ptr %5, i64 16
  store i32 0, ptr %37, align 16, !tbaa !15
  br label %38

38:                                               ; preds = %.sink.split, %28
  %39 = getelementptr inbounds i8, ptr %0, i64 55464
  %40 = load ptr, ptr %39, align 8, !tbaa !14
  tail call void @gf2m_free(ptr noundef %40) #4
  store ptr null, ptr %39, align 8, !tbaa !14
  %41 = call ptr @gf2m_alloc(ptr noundef nonnull %5, i64 noundef 5) #4
  store ptr %41, ptr %39, align 8, !tbaa !14
  %42 = icmp eq ptr %41, null
  br i1 %42, label %43, label %44

43:                                               ; preds = %38
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 4210, i32 noundef 2) #4
  br label %45

44:                                               ; preds = %38
  store i32 9, ptr %0, align 8, !tbaa !16
  br label %45

45:                                               ; preds = %44, %43, %27, %20, %16, %10, %8, %6
  %.0 = phi i32 [ %19, %20 ], [ %26, %27 ], [ 2, %43 ], [ 0, %44 ], [ 2, %16 ], [ 2, %10 ], [ 2, %8 ], [ 2, %6 ]
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %5) #4
  ret i32 %.0
}

declare i32 @ba_to_uint64(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #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 #2 = { 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 nocallback nofree nounwind willreturn memory(argmem: write) }
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, !10, i64 8}
!6 = !{!"ByteArray_st", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!12, !10, i64 55376}
!12 = !{!"Dstu7624Ctx_st", !13, i64 0, !8, i64 8, !8, i64 16392, !8, i64 32776, !8, i64 33800, !8, i64 34824, !8, i64 45064, !8, i64 55304, !10, i64 55368, !10, i64 55376, !10, i64 55384, !8, i64 55392, !7, i64 55616, !7, i64 55624, !7, i64 55632}
!13 = !{!"int", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!12, !13, i64 0}


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