	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Script_ActorPush_b             ## -- Begin function Script_ActorPush_b
	.p2align	4, 0x90
_Script_ActorPush_b:                    ## @Script_ActorPush_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	_script_cmd_args@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	movq	_actors@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	je	LBB0_11
## %bb.1:
	cmpl	$0, (%rcx)
	js	LBB0_2
## %bb.3:
	je	LBB0_5
## %bb.4:
	movq	_ACTOR_MAX_X@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, 4(%rcx)
	jns	LBB0_8
	jmp	LBB0_7
LBB0_11:
	movq	_script_actor@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rax,2), %rsi
	movslq	(%rcx), %rax
	shlq	$4, %rax
	addq	16(%rcx,%rsi,8), %rax
	movslq	4(%rcx), %rdx
	shlq	$4, %rdx
	addq	8(%rcx,%rsi,8), %rdx
	jmp	LBB0_12
LBB0_2:
	xorl	%eax, %eax
	cmpl	$0, 4(%rcx)
	js	LBB0_7
LBB0_8:
	je	LBB0_10
## %bb.9:
	movq	_ACTOR_MAX_Y@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	jmp	LBB0_12
LBB0_5:
	movq	_script_actor@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rax,2), %rax
	movq	16(%rcx,%rax,8), %rax
	cmpl	$0, 4(%rcx)
	jns	LBB0_8
LBB0_7:
	xorl	%edx, %edx
	jmp	LBB0_12
LBB0_10:
	movq	_script_actor@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	8(%rcx,%rdx,8), %rdx
LBB0_12:
	movq	_ACTOR_MOVE_ENABLED@GOTPCREL(%rip), %rcx
	movq	_actor_move_settings@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edi
	orl	(%rcx), %edi
	movq	_ACTOR_NOCLIP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%edi, %ecx
	movl	%ecx, (%rsi)
	movq	_actor_move_dest@GOTPCREL(%rip), %rcx
	movq	%rax, 8(%rcx)
	movq	%rdx, (%rcx)
	movq	_script_cmd_args_len@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_script_ptr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leal	1(%rax,%rdx), %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	_script_cmd_args,8,3            ## @script_cmd_args
	.comm	_actors,8,3                     ## @actors
	.comm	_ACTOR_MAX_X,8,3                ## @ACTOR_MAX_X
	.comm	_script_actor,8,3               ## @script_actor
	.comm	_ACTOR_MAX_Y,8,3                ## @ACTOR_MAX_Y
	.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,16,3           ## @actor_move_dest
	.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_ActorPush_b             ; -- Begin function Script_ActorPush_b
	.p2align	2
_Script_ActorPush_b:                    ; @Script_ActorPush_b
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _script_cmd_args@GOTPAGE
Lloh1:
	ldr	x8, [x8, _script_cmd_args@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _actors@GOTPAGE
Lloh4:
	ldr	x9, [x9, _actors@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w8, [x9]
	tbnz	w8, #31, LBB0_5
; %bb.2:
	cbz	w8, LBB0_8
; %bb.3:
Lloh6:
	adrp	x8, _ACTOR_MAX_X@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACTOR_MAX_X@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w10, [x9, #4]
	tbz	w10, #31, LBB0_6
	b	LBB0_9
LBB0_4:
Lloh9:
	adrp	x8, _script_actor@GOTPAGE
Lloh10:
	ldr	x8, [x8, _script_actor@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	mov	w10, #24
	madd	x8, x8, x10, x9
	ldp	x11, x10, [x8, #8]
	ldpsw	x8, x9, [x9]
	add	x8, x10, x8, lsl #4
	add	x9, x11, x9, lsl #4
	b	LBB0_11
LBB0_5:
	mov	x8, #0
	ldr	w10, [x9, #4]
	tbnz	w10, #31, LBB0_9
LBB0_6:
	cbz	w10, LBB0_10
; %bb.7:
Lloh12:
	adrp	x9, _ACTOR_MAX_Y@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ACTOR_MAX_Y@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	b	LBB0_11
LBB0_8:
Lloh15:
	adrp	x8, _script_actor@GOTPAGE
Lloh16:
	ldr	x8, [x8, _script_actor@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	mov	w10, #24
	madd	x8, x8, x10, x9
	ldr	x8, [x8, #16]
	ldr	w10, [x9, #4]
	tbz	w10, #31, LBB0_6
LBB0_9:
	mov	x9, #0
	b	LBB0_11
LBB0_10:
Lloh18:
	adrp	x10, _script_actor@GOTPAGE
Lloh19:
	ldr	x10, [x10, _script_actor@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	mov	w11, #24
	madd	x9, x10, x11, x9
	ldr	x9, [x9, #8]
LBB0_11:
Lloh21:
	adrp	x10, _ACTOR_MOVE_ENABLED@GOTPAGE
Lloh22:
	ldr	x10, [x10, _ACTOR_MOVE_ENABLED@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
Lloh24:
	adrp	x11, _actor_move_settings@GOTPAGE
Lloh25:
	ldr	x11, [x11, _actor_move_settings@GOTPAGEOFF]
	ldr	w12, [x11]
	orr	w10, w12, w10
Lloh26:
	adrp	x12, _ACTOR_NOCLIP@GOTPAGE
Lloh27:
	ldr	x12, [x12, _ACTOR_NOCLIP@GOTPAGEOFF]
Lloh28:
	ldr	w12, [x12]
	bic	w10, w10, w12
Lloh29:
	adrp	x12, _actor_move_dest@GOTPAGE
Lloh30:
	ldr	x12, [x12, _actor_move_dest@GOTPAGEOFF]
	str	w10, [x11]
	stp	x9, x8, [x12]
Lloh31:
	adrp	x8, _script_cmd_args_len@GOTPAGE
Lloh32:
	ldr	x8, [x8, _script_cmd_args_len@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _script_ptr@GOTPAGE
Lloh35:
	ldr	x9, [x9, _script_ptr@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w8, w8, w10
	add	w8, w8, #1
	str	w8, [x9]
Lloh36:
	adrp	x8, _FALSE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _script_action_complete@GOTPAGE
Lloh40:
	ldr	x9, [x9, _script_action_complete@GOTPAGEOFF]
Lloh41:
	str	w8, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_script_cmd_args,8,3            ; @script_cmd_args
	.comm	_actors,8,3                     ; @actors
	.comm	_ACTOR_MAX_X,8,3                ; @ACTOR_MAX_X
	.comm	_script_actor,8,3               ; @script_actor
	.comm	_ACTOR_MAX_Y,8,3                ; @ACTOR_MAX_Y
	.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,16,3           ; @actor_move_dest
	.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
