	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psp_v10_0_ring_create
_psp_v10_0_ring_create:                 ## @psp_v10_0_ring_create
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	12(%rdi), %edi
	callq	_lower_32_bits
	movq	_MP0@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_mmMP0_SMN_C2PMSG_69@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%esi, %esi
	movl	%eax, %ecx
	callq	_WREG32_SOC15
	movl	12(%rbx), %edi
	callq	_upper_32_bits
	movl	(%r15), %edi
	movq	_mmMP0_SMN_C2PMSG_70@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%esi, %esi
	movl	%eax, %ecx
	callq	_WREG32_SOC15
	movl	8(%rbx), %ecx
	movl	(%r15), %edi
	movq	_mmMP0_SMN_C2PMSG_71@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_WREG32_SOC15
	shll	$16, %r14d
	movl	(%r15), %edi
	movq	_mmMP0_SMN_C2PMSG_64@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	xorl	%esi, %esi
	movl	%r14d, %ecx
	callq	_WREG32_SOC15
	movl	$20, %edi
	callq	_mdelay
	movl	(%r15), %edi
	movl	(%r12), %edx
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$-2147483648, %edx              ## imm = 0x80000000
	movl	$-2147418113, %ecx              ## imm = 0x8000FFFF
	xorl	%r8d, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_psp_wait_for                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MP0,4,2                        ## @MP0
	.comm	_mmMP0_SMN_C2PMSG_69,4,2        ## @mmMP0_SMN_C2PMSG_69
	.comm	_mmMP0_SMN_C2PMSG_70,4,2        ## @mmMP0_SMN_C2PMSG_70
	.comm	_mmMP0_SMN_C2PMSG_71,4,2        ## @mmMP0_SMN_C2PMSG_71
	.comm	_mmMP0_SMN_C2PMSG_64,4,2        ## @mmMP0_SMN_C2PMSG_64
	.no_dead_strip	_psp_v10_0_ring_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psp_v10_0_ring_create
_psp_v10_0_ring_create:                 ; @psp_v10_0_ring_create
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #12]
	bl	_lower_32_bits
	mov	x3, x0
Lloh0:
	adrp	x21, _MP0@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MP0@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _mmMP0_SMN_C2PMSG_69@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mmMP0_SMN_C2PMSG_69@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_WREG32_SOC15
	ldr	w0, [x19, #12]
	bl	_upper_32_bits
	mov	x3, x0
	ldr	w0, [x21]
Lloh5:
	adrp	x8, _mmMP0_SMN_C2PMSG_70@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mmMP0_SMN_C2PMSG_70@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_WREG32_SOC15
	ldr	w3, [x19, #8]
	ldr	w0, [x21]
Lloh8:
	adrp	x8, _mmMP0_SMN_C2PMSG_71@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mmMP0_SMN_C2PMSG_71@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_WREG32_SOC15
	lsl	w3, w20, #16
	ldr	w0, [x21]
Lloh11:
	adrp	x20, _mmMP0_SMN_C2PMSG_64@GOTPAGE
Lloh12:
	ldr	x20, [x20, _mmMP0_SMN_C2PMSG_64@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w1, #0
	bl	_WREG32_SOC15
	mov	w0, #20
	bl	_mdelay
	ldr	w0, [x21]
	ldr	w2, [x20]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-2147483648
	mov	w3, #-2147418113
	mov	w4, #0
	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	_psp_wait_for
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MP0,4,2                        ; @MP0
	.comm	_mmMP0_SMN_C2PMSG_69,4,2        ; @mmMP0_SMN_C2PMSG_69
	.comm	_mmMP0_SMN_C2PMSG_70,4,2        ; @mmMP0_SMN_C2PMSG_70
	.comm	_mmMP0_SMN_C2PMSG_71,4,2        ; @mmMP0_SMN_C2PMSG_71
	.comm	_mmMP0_SMN_C2PMSG_64,4,2        ; @mmMP0_SMN_C2PMSG_64
	.no_dead_strip	_psp_v10_0_ring_create
.subsections_via_symbols
