; LLVM IR from erthink/libmdbx :: src (page-iov)

; 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.MDBX_txn = type { i32, i32, i64, i64, ptr, ptr, %struct.geo, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, %struct.MDBX_canary, ptr, %union.anon.1 }
%struct.geo = type { i16, i16, i32, i32, %union.anon, %union.anon.0 }
%union.anon = type { i32 }
%union.anon.0 = type { i32 }
%struct.MDBX_canary = type { i64, i64, i64, i64 }
%union.anon.1 = type { %struct.anon.2 }
%struct.anon.2 = type { %struct.troika, ptr, %struct.anon.3, i8, i32, i32, i64, ptr, ptr, ptr, i64, %union.anon.4 }
%struct.troika = type { i8, i8, i8, i8, i32, [3 x i64] }
%struct.anon.3 = type { %struct.MDBX_rkl, i64, %struct.MDBX_rkl }
%struct.MDBX_rkl = type { i64, i64, i32, i32, ptr, [12 x i64] }
%union.anon.4 = type { %struct.anon.5 }
%struct.anon.5 = type { i64, ptr }
%struct.iov_ctx = type { ptr, ptr, i32, i32, i32, i32, i64 }
%struct.MDBX_env = type { %union.mdbx_atomic_uint32_t, i32, i32, %struct.osal_mmap, i32, i32, %struct.osal_mmap, ptr, i16, i16, i16, i16, i16, i16, %union.mdbx_atomic_uint32_t, i8, i8, i16, i32, i32, i32, i32, %struct.anon.7, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, i64, %struct.anon.8, %struct.anon.12, i8, ptr, ptr, ptr, %struct.anon.13, %union.pthread_mutex_t, i32, i32, ptr, %struct.osal_ioring, %union.pthread_mutex_t, [71 x %union.mdbx_atomic_uint64_t] }
%struct.osal_mmap = type { %union.anon.6, i32, i64, i64, i64 }
%union.anon.6 = type { ptr }
%union.mdbx_atomic_uint32_t = type { i32 }
%struct.anon.7 = type { ptr, ptr, ptr, ptr }
%struct.anon.8 = type { i32, i32, i32, i32, i64, i8, i8, i8, i8, i32, i32, i8, i8, i8, %struct.anon.9, %union.anon.10 }
%struct.anon.9 = type { i16, i16, i16, i16 }
%union.anon.10 = type { i32 }
%struct.anon.12 = type { i64, i64, i64, i64, i64 }
%struct.anon.13 = type { i64 }
%struct.osal_ioring = type { i32, i32, i32, ptr, ptr, ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%union.mdbx_atomic_uint64_t = type { i64 }
%struct.shared_lck = type { i64, i32, %union.mdbx_atomic_uint32_t, %union.mdbx_atomic_uint32_t, %union.mdbx_atomic_uint32_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, [2 x %union.mdbx_atomic_uint32_t], [16 x i8], %struct.pgops, [16 x i8], %union.pthread_mutex_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint32_t, i32, %struct.anon.16, %union.pthread_mutex_t, %union.mdbx_atomic_uint32_t, %union.mdbx_atomic_uint32_t, [16 x i8], [0 x %struct.reader_slot] }
%struct.pgops = type { %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint32_t, %union.mdbx_atomic_uint32_t, %struct.anon.14 }
%struct.anon.14 = type { %struct.gc_prof_stat, %struct.gc_prof_stat, i32, i32, i32, i32, i32 }
%struct.gc_prof_stat = type { i64, i64, i32, i32, i32, i32, %struct.anon.15 }
%struct.anon.15 = type { i64, i64, i32 }
%struct.anon.16 = type { [4 x i32], [4 x i64] }
%struct.reader_slot = type { %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint64_t, %union.mdbx_atomic_uint32_t, %union.mdbx_atomic_uint32_t, %union.mdbx_atomic_uint64_t }

; Function Attrs: nounwind uwtable
define dso_local i32 @iov_init(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4, i1 noundef zeroext %5) #0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i64 %2, ptr %9, align 8, !tbaa !9
  store i64 %3, ptr %10, align 8, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !11
  %13 = zext i1 %5 to i8
  store i8 %13, ptr %12, align 1, !tbaa !13
  %14 = load ptr, ptr %7, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.MDBX_txn, ptr %14, i32 0, i32 9
  %16 = load ptr, ptr %15, align 8, !tbaa !15
  %17 = load ptr, ptr %8, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.iov_ctx, ptr %17, i32 0, i32 0
  store ptr %16, ptr %18, align 8, !tbaa !20
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.MDBX_txn, ptr %19, i32 0, i32 9
  %21 = load ptr, ptr %20, align 8, !tbaa !15
  %22 = getelementptr inbounds %struct.MDBX_env, ptr %21, i32 0, i32 45
  %23 = load ptr, ptr %8, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.iov_ctx, ptr %23, i32 0, i32 1
  store ptr %22, ptr %24, align 8, !tbaa !22
  %25 = load i32, ptr %11, align 4, !tbaa !11
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.iov_ctx, ptr %26, i32 0, i32 2
  store i32 %25, ptr %27, align 8, !tbaa !23
  %28 = load i8, ptr %12, align 1, !tbaa !13, !range !24, !noundef !25
  %29 = trunc i8 %28 to i1
  br i1 %29, label %40, label %30

30:                                               ; preds = %6
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.MDBX_txn, ptr %31, i32 0, i32 9
  %33 = load ptr, ptr %32, align 8, !tbaa !15
  %34 = getelementptr inbounds %struct.MDBX_env, ptr %33, i32 0, i32 7
  %35 = load ptr, ptr %34, align 8, !tbaa !26
  %36 = getelementptr inbounds %struct.shared_lck, ptr %35, i32 0, i32 9
  %37 = getelementptr inbounds %struct.pgops, ptr %36, i32 0, i32 12
  %38 = load volatile i32, ptr %37, align 32, !tbaa !35
  %39 = icmp ne i32 %38, 0
  br label %40

40:                                               ; preds = %30, %6
  %41 = phi i1 [ true, %6 ], [ %39, %30 ]
  %42 = zext i1 %41 to i64
  %43 = select i1 %41, i64 0, i64 -1
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.iov_ctx, ptr %44, i32 0, i32 6
  store i64 %43, ptr %45, align 8, !tbaa !36
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.iov_ctx, ptr %46, i32 0, i32 1
  %48 = load ptr, ptr %47, align 8, !tbaa !22
  %49 = load i64, ptr %9, align 8, !tbaa !9
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.MDBX_txn, ptr %50, i32 0, i32 9
  %52 = load ptr, ptr %51, align 8, !tbaa !15
  %53 = load i64, ptr %10, align 8, !tbaa !9
  %54 = call i64 @pgno_align2os_bytes(ptr noundef %52, i64 noundef %53) #5
  %55 = call i32 @osal_ioring_prepare(ptr noundef %48, i64 noundef %49, i64 noundef %54)
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.iov_ctx, ptr %56, i32 0, i32 3
  store i32 %55, ptr %57, align 4, !tbaa !37
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.iov_ctx, ptr %58, i32 0, i32 3
  %60 = load i32, ptr %59, align 4, !tbaa !37
  %61 = icmp eq i32 %60, 0
  %62 = xor i1 %61, true
  %63 = xor i1 %62, true
  %64 = zext i1 %63 to i32
  %65 = sext i32 %64 to i64
  %66 = call i64 @llvm.expect.i64(i64 %65, i64 1)
  %67 = icmp ne i64 %66, 0
  br i1 %67, label %68, label %76

68:                                               ; preds = %40
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.iov_ctx, ptr %69, i32 0, i32 4
  store i32 2147483647, ptr %70, align 8, !tbaa !38
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.iov_ctx, ptr %71, i32 0, i32 5
  store i32 3, ptr %72, align 4, !tbaa !39
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.iov_ctx, ptr %73, i32 0, i32 1
  %75 = load ptr, ptr %74, align 8, !tbaa !22
  call void @osal_ioring_reset(ptr noundef %75)
  br label %76

76:                                               ; preds = %68, %40
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.iov_ctx, ptr %77, i32 0, i32 3
  %79 = load i32, ptr %78, align 4, !tbaa !37
  ret i32 %79
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @osal_ioring_prepare(ptr noundef, i64 noundef, i64 noundef) #1

; Function Attrs: nounwind willreturn memory(read)
declare i64 @pgno_align2os_bytes(ptr noundef, i64 noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #3

declare void @osal_ioring_reset(ptr noundef) #4

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 = { inlinehint 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 = { nounwind willreturn memory(read) "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 nosync nounwind willreturn memory(none) }
attributes #4 = { "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 willreturn memory(read) }

!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, !14, i64 0}
!14 = !{!"_Bool", !7, i64 0}
!15 = !{!16, !6, i64 80}
!16 = !{!"MDBX_txn", !12, i64 0, !12, i64 4, !10, i64 8, !10, i64 16, !6, i64 24, !6, i64 32, !17, i64 40, !10, i64 64, !10, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !19, i64 128, !6, i64 160, !7, i64 168}
!17 = !{!"geo", !18, i64 0, !18, i64 2, !12, i64 4, !12, i64 8, !7, i64 12, !7, i64 16}
!18 = !{!"short", !7, i64 0}
!19 = !{!"MDBX_canary", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!20 = !{!21, !6, i64 0}
!21 = !{!"iov_ctx", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !10, i64 32}
!22 = !{!21, !6, i64 8}
!23 = !{!21, !12, i64 16}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!27, !6, i64 104}
!27 = !{!"MDBX_env", !7, i64 0, !12, i64 4, !12, i64 8, !28, i64 16, !12, i64 56, !12, i64 60, !28, i64 64, !6, i64 104, !18, i64 112, !18, i64 114, !18, i64 116, !18, i64 118, !18, i64 120, !18, i64 122, !7, i64 124, !7, i64 128, !7, i64 129, !18, i64 130, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !29, i64 152, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !12, i64 224, !12, i64 228, !12, i64 232, !6, i64 240, !6, i64 248, !10, i64 256, !30, i64 264, !32, i64 320, !14, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !33, i64 392, !7, i64 400, !12, i64 440, !12, i64 444, !6, i64 448, !34, i64 456, !7, i64 496, !7, i64 536}
!28 = !{!"osal_mmap", !7, i64 0, !12, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!29 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!30 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !10, i64 16, !7, i64 24, !7, i64 25, !7, i64 26, !7, i64 27, !12, i64 28, !12, i64 32, !14, i64 36, !14, i64 37, !14, i64 38, !31, i64 40, !7, i64 48}
!31 = !{!"", !18, i64 0, !18, i64 2, !18, i64 4, !18, i64 6}
!32 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!33 = !{!"", !10, i64 0}
!34 = !{!"osal_ioring", !12, i64 0, !12, i64 4, !12, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!35 = !{!7, !7, i64 0}
!36 = !{!21, !10, i64 32}
!37 = !{!21, !12, i64 20}
!38 = !{!21, !12, i64 24}
!39 = !{!21, !12, i64 28}


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

; Function Attrs: nounwind uwtable
define dso_local i32 @iov_init(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4, i1 noundef zeroext %5) local_unnamed_addr #0 {
  %7 = getelementptr inbounds i8, ptr %0, i64 80
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %8, ptr %1, align 8, !tbaa !15
  %9 = getelementptr inbounds i8, ptr %8, i64 456
  %10 = getelementptr inbounds i8, ptr %1, i64 8
  store ptr %9, ptr %10, align 8, !tbaa !17
  %11 = getelementptr inbounds i8, ptr %1, i64 16
  store i32 %4, ptr %11, align 8, !tbaa !18
  br i1 %5, label %19, label %12

12:                                               ; preds = %6
  %13 = getelementptr inbounds i8, ptr %8, i64 104
  %14 = load ptr, ptr %13, align 8, !tbaa !19
  %15 = getelementptr inbounds i8, ptr %14, i64 160
  %16 = load volatile i32, ptr %15, align 32, !tbaa !29
  %17 = icmp eq i32 %16, 0
  %18 = sext i1 %17 to i64
  br label %19

19:                                               ; preds = %12, %6
  %not. = phi i64 [ 0, %6 ], [ %18, %12 ]
  %20 = getelementptr inbounds i8, ptr %1, i64 32
  store i64 %not., ptr %20, align 8, !tbaa !30
  %21 = tail call i64 @pgno_align2os_bytes(ptr noundef %8, i64 noundef %3) #4
  %22 = tail call i32 @osal_ioring_prepare(ptr noundef nonnull %9, i64 noundef %2, i64 noundef %21)
  %23 = getelementptr inbounds i8, ptr %1, i64 20
  store i32 %22, ptr %23, align 4, !tbaa !31
  %24 = icmp eq i32 %22, 0
  br i1 %24, label %25, label %29, !prof !32

25:                                               ; preds = %19
  %26 = getelementptr inbounds i8, ptr %1, i64 24
  store i32 2147483647, ptr %26, align 8, !tbaa !33
  %27 = getelementptr inbounds i8, ptr %1, i64 28
  store i32 3, ptr %27, align 4, !tbaa !34
  %28 = load ptr, ptr %10, align 8, !tbaa !17
  tail call void @osal_ioring_reset(ptr noundef %28) #5
  %.pre = load i32, ptr %23, align 4, !tbaa !31
  br label %29

29:                                               ; preds = %25, %19
  %30 = phi i32 [ %.pre, %25 ], [ %22, %19 ]
  ret i32 %30
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @osal_ioring_prepare(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i64 @pgno_align2os_bytes(ptr noundef, i64 noundef) local_unnamed_addr #2

declare void @osal_ioring_reset(ptr noundef) local_unnamed_addr #3

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 = { inlinehint 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 memory(read) "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 = { "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 willreturn memory(read) }
attributes #5 = { 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, !11, i64 80}
!6 = !{!"MDBX_txn", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !10, i64 64, !10, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !14, i64 128, !11, i64 160, !8, i64 168}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"geo", !13, i64 0, !13, i64 2, !7, i64 4, !7, i64 8, !8, i64 12, !8, i64 16}
!13 = !{!"short", !8, i64 0}
!14 = !{!"MDBX_canary", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!15 = !{!16, !11, i64 0}
!16 = !{!"iov_ctx", !11, i64 0, !11, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !10, i64 32}
!17 = !{!16, !11, i64 8}
!18 = !{!16, !7, i64 16}
!19 = !{!20, !11, i64 104}
!20 = !{!"MDBX_env", !8, i64 0, !7, i64 4, !7, i64 8, !21, i64 16, !7, i64 56, !7, i64 60, !21, i64 64, !11, i64 104, !13, i64 112, !13, i64 114, !13, i64 116, !13, i64 118, !13, i64 120, !13, i64 122, !8, i64 124, !8, i64 128, !8, i64 129, !13, i64 130, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !22, i64 152, !11, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !7, i64 224, !7, i64 228, !7, i64 232, !11, i64 240, !11, i64 248, !10, i64 256, !23, i64 264, !26, i64 320, !24, i64 360, !11, i64 368, !11, i64 376, !11, i64 384, !27, i64 392, !8, i64 400, !7, i64 440, !7, i64 444, !11, i64 448, !28, i64 456, !8, i64 496, !8, i64 536}
!21 = !{!"osal_mmap", !8, i64 0, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!22 = !{!"", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!23 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !8, i64 24, !8, i64 25, !8, i64 26, !8, i64 27, !7, i64 28, !7, i64 32, !24, i64 36, !24, i64 37, !24, i64 38, !25, i64 40, !8, i64 48}
!24 = !{!"_Bool", !8, i64 0}
!25 = !{!"", !13, i64 0, !13, i64 2, !13, i64 4, !13, i64 6}
!26 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!27 = !{!"", !10, i64 0}
!28 = !{!"osal_ioring", !7, i64 0, !7, i64 4, !7, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!29 = !{!8, !8, i64 0}
!30 = !{!16, !10, i64 32}
!31 = !{!16, !7, i64 20}
!32 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!33 = !{!16, !7, i64 24}
!34 = !{!16, !7, i64 28}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LowerExpectIntrinsicPass,PostOrderFunctionAttrsPass,SROAPass,TailCallElimPass