	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Item_RunScript                 ## -- Begin function Item_RunScript
	.p2align	4, 0x90
_Item_RunScript:                        ## @Item_RunScript
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$1064, %rsp                     ## imm = 0x428
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-1072(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_memset
	movq	%rbx, -1096(%rbp)               ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.1:
	testq	%r14, %r14
	je	LBB0_17
## %bb.2:
	cmpb	$0, (%r14)
	je	LBB0_17
## %bb.3:
	movq	%r15, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%r14, %rdx
	callq	_Q_strcat
	movq	%r15, -1088(%rbp)
	leaq	-1088(%rbp), %rdi
	leaq	-1080(%rbp), %rsi
	callq	_String_Parse
	testl	%eax, %eax
	je	LBB0_17
## %bb.4:
	leaq	-1088(%rbp), %rbx
	leaq	-1080(%rbp), %r15
	movq	_scriptCommandCount@GOTPCREL(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_String_Parse
	testl	%eax, %eax
	je	LBB0_17
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	-1080(%rbp), %rdi
	cmpb	$59, (%rdi)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$0, 1(%rdi)
	je	LBB0_16
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	cmpl	$0, (%r12)
	jle	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_commandList@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %esi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$24, %r13d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%r15
	movslq	(%r12), %rax
	cmpq	%rax, %r15
	jge	LBB0_13
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	-1080(%rbp), %rdi
	movq	_commandList@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13), %esi
	callq	_Q_stricmp
	addq	$16, %r13
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r15d, %r15d
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, %ecx
	movq	_commandList@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$4, %rcx
	movq	-1096(%rbp), %rdi               ## 8-byte Reload
	movq	%rbx, %rsi
	callq	*(%rax,%rcx)
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	-1080(%rbp), %r15
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_DC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	jmp	LBB0_16
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.18:
	addq	$1064, %rsp                     ## imm = 0x428
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_scriptCommandCount,4,2         ## @scriptCommandCount
	.comm	_commandList,8,3                ## @commandList
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_DC,8,3                         ## @DC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Item_RunScript                 ; -- Begin function Item_RunScript
	.p2align	2
_Item_RunScript:                        ; @Item_RunScript
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #1056
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #1024
	bl	_memset
	cbz	x19, LBB0_16
; %bb.1:
	cbz	x20, LBB0_16
; %bb.2:
	ldrb	w8, [x20]
	cbz	w8, LBB0_16
; %bb.3:
	add	x21, sp, #24
	add	x0, sp, #24
	mov	w1, #1024
	mov	x2, x20
	bl	_Q_strcat
	str	x21, [sp, #16]
	add	x0, sp, #16
	add	x1, sp, #8
	bl	_String_Parse
	cbz	w0, LBB0_16
; %bb.4:
Lloh3:
	adrp	x20, _qfalse@GOTPAGE
Lloh4:
	ldr	x20, [x20, _qfalse@GOTPAGEOFF]
Lloh5:
	adrp	x21, _scriptCommandCount@GOTPAGE
Lloh6:
	ldr	x21, [x21, _scriptCommandCount@GOTPAGEOFF]
Lloh7:
	adrp	x22, _commandList@GOTPAGE
Lloh8:
	ldr	x22, [x22, _commandList@GOTPAGEOFF]
Lloh9:
	adrp	x23, _qtrue@GOTPAGE
Lloh10:
	ldr	x23, [x23, _qtrue@GOTPAGEOFF]
Lloh11:
	adrp	x24, _DC@GOTPAGE
Lloh12:
	ldr	x24, [x24, _DC@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #16
	add	x1, sp, #8
	bl	_String_Parse
	cbz	w0, LBB0_16
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x0, [sp, #8]
	ldrb	w8, [x0]
	cmp	w8, #59
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x0, #1]
	cbz	w8, LBB0_5
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w25, [x20]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22]
	ldr	w1, [x8, #8]
	bl	_Q_stricmp
	mov	x26, #0
	cbz	x0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w27, #24
LBB0_11:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x26, x26, #1
	ldrsw	x8, [x21]
	cmp	x26, x8
	b.ge	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x0, [sp, #8]
	ldr	x8, [x22]
	ldr	w1, [x8, x27]
	bl	_Q_stricmp
	add	x27, x27, #16
	cbnz	x0, LBB0_11
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	and	x8, x26, #0xffffffff
	ldr	x9, [x22]
	lsl	x8, x8, #4
	ldr	x8, [x9, x8]
	add	x1, sp, #16
	mov	x0, x19
	blr	x8
	ldr	w25, [x23]
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	cbnz	w25, LBB0_5
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24]
	ldr	x8, [x8]
	add	x0, sp, #16
	blr	x8
	b	LBB0_5
LBB0_16:
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	add	sp, sp, #1056
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_scriptCommandCount,4,2         ; @scriptCommandCount
	.comm	_commandList,8,3                ; @commandList
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_DC,8,3                         ; @DC
.subsections_via_symbols
