	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evergreen_ring_ib_execute      ## -- Begin function evergreen_ring_ib_execute
	.p2align	4, 0x90
_evergreen_ring_ib_execute:             ## @evergreen_ring_ib_execute
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %r12
	movq	(%rsi), %rax
	leaq	(%rax,%rax,2), %r13
	leaq	(%r12,%r13,4), %rbx
	movq	_PACKET3_MODE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET3
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_radeon_ring_write
	cmpl	$0, (%r12,%r13,4)
	je	LBB0_2
## %bb.1:
	movl	4(%r12,%r13,4), %r12d
	addl	$7, %r12d
	movq	_PACKET3_SET_CONFIG_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_PACKET3
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movl	(%rbx), %r15d
	movq	_PACKET3_SET_CONFIG_REG_START@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	sarl	$2, %r15d
	jmp	LBB0_4
LBB0_2:
	cmpq	$0, (%r15)
	je	LBB0_5
## %bb.3:
	movl	4(%r12,%r13,4), %r15d
	addl	$9, %r15d
	movq	_PACKET3_MEM_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$3, %esi
	callq	_PACKET3
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movl	8(%r12,%r13,4), %esi
	andl	$-4, %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movl	8(%r12,%r13,4), %edi
	callq	_upper_32_bits
	movzbl	%al, %esi
	orl	$262144, %esi                   ## imm = 0x40000
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	xorl	%r12d, %r12d
LBB0_4:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_radeon_ring_write
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_radeon_ring_write
LBB0_5:
	movq	_PACKET3_INDIRECT_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_PACKET3
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movl	8(%r14), %esi
	andl	$-4, %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movl	8(%r14), %edi
	callq	_upper_32_bits
	movzbl	%al, %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movl	12(%r14), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_radeon_ring_write              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PACKET3_MODE_CONTROL,4,2       ## @PACKET3_MODE_CONTROL
	.comm	_PACKET3_SET_CONFIG_REG,4,2     ## @PACKET3_SET_CONFIG_REG
	.comm	_PACKET3_SET_CONFIG_REG_START,4,2 ## @PACKET3_SET_CONFIG_REG_START
	.comm	_PACKET3_MEM_WRITE,4,2          ## @PACKET3_MEM_WRITE
	.comm	_PACKET3_INDIRECT_BUFFER,4,2    ## @PACKET3_INDIRECT_BUFFER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evergreen_ring_ib_execute      ; -- Begin function evergreen_ring_ib_execute
	.p2align	2
_evergreen_ring_ib_execute:             ; @evergreen_ring_ib_execute
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x21, x0
	ldr	x22, [x0, #8]
	ldr	x23, [x1]
	mov	w8, #12
	madd	x20, x23, x8, x22
Lloh0:
	adrp	x8, _PACKET3_MODE_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PACKET3_MODE_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PACKET3
	mov	x1, x0
	mov	x0, x20
	bl	_radeon_ring_write
	mov	x0, x20
	mov	w1, #1
	bl	_radeon_ring_write
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w8, #12
	madd	x8, x23, x8, x22
	ldr	w8, [x8, #4]
	add	w22, w8, #7
Lloh3:
	adrp	x8, _PACKET3_SET_CONFIG_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PACKET3_SET_CONFIG_REG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_PACKET3
	mov	x1, x0
	mov	x0, x20
	bl	_radeon_ring_write
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _PACKET3_SET_CONFIG_REG_START@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PACKET3_SET_CONFIG_REG_START@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sub	w8, w8, w9
	asr	w21, w8, #2
	b	LBB0_4
LBB0_2:
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.3:
	mov	w8, #12
	madd	x22, x23, x8, x22
	ldr	w8, [x22, #4]
	add	w21, w8, #9
Lloh9:
	adrp	x8, _PACKET3_MEM_WRITE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PACKET3_MEM_WRITE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	w1, #3
	bl	_PACKET3
	mov	x1, x0
	mov	x0, x20
	bl	_radeon_ring_write
	ldr	w8, [x22, #8]
	and	w1, w8, #0xfffffffc
	mov	x0, x20
	bl	_radeon_ring_write
	ldr	w0, [x22, #8]
	bl	_upper_32_bits
	mov	w1, #262144
	bfxil	w1, w0, #0, #8
	mov	x0, x20
	bl	_radeon_ring_write
	mov	w22, #0
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	bl	_radeon_ring_write
	mov	x0, x20
	mov	x1, x22
	bl	_radeon_ring_write
LBB0_5:
Lloh12:
	adrp	x8, _PACKET3_INDIRECT_BUFFER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PACKET3_INDIRECT_BUFFER@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	w1, #2
	bl	_PACKET3
	mov	x1, x0
	mov	x0, x20
	bl	_radeon_ring_write
	ldr	w8, [x19, #8]
	and	w1, w8, #0xfffffffc
	mov	x0, x20
	bl	_radeon_ring_write
	ldr	w0, [x19, #8]
	bl	_upper_32_bits
	and	w1, w0, #0xff
	mov	x0, x20
	bl	_radeon_ring_write
	ldr	w1, [x19, #12]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_radeon_ring_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PACKET3_MODE_CONTROL,4,2       ; @PACKET3_MODE_CONTROL
	.comm	_PACKET3_SET_CONFIG_REG,4,2     ; @PACKET3_SET_CONFIG_REG
	.comm	_PACKET3_SET_CONFIG_REG_START,4,2 ; @PACKET3_SET_CONFIG_REG_START
	.comm	_PACKET3_MEM_WRITE,4,2          ; @PACKET3_MEM_WRITE
	.comm	_PACKET3_INDIRECT_BUFFER,4,2    ; @PACKET3_INDIRECT_BUFFER
.subsections_via_symbols
