	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PTR_AimTraverse                ## -- Begin function PTR_AimTraverse
	.p2align	4, 0x90
_PTR_AimTraverse:                       ## @PTR_AimTraverse
	.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
	movq	%rdi, %rbx
	cmpq	$0, 24(%rdi)
	je	LBB0_11
## %bb.1:
	movq	16(%rbx), %r15
	movq	_ML_TWOSIDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	testl	%eax, (%r15)
	je	LBB0_16
## %bb.2:
	movq	%r15, %rdi
	callq	_P_LineOpening
	movq	_openbottom@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	_opentop@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jge	LBB0_16
## %bb.3:
	movq	_attackrange@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_FixedMul
	movq	%rax, %rbx
	movq	8(%r15), %rax
	movq	16(%r15), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rax), %rcx
	je	LBB0_6
## %bb.4:
	movq	(%r13), %rdi
	movq	_shootz@GOTPCREL(%rip), %rax
	subq	(%rax), %rdi
	movq	%rbx, %rsi
	callq	_FixedDiv
	movq	_bottomslope@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_6
## %bb.5:
	movq	%rax, (%rcx)
LBB0_6:
	movq	8(%r15), %rax
	movq	16(%r15), %rcx
	movq	8(%rcx), %rcx
	cmpq	8(%rax), %rcx
	jne	LBB0_8
## %bb.7:
	movq	_topslope@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	jmp	LBB0_10
LBB0_11:
	movq	8(%rbx), %r12
	movq	_shootthing@GOTPCREL(%rip), %rax
	movl	$1, %r14d
	cmpq	(%rax), %r12
	je	LBB0_16
## %bb.12:
	movq	_MF_SHOOTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_16
## %bb.13:
	movq	_attackrange@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_FixedMul
	movq	16(%r12), %rdi
	addq	8(%r12), %rdi
	movq	%rax, %rbx
	movq	_shootz@GOTPCREL(%rip), %r13
	subq	(%r13), %rdi
	movq	%rax, %rsi
	callq	_FixedDiv
	movq	%rax, %r15
	movq	_bottomslope@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jl	LBB0_16
## %bb.14:
	movq	8(%r12), %rdi
	subq	(%r13), %rdi
	movq	%rbx, %rsi
	callq	_FixedDiv
	movq	_topslope@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jg	LBB0_16
## %bb.15:
	cmpq	%rcx, %r15
	cmovlq	%r15, %rcx
	movq	_bottomslope@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rax
	cmovgq	%rax, %rdx
	addq	%rcx, %rdx
	movq	%rdx, %rax
	shrq	$63, %rax
	addq	%rdx, %rax
	sarq	%rax
	movq	_aimslope@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_linetarget@GOTPCREL(%rip), %rax
	movq	%r12, (%rax)
	xorl	%r14d, %r14d
	jmp	LBB0_16
LBB0_8:
	movq	(%r12), %rdi
	movq	_shootz@GOTPCREL(%rip), %rax
	subq	(%rax), %rdi
	movq	%rbx, %rsi
	callq	_FixedDiv
	movq	_topslope@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_10
## %bb.9:
	movq	%rax, (%rdx)
	movq	%rax, %rcx
LBB0_10:
	movq	_bottomslope@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpq	(%rax), %rcx
	setg	%r14b
LBB0_16:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ML_TWOSIDED,4,2                ## @ML_TWOSIDED
	.comm	_openbottom,8,3                 ## @openbottom
	.comm	_opentop,8,3                    ## @opentop
	.comm	_attackrange,4,2                ## @attackrange
	.comm	_shootz,8,3                     ## @shootz
	.comm	_bottomslope,8,3                ## @bottomslope
	.comm	_topslope,8,3                   ## @topslope
	.comm	_shootthing,8,3                 ## @shootthing
	.comm	_MF_SHOOTABLE,4,2               ## @MF_SHOOTABLE
	.comm	_aimslope,8,3                   ## @aimslope
	.comm	_linetarget,8,3                 ## @linetarget
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PTR_AimTraverse                ; -- Begin function PTR_AimTraverse
	.p2align	2
_PTR_AimTraverse:                       ; @PTR_AimTraverse
	.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
	mov	x20, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_9
; %bb.1:
	ldr	x19, [x20, #16]
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _ML_TWOSIDED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ML_TWOSIDED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.2:
	mov	x0, x19
	bl	_P_LineOpening
Lloh3:
	adrp	x24, _openbottom@GOTPAGE
Lloh4:
	ldr	x24, [x24, _openbottom@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh5:
	adrp	x22, _opentop@GOTPAGE
Lloh6:
	ldr	x22, [x22, _opentop@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ge	LBB0_8
; %bb.3:
Lloh7:
	adrp	x8, _attackrange@GOTPAGE
Lloh8:
	ldr	x8, [x8, _attackrange@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_FixedMul
	mov	x20, x0
	ldp	x9, x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x9, [x9]
Lloh10:
	adrp	x23, _shootz@GOTPAGE
Lloh11:
	ldr	x23, [x23, _shootz@GOTPAGEOFF]
Lloh12:
	adrp	x21, _bottomslope@GOTPAGE
Lloh13:
	ldr	x21, [x21, _bottomslope@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.4:
	ldr	x8, [x24]
	ldr	x9, [x23]
	sub	x0, x8, x9
	mov	x1, x20
	bl	_FixedDiv
	ldr	x8, [x21]
	cmp	x0, x8
	b.le	LBB0_6
; %bb.5:
	str	x0, [x21]
LBB0_6:
	ldp	x9, x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	x9, [x9, #8]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.7:
Lloh14:
	adrp	x8, _topslope@GOTPAGE
Lloh15:
	ldr	x8, [x8, _topslope@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	b	LBB0_16
LBB0_8:
	mov	w0, #0
	b	LBB0_17
LBB0_9:
	ldr	x21, [x20, #8]
Lloh17:
	adrp	x8, _shootthing@GOTPAGE
Lloh18:
	ldr	x8, [x8, _shootthing@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x21, x8
	b.eq	LBB0_13
; %bb.10:
	ldr	w8, [x21]
Lloh20:
	adrp	x9, _MF_SHOOTABLE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MF_SHOOTABLE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.11:
Lloh23:
	adrp	x8, _attackrange@GOTPAGE
Lloh24:
	ldr	x8, [x8, _attackrange@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_FixedMul
	mov	x19, x0
	ldp	x8, x9, [x21, #8]
Lloh26:
	adrp	x23, _shootz@GOTPAGE
Lloh27:
	ldr	x23, [x23, _shootz@GOTPAGEOFF]
	ldr	x10, [x23]
	add	x8, x9, x8
	sub	x0, x8, x10
	mov	x1, x19
	bl	_FixedDiv
Lloh28:
	adrp	x22, _bottomslope@GOTPAGE
Lloh29:
	ldr	x22, [x22, _bottomslope@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.lt	LBB0_13
; %bb.12:
	mov	x20, x0
	ldr	x8, [x21, #8]
	ldr	x9, [x23]
	sub	x0, x8, x9
	mov	x1, x19
	bl	_FixedDiv
Lloh30:
	adrp	x9, _topslope@GOTPAGE
Lloh31:
	ldr	x9, [x9, _topslope@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x0, x9
	b.le	LBB0_18
LBB0_13:
	mov	w0, #1
	b	LBB0_17
LBB0_14:
	ldr	x8, [x22]
	ldr	x9, [x23]
	sub	x0, x8, x9
	mov	x1, x20
	bl	_FixedDiv
Lloh33:
	adrp	x9, _topslope@GOTPAGE
Lloh34:
	ldr	x9, [x9, _topslope@GOTPAGEOFF]
	ldr	x8, [x9]
	cmp	x0, x8
	b.ge	LBB0_16
; %bb.15:
	str	x0, [x9]
	mov	x8, x0
LBB0_16:
	ldr	x9, [x21]
	cmp	x8, x9
	cset	w0, gt
LBB0_17:
	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
LBB0_18:
	mov	x8, x0
	mov	w0, #0
	cmp	x20, x9
	csel	x9, x20, x9, lt
	ldr	x10, [x22]
	cmp	x8, x10
	csel	x8, x8, x10, gt
	add	x8, x8, x9
	cmp	x8, #0
	cinc	x8, x8, lt
	asr	x8, x8, #1
Lloh35:
	adrp	x9, _aimslope@GOTPAGE
Lloh36:
	ldr	x9, [x9, _aimslope@GOTPAGEOFF]
Lloh37:
	str	x8, [x9]
Lloh38:
	adrp	x8, _linetarget@GOTPAGE
Lloh39:
	ldr	x8, [x8, _linetarget@GOTPAGEOFF]
Lloh40:
	str	x21, [x8]
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotStr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotStr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_ML_TWOSIDED,4,2                ; @ML_TWOSIDED
	.comm	_openbottom,8,3                 ; @openbottom
	.comm	_opentop,8,3                    ; @opentop
	.comm	_attackrange,4,2                ; @attackrange
	.comm	_shootz,8,3                     ; @shootz
	.comm	_bottomslope,8,3                ; @bottomslope
	.comm	_topslope,8,3                   ; @topslope
	.comm	_shootthing,8,3                 ; @shootthing
	.comm	_MF_SHOOTABLE,4,2               ; @MF_SHOOTABLE
	.comm	_aimslope,8,3                   ; @aimslope
	.comm	_linetarget,8,3                 ; @linetarget
.subsections_via_symbols
