; LLVM IR from Robert-van-Engelen/lisp :: src (lisp-pr-single)

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

@ATOM = external dso_local global i32, align 4
@STRG = external dso_local global i32, align 4
@CONS = external dso_local global i32, align 4
@NIL = external dso_local global i32, align 4
@cell = external dso_local global [10240 x float], align 16
@buf = external dso_local global [256 x i8], align 16
@.str.20 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local float @box(i32 noundef, i32 noundef) #0

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @ord(float noundef) #0

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @push(float noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local float @pop() #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @alloc(i32 noundef) #0

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

; Function Attrs: nounwind uwtable
declare dso_local float @car(float noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local float @cdr(float noundef) #0

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

11:                                               ; preds = %69, %2
  %12 = load i32, ptr %7, align 4, !tbaa !11
  %13 = lshr i32 %12, 20
  %14 = load i32, ptr @NIL, align 4, !tbaa !11
  %15 = icmp ne i32 %13, %14
  br i1 %15, label %16, label %72

16:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %17 = load float, ptr %7, align 4, !tbaa !5
  %18 = call float @car(float noundef %17)
  store float %18, ptr %8, align 4, !tbaa !5
  %19 = load i32, ptr %8, align 4, !tbaa !11
  %20 = lshr i32 %19, 20
  %21 = load i32, ptr @ATOM, align 4, !tbaa !11
  %22 = load i32, ptr @STRG, align 4, !tbaa !11
  %23 = xor i32 %21, %22
  %24 = xor i32 %23, -1
  %25 = and i32 %20, %24
  %26 = load i32, ptr @ATOM, align 4, !tbaa !11
  %27 = icmp eq i32 %25, %26
  br i1 %27, label %28, label %38

28:                                               ; preds = %16
  %29 = load float, ptr %8, align 4, !tbaa !5
  %30 = call i32 @ord(float noundef %29)
  %31 = zext i32 %30 to i64
  %32 = getelementptr inbounds i8, ptr @cell, i64 %31
  %33 = call i64 @strlen(ptr noundef %32) #5
  %34 = load i32, ptr %5, align 4, !tbaa !11
  %35 = zext i32 %34 to i64
  %36 = add i64 %35, %33
  %37 = trunc i64 %36 to i32
  store i32 %37, ptr %5, align 4, !tbaa !11
  br label %68

38:                                               ; preds = %16
  %39 = load i32, ptr %8, align 4, !tbaa !11
  %40 = lshr i32 %39, 20
  %41 = load i32, ptr @CONS, align 4, !tbaa !11
  %42 = icmp eq i32 %40, %41
  br i1 %42, label %43, label %56

43:                                               ; preds = %38
  br label %44

44:                                               ; preds = %52, %43
  %45 = load i32, ptr %8, align 4, !tbaa !11
  %46 = lshr i32 %45, 20
  %47 = load i32, ptr @CONS, align 4, !tbaa !11
  %48 = icmp eq i32 %46, %47
  br i1 %48, label %49, label %55

49:                                               ; preds = %44
  %50 = load i32, ptr %5, align 4, !tbaa !11
  %51 = add i32 %50, 1
  store i32 %51, ptr %5, align 4, !tbaa !11
  br label %52

52:                                               ; preds = %49
  %53 = load float, ptr %8, align 4, !tbaa !5
  %54 = call float @cdr(float noundef %53)
  store float %54, ptr %8, align 4, !tbaa !5
  br label %44, !llvm.loop !13

55:                                               ; preds = %44
  br label %67

56:                                               ; preds = %38
  %57 = load float, ptr %8, align 4, !tbaa !5
  %58 = load float, ptr %8, align 4, !tbaa !5
  %59 = fcmp oeq float %57, %58
  br i1 %59, label %60, label %66

60:                                               ; preds = %56
  %61 = load float, ptr %8, align 4, !tbaa !5
  %62 = fpext float %61 to double
  %63 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buf, i64 noundef 256, ptr noundef @.str.20, double noundef %62) #4
  %64 = load i32, ptr %5, align 4, !tbaa !11
  %65 = add i32 %64, %63
  store i32 %65, ptr %5, align 4, !tbaa !11
  br label %66

66:                                               ; preds = %60, %56
  br label %67

67:                                               ; preds = %66, %55
  br label %68

68:                                               ; preds = %67, %28
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %69

69:                                               ; preds = %68
  %70 = load float, ptr %7, align 4, !tbaa !5
  %71 = call float @cdr(float noundef %70)
  store float %71, ptr %7, align 4, !tbaa !5
  br label %11, !llvm.loop !15

72:                                               ; preds = %11
  %73 = load float, ptr %3, align 4, !tbaa !5
  %74 = call ptr @push(float noundef %73)
  %75 = load i32, ptr %5, align 4, !tbaa !11
  %76 = call i32 @alloc(i32 noundef %75)
  store i32 %76, ptr %6, align 4, !tbaa !11
  store i32 %76, ptr %5, align 4, !tbaa !11
  %77 = call float @pop()
  %78 = load float, ptr %3, align 4, !tbaa !5
  store float %78, ptr %7, align 4, !tbaa !5
  br label %79

79:                                               ; preds = %149, %72
  %80 = load i32, ptr %7, align 4, !tbaa !11
  %81 = lshr i32 %80, 20
  %82 = load i32, ptr @NIL, align 4, !tbaa !11
  %83 = icmp ne i32 %81, %82
  br i1 %83, label %84, label %152

84:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %85 = load float, ptr %7, align 4, !tbaa !5
  %86 = call float @car(float noundef %85)
  store float %86, ptr %9, align 4, !tbaa !5
  %87 = load i32, ptr %9, align 4, !tbaa !11
  %88 = lshr i32 %87, 20
  %89 = load i32, ptr @ATOM, align 4, !tbaa !11
  %90 = load i32, ptr @STRG, align 4, !tbaa !11
  %91 = xor i32 %89, %90
  %92 = xor i32 %91, -1
  %93 = and i32 %88, %92
  %94 = load i32, ptr @ATOM, align 4, !tbaa !11
  %95 = icmp eq i32 %93, %94
  br i1 %95, label %96, label %110

96:                                               ; preds = %84
  %97 = load i32, ptr %5, align 4, !tbaa !11
  %98 = zext i32 %97 to i64
  %99 = getelementptr inbounds i8, ptr @cell, i64 %98
  %100 = load float, ptr %9, align 4, !tbaa !5
  %101 = call i32 @ord(float noundef %100)
  %102 = zext i32 %101 to i64
  %103 = getelementptr inbounds i8, ptr @cell, i64 %102
  %104 = call ptr @strcpy(ptr noundef %99, ptr noundef %103) #4
  %105 = call i64 @strlen(ptr noundef %104) #5
  %106 = load i32, ptr %5, align 4, !tbaa !11
  %107 = zext i32 %106 to i64
  %108 = add i64 %107, %105
  %109 = trunc i64 %108 to i32
  store i32 %109, ptr %5, align 4, !tbaa !11
  br label %148

110:                                              ; preds = %84
  %111 = load i32, ptr %9, align 4, !tbaa !11
  %112 = lshr i32 %111, 20
  %113 = load i32, ptr @CONS, align 4, !tbaa !11
  %114 = icmp eq i32 %112, %113
  br i1 %114, label %115, label %133

115:                                              ; preds = %110
  br label %116

116:                                              ; preds = %129, %115
  %117 = load i32, ptr %9, align 4, !tbaa !11
  %118 = lshr i32 %117, 20
  %119 = load i32, ptr @CONS, align 4, !tbaa !11
  %120 = icmp eq i32 %118, %119
  br i1 %120, label %121, label %132

121:                                              ; preds = %116
  %122 = load float, ptr %9, align 4, !tbaa !5
  %123 = call float @car(float noundef %122)
  %124 = fptosi float %123 to i8
  %125 = load i32, ptr %5, align 4, !tbaa !11
  %126 = add i32 %125, 1
  store i32 %126, ptr %5, align 4, !tbaa !11
  %127 = zext i32 %125 to i64
  %128 = getelementptr inbounds i8, ptr @cell, i64 %127
  store i8 %124, ptr %128, align 1, !tbaa !16
  br label %129

129:                                              ; preds = %121
  %130 = load float, ptr %9, align 4, !tbaa !5
  %131 = call float @cdr(float noundef %130)
  store float %131, ptr %9, align 4, !tbaa !5
  br label %116, !llvm.loop !17

132:                                              ; preds = %116
  br label %147

133:                                              ; preds = %110
  %134 = load float, ptr %9, align 4, !tbaa !5
  %135 = load float, ptr %9, align 4, !tbaa !5
  %136 = fcmp oeq float %134, %135
  br i1 %136, label %137, label %146

137:                                              ; preds = %133
  %138 = load i32, ptr %5, align 4, !tbaa !11
  %139 = zext i32 %138 to i64
  %140 = getelementptr inbounds i8, ptr @cell, i64 %139
  %141 = load float, ptr %9, align 4, !tbaa !5
  %142 = fpext float %141 to double
  %143 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %140, i64 noundef 256, ptr noundef @.str.20, double noundef %142) #4
  %144 = load i32, ptr %5, align 4, !tbaa !11
  %145 = add i32 %144, %143
  store i32 %145, ptr %5, align 4, !tbaa !11
  br label %146

146:                                              ; preds = %137, %133
  br label %147

147:                                              ; preds = %146, %132
  br label %148

148:                                              ; preds = %147, %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %149

149:                                              ; preds = %148
  %150 = load float, ptr %7, align 4, !tbaa !5
  %151 = call float @cdr(float noundef %150)
  store float %151, ptr %7, align 4, !tbaa !5
  br label %79, !llvm.loop !18

152:                                              ; preds = %79
  %153 = load i32, ptr %5, align 4, !tbaa !11
  %154 = zext i32 %153 to i64
  %155 = getelementptr inbounds i8, ptr @cell, i64 %154
  store i8 0, ptr %155, align 1, !tbaa !16
  %156 = load i32, ptr @STRG, align 4, !tbaa !11
  %157 = load i32, ptr %6, align 4, !tbaa !11
  %158 = call float @box(i32 noundef %156, i32 noundef %157)
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  ret float %158
}

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

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 = { 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 #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 }
attributes #5 = { 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 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}


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

@ATOM = external dso_local local_unnamed_addr global i32, align 4
@STRG = external dso_local local_unnamed_addr global i32, align 4
@CONS = external dso_local local_unnamed_addr global i32, align 4
@NIL = external dso_local local_unnamed_addr global i32, align 4
@cell = external dso_local global [10240 x float], align 16
@buf = external dso_local global [256 x i8], align 16
@.str.20 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local float @box(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @ord(float noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @push(float noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local float @pop() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @alloc(i32 noundef) local_unnamed_addr #0

; 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 #2

; Function Attrs: nounwind uwtable
declare dso_local float @car(float noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local float @cdr(float noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local float @f_string(float noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = bitcast float %0 to i32
  %4 = lshr i32 %3, 20
  %5 = load i32, ptr @NIL, align 4, !tbaa !5
  %.not45 = icmp eq i32 %4, %5
  br i1 %.not45, label %._crit_edge, label %.lr.ph48

.lr.ph48:                                         ; preds = %2, %.loopexit42
  %.03747 = phi float [ %37, %.loopexit42 ], [ %0, %2 ]
  %.03846 = phi i32 [ %.2, %.loopexit42 ], [ 0, %2 ]
  %6 = tail call float @car(float noundef %.03747)
  %7 = bitcast float %6 to i32
  %8 = lshr i32 %7, 20
  %9 = load i32, ptr @ATOM, align 4, !tbaa !5
  %10 = load i32, ptr @STRG, align 4, !tbaa !5
  %11 = xor i32 %9, %10
  %12 = xor i32 %11, -1
  %13 = and i32 %8, %12
  %14 = icmp eq i32 %13, %9
  br i1 %14, label %15, label %22

15:                                               ; preds = %.lr.ph48
  %16 = tail call i32 @ord(float noundef %6)
  %17 = zext i32 %16 to i64
  %18 = getelementptr inbounds i8, ptr @cell, i64 %17
  %19 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %18) #4
  %20 = trunc i64 %19 to i32
  %21 = add i32 %.03846, %20
  br label %.loopexit42

22:                                               ; preds = %.lr.ph48
  %23 = load i32, ptr @CONS, align 4, !tbaa !5
  %24 = icmp eq i32 %8, %23
  br i1 %24, label %.lr.ph, label %31

.lr.ph:                                           ; preds = %22, %.lr.ph
  %.03644 = phi float [ %26, %.lr.ph ], [ %6, %22 ]
  %.13943 = phi i32 [ %25, %.lr.ph ], [ %.03846, %22 ]
  %25 = add i32 %.13943, 1
  %26 = tail call float @cdr(float noundef %.03644)
  %27 = bitcast float %26 to i32
  %28 = lshr i32 %27, 20
  %29 = load i32, ptr @CONS, align 4, !tbaa !5
  %30 = icmp eq i32 %28, %29
  br i1 %30, label %.lr.ph, label %.loopexit42, !llvm.loop !9

31:                                               ; preds = %22
  %32 = fcmp ord float %6, 0.000000e+00
  br i1 %32, label %33, label %.loopexit42

33:                                               ; preds = %31
  %34 = fpext float %6 to double
  %35 = tail call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buf, i64 noundef 256, ptr noundef nonnull @.str.20, double noundef %34) #5
  %36 = add i32 %35, %.03846
  br label %.loopexit42

.loopexit42:                                      ; preds = %.lr.ph, %33, %31, %15
  %.2 = phi i32 [ %21, %15 ], [ %36, %33 ], [ %.03846, %31 ], [ %25, %.lr.ph ]
  %37 = tail call float @cdr(float noundef %.03747)
  %38 = bitcast float %37 to i32
  %39 = lshr i32 %38, 20
  %40 = load i32, ptr @NIL, align 4, !tbaa !5
  %.not = icmp eq i32 %39, %40
  br i1 %.not, label %._crit_edge, label %.lr.ph48, !llvm.loop !11

._crit_edge:                                      ; preds = %.loopexit42, %2
  %.038.lcssa = phi i32 [ 0, %2 ], [ %.2, %.loopexit42 ]
  %41 = tail call ptr @push(float noundef %0)
  %42 = tail call i32 @alloc(i32 noundef %.038.lcssa)
  %43 = tail call float @pop()
  %44 = load i32, ptr @NIL, align 4, !tbaa !5
  %.not4054 = icmp eq i32 %4, %44
  br i1 %.not4054, label %._crit_edge59, label %.lr.ph58

.lr.ph58:                                         ; preds = %._crit_edge, %.loopexit
  %.156 = phi float [ %85, %.loopexit ], [ %0, %._crit_edge ]
  %.355 = phi i32 [ %.5, %.loopexit ], [ %42, %._crit_edge ]
  %45 = tail call float @car(float noundef %.156)
  %46 = bitcast float %45 to i32
  %47 = lshr i32 %46, 20
  %48 = load i32, ptr @ATOM, align 4, !tbaa !5
  %49 = load i32, ptr @STRG, align 4, !tbaa !5
  %50 = xor i32 %48, %49
  %51 = xor i32 %50, -1
  %52 = and i32 %47, %51
  %53 = icmp eq i32 %52, %48
  br i1 %53, label %54, label %64

54:                                               ; preds = %.lr.ph58
  %55 = zext i32 %.355 to i64
  %56 = getelementptr inbounds i8, ptr @cell, i64 %55
  %57 = tail call i32 @ord(float noundef %45)
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds i8, ptr @cell, i64 %58
  %60 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %56, ptr noundef nonnull dereferenceable(1) %59) #5
  %61 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %56) #4
  %62 = trunc i64 %61 to i32
  %63 = add i32 %.355, %62
  br label %.loopexit

64:                                               ; preds = %.lr.ph58
  %65 = load i32, ptr @CONS, align 4, !tbaa !5
  %66 = icmp eq i32 %47, %65
  br i1 %66, label %.lr.ph52, label %77

.lr.ph52:                                         ; preds = %64, %.lr.ph52
  %.051 = phi float [ %72, %.lr.ph52 ], [ %45, %64 ]
  %.450 = phi i32 [ %69, %.lr.ph52 ], [ %.355, %64 ]
  %67 = tail call float @car(float noundef %.051)
  %68 = fptosi float %67 to i8
  %69 = add i32 %.450, 1
  %70 = zext i32 %.450 to i64
  %71 = getelementptr inbounds i8, ptr @cell, i64 %70
  store i8 %68, ptr %71, align 1, !tbaa !12
  %72 = tail call float @cdr(float noundef %.051)
  %73 = bitcast float %72 to i32
  %74 = lshr i32 %73, 20
  %75 = load i32, ptr @CONS, align 4, !tbaa !5
  %76 = icmp eq i32 %74, %75
  br i1 %76, label %.lr.ph52, label %.loopexit, !llvm.loop !13

77:                                               ; preds = %64
  %78 = fcmp ord float %45, 0.000000e+00
  br i1 %78, label %79, label %.loopexit

79:                                               ; preds = %77
  %80 = zext i32 %.355 to i64
  %81 = getelementptr inbounds i8, ptr @cell, i64 %80
  %82 = fpext float %45 to double
  %83 = tail call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %81, i64 noundef 256, ptr noundef nonnull @.str.20, double noundef %82) #5
  %84 = add i32 %83, %.355
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph52, %79, %77, %54
  %.5 = phi i32 [ %63, %54 ], [ %84, %79 ], [ %.355, %77 ], [ %69, %.lr.ph52 ]
  %85 = tail call float @cdr(float noundef %.156)
  %86 = bitcast float %85 to i32
  %87 = lshr i32 %86, 20
  %88 = load i32, ptr @NIL, align 4, !tbaa !5
  %.not40 = icmp eq i32 %87, %88
  br i1 %.not40, label %._crit_edge59, label %.lr.ph58, !llvm.loop !14

._crit_edge59:                                    ; preds = %.loopexit, %._crit_edge
  %.3.lcssa = phi i32 [ %42, %._crit_edge ], [ %.5, %.loopexit ]
  %89 = zext i32 %.3.lcssa to i64
  %90 = getelementptr inbounds i8, ptr @cell, i64 %89
  store i8 0, ptr %90, align 1, !tbaa !12
  %91 = load i32, ptr @STRG, align 4, !tbaa !5
  %92 = tail call float @box(i32 noundef %91, i32 noundef %42)
  ret float %92
}

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

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 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 #2 = { 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 #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 = { nounwind willreturn memory(read) }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass