; LLVM IR from yettabaa/cub3D :: bonus (sprites_init)

; 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.s_GetSprites = type { i32, i32, double, double }
%struct.s_object = type { i32, double, double, double, double, i32, double, double, double, double, double, ptr }
%struct.s_data = type { double, double, double, double, double, double, double, double, double, double, i32, double, double, ptr, %struct.s_sprites, %struct.s_minimap, %struct.s_door, %struct.s_textures, %struct.s_hook, %struct.s_map_result, %struct.s_rycast, %struct.s_mlx, ptr }
%struct.s_sprites = type { ptr, i32, i32, i32, i32, i32, i32 }
%struct.s_minimap = type { double, double, double, double, double }
%struct.s_door = type { ptr, i32, i32, i32 }
%struct.s_textures = type { i32, ptr, i32, i32, i32, ptr, i32, i32, i32, ptr, i32, i32, i32, ptr, i32, i32, i32, ptr, i32, i32, i32 }
%struct.s_hook = type { double, i32, double, double, double }
%struct.s_map_result = type { i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i8 }
%struct.s_rycast = type { double, double, double, double, double, double, double, double, double }
%struct.s_mlx = type { ptr, ptr, ptr, ptr, ptr, i32, i32, i32 }

@.str.4 = external hidden unnamed_addr constant [35 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: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #1

declare void @my_exit(ptr noundef, ptr noundef, i32 noundef) #2

; 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
define dso_local ptr @newsprite(ptr noundef %0, ptr noundef byval(%struct.s_GetSprites) align 8 %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %7 = call noalias ptr @malloc(i64 noundef 96) #6
  store ptr %7, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  %9 = icmp ne ptr %8, null
  br i1 %9, label %12, label %10

10:                                               ; preds = %2
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  call void @my_exit(ptr noundef %11, ptr noundef @.str.4, i32 noundef 1)
  br label %12

12:                                               ; preds = %10, %2
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.s_object, ptr %13, i32 0, i32 0
  store i32 33, ptr %14, align 8, !tbaa !9
  %15 = getelementptr inbounds %struct.s_GetSprites, ptr %1, i32 0, i32 3
  %16 = load double, ptr %15, align 8, !tbaa !13
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.s_data, ptr %17, i32 0, i32 1
  %19 = load double, ptr %18, align 8, !tbaa !15
  %20 = fsub double %16, %19
  %21 = getelementptr inbounds %struct.s_GetSprites, ptr %1, i32 0, i32 2
  %22 = load double, ptr %21, align 8, !tbaa !25
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.s_data, ptr %23, i32 0, i32 0
  %25 = load double, ptr %24, align 8, !tbaa !26
  %26 = fsub double %22, %25
  %27 = call double @atan2(double noundef %20, double noundef %26) #5
  %28 = call double @_deg(double noundef %27)
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.s_data, ptr %29, i32 0, i32 3
  %31 = load double, ptr %30, align 8, !tbaa !27
  %32 = fsub double %28, %31
  store double %32, ptr %5, align 8, !tbaa !28
  %33 = load double, ptr %5, align 8, !tbaa !28
  %34 = call double @rad(double noundef %33)
  %35 = call double @tan(double noundef %34) #5
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.s_data, ptr %36, i32 0, i32 7
  %38 = load double, ptr %37, align 8, !tbaa !29
  %39 = fmul double %35, %38
  store double %39, ptr %6, align 8, !tbaa !28
  %40 = getelementptr inbounds %struct.s_GetSprites, ptr %1, i32 0, i32 2
  %41 = load double, ptr %40, align 8, !tbaa !25
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.s_object, ptr %42, i32 0, i32 1
  store double %41, ptr %43, align 8, !tbaa !30
  %44 = getelementptr inbounds %struct.s_GetSprites, ptr %1, i32 0, i32 3
  %45 = load double, ptr %44, align 8, !tbaa !13
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.s_object, ptr %46, i32 0, i32 2
  store double %45, ptr %47, align 8, !tbaa !31
  %48 = getelementptr inbounds %struct.s_GetSprites, ptr %1, i32 0, i32 2
  %49 = load double, ptr %48, align 8, !tbaa !25
  %50 = getelementptr inbounds %struct.s_GetSprites, ptr %1, i32 0, i32 3
  %51 = load double, ptr %50, align 8, !tbaa !13
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.s_data, ptr %52, i32 0, i32 0
  %54 = load double, ptr %53, align 8, !tbaa !26
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.s_data, ptr %55, i32 0, i32 1
  %57 = load double, ptr %56, align 8, !tbaa !15
  %58 = call double @des_betw_2pt(double noundef %49, double noundef %51, double noundef %54, double noundef %57)
  %59 = load double, ptr %5, align 8, !tbaa !28
  %60 = call double @rad(double noundef %59)
  %61 = call double @cos(double noundef %60) #5
  %62 = fmul double %58, %61
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.s_object, ptr %63, i32 0, i32 4
  store double %62, ptr %64, align 8, !tbaa !32
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.s_data, ptr %65, i32 0, i32 2
  %67 = load double, ptr %66, align 8, !tbaa !33
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.s_object, ptr %68, i32 0, i32 4
  %70 = load double, ptr %69, align 8, !tbaa !32
  %71 = fdiv double %67, %70
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.s_data, ptr %72, i32 0, i32 7
  %74 = load double, ptr %73, align 8, !tbaa !29
  %75 = fmul double %71, %74
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.s_object, ptr %76, i32 0, i32 6
  store double %75, ptr %77, align 8, !tbaa !34
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.s_object, ptr %78, i32 0, i32 6
  %80 = load double, ptr %79, align 8, !tbaa !34
  %81 = fdiv double %80, 2.000000e+00
  %82 = fsub double 5.000000e+02, %81
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.s_object, ptr %83, i32 0, i32 9
  store double %82, ptr %84, align 8, !tbaa !35
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.s_object, ptr %85, i32 0, i32 9
  %87 = load double, ptr %86, align 8, !tbaa !35
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.s_object, ptr %88, i32 0, i32 6
  %90 = load double, ptr %89, align 8, !tbaa !34
  %91 = fadd double %87, %90
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.s_object, ptr %92, i32 0, i32 10
  store double %91, ptr %93, align 8, !tbaa !36
  %94 = load double, ptr %6, align 8, !tbaa !28
  %95 = fadd double 8.000000e+02, %94
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.s_object, ptr %96, i32 0, i32 6
  %98 = load double, ptr %97, align 8, !tbaa !34
  %99 = fdiv double %98, 2.000000e+00
  %100 = fsub double %95, %99
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.s_object, ptr %101, i32 0, i32 7
  store double %100, ptr %102, align 8, !tbaa !37
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.s_object, ptr %103, i32 0, i32 7
  %105 = load double, ptr %104, align 8, !tbaa !37
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.s_object, ptr %106, i32 0, i32 6
  %108 = load double, ptr %107, align 8, !tbaa !34
  %109 = fadd double %105, %108
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.s_object, ptr %110, i32 0, i32 8
  store double %109, ptr %111, align 8, !tbaa !38
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.s_object, ptr %112, i32 0, i32 11
  store ptr null, ptr %113, align 8, !tbaa !39
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  ret ptr %114
}

declare double @_deg(double noundef) #2

; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #4

; Function Attrs: nounwind
declare double @tan(double noundef) #4

declare double @rad(double noundef) #2

declare double @des_betw_2pt(double noundef, double noundef, double noundef, double noundef) #2

; Function Attrs: nounwind
declare double @cos(double noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 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 #4 = { 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 }
attributes #6 = { 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 = !{!10, !11, i64 0}
!10 = !{!"s_object", !11, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !11, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !6, i64 88}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !12, i64 16}
!14 = !{!"s_GetSprites", !11, i64 0, !11, i64 4, !12, i64 8, !12, i64 16}
!15 = !{!16, !12, i64 8}
!16 = !{!"s_data", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !11, i64 80, !12, i64 88, !12, i64 96, !6, i64 104, !17, i64 112, !18, i64 144, !19, i64 184, !20, i64 208, !21, i64 336, !22, i64 376, !23, i64 456, !24, i64 528, !6, i64 584}
!17 = !{!"s_sprites", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28}
!18 = !{!"s_minimap", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!19 = !{!"s_door", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16}
!20 = !{!"s_textures", !11, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !6, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !6, i64 56, !11, i64 64, !11, i64 68, !11, i64 72, !6, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !6, i64 104, !11, i64 112, !11, i64 116, !11, i64 120}
!21 = !{!"s_hook", !12, i64 0, !11, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!22 = !{!"s_map_result", !11, i64 0, !11, i64 4, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !7, i64 72}
!23 = !{!"s_rycast", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64}
!24 = !{!"s_mlx", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !11, i64 44, !11, i64 48}
!25 = !{!14, !12, i64 8}
!26 = !{!16, !12, i64 0}
!27 = !{!16, !12, i64 24}
!28 = !{!12, !12, i64 0}
!29 = !{!16, !12, i64 56}
!30 = !{!10, !12, i64 8}
!31 = !{!10, !12, i64 16}
!32 = !{!10, !12, i64 32}
!33 = !{!16, !12, i64 16}
!34 = !{!10, !12, i64 48}
!35 = !{!10, !12, i64 72}
!36 = !{!10, !12, i64 80}
!37 = !{!10, !12, i64 56}
!38 = !{!10, !12, i64 64}
!39 = !{!10, !6, i64 88}


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

@.str.4 = external hidden unnamed_addr constant [35 x i8], align 1

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #0

declare void @my_exit(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local noalias noundef ptr @newsprite(ptr noundef %0, ptr nocapture noundef readonly byval(%struct.s_GetSprites) align 8 %1) local_unnamed_addr #2 {
  %3 = tail call noalias dereferenceable_or_null(96) ptr @malloc(i64 noundef 96) #4
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %4, label %5

4:                                                ; preds = %2
  tail call void @my_exit(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef 1) #5
  br label %5

5:                                                ; preds = %4, %2
  store i32 33, ptr %3, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load double, ptr %6, align 8, !tbaa !12
  %8 = getelementptr inbounds i8, ptr %1, i64 8
  %9 = load double, ptr %0, align 8, !tbaa !22
  %10 = getelementptr inbounds i8, ptr %0, i64 24
  %11 = getelementptr inbounds i8, ptr %0, i64 56
  %12 = getelementptr inbounds i8, ptr %3, i64 8
  %13 = load <2 x double>, ptr %8, align 8, !tbaa !23
  %14 = extractelement <2 x double> %13, i64 1
  %15 = fsub double %14, %7
  %16 = extractelement <2 x double> %13, i64 0
  %17 = fsub double %16, %9
  %18 = tail call double @atan2(double noundef %15, double noundef %17) #5
  %19 = tail call double @_deg(double noundef %18) #5
  %20 = load double, ptr %10, align 8, !tbaa !24
  %21 = fsub double %19, %20
  %22 = tail call double @rad(double noundef %21) #5
  %23 = tail call double @tan(double noundef %22) #5
  %24 = load double, ptr %11, align 8, !tbaa !25
  %25 = fmul double %23, %24
  store <2 x double> %13, ptr %12, align 8, !tbaa !23
  %26 = load double, ptr %0, align 8, !tbaa !22
  %27 = load double, ptr %6, align 8, !tbaa !12
  %28 = tail call double @des_betw_2pt(double noundef %16, double noundef %14, double noundef %26, double noundef %27) #5
  %29 = tail call double @rad(double noundef %21) #5
  %30 = tail call double @cos(double noundef %29) #5
  %31 = fmul double %28, %30
  %32 = getelementptr inbounds i8, ptr %3, i64 32
  store double %31, ptr %32, align 8, !tbaa !26
  %33 = getelementptr inbounds i8, ptr %0, i64 16
  %34 = load double, ptr %33, align 8, !tbaa !27
  %35 = fdiv double %34, %31
  %36 = load double, ptr %11, align 8, !tbaa !25
  %37 = fmul double %35, %36
  %38 = getelementptr inbounds i8, ptr %3, i64 48
  store double %37, ptr %38, align 8, !tbaa !28
  %39 = fmul double %37, 5.000000e-01
  %40 = fsub double 5.000000e+02, %39
  %41 = getelementptr inbounds i8, ptr %3, i64 72
  store double %40, ptr %41, align 8, !tbaa !29
  %42 = fadd double %37, %40
  %43 = getelementptr inbounds i8, ptr %3, i64 80
  store double %42, ptr %43, align 8, !tbaa !30
  %44 = fadd double %25, 8.000000e+02
  %45 = fsub double %44, %39
  %46 = getelementptr inbounds i8, ptr %3, i64 56
  store double %45, ptr %46, align 8, !tbaa !31
  %47 = fadd double %37, %45
  %48 = getelementptr inbounds i8, ptr %3, i64 64
  store double %47, ptr %48, align 8, !tbaa !32
  %49 = getelementptr inbounds i8, ptr %3, i64 88
  store ptr null, ptr %49, align 8, !tbaa !33
  ret ptr %3
}

declare double @_deg(double noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @atan2(double noundef, double noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @tan(double noundef) local_unnamed_addr #3

declare double @rad(double noundef) local_unnamed_addr #1

declare double @des_betw_2pt(double noundef, double noundef, double noundef, double noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @cos(double noundef) local_unnamed_addr #3

attributes #0 = { 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 #1 = { "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 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 #3 = { mustprogress nofree nounwind willreturn memory(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 #4 = { nounwind allocsize(0) }
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, !7, i64 0}
!6 = !{!"s_object", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !7, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !11, i64 88}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !10, i64 8}
!13 = !{!"s_data", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !7, i64 80, !10, i64 88, !10, i64 96, !11, i64 104, !14, i64 112, !15, i64 144, !16, i64 184, !17, i64 208, !18, i64 336, !19, i64 376, !20, i64 456, !21, i64 528, !11, i64 584}
!14 = !{!"s_sprites", !11, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28}
!15 = !{!"s_minimap", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!16 = !{!"s_door", !11, i64 0, !7, i64 8, !7, i64 12, !7, i64 16}
!17 = !{!"s_textures", !7, i64 0, !11, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !11, i64 32, !7, i64 40, !7, i64 44, !7, i64 48, !11, i64 56, !7, i64 64, !7, i64 68, !7, i64 72, !11, i64 80, !7, i64 88, !7, i64 92, !7, i64 96, !11, i64 104, !7, i64 112, !7, i64 116, !7, i64 120}
!18 = !{!"s_hook", !10, i64 0, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!19 = !{!"s_map_result", !7, i64 0, !7, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !8, i64 72}
!20 = !{!"s_rycast", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64}
!21 = !{!"s_mlx", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !7, i64 40, !7, i64 44, !7, i64 48}
!22 = !{!13, !10, i64 0}
!23 = !{!10, !10, i64 0}
!24 = !{!13, !10, i64 24}
!25 = !{!13, !10, i64 56}
!26 = !{!6, !10, i64 32}
!27 = !{!13, !10, i64 16}
!28 = !{!6, !10, i64 48}
!29 = !{!6, !10, i64 72}
!30 = !{!6, !10, i64 80}
!31 = !{!6, !10, i64 56}
!32 = !{!6, !10, i64 64}
!33 = !{!6, !11, i64 88}


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