	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AM_doFollowPlayer              ## -- Begin function AM_doFollowPlayer
	.p2align	4, 0x90
_AM_doFollowPlayer:                     ## @AM_doFollowPlayer
	.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	_f_oldloc@GOTPCREL(%rip), %r14
	movq	_plr@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	cmpq	%rdi, (%r14)
	jne	LBB0_2
## %bb.1:
	movq	8(%r14), %rcx
	cmpq	8(%rax), %rcx
	je	LBB0_3
LBB0_2:
	callq	_MTOF
	movl	%eax, %edi
	callq	_FTOM
	movq	_m_w@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	negl	%edx
	movslq	%edx, %rcx
	addq	%rax, %rcx
	movq	_m_x@GOTPCREL(%rip), %rbx
	movq	%rcx, (%rbx)
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rdi
	callq	_MTOF
	movl	%eax, %edi
	callq	_FTOM
	movq	_m_h@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	negl	%edx
	movslq	%edx, %rdx
	addq	%rax, %rdx
	movq	_m_y@GOTPCREL(%rip), %rax
	movq	%rdx, (%rax)
	movslq	(%r15), %rax
	addq	(%rbx), %rax
	movq	_m_x2@GOTPCREL(%rip), %rsi
	movq	%rax, (%rsi)
	addq	%rcx, %rdx
	movq	_m_y2@GOTPCREL(%rip), %rax
	movq	%rdx, (%rax)
	movq	(%r12), %rax
	movq	(%rax), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, (%r14)
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_f_oldloc,16,3                  ## @f_oldloc
	.comm	_plr,8,3                        ## @plr
	.comm	_m_w,4,2                        ## @m_w
	.comm	_m_x,8,3                        ## @m_x
	.comm	_m_h,4,2                        ## @m_h
	.comm	_m_y,8,3                        ## @m_y
	.comm	_m_x2,8,3                       ## @m_x2
	.comm	_m_y2,8,3                       ## @m_y2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AM_doFollowPlayer              ; -- Begin function AM_doFollowPlayer
	.p2align	2
_AM_doFollowPlayer:                     ; @AM_doFollowPlayer
	.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
Lloh0:
	adrp	x19, _f_oldloc@GOTPAGE
Lloh1:
	ldr	x19, [x19, _f_oldloc@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh2:
	adrp	x20, _plr@GOTPAGE
Lloh3:
	ldr	x20, [x20, _plr@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x0, [x8]
	cmp	x9, x0
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [x19, #8]
	ldr	x8, [x8, #8]
	cmp	x9, x8
	b.eq	LBB0_3
LBB0_2:
	bl	_MTOF
	bl	_FTOM
Lloh4:
	adrp	x21, _m_w@GOTPAGE
Lloh5:
	ldr	x21, [x21, _m_w@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #0
	cinc	w8, w8, lt
	neg	w8, w8, asr #1
	add	x8, x0, w8, sxtw
Lloh6:
	adrp	x22, _m_x@GOTPAGE
Lloh7:
	ldr	x22, [x22, _m_x@GOTPAGEOFF]
	str	x8, [x22]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x0, [x8, #8]
	bl	_MTOF
	bl	_FTOM
Lloh8:
	adrp	x8, _m_h@GOTPAGE
Lloh9:
	ldr	x8, [x8, _m_h@GOTPAGEOFF]
Lloh10:
	ldrsw	x8, [x8]
	cmp	w8, #0
	cinc	w9, w8, lt
	neg	w9, w9, asr #1
	add	x9, x0, w9, sxtw
Lloh11:
	adrp	x10, _m_y@GOTPAGE
Lloh12:
	ldr	x10, [x10, _m_y@GOTPAGEOFF]
Lloh13:
	str	x9, [x10]
	ldr	x10, [x22]
	ldrsw	x11, [x21]
	add	x10, x10, x11
Lloh14:
	adrp	x11, _m_x2@GOTPAGE
Lloh15:
	ldr	x11, [x11, _m_x2@GOTPAGEOFF]
Lloh16:
	str	x10, [x11]
Lloh17:
	adrp	x10, _m_y2@GOTPAGE
Lloh18:
	ldr	x10, [x10, _m_y2@GOTPAGEOFF]
	add	x8, x9, x8
Lloh19:
	str	x8, [x10]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	q0, [x8]
	str	q0, [x19]
LBB0_3:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_f_oldloc,16,3                  ; @f_oldloc
	.comm	_plr,8,3                        ; @plr
	.comm	_m_w,4,2                        ; @m_w
	.comm	_m_x,8,3                        ; @m_x
	.comm	_m_h,4,2                        ; @m_h
	.comm	_m_y,8,3                        ; @m_y
	.comm	_m_x2,8,3                       ; @m_x2
	.comm	_m_y2,8,3                       ; @m_y2
.subsections_via_symbols
