	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PM_SetMovementDir
_PM_SetMovementDir:                     ## @PM_SetMovementDir
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_pm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rcx
	movq	16(%rax), %rdx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.2:
	js	LBB0_10
## %bb.3:
	movq	(%rax), %rax
	testq	%rcx, %rcx
	jns	LBB0_15
## %bb.4:
	movl	$5, (%rax)
	popq	%rbp
	retq
LBB0_5:
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.6:
	movq	(%rax), %rax
	js	LBB0_17
## %bb.7:
	movl	$6, (%rax)
	popq	%rbp
	retq
LBB0_8:
	movq	(%rax), %rax
	testq	%rcx, %rcx
	jle	LBB0_18
## %bb.9:
	movl	$0, (%rax)
	popq	%rbp
	retq
LBB0_10:
	movq	(%rax), %rax
	testq	%rcx, %rcx
	jg	LBB0_11
## %bb.19:
	movl	$3, (%rax)
	popq	%rbp
	retq
LBB0_12:
	movq	(%rax), %rax
	movl	(%rax), %ecx
	cmpl	$6, %ecx
	je	LBB0_15
## %bb.13:
	cmpl	$2, %ecx
	jne	LBB0_16
LBB0_11:
	movl	$1, (%rax)
	popq	%rbp
	retq
LBB0_15:
	movl	$7, (%rax)
LBB0_16:
	popq	%rbp
	retq
LBB0_17:
	movl	$2, (%rax)
	popq	%rbp
	retq
LBB0_18:
	movl	$4, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pm,8,3                         ## @pm
	.no_dead_strip	_PM_SetMovementDir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PM_SetMovementDir
_PM_SetMovementDir:                     ; @PM_SetMovementDir
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _pm@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pm@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x9, x10, [x8, #8]
	cbz	x9, LBB0_5
; %bb.1:
	cbz	x10, LBB0_8
; %bb.2:
	tbnz	x10, #63, LBB0_10
; %bb.3:
	ldr	x8, [x8]
	tbz	x9, #63, LBB0_15
; %bb.4:
	mov	w9, #5
	b	LBB0_18
LBB0_5:
	cbz	x10, LBB0_12
; %bb.6:
	ldr	x8, [x8]
	tbnz	x10, #63, LBB0_16
; %bb.7:
	mov	w9, #6
	b	LBB0_18
LBB0_8:
	ldr	x8, [x8]
	cmp	x9, #1
	b.lt	LBB0_17
; %bb.9:
	str	wzr, [x8]
	ret
LBB0_10:
	ldr	x8, [x8]
	cmp	x9, #1
	b.ge	LBB0_14
; %bb.11:
	mov	w9, #3
	b	LBB0_18
LBB0_12:
	ldr	x8, [x8]
	ldr	w9, [x8]
	cmp	w9, #6
	b.eq	LBB0_15
; %bb.13:
	cmp	w9, #2
	b.ne	LBB0_19
LBB0_14:
	mov	w9, #1
	b	LBB0_18
LBB0_15:
	mov	w9, #7
	b	LBB0_18
LBB0_16:
	mov	w9, #2
	b	LBB0_18
LBB0_17:
	mov	w9, #4
LBB0_18:
	str	w9, [x8]
LBB0_19:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pm,8,3                         ; @pm
	.no_dead_strip	_PM_SetMovementDir
.subsections_via_symbols
