; LLVM IR from tleonhardt/practical_cryptography_engineering :: mbedtls (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_pem_context = type { ptr, i64, ptr }
%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 }

@.str = external hidden unnamed_addr constant [30 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [28 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 i64 @mbedtls_mpi_size(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 @mbedtls_mpi_init(ptr noundef) #1

declare void @mbedtls_mpi_free(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @mbedtls_dhm_free(ptr noundef) #2

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

17:                                               ; preds = %3
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = load i64, ptr %7, align 8, !tbaa !9
  %20 = sub i64 %19, 1
  %21 = getelementptr inbounds i8, ptr %18, i64 %20
  %22 = load i8, ptr %21, align 1, !tbaa !11
  %23 = zext i8 %22 to i32
  %24 = icmp ne i32 %23, 0
  br i1 %24, label %25, label %26

25:                                               ; preds = %17, %3
  store i32 -4224, ptr %8, align 4, !tbaa !12
  br label %29

26:                                               ; preds = %17
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = call i32 @mbedtls_pem_read_buffer(ptr noundef %12, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %27, ptr noundef null, i64 noundef 0, ptr noundef %7)
  store i32 %28, ptr %8, align 4, !tbaa !12
  br label %29

29:                                               ; preds = %26, %25
  %30 = load i32, ptr %8, align 4, !tbaa !12
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %35

32:                                               ; preds = %29
  %33 = getelementptr inbounds %struct.mbedtls_pem_context, ptr %12, i32 0, i32 1
  %34 = load i64, ptr %33, align 8, !tbaa !14
  store i64 %34, ptr %7, align 8, !tbaa !9
  br label %40

35:                                               ; preds = %29
  %36 = load i32, ptr %8, align 4, !tbaa !12
  %37 = icmp ne i32 %36, -4224
  br i1 %37, label %38, label %39

38:                                               ; preds = %35
  br label %104

39:                                               ; preds = %35
  br label %40

40:                                               ; preds = %39, %32
  %41 = load i32, ptr %8, align 4, !tbaa !12
  %42 = icmp eq i32 %41, 0
  br i1 %42, label %43, label %46

43:                                               ; preds = %40
  %44 = getelementptr inbounds %struct.mbedtls_pem_context, ptr %12, i32 0, i32 0
  %45 = load ptr, ptr %44, align 8, !tbaa !16
  br label %48

46:                                               ; preds = %40
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  br label %48

48:                                               ; preds = %46, %43
  %49 = phi ptr [ %45, %43 ], [ %47, %46 ]
  store ptr %49, ptr %10, align 8, !tbaa !5
  %50 = load ptr, ptr %10, align 8, !tbaa !5
  %51 = load i64, ptr %7, align 8, !tbaa !9
  %52 = getelementptr inbounds i8, ptr %50, i64 %51
  store ptr %52, ptr %11, align 8, !tbaa !5
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = call i32 @mbedtls_asn1_get_tag(ptr noundef %10, ptr noundef %53, ptr noundef %9, i32 noundef 48)
  store i32 %54, ptr %8, align 4, !tbaa !12
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %59

56:                                               ; preds = %48
  %57 = load i32, ptr %8, align 4, !tbaa !12
  %58 = add nsw i32 -13184, %57
  store i32 %58, ptr %8, align 4, !tbaa !12
  br label %104

59:                                               ; preds = %48
  %60 = load ptr, ptr %10, align 8, !tbaa !5
  %61 = load i64, ptr %9, align 8, !tbaa !9
  %62 = getelementptr inbounds i8, ptr %60, i64 %61
  store ptr %62, ptr %11, align 8, !tbaa !5
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %64, i32 0, i32 1
  %66 = call i32 @mbedtls_asn1_get_mpi(ptr noundef %10, ptr noundef %63, ptr noundef %65)
  store i32 %66, ptr %8, align 4, !tbaa !12
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %74, label %68

68:                                               ; preds = %59
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %70, i32 0, i32 2
  %72 = call i32 @mbedtls_asn1_get_mpi(ptr noundef %10, ptr noundef %69, ptr noundef %71)
  store i32 %72, ptr %8, align 4, !tbaa !12
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %77

74:                                               ; preds = %68, %59
  %75 = load i32, ptr %8, align 4, !tbaa !12
  %76 = add nsw i32 -13184, %75
  store i32 %76, ptr %8, align 4, !tbaa !12
  br label %104

77:                                               ; preds = %68
  %78 = load ptr, ptr %10, align 8, !tbaa !5
  %79 = load ptr, ptr %11, align 8, !tbaa !5
  %80 = icmp ne ptr %78, %79
  br i1 %80, label %81, label %98

81:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #3
  call void @mbedtls_mpi_init(ptr noundef %13)
  %82 = load ptr, ptr %11, align 8, !tbaa !5
  %83 = call i32 @mbedtls_asn1_get_mpi(ptr noundef %10, ptr noundef %82, ptr noundef %13)
  store i32 %83, ptr %8, align 4, !tbaa !12
  call void @mbedtls_mpi_free(ptr noundef %13)
  %84 = load i32, ptr %8, align 4, !tbaa !12
  %85 = icmp ne i32 %84, 0
  br i1 %85, label %86, label %89

86:                                               ; preds = %81
  %87 = load i32, ptr %8, align 4, !tbaa !12
  %88 = add nsw i32 -13184, %87
  store i32 %88, ptr %8, align 4, !tbaa !12
  store i32 2, ptr %14, align 4
  br label %95

89:                                               ; preds = %81
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  %92 = icmp ne ptr %90, %91
  br i1 %92, label %93, label %94

93:                                               ; preds = %89
  store i32 -13286, ptr %8, align 4, !tbaa !12
  store i32 2, ptr %14, align 4
  br label %95

94:                                               ; preds = %89
  store i32 0, ptr %14, align 4
  br label %95

95:                                               ; preds = %94, %93, %86
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #3
  %96 = load i32, ptr %14, align 4
  switch i32 %96, label %111 [
    i32 0, label %97
    i32 2, label %104
  ]

97:                                               ; preds = %95
  br label %98

98:                                               ; preds = %97, %77
  store i32 0, ptr %8, align 4, !tbaa !12
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %99, i32 0, i32 1
  %101 = call i64 @mbedtls_mpi_size(ptr noundef %100)
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.mbedtls_dhm_context, ptr %102, i32 0, i32 0
  store i64 %101, ptr %103, align 8, !tbaa !17
  br label %104

104:                                              ; preds = %98, %95, %74, %56, %38
  call void @mbedtls_pem_free(ptr noundef %12)
  %105 = load i32, ptr %8, align 4, !tbaa !12
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %109

107:                                              ; preds = %104
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  call void @mbedtls_dhm_free(ptr noundef %108)
  br label %109

109:                                              ; preds = %107, %104
  %110 = load i32, ptr %8, align 4, !tbaa !12
  store i32 %110, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %111

111:                                              ; preds = %109, %95
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  %112 = load i32, ptr %4, align 4
  ret i32 %112
}

declare void @mbedtls_pem_init(ptr noundef) #1

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

declare i32 @mbedtls_asn1_get_tag(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1

declare i32 @mbedtls_asn1_get_mpi(ptr noundef, ptr noundef, ptr noundef) #1

declare void @mbedtls_pem_free(ptr 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 = { 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 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !10, i64 8}
!15 = !{!"", !6, i64 0, !10, i64 8, !6, i64 16}
!16 = !{!15, !6, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"", !10, i64 0, !19, i64 8, !19, i64 32, !19, i64 56, !19, i64 80, !19, i64 104, !19, i64 128, !19, i64 152, !19, i64 176, !19, i64 200, !19, i64 224}
!19 = !{!"", !13, 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_pem_context = type { ptr, i64, ptr }
%struct.mbedtls_mpi = type { i32, i64, ptr }

@.str = external hidden unnamed_addr constant [30 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [28 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 i64 @mbedtls_mpi_size(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 @mbedtls_mpi_init(ptr noundef) local_unnamed_addr #1

declare void @mbedtls_mpi_free(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @mbedtls_dhm_free(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local i32 @mbedtls_dhm_parse_dhm(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #2 {
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %struct.mbedtls_pem_context, align 8
  %8 = alloca %struct.mbedtls_mpi, align 8
  store i64 %2, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #3
  call void @mbedtls_pem_init(ptr noundef nonnull %7) #3
  %9 = icmp eq i64 %2, 0
  br i1 %9, label %.thread49, label %10

10:                                               ; preds = %3
  %11 = getelementptr i8, ptr %1, i64 %2
  %12 = getelementptr i8, ptr %11, i64 -1
  %13 = load i8, ptr %12, align 1, !tbaa !9
  %.not = icmp eq i8 %13, 0
  br i1 %.not, label %14, label %.thread49

14:                                               ; preds = %10
  %15 = call i32 @mbedtls_pem_read_buffer(ptr noundef nonnull %7, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull %1, ptr noundef null, i64 noundef 0, ptr noundef nonnull %4) #3
  switch i32 %15, label %.thread59 [
    i32 0, label %16
    i32 -4224, label %..thread49_crit_edge
  ]

..thread49_crit_edge:                             ; preds = %14
  %.pre = load i64, ptr %4, align 8, !tbaa !5
  br label %.thread49

.thread59:                                        ; preds = %14
  call void @mbedtls_pem_free(ptr noundef nonnull %7) #3
  br label %48

16:                                               ; preds = %14
  %17 = getelementptr inbounds i8, ptr %7, i64 8
  %18 = load i64, ptr %17, align 8, !tbaa !10
  store i64 %18, ptr %4, align 8, !tbaa !5
  %19 = load ptr, ptr %7, align 8
  br label %.thread49

.thread49:                                        ; preds = %..thread49_crit_edge, %10, %3, %16
  %20 = phi i64 [ %18, %16 ], [ 0, %3 ], [ %2, %10 ], [ %.pre, %..thread49_crit_edge ]
  %21 = phi ptr [ %19, %16 ], [ %1, %3 ], [ %1, %10 ], [ %1, %..thread49_crit_edge ]
  store ptr %21, ptr %6, align 8, !tbaa !13
  %22 = getelementptr inbounds i8, ptr %21, i64 %20
  %23 = call i32 @mbedtls_asn1_get_tag(ptr noundef nonnull %6, ptr noundef %22, ptr noundef nonnull %5, i32 noundef 48) #3
  %.not34 = icmp eq i32 %23, 0
  br i1 %.not34, label %26, label %24

24:                                               ; preds = %.thread49
  %25 = add nsw i32 %23, -13184
  br label %47

26:                                               ; preds = %.thread49
  %27 = load ptr, ptr %6, align 8, !tbaa !13
  %28 = load i64, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %27, i64 %28
  %30 = getelementptr inbounds i8, ptr %0, i64 8
  %31 = call i32 @mbedtls_asn1_get_mpi(ptr noundef nonnull %6, ptr noundef %29, ptr noundef nonnull %30) #3
  %.not35 = icmp eq i32 %31, 0
  br i1 %.not35, label %32, label %35

32:                                               ; preds = %26
  %33 = getelementptr inbounds i8, ptr %0, i64 32
  %34 = call i32 @mbedtls_asn1_get_mpi(ptr noundef nonnull %6, ptr noundef %29, ptr noundef nonnull %33) #3
  %.not36 = icmp eq i32 %34, 0
  br i1 %.not36, label %37, label %35

35:                                               ; preds = %32, %26
  %.1 = phi i32 [ %31, %26 ], [ %34, %32 ]
  %36 = add nsw i32 %.1, -13184
  br label %47

37:                                               ; preds = %32
  %38 = load ptr, ptr %6, align 8, !tbaa !13
  %.not37 = icmp eq ptr %38, %29
  br i1 %.not37, label %.thread55, label %39

39:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #3
  call void @mbedtls_mpi_init(ptr noundef nonnull %8) #3
  %40 = call i32 @mbedtls_asn1_get_mpi(ptr noundef nonnull %6, ptr noundef %29, ptr noundef nonnull %8) #3
  call void @mbedtls_mpi_free(ptr noundef nonnull %8) #3
  %.not38 = icmp eq i32 %40, 0
  br i1 %.not38, label %43, label %41

41:                                               ; preds = %39
  %42 = add nsw i32 %40, -13184
  br label %.thread51

43:                                               ; preds = %39
  %44 = load ptr, ptr %6, align 8, !tbaa !13
  %.not39 = icmp eq ptr %44, %29
  br i1 %.not39, label %45, label %.thread51

.thread51:                                        ; preds = %41, %43
  %.2.ph = phi i32 [ -13286, %43 ], [ %42, %41 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #3
  br label %47

45:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #3
  br label %.thread55

.thread55:                                        ; preds = %37, %45
  %46 = call i64 @mbedtls_mpi_size(ptr noundef nonnull %30) #3
  store i64 %46, ptr %0, align 8, !tbaa !14
  call void @mbedtls_pem_free(ptr noundef nonnull %7) #3
  br label %49

47:                                               ; preds = %.thread51, %35, %24
  %.3 = phi i32 [ %25, %24 ], [ %36, %35 ], [ %.2.ph, %.thread51 ]
  call void @mbedtls_pem_free(ptr noundef nonnull %7) #3
  %.not40 = icmp eq i32 %.3, 0
  br i1 %.not40, label %49, label %48

48:                                               ; preds = %.thread59, %47
  %.362 = phi i32 [ %15, %.thread59 ], [ %.3, %47 ]
  call void @mbedtls_dhm_free(ptr noundef %0)
  br label %49

49:                                               ; preds = %.thread55, %47, %48
  %.358 = phi i32 [ 0, %.thread55 ], [ 0, %47 ], [ %.362, %48 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  ret i32 %.358
}

declare void @mbedtls_pem_init(ptr noundef) local_unnamed_addr #1

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

declare i32 @mbedtls_asn1_get_tag(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare i32 @mbedtls_asn1_get_mpi(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @mbedtls_pem_free(ptr 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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !6, i64 8}
!11 = !{!"", !12, i64 0, !6, i64 8, !12, i64 16}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"", !6, i64 0, !16, i64 8, !16, i64 32, !16, i64 56, !16, i64 80, !16, i64 104, !16, i64 128, !16, i64 152, !16, i64 176, !16, i64 200, !16, i64 224}
!16 = !{!"", !17, i64 0, !6, i64 8, !12, i64 16}
!17 = !{!"int", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass