	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_TryMove                      ## -- Begin function P_TryMove
	.p2align	4, 0x90
_P_TryMove:                             ## @P_TryMove
	.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	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_floatok@GOTPCREL(%rip), %r14
	movl	$0, (%r14)
	callq	_P_CheckPosition
	xorl	%edx, %edx
	testl	%eax, %eax
	je	LBB0_15
## %bb.1:
	movq	_MF_NOCLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_2
LBB0_8:
	movq	%r15, %rdi
	callq	_P_UnsetThingPosition
	movq	24(%r15), %r14
	movq	32(%r15), %r13
	movq	_tmfloorz@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r15)
	movq	_tmceilingz@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r15)
	movq	%r12, 24(%r15)
	movq	%rbx, 32(%r15)
	movq	%r15, %rdi
	callq	_P_SetThingPosition
	movq	_MF_TELEPORT@GOTPCREL(%rip), %rax
	movq	_MF_NOCLIP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	$1, %edx
	testl	%ecx, (%r15)
	jne	LBB0_15
## %bb.9:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	_numspechit@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	subq	$1, %rax
	movq	%rax, (%r13)
	jae	LBB0_10
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r13), %rax
	subq	$1, %rax
	movq	%rax, (%r13)
	jb	LBB0_14
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	_spechit@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rbx
	movq	24(%r15), %rdi
	movq	32(%r15), %rsi
	movq	%rbx, %rdx
	callq	_P_PointOnLineSide
	movl	%eax, %r12d
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_P_PointOnLineSide
	cmpl	%eax, %r12d
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_lines@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	shlq	$3, %rcx
	subq	%rcx, %rbx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_P_CrossSpecialLine
	jmp	LBB0_13
LBB0_2:
	movq	_tmceilingz@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_tmfloorz@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	%rsi, %rcx
	subq	%r9, %rcx
	movq	8(%r15), %rax
	cmpq	%rax, %rcx
	jl	LBB0_15
## %bb.3:
	movl	$1, (%r14)
	movl	(%r15), %ecx
	movq	_MF_TELEPORT@GOTPCREL(%rip), %rdi
	testl	%ecx, (%rdi)
	je	LBB0_4
LBB0_6:
	movq	_MF_DROPOFF@GOTPCREL(%rip), %rax
	movq	_MF_FLOAT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rax), %esi
	testl	%ecx, %esi
	jne	LBB0_8
## %bb.7:
	movq	_tmdropoffz@GOTPCREL(%rip), %rcx
	subq	(%rcx), %r9
	movq	_FRACUNIT@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	cmpq	%rcx, %r9
	jle	LBB0_8
	jmp	LBB0_15
LBB0_14:
	movl	$1, %edx
LBB0_15:
	movl	%edx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	16(%r15), %rdi
	subq	%rdi, %rsi
	cmpq	%rax, %rsi
	jl	LBB0_15
## %bb.5:
	movq	%r9, %r8
	subq	%rdi, %r8
	movq	_FRACUNIT@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rsi
	cmpq	%rsi, %r8
	jle	LBB0_6
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_floatok,4,2                    ## @floatok
	.comm	_MF_NOCLIP,4,2                  ## @MF_NOCLIP
	.comm	_tmceilingz,8,3                 ## @tmceilingz
	.comm	_tmfloorz,8,3                   ## @tmfloorz
	.comm	_MF_TELEPORT,4,2                ## @MF_TELEPORT
	.comm	_FRACUNIT,4,2                   ## @FRACUNIT
	.comm	_MF_DROPOFF,4,2                 ## @MF_DROPOFF
	.comm	_MF_FLOAT,4,2                   ## @MF_FLOAT
	.comm	_tmdropoffz,8,3                 ## @tmdropoffz
	.comm	_numspechit,8,3                 ## @numspechit
	.comm	_spechit,8,3                    ## @spechit
	.comm	_lines,4,2                      ## @lines
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_TryMove                      ; -- Begin function P_TryMove
	.p2align	2
_P_TryMove:                             ; @P_TryMove
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _floatok@GOTPAGE
Lloh1:
	ldr	x22, [x22, _floatok@GOTPAGEOFF]
	str	wzr, [x22]
	bl	_P_CheckPosition
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w8, [x19]
Lloh2:
	adrp	x24, _MF_NOCLIP@GOTPAGE
Lloh3:
	ldr	x24, [x24, _MF_NOCLIP@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh4:
	adrp	x25, _tmceilingz@GOTPAGE
Lloh5:
	ldr	x25, [x25, _tmceilingz@GOTPAGEOFF]
Lloh6:
	adrp	x26, _tmfloorz@GOTPAGE
Lloh7:
	ldr	x26, [x26, _tmfloorz@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_P_UnsetThingPosition
	ldp	x22, x23, [x19, #24]
	ldr	x8, [x26]
	ldr	x9, [x25]
	stp	x9, x8, [x19, #40]
	stp	x21, x20, [x19, #24]
	mov	x0, x19
	bl	_P_SetThingPosition
	ldr	w8, [x19]
Lloh8:
	adrp	x9, _MF_TELEPORT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MF_TELEPORT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	ldr	w10, [x24]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_7
LBB0_3:
	mov	w0, #1
	b	LBB0_6
LBB0_4:
	ldr	x10, [x25]
	ldr	x8, [x26]
	ldr	x11, [x19, #8]
	sub	x9, x10, x8
	cmp	x9, x11
	b.ge	LBB0_13
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh11:
	adrp	x24, _numspechit@GOTPAGE
Lloh12:
	ldr	x24, [x24, _numspechit@GOTPAGEOFF]
	ldr	x9, [x24]
	sub	x8, x9, #1
	str	x8, [x24]
	cbz	x9, LBB0_3
; %bb.8:
Lloh13:
	adrp	x25, _spechit@GOTPAGE
Lloh14:
	ldr	x25, [x25, _spechit@GOTPAGEOFF]
Lloh15:
	adrp	x26, _lines@GOTPAGE
Lloh16:
	ldr	x26, [x26, _lines@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x24]
	sub	x8, x9, #1
	str	x8, [x24]
	cbz	x9, LBB0_3
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x25]
	ldr	x20, [x9, x8, lsl #3]
	ldp	x0, x1, [x19, #24]
	mov	x2, x20
	bl	_P_PointOnLineSide
	mov	x21, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	bl	_P_PointOnLineSide
	cmp	w21, w0
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x1, x0
	ldrsw	x8, [x26]
	sub	x0, x20, x8, lsl #3
	mov	x2, x19
	bl	_P_CrossSpecialLine
	b	LBB0_9
LBB0_13:
	mov	w9, #1
	str	w9, [x22]
	ldr	w9, [x19]
Lloh17:
	adrp	x12, _MF_TELEPORT@GOTPAGE
Lloh18:
	ldr	x12, [x12, _MF_TELEPORT@GOTPAGEOFF]
Lloh19:
	ldr	w12, [x12]
	tst	w12, w9
	b.eq	LBB0_16
LBB0_14:
Lloh20:
	adrp	x10, _MF_DROPOFF@GOTPAGE
Lloh21:
	ldr	x10, [x10, _MF_DROPOFF@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
Lloh23:
	adrp	x11, _MF_FLOAT@GOTPAGE
Lloh24:
	ldr	x11, [x11, _MF_FLOAT@GOTPAGEOFF]
Lloh25:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w10, w9
	b.ne	LBB0_2
; %bb.15:
Lloh26:
	adrp	x9, _tmdropoffz@GOTPAGE
Lloh27:
	ldr	x9, [x9, _tmdropoffz@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	sub	x8, x8, x9
Lloh29:
	adrp	x9, _FRACUNIT@GOTPAGE
Lloh30:
	ldr	x9, [x9, _FRACUNIT@GOTPAGEOFF]
Lloh31:
	ldrsw	x9, [x9]
	add	x9, x9, x9, lsl #1
	cmp	x8, x9, lsl #3
	b.le	LBB0_2
	b	LBB0_5
LBB0_16:
	ldr	x12, [x19, #16]
	sub	x10, x10, x12
	cmp	x10, x11
	b.lt	LBB0_5
; %bb.17:
	sub	x10, x8, x12
Lloh32:
	adrp	x11, _FRACUNIT@GOTPAGE
Lloh33:
	ldr	x11, [x11, _FRACUNIT@GOTPAGEOFF]
Lloh34:
	ldrsw	x11, [x11]
	add	x11, x11, x11, lsl #1
	cmp	x10, x11, lsl #3
	b.gt	LBB0_5
	b	LBB0_14
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_floatok,4,2                    ; @floatok
	.comm	_MF_NOCLIP,4,2                  ; @MF_NOCLIP
	.comm	_tmceilingz,8,3                 ; @tmceilingz
	.comm	_tmfloorz,8,3                   ; @tmfloorz
	.comm	_MF_TELEPORT,4,2                ; @MF_TELEPORT
	.comm	_FRACUNIT,4,2                   ; @FRACUNIT
	.comm	_MF_DROPOFF,4,2                 ; @MF_DROPOFF
	.comm	_MF_FLOAT,4,2                   ; @MF_FLOAT
	.comm	_tmdropoffz,8,3                 ; @tmdropoffz
	.comm	_numspechit,8,3                 ; @numspechit
	.comm	_spechit,8,3                    ; @spechit
	.comm	_lines,4,2                      ; @lines
.subsections_via_symbols
