	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Script_ActorSetDir_b           ## -- Begin function Script_ActorSetDir_b
	.p2align	4, 0x90
_Script_ActorSetDir_b:                  ## @Script_ActorSetDir_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
	movl	(%rax), %ecx
	xorl	%edx, %edx
	cmpl	$4, %ecx
	sete	%dl
	cmpl	$2, %ecx
	movl	$-1, %ecx
	cmovel	%ecx, %edx
	movq	_actors@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	_script_actor@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rsi,%rdi,8)
	movl	(%rax), %eax
	xorl	%edx, %edx
	cmpl	$1, %eax
	sete	%dl
	cmpl	$8, %eax
	cmovel	%ecx, %edx
	movl	%edx, 4(%rsi,%rdi,8)
	callq	_SceneRenderActor
	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	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_script_continue@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	_script_actor,8,3               ## @script_actor
	.comm	_script_cmd_args_len,8,3        ## @script_cmd_args_len
	.comm	_script_ptr,4,2                 ## @script_ptr
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_script_continue,4,2            ## @script_continue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Script_ActorSetDir_b           ; -- Begin function Script_ActorSetDir_b
	.p2align	2
_Script_ActorSetDir_b:                  ; @Script_ActorSetDir_b
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _script_cmd_args@GOTPAGE
Lloh1:
	ldr	x8, [x8, _script_cmd_args@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x8]
	cmp	w9, #4
	cset	w10, eq
	cmp	w9, #2
	csinv	w9, w10, wzr, ne
Lloh3:
	adrp	x10, _actors@GOTPAGE
Lloh4:
	ldr	x10, [x10, _actors@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _script_actor@GOTPAGE
Lloh7:
	ldr	x11, [x11, _script_actor@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x11]
	add	x10, x10, x0, lsl #3
	str	w9, [x10]
	ldr	w8, [x8]
	cmp	w8, #1
	cset	w9, eq
	cmp	w8, #8
	csinv	w8, w9, wzr, ne
	str	w8, [x10, #4]
	bl	_SceneRenderActor
Lloh9:
	adrp	x8, _script_cmd_args_len@GOTPAGE
Lloh10:
	ldr	x8, [x8, _script_cmd_args_len@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _script_ptr@GOTPAGE
Lloh13:
	ldr	x9, [x9, _script_ptr@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w8, w8, w10
	add	w8, w8, #1
	str	w8, [x9]
Lloh14:
	adrp	x8, _TRUE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _script_continue@GOTPAGE
Lloh18:
	ldr	x9, [x9, _script_continue@GOTPAGEOFF]
Lloh19:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_script_cmd_args,8,3            ; @script_cmd_args
	.comm	_actors,8,3                     ; @actors
	.comm	_script_actor,8,3               ; @script_actor
	.comm	_script_cmd_args_len,8,3        ; @script_cmd_args_len
	.comm	_script_ptr,4,2                 ; @script_ptr
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_script_continue,4,2            ; @script_continue
.subsections_via_symbols
