	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_AimLineAttack                ## -- Begin function P_AimLineAttack
	.p2align	4, 0x90
_P_AimLineAttack:                       ## @P_AimLineAttack
	.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	_ANGLETOFINESHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rsi
	movq	_FRACBITS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%edx, %r11d
	sarl	%cl, %r11d
	movq	_shootthing@GOTPCREL(%rip), %rcx
	movq	%rdi, (%rcx)
	movq	_finecosine@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rsi,4), %r10d
	imull	%r11d, %r10d
	addl	(%rdi), %r10d
	movq	_finesine@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	imull	(%rcx,%rsi,4), %r11d
	movl	4(%rdi), %esi
	movl	8(%rdi), %ecx
	addl	%esi, %r11d
	sarl	%ecx
	movslq	%ecx, %rcx
	addq	16(%rdi), %rcx
	movq	_FRACUNIT@GOTPCREL(%rip), %rax
	movslq	(%rax), %r9
	leaq	(%rcx,%r9,8), %r8
	movq	_shootz@GOTPCREL(%rip), %rcx
	movq	%r8, (%rcx)
	imull	$100, %r9d, %ecx
	movslq	%ecx, %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$38, %rcx
	addl	%eax, %ecx
	movq	_topslope@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	imull	$-100, %r9d, %eax
	cltq
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$38, %rax
	addl	%ecx, %eax
	movq	_bottomslope@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_attackrange@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	movq	_linetarget@GOTPCREL(%rip), %rbx
	movq	$0, (%rbx)
	movl	(%rdi), %edi
	movq	_PT_ADDLINES@GOTPCREL(%rip), %rax
	movq	_PT_ADDTHINGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	(%rax), %r8d
	movq	_PTR_AimTraverse@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r10d, %edx
	movl	%r11d, %ecx
	callq	_P_PathTraverse
	xorl	%eax, %eax
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_aimslope@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ANGLETOFINESHIFT,8,3           ## @ANGLETOFINESHIFT
	.comm	_shootthing,8,3                 ## @shootthing
	.comm	_FRACBITS,4,2                   ## @FRACBITS
	.comm	_finecosine,8,3                 ## @finecosine
	.comm	_finesine,8,3                   ## @finesine
	.comm	_FRACUNIT,4,2                   ## @FRACUNIT
	.comm	_shootz,8,3                     ## @shootz
	.comm	_topslope,4,2                   ## @topslope
	.comm	_bottomslope,4,2                ## @bottomslope
	.comm	_attackrange,4,2                ## @attackrange
	.comm	_linetarget,8,3                 ## @linetarget
	.comm	_PT_ADDLINES,4,2                ## @PT_ADDLINES
	.comm	_PT_ADDTHINGS,4,2               ## @PT_ADDTHINGS
	.comm	_PTR_AimTraverse,4,2            ## @PTR_AimTraverse
	.comm	_aimslope,4,2                   ## @aimslope
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_AimLineAttack                ; -- Begin function P_AimLineAttack
	.p2align	2
_P_AimLineAttack:                       ; @P_AimLineAttack
	.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	x8, _ANGLETOFINESHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ANGLETOFINESHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	lsr	x8, x1, x8
Lloh3:
	adrp	x9, _shootthing@GOTPAGE
Lloh4:
	ldr	x9, [x9, _shootthing@GOTPAGEOFF]
Lloh5:
	str	x0, [x9]
Lloh6:
	adrp	x9, _FRACBITS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FRACBITS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	asr	w9, w2, w9
Lloh9:
	adrp	x10, _finecosine@GOTPAGE
Lloh10:
	ldr	x10, [x10, _finecosine@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	lsl	x11, x8, #2
	ldr	w8, [x10, x11]
	ldp	w10, w1, [x0]
	madd	w8, w8, w9, w10
Lloh12:
	adrp	x10, _finesine@GOTPAGE
Lloh13:
	ldr	x10, [x10, _finesine@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	ldr	w10, [x10, x11]
	madd	w3, w10, w9, w1
	ldr	x9, [x0, #16]
	ldr	w10, [x0, #8]
	asr	w10, w10, #1
Lloh15:
	adrp	x11, _FRACUNIT@GOTPAGE
Lloh16:
	ldr	x11, [x11, _FRACUNIT@GOTPAGEOFF]
	add	x9, x9, w10, sxtw
Lloh17:
	ldrsw	x10, [x11]
	add	x9, x9, x10, lsl #3
Lloh18:
	adrp	x11, _shootz@GOTPAGE
Lloh19:
	ldr	x11, [x11, _shootz@GOTPAGEOFF]
Lloh20:
	str	x9, [x11]
	mov	w9, #100
	mul	w9, w10, w9
	mov	w11, #26215
	movk	w11, #26214, lsl #16
	smull	x9, w9, w11
	lsr	x12, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w12
Lloh21:
	adrp	x12, _topslope@GOTPAGE
Lloh22:
	ldr	x12, [x12, _topslope@GOTPAGEOFF]
Lloh23:
	str	w9, [x12]
	mov	w9, #-100
	mul	w9, w10, w9
	smull	x9, w9, w11
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
Lloh24:
	adrp	x10, _bottomslope@GOTPAGE
Lloh25:
	ldr	x10, [x10, _bottomslope@GOTPAGEOFF]
Lloh26:
	str	w9, [x10]
Lloh27:
	adrp	x9, _attackrange@GOTPAGE
Lloh28:
	ldr	x9, [x9, _attackrange@GOTPAGEOFF]
Lloh29:
	str	w2, [x9]
Lloh30:
	adrp	x19, _linetarget@GOTPAGE
Lloh31:
	ldr	x19, [x19, _linetarget@GOTPAGEOFF]
	str	xzr, [x19]
	ldr	w0, [x0]
Lloh32:
	adrp	x9, _PT_ADDLINES@GOTPAGE
Lloh33:
	ldr	x9, [x9, _PT_ADDLINES@GOTPAGEOFF]
Lloh34:
	adrp	x10, _PT_ADDTHINGS@GOTPAGE
Lloh35:
	ldr	x10, [x10, _PT_ADDTHINGS@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
Lloh37:
	ldr	w10, [x10]
	orr	w4, w10, w9
Lloh38:
	adrp	x9, _PTR_AimTraverse@GOTPAGE
Lloh39:
	ldr	x9, [x9, _PTR_AimTraverse@GOTPAGEOFF]
Lloh40:
	ldr	w5, [x9]
	mov	x2, x8
	bl	_P_PathTraverse
	ldr	x8, [x19]
Lloh41:
	adrp	x9, _aimslope@GOTPAGE
Lloh42:
	ldr	x9, [x9, _aimslope@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w0, wzr, w9, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh36
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ANGLETOFINESHIFT,8,3           ; @ANGLETOFINESHIFT
	.comm	_shootthing,8,3                 ; @shootthing
	.comm	_FRACBITS,4,2                   ; @FRACBITS
	.comm	_finecosine,8,3                 ; @finecosine
	.comm	_finesine,8,3                   ; @finesine
	.comm	_FRACUNIT,4,2                   ; @FRACUNIT
	.comm	_shootz,8,3                     ; @shootz
	.comm	_topslope,4,2                   ; @topslope
	.comm	_bottomslope,4,2                ; @bottomslope
	.comm	_attackrange,4,2                ; @attackrange
	.comm	_linetarget,8,3                 ; @linetarget
	.comm	_PT_ADDLINES,4,2                ; @PT_ADDLINES
	.comm	_PT_ADDTHINGS,4,2               ; @PT_ADDTHINGS
	.comm	_PTR_AimTraverse,4,2            ; @PTR_AimTraverse
	.comm	_aimslope,4,2                   ; @aimslope
.subsections_via_symbols
