	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_M_Drawer                       ## -- Begin function M_Drawer
	.p2align	4, 0x90
_M_Drawer:                              ## @M_Drawer
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_inhelpscreens@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_messageToPrint@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.1:
	movq	_messageString@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_M_StringHeight
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	shrl	%ecx
	movl	$100, %eax
	subl	%ecx, %eax
	movw	%ax, _M_Drawer.y(%rip)
	movq	(%r15), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_12
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rsi
	addq	%rbx, %rsi
	leaq	-96(%rbp), %r12
	movq	%r12, %rdi
	callq	_strcpy
	movl	%ebx, %r13d
	addl	%r14d, %r13d
	movslq	%r13d, %rbx
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_M_StringWidth
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	shrl	%ecx
	movl	$160, %eax
	subl	%ecx, %eax
	movw	%ax, _M_Drawer.x(%rip)
	movswl	_M_Drawer.y(%rip), %esi
	movswl	%ax, %edi
	movq	%r12, %rdx
	callq	_M_WriteText
	movq	_hu_font@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_SHORT
	addw	%ax, _M_Drawer.y(%rip)
	movq	(%r15), %rdi
	cmpb	$0, (%rdi,%rbx)
	je	LBB0_12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	addq	%rbx, %rdi
	callq	_strlen
	xorl	%r12d, %r12d
	testw	%ax, %ax
	jle	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r15), %rdi
	addq	%rbx, %rdi
	cmpb	$10, (%r12,%rdi)
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	incq	%r12
	callq	_strlen
	movswq	%ax, %rax
	cmpq	%rax, %r12
	jl	LBB0_4
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movzwl	%r12w, %r14d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-96(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	addq	(%r15), %rbx
	movswl	%r12w, %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_strncpy
	addl	%r12d, %r13d
	incl	%r13d
	movl	%r12d, %r14d
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r13d, %rbx
	movq	(%r15), %rdi
	addq	%rbx, %rdi
	callq	_strlen
	cmpw	%ax, %r12w
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	-96(%rbp), %r12
	jmp	LBB0_11
LBB0_14:
	movq	_menuactive@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_12
## %bb.15:
	movq	_currentMenu@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
	movq	16(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.16:
	xorl	%eax, %eax
	callq	*%rcx
	movq	_currentMenu@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
LBB0_17:
	movzwl	(%rax), %r14d
	movw	%r14w, _M_Drawer.x(%rip)
	movzwl	2(%rax), %ebx
	movw	%bx, _M_Drawer.y(%rip)
	movzwl	4(%rax), %r13d
	testw	%r13w, %r13w
	jle	LBB0_18
## %bb.19:
	decq	%r13
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rax
	movq	(%rax,%r15,8), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movswl	_M_Drawer.x(%rip), %r12d
	movswl	%bx, %r14d
	movq	_PU_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_W_CacheLumpName
	movl	%r12d, %edi
	movl	%r14d, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_V_DrawPatchDirect
	movq	_currentMenu@GOTPCREL(%rip), %rdx
	movzwl	_M_Drawer.y(%rip), %ebx
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	_LINEHEIGHT@GOTPCREL(%rip), %rax
	movzwl	(%rax), %r12d
	addl	%r12d, %ebx
	movw	%bx, _M_Drawer.y(%rip)
	cmpq	%r15, %r13
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	(%rdx), %rax
	incq	%r15
	jmp	LBB0_20
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movzwl	_M_Drawer.x(%rip), %r14d
	movq	(%rdx), %rax
	movzwl	2(%rax), %ebx
	jmp	LBB0_25
LBB0_18:
	movq	_LINEHEIGHT@GOTPCREL(%rip), %rax
	movzwl	(%rax), %r12d
LBB0_25:
	movq	_SKULLXOFF@GOTPCREL(%rip), %rax
	addw	(%rax), %r14w
	movq	_itemOn@GOTPCREL(%rip), %rax
	movswl	(%rax), %r15d
	movq	_skullName@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_whichSkull@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	movq	_PU_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_W_CacheLumpName
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_27
## %bb.26:
	movswl	%bx, %ecx
	movswl	%r12w, %edx
	imull	%r15d, %edx
	leal	(%rcx,%rdx), %esi
	addl	$-5, %esi
	movswl	%r14w, %edi
	xorl	%edx, %edx
	movl	%eax, %ecx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_V_DrawPatchDirect              ## TAILCALL
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_M_Drawer.x,2,1  ## @M_Drawer.x
.zerofill __DATA,__bss,_M_Drawer.y,2,1  ## @M_Drawer.y
	.comm	_inhelpscreens,4,2              ## @inhelpscreens
	.comm	_messageToPrint,8,3             ## @messageToPrint
	.comm	_messageString,8,3              ## @messageString
	.comm	_hu_font,8,3                    ## @hu_font
	.comm	_menuactive,4,2                 ## @menuactive
	.comm	_currentMenu,8,3                ## @currentMenu
	.comm	_PU_CACHE,4,2                   ## @PU_CACHE
	.comm	_LINEHEIGHT,2,1                 ## @LINEHEIGHT
	.comm	_SKULLXOFF,2,1                  ## @SKULLXOFF
	.comm	_itemOn,2,1                     ## @itemOn
	.comm	_skullName,8,3                  ## @skullName
	.comm	_whichSkull,8,3                 ## @whichSkull
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_M_Drawer                       ; -- Begin function M_Drawer
	.p2align	2
_M_Drawer:                              ; @M_Drawer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _inhelpscreens@GOTPAGE
Lloh4:
	ldr	x8, [x8, _inhelpscreens@GOTPAGEOFF]
Lloh5:
	str	wzr, [x8]
Lloh6:
	adrp	x8, _messageToPrint@GOTPAGE
Lloh7:
	ldr	x8, [x8, _messageToPrint@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.1:
Lloh9:
	adrp	x19, _messageString@GOTPAGE
Lloh10:
	ldr	x19, [x19, _messageString@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_M_StringHeight
	cmp	w0, #0
	cinc	w8, w0, lt
	mov	w9, #100
	sub	w8, w9, w8, lsr #1
	adrp	x20, _M_Drawer.y@PAGE
	strh	w8, [x20, _M_Drawer.y@PAGEOFF]
	ldr	x8, [x19]
	ldrb	w9, [x8]
	cbz	w9, LBB0_22
; %bb.2:
	mov	x25, #0
	mov	w21, #0
	mov	w22, #160
	adrp	x23, _M_Drawer.x@PAGE
Lloh11:
	adrp	x24, _hu_font@GOTPAGE
Lloh12:
	ldr	x24, [x24, _hu_font@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, sp
	bl	_M_StringWidth
	cmp	w0, #0
	cinc	w8, w0, lt
	sub	w8, w22, w8, lsr #1
	strh	w8, [x23, _M_Drawer.x@PAGEOFF]
	ldrsh	w1, [x20, _M_Drawer.y@PAGEOFF]
	sxth	w0, w8
	mov	x2, sp
	bl	_M_WriteText
	ldr	x8, [x24]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_SHORT
	ldrh	w8, [x20, _M_Drawer.y@PAGEOFF]
	add	w8, w8, w0
	strh	w8, [x20, _M_Drawer.y@PAGEOFF]
	ldr	x8, [x19]
	ldrb	w9, [x8, x25]
	cbz	w9, LBB0_22
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	add	x0, x8, x25
	bl	_strlen
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, #0
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19]
	add	x0, x8, x25
	ldrb	w8, [x0, x26]
	cmp	w8, #10
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x26, x26, #1
	bl	_strlen
	cmp	x26, w0, sxtw
	b.lt	LBB0_6
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	and	w27, w26, #0xffff
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, sp
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	ldr	x8, [x19]
	add	x1, x8, x25
	sxth	w2, w26
	mov	x0, sp
	bl	_strncpy
	add	w8, w21, w26
	add	w21, w8, #1
	mov	x27, x26
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	sxtw	x25, w21
	add	x0, x8, x25
	bl	_strlen
	and	w8, w26, #0xffff
	cmp	w8, w0, uxth
	b.ne	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	add	x1, x8, x25
	mov	x0, sp
	bl	_strcpy
	add	w21, w21, w27
	sxtw	x25, w21
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	b	LBB0_3
LBB0_13:
Lloh13:
	adrp	x8, _menuactive@GOTPAGE
Lloh14:
	ldr	x8, [x8, _menuactive@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cbz	w8, LBB0_22
; %bb.14:
Lloh16:
	adrp	x22, _currentMenu@GOTPAGE
Lloh17:
	ldr	x22, [x22, _currentMenu@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_16
; %bb.15:
	blr	x9
	ldr	x8, [x22]
LBB0_16:
	ldrh	w19, [x8]
	adrp	x23, _M_Drawer.x@PAGE
	strh	w19, [x23, _M_Drawer.x@PAGEOFF]
	ldrh	w20, [x8, #2]
	adrp	x24, _M_Drawer.y@PAGE
	strh	w20, [x24, _M_Drawer.y@PAGEOFF]
	ldrsh	w9, [x8, #4]
Lloh18:
	adrp	x21, _PU_CACHE@GOTPAGE
Lloh19:
	ldr	x21, [x21, _PU_CACHE@GOTPAGEOFF]
	cmp	w9, #0
	b.le	LBB0_25
; %bb.17:
	mov	x25, #0
	and	x9, x9, #0xffff
	lsl	x9, x9, #3
	sub	x26, x9, #8
Lloh20:
	adrp	x27, _LINEHEIGHT@GOTPAGE
Lloh21:
	ldr	x27, [x27, _LINEHEIGHT@GOTPAGEOFF]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	ldr	x0, [x8, x25]
	ldr	x8, [x0]
	cbz	x8, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldrsh	w19, [x23, _M_Drawer.x@PAGEOFF]
	sxth	w20, w20
	ldr	w1, [x21]
	bl	_W_CacheLumpName
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_V_DrawPatchDirect
	ldrh	w20, [x24, _M_Drawer.y@PAGEOFF]
LBB0_20:                                ;   in Loop: Header=BB0_18 Depth=1
	ldrh	w28, [x27]
	add	w20, w20, w28
	strh	w20, [x24, _M_Drawer.y@PAGEOFF]
	cmp	x26, x25
	b.eq	LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x22]
	add	x25, x25, #8
	b	LBB0_18
LBB0_22:
	ldr	x8, [sp, #40]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.23:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_24:
	ldrh	w19, [x23, _M_Drawer.x@PAGEOFF]
	ldr	x8, [x22]
	ldrh	w20, [x8, #2]
	b	LBB0_26
LBB0_25:
Lloh25:
	adrp	x8, _LINEHEIGHT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LINEHEIGHT@GOTPAGEOFF]
	ldrh	w28, [x8]
LBB0_26:
Lloh27:
	adrp	x8, _SKULLXOFF@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SKULLXOFF@GOTPAGEOFF]
	ldrh	w22, [x8]
Lloh29:
	adrp	x8, _itemOn@GOTPAGE
Lloh30:
	ldr	x8, [x8, _itemOn@GOTPAGEOFF]
Lloh31:
	ldrsh	w23, [x8]
Lloh32:
	adrp	x8, _skullName@GOTPAGE
Lloh33:
	ldr	x8, [x8, _skullName@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
Lloh35:
	adrp	x9, _whichSkull@GOTPAGE
Lloh36:
	ldr	x9, [x9, _whichSkull@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	ldr	w1, [x21]
	bl	_W_CacheLumpName
	ldr	x8, [sp, #40]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	mov	x3, x0
	add	w8, w22, w19
	sxth	w9, w28
	mul	w9, w9, w23
	add	w9, w9, w20, sxth
	sub	w1, w9, #5
	sxth	w0, w8
	mov	w2, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_V_DrawPatchDirect
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_M_Drawer.x,2,1  ; @M_Drawer.x
.zerofill __DATA,__bss,_M_Drawer.y,2,1  ; @M_Drawer.y
	.comm	_inhelpscreens,4,2              ; @inhelpscreens
	.comm	_messageToPrint,8,3             ; @messageToPrint
	.comm	_messageString,8,3              ; @messageString
	.comm	_hu_font,8,3                    ; @hu_font
	.comm	_menuactive,4,2                 ; @menuactive
	.comm	_currentMenu,8,3                ; @currentMenu
	.comm	_PU_CACHE,4,2                   ; @PU_CACHE
	.comm	_LINEHEIGHT,2,1                 ; @LINEHEIGHT
	.comm	_SKULLXOFF,2,1                  ; @SKULLXOFF
	.comm	_itemOn,2,1                     ; @itemOn
	.comm	_skullName,8,3                  ; @skullName
	.comm	_whichSkull,8,3                 ; @whichSkull
.subsections_via_symbols
