; LLVM IR from ARM-software/Arm-2D :: Library/Source (arm_2d_alpha_blending)

; 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_op_control = type { %struct.anon.10 }
%struct.anon.10 = type { ptr, %struct.anon.11, %struct.anon.12, i16, i16, i16, i16, ptr, %union.anon.13 }
%struct.anon.11 = type { ptr, ptr }
%struct.anon.12 = type { ptr, ptr }
%union.anon.13 = type { %struct.arm_2d_op_trans_msk_opa_t }
%struct.arm_2d_op_trans_msk_opa_t = type { %struct.arm_2d_op_core_t, %struct.anon.67, %struct.anon.68, %union.anon.69, %struct.anon.71, %struct.anon.72, %struct.__arm_2d_transform_info_t, i8 }
%struct.arm_2d_op_core_t = type { %struct.anon.14, i64 }
%struct.anon.14 = type { ptr, ptr, %struct.anon.15, i8, %union.arm_2d_op_status_t, %struct.arm_2d_op_evt_t }
%struct.anon.15 = type { i8 }
%union.arm_2d_op_status_t = type { %struct.anon.16 }
%struct.anon.16 = type { i16 }
%struct.arm_2d_op_evt_t = type { ptr, ptr }
%struct.anon.67 = type { ptr, ptr }
%struct.anon.68 = type { ptr }
%union.anon.69 = type { %struct.anon.70 }
%struct.anon.70 = type { i32 }
%struct.anon.71 = type { ptr, %struct.arm_2d_tile_t }
%struct.arm_2d_tile_t = type { %union.anon.48, %union.anon.57, %union.anon.58 }
%union.anon.48 = type { %struct.anon.49 }
%struct.anon.49 = type { i8, %union.arm_2d_color_info_t, %union.anon.50 }
%union.arm_2d_color_info_t = type { %struct.anon.1 }
%struct.anon.1 = type { i8 }
%union.anon.50 = type { i16 }
%union.anon.57 = type { %struct.arm_2d_region_t }
%struct.arm_2d_region_t = type { %union.anon.3, %union.anon.4 }
%union.anon.3 = type { %struct.arm_2d_location_t }
%struct.arm_2d_location_t = type { i16, i16 }
%union.anon.4 = type { %struct.arm_2d_size_t }
%struct.arm_2d_size_t = type { i16, i16 }
%union.anon.58 = type { ptr }
%struct.anon.72 = type { ptr, ptr }
%struct.__arm_2d_transform_info_t = type { float, float, float, %struct.arm_2d_point_float_t, %union.anon.59, %struct.anon.60 }
%struct.arm_2d_point_float_t = type { float, float }
%union.anon.59 = type { i32 }
%struct.anon.60 = type { %struct.arm_2d_location_t, %struct.anon.61 }
%struct.anon.61 = type { %struct.arm_2d_region_t, %struct.arm_2d_tile_t }
%struct.__arm_2d_sub_task_t = type { %struct.anon.0 }
%struct.anon.0 = type <{ ptr, ptr, i8, i32, [3 x i8], %union.anon }>
%union.anon = type { %struct.__arm_2d_param_copy_orig_msk_t }
%struct.__arm_2d_param_copy_orig_msk_t = type { %union.anon.7, %struct.__arm_2d_tile_param_t, %struct.__arm_2d_tile_param_t }
%union.anon.7 = type { %struct.__arm_2d_param_copy_orig_t }
%struct.__arm_2d_param_copy_orig_t = type { %union.anon.6, %struct.__arm_2d_tile_param_t }
%union.anon.6 = type { %struct.__arm_2d_param_copy_t }
%struct.__arm_2d_param_copy_t = type { %struct.__arm_2d_tile_param_t, %struct.__arm_2d_tile_param_t, %struct.arm_2d_size_t }
%struct.__arm_2d_tile_param_t = type { ptr, i32, i16, %union.arm_2d_color_info_t, i8, %struct.arm_2d_region_t, %struct.arm_2d_region_t, ptr }
%struct.arm_2d_op_src_msk_t = type { %struct.arm_2d_op_core_t, %struct.anon.36, %struct.anon.37, i32, %struct.anon.38 }
%struct.anon.36 = type { ptr, ptr }
%struct.anon.37 = type { ptr }
%struct.anon.38 = type { ptr, ptr }
%struct.anon.79 = type { %union.arm_2d_color_info_t, %union.anon.80, i8, i8, %union.anon.82, %union.anon.86 }
%union.anon.80 = type { %struct.anon.81 }
%struct.anon.81 = type { i8 }
%union.anon.82 = type { %struct.anon.83 }
%struct.anon.83 = type { i8, i8 }
%union.anon.86 = type { [2 x ptr] }
%struct.__arm_2d_param_fill_msk_t = type { %union.anon.8, %struct.__arm_2d_tile_param_t, %struct.__arm_2d_tile_param_t }
%union.anon.8 = type { %struct.__arm_2d_param_fill_t }
%struct.__arm_2d_param_fill_t = type { %struct.__arm_2d_tile_param_t, %struct.__arm_2d_tile_param_t }

@ARM_2D_CTRL = external global %struct.__arm_2d_op_control, align 8
@.str.11 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [154 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [116 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [62 x i8], align 1
@__PRETTY_FUNCTION__.__arm_2d_cccn888_sw_tile_fill_with_des_mask_and_only = external hidden unnamed_addr constant [89 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @__arm_2d_impl_cccn888_des_msk_fill(ptr noalias noundef, i16 noundef signext, ptr noalias noundef, ptr noalias noundef, i16 noundef signext, ptr noalias noundef, ptr noalias noundef, i16 noundef signext, ptr noalias noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @__arm_2d_impl_cccn888_1h_des_msk_fill(ptr noalias noundef, i16 noundef signext, ptr noalias noundef, ptr noalias noundef, i16 noundef signext, ptr noalias noundef, ptr noalias noundef, i16 noundef signext, ptr noalias noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @__arm_2d_impl_cccn888_des_chn_msk_fill(ptr noalias noundef, i16 noundef signext, ptr noalias noundef, ptr noalias noundef, i16 noundef signext, ptr noalias noundef, ptr noalias noundef, i16 noundef signext, ptr noalias noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @__arm_2d_cccn888_sw_tile_fill_with_des_mask_and_only(ptr noundef %0) #2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %6 = load ptr, ptr %3, align 8, !tbaa !5
  %7 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %6, i32 0, i32 0
  %8 = getelementptr inbounds %struct.anon.0, ptr %7, i32 0, i32 1
  %9 = load ptr, ptr %8, align 8, !tbaa !9
  store ptr %9, ptr %4, align 8, !tbaa !5
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = icmp eq ptr null, %10
  br i1 %11, label %12, label %13

12:                                               ; preds = %1
  store ptr getelementptr inbounds (%struct.anon.10, ptr @ARM_2D_CTRL, i32 0, i32 8), ptr %4, align 8, !tbaa !5
  br label %13

13:                                               ; preds = %12, %1
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.arm_2d_op_src_msk_t, ptr %14, i32 0, i32 0
  %16 = getelementptr inbounds %struct.arm_2d_op_core_t, ptr %15, i32 0, i32 0
  %17 = getelementptr inbounds %struct.anon.14, ptr %16, i32 0, i32 1
  %18 = load ptr, ptr %17, align 8, !tbaa !12
  %19 = getelementptr inbounds %struct.anon.79, ptr %18, i32 0, i32 0
  %20 = load i8, ptr %19, align 8
  %21 = lshr i8 %20, 1
  %22 = and i8 %21, 7
  %23 = zext i8 %22 to i32
  %24 = icmp eq i32 5, %23
  br i1 %24, label %25, label %26

25:                                               ; preds = %13
  br label %27

26:                                               ; preds = %13
  call void @__assert_fail(ptr noundef @.str.34, ptr noundef @.str.33, i32 noundef 161, ptr noundef @__PRETTY_FUNCTION__.__arm_2d_cccn888_sw_tile_fill_with_des_mask_and_only) #4
  unreachable

27:                                               ; preds = %25
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.arm_2d_op_src_msk_t, ptr %28, i32 0, i32 4
  %30 = getelementptr inbounds %struct.anon.38, ptr %29, i32 0, i32 1
  %31 = load ptr, ptr %30, align 8, !tbaa !22
  %32 = icmp ne ptr null, %31
  br i1 %32, label %33, label %34

33:                                               ; preds = %27
  br label %35

34:                                               ; preds = %27
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.33, i32 noundef 164, ptr noundef @__PRETTY_FUNCTION__.__arm_2d_cccn888_sw_tile_fill_with_des_mask_and_only) #4
  unreachable

35:                                               ; preds = %33
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %36, i32 0, i32 0
  %38 = getelementptr inbounds %struct.anon.0, ptr %37, i32 0, i32 5
  %39 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %38, i32 0, i32 2
  %40 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %39, i32 0, i32 4
  %41 = load i8, ptr %40, align 1
  %42 = and i8 %41, 1
  %43 = icmp ne i8 %42, 0
  br i1 %43, label %44, label %45

44:                                               ; preds = %35
  store i32 -2, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %284

45:                                               ; preds = %35
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %46, i32 0, i32 0
  %48 = getelementptr inbounds %struct.anon.0, ptr %47, i32 0, i32 5
  %49 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %48, i32 0, i32 2
  %50 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %49, i32 0, i32 3
  %51 = load i8, ptr %50, align 2, !tbaa !23
  %52 = zext i8 %51 to i32
  %53 = icmp eq i32 107, %52
  br i1 %53, label %54, label %138

54:                                               ; preds = %45
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %55, i32 0, i32 0
  %57 = getelementptr inbounds %struct.anon.0, ptr %56, i32 0, i32 5
  %58 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %57, i32 0, i32 2
  %59 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %58, i32 0, i32 5
  %60 = getelementptr inbounds %struct.arm_2d_region_t, ptr %59, i32 0, i32 1
  %61 = getelementptr inbounds %struct.arm_2d_size_t, ptr %60, i32 0, i32 1
  %62 = load i16, ptr %61, align 2, !tbaa !23
  %63 = sext i16 %62 to i32
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %64, i32 0, i32 0
  %66 = getelementptr inbounds %struct.anon.0, ptr %65, i32 0, i32 5
  %67 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %66, i32 0, i32 0
  %68 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %67, i32 0, i32 1
  %69 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %68, i32 0, i32 5
  %70 = getelementptr inbounds %struct.arm_2d_region_t, ptr %69, i32 0, i32 1
  %71 = getelementptr inbounds %struct.arm_2d_size_t, ptr %70, i32 0, i32 1
  %72 = load i16, ptr %71, align 2, !tbaa !23
  %73 = sext i16 %72 to i32
  %74 = icmp sge i32 %63, %73
  br i1 %74, label %75, label %76

75:                                               ; preds = %54
  br label %77

76:                                               ; preds = %54
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.33, i32 noundef 182, ptr noundef @__PRETTY_FUNCTION__.__arm_2d_cccn888_sw_tile_fill_with_des_mask_and_only) #4
  unreachable

77:                                               ; preds = %75
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %78, i32 0, i32 0
  %80 = getelementptr inbounds %struct.anon.0, ptr %79, i32 0, i32 5
  %81 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %80, i32 0, i32 0
  %82 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %81, i32 0, i32 0
  %83 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %82, i32 0, i32 0
  %84 = load ptr, ptr %83, align 8, !tbaa !23
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %85, i32 0, i32 0
  %87 = getelementptr inbounds %struct.anon.0, ptr %86, i32 0, i32 5
  %88 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %87, i32 0, i32 0
  %89 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %88, i32 0, i32 0
  %90 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %89, i32 0, i32 2
  %91 = load i16, ptr %90, align 4, !tbaa !23
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %92, i32 0, i32 0
  %94 = getelementptr inbounds %struct.anon.0, ptr %93, i32 0, i32 5
  %95 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %94, i32 0, i32 0
  %96 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %95, i32 0, i32 0
  %97 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %96, i32 0, i32 5
  %98 = getelementptr inbounds %struct.arm_2d_region_t, ptr %97, i32 0, i32 1
  %99 = load ptr, ptr %3, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %99, i32 0, i32 0
  %101 = getelementptr inbounds %struct.anon.0, ptr %100, i32 0, i32 5
  %102 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %101, i32 0, i32 0
  %103 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %102, i32 0, i32 1
  %104 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %103, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8, !tbaa !23
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %106, i32 0, i32 0
  %108 = getelementptr inbounds %struct.anon.0, ptr %107, i32 0, i32 5
  %109 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %108, i32 0, i32 0
  %110 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %109, i32 0, i32 1
  %111 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %110, i32 0, i32 2
  %112 = load i16, ptr %111, align 4, !tbaa !23
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %113, i32 0, i32 0
  %115 = getelementptr inbounds %struct.anon.0, ptr %114, i32 0, i32 5
  %116 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %115, i32 0, i32 0
  %117 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %116, i32 0, i32 1
  %118 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %117, i32 0, i32 5
  %119 = getelementptr inbounds %struct.arm_2d_region_t, ptr %118, i32 0, i32 1
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %120, i32 0, i32 0
  %122 = getelementptr inbounds %struct.anon.0, ptr %121, i32 0, i32 5
  %123 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %122, i32 0, i32 2
  %124 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %123, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8, !tbaa !23
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %126, i32 0, i32 0
  %128 = getelementptr inbounds %struct.anon.0, ptr %127, i32 0, i32 5
  %129 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %128, i32 0, i32 2
  %130 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %129, i32 0, i32 2
  %131 = load i16, ptr %130, align 4, !tbaa !23
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %132, i32 0, i32 0
  %134 = getelementptr inbounds %struct.anon.0, ptr %133, i32 0, i32 5
  %135 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %134, i32 0, i32 2
  %136 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %135, i32 0, i32 5
  %137 = getelementptr inbounds %struct.arm_2d_region_t, ptr %136, i32 0, i32 1
  call void @__arm_2d_impl_cccn888_des_chn_msk_fill(ptr noundef %84, i16 noundef signext %91, ptr noundef %98, ptr noundef %105, i16 noundef signext %112, ptr noundef %119, ptr noundef %125, i16 noundef signext %131, ptr noundef %137)
  br label %283

138:                                              ; preds = %45
  %139 = load ptr, ptr %3, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %139, i32 0, i32 0
  %141 = getelementptr inbounds %struct.anon.0, ptr %140, i32 0, i32 5
  %142 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %141, i32 0, i32 2
  %143 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %142, i32 0, i32 3
  %144 = load i8, ptr %143, align 2, !tbaa !23
  %145 = zext i8 %144 to i32
  %146 = icmp eq i32 6, %145
  br i1 %146, label %147, label %148

147:                                              ; preds = %138
  br label %149

148:                                              ; preds = %138
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.33, i32 noundef 210, ptr noundef @__PRETTY_FUNCTION__.__arm_2d_cccn888_sw_tile_fill_with_des_mask_and_only) #4
  unreachable

149:                                              ; preds = %147
  %150 = load ptr, ptr %3, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %150, i32 0, i32 0
  %152 = getelementptr inbounds %struct.anon.0, ptr %151, i32 0, i32 5
  %153 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %152, i32 0, i32 2
  %154 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %153, i32 0, i32 5
  %155 = getelementptr inbounds %struct.arm_2d_region_t, ptr %154, i32 0, i32 1
  %156 = getelementptr inbounds %struct.arm_2d_size_t, ptr %155, i32 0, i32 1
  %157 = load i16, ptr %156, align 2, !tbaa !23
  %158 = sext i16 %157 to i32
  %159 = icmp sgt i32 %158, 1
  br i1 %159, label %160, label %221

160:                                              ; preds = %149
  %161 = load ptr, ptr %3, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %161, i32 0, i32 0
  %163 = getelementptr inbounds %struct.anon.0, ptr %162, i32 0, i32 5
  %164 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %163, i32 0, i32 0
  %165 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %164, i32 0, i32 0
  %166 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %165, i32 0, i32 0
  %167 = load ptr, ptr %166, align 8, !tbaa !23
  %168 = load ptr, ptr %3, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %168, i32 0, i32 0
  %170 = getelementptr inbounds %struct.anon.0, ptr %169, i32 0, i32 5
  %171 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %170, i32 0, i32 0
  %172 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %171, i32 0, i32 0
  %173 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %172, i32 0, i32 2
  %174 = load i16, ptr %173, align 4, !tbaa !23
  %175 = load ptr, ptr %3, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %175, i32 0, i32 0
  %177 = getelementptr inbounds %struct.anon.0, ptr %176, i32 0, i32 5
  %178 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %177, i32 0, i32 0
  %179 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %178, i32 0, i32 0
  %180 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %179, i32 0, i32 5
  %181 = getelementptr inbounds %struct.arm_2d_region_t, ptr %180, i32 0, i32 1
  %182 = load ptr, ptr %3, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %182, i32 0, i32 0
  %184 = getelementptr inbounds %struct.anon.0, ptr %183, i32 0, i32 5
  %185 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %184, i32 0, i32 0
  %186 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %185, i32 0, i32 1
  %187 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %186, i32 0, i32 0
  %188 = load ptr, ptr %187, align 8, !tbaa !23
  %189 = load ptr, ptr %3, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %189, i32 0, i32 0
  %191 = getelementptr inbounds %struct.anon.0, ptr %190, i32 0, i32 5
  %192 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %191, i32 0, i32 0
  %193 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %192, i32 0, i32 1
  %194 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %193, i32 0, i32 2
  %195 = load i16, ptr %194, align 4, !tbaa !23
  %196 = load ptr, ptr %3, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %196, i32 0, i32 0
  %198 = getelementptr inbounds %struct.anon.0, ptr %197, i32 0, i32 5
  %199 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %198, i32 0, i32 0
  %200 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %199, i32 0, i32 1
  %201 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %200, i32 0, i32 5
  %202 = getelementptr inbounds %struct.arm_2d_region_t, ptr %201, i32 0, i32 1
  %203 = load ptr, ptr %3, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %203, i32 0, i32 0
  %205 = getelementptr inbounds %struct.anon.0, ptr %204, i32 0, i32 5
  %206 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %205, i32 0, i32 2
  %207 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %206, i32 0, i32 0
  %208 = load ptr, ptr %207, align 8, !tbaa !23
  %209 = load ptr, ptr %3, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %209, i32 0, i32 0
  %211 = getelementptr inbounds %struct.anon.0, ptr %210, i32 0, i32 5
  %212 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %211, i32 0, i32 2
  %213 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %212, i32 0, i32 2
  %214 = load i16, ptr %213, align 4, !tbaa !23
  %215 = load ptr, ptr %3, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %215, i32 0, i32 0
  %217 = getelementptr inbounds %struct.anon.0, ptr %216, i32 0, i32 5
  %218 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %217, i32 0, i32 2
  %219 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %218, i32 0, i32 5
  %220 = getelementptr inbounds %struct.arm_2d_region_t, ptr %219, i32 0, i32 1
  call void @__arm_2d_impl_cccn888_des_msk_fill(ptr noundef %167, i16 noundef signext %174, ptr noundef %181, ptr noundef %188, i16 noundef signext %195, ptr noundef %202, ptr noundef %208, i16 noundef signext %214, ptr noundef %220)
  br label %282

221:                                              ; preds = %149
  %222 = load ptr, ptr %3, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %222, i32 0, i32 0
  %224 = getelementptr inbounds %struct.anon.0, ptr %223, i32 0, i32 5
  %225 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %224, i32 0, i32 0
  %226 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %225, i32 0, i32 0
  %227 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %226, i32 0, i32 0
  %228 = load ptr, ptr %227, align 8, !tbaa !23
  %229 = load ptr, ptr %3, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %229, i32 0, i32 0
  %231 = getelementptr inbounds %struct.anon.0, ptr %230, i32 0, i32 5
  %232 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %231, i32 0, i32 0
  %233 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %232, i32 0, i32 0
  %234 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %233, i32 0, i32 2
  %235 = load i16, ptr %234, align 4, !tbaa !23
  %236 = load ptr, ptr %3, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %236, i32 0, i32 0
  %238 = getelementptr inbounds %struct.anon.0, ptr %237, i32 0, i32 5
  %239 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %238, i32 0, i32 0
  %240 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %239, i32 0, i32 0
  %241 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %240, i32 0, i32 5
  %242 = getelementptr inbounds %struct.arm_2d_region_t, ptr %241, i32 0, i32 1
  %243 = load ptr, ptr %3, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %243, i32 0, i32 0
  %245 = getelementptr inbounds %struct.anon.0, ptr %244, i32 0, i32 5
  %246 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %245, i32 0, i32 0
  %247 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %246, i32 0, i32 1
  %248 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %247, i32 0, i32 0
  %249 = load ptr, ptr %248, align 8, !tbaa !23
  %250 = load ptr, ptr %3, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %250, i32 0, i32 0
  %252 = getelementptr inbounds %struct.anon.0, ptr %251, i32 0, i32 5
  %253 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %252, i32 0, i32 0
  %254 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %253, i32 0, i32 1
  %255 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %254, i32 0, i32 2
  %256 = load i16, ptr %255, align 4, !tbaa !23
  %257 = load ptr, ptr %3, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %257, i32 0, i32 0
  %259 = getelementptr inbounds %struct.anon.0, ptr %258, i32 0, i32 5
  %260 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %259, i32 0, i32 0
  %261 = getelementptr inbounds %struct.__arm_2d_param_fill_t, ptr %260, i32 0, i32 1
  %262 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %261, i32 0, i32 5
  %263 = getelementptr inbounds %struct.arm_2d_region_t, ptr %262, i32 0, i32 1
  %264 = load ptr, ptr %3, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %264, i32 0, i32 0
  %266 = getelementptr inbounds %struct.anon.0, ptr %265, i32 0, i32 5
  %267 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %266, i32 0, i32 2
  %268 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %267, i32 0, i32 0
  %269 = load ptr, ptr %268, align 8, !tbaa !23
  %270 = load ptr, ptr %3, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %270, i32 0, i32 0
  %272 = getelementptr inbounds %struct.anon.0, ptr %271, i32 0, i32 5
  %273 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %272, i32 0, i32 2
  %274 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %273, i32 0, i32 2
  %275 = load i16, ptr %274, align 4, !tbaa !23
  %276 = load ptr, ptr %3, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.__arm_2d_sub_task_t, ptr %276, i32 0, i32 0
  %278 = getelementptr inbounds %struct.anon.0, ptr %277, i32 0, i32 5
  %279 = getelementptr inbounds %struct.__arm_2d_param_fill_msk_t, ptr %278, i32 0, i32 2
  %280 = getelementptr inbounds %struct.__arm_2d_tile_param_t, ptr %279, i32 0, i32 5
  %281 = getelementptr inbounds %struct.arm_2d_region_t, ptr %280, i32 0, i32 1
  call void @__arm_2d_impl_cccn888_1h_des_msk_fill(ptr noundef %228, i16 noundef signext %235, ptr noundef %242, ptr noundef %249, i16 noundef signext %256, ptr noundef %263, ptr noundef %269, i16 noundef signext %275, ptr noundef %281)
  br label %282

282:                                              ; preds = %221, %160
  br label %283

283:                                              ; preds = %282, %77
  store i32 0, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %284

284:                                              ; preds = %283, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  %285 = load i32, ptr %2, align 4
  ret i32 %285
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { nounwind }
attributes #4 = { noreturn 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, !6, i64 8}
!10 = !{!"__arm_2d_sub_task_t", !11, i64 0}
!11 = !{!"", !6, i64 0, !6, i64 8, !7, i64 16, !7, i64 17, !7, i64 24}
!12 = !{!13, !6, i64 8}
!13 = !{!"arm_2d_op_src_msk_t", !14, i64 0, !19, i64 48, !20, i64 64, !21, i64 72, !19, i64 80}
!14 = !{!"arm_2d_op_core_t", !15, i64 0, !18, i64 40}
!15 = !{!"", !6, i64 0, !6, i64 8, !16, i64 16, !7, i64 17, !7, i64 18, !17, i64 24}
!16 = !{!"", !7, i64 0}
!17 = !{!"arm_2d_op_evt_t", !6, i64 0, !6, i64 8}
!18 = !{!"long", !7, i64 0}
!19 = !{!"", !6, i64 0, !6, i64 8}
!20 = !{!"", !6, i64 0}
!21 = !{!"int", !7, i64 0}
!22 = !{!13, !6, i64 88}
!23 = !{!7, !7, i64 0}


; 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.__arm_2d_op_control = type { %struct.anon.10 }
%struct.anon.10 = type { ptr, %struct.anon.11, %struct.anon.12, i16, i16, i16, i16, ptr, %union.anon.13 }
%struct.anon.11 = type { ptr, ptr }
%struct.anon.12 = type { ptr, ptr }
%union.anon.13 = type { %struct.arm_2d_op_trans_msk_opa_t }
%struct.arm_2d_op_trans_msk_opa_t = type { %struct.arm_2d_op_core_t, %struct.anon.67, %struct.anon.68, %union.anon.69, %struct.anon.71, %struct.anon.72, %struct.__arm_2d_transform_info_t, i8 }
%struct.arm_2d_op_core_t = type { %struct.anon.14, i64 }
%struct.anon.14 = type { ptr, ptr, %struct.anon.15, i8, %union.arm_2d_op_status_t, %struct.arm_2d_op_evt_t }
%struct.anon.15 = type { i8 }
%union.arm_2d_op_status_t = type { %struct.anon.16 }
%struct.anon.16 = type { i16 }
%struct.arm_2d_op_evt_t = type { ptr, ptr }
%struct.anon.67 = type { ptr, ptr }
%struct.anon.68 = type { ptr }
%union.anon.69 = type { %struct.anon.70 }
%struct.anon.70 = type { i32 }
%struct.anon.71 = type { ptr, %struct.arm_2d_tile_t }
%struct.arm_2d_tile_t = type { %union.anon.48, %union.anon.57, %union.anon.58 }
%union.anon.48 = type { %struct.anon.49 }
%struct.anon.49 = type { i8, %union.arm_2d_color_info_t, %union.anon.50 }
%union.arm_2d_color_info_t = type { %struct.anon.1 }
%struct.anon.1 = type { i8 }
%union.anon.50 = type { i16 }
%union.anon.57 = type { %struct.arm_2d_region_t }
%struct.arm_2d_region_t = type { %union.anon.3, %union.anon.4 }
%union.anon.3 = type { %struct.arm_2d_location_t }
%struct.arm_2d_location_t = type { i16, i16 }
%union.anon.4 = type { %struct.arm_2d_size_t }
%struct.arm_2d_size_t = type { i16, i16 }
%union.anon.58 = type { ptr }
%struct.anon.72 = type { ptr, ptr }
%struct.__arm_2d_transform_info_t = type { float, float, float, %struct.arm_2d_point_float_t, %union.anon.59, %struct.anon.60 }
%struct.arm_2d_point_float_t = type { float, float }
%union.anon.59 = type { i32 }
%struct.anon.60 = type { %struct.arm_2d_location_t, %struct.anon.61 }
%struct.anon.61 = type { %struct.arm_2d_region_t, %struct.arm_2d_tile_t }

@ARM_2D_CTRL = external local_unnamed_addr global %struct.__arm_2d_op_control, align 8
@.str.11 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [154 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [116 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [62 x i8], align 1
@__PRETTY_FUNCTION__.__arm_2d_cccn888_sw_tile_fill_with_des_mask_and_only = external hidden unnamed_addr constant [89 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
declare dso_local void @__arm_2d_impl_cccn888_des_msk_fill(ptr noalias noundef, i16 noundef signext, ptr noalias noundef, ptr noalias noundef, i16 noundef signext, ptr noalias noundef, ptr noalias noundef, i16 noundef signext, ptr noalias noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @__arm_2d_impl_cccn888_1h_des_msk_fill(ptr noalias noundef, i16 noundef signext, ptr noalias noundef, ptr noalias noundef, i16 noundef signext, ptr noalias noundef, ptr noalias noundef, i16 noundef signext, ptr noalias noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @__arm_2d_impl_cccn888_des_chn_msk_fill(ptr noalias noundef, i16 noundef signext, ptr noalias noundef, ptr noalias noundef, i16 noundef signext, ptr noalias noundef, ptr noalias noundef, i16 noundef signext, ptr noalias noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -2, 1) i32 @__arm_2d_cccn888_sw_tile_fill_with_des_mask_and_only(ptr noundef %0) local_unnamed_addr #1 {
  %2 = getelementptr inbounds i8, ptr %0, i64 8
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = icmp eq ptr %3, null
  %spec.store.select = select i1 %4, ptr getelementptr inbounds (i8, ptr @ARM_2D_CTRL, i64 56), ptr %3
  %5 = getelementptr inbounds i8, ptr %spec.store.select, i64 8
  %6 = load ptr, ptr %5, align 8, !tbaa !11
  %7 = load i8, ptr %6, align 8
  %8 = and i8 %7, 14
  %9 = icmp eq i8 %8, 10
  br i1 %9, label %11, label %10

10:                                               ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.33, i32 noundef 161, ptr noundef nonnull @__PRETTY_FUNCTION__.__arm_2d_cccn888_sw_tile_fill_with_des_mask_and_only) #2
  unreachable

11:                                               ; preds = %1
  %12 = getelementptr inbounds i8, ptr %spec.store.select, i64 88
  %13 = load ptr, ptr %12, align 8, !tbaa !21
  %.not = icmp eq ptr %13, null
  br i1 %.not, label %14, label %15

14:                                               ; preds = %11
  tail call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.33, i32 noundef 164, ptr noundef nonnull @__PRETTY_FUNCTION__.__arm_2d_cccn888_sw_tile_fill_with_des_mask_and_only) #2
  unreachable

15:                                               ; preds = %11
  %16 = getelementptr inbounds i8, ptr %0, i64 24
  %17 = getelementptr inbounds i8, ptr %0, i64 144
  %18 = getelementptr inbounds i8, ptr %0, i64 159
  %19 = load i8, ptr %18, align 1
  %20 = and i8 %19, 1
  %.not38 = icmp eq i8 %20, 0
  br i1 %.not38, label %21, label %64

21:                                               ; preds = %15
  %22 = getelementptr inbounds i8, ptr %0, i64 158
  %23 = load i8, ptr %22, align 2, !tbaa !22
  switch i8 %23, label %44 [
    i8 107, label %24
    i8 6, label %45
  ]

24:                                               ; preds = %21
  %25 = getelementptr inbounds i8, ptr %0, i64 166
  %26 = load i16, ptr %25, align 2, !tbaa !22
  %27 = getelementptr inbounds i8, ptr %0, i64 86
  %28 = load i16, ptr %27, align 2, !tbaa !22
  %.not39 = icmp slt i16 %26, %28
  br i1 %.not39, label %29, label %30

29:                                               ; preds = %24
  tail call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.33, i32 noundef 182, ptr noundef nonnull @__PRETTY_FUNCTION__.__arm_2d_cccn888_sw_tile_fill_with_des_mask_and_only) #2
  unreachable

30:                                               ; preds = %24
  %31 = getelementptr inbounds i8, ptr %0, i64 84
  %32 = getelementptr inbounds i8, ptr %0, i64 64
  %33 = getelementptr inbounds i8, ptr %0, i64 164
  %34 = load ptr, ptr %16, align 8, !tbaa !22
  %35 = getelementptr inbounds i8, ptr %0, i64 36
  %36 = load i16, ptr %35, align 4, !tbaa !22
  %37 = getelementptr inbounds i8, ptr %0, i64 44
  %38 = load ptr, ptr %32, align 8, !tbaa !22
  %39 = getelementptr inbounds i8, ptr %0, i64 76
  %40 = load i16, ptr %39, align 4, !tbaa !22
  %41 = load ptr, ptr %17, align 8, !tbaa !22
  %42 = getelementptr inbounds i8, ptr %0, i64 156
  %43 = load i16, ptr %42, align 4, !tbaa !22
  tail call void @__arm_2d_impl_cccn888_des_chn_msk_fill(ptr noundef %34, i16 noundef signext %36, ptr noundef nonnull %37, ptr noundef %38, i16 noundef signext %40, ptr noundef nonnull %31, ptr noundef %41, i16 noundef signext %43, ptr noundef nonnull %33)
  br label %64

44:                                               ; preds = %21
  tail call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.33, i32 noundef 210, ptr noundef nonnull @__PRETTY_FUNCTION__.__arm_2d_cccn888_sw_tile_fill_with_des_mask_and_only) #2
  unreachable

45:                                               ; preds = %21
  %46 = getelementptr inbounds i8, ptr %0, i64 164
  %47 = getelementptr inbounds i8, ptr %0, i64 166
  %48 = load i16, ptr %47, align 2, !tbaa !22
  %49 = icmp sgt i16 %48, 1
  %50 = load ptr, ptr %16, align 8, !tbaa !22
  %51 = getelementptr inbounds i8, ptr %0, i64 36
  %52 = load i16, ptr %51, align 4, !tbaa !22
  %53 = getelementptr inbounds i8, ptr %0, i64 44
  %54 = getelementptr inbounds i8, ptr %0, i64 64
  %55 = load ptr, ptr %54, align 8, !tbaa !22
  %56 = getelementptr inbounds i8, ptr %0, i64 76
  %57 = load i16, ptr %56, align 4, !tbaa !22
  %58 = getelementptr inbounds i8, ptr %0, i64 84
  %59 = load ptr, ptr %17, align 8, !tbaa !22
  %60 = getelementptr inbounds i8, ptr %0, i64 156
  %61 = load i16, ptr %60, align 4, !tbaa !22
  br i1 %49, label %62, label %63

62:                                               ; preds = %45
  tail call void @__arm_2d_impl_cccn888_des_msk_fill(ptr noundef %50, i16 noundef signext %52, ptr noundef nonnull %53, ptr noundef %55, i16 noundef signext %57, ptr noundef nonnull %58, ptr noundef %59, i16 noundef signext %61, ptr noundef nonnull %46)
  br label %64

63:                                               ; preds = %45
  tail call void @__arm_2d_impl_cccn888_1h_des_msk_fill(ptr noundef %50, i16 noundef signext %52, ptr noundef nonnull %53, ptr noundef %55, i16 noundef signext %57, ptr noundef nonnull %58, ptr noundef %59, i16 noundef signext %61, ptr noundef nonnull %46)
  br label %64

64:                                               ; preds = %30, %63, %62, %15
  %.0 = phi i32 [ -2, %15 ], [ 0, %62 ], [ 0, %63 ], [ 0, %30 ]
  ret i32 %.0
}

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 = { noreturn 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 8}
!6 = !{!"__arm_2d_sub_task_t", !7, i64 0}
!7 = !{!"", !8, i64 0, !8, i64 8, !9, i64 16, !9, i64 17, !9, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 8}
!12 = !{!"arm_2d_op_src_msk_t", !13, i64 0, !18, i64 48, !19, i64 64, !20, i64 72, !18, i64 80}
!13 = !{!"arm_2d_op_core_t", !14, i64 0, !17, i64 40}
!14 = !{!"", !8, i64 0, !8, i64 8, !15, i64 16, !9, i64 17, !9, i64 18, !16, i64 24}
!15 = !{!"", !9, i64 0}
!16 = !{!"arm_2d_op_evt_t", !8, i64 0, !8, i64 8}
!17 = !{!"long", !9, i64 0}
!18 = !{!"", !8, i64 0, !8, i64 8}
!19 = !{!"", !8, i64 0}
!20 = !{!"int", !9, i64 0}
!21 = !{!12, !8, i64 88}
!22 = !{!9, !9, i64 0}


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