; LLVM IR from aws/s2n-tls :: tests/unit (s2n_self_talk_nonblocking_test)

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

@.str = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @mock_client(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %20 = load i32, ptr %7, align 4, !tbaa !9
  %21 = zext i32 %20 to i64
  %22 = call noalias ptr @malloc(i64 noundef %21) #6
  store ptr %22, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %23 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %23, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store ptr null, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store ptr null, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 1, ptr %14, align 4, !tbaa !9
  %24 = call i32 @sleep(i32 noundef 1)
  %25 = call ptr @s2n_connection_new(i32 noundef 1)
  store ptr %25, ptr %10, align 8, !tbaa !5
  %26 = call ptr @s2n_config_new()
  store ptr %26, ptr %11, align 8, !tbaa !5
  %27 = load ptr, ptr %11, align 8, !tbaa !5
  %28 = call i32 @s2n_config_disable_x509_verification(ptr noundef %27)
  %29 = load ptr, ptr %10, align 8, !tbaa !5
  %30 = load ptr, ptr %11, align 8, !tbaa !5
  %31 = call i32 @s2n_connection_set_config(ptr noundef %29, ptr noundef %30)
  br label %32

32:                                               ; preds = %3
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = call i32 @s2n_config_set_cipher_preferences(ptr noundef %33, ptr noundef @.str)
  %35 = icmp sgt i32 %34, -1
  br i1 %35, label %37, label %36

36:                                               ; preds = %32
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %132

37:                                               ; preds = %32
  br label %38

38:                                               ; preds = %37
  br label %39

39:                                               ; preds = %38
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = call i32 @s2n_connection_set_io_pair(ptr noundef %40, ptr noundef %41)
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = call i32 @s2n_negotiate(ptr noundef %43, ptr noundef %12)
  store i32 %44, ptr %13, align 4, !tbaa !9
  %45 = load i32, ptr %13, align 4, !tbaa !9
  %46 = icmp slt i32 %45, 0
  br i1 %46, label %47, label %48

47:                                               ; preds = %39
  store i32 1, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %132

48:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %49 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %49, ptr %16, align 4, !tbaa !9
  br label %50

50:                                               ; preds = %89, %48
  %51 = load i32, ptr %16, align 4, !tbaa !9
  %52 = icmp ne i32 %51, 0
  br i1 %52, label %53, label %90

53:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  %56 = load i32, ptr %16, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = call i64 @s2n_recv(ptr noundef %54, ptr noundef %55, i64 noundef %57, ptr noundef %12)
  %59 = trunc i64 %58 to i32
  store i32 %59, ptr %17, align 4, !tbaa !9
  %60 = load i32, ptr %17, align 4, !tbaa !9
  %61 = icmp slt i32 %60, 0
  br i1 %61, label %62, label %63

62:                                               ; preds = %53
  store i32 1, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %87

63:                                               ; preds = %53
  %64 = load i32, ptr %17, align 4, !tbaa !9
  %65 = load i32, ptr %16, align 4, !tbaa !9
  %66 = sub i32 %65, %64
  store i32 %66, ptr %16, align 4, !tbaa !9
  %67 = load i32, ptr %17, align 4, !tbaa !9
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = sext i32 %67 to i64
  %70 = getelementptr inbounds i8, ptr %68, i64 %69
  store ptr %70, ptr %9, align 8, !tbaa !5
  %71 = load i32, ptr %14, align 4, !tbaa !9
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %86

73:                                               ; preds = %63
  %74 = load i32, ptr %7, align 4, !tbaa !9
  %75 = load i32, ptr %16, align 4, !tbaa !9
  %76 = sub i32 %74, %75
  %77 = uitofp i32 %76 to double
  %78 = load i32, ptr %7, align 4, !tbaa !9
  %79 = uitofp i32 %78 to double
  %80 = fmul double %79, 1.000000e+00
  %81 = fdiv double %77, %80
  %82 = fmul double %81, 1.000000e+02
  %83 = fcmp ogt double %82, 5.000000e+00
  br i1 %83, label %84, label %86

84:                                               ; preds = %73
  %85 = call i32 @raise(i32 noundef 19) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %86

86:                                               ; preds = %84, %73, %63
  store i32 0, ptr %15, align 4
  br label %87

87:                                               ; preds = %86, %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  %88 = load i32, ptr %15, align 4
  switch i32 %88, label %131 [
    i32 0, label %89
  ]

89:                                               ; preds = %87
  br label %50, !llvm.loop !11

90:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 -1, ptr %18, align 4, !tbaa !9
  br label %91

91:                                               ; preds = %94, %90
  %92 = load ptr, ptr %10, align 8, !tbaa !5
  %93 = call i32 @s2n_shutdown(ptr noundef %92, ptr noundef %12)
  store i32 %93, ptr %18, align 4, !tbaa !9
  br label %94

94:                                               ; preds = %91
  %95 = load i32, ptr %18, align 4, !tbaa !9
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %91, label %97, !llvm.loop !13

97:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  store i64 0, ptr %19, align 8, !tbaa !14
  br label %98

98:                                               ; preds = %118, %97
  %99 = load i64, ptr %19, align 8, !tbaa !14
  %100 = load i32, ptr %7, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = icmp ult i64 %99, %101
  br i1 %102, label %104, label %103

103:                                              ; preds = %98
  store i32 8, ptr %15, align 4
  br label %121

104:                                              ; preds = %98
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = load i64, ptr %19, align 8, !tbaa !14
  %107 = getelementptr inbounds i8, ptr %105, i64 %106
  %108 = load i8, ptr %107, align 1, !tbaa !16
  %109 = zext i8 %108 to i32
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = load i64, ptr %19, align 8, !tbaa !14
  %112 = getelementptr inbounds i8, ptr %110, i64 %111
  %113 = load i8, ptr %112, align 1, !tbaa !16
  %114 = zext i8 %113 to i32
  %115 = icmp ne i32 %109, %114
  br i1 %115, label %116, label %117

116:                                              ; preds = %104
  store i32 1, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %121

117:                                              ; preds = %104
  br label %118

118:                                              ; preds = %117
  %119 = load i64, ptr %19, align 8, !tbaa !14
  %120 = add i64 %119, 1
  store i64 %120, ptr %19, align 8, !tbaa !14
  br label %98, !llvm.loop !17

121:                                              ; preds = %116, %103
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  %122 = load i32, ptr %15, align 4
  switch i32 %122, label %130 [
    i32 8, label %123
  ]

123:                                              ; preds = %121
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  call void @free(ptr noundef %124) #5
  %125 = load ptr, ptr %10, align 8, !tbaa !5
  %126 = call i32 @s2n_connection_free(ptr noundef %125)
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  %128 = call i32 @s2n_config_free(ptr noundef %127)
  %129 = call i32 @s2n_cleanup()
  store i32 0, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %130

130:                                              ; preds = %123, %121
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %131

131:                                              ; preds = %130, %87
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %132

132:                                              ; preds = %131, %47, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %133 = load i32, ptr %4, align 4
  ret i32 %133
}

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

declare i32 @sleep(i32 noundef) #3

declare ptr @s2n_connection_new(i32 noundef) #3

declare ptr @s2n_config_new() #3

declare i32 @s2n_config_disable_x509_verification(ptr noundef) #3

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

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

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

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

declare i64 @s2n_recv(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #3

; Function Attrs: nounwind
declare i32 @raise(i32 noundef) #4

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

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #4

declare i32 @s2n_connection_free(ptr noundef) #3

declare i32 @s2n_config_free(ptr noundef) #3

declare i32 @s2n_cleanup() #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind allocsize(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 = { "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 "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 }
attributes #6 = { nounwind allocsize(0) }

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !12}


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

@.str = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @mock_client(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = alloca i32, align 4
  %5 = zext i32 %2 to i64
  %6 = tail call noalias ptr @malloc(i64 noundef %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  %7 = tail call i32 @sleep(i32 noundef 1) #7
  %8 = tail call ptr @s2n_connection_new(i32 noundef 1) #7
  %9 = tail call ptr @s2n_config_new() #7
  %10 = tail call i32 @s2n_config_disable_x509_verification(ptr noundef %9) #7
  %11 = tail call i32 @s2n_connection_set_config(ptr noundef %8, ptr noundef %9) #7
  %12 = tail call i32 @s2n_config_set_cipher_preferences(ptr noundef %9, ptr noundef nonnull @.str) #7
  %13 = icmp sgt i32 %12, -1
  br i1 %13, label %14, label %.thread

14:                                               ; preds = %3
  %15 = tail call i32 @s2n_connection_set_io_pair(ptr noundef %8, ptr noundef %0) #7
  %16 = call i32 @s2n_negotiate(ptr noundef %8, ptr noundef nonnull %4) #7
  %17 = icmp slt i32 %16, 0
  br i1 %17, label %.thread, label %.preheader58

.preheader58:                                     ; preds = %14
  %.not60 = icmp eq i32 %2, 0
  br i1 %.not60, label %.preheader57.preheader, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader58
  %18 = uitofp i32 %2 to double
  br label %19

19:                                               ; preds = %.lr.ph, %36
  %.04063 = phi i32 [ %2, %.lr.ph ], [ %25, %36 ]
  %.04462 = phi i32 [ 1, %.lr.ph ], [ %.246, %36 ]
  %.04761 = phi ptr [ %6, %.lr.ph ], [ %27, %36 ]
  %20 = zext i32 %.04063 to i64
  %21 = call i64 @s2n_recv(ptr noundef %8, ptr noundef %.04761, i64 noundef %20, ptr noundef nonnull %4) #7
  %22 = trunc i64 %21 to i32
  %23 = icmp sgt i32 %22, -1
  br i1 %23, label %24, label %.thread

24:                                               ; preds = %19
  %25 = sub i32 %.04063, %22
  %26 = and i64 %21, 2147483647
  %27 = getelementptr inbounds i8, ptr %.04761, i64 %26
  %.not53 = icmp eq i32 %.04462, 0
  br i1 %.not53, label %36, label %28

28:                                               ; preds = %24
  %29 = sub i32 %2, %25
  %30 = uitofp i32 %29 to double
  %31 = fdiv double %30, %18
  %32 = fmul double %31, 1.000000e+02
  %33 = fcmp ogt double %32, 5.000000e+00
  br i1 %33, label %34, label %36

34:                                               ; preds = %28
  %35 = call i32 @raise(i32 noundef 19) #7
  br label %36

36:                                               ; preds = %24, %28, %34
  %.246 = phi i32 [ 0, %34 ], [ 1, %28 ], [ 0, %24 ]
  %.not = icmp eq i32 %25, 0
  br i1 %.not, label %.preheader57.preheader, label %19, !llvm.loop !5

.preheader57.preheader:                           ; preds = %36, %.preheader58
  br label %.preheader57

.preheader57:                                     ; preds = %.preheader57.preheader, %.preheader57
  %37 = call i32 @s2n_shutdown(ptr noundef %8, ptr noundef nonnull %4) #7
  %.not50 = icmp eq i32 %37, 0
  br i1 %.not50, label %.preheader, label %.preheader57, !llvm.loop !7

.preheader:                                       ; preds = %.preheader57
  br i1 %.not60, label %.critedge, label %.lr.ph66

38:                                               ; preds = %.lr.ph66
  %39 = add nuw nsw i64 %.065, 1
  %exitcond.not = icmp eq i64 %39, %5
  br i1 %exitcond.not, label %.critedge, label %.lr.ph66, !llvm.loop !8

.lr.ph66:                                         ; preds = %.preheader, %38
  %.065 = phi i64 [ %39, %38 ], [ 0, %.preheader ]
  %40 = getelementptr inbounds i8, ptr %6, i64 %.065
  %41 = load i8, ptr %40, align 1, !tbaa !9
  %42 = getelementptr inbounds i8, ptr %1, i64 %.065
  %43 = load i8, ptr %42, align 1, !tbaa !9
  %.not51 = icmp eq i8 %41, %43
  br i1 %.not51, label %38, label %.thread

.critedge:                                        ; preds = %38, %.preheader
  call void @free(ptr noundef %6) #7
  %44 = call i32 @s2n_connection_free(ptr noundef %8) #7
  %45 = call i32 @s2n_config_free(ptr noundef %9) #7
  %46 = call i32 @s2n_cleanup() #7
  br label %.thread

.thread:                                          ; preds = %19, %.lr.ph66, %.critedge, %14, %3
  %.5 = phi i32 [ -1, %3 ], [ 1, %14 ], [ 0, %.critedge ], [ 1, %.lr.ph66 ], [ 1, %19 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  ret i32 %.5
}

; 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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2

declare i32 @sleep(i32 noundef) local_unnamed_addr #3

declare ptr @s2n_connection_new(i32 noundef) local_unnamed_addr #3

declare ptr @s2n_config_new() local_unnamed_addr #3

declare i32 @s2n_config_disable_x509_verification(ptr noundef) local_unnamed_addr #3

declare i32 @s2n_connection_set_config(ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @s2n_config_set_cipher_preferences(ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @s2n_connection_set_io_pair(ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @s2n_negotiate(ptr noundef, ptr noundef) local_unnamed_addr #3

declare i64 @s2n_recv(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare i32 @raise(i32 noundef) local_unnamed_addr #4

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

declare i32 @s2n_shutdown(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #5

declare i32 @s2n_connection_free(ptr noundef) local_unnamed_addr #3

declare i32 @s2n_config_free(ptr noundef) local_unnamed_addr #3

declare i32 @s2n_cleanup() 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 "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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 allocsize(0) }
attributes #7 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6}
!9 = !{!10, !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass