	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Script_IfActorDirection_b      ## -- Begin function Script_IfActorDirection_b
	.p2align	4, 0x90
_Script_IfActorDirection_b:             ## @Script_IfActorDirection_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	_actors@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_script_actor@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rcx,%rdx,8), %eax
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.2:
	movq	_script_cmd_args@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$4, (%rax)
	jne	LBB0_4
	jmp	LBB0_9
LBB0_3:
	movq	_script_cmd_args@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$2, (%rax)
	je	LBB0_9
LBB0_4:
	movl	4(%rcx,%rdx,8), %eax
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.5:
	cmpl	$1, %eax
	jne	LBB0_7
## %bb.6:
	movq	_script_cmd_args@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$1, (%rax)
	jne	LBB0_7
LBB0_9:
	movq	_script_start_ptr@GOTPCREL(%rip), %rcx
	movslq	4(%rax), %rdx
	shlq	$8, %rdx
	addq	(%rcx), %rdx
	movslq	8(%rax), %rax
	addq	%rdx, %rax
	jmp	LBB0_10
LBB0_8:
	movq	_script_cmd_args@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$8, (%rax)
	je	LBB0_9
LBB0_7:
	movq	_script_cmd_args_len@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_script_ptr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rcx, %rax
	incq	%rax
LBB0_10:
	movq	_script_ptr@GOTPCREL(%rip), %rcx
	movq	%rax, (%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	_actors,8,3                     ## @actors
	.comm	_script_actor,8,3               ## @script_actor
	.comm	_script_cmd_args,8,3            ## @script_cmd_args
	.comm	_script_start_ptr,8,3           ## @script_start_ptr
	.comm	_script_ptr,8,3                 ## @script_ptr
	.comm	_script_cmd_args_len,8,3        ## @script_cmd_args_len
	.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_IfActorDirection_b      ; -- Begin function Script_IfActorDirection_b
	.p2align	2
_Script_IfActorDirection_b:             ; @Script_IfActorDirection_b
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _actors@GOTPAGE
Lloh1:
	ldr	x8, [x8, _actors@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
Lloh3:
	adrp	x8, _script_actor@GOTPAGE
Lloh4:
	ldr	x8, [x8, _script_actor@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x8]
	lsl	x8, x11, #3
	ldr	w9, [x10, x8]
Lloh6:
	adrp	x8, _script_ptr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _script_ptr@GOTPAGEOFF]
	cmn	w9, #1
	b.eq	LBB0_3
; %bb.1:
	cmp	w9, #1
	b.ne	LBB0_4
; %bb.2:
Lloh8:
	adrp	x9, _script_cmd_args@GOTPAGE
Lloh9:
	ldr	x9, [x9, _script_cmd_args@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	w12, [x9]
	cmp	w12, #4
	b.ne	LBB0_4
	b	LBB0_7
LBB0_3:
Lloh11:
	adrp	x9, _script_cmd_args@GOTPAGE
Lloh12:
	ldr	x9, [x9, _script_cmd_args@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	w12, [x9]
	cmp	w12, #2
	b.eq	LBB0_7
LBB0_4:
	add	x9, x10, x11, lsl #3
	ldr	w9, [x9, #4]
	cmn	w9, #1
	b.eq	LBB0_8
; %bb.5:
	cmp	w9, #1
	b.ne	LBB0_9
; %bb.6:
Lloh14:
	adrp	x9, _script_cmd_args@GOTPAGE
Lloh15:
	ldr	x9, [x9, _script_cmd_args@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	w10, [x9]
	cmp	w10, #1
	b.ne	LBB0_9
LBB0_7:
Lloh17:
	adrp	x10, _script_start_ptr@GOTPAGE
Lloh18:
	ldr	x10, [x10, _script_start_ptr@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	ldpsw	x11, x9, [x9, #4]
	add	x10, x10, x11, lsl #8
	add	x9, x10, x9
	b	LBB0_10
LBB0_8:
Lloh20:
	adrp	x9, _script_cmd_args@GOTPAGE
Lloh21:
	ldr	x9, [x9, _script_cmd_args@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	ldr	w10, [x9]
	cmp	w10, #8
	b.eq	LBB0_7
LBB0_9:
Lloh23:
	adrp	x9, _script_cmd_args_len@GOTPAGE
Lloh24:
	ldr	x9, [x9, _script_cmd_args_len@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	ldr	x10, [x8]
	add	x9, x9, x10
	add	x9, x9, #1
LBB0_10:
	str	x9, [x8]
Lloh26:
	adrp	x8, _TRUE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _script_continue@GOTPAGE
Lloh30:
	ldr	x9, [x9, _script_continue@GOTPAGEOFF]
Lloh31:
	str	w8, [x9]
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_actors,8,3                     ; @actors
	.comm	_script_actor,8,3               ; @script_actor
	.comm	_script_cmd_args,8,3            ; @script_cmd_args
	.comm	_script_start_ptr,8,3           ; @script_start_ptr
	.comm	_script_ptr,8,3                 ; @script_ptr
	.comm	_script_cmd_args_len,8,3        ; @script_cmd_args_len
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_script_continue,4,2            ; @script_continue
.subsections_via_symbols
