	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_ring_write              ## -- Begin function radeon_ring_write
	.p2align	4, 0x90
_radeon_ring_write:                     ## @radeon_ring_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	24(%rdi), %rax
	movslq	16(%rdi), %rcx
	leal	1(%rcx), %edx
	movl	%edx, 16(%rdi)
	movl	%esi, (%rax,%rcx,4)
	movl	12(%rdi), %eax
	andl	%eax, 16(%rdi)
	decq	(%rdi)
	decl	8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_ring_write              ; -- Begin function radeon_ring_write
	.p2align	2
_radeon_ring_write:                     ; @radeon_ring_write
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #24]
	ldrsw	x9, [x0, #16]
	add	w10, w9, #1
	str	w10, [x0, #16]
	str	w1, [x8, x9, lsl #2]
	ldp	w9, w8, [x0, #12]
	ldr	w10, [x0, #8]
	and	w8, w8, w9
	str	w8, [x0, #16]
	ldr	x8, [x0]
	sub	x8, x8, #1
	str	x8, [x0]
	sub	w8, w10, #1
	str	w8, [x0, #8]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
