	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_M_Episode                      ## -- Begin function M_Episode
	.p2align	4, 0x90
_M_Episode:                             ## @M_Episode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_gamemode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testl	%edi, %edi
	je	LBB0_3
## %bb.1:
	movq	_shareware@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_SWSTRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_M_StartMessage
	movq	_ReadDef1@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_M_SetupNextMenu                ## TAILCALL
LBB0_3:
	cmpl	$3, %edi
	jl	LBB0_6
## %bb.4:
	movq	_registered@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	xorl	%edi, %edi
LBB0_6:
	movq	_epi@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	movq	_NewDef@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_M_SetupNextMenu                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_gamemode,8,3                   ## @gamemode
	.comm	_shareware,8,3                  ## @shareware
	.comm	_SWSTRING,4,2                   ## @SWSTRING
	.comm	_ReadDef1,4,2                   ## @ReadDef1
	.comm	_registered,8,3                 ## @registered
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"M_Episode: 4th episode requires UltimateDOOM\n"

	.comm	_epi,4,2                        ## @epi
	.comm	_NewDef,4,2                     ## @NewDef
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_M_Episode                      ; -- Begin function M_Episode
	.p2align	2
_M_Episode:                             ; @M_Episode
	.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, _gamemode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gamemode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _shareware@GOTPAGE
Lloh4:
	ldr	x9, [x9, _shareware@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _SWSTRING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SWSTRING@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, #0
	mov	w2, #0
	bl	_M_StartMessage
Lloh9:
	adrp	x0, _ReadDef1@GOTPAGE
Lloh10:
	ldr	x0, [x0, _ReadDef1@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_M_SetupNextMenu
LBB0_3:
	cmp	w0, #3
	b.lt	LBB0_6
; %bb.4:
Lloh11:
	adrp	x9, _registered@GOTPAGE
Lloh12:
	ldr	x9, [x9, _registered@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh14:
	adrp	x8, _stderr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #0
LBB0_6:
Lloh19:
	adrp	x8, _epi@GOTPAGE
Lloh20:
	ldr	x8, [x8, _epi@GOTPAGEOFF]
Lloh21:
	str	w0, [x8]
Lloh22:
	adrp	x0, _NewDef@GOTPAGE
Lloh23:
	ldr	x0, [x0, _NewDef@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_M_SetupNextMenu
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_gamemode,8,3                   ; @gamemode
	.comm	_shareware,8,3                  ; @shareware
	.comm	_SWSTRING,4,2                   ; @SWSTRING
	.comm	_ReadDef1,4,2                   ; @ReadDef1
	.comm	_registered,8,3                 ; @registered
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"M_Episode: 4th episode requires UltimateDOOM\n"

	.comm	_epi,4,2                        ; @epi
	.comm	_NewDef,4,2                     ; @NewDef
.subsections_via_symbols
