	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PM_Animate
_PM_Animate:                            ## @PM_Animate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_pm@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_BUTTON_GESTURE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%rax)
	je	LBB0_2
## %bb.1:
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_TORSO_GESTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PM_StartTorsoAnim
	movq	_TIMER_GESTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	_EV_TAUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_PM_AddEvent                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pm,8,3                         ## @pm
	.comm	_BUTTON_GESTURE,4,2             ## @BUTTON_GESTURE
	.comm	_TORSO_GESTURE,4,2              ## @TORSO_GESTURE
	.comm	_TIMER_GESTURE,4,2              ## @TIMER_GESTURE
	.comm	_EV_TAUNT,4,2                   ## @EV_TAUNT
	.comm	_BUTTON_AFFIRMATIVE,4,2         ## @BUTTON_AFFIRMATIVE
	.comm	_BUTTON_FOLLOWME,4,2            ## @BUTTON_FOLLOWME
	.comm	_BUTTON_GETFLAG,4,2             ## @BUTTON_GETFLAG
	.comm	_BUTTON_GUARDBASE,4,2           ## @BUTTON_GUARDBASE
	.comm	_BUTTON_NEGATIVE,4,2            ## @BUTTON_NEGATIVE
	.comm	_BUTTON_PATROL,4,2              ## @BUTTON_PATROL
	.comm	_TORSO_AFFIRMATIVE,4,2          ## @TORSO_AFFIRMATIVE
	.comm	_TORSO_FOLLOWME,4,2             ## @TORSO_FOLLOWME
	.comm	_TORSO_GETFLAG,4,2              ## @TORSO_GETFLAG
	.comm	_TORSO_GUARDBASE,4,2            ## @TORSO_GUARDBASE
	.comm	_TORSO_NEGATIVE,4,2             ## @TORSO_NEGATIVE
	.comm	_TORSO_PATROL,4,2               ## @TORSO_PATROL
	.no_dead_strip	_PM_Animate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PM_Animate
_PM_Animate:                            ; @PM_Animate
	.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
Lloh0:
	adrp	x19, _pm@GOTPAGE
Lloh1:
	ldr	x19, [x19, _pm@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w9, [x8, #8]
Lloh2:
	adrp	x10, _BUTTON_GESTURE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _BUTTON_GESTURE@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh5:
	adrp	x8, _TORSO_GESTURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TORSO_GESTURE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_PM_StartTorsoAnim
Lloh8:
	adrp	x8, _TIMER_GESTURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TIMER_GESTURE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9]
	str	w8, [x9]
Lloh11:
	adrp	x8, _EV_TAUNT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EV_TAUNT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PM_AddEvent
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_pm,8,3                         ; @pm
	.comm	_BUTTON_GESTURE,4,2             ; @BUTTON_GESTURE
	.comm	_TORSO_GESTURE,4,2              ; @TORSO_GESTURE
	.comm	_TIMER_GESTURE,4,2              ; @TIMER_GESTURE
	.comm	_EV_TAUNT,4,2                   ; @EV_TAUNT
	.comm	_BUTTON_AFFIRMATIVE,4,2         ; @BUTTON_AFFIRMATIVE
	.comm	_BUTTON_FOLLOWME,4,2            ; @BUTTON_FOLLOWME
	.comm	_BUTTON_GETFLAG,4,2             ; @BUTTON_GETFLAG
	.comm	_BUTTON_GUARDBASE,4,2           ; @BUTTON_GUARDBASE
	.comm	_BUTTON_NEGATIVE,4,2            ; @BUTTON_NEGATIVE
	.comm	_BUTTON_PATROL,4,2              ; @BUTTON_PATROL
	.comm	_TORSO_AFFIRMATIVE,4,2          ; @TORSO_AFFIRMATIVE
	.comm	_TORSO_FOLLOWME,4,2             ; @TORSO_FOLLOWME
	.comm	_TORSO_GETFLAG,4,2              ; @TORSO_GETFLAG
	.comm	_TORSO_GUARDBASE,4,2            ; @TORSO_GUARDBASE
	.comm	_TORSO_NEGATIVE,4,2             ; @TORSO_NEGATIVE
	.comm	_TORSO_PATROL,4,2               ; @TORSO_PATROL
	.no_dead_strip	_PM_Animate
.subsections_via_symbols
