1/* SPDX-License-Identifier: GPL-2.0 */
2/* Tamas Zsoldos <tamas.zsoldos@arm.com>, 2021 */
3
4.globl _start
5_start:
6	mov	x0, 0x0000ffff
7	mov	x1, xzr
8loop:
9	nop
10	nop
11	cbnz	x1, noskip
12	nop
13	nop
14	adrp	x2, skip
15	add 	x2, x2, :lo12:skip
16	br	x2
17	nop
18	nop
19noskip:
20	nop
21	nop
22skip:
23	sub	x0, x0, 1
24	cbnz	x0, loop
25
26	mov	x0, #0
27	mov	x8, #93 // __NR_exit syscall
28	svc	#0
29