; LLVM IR from jingweizhanghuai/Morn :: src/util (morn_builder)

; 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 [37 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @PCRequires(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca [40 x i8], align 16
  %8 = alloca [32 x i8], align 16
  %9 = alloca [4 x i8], align 1
  %10 = alloca [6 x i32], align 16
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %7) #6
  %13 = load i32, ptr %5, align 4, !tbaa !9
  %14 = trunc i32 %13 to i8
  %15 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 0
  store i8 %14, ptr %15, align 16, !tbaa !11
  %16 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 1
  store i8 0, ptr %16, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.memset.p0.i64(ptr align 1 %9, i8 0, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #6
  call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %17, ptr %11, align 8, !tbaa !5
  br label %18

18:                                               ; preds = %23, %3
  %19 = load ptr, ptr %11, align 8, !tbaa !5
  %20 = load i8, ptr %19, align 1, !tbaa !11
  %21 = sext i8 %20 to i32
  %22 = icmp eq i32 %21, 32
  br i1 %22, label %23, label %26

23:                                               ; preds = %18
  %24 = load ptr, ptr %11, align 8, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %24, i32 1
  store ptr %25, ptr %11, align 8, !tbaa !5
  br label %18, !llvm.loop !12

26:                                               ; preds = %18
  br label %27

27:                                               ; preds = %172, %26
  %28 = load ptr, ptr %11, align 8, !tbaa !5
  %29 = load i8, ptr %28, align 1, !tbaa !11
  %30 = sext i8 %29 to i32
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %32, label %175

32:                                               ; preds = %27
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %33, i64 0
  %35 = load i8, ptr %34, align 1, !tbaa !11
  %36 = sext i8 %35 to i32
  %37 = icmp eq i32 %36, 32
  br i1 %37, label %38, label %172

38:                                               ; preds = %32
  %39 = load ptr, ptr %11, align 8, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %39, i64 1
  %41 = load i8, ptr %40, align 1, !tbaa !11
  %42 = sext i8 %41 to i32
  %43 = icmp ne i32 %42, 32
  br i1 %43, label %44, label %172

44:                                               ; preds = %38
  %45 = load ptr, ptr %11, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %45, i64 1
  %47 = load i8, ptr %46, align 1, !tbaa !11
  %48 = sext i8 %47 to i32
  %49 = icmp ne i32 %48, 62
  br i1 %49, label %50, label %172

50:                                               ; preds = %44
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %51, i64 1
  %53 = load i8, ptr %52, align 1, !tbaa !11
  %54 = sext i8 %53 to i32
  %55 = icmp ne i32 %54, 61
  br i1 %55, label %56, label %172

56:                                               ; preds = %50
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %57, i64 1
  %59 = load i8, ptr %58, align 1, !tbaa !11
  %60 = sext i8 %59 to i32
  %61 = icmp ne i32 %60, 60
  br i1 %61, label %62, label %172

62:                                               ; preds = %56
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %63, i64 1
  %65 = load i8, ptr %64, align 1, !tbaa !11
  %66 = sext i8 %65 to i32
  %67 = icmp sge i32 %66, 65
  br i1 %67, label %68, label %74

68:                                               ; preds = %62
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %69, i64 1
  %71 = load i8, ptr %70, align 1, !tbaa !11
  %72 = sext i8 %71 to i32
  %73 = icmp sle i32 %72, 122
  br i1 %73, label %86, label %74

74:                                               ; preds = %68, %62
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %75, i64 2
  %77 = load i8, ptr %76, align 1, !tbaa !11
  %78 = sext i8 %77 to i32
  %79 = icmp sge i32 %78, 65
  br i1 %79, label %80, label %172

80:                                               ; preds = %74
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = getelementptr inbounds i8, ptr %81, i64 2
  %83 = load i8, ptr %82, align 1, !tbaa !11
  %84 = sext i8 %83 to i32
  %85 = icmp sle i32 %84, 122
  br i1 %85, label %86, label %172

86:                                               ; preds = %80, %68
  %87 = load ptr, ptr %11, align 8, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %87, i64 0
  store i8 0, ptr %88, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
  %91 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0
  %92 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 0
  %93 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 0
  %94 = getelementptr inbounds i32, ptr %93, i64 1
  %95 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 0
  %96 = getelementptr inbounds i32, ptr %95, i64 2
  %97 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 0
  %98 = getelementptr inbounds i32, ptr %97, i64 3
  %99 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 0
  %100 = getelementptr inbounds i32, ptr %99, i64 4
  %101 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 0
  %102 = getelementptr inbounds i32, ptr %101, i64 5
  %103 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %89, ptr noundef @.str, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %94, ptr noundef %96, ptr noundef %98, ptr noundef %100, ptr noundef %102) #6
  store i32 %103, ptr %12, align 4, !tbaa !9
  %104 = load i32, ptr %12, align 4, !tbaa !9
  %105 = icmp sgt i32 %104, 1
  br i1 %105, label %106, label %131

106:                                              ; preds = %86
  %107 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0
  %108 = call i32 @strcmp(ptr noundef %107, ptr noundef @.str.1) #7
  %109 = icmp eq i32 %108, 0
  br i1 %109, label %110, label %112

110:                                              ; preds = %106
  %111 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 1
  store i8 1, ptr %111, align 1, !tbaa !11
  br label %112

112:                                              ; preds = %110, %106
  %113 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0
  %114 = call i32 @strcmp(ptr noundef %113, ptr noundef @.str.2) #7
  %115 = icmp eq i32 %114, 0
  br i1 %115, label %116, label %118

116:                                              ; preds = %112
  %117 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 1
  store i8 2, ptr %117, align 1, !tbaa !11
  br label %118

118:                                              ; preds = %116, %112
  %119 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0
  %120 = call i32 @strcmp(ptr noundef %119, ptr noundef @.str.3) #7
  %121 = icmp eq i32 %120, 0
  br i1 %121, label %122, label %124

122:                                              ; preds = %118
  %123 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 1
  store i8 3, ptr %123, align 1, !tbaa !11
  br label %124

124:                                              ; preds = %122, %118
  %125 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0
  %126 = call i32 @strcmp(ptr noundef %125, ptr noundef @.str.4) #7
  %127 = icmp eq i32 %126, 0
  br i1 %127, label %128, label %130

128:                                              ; preds = %124
  %129 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 1
  store i8 4, ptr %129, align 1, !tbaa !11
  br label %130

130:                                              ; preds = %128, %124
  br label %131

131:                                              ; preds = %130, %86
  %132 = load i32, ptr %12, align 4, !tbaa !9
  %133 = icmp sgt i32 %132, 2
  br i1 %133, label %134, label %159

134:                                              ; preds = %131
  %135 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 0
  %136 = load i32, ptr %135, align 16, !tbaa !9
  %137 = trunc i32 %136 to i8
  %138 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 2
  store i8 %137, ptr %138, align 2, !tbaa !11
  %139 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 1
  %140 = load i32, ptr %139, align 4, !tbaa !9
  %141 = trunc i32 %140 to i8
  %142 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 4
  store i8 %141, ptr %142, align 4, !tbaa !11
  %143 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 2
  %144 = load i32, ptr %143, align 8, !tbaa !9
  %145 = trunc i32 %144 to i8
  %146 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 5
  store i8 %145, ptr %146, align 1, !tbaa !11
  %147 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 3
  %148 = load i32, ptr %147, align 4, !tbaa !9
  %149 = trunc i32 %148 to i8
  %150 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 6
  store i8 %149, ptr %150, align 2, !tbaa !11
  %151 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 4
  %152 = load i32, ptr %151, align 16, !tbaa !9
  %153 = trunc i32 %152 to i8
  %154 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 7
  store i8 %153, ptr %154, align 1, !tbaa !11
  %155 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 5
  %156 = load i32, ptr %155, align 4, !tbaa !9
  %157 = trunc i32 %156 to i8
  %158 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 8
  store i8 %157, ptr %158, align 8, !tbaa !11
  br label %162

159:                                              ; preds = %131
  %160 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 0
  %161 = getelementptr inbounds i8, ptr %160, i64 2
  call void @llvm.memset.p0.i64(ptr align 1 %161, i8 0, i64 6, i1 false)
  br label %162

162:                                              ; preds = %159, %134
  %163 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 0
  %164 = getelementptr inbounds i8, ptr %163, i64 8
  %165 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
  %166 = call ptr @strcpy(ptr noundef %164, ptr noundef %165) #6
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 0
  %169 = call ptr @mListWrite(ptr noundef %167, i32 noundef -1, ptr noundef %168, i32 noundef 40)
  %170 = load ptr, ptr %11, align 8, !tbaa !5
  %171 = getelementptr inbounds i8, ptr %170, i64 1
  store ptr %171, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %172

172:                                              ; preds = %162, %80, %74, %56, %50, %44, %38, %32
  %173 = load ptr, ptr %11, align 8, !tbaa !5
  %174 = getelementptr inbounds i8, ptr %173, i64 1
  store ptr %174, ptr %11, align 8, !tbaa !5
  br label %27, !llvm.loop !14

175:                                              ; preds = %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #6
  ret void
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: nounwind
declare i32 @__isoc99_sscanf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #3

declare ptr @mListWrite(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #5

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #4 = { 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 #5 = { "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(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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}


; 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 [37 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @PCRequires(ptr nocapture noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = alloca [40 x i8], align 16
  %5 = alloca [32 x i8], align 16
  %6 = alloca [4 x i8], align 4
  %7 = alloca [6 x i32], align 16
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #7
  %8 = trunc i32 %1 to i8
  store i8 %8, ptr %4, align 16, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %4, i64 1
  store i8 0, ptr %9, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  store i32 0, ptr %6, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %7, i8 0, i64 24, i1 false)
  br label %10

10:                                               ; preds = %10, %3
  %.020 = phi ptr [ %0, %3 ], [ %13, %10 ]
  %11 = load i8, ptr %.020, align 1, !tbaa !5
  %12 = icmp eq i8 %11, 32
  %13 = getelementptr inbounds i8, ptr %.020, i64 1
  br i1 %12, label %10, label %.preheader, !llvm.loop !8

.preheader:                                       ; preds = %10
  %14 = getelementptr inbounds i8, ptr %7, i64 4
  %15 = getelementptr inbounds i8, ptr %7, i64 8
  %16 = getelementptr inbounds i8, ptr %7, i64 12
  %17 = getelementptr inbounds i8, ptr %7, i64 16
  %18 = getelementptr inbounds i8, ptr %7, i64 20
  %19 = getelementptr inbounds i8, ptr %4, i64 2
  %20 = getelementptr inbounds i8, ptr %4, i64 4
  %21 = getelementptr inbounds i8, ptr %4, i64 8
  br label %22

22:                                               ; preds = %.preheader, %63
  %23 = phi i8 [ %.pr, %63 ], [ %11, %.preheader ]
  %.121 = phi ptr [ %64, %63 ], [ %.020, %.preheader ]
  %.0 = phi ptr [ %.1, %63 ], [ %0, %.preheader ]
  switch i8 %23, label %63 [
    i8 0, label %65
    i8 32, label %24
  ]

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %.121, i64 1
  %26 = load i8, ptr %25, align 1, !tbaa !5
  switch i8 %26, label %27 [
    i8 32, label %63
    i8 62, label %63
    i8 61, label %63
    i8 60, label %63
  ]

27:                                               ; preds = %24
  %28 = add i8 %26, -65
  %or.cond = icmp ult i8 %28, 58
  br i1 %or.cond, label %33, label %29

29:                                               ; preds = %27
  %30 = getelementptr inbounds i8, ptr %.121, i64 2
  %31 = load i8, ptr %30, align 1, !tbaa !5
  %32 = add i8 %31, -65
  %or.cond29 = icmp ult i8 %32, 58
  br i1 %or.cond29, label %33, label %63

33:                                               ; preds = %29, %27
  store i8 0, ptr %.121, align 1, !tbaa !5
  %34 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %.0, ptr noundef nonnull @.str, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull %18) #7
  %35 = icmp sgt i32 %34, 1
  br i1 %35, label %36, label %.thread

36:                                               ; preds = %33
  %37 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.1) #8
  %38 = icmp eq i32 %37, 0
  br i1 %38, label %39, label %40

39:                                               ; preds = %36
  store i8 1, ptr %9, align 1, !tbaa !5
  br label %40

40:                                               ; preds = %39, %36
  %41 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.2) #8
  %42 = icmp eq i32 %41, 0
  br i1 %42, label %43, label %44

43:                                               ; preds = %40
  store i8 2, ptr %9, align 1, !tbaa !5
  br label %44

44:                                               ; preds = %43, %40
  %45 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.3) #8
  %46 = icmp eq i32 %45, 0
  br i1 %46, label %47, label %48

47:                                               ; preds = %44
  store i8 3, ptr %9, align 1, !tbaa !5
  br label %48

48:                                               ; preds = %47, %44
  %49 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.4) #8
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %52

51:                                               ; preds = %48
  store i8 4, ptr %9, align 1, !tbaa !5
  br label %52

52:                                               ; preds = %48, %51
  %.not = icmp eq i32 %34, 2
  br i1 %.not, label %.thread, label %53

53:                                               ; preds = %52
  %54 = load i32, ptr %7, align 16, !tbaa !10
  %55 = trunc i32 %54 to i8
  store i8 %55, ptr %19, align 2, !tbaa !5
  %56 = load <4 x i32>, ptr %14, align 4, !tbaa !10
  %57 = trunc <4 x i32> %56 to <4 x i8>
  store <4 x i8> %57, ptr %20, align 4, !tbaa !5
  %58 = load i32, ptr %18, align 4, !tbaa !10
  %59 = trunc i32 %58 to i8
  store i8 %59, ptr %21, align 8, !tbaa !5
  br label %60

.thread:                                          ; preds = %33, %52
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 2 dereferenceable(6) %19, i8 0, i64 6, i1 false)
  br label %60

60:                                               ; preds = %.thread, %53
  %61 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %21, ptr noundef nonnull dereferenceable(1) %5) #7
  %62 = call ptr @mListWrite(ptr noundef %2, i32 noundef -1, ptr noundef nonnull %4, i32 noundef 40) #7
  br label %63

63:                                               ; preds = %24, %24, %24, %24, %22, %60, %29
  %.1 = phi ptr [ %25, %60 ], [ %.0, %29 ], [ %.0, %24 ], [ %.0, %22 ], [ %.0, %24 ], [ %.0, %24 ], [ %.0, %24 ]
  %64 = getelementptr inbounds i8, ptr %.121, i64 1
  %.pr = load i8, ptr %64, align 1, !tbaa !5
  br label %22, !llvm.loop !12

65:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #7
  ret void
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #5

declare ptr @mListWrite(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #6

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #4 = { 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 #5 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 = { "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(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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !6, i64 0}
!12 = distinct !{!12, !9}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass