; LLVM IR from mbheinen/bpa-ipf-tsp :: cflow (convtbl)

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

@_pow = external hidden global [16 x double], align 16
@tmpbuf = external hidden global [200 x i8], align 16
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.11 = 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare hidden void @conv_error(i32 noundef, i32 noundef) #1

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #2

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

; Function Attrs: nounwind uwtable
define dso_local ptr @f2a(float noundef %0, i32 noundef %1, i32 noundef %2) #1 {
  %4 = alloca float, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca [20 x i8], align 16
  %12 = alloca [2 x i8], align 1
  store float %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store double 0.000000e+00, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store double 0.000000e+00, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 20, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #6
  %13 = load float, ptr %4, align 4, !tbaa !5
  %14 = fpext float %13 to double
  %15 = call double @modf(double noundef %14, ptr noundef %7) #6
  %16 = fcmp oge double %15, 0.000000e+00
  br i1 %16, label %17, label %21

17:                                               ; preds = %3
  %18 = load float, ptr %4, align 4, !tbaa !5
  %19 = fpext float %18 to double
  %20 = call double @modf(double noundef %19, ptr noundef %7) #6
  br label %26

21:                                               ; preds = %3
  %22 = load float, ptr %4, align 4, !tbaa !5
  %23 = fpext float %22 to double
  %24 = call double @modf(double noundef %23, ptr noundef %7) #6
  %25 = fneg double %24
  br label %26

26:                                               ; preds = %21, %17
  %27 = phi double [ %20, %17 ], [ %25, %21 ]
  store double %27, ptr %8, align 8, !tbaa !11
  %28 = load float, ptr %4, align 4, !tbaa !5
  %29 = fcmp olt float %28, 0.000000e+00
  %30 = zext i1 %29 to i64
  %31 = select i1 %29, ptr @.str.2, ptr @.str.3
  %32 = load double, ptr %7, align 8, !tbaa !11
  %33 = fcmp oge double %32, 0.000000e+00
  br i1 %33, label %34, label %36

34:                                               ; preds = %26
  %35 = load double, ptr %7, align 8, !tbaa !11
  br label %39

36:                                               ; preds = %26
  %37 = load double, ptr %7, align 8, !tbaa !11
  %38 = fneg double %37
  br label %39

39:                                               ; preds = %36, %34
  %40 = phi double [ %35, %34 ], [ %38, %36 ]
  %41 = fptosi double %40 to i32
  %42 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef @tmpbuf, ptr noundef @.str.1, ptr noundef %31, i32 noundef %41) #6
  %43 = load float, ptr %4, align 4, !tbaa !5
  %44 = fcmp olt float %43, 0.000000e+00
  %45 = zext i1 %44 to i64
  %46 = select i1 %44, i32 1, i32 0
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [200 x i8], ptr @tmpbuf, i64 0, i64 %47
  %49 = load i8, ptr %48, align 1, !tbaa !13
  %50 = sext i8 %49 to i32
  %51 = icmp eq i32 %50, 48
  br i1 %51, label %52, label %59

52:                                               ; preds = %39
  %53 = load float, ptr %4, align 4, !tbaa !5
  %54 = fcmp olt float %53, 0.000000e+00
  %55 = zext i1 %54 to i64
  %56 = select i1 %54, i32 1, i32 0
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [200 x i8], ptr @tmpbuf, i64 0, i64 %57
  store i8 0, ptr %58, align 1, !tbaa !13
  br label %59

59:                                               ; preds = %52, %39
  %60 = getelementptr inbounds [2 x i8], ptr %12, i64 0, i64 0
  %61 = call i64 @strlen(ptr noundef @tmpbuf) #7
  %62 = load i32, ptr %5, align 4, !tbaa !9
  %63 = load i32, ptr %6, align 4, !tbaa !9
  %64 = sub nsw i32 %62, %63
  %65 = sext i32 %64 to i64
  %66 = icmp eq i64 %61, %65
  %67 = zext i1 %66 to i64
  %68 = select i1 %66, ptr @.str.3, ptr @.str.4
  %69 = call ptr @strcpy(ptr noundef %60, ptr noundef %68) #6
  %70 = getelementptr inbounds [2 x i8], ptr %12, i64 0, i64 0
  %71 = call ptr @strcat(ptr noundef @tmpbuf, ptr noundef %70) #6
  %72 = load i32, ptr %5, align 4, !tbaa !9
  %73 = sext i32 %72 to i64
  %74 = call i64 @strlen(ptr noundef @tmpbuf) #7
  %75 = sub i64 %73, %74
  %76 = trunc i64 %75 to i32
  store i32 %76, ptr %9, align 4, !tbaa !9
  %77 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0
  %78 = load i32, ptr %9, align 4, !tbaa !9
  %79 = load i32, ptr %9, align 4, !tbaa !9
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [16 x double], ptr @_pow, i64 0, i64 %80
  %82 = load double, ptr %81, align 8, !tbaa !11
  %83 = load double, ptr %8, align 8, !tbaa !11
  %84 = fptrunc double %83 to float
  %85 = fpext float %84 to double
  %86 = fmul double %82, %85
  %87 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %77, ptr noundef @.str.5, i32 noundef %78, double noundef %86) #6
  store i32 %87, ptr %10, align 4, !tbaa !9
  %88 = load i32, ptr %9, align 4, !tbaa !9
  %89 = load i32, ptr %10, align 4, !tbaa !9
  %90 = icmp slt i32 %88, %89
  br i1 %90, label %91, label %115

91:                                               ; preds = %59
  %92 = load i32, ptr %5, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [2 x i8], ptr %12, i64 0, i64 0
  %95 = call i64 @strlen(ptr noundef %94) #7
  %96 = sub i64 %93, %95
  %97 = load float, ptr %4, align 4, !tbaa !5
  %98 = fpext float %97 to double
  %99 = getelementptr inbounds [2 x i8], ptr %12, i64 0, i64 0
  %100 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef @tmpbuf, ptr noundef @.str.6, i64 noundef %96, double noundef %98, ptr noundef %99) #6
  %101 = load i32, ptr %5, align 4, !tbaa !9
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [200 x i8], ptr @tmpbuf, i64 0, i64 %102
  %104 = load i8, ptr %103, align 1, !tbaa !13
  %105 = sext i8 %104 to i32
  %106 = icmp eq i32 %105, 46
  br i1 %106, label %107, label %114

107:                                              ; preds = %91
  %108 = load i32, ptr %6, align 4, !tbaa !9
  %109 = icmp eq i32 %108, 0
  br i1 %109, label %110, label %114

110:                                              ; preds = %107
  %111 = load i32, ptr %5, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [200 x i8], ptr @tmpbuf, i64 0, i64 %112
  store i8 0, ptr %113, align 1, !tbaa !13
  br label %114

114:                                              ; preds = %110, %107, %91
  br label %130

115:                                              ; preds = %59
  %116 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0
  %117 = call i32 @atoi(ptr noundef %116) #7
  %118 = icmp eq i32 %117, 0
  br i1 %118, label %119, label %126

119:                                              ; preds = %115
  %120 = load double, ptr %7, align 8, !tbaa !11
  %121 = fptosi double %120 to i32
  %122 = icmp eq i32 %121, 0
  br i1 %122, label %123, label %126

123:                                              ; preds = %119
  %124 = load i32, ptr %5, align 4, !tbaa !9
  %125 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef @tmpbuf, ptr noundef @.str.7, i32 noundef %124, ptr noundef @.str.8) #6
  br label %129

126:                                              ; preds = %119, %115
  %127 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0
  %128 = call ptr @strcat(ptr noundef @tmpbuf, ptr noundef %127) #6
  br label %129

129:                                              ; preds = %126, %123
  br label %130

130:                                              ; preds = %129, %114
  %131 = call i64 @strlen(ptr noundef @tmpbuf) #7
  %132 = trunc i64 %131 to i32
  %133 = load i32, ptr %5, align 4, !tbaa !9
  %134 = icmp ne i32 %132, %133
  br i1 %134, label %135, label %146

135:                                              ; preds = %130
  %136 = load float, ptr %4, align 4, !tbaa !5
  %137 = fpext float %136 to double
  %138 = load i32, ptr %5, align 4, !tbaa !9
  %139 = load i32, ptr %6, align 4, !tbaa !9
  %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %137, i32 noundef %138, i32 noundef %139)
  %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  %142 = call i64 @strlen(ptr noundef @tmpbuf) #7
  %143 = trunc i64 %142 to i32
  call void @conv_error(i32 noundef %143, i32 noundef 2)
  %144 = load i32, ptr %5, align 4, !tbaa !9
  %145 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef @tmpbuf, ptr noundef @.str.7, i32 noundef %144, ptr noundef @.str.11) #6
  br label %146

146:                                              ; preds = %135, %130
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 20, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  ret ptr @tmpbuf
}

; Function Attrs: nounwind
declare double @modf(double noundef, ptr noundef) #2

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

; Function Attrs: nounwind
declare ptr @strcat(ptr noundef, ptr noundef) #2

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint nounwind willreturn memory(read) 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 #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 = !{!"float", !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 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!7, !7, i64 0}


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

@_pow = external hidden local_unnamed_addr global [16 x double], align 16
@tmpbuf = external hidden global [200 x i8], align 16
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.11 = 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare hidden void @conv_error(i32 noundef, i32 noundef) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef nonnull ptr @f2a(float noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #1 {
  %4 = alloca double, align 8
  %5 = alloca [20 x i8], align 16
  %6 = alloca [2 x i8], align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  store double 0.000000e+00, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #7
  %7 = fpext float %0 to double
  %8 = call double @modf(double noundef %7, ptr noundef nonnull %4) #7
  %9 = fcmp ult double %8, 0.000000e+00
  %10 = call double @modf(double noundef %7, ptr noundef nonnull %4) #7
  %11 = fneg double %10
  %12 = select i1 %9, double %11, double %10
  %13 = fcmp olt float %0, 0.000000e+00
  %14 = select i1 %13, ptr @.str.2, ptr @.str.3
  %15 = load double, ptr %4, align 8
  %16 = fcmp oge double %15, 0.000000e+00
  %17 = fneg double %15
  %18 = select i1 %16, double %15, double %17
  %19 = fptosi double %18 to i32
  %20 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) @tmpbuf, ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef nonnull %14, i32 noundef %19) #7
  %21 = zext i1 %13 to i64
  %22 = getelementptr inbounds [200 x i8], ptr @tmpbuf, i64 0, i64 %21
  %23 = load i8, ptr %22, align 1, !tbaa !9
  %24 = icmp eq i8 %23, 48
  br i1 %24, label %25, label %26

25:                                               ; preds = %3
  store i8 0, ptr %22, align 1, !tbaa !9
  br label %26

26:                                               ; preds = %25, %3
  %27 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) @tmpbuf) #8
  %28 = sub nsw i32 %1, %2
  %29 = sext i32 %28 to i64
  %30 = icmp eq i64 %27, %29
  %31 = select i1 %30, ptr @.str.3, ptr @.str.4
  %32 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) %31) #7
  %33 = call ptr @strcat(ptr noundef nonnull dereferenceable(1) @tmpbuf, ptr noundef nonnull dereferenceable(1) %6) #7
  %34 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) @tmpbuf) #8
  %35 = trunc i64 %34 to i32
  %36 = sub i32 %1, %35
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [16 x double], ptr @_pow, i64 0, i64 %37
  %39 = load double, ptr %38, align 8, !tbaa !5
  %40 = fptrunc double %12 to float
  %41 = fpext float %40 to double
  %42 = fmul double %39, %41
  %43 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %36, double noundef %42) #7
  %44 = icmp slt i32 %36, %43
  br i1 %44, label %45, label %55

45:                                               ; preds = %26
  %46 = sext i32 %1 to i64
  %47 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %6) #8
  %48 = sub i64 %46, %47
  %49 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) @tmpbuf, ptr noundef nonnull dereferenceable(1) @.str.6, i64 noundef %48, double noundef %7, ptr noundef nonnull %6) #7
  %50 = getelementptr inbounds [200 x i8], ptr @tmpbuf, i64 0, i64 %46
  %51 = load i8, ptr %50, align 1, !tbaa !9
  %52 = icmp eq i8 %51, 46
  %53 = icmp eq i32 %2, 0
  %or.cond = and i1 %53, %52
  br i1 %or.cond, label %54, label %64

54:                                               ; preds = %45
  store i8 0, ptr %50, align 1, !tbaa !9
  br label %64

55:                                               ; preds = %26
  %56 = call i32 @atoi(ptr nocapture noundef %5) #8
  %57 = icmp eq i32 %56, 0
  %58 = fptosi double %15 to i32
  %59 = icmp eq i32 %58, 0
  %or.cond26 = select i1 %57, i1 %59, i1 false
  br i1 %or.cond26, label %60, label %62

60:                                               ; preds = %55
  %61 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) @tmpbuf, ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %1, ptr noundef nonnull @.str.8) #7
  br label %64

62:                                               ; preds = %55
  %63 = call ptr @strcat(ptr noundef nonnull dereferenceable(1) @tmpbuf, ptr noundef nonnull dereferenceable(1) %5) #7
  br label %64

64:                                               ; preds = %60, %62, %45, %54
  %65 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) @tmpbuf) #8
  %66 = trunc i64 %65 to i32
  %.not = icmp eq i32 %66, %1
  br i1 %.not, label %73, label %67

67:                                               ; preds = %64
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, double noundef %7, i32 noundef %1, i32 noundef %2)
  %69 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  %70 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) @tmpbuf) #8
  %71 = trunc i64 %70 to i32
  call void @conv_error(i32 noundef %71, i32 noundef 2)
  %72 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) @tmpbuf, ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %1, ptr noundef nonnull @.str.11) #7
  br label %73

73:                                               ; preds = %67, %64
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  ret ptr @tmpbuf
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: write)
declare double @modf(double 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

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #6

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass