; LLVM IR from sysprog21/shecc :: src (ssa)

; 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.func_list_t = type { ptr, ptr }
%struct.bb_traversal_args_t = type { ptr, ptr, ptr, ptr }
%struct.func = type { %struct.var, [8 x %struct.var], i32, i32, i32, ptr, ptr, %struct.symbol_list_t, i32, i32, ptr }
%struct.var = type { [32 x i8], [32 x i8], i32, i8, i8, i32, i32, i32, i32, i32, ptr, i32, [64 x ptr], i32, %struct.rename_t, %struct.ref_block_list, ptr, ptr, ptr, i32, i8, i8, i8 }
%struct.rename_t = type { i32, [64 x i32], i32 }
%struct.ref_block_list = type { ptr, ptr }
%struct.symbol_list_t = type { ptr, ptr }
%struct.basic_block = type { %struct.insn_list_t, %struct.ph2_ir_list_t, [128 x %struct.bb_connection_t], ptr, ptr, ptr, ptr, ptr, ptr, ptr, [800 x ptr], i32, [800 x ptr], i32, [800 x ptr], i32, [800 x ptr], i32, i32, i32, [64 x ptr], [64 x ptr], i32, i32, i32, i8, [64 x ptr], ptr, [256 x ptr], ptr, ptr, ptr, %struct.symbol_list_t, i32 }
%struct.insn_list_t = type { ptr, ptr }
%struct.ph2_ir_list_t = type { ptr, ptr }
%struct.bb_connection_t = type { ptr, i32 }

@FUNC_LIST = external dso_local global %struct.func_list_t, align 8

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

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #1

; Function Attrs: nounwind
declare void @free(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
declare dso_local void @bb_forward_traversal(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @bb_add_killed_var(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @bb_reset_live_kill_idx(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @bb_solve_locals(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @recompute_live_out(ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @liveness_analysis() #3 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #4
  %8 = call noalias ptr @calloc(i64 noundef 1, i64 noundef 32) #5
  store ptr %8, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  %9 = load ptr, ptr @FUNC_LIST, align 8, !tbaa !9
  store ptr %9, ptr %2, align 8, !tbaa !5
  br label %10

10:                                               ; preds = %60, %0
  %11 = load ptr, ptr %2, align 8, !tbaa !5
  %12 = icmp ne ptr %11, null
  br i1 %12, label %14, label %13

13:                                               ; preds = %10
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #4
  br label %64

14:                                               ; preds = %10
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = load ptr, ptr %1, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.bb_traversal_args_t, ptr %16, i32 0, i32 0
  store ptr %15, ptr %17, align 8, !tbaa !11
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.func, ptr %18, i32 0, i32 5
  %20 = load ptr, ptr %19, align 8, !tbaa !13
  %21 = load ptr, ptr %1, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.bb_traversal_args_t, ptr %21, i32 0, i32 1
  store ptr %20, ptr %22, align 8, !tbaa !20
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.func, ptr %23, i32 0, i32 9
  %25 = load i32, ptr %24, align 4, !tbaa !21
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr %24, align 4, !tbaa !21
  %27 = load ptr, ptr %1, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.bb_traversal_args_t, ptr %27, i32 0, i32 2
  store ptr @bb_reset_live_kill_idx, ptr %28, align 8, !tbaa !22
  %29 = load ptr, ptr %1, align 8, !tbaa !5
  call void @bb_forward_traversal(ptr noundef %29)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !23
  br label %30

30:                                               ; preds = %49, %14
  %31 = load i32, ptr %4, align 4, !tbaa !23
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.func, ptr %32, i32 0, i32 2
  %34 = load i32, ptr %33, align 8, !tbaa !24
  %35 = icmp slt i32 %31, %34
  br i1 %35, label %37, label %36

36:                                               ; preds = %30
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %52

37:                                               ; preds = %30
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.func, ptr %38, i32 0, i32 5
  %40 = load ptr, ptr %39, align 8, !tbaa !13
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.func, ptr %41, i32 0, i32 1
  %43 = load i32, ptr %4, align 4, !tbaa !23
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [8 x %struct.var], ptr %42, i64 0, i64 %44
  %46 = getelementptr inbounds %struct.var, ptr %45, i32 0, i32 12
  %47 = getelementptr inbounds [64 x ptr], ptr %46, i64 0, i64 0
  %48 = load ptr, ptr %47, align 8, !tbaa !5
  call void @bb_add_killed_var(ptr noundef %40, ptr noundef %48)
  br label %49

49:                                               ; preds = %37
  %50 = load i32, ptr %4, align 4, !tbaa !23
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %4, align 4, !tbaa !23
  br label %30, !llvm.loop !25

52:                                               ; preds = %36
  %53 = load ptr, ptr %2, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.func, ptr %53, i32 0, i32 9
  %55 = load i32, ptr %54, align 4, !tbaa !21
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %54, align 4, !tbaa !21
  %57 = load ptr, ptr %1, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.bb_traversal_args_t, ptr %57, i32 0, i32 2
  store ptr @bb_solve_locals, ptr %58, align 8, !tbaa !22
  %59 = load ptr, ptr %1, align 8, !tbaa !5
  call void @bb_forward_traversal(ptr noundef %59)
  br label %60

60:                                               ; preds = %52
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.func, ptr %61, i32 0, i32 10
  %63 = load ptr, ptr %62, align 8, !tbaa !27
  store ptr %63, ptr %2, align 8, !tbaa !5
  br label %10, !llvm.loop !28

64:                                               ; preds = %13
  %65 = load ptr, ptr %1, align 8, !tbaa !5
  call void @free(ptr noundef %65) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %66 = load ptr, ptr @FUNC_LIST, align 8, !tbaa !9
  store ptr %66, ptr %5, align 8, !tbaa !5
  br label %67

67:                                               ; preds = %101, %64
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = icmp ne ptr %68, null
  br i1 %69, label %71, label %70

70:                                               ; preds = %67
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  br label %105

71:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.func, ptr %72, i32 0, i32 6
  %74 = load ptr, ptr %73, align 8, !tbaa !29
  store ptr %74, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  br label %75

75:                                               ; preds = %97, %71
  store i8 0, ptr %7, align 1, !tbaa !30
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.func, ptr %76, i32 0, i32 6
  %78 = load ptr, ptr %77, align 8, !tbaa !29
  store ptr %78, ptr %6, align 8, !tbaa !5
  br label %79

79:                                               ; preds = %92, %75
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = icmp ne ptr %80, null
  br i1 %81, label %82, label %96

82:                                               ; preds = %79
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = call zeroext i1 @recompute_live_out(ptr noundef %83)
  %85 = zext i1 %84 to i32
  %86 = load i8, ptr %7, align 1, !tbaa !30, !range !31, !noundef !32
  %87 = trunc i8 %86 to i1
  %88 = zext i1 %87 to i32
  %89 = or i32 %88, %85
  %90 = icmp ne i32 %89, 0
  %91 = zext i1 %90 to i8
  store i8 %91, ptr %7, align 1, !tbaa !30
  br label %92

92:                                               ; preds = %82
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.basic_block, ptr %93, i32 0, i32 9
  %95 = load ptr, ptr %94, align 8, !tbaa !33
  store ptr %95, ptr %6, align 8, !tbaa !5
  br label %79, !llvm.loop !35

96:                                               ; preds = %79
  br label %97

97:                                               ; preds = %96
  %98 = load i8, ptr %7, align 1, !tbaa !30, !range !31, !noundef !32
  %99 = trunc i8 %98 to i1
  br i1 %99, label %75, label %100, !llvm.loop !36

100:                                              ; preds = %97
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %101

101:                                              ; preds = %100
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.func, ptr %102, i32 0, i32 10
  %104 = load ptr, ptr %103, align 8, !tbaa !27
  store ptr %104, ptr %5, align 8, !tbaa !5
  br label %67, !llvm.loop !37

105:                                              ; preds = %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind allocsize(0,1) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "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 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 #4 = { nounwind }
attributes #5 = { nounwind allocsize(0,1) }

!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, !6, i64 0}
!10 = !{!"", !6, i64 0, !6, i64 8}
!11 = !{!12, !6, i64 0}
!12 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!13 = !{!14, !6, i64 8512}
!14 = !{!"func", !15, i64 0, !7, i64 944, !16, i64 8496, !16, i64 8500, !16, i64 8504, !6, i64 8512, !6, i64 8520, !10, i64 8528, !16, i64 8544, !16, i64 8548, !6, i64 8552}
!15 = !{!"var", !7, i64 0, !7, i64 32, !16, i64 64, !17, i64 68, !17, i64 69, !16, i64 72, !16, i64 76, !16, i64 80, !16, i64 84, !16, i64 88, !6, i64 96, !16, i64 104, !7, i64 112, !16, i64 624, !18, i64 628, !19, i64 896, !6, i64 912, !6, i64 920, !6, i64 928, !16, i64 936, !17, i64 940, !17, i64 941, !17, i64 942}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_Bool", !7, i64 0}
!18 = !{!"", !16, i64 0, !7, i64 4, !16, i64 260}
!19 = !{!"ref_block_list", !6, i64 0, !6, i64 8}
!20 = !{!12, !6, i64 8}
!21 = !{!14, !16, i64 8548}
!22 = !{!12, !6, i64 16}
!23 = !{!16, !16, i64 0}
!24 = !{!14, !16, i64 8496}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!14, !6, i64 8552}
!28 = distinct !{!28, !26}
!29 = !{!14, !6, i64 8520}
!30 = !{!17, !17, i64 0}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!34, !6, i64 2128}
!34 = !{!"basic_block", !10, i64 0, !10, i64 16, !7, i64 32, !6, i64 2080, !6, i64 2088, !6, i64 2096, !6, i64 2104, !6, i64 2112, !6, i64 2120, !6, i64 2128, !7, i64 2136, !16, i64 8536, !7, i64 8544, !16, i64 14944, !7, i64 14952, !16, i64 21352, !7, i64 21360, !16, i64 27760, !16, i64 27764, !16, i64 27768, !7, i64 27776, !7, i64 28288, !16, i64 28800, !16, i64 28804, !16, i64 28808, !17, i64 28812, !7, i64 28816, !6, i64 29328, !7, i64 29336, !6, i64 31384, !6, i64 31392, !6, i64 31400, !10, i64 31408, !16, i64 31424}
!35 = distinct !{!35, !26}
!36 = distinct !{!36, !26}
!37 = distinct !{!37, !26}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.func_list_t = type { ptr, ptr }
%struct.var = type { [32 x i8], [32 x i8], i32, i8, i8, i32, i32, i32, i32, i32, ptr, i32, [64 x ptr], i32, %struct.rename_t, %struct.ref_block_list, ptr, ptr, ptr, i32, i8, i8, i8 }
%struct.rename_t = type { i32, [64 x i32], i32 }
%struct.ref_block_list = type { ptr, ptr }

@FUNC_LIST = external dso_local local_unnamed_addr global %struct.func_list_t, align 8

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare dso_local void @bb_forward_traversal(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @bb_add_killed_var(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @bb_reset_live_kill_idx(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @bb_solve_locals(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @recompute_live_out(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @liveness_analysis() local_unnamed_addr #2 {
  %1 = tail call noalias dereferenceable_or_null(32) ptr @calloc(i64 noundef 1, i64 noundef 32) #3
  %.03034 = load ptr, ptr @FUNC_LIST, align 8, !tbaa !5
  %.not35 = icmp eq ptr %.03034, null
  br i1 %.not35, label %._crit_edge39.thread, label %.lr.ph38

._crit_edge39.thread:                             ; preds = %0
  tail call void @free(ptr noundef %1) #4
  br label %._crit_edge54

.lr.ph38:                                         ; preds = %0
  %2 = getelementptr inbounds i8, ptr %1, i64 8
  %3 = getelementptr inbounds i8, ptr %1, i64 16
  br label %4

._crit_edge39:                                    ; preds = %._crit_edge
  %.02849.pre = load ptr, ptr @FUNC_LIST, align 8, !tbaa !5
  tail call void @free(ptr noundef nonnull %1) #4
  %.not3150 = icmp eq ptr %.02849.pre, null
  br i1 %.not3150, label %._crit_edge54, label %.lr.ph53

4:                                                ; preds = %.lr.ph38, %._crit_edge
  %.03036 = phi ptr [ %.03034, %.lr.ph38 ], [ %.030, %._crit_edge ]
  store ptr %.03036, ptr %1, align 8, !tbaa !9
  %5 = getelementptr inbounds i8, ptr %.03036, i64 8512
  %6 = load ptr, ptr %5, align 8, !tbaa !11
  store ptr %6, ptr %2, align 8, !tbaa !19
  %7 = getelementptr inbounds i8, ptr %.03036, i64 8548
  %8 = load i32, ptr %7, align 4, !tbaa !20
  %9 = add nsw i32 %8, 1
  store i32 %9, ptr %7, align 4, !tbaa !20
  store ptr @bb_reset_live_kill_idx, ptr %3, align 8, !tbaa !21
  tail call void @bb_forward_traversal(ptr noundef nonnull %1)
  %10 = getelementptr inbounds i8, ptr %.03036, i64 8496
  %11 = load i32, ptr %10, align 8, !tbaa !22
  %12 = icmp sgt i32 %11, 0
  br i1 %12, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %4
  %13 = getelementptr inbounds i8, ptr %.03036, i64 944
  br label %17

._crit_edge:                                      ; preds = %17, %4
  %14 = load i32, ptr %7, align 4, !tbaa !20
  %15 = add nsw i32 %14, 1
  store i32 %15, ptr %7, align 4, !tbaa !20
  store ptr @bb_solve_locals, ptr %3, align 8, !tbaa !21
  tail call void @bb_forward_traversal(ptr noundef nonnull %1)
  %16 = getelementptr inbounds i8, ptr %.03036, i64 8552
  %.030 = load ptr, ptr %16, align 8, !tbaa !5
  %.not = icmp eq ptr %.030, null
  br i1 %.not, label %._crit_edge39, label %4, !llvm.loop !23

17:                                               ; preds = %.lr.ph, %17
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %17 ]
  %18 = load ptr, ptr %5, align 8, !tbaa !11
  %19 = getelementptr inbounds [8 x %struct.var], ptr %13, i64 0, i64 %indvars.iv, i32 12
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  tail call void @bb_add_killed_var(ptr noundef %18, ptr noundef %20)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %21 = load i32, ptr %10, align 8, !tbaa !22
  %22 = sext i32 %21 to i64
  %23 = icmp slt i64 %indvars.iv.next, %22
  br i1 %23, label %17, label %._crit_edge, !llvm.loop !25

._crit_edge54:                                    ; preds = %.split48.us, %._crit_edge39.thread, %._crit_edge39
  ret void

.lr.ph53:                                         ; preds = %._crit_edge39, %.split48.us
  %.02851 = phi ptr [ %.028, %.split48.us ], [ %.02849.pre, %._crit_edge39 ]
  %24 = getelementptr inbounds i8, ptr %.02851, i64 8520
  %25 = load ptr, ptr %24, align 8, !tbaa !5
  %26 = icmp eq ptr %25, null
  br i1 %26, label %.split48.us, label %.lr.ph45

.splitthread-pre-split:                           ; preds = %._crit_edge46
  %.02740.pr = load ptr, ptr %24, align 8, !tbaa !5
  %.not3241 = icmp eq ptr %.02740.pr, null
  br i1 %.not3241, label %.split48.us, label %.lr.ph45.backedge

.lr.ph45:                                         ; preds = %.lr.ph53, %.lr.ph45.backedge
  %.02743 = phi ptr [ %.02743.be, %.lr.ph45.backedge ], [ %25, %.lr.ph53 ]
  %.042 = phi i1 [ %.042.be, %.lr.ph45.backedge ], [ false, %.lr.ph53 ]
  %27 = tail call zeroext i1 @recompute_live_out(ptr noundef nonnull %.02743)
  %28 = or i1 %.042, %27
  %29 = getelementptr inbounds i8, ptr %.02743, i64 2128
  %.027 = load ptr, ptr %29, align 8, !tbaa !5
  %.not32 = icmp eq ptr %.027, null
  br i1 %.not32, label %._crit_edge46, label %.lr.ph45.backedge

.lr.ph45.backedge:                                ; preds = %.lr.ph45, %.splitthread-pre-split
  %.02743.be = phi ptr [ %.027, %.lr.ph45 ], [ %.02740.pr, %.splitthread-pre-split ]
  %.042.be = phi i1 [ %28, %.lr.ph45 ], [ false, %.splitthread-pre-split ]
  br label %.lr.ph45, !llvm.loop !26

._crit_edge46:                                    ; preds = %.lr.ph45
  br i1 %28, label %.splitthread-pre-split, label %.split48.us, !llvm.loop !27

.split48.us:                                      ; preds = %.splitthread-pre-split, %._crit_edge46, %.lr.ph53
  %30 = getelementptr inbounds i8, ptr %.02851, i64 8552
  %.028 = load ptr, ptr %30, align 8, !tbaa !5
  %.not31 = icmp eq ptr %.028, null
  br i1 %.not31, label %._crit_edge54, label %.lr.ph53, !llvm.loop !29
}

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) 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 #1 = { 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 #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind allocsize(0,1) }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!11 = !{!12, !6, i64 8512}
!12 = !{!"func", !13, i64 0, !7, i64 944, !14, i64 8496, !14, i64 8500, !14, i64 8504, !6, i64 8512, !6, i64 8520, !18, i64 8528, !14, i64 8544, !14, i64 8548, !6, i64 8552}
!13 = !{!"var", !7, i64 0, !7, i64 32, !14, i64 64, !15, i64 68, !15, i64 69, !14, i64 72, !14, i64 76, !14, i64 80, !14, i64 84, !14, i64 88, !6, i64 96, !14, i64 104, !7, i64 112, !14, i64 624, !16, i64 628, !17, i64 896, !6, i64 912, !6, i64 920, !6, i64 928, !14, i64 936, !15, i64 940, !15, i64 941, !15, i64 942}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !14, i64 0, !7, i64 4, !14, i64 260}
!17 = !{!"ref_block_list", !6, i64 0, !6, i64 8}
!18 = !{!"", !6, i64 0, !6, i64 8}
!19 = !{!10, !6, i64 8}
!20 = !{!12, !14, i64 8548}
!21 = !{!10, !6, i64 16}
!22 = !{!12, !14, i64 8496}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = distinct !{!26, !24}
!27 = distinct !{!27, !24, !28}
!28 = !{!"llvm.loop.unswitch.partial.disable"}
!29 = distinct !{!29, !24}


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