; LLVM IR from themisvaltinos/Partitioned-Hash-Join :: tests (test_helpers)

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

@acutest_current_test_ = external hidden global ptr, align 8
@acutest_verbose_level_ = external hidden global i32, align 4
@acutest_case_name_ = external hidden global [64 x i8], align 16
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@acutest_cond_failed_ = external hidden global i32, align 4
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [36 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: nounwind uwtable
declare hidden void @acutest_line_indent_(i32 noundef) #1

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

; 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
define dso_local void @acutest_dump_(ptr noundef %0, ptr noundef %1, i64 noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i8, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i64 %2, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  store i64 0, ptr %8, align 8, !tbaa !9
  %13 = load i32, ptr @acutest_verbose_level_, align 4, !tbaa !11
  %14 = icmp slt i32 %13, 2
  br i1 %14, label %15, label %16

15:                                               ; preds = %3
  store i32 1, ptr %9, align 4
  br label %142

16:                                               ; preds = %3
  %17 = load ptr, ptr @acutest_current_test_, align 8, !tbaa !5
  %18 = icmp eq ptr %17, null
  br i1 %18, label %22, label %19

19:                                               ; preds = %16
  %20 = load i32, ptr @acutest_cond_failed_, align 4, !tbaa !11
  %21 = icmp ne i32 %20, 0
  br i1 %21, label %23, label %22

22:                                               ; preds = %19, %16
  store i32 1, ptr %9, align 4
  br label %142

23:                                               ; preds = %19
  %24 = load i64, ptr %6, align 8, !tbaa !9
  %25 = icmp ugt i64 %24, 1024
  br i1 %25, label %26, label %29

26:                                               ; preds = %23
  %27 = load i64, ptr %6, align 8, !tbaa !9
  %28 = sub i64 %27, 1024
  store i64 %28, ptr %8, align 8, !tbaa !9
  store i64 1024, ptr %6, align 8, !tbaa !9
  br label %29

29:                                               ; preds = %26, %23
  %30 = load i8, ptr @acutest_case_name_, align 16, !tbaa !13
  %31 = sext i8 %30 to i32
  %32 = icmp ne i32 %31, 0
  %33 = zext i1 %32 to i64
  %34 = select i1 %32, i32 3, i32 2
  call void @acutest_line_indent_(i32 noundef %34)
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = call i64 @strlen(ptr noundef %36) #6
  %38 = sub i64 %37, 1
  %39 = getelementptr inbounds i8, ptr %35, i64 %38
  %40 = load i8, ptr %39, align 1, !tbaa !13
  %41 = sext i8 %40 to i32
  %42 = icmp eq i32 %41, 58
  %43 = zext i1 %42 to i64
  %44 = select i1 %42, ptr @.str.8, ptr @.str.9
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = call i32 (ptr, ...) @printf(ptr noundef %44, ptr noundef %45)
  store i64 0, ptr %7, align 8, !tbaa !9
  br label %47

47:                                               ; preds = %126, %29
  %48 = load i64, ptr %7, align 8, !tbaa !9
  %49 = load i64, ptr %6, align 8, !tbaa !9
  %50 = icmp ult i64 %48, %49
  br i1 %50, label %51, label %129

51:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %52 = load i64, ptr %7, align 8, !tbaa !9
  %53 = add i64 %52, 16
  store i64 %53, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %54 = load i8, ptr @acutest_case_name_, align 16, !tbaa !13
  %55 = sext i8 %54 to i32
  %56 = icmp ne i32 %55, 0
  %57 = zext i1 %56 to i64
  %58 = select i1 %56, i32 4, i32 3
  call void @acutest_line_indent_(i32 noundef %58)
  %59 = load i64, ptr %7, align 8, !tbaa !9
  %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i64 noundef %59)
  %61 = load i64, ptr %7, align 8, !tbaa !9
  store i64 %61, ptr %11, align 8, !tbaa !9
  br label %62

62:                                               ; preds = %80, %51
  %63 = load i64, ptr %11, align 8, !tbaa !9
  %64 = load i64, ptr %10, align 8, !tbaa !9
  %65 = icmp ult i64 %63, %64
  br i1 %65, label %66, label %83

66:                                               ; preds = %62
  %67 = load i64, ptr %11, align 8, !tbaa !9
  %68 = load i64, ptr %6, align 8, !tbaa !9
  %69 = icmp ult i64 %67, %68
  br i1 %69, label %70, label %77

70:                                               ; preds = %66
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = load i64, ptr %11, align 8, !tbaa !9
  %73 = getelementptr inbounds i8, ptr %71, i64 %72
  %74 = load i8, ptr %73, align 1, !tbaa !13
  %75 = zext i8 %74 to i32
  %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %75)
  br label %79

77:                                               ; preds = %66
  %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  br label %79

79:                                               ; preds = %77, %70
  br label %80

80:                                               ; preds = %79
  %81 = load i64, ptr %11, align 8, !tbaa !9
  %82 = add i64 %81, 1
  store i64 %82, ptr %11, align 8, !tbaa !9
  br label %62, !llvm.loop !14

83:                                               ; preds = %62
  %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %85 = load i64, ptr %7, align 8, !tbaa !9
  store i64 %85, ptr %11, align 8, !tbaa !9
  br label %86

86:                                               ; preds = %121, %83
  %87 = load i64, ptr %11, align 8, !tbaa !9
  %88 = load i64, ptr %10, align 8, !tbaa !9
  %89 = icmp ult i64 %87, %88
  br i1 %89, label %90, label %124

90:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = load i64, ptr %11, align 8, !tbaa !9
  %93 = getelementptr inbounds i8, ptr %91, i64 %92
  %94 = load i8, ptr %93, align 1, !tbaa !13
  store i8 %94, ptr %12, align 1, !tbaa !13
  %95 = load i64, ptr %11, align 8, !tbaa !9
  %96 = load i64, ptr %6, align 8, !tbaa !9
  %97 = icmp ult i64 %95, %96
  br i1 %97, label %98, label %116

98:                                               ; preds = %90
  %99 = call ptr @__ctype_b_loc() #7
  %100 = load ptr, ptr %99, align 8, !tbaa !5
  %101 = load i8, ptr %12, align 1, !tbaa !13
  %102 = zext i8 %101 to i32
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds i16, ptr %100, i64 %103
  %105 = load i16, ptr %104, align 2, !tbaa !16
  %106 = zext i16 %105 to i32
  %107 = and i32 %106, 2
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %109, label %110

109:                                              ; preds = %98
  br label %113

110:                                              ; preds = %98
  %111 = load i8, ptr %12, align 1, !tbaa !13
  %112 = zext i8 %111 to i32
  br label %113

113:                                              ; preds = %110, %109
  %114 = phi i32 [ 46, %109 ], [ %112, %110 ]
  %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %114)
  br label %117

116:                                              ; preds = %90
  store i32 8, ptr %9, align 4
  br label %118

117:                                              ; preds = %113
  store i32 0, ptr %9, align 4
  br label %118

118:                                              ; preds = %117, %116
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  %119 = load i32, ptr %9, align 4
  switch i32 %119, label %145 [
    i32 0, label %120
    i32 8, label %124
  ]

120:                                              ; preds = %118
  br label %121

121:                                              ; preds = %120
  %122 = load i64, ptr %11, align 8, !tbaa !9
  %123 = add i64 %122, 1
  store i64 %123, ptr %11, align 8, !tbaa !9
  br label %86, !llvm.loop !18

124:                                              ; preds = %118, %86
  %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %126

126:                                              ; preds = %124
  %127 = load i64, ptr %7, align 8, !tbaa !9
  %128 = add i64 %127, 16
  store i64 %128, ptr %7, align 8, !tbaa !9
  br label %47, !llvm.loop !19

129:                                              ; preds = %47
  %130 = load i64, ptr %8, align 8, !tbaa !9
  %131 = icmp ugt i64 %130, 0
  br i1 %131, label %132, label %141

132:                                              ; preds = %129
  %133 = load i8, ptr @acutest_case_name_, align 16, !tbaa !13
  %134 = sext i8 %133 to i32
  %135 = icmp ne i32 %134, 0
  %136 = zext i1 %135 to i64
  %137 = select i1 %135, i32 4, i32 3
  call void @acutest_line_indent_(i32 noundef %137)
  %138 = load i64, ptr %8, align 8, !tbaa !9
  %139 = trunc i64 %138 to i32
  %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %139)
  br label %141

141:                                              ; preds = %132, %129
  store i32 0, ptr %9, align 4
  br label %142

142:                                              ; preds = %141, %22, %15
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  %143 = load i32, ptr %9, align 4
  switch i32 %143, label %145 [
    i32 0, label %144
    i32 1, label %144
  ]

144:                                              ; preds = %142, %142
  ret void

145:                                              ; preds = %142, %118
  unreachable
}

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

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__ctype_b_loc() #4

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

!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 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !17, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}


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

@acutest_current_test_ = external hidden local_unnamed_addr global ptr, align 8
@acutest_verbose_level_ = external hidden local_unnamed_addr global i32, align 4
@acutest_case_name_ = external hidden local_unnamed_addr global [64 x i8], align 16
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@acutest_cond_failed_ = external hidden local_unnamed_addr global i32, align 4
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1

; Function Attrs: nounwind uwtable
declare hidden void @acutest_line_indent_(i32 noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local void @acutest_dump_(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 {
  %4 = load i32, ptr @acutest_verbose_level_, align 4, !tbaa !5
  %5 = icmp slt i32 %4, 2
  br i1 %5, label %._crit_edge52.thread, label %6

6:                                                ; preds = %3
  %7 = load ptr, ptr @acutest_current_test_, align 8, !tbaa !9
  %8 = icmp ne ptr %7, null
  %9 = load i32, ptr @acutest_cond_failed_, align 4
  %10 = icmp ne i32 %9, 0
  %or.cond = select i1 %8, i1 %10, i1 false
  br i1 %or.cond, label %11, label %._crit_edge52.thread

11:                                               ; preds = %6
  %spec.select = tail call i64 @llvm.usub.sat.i64(i64 %2, i64 1024)
  %spec.select42 = tail call i64 @llvm.umin.i64(i64 %2, i64 1024)
  %12 = load i8, ptr @acutest_case_name_, align 16, !tbaa !11
  %.not = icmp eq i8 %12, 0
  %13 = select i1 %.not, i32 2, i32 3
  tail call void @acutest_line_indent_(i32 noundef %13)
  %14 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #5
  %15 = getelementptr i8, ptr %0, i64 %14
  %16 = getelementptr i8, ptr %15, i64 -1
  %17 = load i8, ptr %16, align 1, !tbaa !11
  %18 = icmp eq i8 %17, 58
  %19 = select i1 %18, ptr @.str.8, ptr @.str.9
  %20 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %19, ptr noundef %0)
  %.not53 = icmp eq i64 %2, 0
  br i1 %.not53, label %._crit_edge52.thread, label %.lr.ph51

.lr.ph51:                                         ; preds = %11, %._crit_edge
  %.03249 = phi i64 [ %183, %._crit_edge ], [ 0, %11 ]
  %21 = load i8, ptr @acutest_case_name_, align 16, !tbaa !11
  %.not40 = icmp eq i8 %21, 0
  %22 = select i1 %.not40, i32 3, i32 4
  tail call void @acutest_line_indent_(i32 noundef %22)
  %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, i64 noundef %.03249)
  %24 = icmp ult i64 %.03249, %spec.select42
  br i1 %24, label %25, label %30

25:                                               ; preds = %.lr.ph51
  %26 = getelementptr inbounds i8, ptr %1, i64 %.03249
  %27 = load i8, ptr %26, align 1, !tbaa !11
  %28 = zext i8 %27 to i32
  %29 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %28)
  br label %32

30:                                               ; preds = %.lr.ph51
  %31 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %32

32:                                               ; preds = %25, %30
  %33 = or disjoint i64 %.03249, 1
  %34 = icmp ult i64 %33, %spec.select42
  br i1 %34, label %37, label %35

35:                                               ; preds = %32
  %36 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %42

37:                                               ; preds = %32
  %38 = getelementptr inbounds i8, ptr %1, i64 %33
  %39 = load i8, ptr %38, align 1, !tbaa !11
  %40 = zext i8 %39 to i32
  %41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %40)
  br label %42

42:                                               ; preds = %37, %35
  %43 = or disjoint i64 %.03249, 2
  %44 = icmp ult i64 %43, %spec.select42
  br i1 %44, label %47, label %45

45:                                               ; preds = %42
  %46 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %52

47:                                               ; preds = %42
  %48 = getelementptr inbounds i8, ptr %1, i64 %43
  %49 = load i8, ptr %48, align 1, !tbaa !11
  %50 = zext i8 %49 to i32
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %50)
  br label %52

52:                                               ; preds = %47, %45
  %53 = or disjoint i64 %.03249, 3
  %54 = icmp ult i64 %53, %spec.select42
  br i1 %54, label %57, label %55

55:                                               ; preds = %52
  %56 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %62

57:                                               ; preds = %52
  %58 = getelementptr inbounds i8, ptr %1, i64 %53
  %59 = load i8, ptr %58, align 1, !tbaa !11
  %60 = zext i8 %59 to i32
  %61 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %60)
  br label %62

62:                                               ; preds = %57, %55
  %63 = or disjoint i64 %.03249, 4
  %64 = icmp ult i64 %63, %spec.select42
  br i1 %64, label %67, label %65

65:                                               ; preds = %62
  %66 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %72

67:                                               ; preds = %62
  %68 = getelementptr inbounds i8, ptr %1, i64 %63
  %69 = load i8, ptr %68, align 1, !tbaa !11
  %70 = zext i8 %69 to i32
  %71 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %70)
  br label %72

72:                                               ; preds = %67, %65
  %73 = or disjoint i64 %.03249, 5
  %74 = icmp ult i64 %73, %spec.select42
  br i1 %74, label %77, label %75

75:                                               ; preds = %72
  %76 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %82

77:                                               ; preds = %72
  %78 = getelementptr inbounds i8, ptr %1, i64 %73
  %79 = load i8, ptr %78, align 1, !tbaa !11
  %80 = zext i8 %79 to i32
  %81 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %80)
  br label %82

82:                                               ; preds = %77, %75
  %83 = or disjoint i64 %.03249, 6
  %84 = icmp ult i64 %83, %spec.select42
  br i1 %84, label %87, label %85

85:                                               ; preds = %82
  %86 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %92

87:                                               ; preds = %82
  %88 = getelementptr inbounds i8, ptr %1, i64 %83
  %89 = load i8, ptr %88, align 1, !tbaa !11
  %90 = zext i8 %89 to i32
  %91 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %90)
  br label %92

92:                                               ; preds = %87, %85
  %93 = or disjoint i64 %.03249, 7
  %94 = icmp ult i64 %93, %spec.select42
  br i1 %94, label %97, label %95

95:                                               ; preds = %92
  %96 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %102

97:                                               ; preds = %92
  %98 = getelementptr inbounds i8, ptr %1, i64 %93
  %99 = load i8, ptr %98, align 1, !tbaa !11
  %100 = zext i8 %99 to i32
  %101 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %100)
  br label %102

102:                                              ; preds = %97, %95
  %103 = or disjoint i64 %.03249, 8
  %104 = icmp ult i64 %103, %spec.select42
  br i1 %104, label %107, label %105

105:                                              ; preds = %102
  %106 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %112

107:                                              ; preds = %102
  %108 = getelementptr inbounds i8, ptr %1, i64 %103
  %109 = load i8, ptr %108, align 1, !tbaa !11
  %110 = zext i8 %109 to i32
  %111 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %110)
  br label %112

112:                                              ; preds = %107, %105
  %113 = or disjoint i64 %.03249, 9
  %114 = icmp ult i64 %113, %spec.select42
  br i1 %114, label %117, label %115

115:                                              ; preds = %112
  %116 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %122

117:                                              ; preds = %112
  %118 = getelementptr inbounds i8, ptr %1, i64 %113
  %119 = load i8, ptr %118, align 1, !tbaa !11
  %120 = zext i8 %119 to i32
  %121 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %120)
  br label %122

122:                                              ; preds = %117, %115
  %123 = or disjoint i64 %.03249, 10
  %124 = icmp ult i64 %123, %spec.select42
  br i1 %124, label %127, label %125

125:                                              ; preds = %122
  %126 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %132

127:                                              ; preds = %122
  %128 = getelementptr inbounds i8, ptr %1, i64 %123
  %129 = load i8, ptr %128, align 1, !tbaa !11
  %130 = zext i8 %129 to i32
  %131 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %130)
  br label %132

132:                                              ; preds = %127, %125
  %133 = or disjoint i64 %.03249, 11
  %134 = icmp ult i64 %133, %spec.select42
  br i1 %134, label %137, label %135

135:                                              ; preds = %132
  %136 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %142

137:                                              ; preds = %132
  %138 = getelementptr inbounds i8, ptr %1, i64 %133
  %139 = load i8, ptr %138, align 1, !tbaa !11
  %140 = zext i8 %139 to i32
  %141 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %140)
  br label %142

142:                                              ; preds = %137, %135
  %143 = or disjoint i64 %.03249, 12
  %144 = icmp ult i64 %143, %spec.select42
  br i1 %144, label %147, label %145

145:                                              ; preds = %142
  %146 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %152

147:                                              ; preds = %142
  %148 = getelementptr inbounds i8, ptr %1, i64 %143
  %149 = load i8, ptr %148, align 1, !tbaa !11
  %150 = zext i8 %149 to i32
  %151 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %150)
  br label %152

152:                                              ; preds = %147, %145
  %153 = or disjoint i64 %.03249, 13
  %154 = icmp ult i64 %153, %spec.select42
  br i1 %154, label %157, label %155

155:                                              ; preds = %152
  %156 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %162

157:                                              ; preds = %152
  %158 = getelementptr inbounds i8, ptr %1, i64 %153
  %159 = load i8, ptr %158, align 1, !tbaa !11
  %160 = zext i8 %159 to i32
  %161 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %160)
  br label %162

162:                                              ; preds = %157, %155
  %163 = or disjoint i64 %.03249, 14
  %164 = icmp ult i64 %163, %spec.select42
  br i1 %164, label %167, label %165

165:                                              ; preds = %162
  %166 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %172

167:                                              ; preds = %162
  %168 = getelementptr inbounds i8, ptr %1, i64 %163
  %169 = load i8, ptr %168, align 1, !tbaa !11
  %170 = zext i8 %169 to i32
  %171 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %170)
  br label %172

172:                                              ; preds = %167, %165
  %173 = or disjoint i64 %.03249, 15
  %174 = icmp ult i64 %173, %spec.select42
  br i1 %174, label %177, label %175

175:                                              ; preds = %172
  %176 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %182

177:                                              ; preds = %172
  %178 = getelementptr inbounds i8, ptr %1, i64 %173
  %179 = load i8, ptr %178, align 1, !tbaa !11
  %180 = zext i8 %179 to i32
  %181 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %180)
  br label %182

182:                                              ; preds = %177, %175
  %183 = add nuw nsw i64 %.03249, 16
  %184 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %invariant.umin = tail call i64 @llvm.umin.i64(i64 %183, i64 %spec.select42)
  br i1 %24, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %182
  %185 = tail call ptr @__ctype_b_loc() #6
  br label %186

186:                                              ; preds = %.lr.ph, %186
  %.148 = phi i64 [ %.03249, %.lr.ph ], [ %197, %186 ]
  %187 = getelementptr inbounds i8, ptr %1, i64 %.148
  %188 = load i8, ptr %187, align 1, !tbaa !11
  %189 = load ptr, ptr %185, align 8, !tbaa !9
  %190 = zext i8 %188 to i32
  %191 = zext i8 %188 to i64
  %192 = getelementptr inbounds i16, ptr %189, i64 %191
  %193 = load i16, ptr %192, align 2, !tbaa !12
  %194 = and i16 %193, 2
  %.not41 = icmp eq i16 %194, 0
  %195 = select i1 %.not41, i32 %190, i32 46
  %196 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %195)
  %197 = add nuw nsw i64 %.148, 1
  %or.cond45 = icmp ult i64 %197, %invariant.umin
  br i1 %or.cond45, label %186, label %._crit_edge, !llvm.loop !14

._crit_edge:                                      ; preds = %186, %182
  %198 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %199 = icmp ult i64 %183, %spec.select42
  br i1 %199, label %.lr.ph51, label %._crit_edge52, !llvm.loop !16

._crit_edge52:                                    ; preds = %._crit_edge
  %.not38 = icmp ult i64 %2, 1025
  br i1 %.not38, label %._crit_edge52.thread, label %200

200:                                              ; preds = %._crit_edge52
  %201 = load i8, ptr @acutest_case_name_, align 16, !tbaa !11
  %.not39 = icmp eq i8 %201, 0
  %202 = select i1 %.not39, i32 3, i32 4
  tail call void @acutest_line_indent_(i32 noundef %202)
  %203 = trunc i64 %spec.select to i32
  %204 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef %203)
  br label %._crit_edge52.thread

._crit_edge52.thread:                             ; preds = %11, %._crit_edge52, %200, %6, %3
  ret void
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__ctype_b_loc() local_unnamed_addr #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.usub.sat.i64(i64, i64) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #4

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 = { 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 #2 = { mustprogress nofree nounwind willreturn memory(argmem: 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 #3 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind willreturn memory(read) }
attributes #6 = { nounwind willreturn memory(none) }

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


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