; LLVM IR from ARM-software/Arm-2D :: Helper/Source (arm_2d_helper_scene)

; 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.arm_2d_scene_t = type { %struct.anon.32, ptr, %union.arm_2d_colour_t, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.anon.41, [7 x i8], %struct.arm_2d_helper_dirty_region_t }
%struct.anon.32 = type { ptr, %struct.anon.33 }
%struct.anon.33 = type { i8 }
%union.arm_2d_colour_t = type { i32 }
%struct.anon.41 = type { i8 }
%struct.arm_2d_helper_dirty_region_t = type { [56 x i8], %struct.arm_2d_helper_dirty_region_item_t }
%struct.arm_2d_helper_dirty_region_item_t = type { [48 x i8], %struct.arm_2d_region_t }
%struct.arm_2d_region_t = type { %union.anon.20, %union.anon.21 }
%union.anon.20 = type { %struct.arm_2d_location_t }
%struct.arm_2d_location_t = type { i16, i16 }
%union.anon.21 = type { %struct.arm_2d_size_t }
%struct.arm_2d_size_t = type { i16, i16 }
%struct.arm_2d_scene_player_t = type { %struct.arm_2d_helper_pfb_t, %struct.anon.1, %struct.anon.2 }
%struct.arm_2d_helper_pfb_t = type { [344 x i8], %struct.anon.0 }
%struct.anon.0 = type { i64, i32, i32 }
%struct.anon.1 = type { i32, i32, i64, i64, i32, float, i16, i16, i32, i64 }
%struct.anon.2 = type { %struct.anon.3, %struct.anon.4, %struct.anon.5, %struct.anon.31 }
%struct.anon.3 = type { ptr, ptr }
%struct.anon.4 = type { i16, i8, i8 }
%struct.anon.5 = type { ptr, i8, i16, %union.anon, %union.__arm_2d_helper_scene_switch_t, %struct.arm_2d_location_t, i16, i16, i64 }
%union.anon = type { %struct.anon.23 }
%struct.anon.23 = type { %struct.arm_2d_tile_t, %struct.arm_2d_filter_iir_blur_descriptor_t }
%struct.arm_2d_tile_t = type { %union.anon.8, %union.anon.19, %union.anon.22 }
%union.anon.8 = type { %struct.anon.9 }
%struct.anon.9 = type { i8, %union.arm_2d_color_info_t, %union.anon.12 }
%union.arm_2d_color_info_t = type { %struct.anon.10 }
%struct.anon.10 = type { i8 }
%union.anon.12 = type { i16 }
%union.anon.19 = type { %struct.arm_2d_region_t }
%union.anon.22 = type { ptr }
%struct.arm_2d_filter_iir_blur_descriptor_t = type { [72 x i8], %struct.arm_2d_scratch_mem_t }
%struct.arm_2d_scratch_mem_t = type { %union.anon.24, i64 }
%union.anon.24 = type { %union.anon.25 }
%union.anon.25 = type { %struct.anon.26 }
%struct.anon.26 = type { i32 }
%union.__arm_2d_helper_scene_switch_t = type { i16 }
%struct.anon.31 = type { %struct.arm_2d_scene_evt_t, %struct.arm_2d_scene_evt_t }
%struct.arm_2d_scene_evt_t = type { ptr, ptr }
%struct.__arm_slist_node_t = type { ptr }

@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [89 x i8], align 1
@__PRETTY_FUNCTION__.arm_2d_scene_player_append_scenes = external hidden unnamed_addr constant [96 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr 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
define dso_local void @arm_2d_scene_player_append_scenes(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i64 %2, ptr %6, align 8, !tbaa !9
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = icmp ne ptr null, %10
  br i1 %11, label %12, label %13

12:                                               ; preds = %3
  br label %14

13:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 275, ptr noundef @__PRETTY_FUNCTION__.arm_2d_scene_player_append_scenes) #4
  unreachable

14:                                               ; preds = %12
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = icmp ne ptr null, %15
  br i1 %16, label %17, label %18

17:                                               ; preds = %14
  br label %19

18:                                               ; preds = %14
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 276, ptr noundef @__PRETTY_FUNCTION__.arm_2d_scene_player_append_scenes) #4
  unreachable

19:                                               ; preds = %17
  %20 = load i64, ptr %6, align 8, !tbaa !9
  %21 = icmp sgt i64 %20, 0
  br i1 %21, label %22, label %23

22:                                               ; preds = %19
  br label %24

23:                                               ; preds = %19
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 277, ptr noundef @__PRETTY_FUNCTION__.arm_2d_scene_player_append_scenes) #4
  unreachable

24:                                               ; preds = %22
  br label %25

25:                                               ; preds = %85, %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.arm_2d_scene_t, ptr %26, i32 1
  store ptr %27, ptr %5, align 8, !tbaa !5
  store ptr %26, ptr %7, align 8, !tbaa !5
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.arm_2d_scene_t, ptr %29, i32 0, i32 1
  store ptr %28, ptr %30, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store ptr null, ptr %9, align 8, !tbaa !5
  br label %31

31:                                               ; preds = %72, %25
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  %33 = getelementptr inbounds i32, ptr %32, i32 1
  store ptr %33, ptr %9, align 8, !tbaa !5
  %34 = icmp eq ptr %32, null
  br i1 %34, label %36, label %35

35:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %73

36:                                               ; preds = %31
  br label %37

37:                                               ; preds = %36
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.arm_2d_scene_player_t, ptr %38, i32 0, i32 2
  %40 = getelementptr inbounds %struct.anon.2, ptr %39, i32 0, i32 0
  %41 = getelementptr inbounds %struct.anon.3, ptr %40, i32 0, i32 1
  %42 = load ptr, ptr %41, align 8, !tbaa !21
  %43 = icmp eq ptr null, %42
  br i1 %43, label %44, label %55

44:                                               ; preds = %37
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.arm_2d_scene_player_t, ptr %46, i32 0, i32 2
  %48 = getelementptr inbounds %struct.anon.2, ptr %47, i32 0, i32 0
  %49 = getelementptr inbounds %struct.anon.3, ptr %48, i32 0, i32 1
  store ptr %45, ptr %49, align 8, !tbaa !5
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.arm_2d_scene_player_t, ptr %51, i32 0, i32 2
  %53 = getelementptr inbounds %struct.anon.2, ptr %52, i32 0, i32 0
  %54 = getelementptr inbounds %struct.anon.3, ptr %53, i32 0, i32 0
  store ptr %50, ptr %54, align 8, !tbaa !5
  br label %68

55:                                               ; preds = %37
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.arm_2d_scene_player_t, ptr %57, i32 0, i32 2
  %59 = getelementptr inbounds %struct.anon.2, ptr %58, i32 0, i32 0
  %60 = getelementptr inbounds %struct.anon.3, ptr %59, i32 0, i32 1
  %61 = load ptr, ptr %60, align 8, !tbaa !21
  %62 = getelementptr inbounds %struct.__arm_slist_node_t, ptr %61, i32 0, i32 0
  store ptr %56, ptr %62, align 8, !tbaa !35
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.arm_2d_scene_player_t, ptr %64, i32 0, i32 2
  %66 = getelementptr inbounds %struct.anon.2, ptr %65, i32 0, i32 0
  %67 = getelementptr inbounds %struct.anon.3, ptr %66, i32 0, i32 1
  store ptr %63, ptr %67, align 8, !tbaa !5
  br label %68

68:                                               ; preds = %55, %44
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.__arm_slist_node_t, ptr %69, i32 0, i32 0
  store ptr null, ptr %70, align 8, !tbaa !35
  br label %71

71:                                               ; preds = %68
  br label %72

72:                                               ; preds = %71
  br label %31, !llvm.loop !37

73:                                               ; preds = %35
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.arm_2d_scene_t, ptr %74, i32 0, i32 14
  %76 = load i8, ptr %75, align 8
  %77 = lshr i8 %76, 7
  %78 = icmp ne i8 %77, 0
  br i1 %78, label %79, label %84

79:                                               ; preds = %73
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.arm_2d_scene_t, ptr %80, i32 0, i32 16
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.arm_2d_scene_t, ptr %82, i32 0, i32 4
  call void @arm_2d_helper_dirty_region_init(ptr noundef %81, ptr noundef %83)
  br label %84

84:                                               ; preds = %79, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %85

85:                                               ; preds = %84
  %86 = load i64, ptr %6, align 8, !tbaa !9
  %87 = add nsw i64 %86, -1
  store i64 %87, ptr %6, align 8, !tbaa !9
  %88 = icmp ne i64 %87, 0
  br i1 %88, label %25, label %89, !llvm.loop !39

89:                                               ; preds = %85
  ret void
}

declare void @arm_2d_helper_dirty_region_init(ptr noundef, ptr noundef) #3

attributes #0 = { noreturn 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 = { noreturn nounwind }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 16}
!12 = !{!"arm_2d_scene_t", !13, i64 0, !6, i64 16, !7, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !15, i64 120, !16, i64 128}
!13 = !{!"", !6, i64 0, !14, i64 8}
!14 = !{!"", !7, i64 0}
!15 = !{!"", !7, i64 0, !7, i64 0, !7, i64 0}
!16 = !{!"arm_2d_helper_dirty_region_t", !7, i64 0, !17, i64 56}
!17 = !{!"arm_2d_helper_dirty_region_item_t", !7, i64 0, !18, i64 48}
!18 = !{!"arm_2d_region_t", !7, i64 0, !7, i64 4}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!22, !6, i64 416}
!22 = !{!"arm_2d_scene_player_t", !23, i64 0, !25, i64 360, !28, i64 408}
!23 = !{!"arm_2d_helper_pfb_t", !7, i64 0, !24, i64 344}
!24 = !{!"", !10, i64 0, !20, i64 8, !20, i64 12}
!25 = !{!"", !20, i64 0, !20, i64 4, !10, i64 8, !10, i64 16, !20, i64 24, !26, i64 28, !27, i64 32, !27, i64 34, !20, i64 36, !10, i64 40}
!26 = !{!"float", !7, i64 0}
!27 = !{!"short", !7, i64 0}
!28 = !{!"", !29, i64 0, !30, i64 16, !31, i64 24, !33, i64 176}
!29 = !{!"", !6, i64 0, !6, i64 8}
!30 = !{!"", !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 1, !7, i64 1, !7, i64 1, !7, i64 1, !7, i64 2, !7, i64 2, !7, i64 2, !7, i64 2, !7, i64 2, !7, i64 2, !7, i64 3}
!31 = !{!"", !6, i64 0, !7, i64 8, !27, i64 10, !7, i64 16, !7, i64 128, !32, i64 130, !27, i64 134, !27, i64 136, !10, i64 144}
!32 = !{!"arm_2d_location_t", !27, i64 0, !27, i64 2}
!33 = !{!"", !34, i64 0, !34, i64 16}
!34 = !{!"arm_2d_scene_evt_t", !6, i64 0, !6, i64 8}
!35 = !{!36, !6, i64 0}
!36 = !{!"__arm_slist_node_t", !6, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = distinct !{!39, !38}


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

@.str.1 = external hidden unnamed_addr constant [89 x i8], align 1
@__PRETTY_FUNCTION__.arm_2d_scene_player_append_scenes = external hidden unnamed_addr constant [96 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @arm_2d_scene_player_append_scenes(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #1 {
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %4, label %5

4:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 276, ptr noundef nonnull @__PRETTY_FUNCTION__.arm_2d_scene_player_append_scenes) #3
  unreachable

5:                                                ; preds = %3
  %6 = icmp sgt i64 %2, 0
  br i1 %6, label %.preheader, label %9

.preheader:                                       ; preds = %5
  %7 = getelementptr inbounds i8, ptr %0, i64 416
  %8 = getelementptr inbounds i8, ptr %0, i64 408
  br label %10

9:                                                ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 277, ptr noundef nonnull @__PRETTY_FUNCTION__.arm_2d_scene_player_append_scenes) #3
  unreachable

10:                                               ; preds = %.preheader, %20
  %.021 = phi i64 [ %21, %20 ], [ %2, %.preheader ]
  %.020 = phi ptr [ %11, %20 ], [ %1, %.preheader ]
  %11 = getelementptr inbounds i8, ptr %.020, i64 240
  %12 = getelementptr inbounds i8, ptr %.020, i64 16
  store ptr %0, ptr %12, align 8, !tbaa !5
  %13 = load ptr, ptr %7, align 8, !tbaa !16
  %14 = icmp eq ptr %13, null
  %. = select i1 %14, ptr %8, ptr %13
  store ptr %.020, ptr %., align 8, !tbaa !32
  store ptr %.020, ptr %7, align 8
  store ptr null, ptr %.020, align 8, !tbaa !33
  %15 = getelementptr inbounds i8, ptr %.020, i64 120
  %16 = load i8, ptr %15, align 8
  %.not26 = icmp sgt i8 %16, -1
  br i1 %.not26, label %20, label %17

17:                                               ; preds = %10
  %18 = getelementptr inbounds i8, ptr %.020, i64 128
  %19 = getelementptr inbounds i8, ptr %.020, i64 40
  tail call void @arm_2d_helper_dirty_region_init(ptr noundef nonnull %18, ptr noundef nonnull %19) #4
  br label %20

20:                                               ; preds = %17, %10
  %21 = add nsw i64 %.021, -1
  %.not27 = icmp eq i64 %21, 0
  br i1 %.not27, label %22, label %10, !llvm.loop !35

22:                                               ; preds = %20
  ret void
}

declare void @arm_2d_helper_dirty_region_init(ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { noreturn 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 #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 = { "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 = { noreturn nounwind }
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, !8, i64 16}
!6 = !{!"arm_2d_scene_t", !7, i64 0, !8, i64 16, !9, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 56, !8, i64 64, !8, i64 72, !8, i64 80, !8, i64 88, !8, i64 96, !8, i64 104, !8, i64 112, !12, i64 120, !13, i64 128}
!7 = !{!"", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"", !9, i64 0}
!12 = !{!"", !9, i64 0, !9, i64 0, !9, i64 0}
!13 = !{!"arm_2d_helper_dirty_region_t", !9, i64 0, !14, i64 56}
!14 = !{!"arm_2d_helper_dirty_region_item_t", !9, i64 0, !15, i64 48}
!15 = !{!"arm_2d_region_t", !9, i64 0, !9, i64 4}
!16 = !{!17, !8, i64 416}
!17 = !{!"arm_2d_scene_player_t", !18, i64 0, !22, i64 360, !25, i64 408}
!18 = !{!"arm_2d_helper_pfb_t", !9, i64 0, !19, i64 344}
!19 = !{!"", !20, i64 0, !21, i64 8, !21, i64 12}
!20 = !{!"long", !9, i64 0}
!21 = !{!"int", !9, i64 0}
!22 = !{!"", !21, i64 0, !21, i64 4, !20, i64 8, !20, i64 16, !21, i64 24, !23, i64 28, !24, i64 32, !24, i64 34, !21, i64 36, !20, i64 40}
!23 = !{!"float", !9, i64 0}
!24 = !{!"short", !9, i64 0}
!25 = !{!"", !26, i64 0, !27, i64 16, !28, i64 24, !30, i64 176}
!26 = !{!"", !8, i64 0, !8, i64 8}
!27 = !{!"", !9, i64 0, !9, i64 0, !9, i64 0, !9, i64 0, !9, i64 1, !9, i64 1, !9, i64 1, !9, i64 1, !9, i64 2, !9, i64 2, !9, i64 2, !9, i64 2, !9, i64 2, !9, i64 2, !9, i64 3}
!28 = !{!"", !8, i64 0, !9, i64 8, !24, i64 10, !9, i64 16, !9, i64 128, !29, i64 130, !24, i64 134, !24, i64 136, !20, i64 144}
!29 = !{!"arm_2d_location_t", !24, i64 0, !24, i64 2}
!30 = !{!"", !31, i64 0, !31, i64 16}
!31 = !{!"arm_2d_scene_evt_t", !8, i64 0, !8, i64 8}
!32 = !{!8, !8, i64 0}
!33 = !{!34, !8, i64 0}
!34 = !{!"__arm_slist_node_t", !8, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,MergedLoadStoreMotionPass,SROAPass,SimplifyCFGPass,TailCallElimPass