	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_MovePlayer                   ## -- Begin function P_MovePlayer
	.p2align	4, 0x90
_P_MovePlayer:                          ## @P_MovePlayer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %eax
	shll	$16, %eax
	movslq	%eax, %rsi
	movq	(%rdi), %rax
	addq	24(%rax), %rsi
	movq	%rsi, 24(%rax)
	movq	(%rax), %rcx
	movq	8(%rax), %rdi
	xorl	%eax, %eax
	cmpq	%rdi, %rcx
	setle	%al
	movq	_onground@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	movl	12(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	cmpq	%rdi, %rcx
	jg	LBB0_3
## %bb.2:
	shll	$11, %edx
	movq	%rbx, %rdi
	callq	_P_Thrust
	movl	(%r14), %eax
LBB0_3:
	movl	16(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_6
## %bb.4:
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	(%rbx), %rax
	movq	24(%rax), %rsi
	movq	_ANG90@GOTPCREL(%rip), %rax
	subq	(%rax), %rsi
	shll	$11, %edx
	movq	%rbx, %rdi
	callq	_P_Thrust
LBB0_6:
	cmpl	$0, 12(%rbx)
	jne	LBB0_8
## %bb.7:
	cmpl	$0, 16(%rbx)
	je	LBB0_9
LBB0_8:
	movq	(%rbx), %rdi
	movq	_states@GOTPCREL(%rip), %rax
	movq	_S_PLAY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$2, %rcx
	addq	(%rax), %rcx
	cmpq	%rcx, 16(%rdi)
	je	LBB0_10
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movq	_S_PLAY_RUN1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_P_SetMobjState                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_onground,4,2                   ## @onground
	.comm	_ANG90,8,3                      ## @ANG90
	.comm	_states,8,3                     ## @states
	.comm	_S_PLAY,8,3                     ## @S_PLAY
	.comm	_S_PLAY_RUN1,4,2                ## @S_PLAY_RUN1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_MovePlayer                   ; -- Begin function P_MovePlayer
	.p2align	2
_P_MovePlayer:                          ; @P_MovePlayer
	.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
	mov	x19, x0
	ldp	w8, w9, [x0, #8]
	lsl	w8, w8, #16
	ldr	x11, [x0]
	ldr	x10, [x11, #24]
	add	x1, x10, w8, sxtw
	str	x1, [x11, #24]
	ldp	x10, x11, [x11]
	cmp	x10, x11
	cset	w8, le
Lloh0:
	adrp	x20, _onground@GOTPAGE
Lloh1:
	ldr	x20, [x20, _onground@GOTPAGEOFF]
	str	w8, [x20]
	cbz	w9, LBB0_3
; %bb.1:
	cmp	x10, x11
	b.gt	LBB0_3
; %bb.2:
	lsl	w2, w9, #11
	mov	x0, x19
	bl	_P_Thrust
	ldr	w8, [x20]
LBB0_3:
	ldr	w9, [x19, #16]
	cbz	w9, LBB0_6
; %bb.4:
	cbz	w8, LBB0_6
; %bb.5:
	ldr	x8, [x19]
	ldr	x8, [x8, #24]
Lloh2:
	adrp	x10, _ANG90@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ANG90@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	sub	x1, x8, x10
	lsl	w2, w9, #11
	mov	x0, x19
	bl	_P_Thrust
LBB0_6:
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_8
; %bb.7:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_9
LBB0_8:
	ldr	x0, [x19]
	ldr	x8, [x0, #16]
Lloh5:
	adrp	x9, _states@GOTPAGE
Lloh6:
	ldr	x9, [x9, _states@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _S_PLAY@GOTPAGE
Lloh9:
	ldr	x10, [x10, _S_PLAY@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	add	x9, x9, x10, lsl #2
	cmp	x8, x9
	b.eq	LBB0_10
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh11:
	adrp	x8, _S_PLAY_RUN1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _S_PLAY_RUN1@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_P_SetMobjState
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_onground,4,2                   ; @onground
	.comm	_ANG90,8,3                      ; @ANG90
	.comm	_states,8,3                     ; @states
	.comm	_S_PLAY,8,3                     ; @S_PLAY
	.comm	_S_PLAY_RUN1,4,2                ; @S_PLAY_RUN1
.subsections_via_symbols
