; LLVM IR from erincatto/box2d :: samples/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, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, [2 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 [22 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 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: mustprogress uwtable
define dso_local void @_ZN8Settings4SaveEv(ptr noundef nonnull align 4 dereferenceable(46) %0) #1 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 7
  %15 = load i8, ptr %14, align 1, !tbaa !14, !range !15, !noundef !16
  %16 = trunc i8 %15 to i1
  %17 = zext i1 %16 to i64
  %18 = select i1 %16, ptr @.str.4, ptr @.str.5
  %19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str.3, ptr noundef %18) #4
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 8
  %22 = load i8, ptr %21, align 2, !tbaa !17, !range !15, !noundef !16
  %23 = trunc i8 %22 to i1
  %24 = zext i1 %23 to i64
  %25 = select i1 %23, ptr @.str.4, ptr @.str.5
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.6, ptr noundef %25) #4
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 10
  %29 = load i8, ptr %28, align 4, !tbaa !18, !range !15, !noundef !16
  %30 = trunc i8 %29 to i1
  %31 = zext i1 %30 to i64
  %32 = select i1 %30, ptr @.str.4, ptr @.str.5
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.7, ptr noundef %32) #4
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 13
  %36 = load i8, ptr %35, align 1, !tbaa !19, !range !15, !noundef !16
  %37 = trunc i8 %36 to i1
  %38 = zext i1 %37 to i64
  %39 = select i1 %37, ptr @.str.4, ptr @.str.5
  %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 14
  %43 = load i8, ptr %42, align 4, !tbaa !20, !range !15, !noundef !16
  %44 = trunc i8 %43 to i1
  %45 = zext i1 %44 to i64
  %46 = select i1 %44, ptr @.str.4, ptr @.str.5
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.9, ptr noundef %46) #4
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 15
  %50 = load i8, ptr %49, align 1, !tbaa !21, !range !15, !noundef !16
  %51 = trunc i8 %50 to i1
  %52 = zext i1 %51 to i64
  %53 = select i1 %51, ptr @.str.4, ptr @.str.5
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.10, ptr noundef %53) #4
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 16
  %57 = load i8, ptr %56, align 2, !tbaa !22, !range !15, !noundef !16
  %58 = trunc i8 %57 to i1
  %59 = zext i1 %58 to i64
  %60 = select i1 %58, ptr @.str.4, ptr @.str.5
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str.11, ptr noundef %60) #4
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 17
  %64 = load i8, ptr %63, align 1, !tbaa !23, !range !15, !noundef !16
  %65 = trunc i8 %64 to i1
  %66 = zext i1 %65 to i64
  %67 = select i1 %65, ptr @.str.4, ptr @.str.5
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.12, ptr noundef %67) #4
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 11
  %71 = load i8, ptr %70, align 1, !tbaa !24, !range !15, !noundef !16
  %72 = trunc i8 %71 to i1
  %73 = zext i1 %72 to i64
  %74 = select i1 %72, ptr @.str.4, ptr @.str.5
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.13, ptr noundef %74) #4
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 20
  %78 = load i8, ptr %77, align 2, !tbaa !25, !range !15, !noundef !16
  %79 = trunc i8 %78 to i1
  %80 = zext i1 %79 to i64
  %81 = select i1 %79, ptr @.str.4, ptr @.str.5
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str.14, ptr noundef %81) #4
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 21
  %85 = load i8, ptr %84, align 1, !tbaa !26, !range !15, !noundef !16
  %86 = trunc i8 %85 to i1
  %87 = zext i1 %86 to i64
  %88 = select i1 %86, ptr @.str.4, ptr @.str.5
  %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.15, ptr noundef %88) #4
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 22
  %92 = load i8, ptr %91, align 4, !tbaa !27, !range !15, !noundef !16
  %93 = trunc i8 %92 to i1
  %94 = zext i1 %93 to i64
  %95 = select i1 %93, ptr @.str.4, ptr @.str.5
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef @.str.16, ptr noundef %95) #4
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 23
  %99 = load i8, ptr %98, align 1, !tbaa !28, !range !15, !noundef !16
  %100 = trunc i8 %99 to i1
  %101 = zext i1 %100 to i64
  %102 = select i1 %100, ptr @.str.4, ptr @.str.5
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef @.str.17, ptr noundef %102) #4
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.Settings, ptr %4, i32 0, i32 24
  %106 = load i8, ptr %105, align 2, !tbaa !29, !range !15, !noundef !16
  %107 = trunc i8 %106 to i1
  %108 = zext i1 %107 to i64
  %109 = select i1 %107, ptr @.str.4, ptr @.str.5
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.18, ptr noundef %109) #4
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.19) #4
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = call i32 @fclose(ptr noundef %113)
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret void
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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, !13, i64 24, !13, i64 25, !13, i64 26, !13, i64 27, !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, !13, i64 45}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!10, !13, i64 25}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!10, !13, i64 26}
!18 = !{!10, !13, i64 28}
!19 = !{!10, !13, i64 31}
!20 = !{!10, !13, i64 32}
!21 = !{!10, !13, i64 33}
!22 = !{!10, !13, i64 34}
!23 = !{!10, !13, i64 35}
!24 = !{!10, !13, i64 29}
!25 = !{!10, !13, i64 38}
!26 = !{!10, !13, i64 39}
!27 = !{!10, !13, i64 40}
!28 = !{!10, !13, i64 41}
!29 = !{!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 [22 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.19 = 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(46) %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 25
  %8 = load i8, ptr %7, align 1, !tbaa !14, !range !15, !noundef !16
  %9 = trunc nuw i8 %8 to i1
  %10 = select i1 %9, ptr @.str.4, ptr @.str.5
  %11 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.3, ptr noundef nonnull %10) #2
  %12 = getelementptr inbounds i8, ptr %0, i64 26
  %13 = load i8, ptr %12, align 2, !tbaa !17, !range !15, !noundef !16
  %14 = trunc nuw i8 %13 to i1
  %15 = select i1 %14, ptr @.str.4, ptr @.str.5
  %16 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.6, ptr noundef nonnull %15) #2
  %17 = getelementptr inbounds i8, ptr %0, i64 28
  %18 = load i8, ptr %17, align 4, !tbaa !18, !range !15, !noundef !16
  %19 = trunc nuw i8 %18 to i1
  %20 = select i1 %19, ptr @.str.4, ptr @.str.5
  %21 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.7, ptr noundef nonnull %20) #2
  %22 = getelementptr inbounds i8, ptr %0, i64 31
  %23 = load i8, ptr %22, align 1, !tbaa !19, !range !15, !noundef !16
  %24 = trunc nuw i8 %23 to i1
  %25 = select i1 %24, ptr @.str.4, ptr @.str.5
  %26 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.8, ptr noundef nonnull %25) #2
  %27 = getelementptr inbounds i8, ptr %0, i64 32
  %28 = load i8, ptr %27, align 4, !tbaa !20, !range !15, !noundef !16
  %29 = trunc nuw i8 %28 to i1
  %30 = select i1 %29, ptr @.str.4, ptr @.str.5
  %31 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, ptr noundef nonnull %30) #2
  %32 = getelementptr inbounds i8, ptr %0, i64 33
  %33 = load i8, ptr %32, align 1, !tbaa !21, !range !15, !noundef !16
  %34 = trunc nuw i8 %33 to i1
  %35 = select i1 %34, ptr @.str.4, ptr @.str.5
  %36 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.10, ptr noundef nonnull %35) #2
  %37 = getelementptr inbounds i8, ptr %0, i64 34
  %38 = load i8, ptr %37, align 2, !tbaa !22, !range !15, !noundef !16
  %39 = trunc nuw i8 %38 to i1
  %40 = select i1 %39, ptr @.str.4, ptr @.str.5
  %41 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.11, ptr noundef nonnull %40) #2
  %42 = getelementptr inbounds i8, ptr %0, i64 35
  %43 = load i8, ptr %42, align 1, !tbaa !23, !range !15, !noundef !16
  %44 = trunc nuw i8 %43 to i1
  %45 = select i1 %44, ptr @.str.4, ptr @.str.5
  %46 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.12, ptr noundef nonnull %45) #2
  %47 = getelementptr inbounds i8, ptr %0, i64 29
  %48 = load i8, ptr %47, align 1, !tbaa !24, !range !15, !noundef !16
  %49 = trunc nuw i8 %48 to i1
  %50 = select i1 %49, ptr @.str.4, ptr @.str.5
  %51 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.13, ptr noundef nonnull %50) #2
  %52 = getelementptr inbounds i8, ptr %0, i64 38
  %53 = load i8, ptr %52, align 2, !tbaa !25, !range !15, !noundef !16
  %54 = trunc nuw i8 %53 to i1
  %55 = select i1 %54, ptr @.str.4, ptr @.str.5
  %56 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.14, ptr noundef nonnull %55) #2
  %57 = getelementptr inbounds i8, ptr %0, i64 39
  %58 = load i8, ptr %57, align 1, !tbaa !26, !range !15, !noundef !16
  %59 = trunc nuw i8 %58 to i1
  %60 = select i1 %59, ptr @.str.4, ptr @.str.5
  %61 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.15, ptr noundef nonnull %60) #2
  %62 = getelementptr inbounds i8, ptr %0, i64 40
  %63 = load i8, ptr %62, align 4, !tbaa !27, !range !15, !noundef !16
  %64 = trunc nuw i8 %63 to i1
  %65 = select i1 %64, ptr @.str.4, ptr @.str.5
  %66 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.16, ptr noundef nonnull %65) #2
  %67 = getelementptr inbounds i8, ptr %0, i64 41
  %68 = load i8, ptr %67, align 1, !tbaa !28, !range !15, !noundef !16
  %69 = trunc nuw i8 %68 to i1
  %70 = select i1 %69, ptr @.str.4, ptr @.str.5
  %71 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.17, ptr noundef nonnull %70) #2
  %72 = getelementptr inbounds i8, ptr %0, i64 42
  %73 = load i8, ptr %72, align 2, !tbaa !29, !range !15, !noundef !16
  %74 = trunc nuw i8 %73 to i1
  %75 = select i1 %74, ptr @.str.4, ptr @.str.5
  %76 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.18, ptr noundef nonnull %75) #2
  %77 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.19) #2
  %78 = 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, !13, i64 24, !13, i64 25, !13, i64 26, !13, i64 27, !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, !13, i64 45}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!10, !13, i64 25}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!10, !13, i64 26}
!18 = !{!10, !13, i64 28}
!19 = !{!10, !13, i64 31}
!20 = !{!10, !13, i64 32}
!21 = !{!10, !13, i64 33}
!22 = !{!10, !13, i64 34}
!23 = !{!10, !13, i64 35}
!24 = !{!10, !13, i64 29}
!25 = !{!10, !13, i64 38}
!26 = !{!10, !13, i64 39}
!27 = !{!10, !13, i64 40}
!28 = !{!10, !13, i64 41}
!29 = !{!10, !13, i64 42}


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