	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r128_cce_dispatch_indirect
_r128_cce_dispatch_indirect:            ## @r128_cce_dispatch_indirect
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movq	%rdi, %r13
	movq	8(%rdi), %r14
	movq	32(%rsi), %r15
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	24(%rsi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG
	subl	%ebx, %r12d
	je	LBB0_4
## %bb.1:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	addl	%ebx, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	addl	$3, %r12d
	movl	%r12d, %r14d
	sarl	$2, %r14d
	testb	$4, %r12b
	je	LBB0_3
## %bb.2:
	movq	(%r13), %rax
	movslq	4(%rcx), %rcx
	addq	(%rax), %rcx
	movslq	%ebx, %rbx
	addq	%rcx, %rbx
	movq	_R128_CCE_PACKET2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movslq	%r14d, %rcx
	incl	%r14d
	movl	%eax, (%rbx,%rcx,4)
LBB0_3:
	movl	$1, (%r15)
	movl	$3, %edi
	callq	_BEGIN_RING
	movq	_R128_PM4_IW_INDOFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_CCE_PACKET0
	movl	%eax, %edi
	callq	_OUT_RING
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_OUT_RING
	movl	%r14d, %edi
	callq	_OUT_RING
	xorl	%eax, %eax
	callq	_ADVANCE_RING
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_4:
	cmpq	$0, 8(%r15)
	je	LBB0_6
## %bb.5:
	movq	(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	$2, %edi
	callq	_BEGIN_RING
	movq	_R128_LAST_DISPATCH_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_CCE_PACKET0
	movl	%eax, %edi
	callq	_OUT_RING
	movl	4(%r15), %edi
	callq	_OUT_RING
	xorl	%eax, %eax
	callq	_ADVANCE_RING
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 8(%rax)
	movq	$0, 16(%rax)
	movl	$0, (%r15)
LBB0_6:
	movq	(%r14), %rax
	incl	(%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RING_LOCALS,4,2                ## @RING_LOCALS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"indirect: buf=%d s=0x%x e=0x%x\n"

	.comm	_R128_CCE_PACKET2,4,2           ## @R128_CCE_PACKET2
	.comm	_R128_PM4_IW_INDOFF,4,2         ## @R128_PM4_IW_INDOFF
	.comm	_R128_LAST_DISPATCH_REG,4,2     ## @R128_LAST_DISPATCH_REG
	.no_dead_strip	_r128_cce_dispatch_indirect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r128_cce_dispatch_indirect
_r128_cce_dispatch_indirect:            ; @r128_cce_dispatch_indirect
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
	ldr	x24, [x0, #8]
	ldr	x25, [x1, #32]
	ldr	w1, [x1, #24]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG
	subs	w8, w20, w22
	b.eq	LBB0_4
; %bb.1:
	ldr	w9, [x19]
	add	w21, w9, w22
	add	w8, w8, #3
	asr	w20, w8, #2
	tbz	w8, #2, LBB0_3
; %bb.2:
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldrsw	x9, [x19, #4]
	add	x8, x8, x9
	add	x22, x8, w22, sxtw
Lloh2:
	adrp	x8, _R128_CCE_PACKET2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _R128_CCE_PACKET2@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	w0, [x22, w20, sxtw #2]
	add	w20, w20, #1
LBB0_3:
	mov	w8, #1
	str	w8, [x25]
	mov	w0, #3
	bl	_BEGIN_RING
Lloh5:
	adrp	x8, _R128_PM4_IW_INDOFF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _R128_PM4_IW_INDOFF@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_CCE_PACKET0
	bl	_OUT_RING
	mov	x0, x21
	bl	_OUT_RING
	mov	x0, x20
	bl	_OUT_RING
	bl	_ADVANCE_RING
LBB0_4:
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x24]
	ldr	w8, [x8]
	str	w8, [x25, #4]
	mov	w0, #2
	bl	_BEGIN_RING
Lloh8:
	adrp	x8, _R128_LAST_DISPATCH_REG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _R128_LAST_DISPATCH_REG@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_CCE_PACKET0
	bl	_OUT_RING
	ldr	w0, [x25, #4]
	bl	_OUT_RING
	bl	_ADVANCE_RING
	mov	w8, #1
	str	w8, [x19, #8]
	str	xzr, [x19, #16]
	str	wzr, [x25]
LBB0_6:
	ldr	x8, [x24]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RING_LOCALS,4,2                ; @RING_LOCALS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"indirect: buf=%d s=0x%x e=0x%x\n"

	.comm	_R128_CCE_PACKET2,4,2           ; @R128_CCE_PACKET2
	.comm	_R128_PM4_IW_INDOFF,4,2         ; @R128_PM4_IW_INDOFF
	.comm	_R128_LAST_DISPATCH_REG,4,2     ; @R128_LAST_DISPATCH_REG
	.no_dead_strip	_r128_cce_dispatch_indirect
.subsections_via_symbols
