	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rc2_dcrypt8
_rc2_dcrypt8:                           ## @rc2_dcrypt8
	.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
	movl	28(%rsi), %r8d
	shll	$8, %r8d
	orl	24(%rsi), %r8d
	movl	20(%rsi), %r9d
	shll	$8, %r9d
	orl	16(%rsi), %r9d
	movl	12(%rsi), %ebx
	shll	$8, %ebx
	orl	8(%rsi), %ebx
	movl	4(%rsi), %eax
	shll	$8, %eax
	orl	(%rsi), %eax
	movq	(%rdi), %r10
	movl	$512, %r14d                     ## imm = 0x200
	movl	$15, %r11d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r9d, %ecx
	andl	$63, %ecx
	subl	(%r10,%rcx,8), %r8d
	movl	%ebx, %ecx
	andl	$63, %ecx
	subl	(%r10,%rcx,8), %r9d
	movl	%eax, %ecx
	andl	$63, %ecx
	subl	(%r10,%rcx,8), %ebx
	movl	%r8d, %ecx
	andl	$63, %ecx
	subl	(%r10,%rcx,8), %eax
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	decl	%r11d
	addq	$-32, %r14
	je	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzwl	%r8w, %esi
	movl	%esi, %edi
	shll	$11, %edi
	shrl	$5, %esi
	movl	%ebx, %ecx
	xorl	%eax, %ecx
	andl	%r9d, %ecx
	xorl	%eax, %ecx
	addl	-8(%r10,%r14), %ecx
	orl	%edi, %esi
	subl	%ecx, %esi
	movzwl	%si, %r8d
	movl	%r9d, %ecx
	shll	$13, %ecx
	sarl	$3, %r9d
	orl	%ecx, %r9d
	movl	%ebx, %ecx
	notl	%ecx
	andl	%r8d, %ecx
	movl	%eax, %esi
	andl	%ebx, %esi
	addl	-16(%r10,%r14), %esi
	addl	%ecx, %esi
	subl	%esi, %r9d
	movzwl	%bx, %ebx
	movl	%ebx, %ecx
	shll	$14, %ecx
	shrl	$2, %ebx
	orl	%ecx, %ebx
	movl	%eax, %ecx
	notl	%ecx
	andl	%r9d, %ecx
	movl	%r8d, %esi
	andl	%eax, %esi
	addl	-24(%r10,%r14), %esi
	addl	%ecx, %esi
	subl	%esi, %ebx
	movzwl	%ax, %eax
	movl	%eax, %ecx
	shll	$15, %ecx
	shrl	%eax
	orl	%ecx, %eax
	movl	%r8d, %ecx
	notl	%ecx
	movl	%r9d, %esi
	andl	%r8d, %esi
	addl	-32(%r10,%r14), %esi
	andl	%ebx, %ecx
	addl	%ecx, %esi
	subl	%esi, %eax
	cmpl	$11, %r11d
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$5, %r11d
	je	LBB0_3
	jmp	LBB0_4
LBB0_5:
	movl	%eax, (%rdx)
	sarl	$8, %eax
	movl	%eax, 4(%rdx)
	movl	%ebx, 8(%rdx)
	sarl	$8, %ebx
	movl	%ebx, 12(%rdx)
	movl	%r9d, 16(%rdx)
	sarl	$8, %r9d
	movl	%r9d, 20(%rdx)
	movl	%r8d, 24(%rdx)
	sarl	$8, %r8d
	movl	%r8d, 28(%rdx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rc2_dcrypt8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rc2_dcrypt8
_rc2_dcrypt8:                           ; @rc2_dcrypt8
	.cfi_startproc
; %bb.0:
	ldp	w9, w8, [x1, #24]
	orr	w8, w9, w8, lsl #8
	ldp	w10, w9, [x1, #16]
	orr	w9, w10, w9, lsl #8
	ldp	w11, w10, [x1, #8]
	orr	w10, w11, w10, lsl #8
	ldp	w12, w11, [x1]
	orr	w14, w12, w11, lsl #8
	ldr	x11, [x0]
	add	x12, x11, #504
	mov	w13, #16
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	and	w15, w9, #0x3f
	ldr	x15, [x11, w15, uxtw #3]
	sub	w8, w8, w15
	and	w15, w10, #0x3f
	ldr	x15, [x11, w15, uxtw #3]
	and	w16, w14, #0x3f
	ldr	x16, [x11, w16, uxtw #3]
	sub	w9, w9, w15
	sub	w10, w10, w16
	and	w15, w8, #0x3f
	ldr	x15, [x11, w15, uxtw #3]
	sub	w14, w14, w15
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x12, x12, #32
	sub	x13, x13, #1
	cbz	x13, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	and	w15, w8, #0xffff
	ubfx	w8, w8, #5, #11
	bic	w16, w14, w9
	and	w17, w10, w9
	ldr	w0, [x12]
	bfi	w8, w15, #11, #16
	orr	w15, w17, w16
	add	w15, w15, w0
	sub	w8, w8, w15
	and	w8, w8, #0xffff
	lsl	w15, w9, #13
	orr	w9, w15, w9, asr #3
	bic	w15, w8, w10
	and	w16, w14, w10
	ldur	w17, [x12, #-8]
	add	w16, w16, w17
	add	w15, w16, w15
	and	w16, w10, #0xffff
	ubfx	w10, w10, #2, #14
	sub	w9, w9, w15
	bic	w15, w9, w14
	and	w17, w8, w14
	ldur	w0, [x12, #-16]
	bfi	w10, w16, #14, #16
	add	w16, w17, w0
	add	w15, w16, w15
	and	w16, w14, #0xffff
	ubfx	w14, w14, #1, #15
	sub	w10, w10, w15
	bic	w15, w10, w8
	and	w17, w9, w8
	ldur	w0, [x12, #-24]
	bfi	w14, w16, #15, #16
	add	w16, w17, w0
	add	w15, w16, w15
	sub	w14, w14, w15
	sub	w15, w13, #1
	cmp	w15, #11
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w15, #5
	b.eq	LBB0_1
	b	LBB0_2
LBB0_5:
	asr	w11, w14, #8
	stp	w14, w11, [x2]
	asr	w11, w10, #8
	stp	w10, w11, [x2, #8]
	asr	w10, w9, #8
	stp	w9, w10, [x2, #16]
	asr	w9, w8, #8
	stp	w8, w9, [x2, #24]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rc2_dcrypt8
.subsections_via_symbols
