	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rc4init
_rc4init:                               ## @rc4init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	(%rdx), %rdi
	movq	_n@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_rc4initial@GOTPCREL(%rip), %rsi
	callq	_memcpy
	movl	(%r12), %ebx
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.1:
	movq	(%r14), %r8
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r8,%rcx,4), %edi
	addl	%edi, %esi
	movl	%ecx, %eax
	cltd
	idivl	%r15d
                                        ## kill: def $edx killed $edx def $rdx
	addl	(%r13,%rdx,4), %esi
	movl	%esi, %eax
	cltd
	idivl	%ebx
	movl	%edx, %esi
	movslq	%edx, %rax
	movl	(%r8,%rax,4), %edx
	movl	%edx, (%r8,%rcx,4)
	movl	%edi, (%r8,%rax,4)
	incq	%rcx
	movslq	(%r12), %rbx
	cmpq	%rbx, %rcx
	jl	LBB0_2
LBB0_3:
	movq	$0, 8(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rc4initial,4,2                 ## @rc4initial
	.comm	_n,4,2                          ## @n
	.no_dead_strip	_rc4init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rc4init
_rc4init:                               ; @rc4init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x0, [x2]
Lloh0:
	adrp	x22, _n@GOTPAGE
Lloh1:
	ldr	x22, [x22, _n@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh2:
	adrp	x1, _rc4initial@GOTPAGE
Lloh3:
	ldr	x1, [x1, _rc4initial@GOTPAGEOFF]
	bl	_memcpy
	ldr	w11, [x22]
	cmp	w11, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
	mov	w10, #0
	ldr	x9, [x19]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x12, x8, #2
	ldr	w13, [x9, x12]
	sdiv	w14, w8, w20
	msub	w14, w14, w20, w8
	ldr	w14, [x21, w14, uxtw #2]
	add	w10, w13, w10
	add	w10, w10, w14
	sdiv	w14, w10, w11
	msub	w10, w14, w11, w10
	sbfiz	x11, x10, #2, #32
	ldr	w14, [x9, x11]
	str	w14, [x9, x12]
	str	w13, [x9, x11]
	add	x8, x8, #1
	ldrsw	x11, [x22]
	cmp	x8, x11
	b.lt	LBB0_2
LBB0_3:
	str	xzr, [x19, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_rc4initial,4,2                 ; @rc4initial
	.comm	_n,4,2                          ; @n
	.no_dead_strip	_rc4init
.subsections_via_symbols
