	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a6xx_show_cluster_data
_a6xx_show_cluster_data:                ## @a6xx_show_cluster_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	_A6XX_NUM_CONTEXTS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	incl	%r14d
	movq	_A6XX_NUM_CONTEXTS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jge	LBB0_12
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_6 Depth 3
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_drm_printf
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	jle	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	addl	%ebx, %r12d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=2
	addq	$2, %r14
	cmpl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	jge	LBB0_11
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_6 Depth 3
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_RANGE
	testl	%eax, %eax
	jle	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	(%rbx,%r14,4), %r15d
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movslq	%r12d, %rcx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %r12
	movl	%eax, %r13d
	shll	$2, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=3
	incq	%rbx
	addl	$4, %r15d
	cmpl	%ebx, %r13d
	je	LBB0_9
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r12,%rbx,4), %ecx
	cmpl	$-558907731, %ecx               ## imm = 0xDEAFBEAD
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=3
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_drm_printf
	jmp	LBB0_8
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_A6XX_NUM_CONTEXTS,4,2          ## @A6XX_NUM_CONTEXTS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"    - context: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"      - { offset: 0x%06x, value: 0x%08x }\n"

	.no_dead_strip	_a6xx_show_cluster_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a6xx_show_cluster_data
_a6xx_show_cluster_data:                ; @a6xx_show_cluster_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x2, [sp, #24]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _A6XX_NUM_CONTEXTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _A6XX_NUM_CONTEXTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x19, x3
	mov	x21, x1
	mov	x22, x0
	mov	w20, #0
	mov	w24, #0
	mov	w23, #48813
	movk	w23, #57007, lsl #16
Lloh3:
	adrp	x25, l_.str.1@PAGE
Lloh4:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w20, [sp, #20]                  ; 4-byte Folded Reload
	add	w20, w20, #1
Lloh5:
	adrp	x8, _A6XX_NUM_CONTEXTS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _A6XX_NUM_CONTEXTS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ge	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	mov	x0, x19
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_drm_printf
	cmp	w21, #1
	str	w20, [sp, #20]                  ; 4-byte Folded Spill
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x26, x26, #2
	cmp	w26, w21
	b.ge	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	mov	x0, x22
	mov	x1, x26
	bl	_RANGE
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x27, x0
	ldr	w8, [x22, x26, lsl #2]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x20, x9, w24, sxtw #2
	lsl	w28, w8, #2
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=3
	add	x20, x20, #4
	add	w24, w24, #1
	add	w28, w28, #4
	subs	w27, w27, #1
	b.eq	LBB0_5
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w8, [x20]
	cmp	w8, w23
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x25
	mov	x2, x28
	bl	_drm_printf
	b	LBB0_8
LBB0_11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_A6XX_NUM_CONTEXTS,4,2          ; @A6XX_NUM_CONTEXTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"    - context: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"      - { offset: 0x%06x, value: 0x%08x }\n"

	.no_dead_strip	_a6xx_show_cluster_data
.subsections_via_symbols
