	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Script_ActorMoveTo_b           ## -- Begin function Script_ActorMoveTo_b
	.p2align	4, 0x90
_Script_ActorMoveTo_b:                  ## @Script_ActorMoveTo_b
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ACTOR_MOVE_ENABLED@GOTPCREL(%rip), %rax
	movq	_actor_move_settings@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_ACTOR_NOCLIP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, (%rcx)
	movq	_actor_move_dest@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_script_cmd_args@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edx
	leal	8(,%rdx,8), %edx
	movl	%edx, (%rax)
	movl	$0, 4(%rax)
	movl	4(%rcx), %edx
	leal	8(,%rdx,8), %edx
	movl	%edx, 4(%rax)
	cmpl	$31, 4(%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_ACTOR_MAX_Y@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
LBB0_2:
	movq	_script_cmd_args_len@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_script_ptr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	addl	%edx, %eax
	incl	%eax
	movl	%eax, (%rcx)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_script_action_complete@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACTOR_MOVE_ENABLED,4,2         ## @ACTOR_MOVE_ENABLED
	.comm	_actor_move_settings,4,2        ## @actor_move_settings
	.comm	_ACTOR_NOCLIP,4,2               ## @ACTOR_NOCLIP
	.comm	_actor_move_dest,8,2            ## @actor_move_dest
	.comm	_script_cmd_args,8,3            ## @script_cmd_args
	.comm	_ACTOR_MAX_Y,4,2                ## @ACTOR_MAX_Y
	.comm	_script_cmd_args_len,8,3        ## @script_cmd_args_len
	.comm	_script_ptr,4,2                 ## @script_ptr
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_script_action_complete,4,2     ## @script_action_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Script_ActorMoveTo_b           ; -- Begin function Script_ActorMoveTo_b
	.p2align	2
_Script_ActorMoveTo_b:                  ; @Script_ActorMoveTo_b
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ACTOR_MOVE_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACTOR_MOVE_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _actor_move_settings@GOTPAGE
Lloh4:
	ldr	x9, [x9, _actor_move_settings@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
Lloh5:
	adrp	x10, _ACTOR_NOCLIP@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ACTOR_NOCLIP@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w8, w10, w8
	str	w8, [x9]
Lloh8:
	adrp	x8, _actor_move_dest@GOTPAGE
Lloh9:
	ldr	x8, [x8, _actor_move_dest@GOTPAGEOFF]
	str	wzr, [x8]
Lloh10:
	adrp	x9, _script_cmd_args@GOTPAGE
Lloh11:
	ldr	x9, [x9, _script_cmd_args@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	ldr	w10, [x9]
	lsl	w10, w10, #3
	add	w10, w10, #8
	stp	w10, wzr, [x8]
	ldr	w10, [x9, #4]
	lsl	w10, w10, #3
	add	w10, w10, #8
	str	w10, [x8, #4]
	ldr	w9, [x9, #4]
	cmp	w9, #31
	b.ne	LBB0_2
; %bb.1:
Lloh13:
	adrp	x9, _ACTOR_MAX_Y@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ACTOR_MAX_Y@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	str	w9, [x8, #4]
LBB0_2:
Lloh16:
	adrp	x8, _script_cmd_args_len@GOTPAGE
Lloh17:
	ldr	x8, [x8, _script_cmd_args_len@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _script_ptr@GOTPAGE
Lloh20:
	ldr	x9, [x9, _script_ptr@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w8, w8, w10
	add	w8, w8, #1
	str	w8, [x9]
Lloh21:
	adrp	x8, _FALSE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _script_action_complete@GOTPAGE
Lloh25:
	ldr	x9, [x9, _script_action_complete@GOTPAGEOFF]
Lloh26:
	str	w8, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ACTOR_MOVE_ENABLED,4,2         ; @ACTOR_MOVE_ENABLED
	.comm	_actor_move_settings,4,2        ; @actor_move_settings
	.comm	_ACTOR_NOCLIP,4,2               ; @ACTOR_NOCLIP
	.comm	_actor_move_dest,8,2            ; @actor_move_dest
	.comm	_script_cmd_args,8,3            ; @script_cmd_args
	.comm	_ACTOR_MAX_Y,4,2                ; @ACTOR_MAX_Y
	.comm	_script_cmd_args_len,8,3        ; @script_cmd_args_len
	.comm	_script_ptr,4,2                 ; @script_ptr
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_script_action_complete,4,2     ; @script_action_complete
.subsections_via_symbols
