	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amdgpu_cgs_write_ind_register
_amdgpu_cgs_write_ind_register:         ## @amdgpu_cgs_write_ind_register
	.cfi_startproc
## %bb.0:
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$7, %esi
	ja	LBB0_10
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rsi
	addq	%rax, %rsi
	popq	%rbp
	jmpq	*%rsi
LBB0_5:
	movl	%edx, %edi
	movl	%ecx, %esi
	jmp	_WREG32_UVD_CTX                 ## TAILCALL
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	jmp	_WARN                           ## TAILCALL
LBB0_4:
	movl	%edx, %edi
	movl	%ecx, %esi
	jmp	_WREG32_SMC                     ## TAILCALL
LBB0_3:
	movl	%edx, %edi
	movl	%ecx, %esi
	jmp	_WREG32_PCIE                    ## TAILCALL
LBB0_2:
	movl	%edx, %edi
	movl	%ecx, %esi
	jmp	_WREG32_IDX                     ## TAILCALL
LBB0_6:
	movl	%edx, %edi
	movl	%ecx, %esi
	jmp	_WREG32_DIDT                    ## TAILCALL
LBB0_9:
	leaq	L_.str(%rip), %rdi
	jmp	_DRM_ERROR                      ## TAILCALL
LBB0_8:
	movl	%edx, %edi
	movl	%ecx, %esi
	jmp	_WREG32_SE_CAC                  ## TAILCALL
LBB0_7:
	movl	%edx, %edi
	movl	%ecx, %esi
	jmp	_WREG32_GC_CAC                  ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_CGS_FUNC_ADEV,4,2              ## @CGS_FUNC_ADEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"audio endpt register access not implemented.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid indirect register space"

	.no_dead_strip	_amdgpu_cgs_write_ind_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amdgpu_cgs_write_ind_register
_amdgpu_cgs_write_ind_register:         ; @amdgpu_cgs_write_ind_register
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #7
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x2
	mov	x1, x3
	b	_WREG32_UVD_CTX
LBB0_3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	b	_WARN
LBB0_4:
	mov	x0, x2
	mov	x1, x3
	b	_WREG32_SMC
LBB0_5:
	mov	x0, x2
	mov	x1, x3
	b	_WREG32_PCIE
LBB0_6:
	mov	x0, x2
	mov	x1, x3
	b	_WREG32_IDX
LBB0_7:
	mov	x0, x2
	mov	x1, x3
	b	_WREG32_DIDT
LBB0_8:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	b	_DRM_ERROR
LBB0_9:
	mov	x0, x2
	mov	x1, x3
	b	_WREG32_SE_CAC
LBB0_10:
	mov	x0, x2
	mov	x1, x3
	b	_WREG32_GC_CAC
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_CGS_FUNC_ADEV,4,2              ; @CGS_FUNC_ADEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"audio endpt register access not implemented.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid indirect register space"

	.no_dead_strip	_amdgpu_cgs_write_ind_register
.subsections_via_symbols
