; LLVM IR from jgaeddert/liquid-dsp :: src/fec/tests (fec_secded2216_autotest)

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

@.str = external hidden unnamed_addr constant [94 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@liquid_autotest_verbose = external global i32, align 4
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 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
declare i32 @rand() #1

declare i32 @fec_secded2216_encode_symbol(ptr noundef, ptr noundef) #2

declare i32 @fec_secded2216_decode_symbol(ptr noundef, ptr noundef) #2

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) #2

declare void @liquid_autotest_passed(...) #2

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

; 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 willreturn memory(none)
declare i64 @div(i32 noundef, i32 noundef) #4

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

11:                                               ; preds = %133, %0
  %12 = load i32, ptr %1, align 4, !tbaa !5
  %13 = icmp ult i32 %12, 21
  br i1 %13, label %14, label %136

14:                                               ; preds = %11
  %15 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %16 = icmp ne i32 %15, 0
  br i1 %16, label %17, label %20

17:                                               ; preds = %14
  %18 = load i32, ptr %1, align 4, !tbaa !5
  %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %18)
  br label %20

20:                                               ; preds = %17, %14
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %129, %20
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = load i32, ptr %1, align 4, !tbaa !5
  %24 = sub i32 22, %23
  %25 = sub i32 %24, 1
  %26 = icmp ult i32 %22, %25
  br i1 %26, label %27, label %132

27:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 2, ptr %3) #6
  %28 = call i32 @rand() #6
  %29 = and i32 %28, 65535
  %30 = trunc i32 %29 to i8
  %31 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
  store i8 %30, ptr %31, align 1, !tbaa !9
  %32 = call i32 @rand() #6
  %33 = and i32 %32, 65535
  %34 = trunc i32 %33 to i8
  %35 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 1
  store i8 %34, ptr %35, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 3, ptr %4) #6
  %36 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
  %37 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0
  %38 = call i32 @fec_secded2216_encode_symbol(ptr noundef %36, ptr noundef %37)
  call void @llvm.lifetime.start.p0(i64 3, ptr %5) #6
  call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 3, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %39 = load i32, ptr %1, align 4, !tbaa !5
  %40 = call i64 @div(i32 noundef %39, i32 noundef 8) #7
  store i64 %40, ptr %6, align 4
  %41 = getelementptr inbounds %struct.div_t, ptr %6, i32 0, i32 1
  %42 = load i32, ptr %41, align 4, !tbaa !10
  %43 = shl i32 1, %42
  %44 = getelementptr inbounds %struct.div_t, ptr %6, i32 0, i32 0
  %45 = load i32, ptr %44, align 4, !tbaa !12
  %46 = sub nsw i32 3, %45
  %47 = sub nsw i32 %46, 1
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 %48
  %50 = load i8, ptr %49, align 1, !tbaa !9
  %51 = zext i8 %50 to i32
  %52 = or i32 %51, %43
  %53 = trunc i32 %52 to i8
  store i8 %53, ptr %49, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %54 = load i32, ptr %2, align 4, !tbaa !5
  %55 = load i32, ptr %1, align 4, !tbaa !5
  %56 = add i32 %54, %55
  %57 = add i32 %56, 1
  %58 = call i64 @div(i32 noundef %57, i32 noundef 8) #7
  store i64 %58, ptr %7, align 4
  %59 = getelementptr inbounds %struct.div_t, ptr %7, i32 0, i32 1
  %60 = load i32, ptr %59, align 4, !tbaa !10
  %61 = shl i32 1, %60
  %62 = getelementptr inbounds %struct.div_t, ptr %7, i32 0, i32 0
  %63 = load i32, ptr %62, align 4, !tbaa !12
  %64 = sub nsw i32 3, %63
  %65 = sub nsw i32 %64, 1
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 %66
  %68 = load i8, ptr %67, align 1, !tbaa !9
  %69 = zext i8 %68 to i32
  %70 = or i32 %69, %61
  %71 = trunc i32 %70 to i8
  store i8 %71, ptr %67, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 3, ptr %8) #6
  %72 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0
  %73 = load i8, ptr %72, align 1, !tbaa !9
  %74 = zext i8 %73 to i32
  %75 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0
  %76 = load i8, ptr %75, align 1, !tbaa !9
  %77 = zext i8 %76 to i32
  %78 = xor i32 %74, %77
  %79 = trunc i32 %78 to i8
  %80 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
  store i8 %79, ptr %80, align 1, !tbaa !9
  %81 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 1
  %82 = load i8, ptr %81, align 1, !tbaa !9
  %83 = zext i8 %82 to i32
  %84 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 1
  %85 = load i8, ptr %84, align 1, !tbaa !9
  %86 = zext i8 %85 to i32
  %87 = xor i32 %83, %86
  %88 = trunc i32 %87 to i8
  %89 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1
  store i8 %88, ptr %89, align 1, !tbaa !9
  %90 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 2
  %91 = load i8, ptr %90, align 1, !tbaa !9
  %92 = zext i8 %91 to i32
  %93 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 2
  %94 = load i8, ptr %93, align 1, !tbaa !9
  %95 = zext i8 %94 to i32
  %96 = xor i32 %92, %95
  %97 = trunc i32 %96 to i8
  %98 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 2
  store i8 %97, ptr %98, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %99 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
  %100 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
  %101 = call i32 @fec_secded2216_decode_symbol(ptr noundef %99, ptr noundef %100)
  store i32 %101, ptr %10, align 4, !tbaa !5
  %102 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %104, label %121

104:                                              ; preds = %27
  %105 = load i32, ptr %2, align 4, !tbaa !5
  %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %105)
  %107 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0
  %108 = load i8, ptr %107, align 1, !tbaa !9
  %109 = zext i8 %108 to i32
  %110 = call i32 @liquid_print_bitstring(i32 noundef %109, i32 noundef 6)
  %111 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 1
  %112 = load i8, ptr %111, align 1, !tbaa !9
  %113 = zext i8 %112 to i32
  %114 = call i32 @liquid_print_bitstring(i32 noundef %113, i32 noundef 8)
  %115 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 2
  %116 = load i8, ptr %115, align 1, !tbaa !9
  %117 = zext i8 %116 to i32
  %118 = call i32 @liquid_print_bitstring(i32 noundef %117, i32 noundef 8)
  %119 = load i32, ptr %10, align 4, !tbaa !5
  %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %119)
  br label %121

121:                                              ; preds = %104, %27
  %122 = load i32, ptr %10, align 4, !tbaa !5
  %123 = icmp ne i32 %122, 2
  br i1 %123, label %124, label %127

124:                                              ; preds = %121
  %125 = load i32, ptr %10, align 4, !tbaa !5
  %126 = sitofp i32 %125 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 144, ptr noundef @.str.9, double noundef %126, ptr noundef @.str.2, ptr noundef @.str.10, double noundef 2.000000e+00)
  br label %128

127:                                              ; preds = %121
  call void (...) @liquid_autotest_passed()
  br label %128

128:                                              ; preds = %127, %124
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %3) #6
  br label %129

129:                                              ; preds = %128
  %130 = load i32, ptr %2, align 4, !tbaa !5
  %131 = add i32 %130, 1
  store i32 %131, ptr %2, align 4, !tbaa !5
  br label %21, !llvm.loop !13

132:                                              ; preds = %21
  br label %133

133:                                              ; preds = %132
  %134 = load i32, ptr %1, align 4, !tbaa !5
  %135 = add i32 %134, 1
  store i32 %135, ptr %1, align 4, !tbaa !5
  br label %11, !llvm.loop !15

136:                                              ; preds = %11
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret void
}

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

declare i32 @liquid_print_bitstring(i32 noundef, i32 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 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 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 #6 = { nounwind }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !6, i64 4}
!11 = !{!"", !6, i64 0, !6, i64 4}
!12 = !{!11, !6, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


; 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 [94 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 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: nounwind
declare i32 @rand() local_unnamed_addr #1

declare i32 @fec_secded2216_encode_symbol(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @fec_secded2216_decode_symbol(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #2

declare void @liquid_autotest_passed(...) local_unnamed_addr #2

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

; 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: mustprogress nofree nosync nounwind willreturn memory(none)
declare i64 @div(i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local void @autotest_secded2216_codec_e2() local_unnamed_addr #5 {
  %1 = alloca [2 x i8], align 1
  %2 = alloca [3 x i8], align 1
  %3 = alloca [3 x i8], align 1
  %4 = alloca [3 x i8], align 1
  %5 = alloca [2 x i8], align 1
  %6 = getelementptr inbounds i8, ptr %1, i64 1
  %7 = getelementptr inbounds i8, ptr %2, i64 1
  %8 = getelementptr inbounds i8, ptr %3, i64 1
  %9 = getelementptr inbounds i8, ptr %4, i64 1
  %10 = getelementptr inbounds i8, ptr %2, i64 2
  %11 = getelementptr inbounds i8, ptr %3, i64 2
  %12 = getelementptr inbounds i8, ptr %4, i64 2
  br label %13

13:                                               ; preds = %0, %._crit_edge
  %indvars.iv = phi i32 [ 21, %0 ], [ %indvars.iv.next, %._crit_edge ]
  %.021 = phi i32 [ 0, %0 ], [ %17, %._crit_edge ]
  %14 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not = icmp eq i32 %14, 0
  br i1 %.not, label %.lr.ph, label %15

15:                                               ; preds = %13
  %16 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %.021)
  br label %.lr.ph

.lr.ph:                                           ; preds = %13, %15
  %17 = add nuw nsw i32 %.021, 1
  br label %18

18:                                               ; preds = %.lr.ph, %65
  %.01520 = phi i32 [ 0, %.lr.ph ], [ %66, %65 ]
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %1) #7
  %19 = call i32 @rand() #7
  %20 = trunc i32 %19 to i8
  store i8 %20, ptr %1, align 1, !tbaa !9
  %21 = call i32 @rand() #7
  %22 = trunc i32 %21 to i8
  store i8 %22, ptr %6, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %2) #7
  %23 = call i32 @fec_secded2216_encode_symbol(ptr noundef nonnull %1, ptr noundef nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %3) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(3) %3, i8 0, i64 3, i1 false)
  %24 = call i64 @div(i32 noundef %.021, i32 noundef 8) #8
  %.sroa.44.0.extract.shift = lshr i64 %24, 32
  %.sroa.44.0.extract.trunc = trunc nuw i64 %.sroa.44.0.extract.shift to i32
  %25 = shl nuw i32 1, %.sroa.44.0.extract.trunc
  %26 = shl i64 %24, 32
  %sext = sub i64 8589934592, %26
  %27 = ashr exact i64 %sext, 32
  %28 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 %27
  %29 = load i8, ptr %28, align 1, !tbaa !9
  %30 = trunc i32 %25 to i8
  %31 = or i8 %29, %30
  store i8 %31, ptr %28, align 1, !tbaa !9
  %32 = add nuw nsw i32 %17, %.01520
  %33 = call i64 @div(i32 noundef %32, i32 noundef 8) #8
  %.sroa.4.0.extract.shift = lshr i64 %33, 32
  %.sroa.4.0.extract.trunc = trunc nuw i64 %.sroa.4.0.extract.shift to i32
  %34 = shl nuw i32 1, %.sroa.4.0.extract.trunc
  %35 = shl i64 %33, 32
  %sext17 = sub i64 8589934592, %35
  %36 = ashr exact i64 %sext17, 32
  %37 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 %36
  %38 = load i8, ptr %37, align 1, !tbaa !9
  %39 = trunc i32 %34 to i8
  %40 = or i8 %38, %39
  store i8 %40, ptr %37, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %4) #7
  %41 = load i8, ptr %2, align 1, !tbaa !9
  %42 = load i8, ptr %3, align 1, !tbaa !9
  %43 = xor i8 %42, %41
  store i8 %43, ptr %4, align 1, !tbaa !9
  %44 = load i8, ptr %7, align 1, !tbaa !9
  %45 = load i8, ptr %8, align 1, !tbaa !9
  %46 = xor i8 %45, %44
  store i8 %46, ptr %9, align 1, !tbaa !9
  %47 = load i8, ptr %10, align 1, !tbaa !9
  %48 = load i8, ptr %11, align 1, !tbaa !9
  %49 = xor i8 %48, %47
  store i8 %49, ptr %12, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #7
  %50 = call i32 @fec_secded2216_decode_symbol(ptr noundef nonnull %4, ptr noundef nonnull %5) #7
  %51 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not18 = icmp eq i32 %51, 0
  br i1 %.not18, label %61, label %52

52:                                               ; preds = %18
  %53 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %.01520)
  %54 = zext i8 %42 to i32
  %55 = call i32 @liquid_print_bitstring(i32 noundef %54, i32 noundef 6) #7
  %56 = zext i8 %45 to i32
  %57 = call i32 @liquid_print_bitstring(i32 noundef %56, i32 noundef 8) #7
  %58 = zext i8 %48 to i32
  %59 = call i32 @liquid_print_bitstring(i32 noundef %58, i32 noundef 8) #7
  %60 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %50)
  br label %61

61:                                               ; preds = %52, %18
  %.not19 = icmp eq i32 %50, 2
  br i1 %.not19, label %64, label %62

62:                                               ; preds = %61
  %63 = sitofp i32 %50 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 144, ptr noundef nonnull @.str.9, double noundef %63, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.10, double noundef 2.000000e+00) #7
  br label %65

64:                                               ; preds = %61
  call void (...) @liquid_autotest_passed() #7
  br label %65

65:                                               ; preds = %64, %62
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %1) #7
  %66 = add nuw nsw i32 %.01520, 1
  %exitcond.not = icmp eq i32 %66, %indvars.iv
  br i1 %exitcond.not, label %._crit_edge, label %18, !llvm.loop !10

._crit_edge:                                      ; preds = %65
  %indvars.iv.next = add nsw i32 %indvars.iv, -1
  %exitcond23.not = icmp eq i32 %17, 21
  br i1 %exitcond23.not, label %67, label %13, !llvm.loop !12

67:                                               ; preds = %._crit_edge
  ret void
}

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

declare i32 @liquid_print_bitstring(i32 noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 = { 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 #5 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { 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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass