	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_v8_0_early_init
_gfx_v8_0_early_init:                   ## @gfx_v8_0_early_init
	.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	%rdi, %rbx
	movq	_GFX8_NUM_GFX_RINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rdi)
	movq	_AMDGPU_MAX_COMPUTE_RINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movq	_gfx_v8_0_gfx_funcs@GOTPCREL(%rip), %rax
	movq	%rax, (%rdi)
	callq	_gfx_v8_0_set_ring_funcs
	movq	%rbx, %rdi
	callq	_gfx_v8_0_set_irq_funcs
	movq	%rbx, %rdi
	callq	_gfx_v8_0_set_gds_init
	movq	%rbx, %rdi
	callq	_gfx_v8_0_set_rlc_funcs
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFX8_NUM_GFX_RINGS,4,2         ## @GFX8_NUM_GFX_RINGS
	.comm	_AMDGPU_MAX_COMPUTE_RINGS,4,2   ## @AMDGPU_MAX_COMPUTE_RINGS
	.comm	_gfx_v8_0_gfx_funcs,4,2         ## @gfx_v8_0_gfx_funcs
	.no_dead_strip	_gfx_v8_0_early_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_v8_0_early_init
_gfx_v8_0_early_init:                   ; @gfx_v8_0_early_init
	.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, x0
Lloh0:
	adrp	x8, _GFX8_NUM_GFX_RINGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFX8_NUM_GFX_RINGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _AMDGPU_MAX_COMPUTE_RINGS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AMDGPU_MAX_COMPUTE_RINGS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
Lloh6:
	adrp	x8, _gfx_v8_0_gfx_funcs@GOTPAGE
Lloh7:
	ldr	x8, [x8, _gfx_v8_0_gfx_funcs@GOTPAGEOFF]
	str	x8, [x0]
	bl	_gfx_v8_0_set_ring_funcs
	mov	x0, x19
	bl	_gfx_v8_0_set_irq_funcs
	mov	x0, x19
	bl	_gfx_v8_0_set_gds_init
	mov	x0, x19
	bl	_gfx_v8_0_set_rlc_funcs
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFX8_NUM_GFX_RINGS,4,2         ; @GFX8_NUM_GFX_RINGS
	.comm	_AMDGPU_MAX_COMPUTE_RINGS,4,2   ; @AMDGPU_MAX_COMPUTE_RINGS
	.comm	_gfx_v8_0_gfx_funcs,4,2         ; @gfx_v8_0_gfx_funcs
	.no_dead_strip	_gfx_v8_0_early_init
.subsections_via_symbols
