	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spu_reset
_spu_reset:                             ## @spu_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_spu_disable
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	$524288, %edx                   ## imm = 0x80000
	callq	_spu_memset
	callq	_local_irq_save
	movq	_SPU_MEMORY_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-369098750, %edi               ## imm = 0xEA000002
	callq	_ctrl_outl
	callq	_local_irq_restore
	xorl	%eax, %eax
	popq	%rbp
	jmp	_spu_enable                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SPU_MEMORY_BASE,4,2            ## @SPU_MEMORY_BASE
	.no_dead_strip	_spu_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spu_reset
_spu_reset:                             ; @spu_reset
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_spu_disable
	mov	w0, #0
	mov	w1, #0
	mov	w2, #524288
	bl	_spu_memset
	bl	_local_irq_save
Lloh0:
	adrp	x8, _SPU_MEMORY_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPU_MEMORY_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #2
	movk	w0, #59904, lsl #16
	bl	_ctrl_outl
	bl	_local_irq_restore
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_spu_enable
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SPU_MEMORY_BASE,4,2            ; @SPU_MEMORY_BASE
	.no_dead_strip	_spu_reset
.subsections_via_symbols
