; LLVM IR from ARMmbed/mbed-crypto :: library (dhm)

; 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.mbedtls_mpi = type { i32, i64, ptr }
%struct.mbedtls_dhm_context = type { i64, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi }

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

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

declare i64 @mbedtls_mpi_size(ptr noundef) #2

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

declare i32 @mbedtls_mpi_exp_mod(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare i32 @mbedtls_mpi_write_binary(ptr noundef, ptr noundef, i64 noundef) #2

declare i32 @mbedtls_mpi_copy(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @mbedtls_dhm_calc_secret(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #1 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %struct.mbedtls_mpi, align 8
  %16 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i64 %2, ptr %10, align 8, !tbaa !9
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 -110, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #3
  br label %17

17:                                               ; preds = %6
  br label %18

18:                                               ; preds = %17
  br label %19

19:                                               ; preds = %18
  br label %20

20:                                               ; preds = %19
  br label %21

21:                                               ; preds = %20
  br label %22

22:                                               ; preds = %21
  br label %23

23:                                               ; preds = %22
  br label %24

24:                                               ; preds = %23
  br label %25

25:                                               ; preds = %24
  %26 = load i64, ptr %10, align 8, !tbaa !9
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %27, i32 0, i32 0
  %29 = load i64, ptr %28, align 8, !tbaa !13
  %30 = icmp ult i64 %26, %29
  br i1 %30, label %31, label %32

31:                                               ; preds = %25
  store i32 -12416, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %154

32:                                               ; preds = %25
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %33, i32 0, i32 5
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %35, i32 0, i32 1
  %37 = call i32 @dhm_check_range(ptr noundef %34, ptr noundef %36)
  store i32 %37, ptr %14, align 4, !tbaa !11
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %41

39:                                               ; preds = %32
  %40 = load i32, ptr %14, align 4, !tbaa !11
  store i32 %40, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %154

41:                                               ; preds = %32
  call void @mbedtls_mpi_init(ptr noundef %15)
  %42 = load ptr, ptr %12, align 8, !tbaa !5
  %43 = icmp ne ptr %42, null
  br i1 %43, label %44, label %75

44:                                               ; preds = %41
  br label %45

45:                                               ; preds = %44
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = load ptr, ptr %12, align 8, !tbaa !5
  %48 = load ptr, ptr %13, align 8, !tbaa !5
  %49 = call i32 @dhm_update_blinding(ptr noundef %46, ptr noundef %47, ptr noundef %48)
  store i32 %49, ptr %14, align 4, !tbaa !11
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %51, label %52

51:                                               ; preds = %45
  br label %147

52:                                               ; preds = %45
  br label %53

53:                                               ; preds = %52
  br label %54

54:                                               ; preds = %53
  br label %55

55:                                               ; preds = %54
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %56, i32 0, i32 5
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %58, i32 0, i32 8
  %60 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef %15, ptr noundef %57, ptr noundef %59)
  store i32 %60, ptr %14, align 4, !tbaa !11
  %61 = icmp ne i32 %60, 0
  br i1 %61, label %62, label %63

62:                                               ; preds = %55
  br label %147

63:                                               ; preds = %55
  br label %64

64:                                               ; preds = %63
  br label %65

65:                                               ; preds = %64
  br label %66

66:                                               ; preds = %65
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %67, i32 0, i32 1
  %69 = call i32 @mbedtls_mpi_mod_mpi(ptr noundef %15, ptr noundef %15, ptr noundef %68)
  store i32 %69, ptr %14, align 4, !tbaa !11
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %72

71:                                               ; preds = %66
  br label %147

72:                                               ; preds = %66
  br label %73

73:                                               ; preds = %72
  br label %74

74:                                               ; preds = %73
  br label %85

75:                                               ; preds = %41
  br label %76

76:                                               ; preds = %75
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %77, i32 0, i32 5
  %79 = call i32 @mbedtls_mpi_copy(ptr noundef %15, ptr noundef %78)
  store i32 %79, ptr %14, align 4, !tbaa !11
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %82

81:                                               ; preds = %76
  br label %147

82:                                               ; preds = %76
  br label %83

83:                                               ; preds = %82
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84, %74
  br label %86

86:                                               ; preds = %85
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %87, i32 0, i32 6
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %89, i32 0, i32 3
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %91, i32 0, i32 1
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %93, i32 0, i32 7
  %95 = call i32 @mbedtls_mpi_exp_mod(ptr noundef %88, ptr noundef %15, ptr noundef %90, ptr noundef %92, ptr noundef %94)
  store i32 %95, ptr %14, align 4, !tbaa !11
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %98

97:                                               ; preds = %86
  br label %147

98:                                               ; preds = %86
  br label %99

99:                                               ; preds = %98
  br label %100

100:                                              ; preds = %99
  %101 = load ptr, ptr %12, align 8, !tbaa !5
  %102 = icmp ne ptr %101, null
  br i1 %102, label %103, label %130

103:                                              ; preds = %100
  br label %104

104:                                              ; preds = %103
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %105, i32 0, i32 6
  %107 = load ptr, ptr %8, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %107, i32 0, i32 6
  %109 = load ptr, ptr %8, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %109, i32 0, i32 9
  %111 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef %106, ptr noundef %108, ptr noundef %110)
  store i32 %111, ptr %14, align 4, !tbaa !11
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %114

113:                                              ; preds = %104
  br label %147

114:                                              ; preds = %104
  br label %115

115:                                              ; preds = %114
  br label %116

116:                                              ; preds = %115
  br label %117

117:                                              ; preds = %116
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %118, i32 0, i32 6
  %120 = load ptr, ptr %8, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %120, i32 0, i32 6
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %122, i32 0, i32 1
  %124 = call i32 @mbedtls_mpi_mod_mpi(ptr noundef %119, ptr noundef %121, ptr noundef %123)
  store i32 %124, ptr %14, align 4, !tbaa !11
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %127

126:                                              ; preds = %117
  br label %147

127:                                              ; preds = %117
  br label %128

128:                                              ; preds = %127
  br label %129

129:                                              ; preds = %128
  br label %130

130:                                              ; preds = %129, %100
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %131, i32 0, i32 6
  %133 = call i64 @mbedtls_mpi_size(ptr noundef %132)
  %134 = load ptr, ptr %11, align 8, !tbaa !5
  store i64 %133, ptr %134, align 8, !tbaa !9
  br label %135

135:                                              ; preds = %130
  %136 = load ptr, ptr %8, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %136, i32 0, i32 6
  %138 = load ptr, ptr %9, align 8, !tbaa !5
  %139 = load ptr, ptr %11, align 8, !tbaa !5
  %140 = load i64, ptr %139, align 8, !tbaa !9
  %141 = call i32 @mbedtls_mpi_write_binary(ptr noundef %137, ptr noundef %138, i64 noundef %140)
  store i32 %141, ptr %14, align 4, !tbaa !11
  %142 = icmp ne i32 %141, 0
  br i1 %142, label %143, label %144

143:                                              ; preds = %135
  br label %147

144:                                              ; preds = %135
  br label %145

145:                                              ; preds = %144
  br label %146

146:                                              ; preds = %145
  br label %147

147:                                              ; preds = %146, %143, %126, %113, %97, %81, %71, %62, %51
  call void @mbedtls_mpi_free(ptr noundef %15)
  %148 = load i32, ptr %14, align 4, !tbaa !11
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %153

150:                                              ; preds = %147
  %151 = load i32, ptr %14, align 4, !tbaa !11
  %152 = add nsw i32 -13056, %151
  store i32 %152, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %154

153:                                              ; preds = %147
  store i32 0, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %154

154:                                              ; preds = %153, %150, %39, %31
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  %155 = load i32, ptr %7, align 4
  ret i32 %155
}

declare void @mbedtls_mpi_init(ptr noundef) #2

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

declare i32 @mbedtls_mpi_mul_mpi(ptr noundef, ptr noundef, ptr noundef) #2

declare i32 @mbedtls_mpi_mod_mpi(ptr noundef, ptr noundef, ptr noundef) #2

declare void @mbedtls_mpi_free(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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"mbedtls_dhm_context", !10, i64 0, !15, i64 8, !15, i64 32, !15, i64 56, !15, i64 80, !15, i64 104, !15, i64 128, !15, i64 152, !15, i64 176, !15, i64 200, !15, i64 224}
!15 = !{!"mbedtls_mpi", !12, i64 0, !10, i64 8, !6, i64 16}


; 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.mbedtls_mpi = type { i32, i64, ptr }

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

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

declare i64 @mbedtls_mpi_size(ptr noundef) local_unnamed_addr #2

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

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

declare i32 @mbedtls_mpi_write_binary(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @mbedtls_dhm_calc_secret(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef writeonly %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #1 {
  %7 = alloca %struct.mbedtls_mpi, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #3
  %8 = load i64, ptr %0, align 8, !tbaa !5
  %9 = icmp ugt i64 %8, %2
  br i1 %9, label %44, label %10

10:                                               ; preds = %6
  %11 = getelementptr inbounds i8, ptr %0, i64 104
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  %13 = tail call i32 @dhm_check_range(ptr noundef nonnull %11, ptr noundef nonnull %12)
  %.not = icmp eq i32 %13, 0
  br i1 %.not, label %14, label %44

14:                                               ; preds = %10
  call void @mbedtls_mpi_init(ptr noundef nonnull %7) #3
  %.not41 = icmp eq ptr %4, null
  br i1 %.not41, label %22, label %15

15:                                               ; preds = %14
  %16 = call i32 @dhm_update_blinding(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef %5)
  %.not43 = icmp eq i32 %16, 0
  br i1 %.not43, label %17, label %42

17:                                               ; preds = %15
  %18 = getelementptr inbounds i8, ptr %0, i64 176
  %19 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef nonnull %7, ptr noundef nonnull %11, ptr noundef nonnull %18) #3
  %.not44 = icmp eq i32 %19, 0
  br i1 %.not44, label %20, label %42

20:                                               ; preds = %17
  %21 = call i32 @mbedtls_mpi_mod_mpi(ptr noundef nonnull %7, ptr noundef nonnull %7, ptr noundef nonnull %12) #3
  %.not45 = icmp eq i32 %21, 0
  br i1 %.not45, label %.thread, label %42

22:                                               ; preds = %14
  %23 = call i32 @mbedtls_mpi_copy(ptr noundef nonnull %7, ptr noundef nonnull %11) #3
  %.not42 = icmp eq i32 %23, 0
  br i1 %.not42, label %24, label %42

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %0, i64 128
  %26 = getelementptr inbounds i8, ptr %0, i64 56
  %27 = getelementptr inbounds i8, ptr %0, i64 152
  %28 = call i32 @mbedtls_mpi_exp_mod(ptr noundef nonnull %25, ptr noundef nonnull %7, ptr noundef nonnull %26, ptr noundef nonnull %12, ptr noundef nonnull %27) #3
  %.not46 = icmp eq i32 %28, 0
  br i1 %.not46, label %38, label %42

.thread:                                          ; preds = %20
  %29 = getelementptr inbounds i8, ptr %0, i64 128
  %30 = getelementptr inbounds i8, ptr %0, i64 56
  %31 = getelementptr inbounds i8, ptr %0, i64 152
  %32 = call i32 @mbedtls_mpi_exp_mod(ptr noundef nonnull %29, ptr noundef nonnull %7, ptr noundef nonnull %30, ptr noundef nonnull %12, ptr noundef nonnull %31) #3
  %.not4650 = icmp eq i32 %32, 0
  br i1 %.not4650, label %33, label %42

33:                                               ; preds = %.thread
  %34 = getelementptr inbounds i8, ptr %0, i64 200
  %35 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef nonnull %29, ptr noundef nonnull %29, ptr noundef nonnull %34) #3
  %.not47 = icmp eq i32 %35, 0
  br i1 %.not47, label %36, label %42

36:                                               ; preds = %33
  %37 = call i32 @mbedtls_mpi_mod_mpi(ptr noundef nonnull %29, ptr noundef nonnull %29, ptr noundef nonnull %12) #3
  %.not48 = icmp eq i32 %37, 0
  br i1 %.not48, label %38, label %42

38:                                               ; preds = %24, %36
  %39 = phi ptr [ %29, %36 ], [ %25, %24 ]
  %40 = call i64 @mbedtls_mpi_size(ptr noundef nonnull %39) #3
  store i64 %40, ptr %3, align 8, !tbaa !13
  %41 = call i32 @mbedtls_mpi_write_binary(ptr noundef nonnull %39, ptr noundef %1, i64 noundef %40) #3
  br label %42

42:                                               ; preds = %.thread, %38, %36, %33, %24, %22, %20, %17, %15
  %.0 = phi i32 [ %16, %15 ], [ %19, %17 ], [ %21, %20 ], [ %28, %24 ], [ %35, %33 ], [ %37, %36 ], [ %41, %38 ], [ %23, %22 ], [ %32, %.thread ]
  call void @mbedtls_mpi_free(ptr noundef nonnull %7) #3
  %.not49 = icmp eq i32 %.0, 0
  %43 = add nsw i32 %.0, -13056
  %spec.select = select i1 %.not49, i32 0, i32 %43
  br label %44

44:                                               ; preds = %42, %10, %6
  %.031 = phi i32 [ -12416, %6 ], [ %13, %10 ], [ %spec.select, %42 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #3
  ret i32 %.031
}

declare void @mbedtls_mpi_init(ptr noundef) local_unnamed_addr #2

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

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

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

declare void @mbedtls_mpi_free(ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress 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, !7, i64 0}
!6 = !{!"mbedtls_dhm_context", !7, i64 0, !10, i64 8, !10, i64 32, !10, i64 56, !10, i64 80, !10, i64 104, !10, i64 128, !10, i64 152, !10, i64 176, !10, i64 200, !10, i64 224}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"mbedtls_mpi", !11, i64 0, !7, i64 8, !12, i64 16}
!11 = !{!"int", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!7, !7, i64 0}


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