llvm/llvm/test/tools/llvm-objdump/MachO/arm64-disassembly-color.s

// UNSUPPORTED: system-windows
// REQUIRES: aarch64-registered-target

// RUN: llvm-mc -triple arm64-apple-macosx %s -filetype=obj -o %t
// RUN: llvm-objdump --disassembler-color=on --disassemble %t | FileCheck %s --check-prefix=COLOR
// RUN: llvm-objdump --disassembler-color=off --disassemble %t | FileCheck %s --check-prefix=NOCOLOR
// RUN: llvm-objdump --disassembler-color=terminal --disassemble %t | FileCheck %s --check-prefix=NOCOLOR

sub	sp, sp, #16
str	w0, [sp, #12]
ldr	w8, [sp, #12]
ldr	w9, [sp, #12]
mul	w0, w8, w9
add	sp, sp, #16

// NOCOLOR: sub	sp, sp, #0x10
// NOCOLOR: str	w0, [sp, #0xc]
// NOCOLOR: ldr	w8, [sp, #0xc]
// NOCOLOR: ldr	w9, [sp, #0xc]
// NOCOLOR: mul	w0, w8, w9
// NOCOLOR: add	sp, sp, #0x10

// COLOR: sub	sp, sp, #0x10
// COLOR: str	w0, [sp, #0xc]
// COLOR: ldr	w8, [sp, #0xc]
// COLOR: ldr	w9, [sp, #0xc]
// COLOR: mul	w0, w8, w9
// COLOR: add	sp, sp, #0x10