	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function rc4_init
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_1:
	.quad	2                               ## 0x2
	.quad	2                               ## 0x2
LCPI0_2:
	.quad	4                               ## 0x4
	.quad	4                               ## 0x4
LCPI0_3:
	.quad	6                               ## 0x6
	.quad	6                               ## 0x6
LCPI0_4:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
LCPI0_5:
	.quad	10                              ## 0xa
	.quad	10                              ## 0xa
LCPI0_6:
	.quad	12                              ## 0xc
	.quad	12                              ## 0xc
LCPI0_7:
	.quad	14                              ## 0xe
	.quad	14                              ## 0xe
LCPI0_8:
	.quad	16                              ## 0x10
	.quad	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_rc4_init:                              ## @rc4_init
	.cfi_startproc
## %bb.0:
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.2:
	testl	%edx, %edx
	jle	LBB0_8
## %bb.3:
	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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, (%rdi)
	movq	8(%rdi), %rdi
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	movl	$14, %eax
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [2,2]
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [4,4]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [6,6]
	movdqa	LCPI0_4(%rip), %xmm4            ## xmm4 = [8,8]
	movdqa	LCPI0_5(%rip), %xmm5            ## xmm5 = [10,10]
	movdqa	LCPI0_6(%rip), %xmm6            ## xmm6 = [12,12]
	movdqa	LCPI0_7(%rip), %xmm7            ## xmm7 = [14,14]
	movdqa	LCPI0_8(%rip), %xmm1            ## xmm1 = [16,16]
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm2
	paddq	%xmm8, %xmm2
	movdqu	%xmm0, -112(%rdi,%rax,8)
	movdqu	%xmm2, -96(%rdi,%rax,8)
	movdqa	%xmm0, %xmm2
	paddq	%xmm9, %xmm2
	movdqa	%xmm0, %xmm3
	paddq	%xmm10, %xmm3
	movdqu	%xmm2, -80(%rdi,%rax,8)
	movdqu	%xmm3, -64(%rdi,%rax,8)
	movdqa	%xmm0, %xmm2
	paddq	%xmm4, %xmm2
	movdqa	%xmm0, %xmm3
	paddq	%xmm5, %xmm3
	movdqu	%xmm2, -48(%rdi,%rax,8)
	movdqu	%xmm3, -32(%rdi,%rax,8)
	movdqa	%xmm0, %xmm2
	paddq	%xmm6, %xmm2
	movdqa	%xmm0, %xmm3
	paddq	%xmm7, %xmm3
	movdqu	%xmm2, -16(%rdi,%rax,8)
	movdqu	%xmm3, (%rdi,%rax,8)
	paddq	%xmm1, %xmm0
	addq	$16, %rax
	cmpq	$270, %rax                      ## imm = 0x10E
	jne	LBB0_4
## %bb.5:
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, 16(%r12)
	movq	(%rdi), %rbx
	addq	(%rsi), %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rdi,%rbx,8), %rsi
	callq	_swap_bytes
	movl	$1, %r13d
	movl	$8, %r14d
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rcx
	movl	%r13d, %eax
	cltd
	idivl	%r15d
                                        ## kill: def $edx killed $edx def $rdx
	addq	(%rcx,%r14), %rbx
	leaq	(%rcx,%r14), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	(%rax,%rdx,8), %rbx
	leaq	(%rcx,%rbx,8), %rsi
	callq	_swap_bytes
	incq	%r13
	addq	$8, %r14
	cmpq	$256, %r13                      ## imm = 0x100
	jne	LBB0_6
## %bb.7:
	movl	$1, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_8:
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rc4_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function rc4_init
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rc4_init:                              ; @rc4_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x0
	mov	w0, #0
	cbz	x21, LBB0_8
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_8
; %bb.2:
	mov	x19, x2
	cmp	w2, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x8, #0
	str	w19, [x21]
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	ldr	x0, [x21, #8]
	mov	w9, #2
	dup.2d	v1, x9
	mov	w9, #4
	dup.2d	v2, x9
	mov	w9, #6
	dup.2d	v3, x9
	mov	w9, #8
	dup.2d	v4, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add.2d	v5, v0, v1
	add.2d	v6, v0, v2
	add.2d	v7, v0, v3
	add	x9, x0, x8
	stp	q0, q5, [x9]
	stp	q6, q7, [x9, #32]
	add.2d	v0, v0, v4
	add	x8, x8, #64
	cmp	x8, #2048
	b.ne	LBB0_4
; %bb.5:
	stp	xzr, xzr, [x21, #16]
	ldr	x8, [x0]
	ldr	x9, [x20]
	add	x22, x8, x9
	add	x1, x0, x22, lsl #3
	bl	_swap_bytes
	mov	w23, #1
	mov	w24, #8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	add	x0, x8, x24
	ldr	x9, [x0]
	sdiv	w10, w23, w19
	msub	w10, w10, w19, w23
	ldr	x10, [x20, w10, uxtw #3]
	add	x9, x9, x22
	add	x22, x9, x10
	add	x1, x8, x22, lsl #3
	bl	_swap_bytes
	add	x23, x23, #1
	add	x24, x24, #8
	cmp	x23, #256
	b.ne	LBB0_6
; %bb.7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rc4_init
.subsections_via_symbols
