	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_M_Init                         ## -- Begin function M_Init
	.p2align	4, 0x90
_M_Init:                                ## @M_Init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MainDef@GOTPCREL(%rip), %rax
	movq	_currentMenu@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_menuactive@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	movl	8(%rax), %ecx
	movq	_itemOn@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movq	_whichSkull@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	movq	_skullAnimCounter@GOTPCREL(%rip), %rcx
	movl	$10, (%rcx)
	movq	_screenblocks@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	$-3, %rcx
	movq	_screenSize@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movq	_messageToPrint@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	movq	_messageString@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	movq	_messageLastMenuActive@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	movq	_quickSaveSlot@GOTPCREL(%rip), %rcx
	movl	$-1, (%rcx)
	movq	_gamemode@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	$128, %ecx
	je	LBB0_4
## %bb.1:
	cmpl	$130, %ecx
	je	LBB0_4
## %bb.2:
	cmpl	$131, %ecx
	jne	LBB0_5
## %bb.3:
	movq	_MainMenu@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_quitdoom@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %edx
	movq	_readthis@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%edx, (%rcx,%rsi,4)
	decl	4(%rax)
	addl	$8, (%rax)
	movq	_NewDef@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_M_DrawReadThis1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ReadDef1@GOTPCREL(%rip), %rcx
	movl	%eax, 8(%rcx)
	movabsq	$708669604170, %rax             ## imm = 0xA50000014A
	movq	%rax, (%rcx)
	movq	_M_FinishReadThis@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ReadMenu1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
LBB0_4:
	movq	_EpiDef@GOTPCREL(%rip), %rax
	decl	(%rax)
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MainDef,12,2                   ## @MainDef
	.comm	_currentMenu,8,3                ## @currentMenu
	.comm	_menuactive,8,3                 ## @menuactive
	.comm	_itemOn,4,2                     ## @itemOn
	.comm	_whichSkull,8,3                 ## @whichSkull
	.comm	_skullAnimCounter,4,2           ## @skullAnimCounter
	.comm	_screenblocks,8,3               ## @screenblocks
	.comm	_screenSize,8,3                 ## @screenSize
	.comm	_messageToPrint,8,3             ## @messageToPrint
	.comm	_messageString,8,3              ## @messageString
	.comm	_messageLastMenuActive,8,3      ## @messageLastMenuActive
	.comm	_quickSaveSlot,4,2              ## @quickSaveSlot
	.comm	_gamemode,4,2                   ## @gamemode
	.comm	_MainMenu,8,3                   ## @MainMenu
	.comm	_quitdoom,8,3                   ## @quitdoom
	.comm	_readthis,8,3                   ## @readthis
	.comm	_NewDef,8,3                     ## @NewDef
	.comm	_M_DrawReadThis1,4,2            ## @M_DrawReadThis1
	.comm	_ReadDef1,12,2                  ## @ReadDef1
	.comm	_M_FinishReadThis,4,2           ## @M_FinishReadThis
	.comm	_ReadMenu1,8,3                  ## @ReadMenu1
	.comm	_EpiDef,4,2                     ## @EpiDef
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function M_Init
lCPI0_0:
	.long	8                               ; 0x8
	.long	4294967295                      ; 0xffffffff
lCPI0_1:
	.long	330                             ; 0x14a
	.long	165                             ; 0xa5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_M_Init
	.p2align	2
_M_Init:                                ; @M_Init
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _currentMenu@GOTPAGE
Lloh1:
	ldr	x9, [x9, _currentMenu@GOTPAGEOFF]
Lloh2:
	adrp	x8, _MainDef@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MainDef@GOTPAGEOFF]
Lloh4:
	str	x8, [x9]
Lloh5:
	adrp	x9, _itemOn@GOTPAGE
Lloh6:
	ldr	x9, [x9, _itemOn@GOTPAGEOFF]
	ldr	w10, [x8, #8]
Lloh7:
	str	w10, [x9]
Lloh8:
	adrp	x9, _menuactive@GOTPAGE
Lloh9:
	ldr	x9, [x9, _menuactive@GOTPAGEOFF]
Lloh10:
	adrp	x10, _whichSkull@GOTPAGE
Lloh11:
	ldr	x10, [x10, _whichSkull@GOTPAGEOFF]
Lloh12:
	str	xzr, [x9]
Lloh13:
	str	xzr, [x10]
Lloh14:
	adrp	x9, _skullAnimCounter@GOTPAGE
Lloh15:
	ldr	x9, [x9, _skullAnimCounter@GOTPAGEOFF]
	mov	w10, #10
Lloh16:
	str	w10, [x9]
Lloh17:
	adrp	x9, _screenblocks@GOTPAGE
Lloh18:
	ldr	x9, [x9, _screenblocks@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	sub	x9, x9, #3
Lloh20:
	adrp	x10, _screenSize@GOTPAGE
Lloh21:
	ldr	x10, [x10, _screenSize@GOTPAGEOFF]
Lloh22:
	str	x9, [x10]
Lloh23:
	adrp	x9, _messageToPrint@GOTPAGE
Lloh24:
	ldr	x9, [x9, _messageToPrint@GOTPAGEOFF]
Lloh25:
	str	xzr, [x9]
Lloh26:
	adrp	x9, _messageString@GOTPAGE
Lloh27:
	ldr	x9, [x9, _messageString@GOTPAGEOFF]
Lloh28:
	str	xzr, [x9]
Lloh29:
	adrp	x9, _messageLastMenuActive@GOTPAGE
Lloh30:
	ldr	x9, [x9, _messageLastMenuActive@GOTPAGEOFF]
Lloh31:
	str	xzr, [x9]
Lloh32:
	adrp	x9, _quickSaveSlot@GOTPAGE
Lloh33:
	ldr	x9, [x9, _quickSaveSlot@GOTPAGEOFF]
	mov	w10, #-1
Lloh34:
	str	w10, [x9]
Lloh35:
	adrp	x9, _gamemode@GOTPAGE
Lloh36:
	ldr	x9, [x9, _gamemode@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	cmp	w9, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w9, #130
	b.eq	LBB0_4
; %bb.2:
	cmp	w9, #131
	b.ne	LBB0_5
; %bb.3:
Lloh38:
	adrp	x9, _MainMenu@GOTPAGE
Lloh39:
	ldr	x9, [x9, _MainMenu@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
Lloh41:
	adrp	x10, _quitdoom@GOTPAGE
Lloh42:
	ldr	x10, [x10, _quitdoom@GOTPAGEOFF]
Lloh43:
	ldr	x10, [x10]
	ldr	w10, [x9, x10, lsl #2]
Lloh44:
	adrp	x11, _readthis@GOTPAGE
Lloh45:
	ldr	x11, [x11, _readthis@GOTPAGEOFF]
Lloh46:
	ldr	x11, [x11]
	str	w10, [x9, x11, lsl #2]
	ldr	d0, [x8]
Lloh47:
	adrp	x9, lCPI0_0@PAGE
Lloh48:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	add.2s	v0, v0, v1
Lloh49:
	adrp	x9, _NewDef@GOTPAGE
Lloh50:
	ldr	x9, [x9, _NewDef@GOTPAGEOFF]
	str	d0, [x8]
Lloh51:
	str	x8, [x9]
Lloh52:
	adrp	x8, _M_DrawReadThis1@GOTPAGE
Lloh53:
	ldr	x8, [x8, _M_DrawReadThis1@GOTPAGEOFF]
Lloh54:
	adrp	x9, _ReadDef1@GOTPAGE
Lloh55:
	ldr	x9, [x9, _ReadDef1@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	str	w8, [x9, #8]
Lloh57:
	adrp	x8, lCPI0_1@PAGE
Lloh58:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
Lloh59:
	adrp	x8, _M_FinishReadThis@GOTPAGE
Lloh60:
	ldr	x8, [x8, _M_FinishReadThis@GOTPAGEOFF]
	str	d0, [x9]
Lloh61:
	ldr	w8, [x8]
Lloh62:
	adrp	x9, _ReadMenu1@GOTPAGE
Lloh63:
	ldr	x9, [x9, _ReadMenu1@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	str	w8, [x9]
	ret
LBB0_4:
Lloh65:
	adrp	x8, _EpiDef@GOTPAGE
Lloh66:
	ldr	x8, [x8, _EpiDef@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdrp	Lloh57, Lloh59
	.loh AdrpLdr	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh56
	.loh AdrpLdrGotStr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdrp	Lloh47, Lloh49
	.loh AdrpLdr	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh65, Lloh66
	.cfi_endproc
                                        ; -- End function
	.comm	_MainDef,12,2                   ; @MainDef
	.comm	_currentMenu,8,3                ; @currentMenu
	.comm	_menuactive,8,3                 ; @menuactive
	.comm	_itemOn,4,2                     ; @itemOn
	.comm	_whichSkull,8,3                 ; @whichSkull
	.comm	_skullAnimCounter,4,2           ; @skullAnimCounter
	.comm	_screenblocks,8,3               ; @screenblocks
	.comm	_screenSize,8,3                 ; @screenSize
	.comm	_messageToPrint,8,3             ; @messageToPrint
	.comm	_messageString,8,3              ; @messageString
	.comm	_messageLastMenuActive,8,3      ; @messageLastMenuActive
	.comm	_quickSaveSlot,4,2              ; @quickSaveSlot
	.comm	_gamemode,4,2                   ; @gamemode
	.comm	_MainMenu,8,3                   ; @MainMenu
	.comm	_quitdoom,8,3                   ; @quitdoom
	.comm	_readthis,8,3                   ; @readthis
	.comm	_NewDef,8,3                     ; @NewDef
	.comm	_M_DrawReadThis1,4,2            ; @M_DrawReadThis1
	.comm	_ReadDef1,12,2                  ; @ReadDef1
	.comm	_M_FinishReadThis,4,2           ; @M_FinishReadThis
	.comm	_ReadMenu1,8,3                  ; @ReadMenu1
	.comm	_EpiDef,4,2                     ; @EpiDef
.subsections_via_symbols
