	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psp_v3_1_sram_map
_psp_v3_1_sram_map:                     ## @psp_v3_1_sram_map
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	addl	$-132, %r8d
	cmpl	$7, %r8d
	ja	LBB0_10
## %bb.1:
	movq	%rcx, %r14
	movq	%rdx, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r8,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_9:
	movl	$0, (%rsi)
	movq	_SDMA0@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_mmSDMA0_UCODE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	movl	%eax, (%rbx)
	movl	(%r12), %edi
	movq	_mmSDMA0_UCODE_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_8:
	movl	$8192, (%rsi)                   ## imm = 0x2000
	movq	_GC@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_mmRLC_GPM_UCODE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	movl	%eax, (%rbx)
	movl	(%r12), %edi
	movq	_mmRLC_GPM_UCODE_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_11
LBB0_4:
	movl	$0, (%rsi)
	movq	_GC@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_mmCP_PFP_UCODE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	movl	%eax, (%rbx)
	movl	(%r12), %edi
	movq	_mmCP_PFP_UCODE_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movl	$65536, (%rsi)                  ## imm = 0x10000
	movq	_GC@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_mmCP_HYP_MEC2_UCODE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	movl	%eax, (%rbx)
	movl	(%r12), %edi
	movq	_mmCP_HYP_MEC2_UCODE_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movl	$0, (%rsi)
	movq	_GC@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_mmCP_HYP_ME_UCODE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	movl	%eax, (%rbx)
	movl	(%r12), %edi
	movq	_mmCP_HYP_ME_UCODE_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movl	$0, (%rsi)
	movq	_GC@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_mmCP_CE_UCODE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	movl	%eax, (%rbx)
	movl	(%r12), %edi
	movq	_mmCP_CE_UCODE_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_6:
	movl	$65536, (%rsi)                  ## imm = 0x10000
	movq	_GC@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_mmCP_MEC_ME1_UCODE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	movl	%eax, (%rbx)
	movl	(%r12), %edi
	movq	_mmCP_MEC_ME1_UCODE_DATA@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	movl	%eax, (%r14)
LBB0_11:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_GC,4,2                         ## @GC
	.comm	_mmCP_CE_UCODE_ADDR,4,2         ## @mmCP_CE_UCODE_ADDR
	.comm	_mmCP_CE_UCODE_DATA,4,2         ## @mmCP_CE_UCODE_DATA
	.comm	_mmCP_PFP_UCODE_ADDR,4,2        ## @mmCP_PFP_UCODE_ADDR
	.comm	_mmCP_PFP_UCODE_DATA,4,2        ## @mmCP_PFP_UCODE_DATA
	.comm	_mmCP_HYP_ME_UCODE_ADDR,4,2     ## @mmCP_HYP_ME_UCODE_ADDR
	.comm	_mmCP_HYP_ME_UCODE_DATA,4,2     ## @mmCP_HYP_ME_UCODE_DATA
	.comm	_mmCP_MEC_ME1_UCODE_ADDR,4,2    ## @mmCP_MEC_ME1_UCODE_ADDR
	.comm	_mmCP_MEC_ME1_UCODE_DATA,4,2    ## @mmCP_MEC_ME1_UCODE_DATA
	.comm	_mmCP_HYP_MEC2_UCODE_ADDR,4,2   ## @mmCP_HYP_MEC2_UCODE_ADDR
	.comm	_mmCP_HYP_MEC2_UCODE_DATA,4,2   ## @mmCP_HYP_MEC2_UCODE_DATA
	.comm	_mmRLC_GPM_UCODE_ADDR,4,2       ## @mmRLC_GPM_UCODE_ADDR
	.comm	_mmRLC_GPM_UCODE_DATA,4,2       ## @mmRLC_GPM_UCODE_DATA
	.comm	_SDMA0,4,2                      ## @SDMA0
	.comm	_mmSDMA0_UCODE_ADDR,4,2         ## @mmSDMA0_UCODE_ADDR
	.comm	_mmSDMA0_UCODE_DATA,4,2         ## @mmSDMA0_UCODE_DATA
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_psp_v3_1_sram_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psp_v3_1_sram_map
_psp_v3_1_sram_map:                     ; @psp_v3_1_sram_map
	.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
	sub	w8, w4, #132
	cmp	w8, #7
	b.hi	LBB0_4
; %bb.1:
	mov	x19, x3
	mov	x20, x2
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:
	str	wzr, [x1]
Lloh2:
	adrp	x21, _SDMA0@GOTPAGE
Lloh3:
	ldr	x21, [x21, _SDMA0@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh4:
	adrp	x8, _mmSDMA0_UCODE_ADDR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _mmSDMA0_UCODE_ADDR@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	str	w0, [x20]
	ldr	w0, [x21]
Lloh7:
	adrp	x8, _mmSDMA0_UCODE_DATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _mmSDMA0_UCODE_DATA@GOTPAGEOFF]
	b	LBB0_10
LBB0_3:
	mov	w8, #8192
	str	w8, [x1]
Lloh9:
	adrp	x21, _GC@GOTPAGE
Lloh10:
	ldr	x21, [x21, _GC@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh11:
	adrp	x8, _mmRLC_GPM_UCODE_ADDR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _mmRLC_GPM_UCODE_ADDR@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	str	w0, [x20]
	ldr	w0, [x21]
Lloh14:
	adrp	x8, _mmRLC_GPM_UCODE_DATA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _mmRLC_GPM_UCODE_DATA@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_5:
	str	wzr, [x1]
Lloh19:
	adrp	x21, _GC@GOTPAGE
Lloh20:
	ldr	x21, [x21, _GC@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh21:
	adrp	x8, _mmCP_PFP_UCODE_ADDR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _mmCP_PFP_UCODE_ADDR@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	str	w0, [x20]
	ldr	w0, [x21]
Lloh24:
	adrp	x8, _mmCP_PFP_UCODE_DATA@GOTPAGE
Lloh25:
	ldr	x8, [x8, _mmCP_PFP_UCODE_DATA@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
	mov	w8, #65536
	str	w8, [x1]
Lloh26:
	adrp	x21, _GC@GOTPAGE
Lloh27:
	ldr	x21, [x21, _GC@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh28:
	adrp	x8, _mmCP_HYP_MEC2_UCODE_ADDR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _mmCP_HYP_MEC2_UCODE_ADDR@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	str	w0, [x20]
	ldr	w0, [x21]
Lloh31:
	adrp	x8, _mmCP_HYP_MEC2_UCODE_DATA@GOTPAGE
Lloh32:
	ldr	x8, [x8, _mmCP_HYP_MEC2_UCODE_DATA@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
	str	wzr, [x1]
Lloh33:
	adrp	x21, _GC@GOTPAGE
Lloh34:
	ldr	x21, [x21, _GC@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh35:
	adrp	x8, _mmCP_HYP_ME_UCODE_ADDR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _mmCP_HYP_ME_UCODE_ADDR@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	str	w0, [x20]
	ldr	w0, [x21]
Lloh38:
	adrp	x8, _mmCP_HYP_ME_UCODE_DATA@GOTPAGE
Lloh39:
	ldr	x8, [x8, _mmCP_HYP_ME_UCODE_DATA@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	str	wzr, [x1]
Lloh40:
	adrp	x21, _GC@GOTPAGE
Lloh41:
	ldr	x21, [x21, _GC@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh42:
	adrp	x8, _mmCP_CE_UCODE_ADDR@GOTPAGE
Lloh43:
	ldr	x8, [x8, _mmCP_CE_UCODE_ADDR@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	str	w0, [x20]
	ldr	w0, [x21]
Lloh45:
	adrp	x8, _mmCP_CE_UCODE_DATA@GOTPAGE
Lloh46:
	ldr	x8, [x8, _mmCP_CE_UCODE_DATA@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
	mov	w8, #65536
	str	w8, [x1]
Lloh47:
	adrp	x21, _GC@GOTPAGE
Lloh48:
	ldr	x21, [x21, _GC@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh49:
	adrp	x8, _mmCP_MEC_ME1_UCODE_ADDR@GOTPAGE
Lloh50:
	ldr	x8, [x8, _mmCP_MEC_ME1_UCODE_ADDR@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	str	w0, [x20]
	ldr	w0, [x21]
Lloh52:
	adrp	x8, _mmCP_MEC_ME1_UCODE_DATA@GOTPAGE
Lloh53:
	ldr	x8, [x8, _mmCP_MEC_ME1_UCODE_DATA@GOTPAGEOFF]
LBB0_10:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
LBB0_11:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh47, Lloh48
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_GC,4,2                         ; @GC
	.comm	_mmCP_CE_UCODE_ADDR,4,2         ; @mmCP_CE_UCODE_ADDR
	.comm	_mmCP_CE_UCODE_DATA,4,2         ; @mmCP_CE_UCODE_DATA
	.comm	_mmCP_PFP_UCODE_ADDR,4,2        ; @mmCP_PFP_UCODE_ADDR
	.comm	_mmCP_PFP_UCODE_DATA,4,2        ; @mmCP_PFP_UCODE_DATA
	.comm	_mmCP_HYP_ME_UCODE_ADDR,4,2     ; @mmCP_HYP_ME_UCODE_ADDR
	.comm	_mmCP_HYP_ME_UCODE_DATA,4,2     ; @mmCP_HYP_ME_UCODE_DATA
	.comm	_mmCP_MEC_ME1_UCODE_ADDR,4,2    ; @mmCP_MEC_ME1_UCODE_ADDR
	.comm	_mmCP_MEC_ME1_UCODE_DATA,4,2    ; @mmCP_MEC_ME1_UCODE_DATA
	.comm	_mmCP_HYP_MEC2_UCODE_ADDR,4,2   ; @mmCP_HYP_MEC2_UCODE_ADDR
	.comm	_mmCP_HYP_MEC2_UCODE_DATA,4,2   ; @mmCP_HYP_MEC2_UCODE_DATA
	.comm	_mmRLC_GPM_UCODE_ADDR,4,2       ; @mmRLC_GPM_UCODE_ADDR
	.comm	_mmRLC_GPM_UCODE_DATA,4,2       ; @mmRLC_GPM_UCODE_DATA
	.comm	_SDMA0,4,2                      ; @SDMA0
	.comm	_mmSDMA0_UCODE_ADDR,4,2         ; @mmSDMA0_UCODE_ADDR
	.comm	_mmSDMA0_UCODE_DATA,4,2         ; @mmSDMA0_UCODE_DATA
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_psp_v3_1_sram_map
.subsections_via_symbols
