; LLVM IR from erthink/libmdbx :: src (api-env)

; 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.18 }
%struct.geo = type { i16, i16, i32, i32, %union.anon.12, %union.anon.13 }
%union.anon.12 = type { i32 }
%union.anon.13 = type { i32 }
%struct.MDBX_canary = type { i64, i64, i64, i64 }
%union.anon.18 = type { %struct.anon.20 }
%struct.anon.20 = type { %struct.troika, ptr, %struct.anon.21, i8, i32, i32, i64, ptr, ptr, ptr, i64, %union.anon.22 }
%struct.troika = type { i8, i8, i8, i8, i32, [3 x i64] }
%struct.anon.21 = type { %struct.MDBX_rkl, i64, %struct.MDBX_rkl }
%struct.MDBX_rkl = type { i64, i64, i32, i32, ptr, [12 x i64] }
%union.anon.22 = type { %struct.anon.23 }
%struct.anon.23 = type { i64, ptr }

@__func__.mdbx_env_stat_ex = external hidden unnamed_addr constant [17 x i8], align 1

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @log_if_error(i32 noundef, ptr 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: inlinehint nounwind uwtable
declare hidden i32 @check_env(ptr noundef, i1 noundef zeroext) #1

declare ptr @env_owned_wrtxn(ptr noundef) #3

; Function Attrs: cold nounwind optsize uwtable
define dso_local i32 @mdbx_env_stat_ex(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #4 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %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 i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i64 %3, ptr %9, align 8, !tbaa !9
  %15 = load ptr, ptr %8, align 8, !tbaa !5
  %16 = icmp ne ptr %15, null
  %17 = xor i1 %16, true
  %18 = xor i1 %17, true
  %19 = xor i1 %18, true
  %20 = zext i1 %19 to i32
  %21 = sext i32 %20 to i64
  %22 = call i64 @llvm.expect.i64(i64 %21, i64 0)
  %23 = icmp ne i64 %22, 0
  br i1 %23, label %24, label %26

24:                                               ; preds = %4
  %25 = call i32 @log_if_error(i32 noundef 22, ptr noundef @__func__.mdbx_env_stat_ex, i32 noundef 1378)
  store i32 %25, ptr %5, align 4
  br label %136

26:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store i64 40, ptr %10, align 8, !tbaa !9
  %27 = load i64, ptr %9, align 8, !tbaa !9
  %28 = icmp ne i64 %27, 48
  %29 = xor i1 %28, true
  %30 = xor i1 %29, true
  %31 = zext i1 %30 to i32
  %32 = sext i32 %31 to i64
  %33 = call i64 @llvm.expect.i64(i64 %32, i64 0)
  %34 = icmp ne i64 %33, 0
  br i1 %34, label %35, label %40

35:                                               ; preds = %26
  %36 = load i64, ptr %9, align 8, !tbaa !9
  %37 = icmp ne i64 %36, 40
  br i1 %37, label %38, label %40

38:                                               ; preds = %35
  %39 = call i32 @log_if_error(i32 noundef 22, ptr noundef @__func__.mdbx_env_stat_ex, i32 noundef 1381)
  store i32 %39, ptr %5, align 4
  store i32 1, ptr %11, align 4
  br label %135

40:                                               ; preds = %35, %26
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = icmp ne ptr %41, null
  %43 = xor i1 %42, true
  %44 = xor i1 %43, true
  %45 = zext i1 %44 to i32
  %46 = sext i32 %45 to i64
  %47 = call i64 @llvm.expect.i64(i64 %46, i64 1)
  %48 = icmp ne i64 %47, 0
  br i1 %48, label %49, label %72

49:                                               ; preds = %40
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = icmp ne ptr %50, null
  br i1 %51, label %52, label %66

52:                                               ; preds = %49
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.MDBX_txn, ptr %53, i32 0, i32 9
  %55 = load ptr, ptr %54, align 8, !tbaa !11
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = icmp ne ptr %55, %56
  %58 = xor i1 %57, true
  %59 = xor i1 %58, true
  %60 = zext i1 %59 to i32
  %61 = sext i32 %60 to i64
  %62 = call i64 @llvm.expect.i64(i64 %61, i64 0)
  %63 = icmp ne i64 %62, 0
  br i1 %63, label %64, label %66

64:                                               ; preds = %52
  %65 = call i32 @log_if_error(i32 noundef 22, ptr noundef @__func__.mdbx_env_stat_ex, i32 noundef 1385)
  store i32 %65, ptr %5, align 4
  store i32 1, ptr %11, align 4
  br label %135

66:                                               ; preds = %52, %49
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = load i64, ptr %9, align 8, !tbaa !9
  %70 = call i32 @stat_acc(ptr noundef %67, ptr noundef %68, i64 noundef %69)
  %71 = call i32 @log_if_error(i32 noundef %70, ptr noundef @__func__.mdbx_env_stat_ex, i32 noundef 1386)
  store i32 %71, ptr %5, align 4
  store i32 1, ptr %11, align 4
  br label %135

72:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = call i32 @check_env(ptr noundef %73, i1 noundef zeroext true)
  store i32 %74, ptr %12, align 4, !tbaa !17
  %75 = load i32, ptr %12, align 4, !tbaa !17
  %76 = icmp ne i32 %75, 0
  %77 = xor i1 %76, true
  %78 = xor i1 %77, true
  %79 = zext i1 %78 to i32
  %80 = sext i32 %79 to i64
  %81 = call i64 @llvm.expect.i64(i64 %80, i64 0)
  %82 = icmp ne i64 %81, 0
  br i1 %82, label %83, label %86

83:                                               ; preds = %72
  %84 = load i32, ptr %12, align 4, !tbaa !17
  %85 = call i32 @log_if_error(i32 noundef %84, ptr noundef @__func__.mdbx_env_stat_ex, i32 noundef 1391)
  store i32 %85, ptr %5, align 4
  store i32 1, ptr %11, align 4
  br label %134

86:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = call ptr @env_owned_wrtxn(ptr noundef %87)
  store ptr %88, ptr %13, align 8, !tbaa !5
  %89 = load ptr, ptr %13, align 8, !tbaa !5
  %90 = icmp ne ptr %89, null
  br i1 %90, label %91, label %97

91:                                               ; preds = %86
  %92 = load ptr, ptr %13, align 8, !tbaa !5
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = load i64, ptr %9, align 8, !tbaa !9
  %95 = call i32 @stat_acc(ptr noundef %92, ptr noundef %93, i64 noundef %94)
  %96 = call i32 @log_if_error(i32 noundef %95, ptr noundef @__func__.mdbx_env_stat_ex, i32 noundef 1396)
  store i32 %96, ptr %5, align 4
  store i32 1, ptr %11, align 4
  br label %133

97:                                               ; preds = %86
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = call i32 @mdbx_txn_begin(ptr noundef %98, ptr noundef null, i32 noundef 131072, ptr noundef %13)
  store i32 %99, ptr %12, align 4, !tbaa !17
  %100 = load i32, ptr %12, align 4, !tbaa !17
  %101 = icmp ne i32 %100, 0
  %102 = xor i1 %101, true
  %103 = xor i1 %102, true
  %104 = zext i1 %103 to i32
  %105 = sext i32 %104 to i64
  %106 = call i64 @llvm.expect.i64(i64 %105, i64 0)
  %107 = icmp ne i64 %106, 0
  br i1 %107, label %108, label %111

108:                                              ; preds = %97
  %109 = load i32, ptr %12, align 4, !tbaa !17
  %110 = call i32 @log_if_error(i32 noundef %109, ptr noundef @__func__.mdbx_env_stat_ex, i32 noundef 1400)
  store i32 %110, ptr %5, align 4
  store i32 1, ptr %11, align 4
  br label %133

111:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %112 = load ptr, ptr %13, align 8, !tbaa !5
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  %114 = load i64, ptr %9, align 8, !tbaa !9
  %115 = call i32 @stat_acc(ptr noundef %112, ptr noundef %113, i64 noundef %114)
  store i32 %115, ptr %14, align 4, !tbaa !17
  %116 = load ptr, ptr %13, align 8, !tbaa !5
  %117 = call i32 @mdbx_txn_abort(ptr noundef %116)
  store i32 %117, ptr %12, align 4, !tbaa !17
  %118 = load i32, ptr %12, align 4, !tbaa !17
  %119 = icmp ne i32 %118, 0
  %120 = xor i1 %119, true
  %121 = xor i1 %120, true
  %122 = zext i1 %121 to i32
  %123 = sext i32 %122 to i64
  %124 = call i64 @llvm.expect.i64(i64 %123, i64 0)
  %125 = icmp ne i64 %124, 0
  br i1 %125, label %126, label %129

126:                                              ; preds = %111
  %127 = load i32, ptr %12, align 4, !tbaa !17
  %128 = call i32 @log_if_error(i32 noundef %127, ptr noundef @__func__.mdbx_env_stat_ex, i32 noundef 1405)
  store i32 %128, ptr %5, align 4
  store i32 1, ptr %11, align 4
  br label %132

129:                                              ; preds = %111
  %130 = load i32, ptr %14, align 4, !tbaa !17
  %131 = call i32 @log_if_error(i32 noundef %130, ptr noundef @__func__.mdbx_env_stat_ex, i32 noundef 1406)
  store i32 %131, ptr %5, align 4
  store i32 1, ptr %11, align 4
  br label %132

132:                                              ; preds = %129, %126
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %133

133:                                              ; preds = %132, %108, %91
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %134

134:                                              ; preds = %133, %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %135

135:                                              ; preds = %134, %66, %64, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %136

136:                                              ; preds = %135, %24
  %137 = load i32, ptr %5, align 4
  ret i32 %137
}

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

declare i32 @mdbx_txn_begin(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

declare i32 @mdbx_txn_abort(ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }
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 = { 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 = { cold nounwind optsize 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 #5 = { 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 #6 = { 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, !6, i64 80}
!12 = !{!"MDBX_txn", !13, i64 0, !13, i64 4, !10, i64 8, !10, i64 16, !6, i64 24, !6, i64 32, !14, 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, !16, i64 128, !6, i64 160, !7, i64 168}
!13 = !{!"int", !7, i64 0}
!14 = !{!"geo", !15, i64 0, !15, i64 2, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 16}
!15 = !{!"short", !7, i64 0}
!16 = !{!"MDBX_canary", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!17 = !{!13, !13, 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"

@__func__.mdbx_env_stat_ex = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @log_if_error(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @check_env(ptr noundef, i1 noundef zeroext) local_unnamed_addr #0

declare ptr @env_owned_wrtxn(ptr noundef) local_unnamed_addr #2

; Function Attrs: cold nounwind optsize uwtable
define dso_local i32 @mdbx_env_stat_ex(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #3 {
  %5 = alloca ptr, align 8
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %6, label %8, !prof !5

6:                                                ; preds = %4
  %7 = tail call i32 @log_if_error(i32 noundef 22, ptr noundef nonnull @__func__.mdbx_env_stat_ex, i32 noundef 1378)
  br label %44

8:                                                ; preds = %4
  switch i64 %3, label %9 [
    i64 48, label %11
    i64 40, label %11
  ], !prof !6

9:                                                ; preds = %8
  %10 = tail call i32 @log_if_error(i32 noundef 22, ptr noundef nonnull @__func__.mdbx_env_stat_ex, i32 noundef 1381)
  br label %44

11:                                               ; preds = %8, %8
  %.not33 = icmp eq ptr %1, null
  br i1 %.not33, label %21, label %12, !prof !5

12:                                               ; preds = %11
  %.not38 = icmp eq ptr %0, null
  br i1 %.not38, label %18, label %13

13:                                               ; preds = %12
  %14 = getelementptr inbounds i8, ptr %1, i64 80
  %15 = load ptr, ptr %14, align 8, !tbaa !7
  %.not39 = icmp eq ptr %15, %0
  br i1 %.not39, label %18, label %16, !prof !17

16:                                               ; preds = %13
  %17 = tail call i32 @log_if_error(i32 noundef 22, ptr noundef nonnull @__func__.mdbx_env_stat_ex, i32 noundef 1385)
  br label %44

18:                                               ; preds = %13, %12
  %19 = tail call i32 @stat_acc(ptr noundef nonnull %1, ptr noundef nonnull %2, i64 noundef %3)
  %20 = tail call i32 @log_if_error(i32 noundef %19, ptr noundef nonnull @__func__.mdbx_env_stat_ex, i32 noundef 1386)
  br label %44

21:                                               ; preds = %11
  %22 = tail call i32 @check_env(ptr noundef %0, i1 noundef zeroext true)
  %.not34 = icmp eq i32 %22, 0
  br i1 %.not34, label %25, label %23, !prof !17

23:                                               ; preds = %21
  %24 = tail call i32 @log_if_error(i32 noundef %22, ptr noundef nonnull @__func__.mdbx_env_stat_ex, i32 noundef 1391)
  br label %44

25:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %26 = tail call ptr @env_owned_wrtxn(ptr noundef %0) #5
  store ptr %26, ptr %5, align 8, !tbaa !18
  %.not35 = icmp eq ptr %26, null
  br i1 %.not35, label %30, label %27

27:                                               ; preds = %25
  %28 = tail call i32 @stat_acc(ptr noundef nonnull %26, ptr noundef nonnull %2, i64 noundef %3)
  %29 = tail call i32 @log_if_error(i32 noundef %28, ptr noundef nonnull @__func__.mdbx_env_stat_ex, i32 noundef 1396)
  br label %43

30:                                               ; preds = %25
  %31 = call i32 @mdbx_txn_begin(ptr noundef %0, ptr noundef null, i32 noundef 131072, ptr noundef nonnull %5) #5
  %.not36 = icmp eq i32 %31, 0
  br i1 %.not36, label %34, label %32, !prof !17

32:                                               ; preds = %30
  %33 = call i32 @log_if_error(i32 noundef %31, ptr noundef nonnull @__func__.mdbx_env_stat_ex, i32 noundef 1400)
  br label %43

34:                                               ; preds = %30
  %35 = load ptr, ptr %5, align 8, !tbaa !18
  %36 = call i32 @stat_acc(ptr noundef %35, ptr noundef nonnull %2, i64 noundef %3)
  %37 = load ptr, ptr %5, align 8, !tbaa !18
  %38 = call i32 @mdbx_txn_abort(ptr noundef %37) #5
  %.not37 = icmp eq i32 %38, 0
  br i1 %.not37, label %41, label %39, !prof !17

39:                                               ; preds = %34
  %40 = call i32 @log_if_error(i32 noundef %38, ptr noundef nonnull @__func__.mdbx_env_stat_ex, i32 noundef 1405)
  br label %43

41:                                               ; preds = %34
  %42 = call i32 @log_if_error(i32 noundef %36, ptr noundef nonnull @__func__.mdbx_env_stat_ex, i32 noundef 1406)
  br label %43

43:                                               ; preds = %39, %41, %32, %27
  %.1 = phi i32 [ %29, %27 ], [ %33, %32 ], [ %40, %39 ], [ %42, %41 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %44

44:                                               ; preds = %9, %16, %18, %43, %23, %6
  %.4 = phi i32 [ %7, %6 ], [ %10, %9 ], [ %17, %16 ], [ %20, %18 ], [ %24, %23 ], [ %.1, %43 ]
  ret i32 %.4
}

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

declare i32 @mdbx_txn_begin(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare i32 @mdbx_txn_abort(ptr noundef) local_unnamed_addr #2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { cold nounwind optsize 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 #4 = { 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 #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 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!6 = !{!"branch_weights", i32 1, i32 4000, i32 1}
!7 = !{!8, !13, i64 80}
!8 = !{!"MDBX_txn", !9, i64 0, !9, i64 4, !12, i64 8, !12, i64 16, !13, i64 24, !13, i64 32, !14, i64 40, !12, i64 64, !12, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !16, i64 128, !13, i64 160, !10, i64 168}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"any pointer", !10, i64 0}
!14 = !{!"geo", !15, i64 0, !15, i64 2, !9, i64 4, !9, i64 8, !10, i64 12, !10, i64 16}
!15 = !{!"short", !10, i64 0}
!16 = !{!"MDBX_canary", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!17 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!18 = !{!13, !13, i64 0}


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