	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_M_QuickSave                    ## -- Begin function M_QuickSave
	.p2align	4, 0x90
_M_QuickSave:                           ## @M_QuickSave
	.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	_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	_quickSaveSlot@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_tempstring@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_QSPROMPT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	_savegamestrings@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %edx
	callq	_sprintf
	movl	(%rbx), %edi
	movq	_M_QuickSaveResponse@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_M_StartMessage                 ## TAILCALL
LBB0_3:
	movq	_sfx_oof@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_S_StartSound                   ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_usergame,4,2                   ## @usergame
	.comm	_sfx_oof,4,2                    ## @sfx_oof
	.comm	_gamestate,8,3                  ## @gamestate
	.comm	_GS_LEVEL,8,3                   ## @GS_LEVEL
	.comm	_quickSaveSlot,8,3              ## @quickSaveSlot
	.comm	_SaveDef,4,2                    ## @SaveDef
	.comm	_tempstring,4,2                 ## @tempstring
	.comm	_QSPROMPT,8,3                   ## @QSPROMPT
	.comm	_savegamestrings,8,3            ## @savegamestrings
	.comm	_M_QuickSaveResponse,4,2        ## @M_QuickSaveResponse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_M_QuickSave                    ; -- Begin function M_QuickSave
	.p2align	2
_M_QuickSave:                           ; @M_QuickSave
	.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	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	x8, _quickSaveSlot@GOTPAGE
Lloh10:
	ldr	x8, [x8, _quickSaveSlot@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x19, _tempstring@GOTPAGE
Lloh13:
	ldr	x19, [x19, _tempstring@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh14:
	adrp	x9, _QSPROMPT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _QSPROMPT@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x9]
Lloh17:
	adrp	x9, _savegamestrings@GOTPAGE
Lloh18:
	ldr	x9, [x9, _savegamestrings@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ldr	w2, [x9, x8, lsl #2]
	bl	_sprintf
	ldr	w0, [x19]
Lloh20:
	adrp	x8, _M_QuickSaveResponse@GOTPAGE
Lloh21:
	ldr	x8, [x8, _M_QuickSaveResponse@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	w2, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_M_StartMessage
LBB0_3:
Lloh23:
	adrp	x8, _sfx_oof@GOTPAGE
Lloh24:
	ldr	x8, [x8, _sfx_oof@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_S_StartSound
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_usergame,4,2                   ; @usergame
	.comm	_sfx_oof,4,2                    ; @sfx_oof
	.comm	_gamestate,8,3                  ; @gamestate
	.comm	_GS_LEVEL,8,3                   ; @GS_LEVEL
	.comm	_quickSaveSlot,8,3              ; @quickSaveSlot
	.comm	_SaveDef,4,2                    ; @SaveDef
	.comm	_tempstring,4,2                 ; @tempstring
	.comm	_QSPROMPT,8,3                   ; @QSPROMPT
	.comm	_savegamestrings,8,3            ; @savegamestrings
	.comm	_M_QuickSaveResponse,4,2        ; @M_QuickSaveResponse
.subsections_via_symbols
