	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PIT_RadiusAttack               ## -- Begin function PIT_RadiusAttack
	.p2align	4, 0x90
_PIT_RadiusAttack:                      ## @PIT_RadiusAttack
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MF_SHOOTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	_MT_CYBORG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.2:
	movq	_MT_SPIDER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.3:
	movq	24(%rbx), %rax
	movq	32(%rbx), %rcx
	movq	_bombspot@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	subq	8(%rsi), %rcx
	movq	%rcx, %rdx
	negq	%rdx
	cmovsq	%rcx, %rdx
	subq	(%rsi), %rax
	movq	%rax, %rdi
	negq	%rdi
	cmovsq	%rax, %rdi
	cmpq	%rdi, %rdx
	cmovaq	%rdx, %rdi
	subq	16(%rbx), %rdi
	movq	_FRACBITS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarq	%cl, %rdi
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	cmovgq	%rdi, %r15
	movq	_bombdamage@GOTPCREL(%rip), %r12
	cmpq	(%r12), %r15
	jge	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_P_CheckSight
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%r14), %rsi
	movq	_bombsource@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r12), %rcx
	subq	%r15, %rcx
	movq	%rbx, %rdi
	callq	_P_DamageMobj
LBB0_6:
	movl	$1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MF_SHOOTABLE,4,2               ## @MF_SHOOTABLE
	.comm	_MT_CYBORG,8,3                  ## @MT_CYBORG
	.comm	_MT_SPIDER,8,3                  ## @MT_SPIDER
	.comm	_bombspot,8,3                   ## @bombspot
	.comm	_FRACBITS,8,3                   ## @FRACBITS
	.comm	_bombdamage,8,3                 ## @bombdamage
	.comm	_bombsource,4,2                 ## @bombsource
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PIT_RadiusAttack               ; -- Begin function PIT_RadiusAttack
	.p2align	2
_PIT_RadiusAttack:                      ; @PIT_RadiusAttack
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MF_SHOOTABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MF_SHOOTABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _MT_CYBORG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MT_CYBORG@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _MT_SPIDER@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MT_SPIDER@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_5
; %bb.2:
	ldr	x8, [x19, #32]
Lloh9:
	adrp	x20, _bombspot@GOTPAGE
Lloh10:
	ldr	x20, [x20, _bombspot@GOTPAGEOFF]
	ldr	x1, [x20]
	ldp	x10, x9, [x1]
	subs	x8, x8, x9
	cneg	x8, x8, mi
	ldp	x11, x9, [x19, #16]
	subs	x9, x9, x10
	cneg	x9, x9, mi
	cmp	x8, x9
	csel	x8, x8, x9, hi
	sub	x8, x8, x11
Lloh11:
	adrp	x9, _FRACBITS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FRACBITS@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	asr	x8, x8, x9
	cmp	x8, #0
	csel	x21, x8, xzr, gt
Lloh14:
	adrp	x22, _bombdamage@GOTPAGE
Lloh15:
	ldr	x22, [x22, _bombdamage@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x21, x8
	b.ge	LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_P_CheckSight
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x1, [x20]
Lloh16:
	adrp	x8, _bombsource@GOTPAGE
Lloh17:
	ldr	x8, [x8, _bombsource@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	ldr	x8, [x22]
	sub	x3, x8, x21
	mov	x0, x19
	bl	_P_DamageMobj
LBB0_5:
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MF_SHOOTABLE,4,2               ; @MF_SHOOTABLE
	.comm	_MT_CYBORG,8,3                  ; @MT_CYBORG
	.comm	_MT_SPIDER,8,3                  ; @MT_SPIDER
	.comm	_bombspot,8,3                   ; @bombspot
	.comm	_FRACBITS,8,3                   ; @FRACBITS
	.comm	_bombdamage,8,3                 ; @bombdamage
	.comm	_bombsource,4,2                 ; @bombsource
.subsections_via_symbols
