	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode
_gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode: ## @gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	32(%rdi), %rax
	movq	(%rax), %rbx
	movl	8(%rbx), %edi
	callq	_le32_to_cpu
	leaq	(%rax,%rbx), %r14
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
	movq	_FIRMWARE_ID_CP_PFP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_gfx_v10_0_rlc_backdoor_autoload_copy_ucode
	movq	24(%r15), %rax
	movq	(%rax), %rbx
	movl	8(%rbx), %edi
	callq	_le32_to_cpu
	leaq	(%rax,%rbx), %r14
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
	movq	_FIRMWARE_ID_CP_CE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_gfx_v10_0_rlc_backdoor_autoload_copy_ucode
	movq	16(%r15), %rax
	movq	(%rax), %rbx
	movl	8(%rbx), %edi
	callq	_le32_to_cpu
	leaq	(%rax,%rbx), %r14
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
	movq	_FIRMWARE_ID_CP_ME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_gfx_v10_0_rlc_backdoor_autoload_copy_ucode
	movq	8(%r15), %rax
	movq	(%rax), %rbx
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
	leaq	(%rax,%rbx), %r14
	movl	(%rbx), %edi
	callq	_le32_to_cpu
	movq	_FIRMWARE_ID_RLC_G_UCODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_gfx_v10_0_rlc_backdoor_autoload_copy_ucode
	movq	(%r15), %rax
	movq	(%rax), %rbx
	movl	8(%rbx), %edi
	callq	_le32_to_cpu
	leaq	(%rax,%rbx), %r14
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
	movslq	(%rbx), %rcx
	shlq	$2, %rcx
	subq	%rcx, %rax
	movq	_FIRMWARE_ID_CP_MEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movq	%rax, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gfx_v10_0_rlc_backdoor_autoload_copy_ucode ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FIRMWARE_ID_CP_PFP,4,2         ## @FIRMWARE_ID_CP_PFP
	.comm	_FIRMWARE_ID_CP_CE,4,2          ## @FIRMWARE_ID_CP_CE
	.comm	_FIRMWARE_ID_CP_ME,4,2          ## @FIRMWARE_ID_CP_ME
	.comm	_FIRMWARE_ID_RLC_G_UCODE,4,2    ## @FIRMWARE_ID_RLC_G_UCODE
	.comm	_FIRMWARE_ID_CP_MEC,4,2         ## @FIRMWARE_ID_CP_MEC
	.no_dead_strip	_gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode
_gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode: ; @gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldr	x21, [x8]
	ldr	w0, [x21, #8]
	bl	_le32_to_cpu
	add	x20, x0, x21
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
	mov	x3, x0
Lloh0:
	adrp	x8, _FIRMWARE_ID_CP_PFP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIRMWARE_ID_CP_PFP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_gfx_v10_0_rlc_backdoor_autoload_copy_ucode
	ldr	x8, [x19, #24]
	ldr	x21, [x8]
	ldr	w0, [x21, #8]
	bl	_le32_to_cpu
	add	x20, x0, x21
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
	mov	x3, x0
Lloh3:
	adrp	x8, _FIRMWARE_ID_CP_CE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIRMWARE_ID_CP_CE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_gfx_v10_0_rlc_backdoor_autoload_copy_ucode
	ldr	x8, [x19, #16]
	ldr	x21, [x8]
	ldr	w0, [x21, #8]
	bl	_le32_to_cpu
	add	x20, x0, x21
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
	mov	x3, x0
Lloh6:
	adrp	x8, _FIRMWARE_ID_CP_ME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FIRMWARE_ID_CP_ME@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_gfx_v10_0_rlc_backdoor_autoload_copy_ucode
	ldr	x8, [x19, #8]
	ldr	x21, [x8]
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
	add	x20, x0, x21
	ldr	w0, [x21]
	bl	_le32_to_cpu
	mov	x3, x0
Lloh9:
	adrp	x8, _FIRMWARE_ID_RLC_G_UCODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FIRMWARE_ID_RLC_G_UCODE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_gfx_v10_0_rlc_backdoor_autoload_copy_ucode
	ldr	x8, [x19]
	ldr	x21, [x8]
	ldr	w0, [x21, #8]
	bl	_le32_to_cpu
	add	x20, x0, x21
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
	ldrsw	x8, [x21]
Lloh12:
	adrp	x9, _FIRMWARE_ID_CP_MEC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FIRMWARE_ID_CP_MEC@GOTPAGEOFF]
	sub	x3, x0, x8, lsl #2
Lloh14:
	ldr	w1, [x9]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gfx_v10_0_rlc_backdoor_autoload_copy_ucode
	.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	_FIRMWARE_ID_CP_PFP,4,2         ; @FIRMWARE_ID_CP_PFP
	.comm	_FIRMWARE_ID_CP_CE,4,2          ; @FIRMWARE_ID_CP_CE
	.comm	_FIRMWARE_ID_CP_ME,4,2          ; @FIRMWARE_ID_CP_ME
	.comm	_FIRMWARE_ID_RLC_G_UCODE,4,2    ; @FIRMWARE_ID_RLC_G_UCODE
	.comm	_FIRMWARE_ID_CP_MEC,4,2         ; @FIRMWARE_ID_CP_MEC
	.no_dead_strip	_gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode
.subsections_via_symbols
