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

; 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 [17 x i8], align 1
@md5_test_buf = external hidden constant [7 x [81 x i8]], align 16
@md5_test_buflen = external hidden constant [7 x i64], align 16
@md5_test_sum = external hidden constant [7 x [16 x i8]], align 16
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 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

; Function Attrs: nounwind uwtable
declare dso_local i32 @mbedtls_md5_ret(ptr noundef, i64 noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @mbedtls_md5_self_test(i32 noundef %0) #1 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca [16 x i8], align 16
  %7 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #4
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %8

8:                                                ; preds = %47, %1
  %9 = load i32, ptr %4, align 4, !tbaa !5
  %10 = icmp slt i32 %9, 7
  br i1 %10, label %11, label %50

11:                                               ; preds = %8
  %12 = load i32, ptr %3, align 4, !tbaa !5
  %13 = icmp ne i32 %12, 0
  br i1 %13, label %14, label %18

14:                                               ; preds = %11
  %15 = load i32, ptr %4, align 4, !tbaa !5
  %16 = add nsw i32 %15, 1
  %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16)
  br label %18

18:                                               ; preds = %14, %11
  %19 = load i32, ptr %4, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [7 x [81 x i8]], ptr @md5_test_buf, i64 0, i64 %20
  %22 = getelementptr inbounds [81 x i8], ptr %21, i64 0, i64 0
  %23 = load i32, ptr %4, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [7 x i64], ptr @md5_test_buflen, i64 0, i64 %24
  %26 = load i64, ptr %25, align 8, !tbaa !9
  %27 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %28 = call i32 @mbedtls_md5_ret(ptr noundef %22, i64 noundef %26, ptr noundef %27)
  store i32 %28, ptr %5, align 4, !tbaa !5
  %29 = load i32, ptr %5, align 4, !tbaa !5
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %31, label %32

31:                                               ; preds = %18
  br label %56

32:                                               ; preds = %18
  %33 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %34 = load i32, ptr %4, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [7 x [16 x i8]], ptr @md5_test_sum, i64 0, i64 %35
  %37 = getelementptr inbounds [16 x i8], ptr %36, i64 0, i64 0
  %38 = call i32 @memcmp(ptr noundef %33, ptr noundef %37, i64 noundef 16) #5
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %40, label %41

40:                                               ; preds = %32
  store i32 1, ptr %5, align 4, !tbaa !5
  br label %56

41:                                               ; preds = %32
  %42 = load i32, ptr %3, align 4, !tbaa !5
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %44, label %46

44:                                               ; preds = %41
  %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %46

46:                                               ; preds = %44, %41
  br label %47

47:                                               ; preds = %46
  %48 = load i32, ptr %4, align 4, !tbaa !5
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %4, align 4, !tbaa !5
  br label %8, !llvm.loop !11

50:                                               ; preds = %8
  %51 = load i32, ptr %3, align 4, !tbaa !5
  %52 = icmp ne i32 %51, 0
  br i1 %52, label %53, label %55

53:                                               ; preds = %50
  %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %55

55:                                               ; preds = %53, %50
  store i32 0, ptr %2, align 4
  store i32 1, ptr %7, align 4
  br label %63

56:                                               ; preds = %40, %31
  %57 = load i32, ptr %3, align 4, !tbaa !5
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %61

59:                                               ; preds = %56
  %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %61

61:                                               ; preds = %59, %56
  %62 = load i32, ptr %5, align 4, !tbaa !5
  store i32 %62, ptr %2, align 4
  store i32 1, ptr %7, align 4
  br label %63

63:                                               ; preds = %61, %55
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  %64 = load i32, ptr %2, align 4
  ret i32 %64
}

declare i32 @printf(ptr noundef, ...) #2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #3

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 willreturn memory(read) "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 }
attributes #5 = { nounwind willreturn memory(read) }

!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 = !{!"int", !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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; 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 [17 x i8], align 1
@md5_test_buf = external hidden constant [7 x [81 x i8]], align 16
@md5_test_buflen = external hidden local_unnamed_addr constant [7 x i64], align 16
@md5_test_sum = external hidden constant [7 x [16 x i8]], align 16
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 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

; Function Attrs: nounwind uwtable
declare dso_local i32 @mbedtls_md5_ret(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @mbedtls_md5_self_test(i32 noundef %0) local_unnamed_addr #1 {
  %2 = alloca [16 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  %.not16 = icmp eq i32 %0, 0
  br i1 %.not16, label %.split.us.preheader, label %.split.preheader

.split.preheader:                                 ; preds = %1
  %3 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef 1)
  %4 = load i64, ptr @md5_test_buflen, align 16, !tbaa !5
  %5 = call i32 @mbedtls_md5_ret(ptr noundef nonnull @md5_test_buf, i64 noundef %4, ptr noundef nonnull %2)
  %.not17 = icmp eq i32 %5, 0
  br i1 %.not17, label %27, label %.split24.us.thread.sink.split

.split.us.preheader:                              ; preds = %1
  %6 = load i64, ptr @md5_test_buflen, align 16, !tbaa !5
  %7 = call i32 @mbedtls_md5_ret(ptr noundef nonnull @md5_test_buf, i64 noundef %6, ptr noundef nonnull %2)
  %.not17.us = icmp eq i32 %7, 0
  br i1 %.not17.us, label %8, label %.split24.us.thread

8:                                                ; preds = %.split.us.preheader
  %bcmp.us = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %2, ptr noundef nonnull dereferenceable(16) @md5_test_sum, i64 16)
  %.not18.us = icmp eq i32 %bcmp.us, 0
  br i1 %.not18.us, label %.split.us.1, label %.split24.us.thread

.split.us.1:                                      ; preds = %8
  %9 = load i64, ptr getelementptr inbounds (i8, ptr @md5_test_buflen, i64 8), align 8, !tbaa !5
  %10 = call i32 @mbedtls_md5_ret(ptr noundef nonnull getelementptr inbounds (i8, ptr @md5_test_buf, i64 81), i64 noundef %9, ptr noundef nonnull %2)
  %.not17.us.1 = icmp eq i32 %10, 0
  br i1 %.not17.us.1, label %11, label %.split24.us.thread

11:                                               ; preds = %.split.us.1
  %bcmp.us.1 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %2, ptr noundef nonnull dereferenceable(16) getelementptr inbounds (i8, ptr @md5_test_sum, i64 16), i64 16)
  %.not18.us.1 = icmp eq i32 %bcmp.us.1, 0
  br i1 %.not18.us.1, label %.split.us.2, label %.split24.us.thread

.split.us.2:                                      ; preds = %11
  %12 = load i64, ptr getelementptr inbounds (i8, ptr @md5_test_buflen, i64 16), align 16, !tbaa !5
  %13 = call i32 @mbedtls_md5_ret(ptr noundef nonnull getelementptr inbounds (i8, ptr @md5_test_buf, i64 162), i64 noundef %12, ptr noundef nonnull %2)
  %.not17.us.2 = icmp eq i32 %13, 0
  br i1 %.not17.us.2, label %14, label %.split24.us.thread

14:                                               ; preds = %.split.us.2
  %bcmp.us.2 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %2, ptr noundef nonnull dereferenceable(16) getelementptr inbounds (i8, ptr @md5_test_sum, i64 32), i64 16)
  %.not18.us.2 = icmp eq i32 %bcmp.us.2, 0
  br i1 %.not18.us.2, label %.split.us.3, label %.split24.us.thread

.split.us.3:                                      ; preds = %14
  %15 = load i64, ptr getelementptr inbounds (i8, ptr @md5_test_buflen, i64 24), align 8, !tbaa !5
  %16 = call i32 @mbedtls_md5_ret(ptr noundef nonnull getelementptr inbounds (i8, ptr @md5_test_buf, i64 243), i64 noundef %15, ptr noundef nonnull %2)
  %.not17.us.3 = icmp eq i32 %16, 0
  br i1 %.not17.us.3, label %17, label %.split24.us.thread

17:                                               ; preds = %.split.us.3
  %bcmp.us.3 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %2, ptr noundef nonnull dereferenceable(16) getelementptr inbounds (i8, ptr @md5_test_sum, i64 48), i64 16)
  %.not18.us.3 = icmp eq i32 %bcmp.us.3, 0
  br i1 %.not18.us.3, label %.split.us.4, label %.split24.us.thread

.split.us.4:                                      ; preds = %17
  %18 = load i64, ptr getelementptr inbounds (i8, ptr @md5_test_buflen, i64 32), align 16, !tbaa !5
  %19 = call i32 @mbedtls_md5_ret(ptr noundef nonnull getelementptr inbounds (i8, ptr @md5_test_buf, i64 324), i64 noundef %18, ptr noundef nonnull %2)
  %.not17.us.4 = icmp eq i32 %19, 0
  br i1 %.not17.us.4, label %20, label %.split24.us.thread

20:                                               ; preds = %.split.us.4
  %bcmp.us.4 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %2, ptr noundef nonnull dereferenceable(16) getelementptr inbounds (i8, ptr @md5_test_sum, i64 64), i64 16)
  %.not18.us.4 = icmp eq i32 %bcmp.us.4, 0
  br i1 %.not18.us.4, label %.split.us.5, label %.split24.us.thread

.split.us.5:                                      ; preds = %20
  %21 = load i64, ptr getelementptr inbounds (i8, ptr @md5_test_buflen, i64 40), align 8, !tbaa !5
  %22 = call i32 @mbedtls_md5_ret(ptr noundef nonnull getelementptr inbounds (i8, ptr @md5_test_buf, i64 405), i64 noundef %21, ptr noundef nonnull %2)
  %.not17.us.5 = icmp eq i32 %22, 0
  br i1 %.not17.us.5, label %23, label %.split24.us.thread

23:                                               ; preds = %.split.us.5
  %bcmp.us.5 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %2, ptr noundef nonnull dereferenceable(16) getelementptr inbounds (i8, ptr @md5_test_sum, i64 80), i64 16)
  %.not18.us.5 = icmp eq i32 %bcmp.us.5, 0
  br i1 %.not18.us.5, label %.split.us.6, label %.split24.us.thread

.split.us.6:                                      ; preds = %23
  %24 = load i64, ptr getelementptr inbounds (i8, ptr @md5_test_buflen, i64 48), align 16, !tbaa !5
  %25 = call i32 @mbedtls_md5_ret(ptr noundef nonnull getelementptr inbounds (i8, ptr @md5_test_buf, i64 486), i64 noundef %24, ptr noundef nonnull %2)
  %.not17.us.6 = icmp eq i32 %25, 0
  br i1 %.not17.us.6, label %26, label %.split24.us.thread

26:                                               ; preds = %.split.us.6
  %bcmp.us.6 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %2, ptr noundef nonnull dereferenceable(16) getelementptr inbounds (i8, ptr @md5_test_sum, i64 96), i64 16)
  %.not18.us.6 = icmp ne i32 %bcmp.us.6, 0
  %spec.select = zext i1 %.not18.us.6 to i32
  br label %.split24.us.thread

27:                                               ; preds = %.split.preheader
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %2, ptr noundef nonnull dereferenceable(16) @md5_test_sum, i64 16)
  %.not18 = icmp eq i32 %bcmp, 0
  br i1 %.not18, label %.split.1, label %.split24.us.thread.sink.split

.split.1:                                         ; preds = %27
  %28 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %29 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef 2)
  %30 = load i64, ptr getelementptr inbounds (i8, ptr @md5_test_buflen, i64 8), align 8, !tbaa !5
  %31 = call i32 @mbedtls_md5_ret(ptr noundef nonnull getelementptr inbounds (i8, ptr @md5_test_buf, i64 81), i64 noundef %30, ptr noundef nonnull %2)
  %.not17.1 = icmp eq i32 %31, 0
  br i1 %.not17.1, label %32, label %.split24.us.thread.sink.split

32:                                               ; preds = %.split.1
  %bcmp.1 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %2, ptr noundef nonnull dereferenceable(16) getelementptr inbounds (i8, ptr @md5_test_sum, i64 16), i64 16)
  %.not18.1 = icmp eq i32 %bcmp.1, 0
  br i1 %.not18.1, label %.split.2, label %.split24.us.thread.sink.split

.split.2:                                         ; preds = %32
  %33 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %34 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef 3)
  %35 = load i64, ptr getelementptr inbounds (i8, ptr @md5_test_buflen, i64 16), align 16, !tbaa !5
  %36 = call i32 @mbedtls_md5_ret(ptr noundef nonnull getelementptr inbounds (i8, ptr @md5_test_buf, i64 162), i64 noundef %35, ptr noundef nonnull %2)
  %.not17.2 = icmp eq i32 %36, 0
  br i1 %.not17.2, label %37, label %.split24.us.thread.sink.split

37:                                               ; preds = %.split.2
  %bcmp.2 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %2, ptr noundef nonnull dereferenceable(16) getelementptr inbounds (i8, ptr @md5_test_sum, i64 32), i64 16)
  %.not18.2 = icmp eq i32 %bcmp.2, 0
  br i1 %.not18.2, label %.split.3, label %.split24.us.thread.sink.split

.split.3:                                         ; preds = %37
  %38 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef 4)
  %40 = load i64, ptr getelementptr inbounds (i8, ptr @md5_test_buflen, i64 24), align 8, !tbaa !5
  %41 = call i32 @mbedtls_md5_ret(ptr noundef nonnull getelementptr inbounds (i8, ptr @md5_test_buf, i64 243), i64 noundef %40, ptr noundef nonnull %2)
  %.not17.3 = icmp eq i32 %41, 0
  br i1 %.not17.3, label %42, label %.split24.us.thread.sink.split

42:                                               ; preds = %.split.3
  %bcmp.3 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %2, ptr noundef nonnull dereferenceable(16) getelementptr inbounds (i8, ptr @md5_test_sum, i64 48), i64 16)
  %.not18.3 = icmp eq i32 %bcmp.3, 0
  br i1 %.not18.3, label %.split.4, label %.split24.us.thread.sink.split

.split.4:                                         ; preds = %42
  %43 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef 5)
  %45 = load i64, ptr getelementptr inbounds (i8, ptr @md5_test_buflen, i64 32), align 16, !tbaa !5
  %46 = call i32 @mbedtls_md5_ret(ptr noundef nonnull getelementptr inbounds (i8, ptr @md5_test_buf, i64 324), i64 noundef %45, ptr noundef nonnull %2)
  %.not17.4 = icmp eq i32 %46, 0
  br i1 %.not17.4, label %47, label %.split24.us.thread.sink.split

47:                                               ; preds = %.split.4
  %bcmp.4 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %2, ptr noundef nonnull dereferenceable(16) getelementptr inbounds (i8, ptr @md5_test_sum, i64 64), i64 16)
  %.not18.4 = icmp eq i32 %bcmp.4, 0
  br i1 %.not18.4, label %.split.5, label %.split24.us.thread.sink.split

.split.5:                                         ; preds = %47
  %48 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %49 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef 6)
  %50 = load i64, ptr getelementptr inbounds (i8, ptr @md5_test_buflen, i64 40), align 8, !tbaa !5
  %51 = call i32 @mbedtls_md5_ret(ptr noundef nonnull getelementptr inbounds (i8, ptr @md5_test_buf, i64 405), i64 noundef %50, ptr noundef nonnull %2)
  %.not17.5 = icmp eq i32 %51, 0
  br i1 %.not17.5, label %52, label %.split24.us.thread.sink.split

52:                                               ; preds = %.split.5
  %bcmp.5 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %2, ptr noundef nonnull dereferenceable(16) getelementptr inbounds (i8, ptr @md5_test_sum, i64 80), i64 16)
  %.not18.5 = icmp eq i32 %bcmp.5, 0
  br i1 %.not18.5, label %.split.6, label %.split24.us.thread.sink.split

.split.6:                                         ; preds = %52
  %53 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %54 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef 7)
  %55 = load i64, ptr getelementptr inbounds (i8, ptr @md5_test_buflen, i64 48), align 16, !tbaa !5
  %56 = call i32 @mbedtls_md5_ret(ptr noundef nonnull getelementptr inbounds (i8, ptr @md5_test_buf, i64 486), i64 noundef %55, ptr noundef nonnull %2)
  %.not17.6 = icmp eq i32 %56, 0
  br i1 %.not17.6, label %57, label %.split24.us.thread.sink.split

57:                                               ; preds = %.split.6
  %bcmp.6 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %2, ptr noundef nonnull dereferenceable(16) getelementptr inbounds (i8, ptr @md5_test_sum, i64 96), i64 16)
  %.not18.6 = icmp eq i32 %bcmp.6, 0
  br i1 %.not18.6, label %58, label %.split24.us.thread.sink.split

58:                                               ; preds = %57
  %59 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %.split24.us.thread.sink.split

.split24.us.thread.sink.split:                    ; preds = %.split.preheader, %27, %.split.1, %32, %.split.2, %37, %.split.3, %42, %.split.4, %47, %.split.5, %52, %.split.6, %57, %58
  %.str.3.sink = phi ptr [ @.str.2, %58 ], [ @.str.3, %57 ], [ @.str.3, %.split.6 ], [ @.str.3, %52 ], [ @.str.3, %.split.5 ], [ @.str.3, %47 ], [ @.str.3, %.split.4 ], [ @.str.3, %42 ], [ @.str.3, %.split.3 ], [ @.str.3, %37 ], [ @.str.3, %.split.2 ], [ @.str.3, %32 ], [ @.str.3, %.split.1 ], [ @.str.3, %27 ], [ @.str.3, %.split.preheader ]
  %.014.ph = phi i32 [ 0, %58 ], [ 1, %57 ], [ %56, %.split.6 ], [ 1, %52 ], [ %51, %.split.5 ], [ 1, %47 ], [ %46, %.split.4 ], [ 1, %42 ], [ %41, %.split.3 ], [ 1, %37 ], [ %36, %.split.2 ], [ 1, %32 ], [ %31, %.split.1 ], [ 1, %27 ], [ %5, %.split.preheader ]
  %60 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.3.sink)
  br label %.split24.us.thread

.split24.us.thread:                               ; preds = %26, %.split24.us.thread.sink.split, %.split.us.6, %23, %.split.us.5, %20, %.split.us.4, %17, %.split.us.3, %14, %.split.us.2, %11, %.split.us.1, %8, %.split.us.preheader
  %.014 = phi i32 [ %25, %.split.us.6 ], [ 1, %23 ], [ %22, %.split.us.5 ], [ 1, %20 ], [ %19, %.split.us.4 ], [ 1, %17 ], [ %16, %.split.us.3 ], [ 1, %14 ], [ %13, %.split.us.2 ], [ 1, %11 ], [ %10, %.split.us.1 ], [ 1, %8 ], [ %7, %.split.us.preheader ], [ %spec.select, %26 ], [ %.014.ph, %.split24.us.thread.sink.split ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  ret i32 %.014
}

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #3

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 = { nofree 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 #3 = { nofree nounwind willreturn memory(argmem: read) }
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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass