	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_M_SaveGame                     ## -- Begin function M_SaveGame
	.p2align	4, 0x90
_M_SaveGame:                            ## @M_SaveGame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_usergame@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_gamestate@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GS_LEVEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	movq	_SaveDef@GOTPCREL(%rip), %rdi
	callq	_M_SetupNextMenu
	xorl	%eax, %eax
	popq	%rbp
	jmp	_M_ReadSaveStrings              ## TAILCALL
LBB0_3:
	movq	_SAVEDEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	popq	%rbp
	jmp	_M_StartMessage                 ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_usergame,4,2                   ## @usergame
	.comm	_SAVEDEAD,4,2                   ## @SAVEDEAD
	.comm	_gamestate,8,3                  ## @gamestate
	.comm	_GS_LEVEL,8,3                   ## @GS_LEVEL
	.comm	_SaveDef,4,2                    ## @SaveDef
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_M_SaveGame                     ; -- Begin function M_SaveGame
	.p2align	2
_M_SaveGame:                            ; @M_SaveGame
	.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
Lloh0:
	adrp	x8, _usergame@GOTPAGE
Lloh1:
	ldr	x8, [x8, _usergame@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _gamestate@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gamestate@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _GS_LEVEL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GS_LEVEL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
Lloh9:
	adrp	x0, _SaveDef@GOTPAGE
Lloh10:
	ldr	x0, [x0, _SaveDef@GOTPAGEOFF]
	bl	_M_SetupNextMenu
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_M_ReadSaveStrings
LBB0_3:
Lloh11:
	adrp	x8, _SAVEDEAD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SAVEDEAD@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, #0
	mov	w2, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_M_StartMessage
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_usergame,4,2                   ; @usergame
	.comm	_SAVEDEAD,4,2                   ; @SAVEDEAD
	.comm	_gamestate,8,3                  ; @gamestate
	.comm	_GS_LEVEL,8,3                   ; @GS_LEVEL
	.comm	_SaveDef,4,2                    ; @SaveDef
.subsections_via_symbols
