	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_F_StartFinale                  ## -- Begin function F_StartFinale
	.p2align	4, 0x90
_F_StartFinale:                         ## @F_StartFinale
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ga_nothing@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_gameaction@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_GS_FINALE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_gamestate@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_viewactive@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_automapactive@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_gamemode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	-128(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_1
## %bb.10:
	movq	_mus_victor@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_S_ChangeMusic
	movq	_gameepisode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	cmpl	$4, %eax
	jae	LBB0_13
## %bb.11:
	cltq
	leaq	l_reltable.F_StartFinale(%rip), %rdx
	movslq	(%rdx,%rax,4), %rcx
	addq	%rdx, %rcx
	leaq	l_switch.table.F_StartFinale.11(%rip), %rdx
	movq	(%rdx,%rax,8), %rax
	jmp	LBB0_12
LBB0_1:
	cmpl	$131, %eax
	jne	LBB0_9
## %bb.2:
	movq	_mus_read_m@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_S_ChangeMusic
	movq	_gamemap@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	$-6, %edx
	cmpl	$25, %edx
	ja	LBB0_13
## %bb.3:
	movq	_c1text@GOTPCREL(%rip), %rax
	leaq	L_.str.4(%rip), %rcx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_4:
	movq	_c2text@GOTPCREL(%rip), %rax
	leaq	L_.str.5(%rip), %rcx
	jmp	LBB0_12
LBB0_9:
	movq	_mus_read_m@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_S_ChangeMusic
	movq	_c1text@GOTPCREL(%rip), %rax
	leaq	L_.str.10(%rip), %rcx
LBB0_12:
	movq	_finaleflat@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movl	(%rax), %eax
	movq	_finaletext@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_13:
	movq	_finalestage@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_finalecount@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	popq	%rbp
	retq
LBB0_7:
	movq	_c5text@GOTPCREL(%rip), %rax
	leaq	L_.str.8(%rip), %rcx
	jmp	LBB0_12
LBB0_5:
	movq	_c3text@GOTPCREL(%rip), %rax
	leaq	L_.str.6(%rip), %rcx
	jmp	LBB0_12
LBB0_6:
	movq	_c4text@GOTPCREL(%rip), %rax
	leaq	L_.str.7(%rip), %rcx
	jmp	LBB0_12
LBB0_8:
	movq	_c6text@GOTPCREL(%rip), %rax
	leaq	L_.str.9(%rip), %rcx
	jmp	LBB0_12
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_4
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_7
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_5
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_6
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_ga_nothing,4,2                 ## @ga_nothing
	.comm	_gameaction,4,2                 ## @gameaction
	.comm	_GS_FINALE,4,2                  ## @GS_FINALE
	.comm	_gamestate,4,2                  ## @gamestate
	.comm	_viewactive,4,2                 ## @viewactive
	.comm	_automapactive,4,2              ## @automapactive
	.comm	_gamemode,4,2                   ## @gamemode
	.comm	_mus_victor,4,2                 ## @mus_victor
	.comm	_gameepisode,4,2                ## @gameepisode
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FLOOR4_8"

	.comm	_finaleflat,8,3                 ## @finaleflat
	.comm	_e1text,4,2                     ## @e1text
	.comm	_finaletext,4,2                 ## @finaletext
L_.str.1:                               ## @.str.1
	.asciz	"SFLR6_1"

	.comm	_e2text,4,2                     ## @e2text
L_.str.2:                               ## @.str.2
	.asciz	"MFLR8_4"

	.comm	_e3text,4,2                     ## @e3text
L_.str.3:                               ## @.str.3
	.asciz	"MFLR8_3"

	.comm	_e4text,4,2                     ## @e4text
	.comm	_mus_read_m,4,2                 ## @mus_read_m
	.comm	_gamemap,4,2                    ## @gamemap
L_.str.4:                               ## @.str.4
	.asciz	"SLIME16"

	.comm	_c1text,4,2                     ## @c1text
L_.str.5:                               ## @.str.5
	.asciz	"RROCK14"

	.comm	_c2text,4,2                     ## @c2text
L_.str.6:                               ## @.str.6
	.asciz	"RROCK07"

	.comm	_c3text,4,2                     ## @c3text
L_.str.7:                               ## @.str.7
	.asciz	"RROCK17"

	.comm	_c4text,4,2                     ## @c4text
L_.str.8:                               ## @.str.8
	.asciz	"RROCK13"

	.comm	_c5text,4,2                     ## @c5text
L_.str.9:                               ## @.str.9
	.asciz	"RROCK19"

	.comm	_c6text,4,2                     ## @c6text
L_.str.10:                              ## @.str.10
	.asciz	"F_SKY1"

	.comm	_finalestage,8,3                ## @finalestage
	.comm	_finalecount,8,3                ## @finalecount
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.F_StartFinale
l_reltable.F_StartFinale:
	.long	L_.str-l_reltable.F_StartFinale
	.long	L_.str.1-l_reltable.F_StartFinale
	.long	L_.str.2-l_reltable.F_StartFinale
	.long	L_.str.3-l_reltable.F_StartFinale

	.section	__DATA,__const
	.p2align	3                               ## @switch.table.F_StartFinale.11
l_switch.table.F_StartFinale.11:
	.quad	_e1text
	.quad	_e2text
	.quad	_e3text
	.quad	_e4text

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_F_StartFinale                  ; -- Begin function F_StartFinale
	.p2align	2
_F_StartFinale:                         ; @F_StartFinale
	.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, _ga_nothing@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ga_nothing@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _gameaction@GOTPAGE
Lloh4:
	ldr	x9, [x9, _gameaction@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
Lloh6:
	adrp	x8, _GS_FINALE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GS_FINALE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _gamestate@GOTPAGE
Lloh10:
	ldr	x9, [x9, _gamestate@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
Lloh12:
	adrp	x8, _viewactive@GOTPAGE
Lloh13:
	ldr	x8, [x8, _viewactive@GOTPAGEOFF]
Lloh14:
	str	wzr, [x8]
Lloh15:
	adrp	x8, _automapactive@GOTPAGE
Lloh16:
	ldr	x8, [x8, _automapactive@GOTPAGEOFF]
Lloh17:
	str	wzr, [x8]
Lloh18:
	adrp	x8, _gamemode@GOTPAGE
Lloh19:
	ldr	x8, [x8, _gamemode@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hs	LBB0_3
; %bb.1:
Lloh21:
	adrp	x8, _mus_victor@GOTPAGE
Lloh22:
	ldr	x8, [x8, _mus_victor@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_S_ChangeMusic
Lloh24:
	adrp	x8, _gameepisode@GOTPAGE
Lloh25:
	ldr	x8, [x8, _gameepisode@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	sub	w8, w8, #1
	cmp	w8, #4
	b.hs	LBB0_9
; %bb.2:
	sbfiz	x8, x8, #3, #32
Lloh27:
	adrp	x9, l_switch.table.F_StartFinale@PAGE
Lloh28:
	add	x9, x9, l_switch.table.F_StartFinale@PAGEOFF
	ldr	x9, [x9, x8]
Lloh29:
	adrp	x10, l_switch.table.F_StartFinale.11@PAGE
Lloh30:
	add	x10, x10, l_switch.table.F_StartFinale.11@PAGEOFF
	ldr	x8, [x10, x8]
	b	LBB0_8
LBB0_3:
	cmp	w8, #131
	b.ne	LBB0_7
; %bb.4:
Lloh31:
	adrp	x8, _mus_read_m@GOTPAGE
Lloh32:
	ldr	x8, [x8, _mus_read_m@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_S_ChangeMusic
Lloh34:
	adrp	x8, _gamemap@GOTPAGE
Lloh35:
	ldr	x8, [x8, _gamemap@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	sub	w10, w8, #6
	cmp	w10, #25
	b.hi	LBB0_9
; %bb.5:
Lloh37:
	adrp	x8, _c1text@GOTPAGE
Lloh38:
	ldr	x8, [x8, _c1text@GOTPAGEOFF]
Lloh39:
	adrp	x9, l_.str.4@PAGE
Lloh40:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh41:
	adrp	x11, lJTI0_0@PAGE
Lloh42:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_6
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_6:
Lloh43:
	adrp	x8, _c2text@GOTPAGE
Lloh44:
	ldr	x8, [x8, _c2text@GOTPAGEOFF]
Lloh45:
	adrp	x9, l_.str.5@PAGE
Lloh46:
	add	x9, x9, l_.str.5@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh47:
	adrp	x8, _mus_read_m@GOTPAGE
Lloh48:
	ldr	x8, [x8, _mus_read_m@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_S_ChangeMusic
Lloh50:
	adrp	x8, _c1text@GOTPAGE
Lloh51:
	ldr	x8, [x8, _c1text@GOTPAGEOFF]
Lloh52:
	adrp	x9, l_.str.10@PAGE
Lloh53:
	add	x9, x9, l_.str.10@PAGEOFF
LBB0_8:
Lloh54:
	adrp	x10, _finaleflat@GOTPAGE
Lloh55:
	ldr	x10, [x10, _finaleflat@GOTPAGEOFF]
Lloh56:
	str	x9, [x10]
	ldr	w8, [x8]
Lloh57:
	adrp	x9, _finaletext@GOTPAGE
Lloh58:
	ldr	x9, [x9, _finaletext@GOTPAGEOFF]
Lloh59:
	str	w8, [x9]
LBB0_9:
Lloh60:
	adrp	x8, _finalestage@GOTPAGE
Lloh61:
	ldr	x8, [x8, _finalestage@GOTPAGEOFF]
Lloh62:
	str	xzr, [x8]
Lloh63:
	adrp	x8, _finalecount@GOTPAGE
Lloh64:
	ldr	x8, [x8, _finalecount@GOTPAGEOFF]
Lloh65:
	str	xzr, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh66:
	adrp	x8, _c5text@GOTPAGE
Lloh67:
	ldr	x8, [x8, _c5text@GOTPAGEOFF]
Lloh68:
	adrp	x9, l_.str.8@PAGE
Lloh69:
	add	x9, x9, l_.str.8@PAGEOFF
	b	LBB0_8
LBB0_11:
Lloh70:
	adrp	x8, _c3text@GOTPAGE
Lloh71:
	ldr	x8, [x8, _c3text@GOTPAGEOFF]
Lloh72:
	adrp	x9, l_.str.6@PAGE
Lloh73:
	add	x9, x9, l_.str.6@PAGEOFF
	b	LBB0_8
LBB0_12:
Lloh74:
	adrp	x8, _c4text@GOTPAGE
Lloh75:
	ldr	x8, [x8, _c4text@GOTPAGEOFF]
Lloh76:
	adrp	x9, l_.str.7@PAGE
Lloh77:
	add	x9, x9, l_.str.7@PAGEOFF
	b	LBB0_8
LBB0_13:
Lloh78:
	adrp	x8, _c6text@GOTPAGE
Lloh79:
	ldr	x8, [x8, _c6text@GOTPAGEOFF]
Lloh80:
	adrp	x9, l_.str.9@PAGE
Lloh81:
	add	x9, x9, l_.str.9@PAGEOFF
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotStr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotStr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotStr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotStr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh78, Lloh79
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
                                        ; -- End function
	.comm	_ga_nothing,4,2                 ; @ga_nothing
	.comm	_gameaction,4,2                 ; @gameaction
	.comm	_GS_FINALE,4,2                  ; @GS_FINALE
	.comm	_gamestate,4,2                  ; @gamestate
	.comm	_viewactive,4,2                 ; @viewactive
	.comm	_automapactive,4,2              ; @automapactive
	.comm	_gamemode,4,2                   ; @gamemode
	.comm	_mus_victor,4,2                 ; @mus_victor
	.comm	_gameepisode,4,2                ; @gameepisode
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FLOOR4_8"

	.comm	_finaleflat,8,3                 ; @finaleflat
	.comm	_e1text,4,2                     ; @e1text
	.comm	_finaletext,4,2                 ; @finaletext
l_.str.1:                               ; @.str.1
	.asciz	"SFLR6_1"

	.comm	_e2text,4,2                     ; @e2text
l_.str.2:                               ; @.str.2
	.asciz	"MFLR8_4"

	.comm	_e3text,4,2                     ; @e3text
l_.str.3:                               ; @.str.3
	.asciz	"MFLR8_3"

	.comm	_e4text,4,2                     ; @e4text
	.comm	_mus_read_m,4,2                 ; @mus_read_m
	.comm	_gamemap,4,2                    ; @gamemap
l_.str.4:                               ; @.str.4
	.asciz	"SLIME16"

	.comm	_c1text,4,2                     ; @c1text
l_.str.5:                               ; @.str.5
	.asciz	"RROCK14"

	.comm	_c2text,4,2                     ; @c2text
l_.str.6:                               ; @.str.6
	.asciz	"RROCK07"

	.comm	_c3text,4,2                     ; @c3text
l_.str.7:                               ; @.str.7
	.asciz	"RROCK17"

	.comm	_c4text,4,2                     ; @c4text
l_.str.8:                               ; @.str.8
	.asciz	"RROCK13"

	.comm	_c5text,4,2                     ; @c5text
l_.str.9:                               ; @.str.9
	.asciz	"RROCK19"

	.comm	_c6text,4,2                     ; @c6text
l_.str.10:                              ; @.str.10
	.asciz	"F_SKY1"

	.comm	_finalestage,8,3                ; @finalestage
	.comm	_finalecount,8,3                ; @finalecount
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.F_StartFinale
l_switch.table.F_StartFinale:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3

	.p2align	3                               ; @switch.table.F_StartFinale.11
l_switch.table.F_StartFinale.11:
	.quad	_e1text
	.quad	_e2text
	.quad	_e3text
	.quad	_e4text

.subsections_via_symbols
