	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arc4_stir
_arc4_stir:                             ## @arc4_stir
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_rs_initialized@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_arc4_init
	movl	$1, (%rbx)
LBB0_2:
	xorl	%eax, %eax
	callq	_arc4_seed
	movq	_arc4_seeded_ok@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.4:
	movl	$3072, %ebx                     ## imm = 0xC00
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_arc4_getbyte
	decl	%ebx
	jne	LBB0_5
## %bb.6:
	movq	_BYTES_BEFORE_RESEED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_arc4_count@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_3:
	movl	$-1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rs_initialized,4,2             ## @rs_initialized
	.comm	_arc4_seeded_ok,4,2             ## @arc4_seeded_ok
	.comm	_BYTES_BEFORE_RESEED,4,2        ## @BYTES_BEFORE_RESEED
	.comm	_arc4_count,4,2                 ## @arc4_count
	.no_dead_strip	_arc4_stir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arc4_stir
_arc4_stir:                             ; @arc4_stir
	.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, _rs_initialized@GOTPAGE
Lloh1:
	ldr	x19, [x19, _rs_initialized@GOTPAGEOFF]
	ldr	w8, [x19]
	cbnz	w8, LBB0_2
; %bb.1:
	bl	_arc4_init
	mov	w8, #1
	str	w8, [x19]
LBB0_2:
	bl	_arc4_seed
Lloh2:
	adrp	x8, _arc4_seeded_ok@GOTPAGE
Lloh3:
	ldr	x8, [x8, _arc4_seeded_ok@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.3:
	mov	w19, #3072
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_arc4_getbyte
	subs	w19, w19, #1
	b.ne	LBB0_4
; %bb.5:
	mov	w0, #0
Lloh5:
	adrp	x8, _BYTES_BEFORE_RESEED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BYTES_BEFORE_RESEED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _arc4_count@GOTPAGE
Lloh9:
	ldr	x9, [x9, _arc4_count@GOTPAGEOFF]
Lloh10:
	str	w8, [x9]
	b	LBB0_7
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_rs_initialized,4,2             ; @rs_initialized
	.comm	_arc4_seeded_ok,4,2             ; @arc4_seeded_ok
	.comm	_BYTES_BEFORE_RESEED,4,2        ; @BYTES_BEFORE_RESEED
	.comm	_arc4_count,4,2                 ; @arc4_count
	.no_dead_strip	_arc4_stir
.subsections_via_symbols
