	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function guesskeybytes
_guesskeybytes:                         ## @guesskeybytes
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_n@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_IVBYTES@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	movq	_rc4initial@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_memcpy
	movq	_IVBYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	cmpl	$1, %ecx
	jne	LBB0_13
## %bb.3:
	xorl	%edx, %edx
	xorl	%eax, %eax
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_13:
	movl	%ecx, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	xorl	%eax, %eax
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rdx,8), %rdi
	addq	%rdi, %rax
	addq	(%r13,%rdx,8), %rax
	movq	(%r14,%rax,8), %rbx
	movq	%rbx, (%r14,%rdx,8)
	movq	%rdi, (%r14,%rax,8)
	movq	8(%r14,%rdx,8), %rdi
	addq	%rdi, %rax
	addq	8(%r13,%rdx,8), %rax
	movq	(%r14,%rax,8), %rbx
	movq	%rbx, 8(%r14,%rdx,8)
	movq	%rdi, (%r14,%rax,8)
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_14
LBB0_4:
	testb	$1, %cl
	je	LBB0_6
## %bb.5:
	movq	(%r14,%rdx,8), %rcx
	addq	%rcx, %rax
	addq	(%r13,%rdx,8), %rax
	movq	(%r14,%rax,8), %rsi
	movq	%rsi, (%r14,%rdx,8)
	movq	%rcx, (%r14,%rax,8)
LBB0_6:
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.7:
	movl	%ecx, %r8d
	notq	%rax
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%r12, %rcx
	subq	-8(%r15,%r12,8), %rcx
	movq	%rax, %rdi
	subq	%r9, %rdi
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%rdi
	leaq	8(%rbx), %rsi
	cmpq	(%rbx), %rcx
	movq	%rsi, %rbx
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r14,%r12,8), %rcx
	addq	%rcx, %r9
	subq	%rcx, %rdi
	movq	%rdi, (%r10,%rdx,8)
	incq	%r12
	incq	%rdx
	cmpq	%r8, %rdx
	jne	LBB0_8
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_n,4,2                          ## @n
	.comm	_IVBYTES,4,2                    ## @IVBYTES
	.comm	_rc4initial,4,2                 ## @rc4initial
	.no_dead_strip	_guesskeybytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function guesskeybytes
_guesskeybytes:                         ; @guesskeybytes
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _n@GOTPAGE
Lloh4:
	ldr	x8, [x8, _n@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	lsl	x8, x2, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x25, _IVBYTES@GOTPAGE
Lloh9:
	ldr	x25, [x25, _IVBYTES@GOTPAGEOFF]
	ldrsw	x24, [x25]
Lloh10:
	adrp	x8, _rc4initial@GOTPAGE
Lloh11:
	ldr	x8, [x8, _rc4initial@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x10, #0
	mov	x9, x21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x23], #8
	ldr	x12, [x9]
	add	x10, x12, x10
	add	x10, x10, x11
	lsl	x11, x10, #3
	ldr	x13, [x21, x11]
	str	x13, [x9], #8
	str	x12, [x21, x11]
	subs	x8, x8, #1
	b.ne	LBB0_2
; %bb.3:
	cmp	w22, #1
	b.ge	LBB0_5
	b	LBB0_9
LBB0_4:
	mov	x10, #0
	cmp	w22, #1
	b.lt	LBB0_9
LBB0_5:
	mov	x8, #0
	mov	x9, #0
	mvn	x10, x10
	mov	w11, w22
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	add	x12, x20, x24, lsl #3
	ldur	x12, [x12, #-8]
	sub	x13, x24, x12
	sub	x12, x10, x9
	mov	x14, x21
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x15, [x14], #8
	add	x12, x12, #1
	cmp	x13, x15
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x13, [x21, x24, lsl #3]
	add	x9, x13, x9
	sub	x12, x12, x13
	str	x12, [x19, x8, lsl #3]
	add	x24, x24, #1
	add	x8, x8, #1
	cmp	x8, x11
	b.ne	LBB0_6
LBB0_9:
	ldur	x8, [x29, #-72]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_n,4,2                          ; @n
	.comm	_IVBYTES,4,2                    ; @IVBYTES
	.comm	_rc4initial,4,2                 ; @rc4initial
	.no_dead_strip	_guesskeybytes
.subsections_via_symbols
