	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radeon_register_accessor_init
_radeon_register_accessor_init:         ## @radeon_register_accessor_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	_radeon_invalid_rreg@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rdi)
	movq	_radeon_invalid_wreg@GOTPCREL(%rip), %rcx
	movq	%rcx, 32(%rdi)
	movq	%rax, 56(%rdi)
	movq	%rcx, 48(%rdi)
	movq	%rax, 24(%rdi)
	movq	%rcx, 16(%rdi)
	movq	(%rdi), %rax
	movq	_CHIP_RV515@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	movl	$255, %edx
	movl	$2047, %esi                     ## imm = 0x7FF
	cmovll	%edx, %esi
	movl	%esi, 8(%rdi)
	movq	_CHIP_R580@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jg	LBB0_2
## %bb.1:
	movq	_r100_pll_rreg@GOTPCREL(%rip), %rdx
	movq	%rdx, 56(%rdi)
	movq	_r100_pll_wreg@GOTPCREL(%rip), %rdx
	movq	%rdx, 48(%rdi)
LBB0_2:
	movq	_CHIP_R420@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jl	LBB0_4
## %bb.3:
	movq	_r420_mc_rreg@GOTPCREL(%rip), %rdx
	movq	%rdx, 40(%rdi)
	movq	_r420_mc_wreg@GOTPCREL(%rip), %rdx
	movq	%rdx, 32(%rdi)
LBB0_4:
	cmpq	%rcx, %rax
	jl	LBB0_6
## %bb.5:
	movq	_rv515_mc_rreg@GOTPCREL(%rip), %rcx
	movq	%rcx, 40(%rdi)
	movq	_rv515_mc_wreg@GOTPCREL(%rip), %rcx
	movq	%rcx, 32(%rdi)
LBB0_6:
	movq	_CHIP_RS400@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	movq	_CHIP_RS480@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
LBB0_8:
	movq	_rs400_mc_rreg@GOTPCREL(%rip), %rcx
	movq	%rcx, 40(%rdi)
	movq	_rs400_mc_wreg@GOTPCREL(%rip), %rcx
	movq	%rcx, 32(%rdi)
LBB0_9:
	movq	_CHIP_RS690@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.10:
	movq	_CHIP_RS740@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
LBB0_11:
	movq	_rs690_mc_rreg@GOTPCREL(%rip), %rcx
	movq	%rcx, 40(%rdi)
	movq	_rs690_mc_wreg@GOTPCREL(%rip), %rcx
	movq	%rcx, 32(%rdi)
LBB0_12:
	movq	_CHIP_RS600@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:
	movq	_rs600_mc_rreg@GOTPCREL(%rip), %rcx
	movq	%rcx, 40(%rdi)
	movq	_rs600_mc_wreg@GOTPCREL(%rip), %rcx
	movq	%rcx, 32(%rdi)
LBB0_14:
	movq	_CHIP_R600@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_16
## %bb.15:
	movq	_r600_pciep_rreg@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rdi)
	movq	_r600_pciep_wreg@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rdi)
LBB0_16:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_radeon_invalid_rreg,4,2        ## @radeon_invalid_rreg
	.comm	_radeon_invalid_wreg,4,2        ## @radeon_invalid_wreg
	.comm	_CHIP_RV515,8,3                 ## @CHIP_RV515
	.comm	_CHIP_R580,8,3                  ## @CHIP_R580
	.comm	_r100_pll_rreg,4,2              ## @r100_pll_rreg
	.comm	_r100_pll_wreg,4,2              ## @r100_pll_wreg
	.comm	_CHIP_R420,8,3                  ## @CHIP_R420
	.comm	_r420_mc_rreg,4,2               ## @r420_mc_rreg
	.comm	_r420_mc_wreg,4,2               ## @r420_mc_wreg
	.comm	_rv515_mc_rreg,4,2              ## @rv515_mc_rreg
	.comm	_rv515_mc_wreg,4,2              ## @rv515_mc_wreg
	.comm	_CHIP_RS400,8,3                 ## @CHIP_RS400
	.comm	_CHIP_RS480,8,3                 ## @CHIP_RS480
	.comm	_rs400_mc_rreg,4,2              ## @rs400_mc_rreg
	.comm	_rs400_mc_wreg,4,2              ## @rs400_mc_wreg
	.comm	_CHIP_RS690,8,3                 ## @CHIP_RS690
	.comm	_CHIP_RS740,8,3                 ## @CHIP_RS740
	.comm	_rs690_mc_rreg,4,2              ## @rs690_mc_rreg
	.comm	_rs690_mc_wreg,4,2              ## @rs690_mc_wreg
	.comm	_CHIP_RS600,8,3                 ## @CHIP_RS600
	.comm	_rs600_mc_rreg,4,2              ## @rs600_mc_rreg
	.comm	_rs600_mc_wreg,4,2              ## @rs600_mc_wreg
	.comm	_CHIP_R600,8,3                  ## @CHIP_R600
	.comm	_r600_pciep_rreg,4,2            ## @r600_pciep_rreg
	.comm	_r600_pciep_wreg,4,2            ## @r600_pciep_wreg
	.no_dead_strip	_radeon_register_accessor_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radeon_register_accessor_init
_radeon_register_accessor_init:         ; @radeon_register_accessor_init
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _radeon_invalid_rreg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _radeon_invalid_rreg@GOTPAGEOFF]
Lloh2:
	adrp	x9, _radeon_invalid_wreg@GOTPAGE
Lloh3:
	ldr	x9, [x9, _radeon_invalid_wreg@GOTPAGEOFF]
	stp	x9, x8, [x0, #32]
	stp	x9, x8, [x0, #48]
	stp	x9, x8, [x0, #16]
	ldr	x8, [x0]
Lloh4:
	adrp	x9, _CHIP_RV515@GOTPAGE
Lloh5:
	ldr	x9, [x9, _CHIP_RV515@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w10, #2047
	mov	w11, #255
	csel	w10, w11, w10, lt
	str	w10, [x0, #8]
Lloh7:
	adrp	x10, _CHIP_R580@GOTPAGE
Lloh8:
	ldr	x10, [x10, _CHIP_R580@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	cmp	x8, x10
	b.gt	LBB0_2
; %bb.1:
Lloh10:
	adrp	x10, _r100_pll_rreg@GOTPAGE
Lloh11:
	ldr	x10, [x10, _r100_pll_rreg@GOTPAGEOFF]
Lloh12:
	adrp	x11, _r100_pll_wreg@GOTPAGE
Lloh13:
	ldr	x11, [x11, _r100_pll_wreg@GOTPAGEOFF]
	stp	x11, x10, [x0, #48]
LBB0_2:
Lloh14:
	adrp	x10, _CHIP_R420@GOTPAGE
Lloh15:
	ldr	x10, [x10, _CHIP_R420@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x8, x10
	b.lt	LBB0_4
; %bb.3:
Lloh17:
	adrp	x10, _r420_mc_rreg@GOTPAGE
Lloh18:
	ldr	x10, [x10, _r420_mc_rreg@GOTPAGEOFF]
Lloh19:
	adrp	x11, _r420_mc_wreg@GOTPAGE
Lloh20:
	ldr	x11, [x11, _r420_mc_wreg@GOTPAGEOFF]
	stp	x11, x10, [x0, #32]
LBB0_4:
	cmp	x8, x9
	b.lt	LBB0_6
; %bb.5:
Lloh21:
	adrp	x9, _rv515_mc_rreg@GOTPAGE
Lloh22:
	ldr	x9, [x9, _rv515_mc_rreg@GOTPAGEOFF]
Lloh23:
	adrp	x10, _rv515_mc_wreg@GOTPAGE
Lloh24:
	ldr	x10, [x10, _rv515_mc_wreg@GOTPAGEOFF]
	stp	x10, x9, [x0, #32]
LBB0_6:
Lloh25:
	adrp	x9, _CHIP_RS400@GOTPAGE
Lloh26:
	ldr	x9, [x9, _CHIP_RS400@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
Lloh28:
	adrp	x10, _CHIP_RS480@GOTPAGE
Lloh29:
	ldr	x10, [x10, _CHIP_RS480@GOTPAGEOFF]
Lloh30:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
; %bb.7:
Lloh31:
	adrp	x9, _rs400_mc_rreg@GOTPAGE
Lloh32:
	ldr	x9, [x9, _rs400_mc_rreg@GOTPAGEOFF]
Lloh33:
	adrp	x10, _rs400_mc_wreg@GOTPAGE
Lloh34:
	ldr	x10, [x10, _rs400_mc_wreg@GOTPAGEOFF]
	stp	x10, x9, [x0, #32]
LBB0_8:
Lloh35:
	adrp	x9, _CHIP_RS690@GOTPAGE
Lloh36:
	ldr	x9, [x9, _CHIP_RS690@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.9:
Lloh38:
	adrp	x9, _CHIP_RS740@GOTPAGE
Lloh39:
	ldr	x9, [x9, _CHIP_RS740@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
LBB0_10:
Lloh41:
	adrp	x9, _rs690_mc_rreg@GOTPAGE
Lloh42:
	ldr	x9, [x9, _rs690_mc_rreg@GOTPAGEOFF]
Lloh43:
	adrp	x10, _rs690_mc_wreg@GOTPAGE
Lloh44:
	ldr	x10, [x10, _rs690_mc_wreg@GOTPAGEOFF]
	stp	x10, x9, [x0, #32]
LBB0_11:
Lloh45:
	adrp	x9, _CHIP_RS600@GOTPAGE
Lloh46:
	ldr	x9, [x9, _CHIP_RS600@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
Lloh48:
	adrp	x9, _rs600_mc_rreg@GOTPAGE
Lloh49:
	ldr	x9, [x9, _rs600_mc_rreg@GOTPAGEOFF]
Lloh50:
	adrp	x10, _rs600_mc_wreg@GOTPAGE
Lloh51:
	ldr	x10, [x10, _rs600_mc_wreg@GOTPAGEOFF]
	stp	x10, x9, [x0, #32]
LBB0_13:
Lloh52:
	adrp	x9, _CHIP_R600@GOTPAGE
Lloh53:
	ldr	x9, [x9, _CHIP_R600@GOTPAGEOFF]
Lloh54:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_15
; %bb.14:
Lloh55:
	adrp	x8, _r600_pciep_rreg@GOTPAGE
Lloh56:
	ldr	x8, [x8, _r600_pciep_rreg@GOTPAGEOFF]
Lloh57:
	adrp	x9, _r600_pciep_wreg@GOTPAGE
Lloh58:
	ldr	x9, [x9, _r600_pciep_wreg@GOTPAGEOFF]
	stp	x9, x8, [x0, #16]
LBB0_15:
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_radeon_invalid_rreg,4,2        ; @radeon_invalid_rreg
	.comm	_radeon_invalid_wreg,4,2        ; @radeon_invalid_wreg
	.comm	_CHIP_RV515,8,3                 ; @CHIP_RV515
	.comm	_CHIP_R580,8,3                  ; @CHIP_R580
	.comm	_r100_pll_rreg,4,2              ; @r100_pll_rreg
	.comm	_r100_pll_wreg,4,2              ; @r100_pll_wreg
	.comm	_CHIP_R420,8,3                  ; @CHIP_R420
	.comm	_r420_mc_rreg,4,2               ; @r420_mc_rreg
	.comm	_r420_mc_wreg,4,2               ; @r420_mc_wreg
	.comm	_rv515_mc_rreg,4,2              ; @rv515_mc_rreg
	.comm	_rv515_mc_wreg,4,2              ; @rv515_mc_wreg
	.comm	_CHIP_RS400,8,3                 ; @CHIP_RS400
	.comm	_CHIP_RS480,8,3                 ; @CHIP_RS480
	.comm	_rs400_mc_rreg,4,2              ; @rs400_mc_rreg
	.comm	_rs400_mc_wreg,4,2              ; @rs400_mc_wreg
	.comm	_CHIP_RS690,8,3                 ; @CHIP_RS690
	.comm	_CHIP_RS740,8,3                 ; @CHIP_RS740
	.comm	_rs690_mc_rreg,4,2              ; @rs690_mc_rreg
	.comm	_rs690_mc_wreg,4,2              ; @rs690_mc_wreg
	.comm	_CHIP_RS600,8,3                 ; @CHIP_RS600
	.comm	_rs600_mc_rreg,4,2              ; @rs600_mc_rreg
	.comm	_rs600_mc_wreg,4,2              ; @rs600_mc_wreg
	.comm	_CHIP_R600,8,3                  ; @CHIP_R600
	.comm	_r600_pciep_rreg,4,2            ; @r600_pciep_rreg
	.comm	_r600_pciep_wreg,4,2            ; @r600_pciep_wreg
	.no_dead_strip	_radeon_register_accessor_init
.subsections_via_symbols
