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

; 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_gemm_descriptor = type <{ i32, i32, i32, i32, i32, i32, i32, i8, [3 x i8], i8, i64, i64, i8, i32, i32, i32, i16, i16, i8, i8, i8, i8, i16, i16, i16, i16, i16, i16, i32, i32, i32, i8 }>
%struct.libxsmm_micro_kernel_config = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], i32, [2 x %struct.libxsmm_blocking_info_t], %struct.libxsmm_tile_config, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_blocking_info_t = type { i32, [4 x i32], i32, i32 }
%struct.libxsmm_tile_config = type { i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8 }
%struct.libxsmm_gp_reg_mapping_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }

declare void @libxsmm_generator_gemm_getval_stack_var(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #0

declare void @libxsmm_x86_instruction_alu_reg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #0

declare void @libxsmm_x86_instruction_alu_imm(ptr noundef, i32 noundef, i32 noundef, i64 noundef) #0

declare void @libxsmm_x86_instruction_alu_mem(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_brgemm_amx_set_gp_reg_zpt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #1 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store i32 %4, ptr %11, align 4, !tbaa !9
  store i32 %5, ptr %12, align 4, !tbaa !9
  %13 = load ptr, ptr %10, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %13, i32 0, i32 6
  %15 = load i32, ptr %14, align 1, !tbaa !11
  %16 = and i32 %15, 262144
  %17 = icmp ugt i32 %16, 0
  br i1 %17, label %18, label %54

18:                                               ; preds = %6
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %19, i32 noundef 2)
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  %21 = load ptr, ptr %9, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %21, i32 0, i32 20
  %23 = load i32, ptr %22, align 8, !tbaa !15
  %24 = load ptr, ptr %8, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %24, i32 0, i32 14
  %26 = load i32, ptr %25, align 4, !tbaa !18
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef %20, i32 noundef %23, i32 noundef %26, i32 noundef 2)
  %27 = load i32, ptr %12, align 4, !tbaa !9
  %28 = icmp ugt i32 %27, 0
  br i1 %28, label %29, label %36

29:                                               ; preds = %18
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %31, i32 0, i32 16
  %33 = load i32, ptr %32, align 8, !tbaa !20
  %34 = load i32, ptr %12, align 4, !tbaa !9
  %35 = zext i32 %34 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %30, i32 noundef %33, i32 noundef 2, i64 noundef %35)
  br label %36

36:                                               ; preds = %29, %18
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %38, i32 0, i32 3
  %40 = load i32, ptr %39, align 1, !tbaa !21
  %41 = zext i32 %40 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %37, i32 noundef 30003, i32 noundef 2, i64 noundef %41)
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = load i32, ptr %11, align 4, !tbaa !9
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %42, ptr noundef %43, i32 noundef 31, i32 noundef %44)
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = load ptr, ptr %9, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %46, i32 0, i32 16
  %48 = load i32, ptr %47, align 8, !tbaa !20
  %49 = load i32, ptr %11, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef %45, i32 noundef %48, i32 noundef 2, i32 noundef %49)
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = load i32, ptr %11, align 4, !tbaa !9
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %50, ptr noundef %51, i32 noundef 35, i32 noundef %52)
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %53, i32 noundef 2)
  br label %132

54:                                               ; preds = %6
  %55 = load ptr, ptr %10, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %55, i32 0, i32 6
  %57 = load i32, ptr %56, align 1, !tbaa !11
  %58 = and i32 %57, 65536
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %60, label %78

60:                                               ; preds = %54
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = load ptr, ptr %9, align 8, !tbaa !5
  %63 = load i32, ptr %11, align 4, !tbaa !9
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %61, ptr noundef %62, i32 noundef 31, i32 noundef %63)
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %65, i32 0, i32 20
  %67 = load i32, ptr %66, align 8, !tbaa !15
  %68 = load i32, ptr %11, align 4, !tbaa !9
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %69, i32 0, i32 14
  %71 = load i32, ptr %70, align 4, !tbaa !18
  %72 = load i32, ptr %12, align 4, !tbaa !9
  %73 = mul i32 %72, 8
  %74 = load i32, ptr %11, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %64, i32 noundef %67, i32 noundef %68, i32 noundef %71, i32 noundef 8, i32 noundef %73, i32 noundef %74, i32 noundef 0)
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = load ptr, ptr %9, align 8, !tbaa !5
  %77 = load i32, ptr %11, align 4, !tbaa !9
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %75, ptr noundef %76, i32 noundef 35, i32 noundef %77)
  br label %131

78:                                               ; preds = %54
  %79 = load ptr, ptr %10, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %79, i32 0, i32 6
  %81 = load i32, ptr %80, align 1, !tbaa !11
  %82 = and i32 %81, 131072
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %129

84:                                               ; preds = %78
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %85, i32 noundef 2)
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %86, i32 noundef 0)
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %88, i32 0, i32 20
  %90 = load i32, ptr %89, align 8, !tbaa !15
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %87, i32 noundef %90, i32 noundef 2, i64 noundef 0)
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %92, i32 0, i32 20
  %94 = load i32, ptr %93, align 8, !tbaa !15
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %95, i32 0, i32 7
  %97 = load i32, ptr %96, align 4, !tbaa !22
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %98, i32 0, i32 14
  %100 = load i32, ptr %99, align 4, !tbaa !18
  %101 = load i32, ptr %12, align 4, !tbaa !9
  %102 = mul i32 %101, 8
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %91, i32 noundef %94, i32 noundef %97, i32 noundef %100, i32 noundef 8, i32 noundef %102, i32 noundef 0, i32 noundef 0)
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %104, i32 0, i32 20
  %106 = load i32, ptr %105, align 8, !tbaa !15
  %107 = load i32, ptr %11, align 4, !tbaa !9
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %108, i32 0, i32 2
  %110 = load i32, ptr %109, align 1, !tbaa !23
  %111 = zext i32 %110 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %103, i32 noundef %106, i32 noundef %107, i64 noundef %111)
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = load i32, ptr %11, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %112, i32 noundef 30006, i32 noundef %113, i64 noundef 1)
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = load i32, ptr %11, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef %114, i32 noundef -1636564745, i32 noundef 127, i32 noundef %115)
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = load ptr, ptr %9, align 8, !tbaa !5
  %118 = load i32, ptr %11, align 4, !tbaa !9
  call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %116, ptr noundef %117, i32 noundef 31, i32 noundef %118)
  %119 = load ptr, ptr %7, align 8, !tbaa !5
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %120, i32 0, i32 16
  %122 = load i32, ptr %121, align 8, !tbaa !20
  %123 = load i32, ptr %11, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef %119, i32 noundef %122, i32 noundef 0, i32 noundef %123)
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  %125 = load ptr, ptr %9, align 8, !tbaa !5
  %126 = load i32, ptr %11, align 4, !tbaa !9
  call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %124, ptr noundef %125, i32 noundef 35, i32 noundef %126)
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %127, i32 noundef 0)
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %128, i32 noundef 2)
  br label %130

129:                                              ; preds = %78
  br label %130

130:                                              ; preds = %129, %84
  br label %131

131:                                              ; preds = %130, %60
  br label %132

132:                                              ; preds = %131, %36
  ret void
}

declare void @libxsmm_x86_instruction_push_reg(ptr noundef, i32 noundef) #0

declare void @libxsmm_generator_gemm_setval_stack_var(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #0

declare void @libxsmm_x86_instruction_pop_reg(ptr noundef, i32 noundef) #0

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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" }

!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 24}
!12 = !{!"libxsmm_gemm_descriptor", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 28, !7, i64 29, !7, i64 32, !13, i64 33, !13, i64 41, !7, i64 49, !10, i64 50, !10, i64 54, !10, i64 58, !14, i64 62, !14, i64 64, !7, i64 66, !7, i64 67, !7, i64 68, !7, i64 69, !14, i64 70, !14, i64 72, !14, i64 74, !14, i64 76, !14, i64 78, !14, i64 80, !10, i64 82, !10, i64 86, !10, i64 90, !7, i64 94}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!16, !10, i64 80}
!16 = !{!"libxsmm_micro_kernel_config", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !7, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !7, i64 364, !7, i64 380, !7, i64 396, !7, i64 412, !7, i64 428, !7, i64 444, !10, i64 460, !7, i64 464, !17, i64 520, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !6, i64 592, !10, i64 600, !10, i64 604, !10, i64 608, !10, i64 612, !6, i64 616, !10, i64 624, !10, i64 628, !10, i64 632, !10, i64 636, !10, i64 640, !10, i64 644, !10, i64 648, !10, i64 652, !10, i64 656, !10, i64 660, !10, i64 664, !10, i64 668, !10, i64 672, !10, i64 676, !10, i64 680}
!17 = !{!"libxsmm_tile_config", !7, i64 0, !14, i64 2, !7, i64 4, !14, i64 6, !7, i64 8, !14, i64 10, !7, i64 12, !14, i64 14, !7, i64 16, !14, i64 18, !7, i64 20, !14, i64 22, !7, i64 24, !14, i64 26, !7, i64 28, !14, i64 30, !7, i64 32}
!18 = !{!19, !10, i64 56}
!19 = !{!"libxsmm_gp_reg_mapping_struct", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128}
!20 = !{!16, !10, i64 64}
!21 = !{!12, !10, i64 12}
!22 = !{!19, !10, i64 28}
!23 = !{!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"

declare void @libxsmm_generator_gemm_getval_stack_var(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_alu_reg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_alu_imm(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_alu_mem(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_brgemm_amx_set_gp_reg_zpt(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #1 {
  %7 = getelementptr inbounds i8, ptr %3, i64 24
  %8 = load i32, ptr %7, align 1, !tbaa !5
  %9 = and i32 %8, 262144
  %.not = icmp eq i32 %9, 0
  br i1 %.not, label %25, label %10

10:                                               ; preds = %6
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef 2) #2
  %11 = getelementptr inbounds i8, ptr %2, i64 80
  %12 = load i32, ptr %11, align 8, !tbaa !12
  %13 = getelementptr inbounds i8, ptr %1, i64 56
  %14 = load i32, ptr %13, align 4, !tbaa !16
  tail call void @libxsmm_x86_instruction_alu_reg(ptr noundef %0, i32 noundef %12, i32 noundef %14, i32 noundef 2) #2
  %.not64 = icmp eq i32 %5, 0
  br i1 %.not64, label %19, label %15

15:                                               ; preds = %10
  %16 = getelementptr inbounds i8, ptr %2, i64 64
  %17 = load i32, ptr %16, align 8, !tbaa !18
  %18 = zext i32 %5 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %17, i32 noundef 2, i64 noundef %18) #2
  br label %19

19:                                               ; preds = %15, %10
  %20 = getelementptr inbounds i8, ptr %3, i64 12
  %21 = load i32, ptr %20, align 1, !tbaa !19
  %22 = zext i32 %21 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30003, i32 noundef 2, i64 noundef %22) #2
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 31, i32 noundef %4) #2
  %23 = getelementptr inbounds i8, ptr %2, i64 64
  %24 = load i32, ptr %23, align 8, !tbaa !18
  tail call void @libxsmm_x86_instruction_alu_reg(ptr noundef %0, i32 noundef %24, i32 noundef 2, i32 noundef %4) #2
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 35, i32 noundef %4) #2
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef 2) #2
  br label %50

25:                                               ; preds = %6
  %26 = and i32 %8, 65536
  %.not62 = icmp eq i32 %26, 0
  br i1 %.not62, label %33, label %27

27:                                               ; preds = %25
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef %2, i32 noundef 31, i32 noundef %4) #2
  %28 = getelementptr inbounds i8, ptr %2, i64 80
  %29 = load i32, ptr %28, align 8, !tbaa !12
  %30 = getelementptr inbounds i8, ptr %1, i64 56
  %31 = load i32, ptr %30, align 4, !tbaa !16
  %32 = shl i32 %5, 3
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %29, i32 noundef %4, i32 noundef %31, i32 noundef 8, i32 noundef %32, i32 noundef %4, i32 noundef 0) #2
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef %2, i32 noundef 35, i32 noundef %4) #2
  br label %50

33:                                               ; preds = %25
  %34 = and i32 %8, 131072
  %.not63 = icmp eq i32 %34, 0
  br i1 %.not63, label %50, label %35

35:                                               ; preds = %33
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef 2) #2
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef 0) #2
  %36 = getelementptr inbounds i8, ptr %2, i64 80
  %37 = load i32, ptr %36, align 8, !tbaa !12
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %37, i32 noundef 2, i64 noundef 0) #2
  %38 = load i32, ptr %36, align 8, !tbaa !12
  %39 = getelementptr inbounds i8, ptr %1, i64 28
  %40 = load i32, ptr %39, align 4, !tbaa !20
  %41 = getelementptr inbounds i8, ptr %1, i64 56
  %42 = load i32, ptr %41, align 4, !tbaa !16
  %43 = shl i32 %5, 3
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %38, i32 noundef %40, i32 noundef %42, i32 noundef 8, i32 noundef %43, i32 noundef 0, i32 noundef 0) #2
  %44 = load i32, ptr %36, align 8, !tbaa !12
  %45 = getelementptr inbounds i8, ptr %3, i64 8
  %46 = load i32, ptr %45, align 1, !tbaa !21
  %47 = zext i32 %46 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %44, i32 noundef %4, i64 noundef %47) #2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30006, i32 noundef %4, i64 noundef 1) #2
  tail call void @libxsmm_x86_instruction_alu_reg(ptr noundef %0, i32 noundef -1636564745, i32 noundef 127, i32 noundef %4) #2
  tail call void @libxsmm_generator_gemm_getval_stack_var(ptr noundef %0, ptr noundef %2, i32 noundef 31, i32 noundef %4) #2
  %48 = getelementptr inbounds i8, ptr %2, i64 64
  %49 = load i32, ptr %48, align 8, !tbaa !18
  tail call void @libxsmm_x86_instruction_alu_reg(ptr noundef %0, i32 noundef %49, i32 noundef 0, i32 noundef %4) #2
  tail call void @libxsmm_generator_gemm_setval_stack_var(ptr noundef %0, ptr noundef %2, i32 noundef 35, i32 noundef %4) #2
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef 0) #2
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef 2) #2
  br label %50

50:                                               ; preds = %27, %33, %35, %19
  ret void
}

declare void @libxsmm_x86_instruction_push_reg(ptr noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_generator_gemm_setval_stack_var(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_pop_reg(ptr noundef, i32 noundef) local_unnamed_addr #0

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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 24}
!6 = !{!"libxsmm_gemm_descriptor", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !8, i64 28, !8, i64 29, !8, i64 32, !10, i64 33, !10, i64 41, !8, i64 49, !7, i64 50, !7, i64 54, !7, i64 58, !11, i64 62, !11, i64 64, !8, i64 66, !8, i64 67, !8, i64 68, !8, i64 69, !11, i64 70, !11, i64 72, !11, i64 74, !11, i64 76, !11, i64 78, !11, i64 80, !7, i64 82, !7, i64 86, !7, i64 90, !8, i64 94}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long long", !8, i64 0}
!11 = !{!"short", !8, i64 0}
!12 = !{!13, !7, i64 80}
!13 = !{!"libxsmm_micro_kernel_config", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !8, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !7, i64 156, !7, i64 160, !7, i64 164, !7, i64 168, !7, i64 172, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !7, i64 240, !7, i64 244, !7, i64 248, !7, i64 252, !7, i64 256, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296, !7, i64 300, !7, i64 304, !7, i64 308, !7, i64 312, !7, i64 316, !7, i64 320, !7, i64 324, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !7, i64 344, !7, i64 348, !7, i64 352, !7, i64 356, !7, i64 360, !8, i64 364, !8, i64 380, !8, i64 396, !8, i64 412, !8, i64 428, !8, i64 444, !7, i64 460, !8, i64 464, !14, i64 520, !7, i64 556, !7, i64 560, !7, i64 564, !7, i64 568, !7, i64 572, !7, i64 576, !7, i64 580, !7, i64 584, !15, i64 592, !7, i64 600, !7, i64 604, !7, i64 608, !7, i64 612, !15, i64 616, !7, i64 624, !7, i64 628, !7, i64 632, !7, i64 636, !7, i64 640, !7, i64 644, !7, i64 648, !7, i64 652, !7, i64 656, !7, i64 660, !7, i64 664, !7, i64 668, !7, i64 672, !7, i64 676, !7, i64 680}
!14 = !{!"libxsmm_tile_config", !8, i64 0, !11, i64 2, !8, i64 4, !11, i64 6, !8, i64 8, !11, i64 10, !8, i64 12, !11, i64 14, !8, i64 16, !11, i64 18, !8, i64 20, !11, i64 22, !8, i64 24, !11, i64 26, !8, i64 28, !11, i64 30, !8, i64 32}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!17, !7, i64 56}
!17 = !{!"libxsmm_gp_reg_mapping_struct", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128}
!18 = !{!13, !7, i64 64}
!19 = !{!6, !7, i64 12}
!20 = !{!17, !7, i64 28}
!21 = !{!6, !7, i64 8}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass