; LLVM IR from holzschu/ios_system :: awk-23.30.1/src (maketab)

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

@.str.81 = external hidden unnamed_addr constant [1 x i8], align 1
@proc = external dso_local global [66 x %struct.xx], align 16
@.str.82 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [20 x i8], align 1
@names = external dso_local global [95 x ptr], align 16
@.str.85 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [2 x i8], align 1
@stderr = external global ptr, align 8
@.str.87 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [5 x i8], align 1
@table = external dso_local global [95 x ptr], align 16
@.str.93 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca [200 x i8], align 16
  %13 = alloca [200 x i8], align 16
  %14 = alloca [200 x i8], align 16
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 200, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 200, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 200, ptr %14) #7
  %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.82)
  %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.83)
  %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.84)
  store i32 95, ptr %7, align 4, !tbaa !5
  br label %18

18:                                               ; preds = %22, %2
  %19 = load i32, ptr %7, align 4, !tbaa !5
  %20 = add nsw i32 %19, -1
  store i32 %20, ptr %7, align 4, !tbaa !5
  %21 = icmp sge i32 %20, 0
  br i1 %21, label %22, label %26

22:                                               ; preds = %18
  %23 = load i32, ptr %7, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [95 x ptr], ptr @names, i64 0, i64 %24
  store ptr @.str.81, ptr %25, align 8, !tbaa !9
  br label %18, !llvm.loop !11

26:                                               ; preds = %18
  %27 = call noalias ptr @fopen(ptr noundef @.str.85, ptr noundef @.str.86)
  store ptr %27, ptr %11, align 8, !tbaa !9
  %28 = icmp eq ptr %27, null
  br i1 %28, label %29, label %32

29:                                               ; preds = %26
  %30 = load ptr, ptr @stderr, align 8, !tbaa !9
  %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.87) #7
  call void @exit(i32 noundef 1) #8
  unreachable

32:                                               ; preds = %26
  %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.88, i32 noundef 95)
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %34

34:                                               ; preds = %62, %61, %54, %32
  %35 = getelementptr inbounds [200 x i8], ptr %12, i64 0, i64 0
  %36 = load ptr, ptr %11, align 8, !tbaa !9
  %37 = call ptr @fgets(ptr noundef %35, i32 noundef 200, ptr noundef %36)
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %83

39:                                               ; preds = %34
  %40 = getelementptr inbounds [200 x i8], ptr %12, i64 0, i64 0
  %41 = getelementptr inbounds [200 x i8], ptr %14, i64 0, i64 0
  %42 = getelementptr inbounds [200 x i8], ptr %13, i64 0, i64 0
  %43 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %40, ptr noundef @.str.89, ptr noundef %10, ptr noundef %41, ptr noundef %42, ptr noundef %9) #7
  store i32 %43, ptr %8, align 4, !tbaa !5
  %44 = load i8, ptr %10, align 1, !tbaa !13
  %45 = sext i8 %44 to i32
  %46 = icmp ne i32 %45, 35
  br i1 %46, label %54, label %47

47:                                               ; preds = %39
  %48 = load i32, ptr %8, align 4, !tbaa !5
  %49 = icmp ne i32 %48, 4
  br i1 %49, label %50, label %55

50:                                               ; preds = %47
  %51 = getelementptr inbounds [200 x i8], ptr %14, i64 0, i64 0
  %52 = call i32 @strcmp(ptr noundef %51, ptr noundef @.str.90) #9
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %55

54:                                               ; preds = %50, %39
  br label %34, !llvm.loop !14

55:                                               ; preds = %50, %47
  %56 = load i32, ptr %9, align 4, !tbaa !5
  %57 = icmp slt i32 %56, 258
  br i1 %57, label %61, label %58

58:                                               ; preds = %55
  %59 = load i32, ptr %9, align 4, !tbaa !5
  %60 = icmp sgt i32 %59, 352
  br i1 %60, label %61, label %62

61:                                               ; preds = %58, %55
  br label %34, !llvm.loop !14

62:                                               ; preds = %58
  %63 = getelementptr inbounds [200 x i8], ptr %13, i64 0, i64 0
  %64 = call i64 @strlen(ptr noundef %63) #9
  %65 = add i64 %64, 1
  %66 = call noalias ptr @malloc(i64 noundef %65) #10
  %67 = load i32, ptr %9, align 4, !tbaa !5
  %68 = sub nsw i32 %67, 258
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [95 x ptr], ptr @names, i64 0, i64 %69
  store ptr %66, ptr %70, align 8, !tbaa !9
  %71 = load i32, ptr %9, align 4, !tbaa !5
  %72 = sub nsw i32 %71, 258
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [95 x ptr], ptr @names, i64 0, i64 %73
  %75 = load ptr, ptr %74, align 8, !tbaa !9
  %76 = getelementptr inbounds [200 x i8], ptr %13, i64 0, i64 0
  %77 = call ptr @strcpy(ptr noundef %75, ptr noundef %76) #7
  %78 = getelementptr inbounds [200 x i8], ptr %13, i64 0, i64 0
  %79 = load i32, ptr %9, align 4, !tbaa !5
  %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.91, ptr noundef %78, i32 noundef %79)
  %81 = load i32, ptr %7, align 4, !tbaa !5
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %7, align 4, !tbaa !5
  br label %34, !llvm.loop !14

83:                                               ; preds = %34
  %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.92)
  store ptr @proc, ptr %6, align 8, !tbaa !9
  br label %85

85:                                               ; preds = %100, %83
  %86 = load ptr, ptr %6, align 8, !tbaa !9
  %87 = getelementptr inbounds %struct.xx, ptr %86, i32 0, i32 0
  %88 = load i32, ptr %87, align 8, !tbaa !15
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %103

90:                                               ; preds = %85
  %91 = load ptr, ptr %6, align 8, !tbaa !9
  %92 = getelementptr inbounds %struct.xx, ptr %91, i32 0, i32 1
  %93 = load ptr, ptr %92, align 8, !tbaa !17
  %94 = load ptr, ptr %6, align 8, !tbaa !9
  %95 = getelementptr inbounds %struct.xx, ptr %94, i32 0, i32 0
  %96 = load i32, ptr %95, align 8, !tbaa !15
  %97 = sub nsw i32 %96, 258
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [95 x ptr], ptr @table, i64 0, i64 %98
  store ptr %93, ptr %99, align 8, !tbaa !9
  br label %100

100:                                              ; preds = %90
  %101 = load ptr, ptr %6, align 8, !tbaa !9
  %102 = getelementptr inbounds %struct.xx, ptr %101, i32 1
  store ptr %102, ptr %6, align 8, !tbaa !9
  br label %85, !llvm.loop !18

103:                                              ; preds = %85
  %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.93, i32 noundef 95)
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %105

105:                                              ; preds = %131, %103
  %106 = load i32, ptr %7, align 4, !tbaa !5
  %107 = icmp slt i32 %106, 95
  br i1 %107, label %108, label %134

108:                                              ; preds = %105
  %109 = load i32, ptr %7, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [95 x ptr], ptr @table, i64 0, i64 %110
  %112 = load ptr, ptr %111, align 8, !tbaa !9
  %113 = icmp eq ptr %112, null
  br i1 %113, label %114, label %120

114:                                              ; preds = %108
  %115 = load i32, ptr %7, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [95 x ptr], ptr @names, i64 0, i64 %116
  %118 = load ptr, ptr %117, align 8, !tbaa !9
  %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.94, ptr noundef %118)
  br label %130

120:                                              ; preds = %108
  %121 = load i32, ptr %7, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [95 x ptr], ptr @table, i64 0, i64 %122
  %124 = load ptr, ptr %123, align 8, !tbaa !9
  %125 = load i32, ptr %7, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [95 x ptr], ptr @names, i64 0, i64 %126
  %128 = load ptr, ptr %127, align 8, !tbaa !9
  %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.95, ptr noundef %124, ptr noundef %128)
  br label %130

130:                                              ; preds = %120, %114
  br label %131

131:                                              ; preds = %130
  %132 = load i32, ptr %7, align 4, !tbaa !5
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %7, align 4, !tbaa !5
  br label %105, !llvm.loop !19

134:                                              ; preds = %105
  %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.92)
  %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.96)
  %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.97)
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.98)
  %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.99)
  %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.100)
  %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.101)
  %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.102)
  %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.103)
  %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.104)
  call void @llvm.lifetime.end.p0(i64 200, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  ret i32 0
}

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

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

declare noalias ptr @fopen(ptr noundef, ptr noundef) #2

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #4

declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #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) #5

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #6

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

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

; 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 = { "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 "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 = { noreturn 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 #5 = { 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 #6 = { nounwind allocsize(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 #7 = { nounwind }
attributes #8 = { noreturn nounwind }
attributes #9 = { nounwind willreturn memory(read) }
attributes #10 = { nounwind allocsize(0) }

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !12}
!15 = !{!16, !6, i64 0}
!16 = !{!"xx", !6, i64 0, !10, i64 8, !10, i64 16}
!17 = !{!16, !10, i64 8}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}


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

@.str.81 = external hidden unnamed_addr constant [1 x i8], align 1
@proc = external dso_local local_unnamed_addr global [66 x %struct.xx], align 16
@.str.82 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [20 x i8], align 1
@names = external dso_local local_unnamed_addr global [95 x ptr], align 16
@.str.85 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [2 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.87 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [5 x i8], align 1
@table = external dso_local local_unnamed_addr global [95 x ptr], align 16
@.str.93 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca i32, align 4
  %4 = alloca i8, align 1
  %5 = alloca [200 x i8], align 16
  %6 = alloca [200 x i8], align 16
  %7 = alloca [200 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %7) #7
  %8 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.82)
  %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.83)
  %10 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.84)
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 752), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 744), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 736), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 728), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 720), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 712), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 704), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 696), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 688), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 680), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 672), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 664), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 656), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 648), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 640), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 632), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 624), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 616), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 608), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 600), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 592), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 584), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 576), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 568), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 560), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 552), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 544), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 536), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 528), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 520), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 512), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 504), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 496), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 488), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 480), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 472), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 464), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 456), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 448), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 440), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 432), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 424), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 416), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 408), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 400), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 392), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 384), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 376), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 368), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 360), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 352), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 344), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 336), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 328), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 320), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 312), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 304), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 296), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 288), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 280), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 272), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 264), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 256), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 248), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 240), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 232), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 224), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 216), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 208), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 200), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 192), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 184), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 176), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 168), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 160), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 152), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 144), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 136), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 128), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 120), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 112), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 104), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 96), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 88), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 80), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 72), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 64), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 56), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 48), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 40), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 32), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 24), align 8, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 16), align 16, !tbaa !5
  store ptr @.str.81, ptr getelementptr inbounds (i8, ptr @names, i64 8), align 8, !tbaa !5
  store ptr @.str.81, ptr @names, align 16, !tbaa !5
  %11 = tail call noalias ptr @fopen(ptr noundef nonnull @.str.85, ptr noundef nonnull @.str.86)
  %12 = icmp eq ptr %11, null
  br i1 %12, label %13, label %16

13:                                               ; preds = %2
  %14 = load ptr, ptr @stderr, align 8, !tbaa !5
  %15 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef nonnull @.str.87) #8
  tail call void @exit(i32 noundef 1) #9
  unreachable

16:                                               ; preds = %2
  %17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.88, i32 noundef 95)
  %18 = call ptr @fgets(ptr noundef nonnull %5, i32 noundef 200, ptr noundef nonnull %11)
  %.not2526 = icmp eq ptr %18, null
  br i1 %.not2526, label %.outer._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %16, %.lr.ph.backedge
  %19 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %5, ptr noundef nonnull @.str.89, ptr noundef nonnull %4, ptr noundef nonnull %7, ptr noundef nonnull %6, ptr noundef nonnull %3) #7
  %20 = load i8, ptr %4, align 1, !tbaa !9
  %.not21 = icmp eq i8 %20, 35
  br i1 %.not21, label %21, label %.backedge

21:                                               ; preds = %.lr.ph
  %.not22 = icmp eq i32 %19, 4
  br i1 %.not22, label %25, label %22

22:                                               ; preds = %21
  %23 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) @.str.90) #10
  %.not23 = icmp eq i32 %23, 0
  br i1 %.not23, label %25, label %.backedge

.backedge:                                        ; preds = %.lr.ph, %22, %25
  %24 = call ptr @fgets(ptr noundef nonnull %5, i32 noundef 200, ptr noundef nonnull %11)
  %.not = icmp eq ptr %24, null
  br i1 %.not, label %.outer._crit_edge, label %.lr.ph.backedge

.lr.ph.backedge:                                  ; preds = %.backedge, %.outer
  br label %.lr.ph, !llvm.loop !10

25:                                               ; preds = %22, %21
  %26 = load i32, ptr %3, align 4
  %27 = add i32 %26, -353
  %or.cond = icmp ult i32 %27, -95
  br i1 %or.cond, label %.backedge, label %.outer

.outer:                                           ; preds = %25
  %28 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %6) #10
  %29 = add i64 %28, 1
  %30 = call noalias ptr @malloc(i64 noundef %29) #11
  %31 = add nsw i32 %26, -258
  %32 = zext nneg i32 %31 to i64
  %33 = getelementptr inbounds [95 x ptr], ptr @names, i64 0, i64 %32
  store ptr %30, ptr %33, align 8, !tbaa !5
  %34 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) %6) #7
  %35 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.91, ptr noundef nonnull %6, i32 noundef %26)
  %36 = call ptr @fgets(ptr noundef nonnull %5, i32 noundef 200, ptr noundef nonnull %11)
  %.not25 = icmp eq ptr %36, null
  br i1 %.not25, label %.outer._crit_edge, label %.lr.ph.backedge

.outer._crit_edge:                                ; preds = %.outer, %.backedge, %16
  %37 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.92)
  %38 = load i32, ptr @proc, align 16, !tbaa !12
  %.not2028 = icmp eq i32 %38, 0
  br i1 %.not2028, label %._crit_edge32, label %.lr.ph31

.lr.ph31:                                         ; preds = %.outer._crit_edge, %.lr.ph31
  %39 = phi i32 [ %46, %.lr.ph31 ], [ %38, %.outer._crit_edge ]
  %.029 = phi ptr [ %45, %.lr.ph31 ], [ @proc, %.outer._crit_edge ]
  %40 = getelementptr inbounds i8, ptr %.029, i64 8
  %41 = load ptr, ptr %40, align 8, !tbaa !15
  %42 = add nsw i32 %39, -258
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [95 x ptr], ptr @table, i64 0, i64 %43
  store ptr %41, ptr %44, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %.029, i64 24
  %46 = load i32, ptr %45, align 8, !tbaa !12
  %.not20 = icmp eq i32 %46, 0
  br i1 %.not20, label %._crit_edge32, label %.lr.ph31, !llvm.loop !16

._crit_edge32:                                    ; preds = %.lr.ph31, %.outer._crit_edge
  %47 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.93, i32 noundef 95)
  br label %48

48:                                               ; preds = %._crit_edge32, %58
  %indvars.iv = phi i64 [ 0, %._crit_edge32 ], [ %indvars.iv.next, %58 ]
  %49 = getelementptr inbounds [95 x ptr], ptr @table, i64 0, i64 %indvars.iv
  %50 = load ptr, ptr %49, align 8, !tbaa !5
  %51 = icmp eq ptr %50, null
  %52 = getelementptr inbounds [95 x ptr], ptr @names, i64 0, i64 %indvars.iv
  %53 = load ptr, ptr %52, align 8, !tbaa !5
  br i1 %51, label %54, label %56

54:                                               ; preds = %48
  %55 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.94, ptr noundef %53)
  br label %58

56:                                               ; preds = %48
  %57 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.95, ptr noundef nonnull %50, ptr noundef %53)
  br label %58

58:                                               ; preds = %54, %56
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 95
  br i1 %exitcond.not, label %59, label %48, !llvm.loop !17

59:                                               ; preds = %58
  %60 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.92)
  %61 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.96)
  %62 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.97)
  %63 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.98)
  %64 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.99)
  %65 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.100)
  %66 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.101)
  %67 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.102)
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.103)
  %69 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.104)
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  ret i32 0
}

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

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

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #3

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

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

; 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 allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(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 #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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn 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 allockind("alloc,uninitialized") allocsize(0) 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { cold nounwind }
attributes #9 = { noreturn nounwind }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { nounwind allocsize(0) }

!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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !14, i64 0}
!13 = !{!"xx", !14, i64 0, !6, i64 8, !6, i64 16}
!14 = !{!"int", !7, i64 0}
!15 = !{!13, !6, i64 8}
!16 = distinct !{!16, !11}
!17 = distinct !{!17, !11}


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