; LLVM IR from EyalAr/lwip :: src/lib/png (pngread)

; 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.png_image_read_control = type { ptr, ptr, i32, ptr, ptr, ptr, ptr, i64, i32, i32, i32 }
%struct.png_image = type { ptr, i32, i32, i32, i32, i32, i32, i32, [64 x i8] }

@.str.18 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [49 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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @png_image_finish_read(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #2 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %struct.png_image_read_control, align 8
  %15 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store i32 %3, ptr %10, align 4, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !5
  %16 = load ptr, ptr %7, align 8, !tbaa !5
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %137

18:                                               ; preds = %5
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.png_image, ptr %19, i32 0, i32 1
  %21 = load i32, ptr %20, align 8, !tbaa !11
  %22 = icmp eq i32 %21, 1
  br i1 %22, label %23, label %137

23:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %24 = load i32, ptr %10, align 4, !tbaa !9
  %25 = icmp eq i32 %24, 0
  br i1 %25, label %26, label %45

26:                                               ; preds = %23
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.png_image, ptr %27, i32 0, i32 4
  %29 = load i32, ptr %28, align 4, !tbaa !13
  %30 = and i32 %29, 8
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %32, label %33

32:                                               ; preds = %26
  br label %39

33:                                               ; preds = %26
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.png_image, ptr %34, i32 0, i32 4
  %36 = load i32, ptr %35, align 4, !tbaa !13
  %37 = and i32 %36, 3
  %38 = add i32 %37, 1
  br label %39

39:                                               ; preds = %33, %32
  %40 = phi i32 [ 1, %32 ], [ %38, %33 ]
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.png_image, ptr %41, i32 0, i32 2
  %43 = load i32, ptr %42, align 4, !tbaa !14
  %44 = mul i32 %40, %43
  store i32 %44, ptr %10, align 4, !tbaa !9
  br label %45

45:                                               ; preds = %39, %23
  %46 = load i32, ptr %10, align 4, !tbaa !9
  %47 = icmp slt i32 %46, 0
  br i1 %47, label %48, label %51

48:                                               ; preds = %45
  %49 = load i32, ptr %10, align 4, !tbaa !9
  %50 = sub nsw i32 0, %49
  store i32 %50, ptr %12, align 4, !tbaa !9
  br label %53

51:                                               ; preds = %45
  %52 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %52, ptr %12, align 4, !tbaa !9
  br label %53

53:                                               ; preds = %51, %48
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.png_image, ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !15
  %57 = icmp ne ptr %56, null
  br i1 %57, label %58, label %133

58:                                               ; preds = %53
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = icmp ne ptr %59, null
  br i1 %60, label %61, label %133

61:                                               ; preds = %58
  %62 = load i32, ptr %12, align 4, !tbaa !9
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.png_image, ptr %63, i32 0, i32 4
  %65 = load i32, ptr %64, align 4, !tbaa !13
  %66 = and i32 %65, 8
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %68, label %69

68:                                               ; preds = %61
  br label %75

69:                                               ; preds = %61
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.png_image, ptr %70, i32 0, i32 4
  %72 = load i32, ptr %71, align 4, !tbaa !13
  %73 = and i32 %72, 3
  %74 = add i32 %73, 1
  br label %75

75:                                               ; preds = %69, %68
  %76 = phi i32 [ 1, %68 ], [ %74, %69 ]
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.png_image, ptr %77, i32 0, i32 2
  %79 = load i32, ptr %78, align 4, !tbaa !14
  %80 = mul i32 %76, %79
  %81 = icmp uge i32 %62, %80
  br i1 %81, label %82, label %133

82:                                               ; preds = %75
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.png_image, ptr %83, i32 0, i32 4
  %85 = load i32, ptr %84, align 4, !tbaa !13
  %86 = and i32 %85, 8
  %87 = icmp eq i32 %86, 0
  br i1 %87, label %96, label %88

88:                                               ; preds = %82
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.png_image, ptr %89, i32 0, i32 6
  %91 = load i32, ptr %90, align 4, !tbaa !16
  %92 = icmp ugt i32 %91, 0
  br i1 %92, label %93, label %130

93:                                               ; preds = %88
  %94 = load ptr, ptr %11, align 8, !tbaa !5
  %95 = icmp ne ptr %94, null
  br i1 %95, label %96, label %130

96:                                               ; preds = %93, %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr %14) #4
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 80, i1 false)
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.png_image_read_control, ptr %14, i32 0, i32 0
  store ptr %97, ptr %98, align 8, !tbaa !17
  %99 = load ptr, ptr %9, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.png_image_read_control, ptr %14, i32 0, i32 1
  store ptr %99, ptr %100, align 8, !tbaa !20
  %101 = load i32, ptr %10, align 4, !tbaa !9
  %102 = getelementptr inbounds %struct.png_image_read_control, ptr %14, i32 0, i32 2
  store i32 %101, ptr %102, align 8, !tbaa !21
  %103 = load ptr, ptr %11, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.png_image_read_control, ptr %14, i32 0, i32 3
  store ptr %103, ptr %104, align 8, !tbaa !22
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.png_image_read_control, ptr %14, i32 0, i32 4
  store ptr %105, ptr %106, align 8, !tbaa !23
  %107 = getelementptr inbounds %struct.png_image_read_control, ptr %14, i32 0, i32 5
  store ptr null, ptr %107, align 8, !tbaa !24
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.png_image, ptr %108, i32 0, i32 4
  %110 = load i32, ptr %109, align 4, !tbaa !13
  %111 = and i32 %110, 8
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %124

113:                                              ; preds = %96
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = call i32 @png_safe_execute(ptr noundef %114, ptr noundef @png_image_read_colormap, ptr noundef %14)
  %116 = icmp ne i32 %115, 0
  br i1 %116, label %117, label %121

117:                                              ; preds = %113
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = call i32 @png_safe_execute(ptr noundef %118, ptr noundef @png_image_read_colormapped, ptr noundef %14)
  %120 = icmp ne i32 %119, 0
  br label %121

121:                                              ; preds = %117, %113
  %122 = phi i1 [ false, %113 ], [ %120, %117 ]
  %123 = zext i1 %122 to i32
  store i32 %123, ptr %13, align 4, !tbaa !9
  br label %127

124:                                              ; preds = %96
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  %126 = call i32 @png_safe_execute(ptr noundef %125, ptr noundef @png_image_read_direct, ptr noundef %14)
  store i32 %126, ptr %13, align 4, !tbaa !9
  br label %127

127:                                              ; preds = %124, %121
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  call void @png_image_free(ptr noundef %128)
  %129 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %129, ptr %6, align 4
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 80, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %136

130:                                              ; preds = %93, %88
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  %132 = call i32 @png_image_error(ptr noundef %131, ptr noundef @.str.18)
  store i32 %132, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %136

133:                                              ; preds = %75, %58, %53
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = call i32 @png_image_error(ptr noundef %134, ptr noundef @.str.19)
  store i32 %135, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %136

136:                                              ; preds = %133, %130, %127
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %145

137:                                              ; preds = %18, %5
  %138 = load ptr, ptr %7, align 8, !tbaa !5
  %139 = icmp ne ptr %138, null
  br i1 %139, label %140, label %143

140:                                              ; preds = %137
  %141 = load ptr, ptr %7, align 8, !tbaa !5
  %142 = call i32 @png_image_error(ptr noundef %141, ptr noundef @.str.20)
  store i32 %142, ptr %6, align 4
  br label %145

143:                                              ; preds = %137
  br label %144

144:                                              ; preds = %143
  store i32 0, ptr %6, align 4
  br label %145

145:                                              ; preds = %144, %140, %136
  %146 = load i32, ptr %6, align 4
  ret i32 %146
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @png_image_read_colormap(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @png_image_read_colormapped(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @png_image_read_direct(ptr noundef) #2

declare void @png_image_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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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, !10, i64 8}
!12 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !7, i64 36}
!13 = !{!12, !10, i64 20}
!14 = !{!12, !10, i64 12}
!15 = !{!12, !6, i64 0}
!16 = !{!12, !10, i64 28}
!17 = !{!18, !6, i64 0}
!18 = !{!"", !6, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !19, i64 56, !10, i64 64, !10, i64 68, !10, i64 72}
!19 = !{!"long", !7, i64 0}
!20 = !{!18, !6, i64 8}
!21 = !{!18, !10, i64 16}
!22 = !{!18, !6, i64 24}
!23 = !{!18, !6, i64 32}
!24 = !{!18, !6, i64 40}


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

@.str.18 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [49 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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @png_image_finish_read(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #2 {
  %6 = alloca %struct.png_image_read_control, align 8
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %.critedge, label %7

7:                                                ; preds = %5
  %8 = getelementptr inbounds i8, ptr %0, i64 8
  %9 = load i32, ptr %8, align 8, !tbaa !5
  %10 = icmp eq i32 %9, 1
  br i1 %10, label %11, label %62

11:                                               ; preds = %7
  %12 = icmp eq i32 %3, 0
  br i1 %12, label %13, label %23

13:                                               ; preds = %11
  %14 = getelementptr inbounds i8, ptr %0, i64 20
  %15 = load i32, ptr %14, align 4, !tbaa !11
  %16 = and i32 %15, 8
  %.not43 = icmp eq i32 %16, 0
  %17 = and i32 %15, 3
  %18 = add nuw nsw i32 %17, 1
  %19 = select i1 %.not43, i32 %18, i32 1
  %20 = getelementptr inbounds i8, ptr %0, i64 12
  %21 = load i32, ptr %20, align 4, !tbaa !12
  %22 = mul i32 %19, %21
  br label %23

23:                                               ; preds = %13, %11
  %.038 = phi i32 [ %22, %13 ], [ %3, %11 ]
  %24 = load ptr, ptr %0, align 8, !tbaa !13
  %25 = icmp ne ptr %24, null
  %26 = icmp ne ptr %2, null
  %or.cond = and i1 %26, %25
  br i1 %or.cond, label %27, label %60

27:                                               ; preds = %23
  %.036 = tail call i32 @llvm.abs.i32(i32 %.038, i1 true)
  %28 = getelementptr inbounds i8, ptr %0, i64 20
  %29 = load i32, ptr %28, align 4, !tbaa !11
  %30 = and i32 %29, 8
  %.not44 = icmp eq i32 %30, 0
  %31 = and i32 %29, 3
  %32 = add nuw nsw i32 %31, 1
  %33 = select i1 %.not44, i32 %32, i32 1
  %34 = getelementptr inbounds i8, ptr %0, i64 12
  %35 = load i32, ptr %34, align 4, !tbaa !12
  %36 = mul i32 %33, %35
  %.not45 = icmp ult i32 %.036, %36
  br i1 %.not45, label %60, label %37

37:                                               ; preds = %27
  br i1 %.not44, label %43, label %38

38:                                               ; preds = %37
  %39 = getelementptr inbounds i8, ptr %0, i64 28
  %40 = load i32, ptr %39, align 4, !tbaa !14
  %41 = icmp ne i32 %40, 0
  %42 = icmp ne ptr %4, null
  %or.cond3 = and i1 %42, %41
  br i1 %or.cond3, label %43, label %58

43:                                               ; preds = %38, %37
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #5
  %44 = getelementptr inbounds i8, ptr %6, i64 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %44, i8 0, i64 64, i1 false)
  store ptr %0, ptr %6, align 8, !tbaa !15
  %45 = getelementptr inbounds i8, ptr %6, i64 8
  store ptr %2, ptr %45, align 8, !tbaa !18
  %46 = getelementptr inbounds i8, ptr %6, i64 16
  store i32 %.038, ptr %46, align 8, !tbaa !19
  %47 = getelementptr inbounds i8, ptr %6, i64 24
  store ptr %4, ptr %47, align 8, !tbaa !20
  %48 = getelementptr inbounds i8, ptr %6, i64 32
  store ptr %1, ptr %48, align 8, !tbaa !21
  br i1 %.not44, label %55, label %49

49:                                               ; preds = %43
  %50 = call i32 @png_safe_execute(ptr noundef nonnull %0, ptr noundef nonnull @png_image_read_colormap, ptr noundef nonnull %6) #5
  %.not47 = icmp eq i32 %50, 0
  br i1 %.not47, label %57, label %51

51:                                               ; preds = %49
  %52 = call i32 @png_safe_execute(ptr noundef nonnull %0, ptr noundef nonnull @png_image_read_colormapped, ptr noundef nonnull %6) #5
  %53 = icmp ne i32 %52, 0
  %54 = zext i1 %53 to i32
  br label %57

55:                                               ; preds = %43
  %56 = call i32 @png_safe_execute(ptr noundef nonnull %0, ptr noundef nonnull @png_image_read_direct, ptr noundef nonnull %6) #5
  br label %57

57:                                               ; preds = %49, %51, %55
  %.0 = phi i32 [ %56, %55 ], [ 0, %49 ], [ %54, %51 ]
  call void @png_image_free(ptr noundef nonnull %0) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #5
  br label %.critedge

58:                                               ; preds = %38
  %59 = tail call i32 @png_image_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.18) #5
  br label %.critedge

60:                                               ; preds = %27, %23
  %61 = tail call i32 @png_image_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.19) #5
  br label %.critedge

62:                                               ; preds = %7
  %63 = tail call i32 @png_image_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.20) #5
  br label %.critedge

.critedge:                                        ; preds = %5, %57, %58, %60, %62
  %.1 = phi i32 [ %63, %62 ], [ %.0, %57 ], [ %59, %58 ], [ %61, %60 ], [ 0, %5 ]
  ret i32 %.1
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @png_image_read_colormap(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @png_image_read_colormapped(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @png_image_read_direct(ptr noundef) #2

declare void @png_image_free(ptr noundef) local_unnamed_addr #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #4

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !10, i64 8}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !8, i64 36}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 20}
!12 = !{!6, !10, i64 12}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !10, i64 28}
!15 = !{!16, !7, i64 0}
!16 = !{!"", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !17, i64 56, !10, i64 64, !10, i64 68, !10, i64 72}
!17 = !{!"long", !8, i64 0}
!18 = !{!16, !7, i64 8}
!19 = !{!16, !10, i64 16}
!20 = !{!16, !7, i64 24}
!21 = !{!16, !7, i64 32}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass