test_cases:
  -
    input:
      bytes: [ 0x18, 0x0c, 0x60, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1], z0.h, z0.h"

  -
    input:
      bytes: [ 0x5d, 0x4d, 0x65, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 10:11], z10.h, z5.h"

  -
    input:
      bytes: [ 0xbf, 0x6d, 0x68, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 14:15], z13.h, z8.h"

  -
    input:
      bytes: [ 0xff, 0x6f, 0x6f, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 14:15], z31.h, z15.h"

  -
    input:
      bytes: [ 0x3d, 0x0e, 0x60, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 10:11], z17.h, z0.h"

  -
    input:
      bytes: [ 0x39, 0x0c, 0x6e, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3], z1.h, z14.h"

  -
    input:
      bytes: [ 0x78, 0x4e, 0x64, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 0:1], z19.h, z4.h"

  -
    input:
      bytes: [ 0x98, 0x0d, 0x62, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1], z12.h, z2.h"

  -
    input:
      bytes: [ 0x39, 0x4c, 0x6a, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3], z1.h, z10.h"

  -
    input:
      bytes: [ 0xdd, 0x0e, 0x6e, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 10:11], z22.h, z14.h"

  -
    input:
      bytes: [ 0x3a, 0x6d, 0x61, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 4:5], z9.h, z1.h"

  -
    input:
      bytes: [ 0x9f, 0x2d, 0x6b, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w9, 14:15], z12.h, z11.h"

  -
    input:
      bytes: [ 0x18, 0x10, 0xc0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1], z0.h, z0.h[0]"

  -
    input:
      bytes: [ 0x5d, 0x55, 0xc5, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 10:11], z10.h, z5.h[1]"

  -
    input:
      bytes: [ 0xbf, 0xfd, 0xc8, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 14:15], z13.h, z8.h[7]"

  -
    input:
      bytes: [ 0xff, 0xff, 0xcf, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 14:15], z31.h, z15.h[7]"

  -
    input:
      bytes: [ 0x3d, 0x1e, 0xc0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 10:11], z17.h, z0.h[3]"

  -
    input:
      bytes: [ 0x39, 0x94, 0xce, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3], z1.h, z14.h[5]"

  -
    input:
      bytes: [ 0x78, 0x56, 0xc4, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 0:1], z19.h, z4.h[1]"

  -
    input:
      bytes: [ 0x98, 0x19, 0xc2, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1], z12.h, z2.h[2]"

  -
    input:
      bytes: [ 0x39, 0xd8, 0xca, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3], z1.h, z10.h[6]"

  -
    input:
      bytes: [ 0xdd, 0x1a, 0xce, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 10:11], z22.h, z14.h[2]"

  -
    input:
      bytes: [ 0x3a, 0xf5, 0xc1, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 4:5], z9.h, z1.h[5]"

  -
    input:
      bytes: [ 0x9f, 0xb9, 0xcb, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w9, 14:15], z12.h, z11.h[6]"

  -
    input:
      bytes: [ 0x18, 0x08, 0x60, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx2], { z0.h, z1.h }, z0.h"

  -
    input:
      bytes: [ 0x18, 0x08, 0x60, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx2], { z0.h, z1.h }, z0.h"

  -
    input:
      bytes: [ 0x59, 0x49, 0x65, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx2], { z10.h, z11.h }, z5.h"

  -
    input:
      bytes: [ 0x59, 0x49, 0x65, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx2], { z10.h, z11.h }, z5.h"

  -
    input:
      bytes: [ 0xbb, 0x69, 0x68, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx2], { z13.h, z14.h }, z8.h"

  -
    input:
      bytes: [ 0xbb, 0x69, 0x68, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx2], { z13.h, z14.h }, z8.h"

  -
    input:
      bytes: [ 0xfb, 0x6b, 0x6f, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx2], { z31.h, z0.h }, z15.h"

  -
    input:
      bytes: [ 0xfb, 0x6b, 0x6f, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx2], { z31.h, z0.h }, z15.h"

  -
    input:
      bytes: [ 0x39, 0x0a, 0x60, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z17.h, z18.h }, z0.h"

  -
    input:
      bytes: [ 0x39, 0x0a, 0x60, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z17.h, z18.h }, z0.h"

  -
    input:
      bytes: [ 0x39, 0x08, 0x6e, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z1.h, z2.h }, z14.h"

  -
    input:
      bytes: [ 0x39, 0x08, 0x6e, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z1.h, z2.h }, z14.h"

  -
    input:
      bytes: [ 0x78, 0x4a, 0x64, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 0:1, vgx2], { z19.h, z20.h }, z4.h"

  -
    input:
      bytes: [ 0x78, 0x4a, 0x64, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 0:1, vgx2], { z19.h, z20.h }, z4.h"

  -
    input:
      bytes: [ 0x98, 0x09, 0x62, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx2], { z12.h, z13.h }, z2.h"

  -
    input:
      bytes: [ 0x98, 0x09, 0x62, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx2], { z12.h, z13.h }, z2.h"

  -
    input:
      bytes: [ 0x39, 0x48, 0x6a, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx2], { z1.h, z2.h }, z10.h"

  -
    input:
      bytes: [ 0x39, 0x48, 0x6a, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx2], { z1.h, z2.h }, z10.h"

  -
    input:
      bytes: [ 0xd9, 0x0a, 0x6e, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z22.h, z23.h }, z14.h"

  -
    input:
      bytes: [ 0xd9, 0x0a, 0x6e, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z22.h, z23.h }, z14.h"

  -
    input:
      bytes: [ 0x3a, 0x69, 0x61, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 4:5, vgx2], { z9.h, z10.h }, z1.h"

  -
    input:
      bytes: [ 0x3a, 0x69, 0x61, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 4:5, vgx2], { z9.h, z10.h }, z1.h"

  -
    input:
      bytes: [ 0x9b, 0x29, 0x6b, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w9, 6:7, vgx2], { z12.h, z13.h }, z11.h"

  -
    input:
      bytes: [ 0x9b, 0x29, 0x6b, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w9, 6:7, vgx2], { z12.h, z13.h }, z11.h"

  -
    input:
      bytes: [ 0x18, 0x10, 0xd0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx2], { z0.h, z1.h }, z0.h[0]"

  -
    input:
      bytes: [ 0x18, 0x10, 0xd0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx2], { z0.h, z1.h }, z0.h[0]"

  -
    input:
      bytes: [ 0x5d, 0x55, 0xd5, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx2], { z10.h, z11.h }, z5.h[3]"

  -
    input:
      bytes: [ 0x5d, 0x55, 0xd5, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx2], { z10.h, z11.h }, z5.h[3]"

  -
    input:
      bytes: [ 0x9f, 0x7d, 0xd8, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx2], { z12.h, z13.h }, z8.h[7]"

  -
    input:
      bytes: [ 0x9f, 0x7d, 0xd8, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx2], { z12.h, z13.h }, z8.h[7]"

  -
    input:
      bytes: [ 0xdf, 0x7f, 0xdf, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx2], { z30.h, z31.h }, z15.h[7]"

  -
    input:
      bytes: [ 0xdf, 0x7f, 0xdf, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx2], { z30.h, z31.h }, z15.h[7]"

  -
    input:
      bytes: [ 0x1d, 0x1e, 0xd0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z16.h, z17.h }, z0.h[7]"

  -
    input:
      bytes: [ 0x1d, 0x1e, 0xd0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z16.h, z17.h }, z0.h[7]"

  -
    input:
      bytes: [ 0x19, 0x14, 0xde, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z0.h, z1.h }, z14.h[2]"

  -
    input:
      bytes: [ 0x19, 0x14, 0xde, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z0.h, z1.h }, z14.h[2]"

  -
    input:
      bytes: [ 0x58, 0x56, 0xd4, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 0:1, vgx2], { z18.h, z19.h }, z4.h[2]"

  -
    input:
      bytes: [ 0x58, 0x56, 0xd4, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 0:1, vgx2], { z18.h, z19.h }, z4.h[2]"

  -
    input:
      bytes: [ 0x98, 0x19, 0xd2, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx2], { z12.h, z13.h }, z2.h[4]"

  -
    input:
      bytes: [ 0x98, 0x19, 0xd2, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx2], { z12.h, z13.h }, z2.h[4]"

  -
    input:
      bytes: [ 0x19, 0x58, 0xda, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx2], { z0.h, z1.h }, z10.h[4]"

  -
    input:
      bytes: [ 0x19, 0x58, 0xda, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx2], { z0.h, z1.h }, z10.h[4]"

  -
    input:
      bytes: [ 0xdd, 0x1a, 0xde, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z22.h, z23.h }, z14.h[5]"

  -
    input:
      bytes: [ 0xdd, 0x1a, 0xde, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z22.h, z23.h }, z14.h[5]"

  -
    input:
      bytes: [ 0x1a, 0x75, 0xd1, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 4:5, vgx2], { z8.h, z9.h }, z1.h[2]"

  -
    input:
      bytes: [ 0x1a, 0x75, 0xd1, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 4:5, vgx2], { z8.h, z9.h }, z1.h[2]"

  -
    input:
      bytes: [ 0x9f, 0x39, 0xdb, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w9, 6:7, vgx2], { z12.h, z13.h }, z11.h[5]"

  -
    input:
      bytes: [ 0x9f, 0x39, 0xdb, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w9, 6:7, vgx2], { z12.h, z13.h }, z11.h[5]"

  -
    input:
      bytes: [ 0x18, 0x08, 0xe0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx2], { z0.h, z1.h }, { z0.h, z1.h }"

  -
    input:
      bytes: [ 0x18, 0x08, 0xe0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx2], { z0.h, z1.h }, { z0.h, z1.h }"

  -
    input:
      bytes: [ 0x59, 0x49, 0xf4, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx2], { z10.h, z11.h }, { z20.h, z21.h }"

  -
    input:
      bytes: [ 0x59, 0x49, 0xf4, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx2], { z10.h, z11.h }, { z20.h, z21.h }"

  -
    input:
      bytes: [ 0x9b, 0x69, 0xe8, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx2], { z12.h, z13.h }, { z8.h, z9.h }"

  -
    input:
      bytes: [ 0x9b, 0x69, 0xe8, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx2], { z12.h, z13.h }, { z8.h, z9.h }"

  -
    input:
      bytes: [ 0xdb, 0x6b, 0xfe, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx2], { z30.h, z31.h }, { z30.h, z31.h }"

  -
    input:
      bytes: [ 0xdb, 0x6b, 0xfe, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx2], { z30.h, z31.h }, { z30.h, z31.h }"

  -
    input:
      bytes: [ 0x19, 0x0a, 0xf0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z16.h, z17.h }, { z16.h, z17.h }"

  -
    input:
      bytes: [ 0x19, 0x0a, 0xf0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z16.h, z17.h }, { z16.h, z17.h }"

  -
    input:
      bytes: [ 0x19, 0x08, 0xfe, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z0.h, z1.h }, { z30.h, z31.h }"

  -
    input:
      bytes: [ 0x19, 0x08, 0xfe, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z0.h, z1.h }, { z30.h, z31.h }"

  -
    input:
      bytes: [ 0x58, 0x4a, 0xf4, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 0:1, vgx2], { z18.h, z19.h }, { z20.h, z21.h }"

  -
    input:
      bytes: [ 0x58, 0x4a, 0xf4, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 0:1, vgx2], { z18.h, z19.h }, { z20.h, z21.h }"

  -
    input:
      bytes: [ 0x98, 0x09, 0xe2, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx2], { z12.h, z13.h }, { z2.h, z3.h }"

  -
    input:
      bytes: [ 0x98, 0x09, 0xe2, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx2], { z12.h, z13.h }, { z2.h, z3.h }"

  -
    input:
      bytes: [ 0x19, 0x48, 0xfa, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx2], { z0.h, z1.h }, { z26.h, z27.h }"

  -
    input:
      bytes: [ 0x19, 0x48, 0xfa, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx2], { z0.h, z1.h }, { z26.h, z27.h }"

  -
    input:
      bytes: [ 0xd9, 0x0a, 0xfe, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z22.h, z23.h }, { z30.h, z31.h }"

  -
    input:
      bytes: [ 0xd9, 0x0a, 0xfe, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx2], { z22.h, z23.h }, { z30.h, z31.h }"

  -
    input:
      bytes: [ 0x1a, 0x69, 0xe0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 4:5, vgx2], { z8.h, z9.h }, { z0.h, z1.h }"

  -
    input:
      bytes: [ 0x1a, 0x69, 0xe0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 4:5, vgx2], { z8.h, z9.h }, { z0.h, z1.h }"

  -
    input:
      bytes: [ 0x9b, 0x29, 0xea, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w9, 6:7, vgx2], { z12.h, z13.h }, { z10.h, z11.h }"

  -
    input:
      bytes: [ 0x9b, 0x29, 0xea, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w9, 6:7, vgx2], { z12.h, z13.h }, { z10.h, z11.h }"

  -
    input:
      bytes: [ 0x18, 0x08, 0x70, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx4], { z0.h - z3.h }, z0.h"

  -
    input:
      bytes: [ 0x18, 0x08, 0x70, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx4], { z0.h - z3.h }, z0.h"

  -
    input:
      bytes: [ 0x59, 0x49, 0x75, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx4], { z10.h - z13.h }, z5.h"

  -
    input:
      bytes: [ 0x59, 0x49, 0x75, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx4], { z10.h - z13.h }, z5.h"

  -
    input:
      bytes: [ 0xbb, 0x69, 0x78, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx4], { z13.h - z16.h }, z8.h"

  -
    input:
      bytes: [ 0xbb, 0x69, 0x78, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx4], { z13.h - z16.h }, z8.h"

  -
    input:
      bytes: [ 0xfb, 0x6b, 0x7f, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx4], { z31.h, z0.h, z1.h, z2.h }, z15.h"

  -
    input:
      bytes: [ 0xfb, 0x6b, 0x7f, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx4], { z31.h, z0.h, z1.h, z2.h }, z15.h"

  -
    input:
      bytes: [ 0x39, 0x0a, 0x70, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z17.h - z20.h }, z0.h"

  -
    input:
      bytes: [ 0x39, 0x0a, 0x70, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z17.h - z20.h }, z0.h"

  -
    input:
      bytes: [ 0x39, 0x08, 0x7e, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z1.h - z4.h }, z14.h"

  -
    input:
      bytes: [ 0x39, 0x08, 0x7e, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z1.h - z4.h }, z14.h"

  -
    input:
      bytes: [ 0x78, 0x4a, 0x74, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 0:1, vgx4], { z19.h - z22.h }, z4.h"

  -
    input:
      bytes: [ 0x78, 0x4a, 0x74, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 0:1, vgx4], { z19.h - z22.h }, z4.h"

  -
    input:
      bytes: [ 0x98, 0x09, 0x72, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx4], { z12.h - z15.h }, z2.h"

  -
    input:
      bytes: [ 0x98, 0x09, 0x72, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx4], { z12.h - z15.h }, z2.h"

  -
    input:
      bytes: [ 0x39, 0x48, 0x7a, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx4], { z1.h - z4.h }, z10.h"

  -
    input:
      bytes: [ 0x39, 0x48, 0x7a, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx4], { z1.h - z4.h }, z10.h"

  -
    input:
      bytes: [ 0xd9, 0x0a, 0x7e, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z22.h - z25.h }, z14.h"

  -
    input:
      bytes: [ 0xd9, 0x0a, 0x7e, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z22.h - z25.h }, z14.h"

  -
    input:
      bytes: [ 0x3a, 0x69, 0x71, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 4:5, vgx4], { z9.h - z12.h }, z1.h"

  -
    input:
      bytes: [ 0x3a, 0x69, 0x71, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 4:5, vgx4], { z9.h - z12.h }, z1.h"

  -
    input:
      bytes: [ 0x9b, 0x29, 0x7b, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w9, 6:7, vgx4], { z12.h - z15.h }, z11.h"

  -
    input:
      bytes: [ 0x9b, 0x29, 0x7b, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w9, 6:7, vgx4], { z12.h - z15.h }, z11.h"

  -
    input:
      bytes: [ 0x18, 0x90, 0xd0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx4], { z0.h - z3.h }, z0.h[0]"

  -
    input:
      bytes: [ 0x18, 0x90, 0xd0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx4], { z0.h - z3.h }, z0.h[0]"

  -
    input:
      bytes: [ 0x1d, 0xd5, 0xd5, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx4], { z8.h - z11.h }, z5.h[3]"

  -
    input:
      bytes: [ 0x1d, 0xd5, 0xd5, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx4], { z8.h - z11.h }, z5.h[3]"

  -
    input:
      bytes: [ 0x9f, 0xfd, 0xd8, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx4], { z12.h - z15.h }, z8.h[7]"

  -
    input:
      bytes: [ 0x9f, 0xfd, 0xd8, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx4], { z12.h - z15.h }, z8.h[7]"

  -
    input:
      bytes: [ 0x9f, 0xff, 0xdf, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx4], { z28.h - z31.h }, z15.h[7]"

  -
    input:
      bytes: [ 0x9f, 0xff, 0xdf, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx4], { z28.h - z31.h }, z15.h[7]"

  -
    input:
      bytes: [ 0x1d, 0x9e, 0xd0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z16.h - z19.h }, z0.h[7]"

  -
    input:
      bytes: [ 0x1d, 0x9e, 0xd0, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z16.h - z19.h }, z0.h[7]"

  -
    input:
      bytes: [ 0x19, 0x94, 0xde, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z0.h - z3.h }, z14.h[2]"

  -
    input:
      bytes: [ 0x19, 0x94, 0xde, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z0.h - z3.h }, z14.h[2]"

  -
    input:
      bytes: [ 0x18, 0xd6, 0xd4, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 0:1, vgx4], { z16.h - z19.h }, z4.h[2]"

  -
    input:
      bytes: [ 0x18, 0xd6, 0xd4, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 0:1, vgx4], { z16.h - z19.h }, z4.h[2]"

  -
    input:
      bytes: [ 0x98, 0x99, 0xd2, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx4], { z12.h - z15.h }, z2.h[4]"

  -
    input:
      bytes: [ 0x98, 0x99, 0xd2, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx4], { z12.h - z15.h }, z2.h[4]"

  -
    input:
      bytes: [ 0x19, 0xd8, 0xda, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx4], { z0.h - z3.h }, z10.h[4]"

  -
    input:
      bytes: [ 0x19, 0xd8, 0xda, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx4], { z0.h - z3.h }, z10.h[4]"

  -
    input:
      bytes: [ 0x9d, 0x9a, 0xde, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z20.h - z23.h }, z14.h[5]"

  -
    input:
      bytes: [ 0x9d, 0x9a, 0xde, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z20.h - z23.h }, z14.h[5]"

  -
    input:
      bytes: [ 0x1a, 0xf5, 0xd1, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 4:5, vgx4], { z8.h - z11.h }, z1.h[2]"

  -
    input:
      bytes: [ 0x1a, 0xf5, 0xd1, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 4:5, vgx4], { z8.h - z11.h }, z1.h[2]"

  -
    input:
      bytes: [ 0x9f, 0xb9, 0xdb, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w9, 6:7, vgx4], { z12.h - z15.h }, z11.h[5]"

  -
    input:
      bytes: [ 0x9f, 0xb9, 0xdb, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w9, 6:7, vgx4], { z12.h - z15.h }, z11.h[5]"

  -
    input:
      bytes: [ 0x18, 0x08, 0xe1, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx4], { z0.h - z3.h }, { z0.h - z3.h }"

  -
    input:
      bytes: [ 0x18, 0x08, 0xe1, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx4], { z0.h - z3.h }, { z0.h - z3.h }"

  -
    input:
      bytes: [ 0x19, 0x49, 0xf5, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx4], { z8.h - z11.h }, { z20.h - z23.h }"

  -
    input:
      bytes: [ 0x19, 0x49, 0xf5, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx4], { z8.h - z11.h }, { z20.h - z23.h }"

  -
    input:
      bytes: [ 0x9b, 0x69, 0xe9, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx4], { z12.h - z15.h }, { z8.h - z11.h }"

  -
    input:
      bytes: [ 0x9b, 0x69, 0xe9, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx4], { z12.h - z15.h }, { z8.h - z11.h }"

  -
    input:
      bytes: [ 0x9b, 0x6b, 0xfd, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx4], { z28.h - z31.h }, { z28.h - z31.h }"

  -
    input:
      bytes: [ 0x9b, 0x6b, 0xfd, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 6:7, vgx4], { z28.h - z31.h }, { z28.h - z31.h }"

  -
    input:
      bytes: [ 0x19, 0x0a, 0xf1, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z16.h - z19.h }, { z16.h - z19.h }"

  -
    input:
      bytes: [ 0x19, 0x0a, 0xf1, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z16.h - z19.h }, { z16.h - z19.h }"

  -
    input:
      bytes: [ 0x19, 0x08, 0xfd, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z0.h - z3.h }, { z28.h - z31.h }"

  -
    input:
      bytes: [ 0x19, 0x08, 0xfd, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z0.h - z3.h }, { z28.h - z31.h }"

  -
    input:
      bytes: [ 0x18, 0x4a, 0xf5, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 0:1, vgx4], { z16.h - z19.h }, { z20.h - z23.h }"

  -
    input:
      bytes: [ 0x18, 0x4a, 0xf5, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 0:1, vgx4], { z16.h - z19.h }, { z20.h - z23.h }"

  -
    input:
      bytes: [ 0x98, 0x09, 0xe1, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx4], { z12.h - z15.h }, { z0.h - z3.h }"

  -
    input:
      bytes: [ 0x98, 0x09, 0xe1, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 0:1, vgx4], { z12.h - z15.h }, { z0.h - z3.h }"

  -
    input:
      bytes: [ 0x19, 0x48, 0xf9, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx4], { z0.h - z3.h }, { z24.h - z27.h }"

  -
    input:
      bytes: [ 0x19, 0x48, 0xf9, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w10, 2:3, vgx4], { z0.h - z3.h }, { z24.h - z27.h }"

  -
    input:
      bytes: [ 0x99, 0x0a, 0xfd, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z20.h - z23.h }, { z28.h - z31.h }"

  -
    input:
      bytes: [ 0x99, 0x0a, 0xfd, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w8, 2:3, vgx4], { z20.h - z23.h }, { z28.h - z31.h }"

  -
    input:
      bytes: [ 0x1a, 0x69, 0xe1, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 4:5, vgx4], { z8.h - z11.h }, { z0.h - z3.h }"

  -
    input:
      bytes: [ 0x1a, 0x69, 0xe1, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w11, 4:5, vgx4], { z8.h - z11.h }, { z0.h - z3.h }"

  -
    input:
      bytes: [ 0x9b, 0x29, 0xe9, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w9, 6:7, vgx4], { z12.h - z15.h }, { z8.h - z11.h }"

  -
    input:
      bytes: [ 0x9b, 0x29, 0xe9, 0xc1 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme2" ]
    expected:
      insns:
        -
          asm_text: "umlsl za.s[w9, 6:7, vgx4], { z12.h - z15.h }, { z8.h - z11.h }"
