	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Script_SetFlagRandomValue_b    ## -- Begin function Script_SetFlagRandomValue_b
	.p2align	4, 0x90
_Script_SetFlagRandomValue_b:           ## @Script_SetFlagRandomValue_b
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_script_cmd_args@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movslq	(%rax), %rcx
	shlq	$8, %rcx
	movslq	4(%rax), %rbx
	addq	%rcx, %rbx
	xorl	%eax, %eax
	callq	_rand
	movq	(%r14), %rcx
	movl	12(%rcx), %esi
	incl	%esi
	cltd
	idivl	%esi
	addl	8(%rcx), %edx
	movq	_script_variables@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edx, (%rax,%rbx,4)
	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	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_script_cmd_args,8,3            ## @script_cmd_args
	.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_SetFlagRandomValue_b    ; -- Begin function Script_SetFlagRandomValue_b
	.p2align	2
_Script_SetFlagRandomValue_b:           ; @Script_SetFlagRandomValue_b
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _script_cmd_args@GOTPAGE
Lloh1:
	ldr	x19, [x19, _script_cmd_args@GOTPAGEOFF]
	ldr	x8, [x19]
	ldp	w9, w8, [x8]
	add	w20, w8, w9, lsl #8
	bl	_rand
	ldr	x8, [x19]
	ldp	w9, w8, [x8, #8]
	add	w8, w8, #1
	sdiv	w10, w0, w8
	msub	w8, w10, w8, w0
	add	w8, w8, w9
Lloh2:
	adrp	x9, _script_variables@GOTPAGE
Lloh3:
	ldr	x9, [x9, _script_variables@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	str	w8, [x9, w20, sxtw #2]
Lloh5:
	adrp	x8, _script_cmd_args_len@GOTPAGE
Lloh6:
	ldr	x8, [x8, _script_cmd_args_len@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _script_ptr@GOTPAGE
Lloh9:
	ldr	x9, [x9, _script_ptr@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w8, w8, w10
	add	w8, w8, #1
	str	w8, [x9]
Lloh10:
	adrp	x8, _TRUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _script_continue@GOTPAGE
Lloh14:
	ldr	x9, [x9, _script_continue@GOTPAGEOFF]
Lloh15:
	str	w8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_script_cmd_args,8,3            ; @script_cmd_args
	.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
