; LLVM IR from mtsamis/box2d-optimized :: testbed/settings.ll (ZN8Settings4SaveEv)

; 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.Settings = type <{ i32, i32, i32, float, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, [3 x i8] }>

@_ZL8fileName = external hidden global ptr, align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Settings4SaveEv(ptr noundef nonnull align 4 dereferenceable(45) %0) #0 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %4 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %5 = load ptr, ptr @_ZL8fileName, align 8, !tbaa !5
  %6 = call noalias ptr @fopen(ptr noundef %5, ptr noundef @.str)
  store ptr %6, ptr %3, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8, !tbaa !5
  %8 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef @.str.1) #4
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 0
  %11 = load i32, ptr %10, align 4, !tbaa !9
  %12 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef @.str.2, i32 noundef %11) #4
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 1
  %15 = load i32, ptr %14, align 4, !tbaa !14
  %16 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str.3, i32 noundef %15) #4
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 2
  %19 = load i32, ptr %18, align 4, !tbaa !15
  %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.4, i32 noundef %19) #4
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 3
  %23 = load float, ptr %22, align 4, !tbaa !16
  %24 = fpext float %23 to double
  %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @.str.5, double noundef %24) #4
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 4
  %28 = load i32, ptr %27, align 4, !tbaa !17
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.6, i32 noundef %28) #4
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 5
  %32 = load i32, ptr %31, align 4, !tbaa !18
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.7, i32 noundef %32) #4
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 7
  %36 = load i8, ptr %35, align 4, !tbaa !19, !range !20, !noundef !21
  %37 = trunc i8 %36 to i1
  %38 = zext i1 %37 to i64
  %39 = select i1 %37, ptr @.str.9, ptr @.str.10
  %40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.8, ptr noundef %39) #4
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 8
  %43 = load i8, ptr %42, align 1, !tbaa !22, !range !20, !noundef !21
  %44 = trunc i8 %43 to i1
  %45 = zext i1 %44 to i64
  %46 = select i1 %44, ptr @.str.9, ptr @.str.10
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.11, ptr noundef %46) #4
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 10
  %50 = load i8, ptr %49, align 1, !tbaa !23, !range !20, !noundef !21
  %51 = trunc i8 %50 to i1
  %52 = zext i1 %51 to i64
  %53 = select i1 %51, ptr @.str.9, ptr @.str.10
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.12, ptr noundef %53) #4
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 11
  %57 = load i8, ptr %56, align 4, !tbaa !24, !range !20, !noundef !21
  %58 = trunc i8 %57 to i1
  %59 = zext i1 %58 to i64
  %60 = select i1 %58, ptr @.str.9, ptr @.str.10
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str.13, ptr noundef %60) #4
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 12
  %64 = load i8, ptr %63, align 1, !tbaa !25, !range !20, !noundef !21
  %65 = trunc i8 %64 to i1
  %66 = zext i1 %65 to i64
  %67 = select i1 %65, ptr @.str.9, ptr @.str.10
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.14, ptr noundef %67) #4
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 13
  %71 = load i8, ptr %70, align 2, !tbaa !26, !range !20, !noundef !21
  %72 = trunc i8 %71 to i1
  %73 = zext i1 %72 to i64
  %74 = select i1 %72, ptr @.str.9, ptr @.str.10
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.15, ptr noundef %74) #4
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 14
  %78 = load i8, ptr %77, align 1, !tbaa !27, !range !20, !noundef !21
  %79 = trunc i8 %78 to i1
  %80 = zext i1 %79 to i64
  %81 = select i1 %79, ptr @.str.9, ptr @.str.10
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str.16, ptr noundef %81) #4
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 15
  %85 = load i8, ptr %84, align 4, !tbaa !28, !range !20, !noundef !21
  %86 = trunc i8 %85 to i1
  %87 = zext i1 %86 to i64
  %88 = select i1 %86, ptr @.str.9, ptr @.str.10
  %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.17, ptr noundef %88) #4
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 16
  %92 = load i8, ptr %91, align 1, !tbaa !29, !range !20, !noundef !21
  %93 = trunc i8 %92 to i1
  %94 = zext i1 %93 to i64
  %95 = select i1 %93, ptr @.str.9, ptr @.str.10
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef @.str.18, ptr noundef %95) #4
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 17
  %99 = load i8, ptr %98, align 2, !tbaa !30, !range !20, !noundef !21
  %100 = trunc i8 %99 to i1
  %101 = zext i1 %100 to i64
  %102 = select i1 %100, ptr @.str.9, ptr @.str.10
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef @.str.19, ptr noundef %102) #4
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 18
  %106 = load i8, ptr %105, align 1, !tbaa !31, !range !20, !noundef !21
  %107 = trunc i8 %106 to i1
  %108 = zext i1 %107 to i64
  %109 = select i1 %107, ptr @.str.9, ptr @.str.10
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.20, ptr noundef %109) #4
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 19
  %113 = load i8, ptr %112, align 4, !tbaa !32, !range !20, !noundef !21
  %114 = trunc i8 %113 to i1
  %115 = zext i1 %114 to i64
  %116 = select i1 %114, ptr @.str.9, ptr @.str.10
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.21, ptr noundef %116) #4
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 20
  %120 = load i8, ptr %119, align 1, !tbaa !33, !range !20, !noundef !21
  %121 = trunc i8 %120 to i1
  %122 = zext i1 %121 to i64
  %123 = select i1 %121, ptr @.str.9, ptr @.str.10
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef @.str.22, ptr noundef %123) #4
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 21
  %127 = load i8, ptr %126, align 2, !tbaa !34, !range !20, !noundef !21
  %128 = trunc i8 %127 to i1
  %129 = zext i1 %128 to i64
  %130 = select i1 %128, ptr @.str.9, ptr @.str.10
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.23, ptr noundef %130) #4
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %132, ptr noundef @.str.24) #4
  %134 = load ptr, ptr %3, align 8, !tbaa !5
  %135 = call i32 @fclose(ptr noundef %134)
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret void
}

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

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

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

declare i32 @fclose(ptr noundef) #2

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

attributes #0 = { mustprogress 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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS8Settings", !11, i64 0, !11, i64 4, !11, i64 8, !12, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !13, i64 28, !13, i64 29, !13, i64 30, !13, i64 31, !13, i64 32, !13, i64 33, !13, i64 34, !13, i64 35, !13, i64 36, !13, i64 37, !13, i64 38, !13, i64 39, !13, i64 40, !13, i64 41, !13, i64 42, !13, i64 43, !13, i64 44}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!10, !11, i64 4}
!15 = !{!10, !11, i64 8}
!16 = !{!10, !12, i64 12}
!17 = !{!10, !11, i64 16}
!18 = !{!10, !11, i64 20}
!19 = !{!10, !13, i64 28}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!10, !13, i64 29}
!23 = !{!10, !13, i64 31}
!24 = !{!10, !13, i64 32}
!25 = !{!10, !13, i64 33}
!26 = !{!10, !13, i64 34}
!27 = !{!10, !13, i64 35}
!28 = !{!10, !13, i64 36}
!29 = !{!10, !13, i64 37}
!30 = !{!10, !13, i64 38}
!31 = !{!10, !13, i64 39}
!32 = !{!10, !13, i64 40}
!33 = !{!10, !13, i64 41}
!34 = !{!10, !13, i64 42}


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

@_ZL8fileName = external hidden local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress nofree nounwind uwtable
define dso_local void @_ZN8Settings4SaveEv(ptr nocapture noundef nonnull readonly align 4 dereferenceable(45) %0) local_unnamed_addr #0 align 2 {
  %2 = load ptr, ptr @_ZL8fileName, align 8, !tbaa !5
  %3 = tail call noalias ptr @fopen(ptr noundef %2, ptr noundef nonnull @.str)
  %4 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.1) #2
  %5 = load i32, ptr %0, align 4, !tbaa !9
  %6 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.2, i32 noundef %5) #2
  %7 = getelementptr inbounds i8, ptr %0, i64 4
  %8 = load i32, ptr %7, align 4, !tbaa !14
  %9 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.3, i32 noundef %8) #2
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = load i32, ptr %10, align 4, !tbaa !15
  %12 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.4, i32 noundef %11) #2
  %13 = getelementptr inbounds i8, ptr %0, i64 12
  %14 = load float, ptr %13, align 4, !tbaa !16
  %15 = fpext float %14 to double
  %16 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.5, double noundef %15) #2
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %18 = load i32, ptr %17, align 4, !tbaa !17
  %19 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.6, i32 noundef %18) #2
  %20 = getelementptr inbounds i8, ptr %0, i64 20
  %21 = load i32, ptr %20, align 4, !tbaa !18
  %22 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.7, i32 noundef %21) #2
  %23 = getelementptr inbounds i8, ptr %0, i64 28
  %24 = load i8, ptr %23, align 4, !tbaa !19, !range !20, !noundef !21
  %25 = trunc nuw i8 %24 to i1
  %26 = select i1 %25, ptr @.str.9, ptr @.str.10
  %27 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.8, ptr noundef nonnull %26) #2
  %28 = getelementptr inbounds i8, ptr %0, i64 29
  %29 = load i8, ptr %28, align 1, !tbaa !22, !range !20, !noundef !21
  %30 = trunc nuw i8 %29 to i1
  %31 = select i1 %30, ptr @.str.9, ptr @.str.10
  %32 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.11, ptr noundef nonnull %31) #2
  %33 = getelementptr inbounds i8, ptr %0, i64 31
  %34 = load i8, ptr %33, align 1, !tbaa !23, !range !20, !noundef !21
  %35 = trunc nuw i8 %34 to i1
  %36 = select i1 %35, ptr @.str.9, ptr @.str.10
  %37 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.12, ptr noundef nonnull %36) #2
  %38 = getelementptr inbounds i8, ptr %0, i64 32
  %39 = load i8, ptr %38, align 4, !tbaa !24, !range !20, !noundef !21
  %40 = trunc nuw i8 %39 to i1
  %41 = select i1 %40, ptr @.str.9, ptr @.str.10
  %42 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.13, ptr noundef nonnull %41) #2
  %43 = getelementptr inbounds i8, ptr %0, i64 33
  %44 = load i8, ptr %43, align 1, !tbaa !25, !range !20, !noundef !21
  %45 = trunc nuw i8 %44 to i1
  %46 = select i1 %45, ptr @.str.9, ptr @.str.10
  %47 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.14, ptr noundef nonnull %46) #2
  %48 = getelementptr inbounds i8, ptr %0, i64 34
  %49 = load i8, ptr %48, align 2, !tbaa !26, !range !20, !noundef !21
  %50 = trunc nuw i8 %49 to i1
  %51 = select i1 %50, ptr @.str.9, ptr @.str.10
  %52 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.15, ptr noundef nonnull %51) #2
  %53 = getelementptr inbounds i8, ptr %0, i64 35
  %54 = load i8, ptr %53, align 1, !tbaa !27, !range !20, !noundef !21
  %55 = trunc nuw i8 %54 to i1
  %56 = select i1 %55, ptr @.str.9, ptr @.str.10
  %57 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.16, ptr noundef nonnull %56) #2
  %58 = getelementptr inbounds i8, ptr %0, i64 36
  %59 = load i8, ptr %58, align 4, !tbaa !28, !range !20, !noundef !21
  %60 = trunc nuw i8 %59 to i1
  %61 = select i1 %60, ptr @.str.9, ptr @.str.10
  %62 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.17, ptr noundef nonnull %61) #2
  %63 = getelementptr inbounds i8, ptr %0, i64 37
  %64 = load i8, ptr %63, align 1, !tbaa !29, !range !20, !noundef !21
  %65 = trunc nuw i8 %64 to i1
  %66 = select i1 %65, ptr @.str.9, ptr @.str.10
  %67 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.18, ptr noundef nonnull %66) #2
  %68 = getelementptr inbounds i8, ptr %0, i64 38
  %69 = load i8, ptr %68, align 2, !tbaa !30, !range !20, !noundef !21
  %70 = trunc nuw i8 %69 to i1
  %71 = select i1 %70, ptr @.str.9, ptr @.str.10
  %72 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.19, ptr noundef nonnull %71) #2
  %73 = getelementptr inbounds i8, ptr %0, i64 39
  %74 = load i8, ptr %73, align 1, !tbaa !31, !range !20, !noundef !21
  %75 = trunc nuw i8 %74 to i1
  %76 = select i1 %75, ptr @.str.9, ptr @.str.10
  %77 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.20, ptr noundef nonnull %76) #2
  %78 = getelementptr inbounds i8, ptr %0, i64 40
  %79 = load i8, ptr %78, align 4, !tbaa !32, !range !20, !noundef !21
  %80 = trunc nuw i8 %79 to i1
  %81 = select i1 %80, ptr @.str.9, ptr @.str.10
  %82 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.21, ptr noundef nonnull %81) #2
  %83 = getelementptr inbounds i8, ptr %0, i64 41
  %84 = load i8, ptr %83, align 1, !tbaa !33, !range !20, !noundef !21
  %85 = trunc nuw i8 %84 to i1
  %86 = select i1 %85, ptr @.str.9, ptr @.str.10
  %87 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.22, ptr noundef nonnull %86) #2
  %88 = getelementptr inbounds i8, ptr %0, i64 42
  %89 = load i8, ptr %88, align 2, !tbaa !34, !range !20, !noundef !21
  %90 = trunc nuw i8 %89 to i1
  %91 = select i1 %90, ptr @.str.9, ptr @.str.10
  %92 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.23, ptr noundef nonnull %91) #2
  %93 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.24) #2
  %94 = tail call i32 @fclose(ptr noundef %3)
  ret void
}

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nofree 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 = { 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 #2 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS8Settings", !11, i64 0, !11, i64 4, !11, i64 8, !12, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !13, i64 28, !13, i64 29, !13, i64 30, !13, i64 31, !13, i64 32, !13, i64 33, !13, i64 34, !13, i64 35, !13, i64 36, !13, i64 37, !13, i64 38, !13, i64 39, !13, i64 40, !13, i64 41, !13, i64 42, !13, i64 43, !13, i64 44}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!10, !11, i64 4}
!15 = !{!10, !11, i64 8}
!16 = !{!10, !12, i64 12}
!17 = !{!10, !11, i64 16}
!18 = !{!10, !11, i64 20}
!19 = !{!10, !13, i64 28}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!10, !13, i64 29}
!23 = !{!10, !13, i64 31}
!24 = !{!10, !13, i64 32}
!25 = !{!10, !13, i64 33}
!26 = !{!10, !13, i64 34}
!27 = !{!10, !13, i64 35}
!28 = !{!10, !13, i64 36}
!29 = !{!10, !13, i64 37}
!30 = !{!10, !13, i64 38}
!31 = !{!10, !13, i64 39}
!32 = !{!10, !13, i64 40}
!33 = !{!10, !13, i64 41}
!34 = !{!10, !13, i64 42}


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