	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_F_CastDrawer                   ## -- Begin function F_CastDrawer
	.p2align	4, 0x90
_F_CastDrawer:                          ## @F_CastDrawer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_PU_CACHE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_W_CacheLumpName
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%rax, %rcx
	callq	_V_DrawPatch
	movq	_castorder@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_castnum@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_F_CastPrint
	movq	_sprites@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_caststate@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rdx
	movq	(%rax,%rdx,8), %rax
	movq	_FF_FRAMEMASK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	andq	8(%rcx), %rdx
	shlq	$4, %rdx
	movq	(%rax,%rdx), %rcx
	movq	8(%rax,%rdx), %rax
	movslq	(%rcx), %rdi
	movq	_firstspritelump@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rdi
	movl	(%rbx), %esi
	movq	(%rax), %rbx
	callq	_W_CacheLumpNum
	movl	$160, %edi
	movl	$170, %esi
	xorl	%edx, %edx
	movq	%rax, %rcx
	addq	$8, %rsp
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%rbp
	jmp	_V_DrawPatchFlipped             ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%rbp
	jmp	_V_DrawPatch                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BOSSBACK"

	.comm	_PU_CACHE,4,2                   ## @PU_CACHE
	.comm	_castorder,8,3                  ## @castorder
	.comm	_castnum,8,3                    ## @castnum
	.comm	_sprites,8,3                    ## @sprites
	.comm	_caststate,8,3                  ## @caststate
	.comm	_FF_FRAMEMASK,8,3               ## @FF_FRAMEMASK
	.comm	_firstspritelump,8,3            ## @firstspritelump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_F_CastDrawer                   ; -- Begin function F_CastDrawer
	.p2align	2
_F_CastDrawer:                          ; @F_CastDrawer
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _PU_CACHE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _PU_CACHE@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_W_CacheLumpName
	mov	x3, x0
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	bl	_V_DrawPatch
Lloh4:
	adrp	x8, _castorder@GOTPAGE
Lloh5:
	ldr	x8, [x8, _castorder@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _castnum@GOTPAGE
Lloh8:
	ldr	x9, [x9, _castnum@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_F_CastPrint
Lloh10:
	adrp	x8, _sprites@GOTPAGE
Lloh11:
	ldr	x8, [x8, _sprites@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _caststate@GOTPAGE
Lloh14:
	ldr	x9, [x9, _caststate@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	ldp	x10, x9, [x9]
	ldr	x8, [x8, x10, lsl #3]
Lloh16:
	adrp	x10, _FF_FRAMEMASK@GOTPAGE
Lloh17:
	ldr	x10, [x10, _FF_FRAMEMASK@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x10]
	and	x9, x10, x9
	add	x8, x8, x9, lsl #4
	ldp	x9, x8, [x8]
	ldrsw	x9, [x9]
	ldr	x20, [x8]
Lloh19:
	adrp	x8, _firstspritelump@GOTPAGE
Lloh20:
	ldr	x8, [x8, _firstspritelump@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	add	x0, x8, x9
	ldr	w1, [x19]
	bl	_W_CacheLumpNum
	mov	x3, x0
	mov	w0, #160
	mov	w1, #170
	mov	w2, #0
	cbz	x20, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_V_DrawPatchFlipped
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_V_DrawPatch
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BOSSBACK"

	.comm	_PU_CACHE,4,2                   ; @PU_CACHE
	.comm	_castorder,8,3                  ; @castorder
	.comm	_castnum,8,3                    ; @castnum
	.comm	_sprites,8,3                    ; @sprites
	.comm	_caststate,8,3                  ; @caststate
	.comm	_FF_FRAMEMASK,8,3               ; @FF_FRAMEMASK
	.comm	_firstspritelump,8,3            ; @firstspritelump
.subsections_via_symbols
