	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Script_SetInputScript_b        ## -- Begin function Script_SetInputScript_b
	.p2align	4, 0x90
_Script_SetInputScript_b:               ## @Script_SetInputScript_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), %edx
	xorl	%ecx, %ecx
	testl	%edx, %edx
	je	LBB0_5
## %bb.1:
	movl	%edx, %esi
	andl	$1, %esi
	jne	LBB0_5
## %bb.2:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rcx
	cmpl	$2, %edx
	jb	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, %esi
	sarl	%esi
	andl	$2, %edx
	movl	%esi, %edx
	je	LBB0_3
LBB0_5:
	movl	4(%rax), %edx
	movq	_input_script_ptrs@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%edx, (%rsi,%rcx,8)
	movl	8(%rax), %edx
	shll	$8, %edx
	addl	12(%rax), %edx
	movl	%edx, 4(%rsi,%rcx,8)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_script_action_complete@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	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)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_script_cmd_args,8,3            ## @script_cmd_args
	.comm	_input_script_ptrs,8,3          ## @input_script_ptrs
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_script_action_complete,4,2     ## @script_action_complete
	.comm	_script_cmd_args_len,8,3        ## @script_cmd_args_len
	.comm	_script_ptr,4,2                 ## @script_ptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Script_SetInputScript_b        ; -- Begin function Script_SetInputScript_b
	.p2align	2
_Script_SetInputScript_b:               ; @Script_SetInputScript_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	w10, [x8]
	and	w9, w10, #0x1
	cmp	w10, #0
	ccmp	w9, #0, #0, ne
	b.eq	LBB0_2
; %bb.1:
	mov	x9, #0
	b	LBB0_5
LBB0_2:
	mov	x9, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x9, #1
	cmp	w10, #2
	b.lo	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x11, x10
	asr	w10, w10, #1
	tbz	w11, #1, LBB0_3
LBB0_5:
	ldr	w10, [x8, #4]
Lloh3:
	adrp	x11, _input_script_ptrs@GOTPAGE
Lloh4:
	ldr	x11, [x11, _input_script_ptrs@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	add	x9, x11, x9, lsl #3
	str	w10, [x9]
	ldp	w10, w8, [x8, #8]
	add	w8, w8, w10, lsl #8
	str	w8, [x9, #4]
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _script_action_complete@GOTPAGE
Lloh10:
	ldr	x9, [x9, _script_action_complete@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
Lloh12:
	adrp	x8, _script_cmd_args_len@GOTPAGE
Lloh13:
	ldr	x8, [x8, _script_cmd_args_len@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _script_ptr@GOTPAGE
Lloh16:
	ldr	x9, [x9, _script_ptr@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w8, w8, w10
	add	w8, w8, #1
	str	w8, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_script_cmd_args,8,3            ; @script_cmd_args
	.comm	_input_script_ptrs,8,3          ; @input_script_ptrs
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_script_action_complete,4,2     ; @script_action_complete
	.comm	_script_cmd_args_len,8,3        ; @script_cmd_args_len
	.comm	_script_ptr,4,2                 ; @script_ptr
.subsections_via_symbols
