; LLVM IR from caryll/otfcc :: lib/table/otl/subtables (gsub-multi)

; 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.__otfcc_ICoverage = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.otfcc_HandlePackage = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.otfcc_Handle = type { i32, i16, ptr }
%struct.subtable_gsub_multi = type { i64, i64, ptr }
%struct.otl_GsubMultiEntry = type { %struct.otfcc_Handle, ptr }
%struct.otl_Coverage = type { i16, i32, ptr }

@otl_iCoverage = external constant %struct.__otfcc_ICoverage, align 8
@otfcc_iHandle = external constant %struct.otfcc_HandlePackage, align 8

; 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: nounwind uwtable
define dso_local ptr @otfcc_build_gsub_multi_subtable(ptr noundef %0, i32 noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i16, align 2
  %8 = alloca %struct.otfcc_Handle, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i16, align 2
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i16, align 2
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %14, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %15 = load ptr, ptr getelementptr inbounds (%struct.__otfcc_ICoverage, ptr @otl_iCoverage, i32 0, i32 6), align 8, !tbaa !11
  %16 = call ptr (...) %15()
  store ptr %16, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #3
  store i16 0, ptr %7, align 2, !tbaa !13
  br label %17

17:                                               ; preds = %49, %2
  %18 = load i16, ptr %7, align 2, !tbaa !13
  %19 = zext i16 %18 to i64
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.subtable_gsub_multi, ptr %20, i32 0, i32 0
  %22 = load i64, ptr %21, align 8, !tbaa !15
  %23 = icmp ult i64 %19, %22
  br i1 %23, label %25, label %24

24:                                               ; preds = %17
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #3
  br label %52

25:                                               ; preds = %17
  %26 = load ptr, ptr getelementptr inbounds (%struct.__otfcc_ICoverage, ptr @otl_iCoverage, i32 0, i32 15), align 8, !tbaa !18
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = load ptr, ptr getelementptr inbounds (%struct.otfcc_HandlePackage, ptr @otfcc_iHandle, i32 0, i32 7), align 8, !tbaa !19
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.subtable_gsub_multi, ptr %29, i32 0, i32 2
  %31 = load ptr, ptr %30, align 8, !tbaa !21
  %32 = load i16, ptr %7, align 2, !tbaa !13
  %33 = zext i16 %32 to i64
  %34 = getelementptr inbounds %struct.otl_GsubMultiEntry, ptr %31, i64 %33
  %35 = getelementptr inbounds %struct.otl_GsubMultiEntry, ptr %34, i32 0, i32 0
  %36 = getelementptr inbounds { i64, ptr }, ptr %35, i32 0, i32 0
  %37 = load i64, ptr %36, align 8
  %38 = getelementptr inbounds { i64, ptr }, ptr %35, i32 0, i32 1
  %39 = load ptr, ptr %38, align 8
  %40 = call { i64, ptr } %28(i64 %37, ptr %39)
  %41 = getelementptr inbounds { i64, ptr }, ptr %8, i32 0, i32 0
  %42 = extractvalue { i64, ptr } %40, 0
  store i64 %42, ptr %41, align 8
  %43 = getelementptr inbounds { i64, ptr }, ptr %8, i32 0, i32 1
  %44 = extractvalue { i64, ptr } %40, 1
  store ptr %44, ptr %43, align 8
  %45 = getelementptr inbounds { i64, ptr }, ptr %8, i32 0, i32 0
  %46 = load i64, ptr %45, align 8
  %47 = getelementptr inbounds { i64, ptr }, ptr %8, i32 0, i32 1
  %48 = load ptr, ptr %47, align 8
  call void %26(ptr noundef %27, i64 %46, ptr %48)
  br label %49

49:                                               ; preds = %25
  %50 = load i16, ptr %7, align 2, !tbaa !13
  %51 = add i16 %50, 1
  store i16 %51, ptr %7, align 2, !tbaa !13
  br label %17, !llvm.loop !22

52:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %53 = load ptr, ptr getelementptr inbounds (%struct.__otfcc_ICoverage, ptr @otl_iCoverage, i32 0, i32 12), align 8, !tbaa !24
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = call ptr %53(ptr noundef %54)
  %56 = call ptr @bk_newBlockFromBuffer(ptr noundef %55)
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.subtable_gsub_multi, ptr %57, i32 0, i32 0
  %59 = load i64, ptr %58, align 8, !tbaa !15
  %60 = call ptr (i32, ...) @bk_new_Block(i32 noundef 2, i32 noundef 1, i32 noundef 16, ptr noundef %56, i32 noundef 2, i64 noundef %59, i32 noundef 0)
  store ptr %60, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %10) #3
  store i16 0, ptr %10, align 2, !tbaa !13
  br label %61

61:                                               ; preds = %124, %52
  %62 = load i16, ptr %10, align 2, !tbaa !13
  %63 = zext i16 %62 to i64
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.subtable_gsub_multi, ptr %64, i32 0, i32 0
  %66 = load i64, ptr %65, align 8, !tbaa !15
  %67 = icmp ult i64 %63, %66
  br i1 %67, label %69, label %68

68:                                               ; preds = %61
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %10) #3
  br label %127

69:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.subtable_gsub_multi, ptr %70, i32 0, i32 2
  %72 = load ptr, ptr %71, align 8, !tbaa !21
  %73 = load i16, ptr %10, align 2, !tbaa !13
  %74 = zext i16 %73 to i64
  %75 = getelementptr inbounds %struct.otl_GsubMultiEntry, ptr %72, i64 %74
  %76 = getelementptr inbounds %struct.otl_GsubMultiEntry, ptr %75, i32 0, i32 1
  %77 = load ptr, ptr %76, align 8, !tbaa !25
  %78 = getelementptr inbounds %struct.otl_Coverage, ptr %77, i32 0, i32 0
  %79 = load i16, ptr %78, align 8, !tbaa !28
  %80 = zext i16 %79 to i32
  %81 = call ptr (i32, ...) @bk_new_Block(i32 noundef 2, i32 noundef %80, i32 noundef 0)
  store ptr %81, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %13) #3
  store i16 0, ptr %13, align 2, !tbaa !13
  br label %82

82:                                               ; preds = %117, %69
  %83 = load i16, ptr %13, align 2, !tbaa !13
  %84 = zext i16 %83 to i32
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.subtable_gsub_multi, ptr %85, i32 0, i32 2
  %87 = load ptr, ptr %86, align 8, !tbaa !21
  %88 = load i16, ptr %10, align 2, !tbaa !13
  %89 = zext i16 %88 to i64
  %90 = getelementptr inbounds %struct.otl_GsubMultiEntry, ptr %87, i64 %89
  %91 = getelementptr inbounds %struct.otl_GsubMultiEntry, ptr %90, i32 0, i32 1
  %92 = load ptr, ptr %91, align 8, !tbaa !25
  %93 = getelementptr inbounds %struct.otl_Coverage, ptr %92, i32 0, i32 0
  %94 = load i16, ptr %93, align 8, !tbaa !28
  %95 = zext i16 %94 to i32
  %96 = icmp slt i32 %84, %95
  br i1 %96, label %98, label %97

97:                                               ; preds = %82
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %13) #3
  br label %120

98:                                               ; preds = %82
  %99 = load ptr, ptr %12, align 8, !tbaa !5
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.subtable_gsub_multi, ptr %100, i32 0, i32 2
  %102 = load ptr, ptr %101, align 8, !tbaa !21
  %103 = load i16, ptr %10, align 2, !tbaa !13
  %104 = zext i16 %103 to i64
  %105 = getelementptr inbounds %struct.otl_GsubMultiEntry, ptr %102, i64 %104
  %106 = getelementptr inbounds %struct.otl_GsubMultiEntry, ptr %105, i32 0, i32 1
  %107 = load ptr, ptr %106, align 8, !tbaa !25
  %108 = getelementptr inbounds %struct.otl_Coverage, ptr %107, i32 0, i32 2
  %109 = load ptr, ptr %108, align 8, !tbaa !30
  %110 = load i16, ptr %13, align 2, !tbaa !13
  %111 = zext i16 %110 to i64
  %112 = getelementptr inbounds %struct.otfcc_Handle, ptr %109, i64 %111
  %113 = getelementptr inbounds %struct.otfcc_Handle, ptr %112, i32 0, i32 1
  %114 = load i16, ptr %113, align 4, !tbaa !31
  %115 = zext i16 %114 to i32
  %116 = call ptr (ptr, i32, ...) @bk_push(ptr noundef %99, i32 noundef 2, i32 noundef %115, i32 noundef 0)
  br label %117

117:                                              ; preds = %98
  %118 = load i16, ptr %13, align 2, !tbaa !13
  %119 = add i16 %118, 1
  store i16 %119, ptr %13, align 2, !tbaa !13
  br label %82, !llvm.loop !32

120:                                              ; preds = %97
  %121 = load ptr, ptr %9, align 8, !tbaa !5
  %122 = load ptr, ptr %12, align 8, !tbaa !5
  %123 = call ptr (ptr, i32, ...) @bk_push(ptr noundef %121, i32 noundef 16, ptr noundef %122, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  br label %124

124:                                              ; preds = %120
  %125 = load i16, ptr %10, align 2, !tbaa !13
  %126 = add i16 %125, 1
  store i16 %126, ptr %10, align 2, !tbaa !13
  br label %61, !llvm.loop !33

127:                                              ; preds = %68
  %128 = load ptr, ptr getelementptr inbounds (%struct.__otfcc_ICoverage, ptr @otl_iCoverage, i32 0, i32 7), align 8, !tbaa !34
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  call void %128(ptr noundef %129)
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  %131 = call ptr @bk_build_Block(ptr noundef %130)
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret ptr %131
}

declare ptr @bk_new_Block(i32 noundef, ...) #2

declare ptr @bk_newBlockFromBuffer(ptr noundef) #2

declare ptr @bk_push(ptr noundef, i32 noundef, ...) #2

declare ptr @bk_build_Block(ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 48}
!12 = !{!"__otfcc_ICoverage", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120}
!13 = !{!14, !14, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"", !17, i64 0, !17, i64 8, !6, i64 16}
!17 = !{!"long", !7, i64 0}
!18 = !{!12, !6, i64 120}
!19 = !{!20, !6, i64 56}
!20 = !{!"otfcc_HandlePackage", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88}
!21 = !{!16, !6, i64 16}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!12, !6, i64 96}
!25 = !{!26, !6, i64 16}
!26 = !{!"", !27, i64 0, !6, i64 16}
!27 = !{!"otfcc_Handle", !10, i64 0, !14, i64 4, !6, i64 8}
!28 = !{!29, !14, i64 0}
!29 = !{!"", !14, i64 0, !10, i64 4, !6, i64 8}
!30 = !{!29, !6, i64 8}
!31 = !{!27, !14, i64 4}
!32 = distinct !{!32, !23}
!33 = distinct !{!33, !23}
!34 = !{!12, !6, i64 56}


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

%struct.__otfcc_ICoverage = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.otfcc_HandlePackage = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.otl_GsubMultiEntry = type { %struct.otfcc_Handle, ptr }
%struct.otfcc_Handle = type { i32, i16, ptr }

@otl_iCoverage = external local_unnamed_addr constant %struct.__otfcc_ICoverage, align 8
@otfcc_iHandle = external local_unnamed_addr constant %struct.otfcc_HandlePackage, align 8

; Function Attrs: nounwind uwtable
define dso_local ptr @otfcc_build_gsub_multi_subtable(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
  %3 = load ptr, ptr getelementptr inbounds (i8, ptr @otl_iCoverage, i64 48), align 8, !tbaa !5
  %4 = tail call ptr (...) %3() #2
  %5 = load i64, ptr %0, align 8, !tbaa !10
  %.not = icmp eq i64 %5, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %6 = load ptr, ptr getelementptr inbounds (i8, ptr @otl_iCoverage, i64 120), align 8, !tbaa !13
  %7 = load ptr, ptr getelementptr inbounds (i8, ptr @otfcc_iHandle, i64 56), align 8, !tbaa !14
  %8 = getelementptr inbounds i8, ptr %0, i64 16
  br label %16

._crit_edge:                                      ; preds = %16, %2
  %9 = load ptr, ptr getelementptr inbounds (i8, ptr @otl_iCoverage, i64 96), align 8, !tbaa !16
  %10 = tail call ptr %9(ptr noundef %4) #2
  %11 = tail call ptr @bk_newBlockFromBuffer(ptr noundef %10) #2
  %12 = load i64, ptr %0, align 8, !tbaa !10
  %13 = tail call ptr (i32, ...) @bk_new_Block(i32 noundef 2, i32 noundef 1, i32 noundef 16, ptr noundef %11, i32 noundef 2, i64 noundef %12, i32 noundef 0) #2
  %14 = load i64, ptr %0, align 8, !tbaa !10
  %.not38 = icmp eq i64 %14, 0
  br i1 %.not38, label %._crit_edge37, label %.lr.ph36

.lr.ph36:                                         ; preds = %._crit_edge
  %15 = getelementptr inbounds i8, ptr %0, i64 16
  br label %32

16:                                               ; preds = %.lr.ph, %16
  %17 = phi i64 [ 0, %.lr.ph ], [ %27, %16 ]
  %.02529 = phi i16 [ 0, %.lr.ph ], [ %26, %16 ]
  %18 = load ptr, ptr %8, align 8, !tbaa !17
  %19 = getelementptr inbounds %struct.otl_GsubMultiEntry, ptr %18, i64 %17
  %20 = load i64, ptr %19, align 8
  %21 = getelementptr inbounds i8, ptr %19, i64 8
  %22 = load ptr, ptr %21, align 8
  %23 = tail call { i64, ptr } %7(i64 %20, ptr %22) #2
  %24 = extractvalue { i64, ptr } %23, 0
  %25 = extractvalue { i64, ptr } %23, 1
  tail call void %6(ptr noundef %4, i64 %24, ptr %25) #2
  %26 = add i16 %.02529, 1
  %27 = zext i16 %26 to i64
  %28 = load i64, ptr %0, align 8, !tbaa !10
  %29 = icmp ugt i64 %28, %27
  br i1 %29, label %16, label %._crit_edge, !llvm.loop !18

._crit_edge37:                                    ; preds = %._crit_edge33, %._crit_edge
  %30 = load ptr, ptr getelementptr inbounds (i8, ptr @otl_iCoverage, i64 56), align 8, !tbaa !20
  tail call void %30(ptr noundef %4) #2
  %31 = tail call ptr @bk_build_Block(ptr noundef %13) #2
  ret ptr %31

32:                                               ; preds = %.lr.ph36, %._crit_edge33
  %33 = phi i64 [ 0, %.lr.ph36 ], [ %46, %._crit_edge33 ]
  %.02634 = phi i16 [ 0, %.lr.ph36 ], [ %45, %._crit_edge33 ]
  %34 = load ptr, ptr %15, align 8, !tbaa !17
  %35 = getelementptr inbounds %struct.otl_GsubMultiEntry, ptr %34, i64 %33, i32 1
  %36 = load ptr, ptr %35, align 8, !tbaa !21
  %37 = load i16, ptr %36, align 8, !tbaa !26
  %38 = zext i16 %37 to i32
  %39 = tail call ptr (i32, ...) @bk_new_Block(i32 noundef 2, i32 noundef %38, i32 noundef 0) #2
  %40 = load ptr, ptr %15, align 8, !tbaa !17
  %41 = getelementptr inbounds %struct.otl_GsubMultiEntry, ptr %40, i64 %33, i32 1
  %42 = load ptr, ptr %41, align 8, !tbaa !21
  %43 = load i16, ptr %42, align 8, !tbaa !26
  %.not39 = icmp eq i16 %43, 0
  br i1 %.not39, label %._crit_edge33, label %.lr.ph32

._crit_edge33:                                    ; preds = %.lr.ph32, %32
  %44 = tail call ptr (ptr, i32, ...) @bk_push(ptr noundef %13, i32 noundef 16, ptr noundef %39, i32 noundef 0) #2
  %45 = add i16 %.02634, 1
  %46 = zext i16 %45 to i64
  %47 = load i64, ptr %0, align 8, !tbaa !10
  %48 = icmp ugt i64 %47, %46
  br i1 %48, label %32, label %._crit_edge37, !llvm.loop !28

.lr.ph32:                                         ; preds = %32, %.lr.ph32
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph32 ], [ 0, %32 ]
  %49 = phi ptr [ %58, %.lr.ph32 ], [ %42, %32 ]
  %50 = getelementptr inbounds i8, ptr %49, i64 8
  %51 = load ptr, ptr %50, align 8, !tbaa !29
  %52 = getelementptr inbounds %struct.otfcc_Handle, ptr %51, i64 %indvars.iv, i32 1
  %53 = load i16, ptr %52, align 4, !tbaa !30
  %54 = zext i16 %53 to i32
  %55 = tail call ptr (ptr, i32, ...) @bk_push(ptr noundef %39, i32 noundef 2, i32 noundef %54, i32 noundef 0) #2
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %56 = load ptr, ptr %15, align 8, !tbaa !17
  %57 = getelementptr inbounds %struct.otl_GsubMultiEntry, ptr %56, i64 %33, i32 1
  %58 = load ptr, ptr %57, align 8, !tbaa !21
  %59 = load i16, ptr %58, align 8, !tbaa !26
  %60 = zext i16 %59 to i64
  %61 = icmp ult i64 %indvars.iv.next, %60
  br i1 %61, label %.lr.ph32, label %._crit_edge33, !llvm.loop !31
}

declare ptr @bk_new_Block(i32 noundef, ...) local_unnamed_addr #1

declare ptr @bk_newBlockFromBuffer(ptr noundef) local_unnamed_addr #1

declare ptr @bk_push(ptr noundef, i32 noundef, ...) local_unnamed_addr #1

declare ptr @bk_build_Block(ptr noundef) local_unnamed_addr #1

attributes #0 = { 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 #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 }

!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 48}
!6 = !{!"__otfcc_ICoverage", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"", !12, i64 0, !12, i64 8, !7, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!6, !7, i64 120}
!14 = !{!15, !7, i64 56}
!15 = !{!"otfcc_HandlePackage", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88}
!16 = !{!6, !7, i64 96}
!17 = !{!11, !7, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!6, !7, i64 56}
!21 = !{!22, !7, i64 16}
!22 = !{!"", !23, i64 0, !7, i64 16}
!23 = !{!"otfcc_Handle", !24, i64 0, !25, i64 4, !7, i64 8}
!24 = !{!"int", !8, i64 0}
!25 = !{!"short", !8, i64 0}
!26 = !{!27, !25, i64 0}
!27 = !{!"", !25, i64 0, !24, i64 4, !7, i64 8}
!28 = distinct !{!28, !19}
!29 = !{!27, !7, i64 8}
!30 = !{!23, !25, i64 4}
!31 = distinct !{!31, !19}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass