	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_YabauseResetNoLoad             ## -- Begin function YabauseResetNoLoad
	.p2align	4, 0x90
_YabauseResetNoLoad:                    ## @YabauseResetNoLoad
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_MSH2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_SH2Reset
	xorl	%eax, %eax
	callq	_YabauseStopSlave
	movq	_HighWram@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$1048576, %edx                  ## imm = 0x100000
	callq	_memset
	movq	_LowWram@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$1048576, %edx                  ## imm = 0x100000
	callq	_memset
	xorl	%eax, %eax
	callq	_Cs2Reset
	xorl	%eax, %eax
	callq	_ScuReset
	xorl	%eax, %eax
	callq	_ScspReset
	xorl	%eax, %eax
	callq	_Vdp1Reset
	xorl	%eax, %eax
	callq	_Vdp2Reset
	xorl	%eax, %eax
	callq	_SmpcReset
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_SH2PowerOn                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSH2,4,2                       ## @MSH2
	.comm	_HighWram,4,2                   ## @HighWram
	.comm	_LowWram,4,2                    ## @LowWram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_YabauseResetNoLoad             ; -- Begin function YabauseResetNoLoad
	.p2align	2
_YabauseResetNoLoad:                    ; @YabauseResetNoLoad
	.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
Lloh0:
	adrp	x19, _MSH2@GOTPAGE
Lloh1:
	ldr	x19, [x19, _MSH2@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_SH2Reset
	bl	_YabauseStopSlave
Lloh2:
	adrp	x8, _HighWram@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HighWram@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #1048576
	bl	_memset
Lloh5:
	adrp	x8, _LowWram@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LowWram@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #1048576
	bl	_memset
	bl	_Cs2Reset
	bl	_ScuReset
	bl	_ScspReset
	bl	_Vdp1Reset
	bl	_Vdp2Reset
	bl	_SmpcReset
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SH2PowerOn
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MSH2,4,2                       ; @MSH2
	.comm	_HighWram,4,2                   ; @HighWram
	.comm	_LowWram,4,2                    ; @LowWram
.subsections_via_symbols
