	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_F_StartCast                    ## -- Begin function F_StartCast
	.p2align	4, 0x90
_F_StartCast:                           ## @F_StartCast
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_wipegamestate@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	movq	_castnum@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_states@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_mobjinfo@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_castorder@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	leaq	(%rax,%rcx,4), %rdx
	movq	_caststate@GOTPCREL(%rip), %rsi
	movq	%rdx, (%rsi)
	movl	(%rax,%rcx,4), %eax
	movq	_casttics@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_castdeath@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_finalestage@GOTPCREL(%rip), %rax
	movl	$2, (%rax)
	movq	_castframes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_castonmelee@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_castattacking@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_mus_evil@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	popq	%rbp
	jmp	_S_ChangeMusic                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_wipegamestate,4,2              ## @wipegamestate
	.comm	_castnum,8,3                    ## @castnum
	.comm	_states,8,3                     ## @states
	.comm	_mobjinfo,8,3                   ## @mobjinfo
	.comm	_castorder,8,3                  ## @castorder
	.comm	_caststate,8,3                  ## @caststate
	.comm	_casttics,4,2                   ## @casttics
	.comm	_castdeath,4,2                  ## @castdeath
	.comm	_finalestage,4,2                ## @finalestage
	.comm	_castframes,8,3                 ## @castframes
	.comm	_castonmelee,8,3                ## @castonmelee
	.comm	_castattacking,4,2              ## @castattacking
	.comm	_mus_evil,4,2                   ## @mus_evil
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_F_StartCast                    ; -- Begin function F_StartCast
	.p2align	2
_F_StartCast:                           ; @F_StartCast
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _wipegamestate@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wipegamestate@GOTPAGEOFF]
	mov	w9, #-1
Lloh2:
	str	w9, [x8]
Lloh3:
	adrp	x8, _castnum@GOTPAGE
Lloh4:
	ldr	x8, [x8, _castnum@GOTPAGEOFF]
Lloh5:
	adrp	x9, _states@GOTPAGE
Lloh6:
	ldr	x9, [x9, _states@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
Lloh8:
	ldr	x8, [x9]
Lloh9:
	adrp	x9, _mobjinfo@GOTPAGE
Lloh10:
	ldr	x9, [x9, _mobjinfo@GOTPAGEOFF]
Lloh11:
	adrp	x10, _castorder@GOTPAGE
Lloh12:
	ldr	x10, [x10, _castorder@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	ldr	x10, [x10]
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
	lsl	x9, x9, #2
	add	x10, x8, x9
Lloh15:
	adrp	x11, _caststate@GOTPAGE
Lloh16:
	ldr	x11, [x11, _caststate@GOTPAGEOFF]
Lloh17:
	str	x10, [x11]
	ldr	w8, [x8, x9]
Lloh18:
	adrp	x9, _casttics@GOTPAGE
Lloh19:
	ldr	x9, [x9, _casttics@GOTPAGEOFF]
Lloh20:
	str	w8, [x9]
Lloh21:
	adrp	x8, _castdeath@GOTPAGE
Lloh22:
	ldr	x8, [x8, _castdeath@GOTPAGEOFF]
Lloh23:
	str	wzr, [x8]
Lloh24:
	adrp	x8, _finalestage@GOTPAGE
Lloh25:
	ldr	x8, [x8, _finalestage@GOTPAGEOFF]
	mov	w9, #2
Lloh26:
	str	w9, [x8]
Lloh27:
	adrp	x8, _castframes@GOTPAGE
Lloh28:
	ldr	x8, [x8, _castframes@GOTPAGEOFF]
Lloh29:
	str	xzr, [x8]
Lloh30:
	adrp	x8, _castonmelee@GOTPAGE
Lloh31:
	ldr	x8, [x8, _castonmelee@GOTPAGEOFF]
Lloh32:
	str	xzr, [x8]
Lloh33:
	adrp	x8, _castattacking@GOTPAGE
Lloh34:
	ldr	x8, [x8, _castattacking@GOTPAGEOFF]
Lloh35:
	str	wzr, [x8]
Lloh36:
	adrp	x8, _mus_evil@GOTPAGE
Lloh37:
	ldr	x8, [x8, _mus_evil@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	mov	w1, #1
	b	_S_ChangeMusic
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_wipegamestate,4,2              ; @wipegamestate
	.comm	_castnum,8,3                    ; @castnum
	.comm	_states,8,3                     ; @states
	.comm	_mobjinfo,8,3                   ; @mobjinfo
	.comm	_castorder,8,3                  ; @castorder
	.comm	_caststate,8,3                  ; @caststate
	.comm	_casttics,4,2                   ; @casttics
	.comm	_castdeath,4,2                  ; @castdeath
	.comm	_finalestage,4,2                ; @finalestage
	.comm	_castframes,8,3                 ; @castframes
	.comm	_castonmelee,8,3                ; @castonmelee
	.comm	_castattacking,4,2              ; @castattacking
	.comm	_mus_evil,4,2                   ; @mus_evil
.subsections_via_symbols
