test_cases:
  -
    input:
      bytes: [ 0x20, 0xc0, 0xa2, 0x45 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2" ]
    expected:
      insns:
        -
          asm_text: "histcnt z0.s, p0/z, z1.s, z2.s"

  -
    input:
      bytes: [ 0xdd, 0xdf, 0xff, 0x45 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2" ]
    expected:
      insns:
        -
          asm_text: "histcnt z29.d, p7/z, z30.d, z31.d"
