	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_v10_0_ring_emit_rreg
_gfx_v10_0_ring_emit_rreg:              ## @gfx_v10_0_ring_emit_rreg
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movq	_PACKET3_COPY_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	callq	_PACKET3
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_amdgpu_ring_write
	movq	%rbx, %rdi
	movl	$1049856, %esi                  ## imm = 0x100500
	callq	_amdgpu_ring_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_amdgpu_ring_write
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_amdgpu_ring_write
	movslq	(%r15), %rdi
	shlq	$2, %rdi
	addq	8(%r15), %rdi
	callq	_lower_32_bits
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_amdgpu_ring_write
	movslq	(%r15), %rdi
	shlq	$2, %rdi
	addq	8(%r15), %rdi
	callq	_upper_32_bits
	movq	%rbx, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_amdgpu_ring_write              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PACKET3_COPY_DATA,4,2          ## @PACKET3_COPY_DATA
	.no_dead_strip	_gfx_v10_0_ring_emit_rreg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_v10_0_ring_emit_rreg
_gfx_v10_0_ring_emit_rreg:              ; @gfx_v10_0_ring_emit_rreg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _PACKET3_COPY_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PACKET3_COPY_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #4
	bl	_PACKET3
	mov	x1, x0
	mov	x0, x20
	bl	_amdgpu_ring_write
	mov	x0, x20
	mov	w1, #1280
	movk	w1, #16, lsl #16
	bl	_amdgpu_ring_write
	mov	x0, x20
	mov	x1, x19
	bl	_amdgpu_ring_write
	mov	x0, x20
	mov	w1, #0
	bl	_amdgpu_ring_write
	ldr	x8, [x21, #8]
	ldrsw	x9, [x21]
	add	x0, x8, x9, lsl #2
	bl	_lower_32_bits
	mov	x1, x0
	mov	x0, x20
	bl	_amdgpu_ring_write
	ldr	x8, [x21, #8]
	ldrsw	x9, [x21]
	add	x0, x8, x9, lsl #2
	bl	_upper_32_bits
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_amdgpu_ring_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PACKET3_COPY_DATA,4,2          ; @PACKET3_COPY_DATA
	.no_dead_strip	_gfx_v10_0_ring_emit_rreg
.subsections_via_symbols
