	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Script_ResetVariables_b        ## -- Begin function Script_ResetVariables_b
	.p2align	4, 0x90
_Script_ResetVariables_b:               ## @Script_ResetVariables_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	_NUM_VARIABLES@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	testq	%r10, %r10
	je	LBB0_18
## %bb.1:
	movq	_script_variables@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$8, %r10
	jb	LBB0_2
## %bb.3:
	movq	_FALSE@GOTPCREL(%rip), %r8
	leaq	4(%r8), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_6
## %bb.4:
	leaq	(%rcx,%r10,4), %rdx
	cmpq	_FALSE@GOTPCREL(%rip), %rdx
	jbe	LBB0_6
LBB0_2:
	xorl	%edx, %edx
LBB0_12:
	movq	%rdx, %r8
	notq	%r8
	addq	%r10, %r8
	movq	%r10, %rdi
	andq	$3, %rdi
	je	LBB0_15
## %bb.13:
	movq	_FALSE@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %eax
	movl	%eax, (%rcx,%rdx,4)
	incq	%rdx
	decq	%rdi
	jne	LBB0_14
LBB0_15:
	cmpq	$3, %r8
	jb	LBB0_18
## %bb.16:
	movq	_FALSE@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %eax
	movl	%eax, (%rcx,%rdx,4)
	movl	(%rsi), %eax
	movl	%eax, 4(%rcx,%rdx,4)
	movl	(%rsi), %eax
	movl	%eax, 8(%rcx,%rdx,4)
	movl	(%rsi), %eax
	movl	%eax, 12(%rcx,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %r10
	jne	LBB0_17
	jmp	LBB0_18
LBB0_6:
	movq	%r10, %rdx
	andq	$-8, %rdx
	leaq	-8(%rdx), %rsi
	movq	%rsi, %r9
	shrq	$3, %r9
	incq	%r9
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.7:
	movq	%r9, %rdi
	andq	$-2, %rdi
	movd	(%r8), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rcx,%rsi,4)
	movdqu	%xmm0, 16(%rcx,%rsi,4)
	movdqu	%xmm0, 32(%rcx,%rsi,4)
	movdqu	%xmm0, 48(%rcx,%rsi,4)
	addq	$16, %rsi
	addq	$-2, %rdi
	jne	LBB0_8
## %bb.9:
	testb	$1, %r9b
	je	LBB0_11
LBB0_10:
	movd	(%r8), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqu	%xmm0, (%rcx,%rsi,4)
	movdqu	%xmm0, 16(%rcx,%rsi,4)
LBB0_11:
	cmpq	%rdx, %r10
	jne	LBB0_12
LBB0_18:
	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	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_script_continue@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
LBB0_19:
	xorl	%esi, %esi
	testb	$1, %r9b
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_VARIABLES,8,3              ## @NUM_VARIABLES
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_script_variables,8,3           ## @script_variables
	.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_ResetVariables_b        ; -- Begin function Script_ResetVariables_b
	.p2align	2
_Script_ResetVariables_b:               ; @Script_ResetVariables_b
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NUM_VARIABLES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_VARIABLES@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	cbz	x9, LBB0_9
; %bb.1:
Lloh3:
	adrp	x8, _script_variables@GOTPAGE
Lloh4:
	ldr	x8, [x8, _script_variables@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x8]
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	cmp	x9, #16
	b.lo	LBB0_6
; %bb.2:
	add	x11, x10, x9, lsl #2
	add	x12, x8, #4
	cmp	x10, x12
	ccmp	x11, x8, #0, lo
	b.hi	LBB0_6
; %bb.3:
	and	x11, x9, #0xfffffffffffffff0
	ld1r.4s	{ v0 }, [x8]
	add	x12, x10, #32
	mov	x13, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x12, #-32]
	stp	q0, q0, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x9, x11
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x11, #0
LBB0_7:
	sub	x9, x9, x11
	add	x10, x10, x11, lsl #2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	str	w11, [x10], #4
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
Lloh8:
	adrp	x8, _script_cmd_args_len@GOTPAGE
Lloh9:
	ldr	x8, [x8, _script_cmd_args_len@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _script_ptr@GOTPAGE
Lloh12:
	ldr	x9, [x9, _script_ptr@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w8, w8, w10
	add	w8, w8, #1
	str	w8, [x9]
Lloh13:
	adrp	x8, _TRUE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _script_continue@GOTPAGE
Lloh17:
	ldr	x9, [x9, _script_continue@GOTPAGEOFF]
Lloh18:
	str	w8, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_VARIABLES,8,3              ; @NUM_VARIABLES
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_script_variables,8,3           ; @script_variables
	.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
