	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si_fini_cg
_si_fini_cg:                            ## @si_fini_cg
	.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
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	_RADEON_CG_BLOCK_UVD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_si_update_cg
LBB0_2:
	movq	_RADEON_CG_BLOCK_GFX@GOTPCREL(%rip), %rax
	movq	_RADEON_CG_BLOCK_MC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_RADEON_CG_BLOCK_SDMA@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_RADEON_CG_BLOCK_BIF@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_RADEON_CG_BLOCK_HDP@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_si_update_cg                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RADEON_CG_BLOCK_UVD,4,2        ## @RADEON_CG_BLOCK_UVD
	.comm	_RADEON_CG_BLOCK_GFX,4,2        ## @RADEON_CG_BLOCK_GFX
	.comm	_RADEON_CG_BLOCK_MC,4,2         ## @RADEON_CG_BLOCK_MC
	.comm	_RADEON_CG_BLOCK_SDMA,4,2       ## @RADEON_CG_BLOCK_SDMA
	.comm	_RADEON_CG_BLOCK_BIF,4,2        ## @RADEON_CG_BLOCK_BIF
	.comm	_RADEON_CG_BLOCK_HDP,4,2        ## @RADEON_CG_BLOCK_HDP
	.no_dead_strip	_si_fini_cg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si_fini_cg
_si_fini_cg:                            ; @si_fini_cg
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _RADEON_CG_BLOCK_UVD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RADEON_CG_BLOCK_UVD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_si_update_cg
LBB0_2:
Lloh3:
	adrp	x8, _RADEON_CG_BLOCK_GFX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RADEON_CG_BLOCK_GFX@GOTPAGEOFF]
Lloh5:
	adrp	x9, _RADEON_CG_BLOCK_MC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RADEON_CG_BLOCK_MC@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _RADEON_CG_BLOCK_SDMA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RADEON_CG_BLOCK_SDMA@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _RADEON_CG_BLOCK_BIF@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RADEON_CG_BLOCK_BIF@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _RADEON_CG_BLOCK_HDP@GOTPAGE
Lloh16:
	ldr	x10, [x10, _RADEON_CG_BLOCK_HDP@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh17:
	ldr	w9, [x10]
	orr	w1, w8, w9
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_si_update_cg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RADEON_CG_BLOCK_UVD,4,2        ; @RADEON_CG_BLOCK_UVD
	.comm	_RADEON_CG_BLOCK_GFX,4,2        ; @RADEON_CG_BLOCK_GFX
	.comm	_RADEON_CG_BLOCK_MC,4,2         ; @RADEON_CG_BLOCK_MC
	.comm	_RADEON_CG_BLOCK_SDMA,4,2       ; @RADEON_CG_BLOCK_SDMA
	.comm	_RADEON_CG_BLOCK_BIF,4,2        ; @RADEON_CG_BLOCK_BIF
	.comm	_RADEON_CG_BLOCK_HDP,4,2        ; @RADEON_CG_BLOCK_HDP
	.no_dead_strip	_si_fini_cg
.subsections_via_symbols
