; LLVM IR from libxsmm/libxsmm :: src (generator_aarch64_instructions)

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

@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@.str.27 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [99 x i8], align 1
@__func__.libxsmm_aarch64_instruction_alu_pair_move = external hidden unnamed_addr constant [42 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [89 x i8], align 1

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

declare void @libxsmm_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_aarch64_instruction_alu_pair_move(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2 {
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  store i32 %5, ptr %12, align 4, !tbaa !9
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %18, i32 0, i32 6
  %20 = load i32, ptr %19, align 4, !tbaa !11
  %21 = icmp ult i32 %20, 2001
  br i1 %21, label %22, label %33

22:                                               ; preds = %6
  %23 = load ptr, ptr @stderr, align 8, !tbaa !5
  %24 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str.62) #4
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %27 = icmp ult i32 1, %26
  br i1 %27, label %28, label %30

28:                                               ; preds = %22
  %29 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %31

30:                                               ; preds = %22
  br label %31

31:                                               ; preds = %30, %28
  %32 = phi i32 [ %29, %28 ], [ 1, %30 ]
  call void @libxsmm_handle_error(ptr noundef %25, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_pair_move, ptr noundef @.str.1, i32 noundef 1572, i32 noundef %32)
  br label %180

33:                                               ; preds = %6
  %34 = load i32, ptr %8, align 4, !tbaa !9
  switch i32 %34, label %36 [
    i32 692060167, label %35
    i32 683671559, label %35
    i32 700448775, label %35
    i32 675282951, label %35
    i32 687865863, label %35
    i32 679477255, label %35
    i32 696254471, label %35
    i32 671088647, label %35
  ]

35:                                               ; preds = %33, %33, %33, %33, %33, %33, %33, %33
  br label %48

36:                                               ; preds = %33
  %37 = load ptr, ptr @stderr, align 8, !tbaa !5
  %38 = load i32, ptr %8, align 4, !tbaa !9
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str.63, i32 noundef %38) #4
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %42 = icmp ult i32 1, %41
  br i1 %42, label %43, label %45

43:                                               ; preds = %36
  %44 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %46

45:                                               ; preds = %36
  br label %46

46:                                               ; preds = %45, %43
  %47 = phi i32 [ %44, %43 ], [ 1, %45 ]
  call void @libxsmm_handle_error(ptr noundef %40, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_pair_move, ptr noundef @.str.1, i32 noundef 1588, i32 noundef %47)
  br label %180

48:                                               ; preds = %35
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %49, i32 0, i32 3
  %51 = load i32, ptr %50, align 8, !tbaa !13
  %52 = icmp ugt i32 %51, 1
  br i1 %52, label %53, label %169

53:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %54, i32 0, i32 2
  %56 = load i32, ptr %55, align 4, !tbaa !14
  %57 = udiv i32 %56, 4
  store i32 %57, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %58, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8, !tbaa !15
  store ptr %60, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #4
  store i8 0, ptr %15, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #4
  store i8 0, ptr %16, align 1, !tbaa !16
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %61, i32 0, i32 1
  %63 = load i32, ptr %62, align 8, !tbaa !17
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %64, i32 0, i32 2
  %66 = load i32, ptr %65, align 4, !tbaa !14
  %67 = sub i32 %63, %66
  %68 = icmp ult i32 %67, 4
  br i1 %68, label %69, label %78

69:                                               ; preds = %53
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %72 = icmp ult i32 1, %71
  br i1 %72, label %73, label %75

73:                                               ; preds = %69
  %74 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %76

75:                                               ; preds = %69
  br label %76

76:                                               ; preds = %75, %73
  %77 = phi i32 [ %74, %73 ], [ 1, %75 ]
  call void @libxsmm_handle_error(ptr noundef %70, i32 noundef 90002, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_pair_move, ptr noundef @.str.1, i32 noundef 1600, i32 noundef %77)
  store i32 1, ptr %17, align 4
  br label %166

78:                                               ; preds = %53
  %79 = load i32, ptr %11, align 4, !tbaa !9
  %80 = and i32 32, %79
  %81 = icmp eq i32 %80, 32
  br i1 %81, label %82, label %86

82:                                               ; preds = %78
  store i8 1, ptr %15, align 1, !tbaa !16
  %83 = load i32, ptr %10, align 4, !tbaa !9
  %84 = sdiv i32 %83, 8
  %85 = trunc i32 %84 to i8
  store i8 %85, ptr %16, align 1, !tbaa !16
  br label %90

86:                                               ; preds = %78
  store i8 0, ptr %15, align 1, !tbaa !16
  %87 = load i32, ptr %10, align 4, !tbaa !9
  %88 = sdiv i32 %87, 4
  %89 = trunc i32 %88 to i8
  store i8 %89, ptr %16, align 1, !tbaa !16
  br label %90

90:                                               ; preds = %86, %82
  %91 = load i8, ptr %16, align 1, !tbaa !16
  %92 = sext i8 %91 to i32
  %93 = icmp slt i32 %92, -64
  br i1 %93, label %98, label %94

94:                                               ; preds = %90
  %95 = load i8, ptr %16, align 1, !tbaa !16
  %96 = sext i8 %95 to i32
  %97 = icmp sgt i32 %96, 63
  br i1 %97, label %98, label %110

98:                                               ; preds = %94, %90
  %99 = load ptr, ptr @stderr, align 8, !tbaa !5
  %100 = load i32, ptr %10, align 4, !tbaa !9
  %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef @.str.27, i32 noundef %100) #4
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %104 = icmp ult i32 1, %103
  br i1 %104, label %105, label %107

105:                                              ; preds = %98
  %106 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %108

107:                                              ; preds = %98
  br label %108

108:                                              ; preds = %107, %105
  %109 = phi i32 [ %106, %105 ], [ 1, %107 ]
  call void @libxsmm_handle_error(ptr noundef %102, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_pair_move, ptr noundef @.str.1, i32 noundef 1614, i32 noundef %109)
  store i32 1, ptr %17, align 4
  br label %166

110:                                              ; preds = %94
  %111 = load i32, ptr %8, align 4, !tbaa !9
  %112 = and i32 -256, %111
  %113 = load ptr, ptr %14, align 8, !tbaa !5
  %114 = load i32, ptr %13, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  %116 = getelementptr inbounds i32, ptr %113, i64 %115
  store i32 %112, ptr %116, align 4, !tbaa !9
  %117 = load i32, ptr %11, align 4, !tbaa !9
  %118 = and i32 31, %117
  %119 = load ptr, ptr %14, align 8, !tbaa !5
  %120 = load i32, ptr %13, align 4, !tbaa !9
  %121 = zext i32 %120 to i64
  %122 = getelementptr inbounds i32, ptr %119, i64 %121
  %123 = load i32, ptr %122, align 4, !tbaa !9
  %124 = or i32 %123, %118
  store i32 %124, ptr %122, align 4, !tbaa !9
  %125 = load i32, ptr %9, align 4, !tbaa !9
  %126 = and i32 31, %125
  %127 = shl i32 %126, 5
  %128 = load ptr, ptr %14, align 8, !tbaa !5
  %129 = load i32, ptr %13, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds i32, ptr %128, i64 %130
  %132 = load i32, ptr %131, align 4, !tbaa !9
  %133 = or i32 %132, %127
  store i32 %133, ptr %131, align 4, !tbaa !9
  %134 = load i32, ptr %12, align 4, !tbaa !9
  %135 = and i32 31, %134
  %136 = shl i32 %135, 10
  %137 = load ptr, ptr %14, align 8, !tbaa !5
  %138 = load i32, ptr %13, align 4, !tbaa !9
  %139 = zext i32 %138 to i64
  %140 = getelementptr inbounds i32, ptr %137, i64 %139
  %141 = load i32, ptr %140, align 4, !tbaa !9
  %142 = or i32 %141, %136
  store i32 %142, ptr %140, align 4, !tbaa !9
  %143 = load i8, ptr %16, align 1, !tbaa !16
  %144 = sext i8 %143 to i32
  %145 = and i32 127, %144
  %146 = shl i32 %145, 15
  %147 = load ptr, ptr %14, align 8, !tbaa !5
  %148 = load i32, ptr %13, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = getelementptr inbounds i32, ptr %147, i64 %149
  %151 = load i32, ptr %150, align 4, !tbaa !9
  %152 = or i32 %151, %146
  store i32 %152, ptr %150, align 4, !tbaa !9
  %153 = load i8, ptr %15, align 1, !tbaa !16
  %154 = zext i8 %153 to i32
  %155 = shl i32 %154, 31
  %156 = load ptr, ptr %14, align 8, !tbaa !5
  %157 = load i32, ptr %13, align 4, !tbaa !9
  %158 = zext i32 %157 to i64
  %159 = getelementptr inbounds i32, ptr %156, i64 %158
  %160 = load i32, ptr %159, align 4, !tbaa !9
  %161 = or i32 %160, %155
  store i32 %161, ptr %159, align 4, !tbaa !9
  %162 = load ptr, ptr %7, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %162, i32 0, i32 2
  %164 = load i32, ptr %163, align 4, !tbaa !14
  %165 = add i32 %164, 4
  store i32 %165, ptr %163, align 4, !tbaa !14
  store i32 0, ptr %17, align 4
  br label %166

166:                                              ; preds = %110, %108, %76
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  %167 = load i32, ptr %17, align 4
  switch i32 %167, label %181 [
    i32 0, label %168
    i32 1, label %180
  ]

168:                                              ; preds = %166
  br label %180

169:                                              ; preds = %48
  %170 = load ptr, ptr @stderr, align 8, !tbaa !5
  %171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %170, ptr noundef @.str.64) #4
  %172 = load ptr, ptr %7, align 8, !tbaa !5
  %173 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %174 = icmp ult i32 1, %173
  br i1 %174, label %175, label %177

175:                                              ; preds = %169
  %176 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %178

177:                                              ; preds = %169
  br label %178

178:                                              ; preds = %177, %175
  %179 = phi i32 [ %176, %175 ], [ 1, %177 ]
  call void @libxsmm_handle_error(ptr noundef %172, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_pair_move, ptr noundef @.str.1, i32 noundef 1636, i32 noundef %179)
  br label %180

180:                                              ; preds = %178, %168, %166, %46, %31
  ret void

181:                                              ; preds = %166
  unreachable
}

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

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

attributes #0 = { 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 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 28}
!12 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!13 = !{!12, !10, i64 16}
!14 = !{!12, !10, i64 12}
!15 = !{!12, !6, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!12, !10, i64 8}


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

@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@.str.27 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [99 x i8], align 1
@__func__.libxsmm_aarch64_instruction_alu_pair_move = external hidden unnamed_addr constant [42 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [89 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_aarch64_instruction_alu_pair_move(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #2 {
  %7 = getelementptr inbounds i8, ptr %0, i64 28
  %8 = load i32, ptr %7, align 4, !tbaa !5
  %9 = icmp ult i32 %8, 2001
  br i1 %9, label %10, label %17

10:                                               ; preds = %6
  %11 = load ptr, ptr @stderr, align 8, !tbaa !11
  %12 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.62) #4
  %13 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %14 = icmp ugt i32 %13, 1
  %15 = load i32, ptr @libxsmm_verbosity, align 4
  %16 = select i1 %14, i32 %15, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_alu_pair_move, ptr noundef nonnull @.str.1, i32 noundef 1572, i32 noundef %16) #5
  br label %82

17:                                               ; preds = %6
  %18 = add i32 %1, -671088647
  %19 = tail call i32 @llvm.fshl.i32(i32 %18, i32 %18, i32 10)
  %switch = icmp ult i32 %19, 8
  br i1 %switch, label %27, label %20

20:                                               ; preds = %17
  %21 = load ptr, ptr @stderr, align 8, !tbaa !11
  %22 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef nonnull @.str.63, i32 noundef %1) #4
  %23 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %24 = icmp ugt i32 %23, 1
  %25 = load i32, ptr @libxsmm_verbosity, align 4
  %26 = select i1 %24, i32 %25, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_alu_pair_move, ptr noundef nonnull @.str.1, i32 noundef 1588, i32 noundef %26) #5
  br label %82

27:                                               ; preds = %17
  %28 = getelementptr inbounds i8, ptr %0, i64 16
  %29 = load i32, ptr %28, align 8, !tbaa !13
  %30 = icmp ugt i32 %29, 1
  br i1 %30, label %31, label %75

31:                                               ; preds = %27
  %32 = getelementptr inbounds i8, ptr %0, i64 12
  %33 = load i32, ptr %32, align 4, !tbaa !14
  %34 = lshr i32 %33, 2
  %35 = load ptr, ptr %0, align 8, !tbaa !15
  %36 = getelementptr inbounds i8, ptr %0, i64 8
  %37 = load i32, ptr %36, align 8, !tbaa !16
  %38 = sub i32 %37, %33
  %39 = icmp ult i32 %38, 4
  br i1 %39, label %40, label %45

40:                                               ; preds = %31
  %41 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %42 = icmp ugt i32 %41, 1
  %43 = load i32, ptr @libxsmm_verbosity, align 4
  %44 = select i1 %42, i32 %43, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90002, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_alu_pair_move, ptr noundef nonnull @.str.1, i32 noundef 1600, i32 noundef %44) #5
  br label %82

45:                                               ; preds = %31
  %46 = and i32 %4, 32
  %.not = icmp eq i32 %46, 0
  %. = select i1 %.not, i32 4, i32 8
  %47 = sdiv i32 %3, %.
  %sext = shl i32 %47, 24
  %48 = ashr exact i32 %sext, 24
  %49 = add nsw i32 %48, -64
  %or.cond = icmp ult i32 %49, -128
  br i1 %or.cond, label %50, label %57

50:                                               ; preds = %45
  %51 = load ptr, ptr @stderr, align 8, !tbaa !11
  %52 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.27, i32 noundef %3) #4
  %53 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %54 = icmp ugt i32 %53, 1
  %55 = load i32, ptr @libxsmm_verbosity, align 4
  %56 = select i1 %54, i32 %55, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_alu_pair_move, ptr noundef nonnull @.str.1, i32 noundef 1614, i32 noundef %56) #5
  br label %82

57:                                               ; preds = %45
  %.41 = shl nuw i32 %46, 26
  %58 = and i32 %1, -256
  %59 = zext nneg i32 %34 to i64
  %60 = getelementptr inbounds i32, ptr %35, i64 %59
  %61 = and i32 %4, 31
  %62 = shl i32 %2, 5
  %63 = and i32 %62, 992
  %64 = shl i32 %5, 10
  %65 = and i32 %64, 31744
  %66 = shl i32 %47, 15
  %67 = and i32 %66, 4161536
  %68 = or i32 %63, %58
  %69 = or disjoint i32 %68, %61
  %70 = or i32 %69, %65
  %71 = or i32 %70, %.41
  %72 = or i32 %71, %67
  store i32 %72, ptr %60, align 4, !tbaa !12
  %73 = load i32, ptr %32, align 4, !tbaa !14
  %74 = add i32 %73, 4
  store i32 %74, ptr %32, align 4, !tbaa !14
  br label %82

75:                                               ; preds = %27
  %76 = load ptr, ptr @stderr, align 8, !tbaa !11
  %77 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef nonnull @.str.64) #4
  %78 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %79 = icmp ugt i32 %78, 1
  %80 = load i32, ptr @libxsmm_verbosity, align 4
  %81 = select i1 %79, i32 %80, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_alu_pair_move, ptr noundef nonnull @.str.1, i32 noundef 1636, i32 noundef %81) #5
  br label %82

82:                                               ; preds = %40, %50, %57, %75, %20, %10
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.fshl.i32(i32, i32, i32) #3

attributes #0 = { 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { cold 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, !10, i64 28}
!6 = !{!"libxsmm_generated_code", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !10, i64 16}
!14 = !{!6, !10, i64 12}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !10, i64 8}


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