	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_M_DrawSave                     ## -- Begin function M_DrawSave
	.p2align	4, 0x90
_M_DrawSave:                            ## @M_DrawSave
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PU_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_W_CacheLumpName
	movl	$72, %edi
	movl	$28, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_V_DrawPatchDirect
	movq	_load_end@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_LoadDef@GOTPCREL(%rip), %r15
	movq	_LINEHEIGHT@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	movslq	(%r12), %rsi
	movslq	%ebx, %r14
	imulq	%r14, %rsi
	addq	(%r15), %rsi
	callq	_M_DrawSaveLoadBorder
	movq	8(%r15), %rdi
	movslq	(%r12), %rsi
	imulq	%r14, %rsi
	addq	(%r15), %rsi
	movq	_savegamestrings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rdx
	callq	_M_WriteText
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_saveStringEnter@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.5:
	movq	_savegamestrings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_saveSlot@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_M_StringWidth
	movq	_LoadDef@GOTPCREL(%rip), %rcx
	movslq	%eax, %rdi
	addq	8(%rcx), %rdi
	movq	_LINEHEIGHT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	imulq	(%rbx), %rsi
	addq	(%rcx), %rsi
	leaq	L_.str.1(%rip), %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_M_WriteText                    ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"M_SAVEG"

	.comm	_PU_CACHE,4,2                   ## @PU_CACHE
	.comm	_load_end,4,2                   ## @load_end
	.comm	_LoadDef,16,3                   ## @LoadDef
	.comm	_LINEHEIGHT,4,2                 ## @LINEHEIGHT
	.comm	_savegamestrings,8,3            ## @savegamestrings
	.comm	_saveStringEnter,8,3            ## @saveStringEnter
	.comm	_saveSlot,8,3                   ## @saveSlot
L_.str.1:                               ## @.str.1
	.asciz	"_"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_M_DrawSave                     ; -- Begin function M_DrawSave
	.p2align	2
_M_DrawSave:                            ; @M_DrawSave
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _PU_CACHE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PU_CACHE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_W_CacheLumpName
	mov	x3, x0
	mov	w0, #72
	mov	w1, #28
	mov	w2, #0
	bl	_V_DrawPatchDirect
Lloh5:
	adrp	x22, _load_end@GOTPAGE
Lloh6:
	ldr	x22, [x22, _load_end@GOTPAGEOFF]
Lloh7:
	adrp	x19, _LoadDef@GOTPAGE
Lloh8:
	ldr	x19, [x19, _LoadDef@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh9:
	adrp	x20, _LINEHEIGHT@GOTPAGE
Lloh10:
	ldr	x20, [x20, _LINEHEIGHT@GOTPAGEOFF]
Lloh11:
	adrp	x21, _savegamestrings@GOTPAGE
Lloh12:
	ldr	x21, [x21, _savegamestrings@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x0, [x19]
	ldrsw	x9, [x20]
	sxtw	x24, w23
	madd	x1, x9, x24, x8
	bl	_M_DrawSaveLoadBorder
	ldp	x8, x0, [x19]
	ldrsw	x9, [x20]
	madd	x1, x9, x24, x8
	ldr	x8, [x21]
	ldr	x2, [x8, x23, lsl #3]
	bl	_M_WriteText
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.lt	LBB0_2
LBB0_3:
Lloh13:
	adrp	x8, _saveStringEnter@GOTPAGE
Lloh14:
	ldr	x8, [x8, _saveStringEnter@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x21]
Lloh16:
	adrp	x21, _saveSlot@GOTPAGE
Lloh17:
	ldr	x21, [x21, _saveSlot@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	x0, [x8, x9, lsl #3]
	bl	_M_StringWidth
	ldp	x9, x8, [x19]
	add	x0, x8, w0, sxtw
	ldrsw	x8, [x20]
	ldr	x10, [x21]
	madd	x1, x10, x8, x9
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_M_WriteText
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"M_SAVEG"

	.comm	_PU_CACHE,4,2                   ; @PU_CACHE
	.comm	_load_end,4,2                   ; @load_end
	.comm	_LoadDef,16,3                   ; @LoadDef
	.comm	_LINEHEIGHT,4,2                 ; @LINEHEIGHT
	.comm	_savegamestrings,8,3            ; @savegamestrings
	.comm	_saveStringEnter,8,3            ; @saveStringEnter
	.comm	_saveSlot,8,3                   ; @saveSlot
l_.str.1:                               ; @.str.1
	.asciz	"_"

.subsections_via_symbols
