	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_YabauseReset                   ## -- Begin function YabauseReset
	.p2align	4, 0x90
_YabauseReset:                          ## @YabauseReset
	.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	_yabsys@GOTPCREL(%rip), %rbx
	cmpq	$0, 16(%rbx)
	je	LBB0_2
## %bb.1:
	movq	$0, 16(%rbx)
LBB0_2:
	xorl	%eax, %eax
	callq	_YabauseResetNoLoad
	movq	8(%rbx), %rax
	orq	(%rbx), %rax
	je	LBB0_6
## %bb.3:
	xorl	%eax, %eax
	callq	_YabauseQuickLoadGame
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.7:
	movq	_YAB_ERR_CANNOTINIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_YabSetError                    ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_YabauseResetNoLoad             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_yabsys,24,3                    ## @yabsys
	.comm	_YAB_ERR_CANNOTINIT,4,2         ## @YAB_ERR_CANNOTINIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Game"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_YabauseReset                   ; -- Begin function YabauseReset
	.p2align	2
_YabauseReset:                          ; @YabauseReset
	.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, _yabsys@GOTPAGE
Lloh1:
	ldr	x19, [x19, _yabsys@GOTPAGEOFF]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
	str	xzr, [x19, #16]
LBB0_2:
	bl	_YabauseResetNoLoad
	ldp	x9, x8, [x19]
	orr	x8, x8, x9
	cbz	x8, LBB0_6
; %bb.3:
	bl	_YabauseQuickLoadGame
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.5:
Lloh2:
	adrp	x8, _YAB_ERR_CANNOTINIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _YAB_ERR_CANNOTINIT@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_YabSetError
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_YabauseResetNoLoad
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_yabsys,24,3                    ; @yabsys
	.comm	_YAB_ERR_CANNOTINIT,4,2         ; @YAB_ERR_CANNOTINIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Game"

.subsections_via_symbols
