	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amdgpu_ring_clear_ring
_amdgpu_ring_clear_ring:                ## @amdgpu_ring_clear_ring
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$0, (%rdi)
	js	LBB0_3
## %bb.1:
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	$-1, %rdx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %esi
	movl	%esi, 4(%rcx,%rdx,4)
	movslq	(%rdi), %rsi
	incq	%rdx
	cmpq	%rsi, %rdx
	jl	LBB0_2
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_amdgpu_ring_clear_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amdgpu_ring_clear_ring
_amdgpu_ring_clear_ring:                ; @amdgpu_ring_clear_ring
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	tbnz	w8, #31, LBB0_3
; %bb.1:
	mov	x9, #0
	ldp	x8, x10, [x0, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	str	w11, [x10, x9, lsl #2]
	add	x11, x9, #1
	ldrsw	x12, [x0]
	cmp	x9, x12
	mov	x9, x11
	b.lt	LBB0_2
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_amdgpu_ring_clear_ring
.subsections_via_symbols
