	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_legacy_doorbell_index_init     ## -- Begin function legacy_doorbell_index_init
	.p2align	4, 0x90
_legacy_doorbell_index_init:            ## @legacy_doorbell_index_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_AMDGPU_DOORBELL_KIQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rdi)
	movq	_AMDGPU_DOORBELL_MEC_RING0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rdi)
	movq	_AMDGPU_DOORBELL_MEC_RING1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rdi)
	movq	_AMDGPU_DOORBELL_MEC_RING2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rdi)
	movq	_AMDGPU_DOORBELL_MEC_RING3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rdi)
	movq	_AMDGPU_DOORBELL_MEC_RING4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rdi)
	movq	_AMDGPU_DOORBELL_MEC_RING5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rdi)
	movq	_AMDGPU_DOORBELL_MEC_RING6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movq	_AMDGPU_DOORBELL_MEC_RING7@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rdi)
	movq	_AMDGPU_DOORBELL_GFX_RING0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	_AMDGPU_DOORBELL_sDMA_ENGINE0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rdi), %rcx
	movl	%eax, (%rcx)
	movq	_AMDGPU_DOORBELL_sDMA_ENGINE1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	movq	_AMDGPU_DOORBELL_IH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	movq	_AMDGPU_DOORBELL_MAX_ASSIGNMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AMDGPU_DOORBELL_KIQ,4,2        ## @AMDGPU_DOORBELL_KIQ
	.comm	_AMDGPU_DOORBELL_MEC_RING0,4,2  ## @AMDGPU_DOORBELL_MEC_RING0
	.comm	_AMDGPU_DOORBELL_MEC_RING1,4,2  ## @AMDGPU_DOORBELL_MEC_RING1
	.comm	_AMDGPU_DOORBELL_MEC_RING2,4,2  ## @AMDGPU_DOORBELL_MEC_RING2
	.comm	_AMDGPU_DOORBELL_MEC_RING3,4,2  ## @AMDGPU_DOORBELL_MEC_RING3
	.comm	_AMDGPU_DOORBELL_MEC_RING4,4,2  ## @AMDGPU_DOORBELL_MEC_RING4
	.comm	_AMDGPU_DOORBELL_MEC_RING5,4,2  ## @AMDGPU_DOORBELL_MEC_RING5
	.comm	_AMDGPU_DOORBELL_MEC_RING6,4,2  ## @AMDGPU_DOORBELL_MEC_RING6
	.comm	_AMDGPU_DOORBELL_MEC_RING7,4,2  ## @AMDGPU_DOORBELL_MEC_RING7
	.comm	_AMDGPU_DOORBELL_GFX_RING0,4,2  ## @AMDGPU_DOORBELL_GFX_RING0
	.comm	_AMDGPU_DOORBELL_sDMA_ENGINE0,4,2 ## @AMDGPU_DOORBELL_sDMA_ENGINE0
	.comm	_AMDGPU_DOORBELL_sDMA_ENGINE1,4,2 ## @AMDGPU_DOORBELL_sDMA_ENGINE1
	.comm	_AMDGPU_DOORBELL_IH,4,2         ## @AMDGPU_DOORBELL_IH
	.comm	_AMDGPU_DOORBELL_MAX_ASSIGNMENT,4,2 ## @AMDGPU_DOORBELL_MAX_ASSIGNMENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_legacy_doorbell_index_init     ; -- Begin function legacy_doorbell_index_init
	.p2align	2
_legacy_doorbell_index_init:            ; @legacy_doorbell_index_init
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _AMDGPU_DOORBELL_KIQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AMDGPU_DOORBELL_KIQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _AMDGPU_DOORBELL_MEC_RING0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AMDGPU_DOORBELL_MEC_RING0@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _AMDGPU_DOORBELL_MEC_RING1@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AMDGPU_DOORBELL_MEC_RING1@GOTPAGEOFF]
	stp	w9, w8, [x0, #48]
Lloh8:
	ldr	w8, [x10]
Lloh9:
	adrp	x9, _AMDGPU_DOORBELL_MEC_RING2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AMDGPU_DOORBELL_MEC_RING2@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #40]
Lloh12:
	adrp	x8, _AMDGPU_DOORBELL_MEC_RING3@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AMDGPU_DOORBELL_MEC_RING3@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _AMDGPU_DOORBELL_MEC_RING4@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AMDGPU_DOORBELL_MEC_RING4@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #32]
Lloh18:
	adrp	x8, _AMDGPU_DOORBELL_MEC_RING5@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AMDGPU_DOORBELL_MEC_RING5@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _AMDGPU_DOORBELL_MEC_RING6@GOTPAGE
Lloh22:
	ldr	x9, [x9, _AMDGPU_DOORBELL_MEC_RING6@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _AMDGPU_DOORBELL_MEC_RING7@GOTPAGE
Lloh25:
	ldr	x10, [x10, _AMDGPU_DOORBELL_MEC_RING7@GOTPAGEOFF]
	stp	w9, w8, [x0, #24]
Lloh26:
	ldr	w8, [x10]
Lloh27:
	adrp	x9, _AMDGPU_DOORBELL_GFX_RING0@GOTPAGE
Lloh28:
	ldr	x9, [x9, _AMDGPU_DOORBELL_GFX_RING0@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
Lloh30:
	adrp	x8, _AMDGPU_DOORBELL_sDMA_ENGINE0@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AMDGPU_DOORBELL_sDMA_ENGINE0@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	ldr	x9, [x0, #8]
	str	w8, [x9]
Lloh33:
	adrp	x8, _AMDGPU_DOORBELL_sDMA_ENGINE1@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AMDGPU_DOORBELL_sDMA_ENGINE1@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	str	w8, [x9, #4]
Lloh36:
	adrp	x8, _AMDGPU_DOORBELL_IH@GOTPAGE
Lloh37:
	ldr	x8, [x8, _AMDGPU_DOORBELL_IH@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _AMDGPU_DOORBELL_MAX_ASSIGNMENT@GOTPAGE
Lloh40:
	ldr	x9, [x9, _AMDGPU_DOORBELL_MAX_ASSIGNMENT@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AMDGPU_DOORBELL_KIQ,4,2        ; @AMDGPU_DOORBELL_KIQ
	.comm	_AMDGPU_DOORBELL_MEC_RING0,4,2  ; @AMDGPU_DOORBELL_MEC_RING0
	.comm	_AMDGPU_DOORBELL_MEC_RING1,4,2  ; @AMDGPU_DOORBELL_MEC_RING1
	.comm	_AMDGPU_DOORBELL_MEC_RING2,4,2  ; @AMDGPU_DOORBELL_MEC_RING2
	.comm	_AMDGPU_DOORBELL_MEC_RING3,4,2  ; @AMDGPU_DOORBELL_MEC_RING3
	.comm	_AMDGPU_DOORBELL_MEC_RING4,4,2  ; @AMDGPU_DOORBELL_MEC_RING4
	.comm	_AMDGPU_DOORBELL_MEC_RING5,4,2  ; @AMDGPU_DOORBELL_MEC_RING5
	.comm	_AMDGPU_DOORBELL_MEC_RING6,4,2  ; @AMDGPU_DOORBELL_MEC_RING6
	.comm	_AMDGPU_DOORBELL_MEC_RING7,4,2  ; @AMDGPU_DOORBELL_MEC_RING7
	.comm	_AMDGPU_DOORBELL_GFX_RING0,4,2  ; @AMDGPU_DOORBELL_GFX_RING0
	.comm	_AMDGPU_DOORBELL_sDMA_ENGINE0,4,2 ; @AMDGPU_DOORBELL_sDMA_ENGINE0
	.comm	_AMDGPU_DOORBELL_sDMA_ENGINE1,4,2 ; @AMDGPU_DOORBELL_sDMA_ENGINE1
	.comm	_AMDGPU_DOORBELL_IH,4,2         ; @AMDGPU_DOORBELL_IH
	.comm	_AMDGPU_DOORBELL_MAX_ASSIGNMENT,4,2 ; @AMDGPU_DOORBELL_MAX_ASSIGNMENT
.subsections_via_symbols
