	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu8_smu_construct_toc_for_vddgfx_enter
_smu8_smu_construct_toc_for_vddgfx_enter: ## @smu8_smu_construct_toc_for_vddgfx_enter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	_JOB_GFX_SAVE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, (%rax,%rdx,8)
	movq	_SMU8_SCRATCH_ENTRY_UCODE_ID_RLC_SCRATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TASK_TYPE_UCODE_SAVE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	xorl	%ecx, %ecx
	callq	_smu8_smu_populate_single_scratch_task
	movq	_SMU8_SCRATCH_ENTRY_UCODE_ID_RLC_SRM_DRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_smu8_smu_populate_single_scratch_task
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JOB_GFX_SAVE,8,3               ## @JOB_GFX_SAVE
	.comm	_SMU8_SCRATCH_ENTRY_UCODE_ID_RLC_SCRATCH,4,2 ## @SMU8_SCRATCH_ENTRY_UCODE_ID_RLC_SCRATCH
	.comm	_TASK_TYPE_UCODE_SAVE,4,2       ## @TASK_TYPE_UCODE_SAVE
	.comm	_SMU8_SCRATCH_ENTRY_UCODE_ID_RLC_SRM_DRAM,4,2 ## @SMU8_SCRATCH_ENTRY_UCODE_ID_RLC_SRM_DRAM
	.no_dead_strip	_smu8_smu_construct_toc_for_vddgfx_enter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu8_smu_construct_toc_for_vddgfx_enter
_smu8_smu_construct_toc_for_vddgfx_enter: ; @smu8_smu_construct_toc_for_vddgfx_enter
	.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]
	ldp	x8, x9, [x8]
	ldr	x9, [x9]
Lloh0:
	adrp	x10, _JOB_GFX_SAVE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _JOB_GFX_SAVE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	str	x8, [x9, x10, lsl #3]
Lloh3:
	adrp	x8, _SMU8_SCRATCH_ENTRY_UCODE_ID_RLC_SCRATCH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SMU8_SCRATCH_ENTRY_UCODE_ID_RLC_SCRATCH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x20, _TASK_TYPE_UCODE_SAVE@GOTPAGE
Lloh7:
	ldr	x20, [x20, _TASK_TYPE_UCODE_SAVE@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w3, #0
	bl	_smu8_smu_populate_single_scratch_task
Lloh8:
	adrp	x8, _SMU8_SCRATCH_ENTRY_UCODE_ID_RLC_SRM_DRAM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SMU8_SCRATCH_ENTRY_UCODE_ID_RLC_SRM_DRAM@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #1
	bl	_smu8_smu_populate_single_scratch_task
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_JOB_GFX_SAVE,8,3               ; @JOB_GFX_SAVE
	.comm	_SMU8_SCRATCH_ENTRY_UCODE_ID_RLC_SCRATCH,4,2 ; @SMU8_SCRATCH_ENTRY_UCODE_ID_RLC_SCRATCH
	.comm	_TASK_TYPE_UCODE_SAVE,4,2       ; @TASK_TYPE_UCODE_SAVE
	.comm	_SMU8_SCRATCH_ENTRY_UCODE_ID_RLC_SRM_DRAM,4,2 ; @SMU8_SCRATCH_ENTRY_UCODE_ID_RLC_SRM_DRAM
	.no_dead_strip	_smu8_smu_construct_toc_for_vddgfx_enter
.subsections_via_symbols
