	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_A_VileAttack                   ## -- Begin function A_VileAttack
	.p2align	4, 0x90
_A_VileAttack:                          ## @A_VileAttack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 8(%rdi)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	callq	_A_FaceTarget
	movq	8(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_P_CheckSight
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	_sfx_barexp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_S_StartSound
	movq	8(%rbx), %rdi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	movl	$20, %ecx
	callq	_P_DamageMobj
	movq	_FRACUNIT@GOTPCREL(%rip), %r15
	imull	$1000, (%r15), %eax             ## imm = 0x3E8
	movq	8(%rbx), %rsi
	movq	24(%rsi), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, (%rsi)
	movq	32(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_3
## %bb.4:
	movl	(%rbx), %eax
	movq	_ANGLETOFINESHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	8(%rsi), %r12
	movl	(%r15), %ecx
	shll	$3, %ecx
	leal	(%rcx,%rcx,2), %edi
	movq	_finecosine@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%eax, %r13
	movl	(%rcx,%r13,4), %esi
	callq	_FixedMul
	subq	%rax, %r12
	movq	%r12, 24(%r14)
	movq	8(%rbx), %rax
	movq	16(%rax), %r12
	movl	(%r15), %eax
	shll	$3, %eax
	leal	(%rax,%rax,2), %edi
	movq	_finesine@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %esi
	callq	_FixedMul
	subq	%rax, %r12
	movq	%r12, 16(%r14)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$70, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_P_RadiusAttack                 ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sfx_barexp,4,2                 ## @sfx_barexp
	.comm	_FRACUNIT,4,2                   ## @FRACUNIT
	.comm	_ANGLETOFINESHIFT,4,2           ## @ANGLETOFINESHIFT
	.comm	_finecosine,8,3                 ## @finecosine
	.comm	_finesine,8,3                   ## @finesine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_A_VileAttack                   ; -- Begin function A_VileAttack
	.p2align	2
_A_VileAttack:                          ; @A_VileAttack
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_A_FaceTarget
	ldr	x1, [x19, #8]
	mov	x0, x19
	bl	_P_CheckSight
	cbz	w0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _sfx_barexp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sfx_barexp@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_S_StartSound
	ldr	x0, [x19, #8]
	mov	x1, x19
	mov	x2, x19
	mov	w3, #20
	bl	_P_DamageMobj
Lloh3:
	adrp	x21, _FRACUNIT@GOTPAGE
Lloh4:
	ldr	x21, [x21, _FRACUNIT@GOTPAGEOFF]
	ldr	w8, [x21]
	mov	w9, #1000
	mul	w9, w8, w9
	ldr	x8, [x19, #8]
	ldr	x10, [x8, #24]
	ldr	w10, [x10]
	sdiv	w9, w9, w10
	str	w9, [x8]
	ldr	x20, [x19, #32]
	cbz	x20, LBB0_4
; %bb.3:
	ldr	w9, [x19]
Lloh5:
	adrp	x10, _ANGLETOFINESHIFT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ANGLETOFINESHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	asr	w9, w9, w10
	ldr	x22, [x8, #8]
	ldr	w8, [x21]
	add	w8, w8, w8, lsl #1
	lsl	w0, w8, #3
Lloh8:
	adrp	x8, _finecosine@GOTPAGE
Lloh9:
	ldr	x8, [x8, _finecosine@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	sbfiz	x23, x9, #2, #32
	ldr	w1, [x8, x23]
	bl	_FixedMul
	sub	x8, x22, x0
	str	x8, [x20, #24]
	ldr	x8, [x19, #8]
	ldr	x22, [x8, #16]
	ldr	w8, [x21]
	add	w8, w8, w8, lsl #1
	lsl	w0, w8, #3
Lloh11:
	adrp	x8, _finesine@GOTPAGE
Lloh12:
	ldr	x8, [x8, _finesine@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	w1, [x8, x23]
	bl	_FixedMul
	sub	x8, x22, x0
	str	x8, [x20, #16]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #70
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_P_RadiusAttack
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_sfx_barexp,4,2                 ; @sfx_barexp
	.comm	_FRACUNIT,4,2                   ; @FRACUNIT
	.comm	_ANGLETOFINESHIFT,4,2           ; @ANGLETOFINESHIFT
	.comm	_finecosine,8,3                 ; @finecosine
	.comm	_finesine,8,3                   ; @finesine
.subsections_via_symbols
