	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_ring_commit             ## -- Begin function radeon_ring_commit
	.p2align	4, 0x90
_radeon_ring_commit:                    ## @radeon_ring_commit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movl	4(%rsi), %eax
	testl	%eax, (%rsi)
	je	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	20(%rbx), %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movl	4(%rbx), %eax
	testl	%eax, (%rbx)
	jne	LBB0_1
LBB0_2:
	xorl	%eax, %eax
	callq	_DRM_MEMORYBARRIER
	movl	(%rbx), %esi
	movb	8(%rbx), %cl
	shll	%cl, %esi
	movl	16(%rbx), %edi
	andl	12(%rbx), %esi
	callq	_WREG32
	movl	16(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_RREG32                         ## TAILCALL
	.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_commit             ; -- Begin function radeon_ring_commit
	.p2align	2
_radeon_ring_commit:                    ; @radeon_ring_commit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldp	w8, w9, [x1]
	tst	w9, w8
	b.eq	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #20]
	mov	x0, x19
	bl	_radeon_ring_write
	ldp	w8, w9, [x19]
	tst	w9, w8
	b.ne	LBB0_1
LBB0_2:
	bl	_DRM_MEMORYBARRIER
	ldp	w10, w0, [x19, #12]
	ldr	w8, [x19]
	ldr	w9, [x19, #8]
	lsl	w8, w8, w9
	and	w1, w8, w10
	bl	_WREG32
	ldr	w0, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_RREG32
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
