	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RC2_decrypt                    ## -- Begin function RC2_decrypt
	.p2align	4, 0x90
_RC2_decrypt:                           ## @RC2_decrypt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r11
	movq	8(%rdi), %rcx
	movzwl	%r11w, %edx
	shrq	$16, %r11
	movzwl	%cx, %eax
	shrq	$16, %rcx
	movq	(%rsi), %r8
	leaq	252(%r8), %r12
	movl	$5, %r10d
	movl	$3, %r9d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzwl	%r11w, %r11d
	addq	$-16, %r12
	movl	%ebx, %edx
	movl	%r14d, %eax
	movl	%r15d, %ecx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %ebx
	shll	$11, %ebx
	shrl	$5, %ecx
	movl	%r11d, %esi
	xorl	%edx, %esi
	andl	%eax, %esi
	xorl	%edx, %esi
	addl	(%r12), %esi
	orl	%ebx, %ecx
	subl	%esi, %ecx
	movzwl	%cx, %r15d
	movl	%eax, %esi
	shll	$13, %esi
	shrl	$3, %eax
	orl	%esi, %eax
	movl	%r11d, %esi
	notl	%esi
	andl	%ecx, %esi
	movl	%r11d, %ebx
	andl	%edx, %ebx
	addl	-4(%r12), %ebx
	addl	%esi, %ebx
	subl	%ebx, %eax
	movzwl	%ax, %r14d
	movl	%r11d, %esi
	shll	$14, %esi
	shrl	$2, %r11d
	orl	%esi, %r11d
	movl	%edx, %esi
	notl	%esi
	andl	%eax, %esi
	movl	%ecx, %ebx
	andl	%edx, %ebx
	addl	-8(%r12), %ebx
	addl	%esi, %ebx
	subl	%ebx, %r11d
	movl	%r15d, %esi
	notl	%esi
	andl	%r11d, %esi
	movl	%eax, %ebx
	andl	%ecx, %ebx
	orl	%esi, %ebx
	movl	%edx, %esi
	shll	$15, %esi
	shrl	%edx
	addl	-12(%r12), %ebx
	orl	%esi, %edx
	subl	%ebx, %edx
	movzwl	%dx, %ebx
	decl	%r10d
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	decl	%r9d
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r10d, %r10d
	cmpl	$2, %r9d
	sete	%r10b
	addl	$5, %r10d
	movl	%eax, %esi
	andl	$63, %esi
	subl	(%r8,%rsi,4), %ecx
	movzwl	%cx, %r15d
	movl	%r11d, %esi
	andl	$63, %esi
	subl	(%r8,%rsi,4), %eax
	movzwl	%ax, %r14d
	movl	%edx, %eax
	andl	$63, %eax
	subl	(%r8,%rax,4), %r11d
	andl	$63, %ecx
	subl	(%r8,%rcx,4), %edx
	movzwl	%dx, %ebx
	jmp	LBB0_4
LBB0_5:
	shll	$16, %r11d
	orl	%r11d, %ebx
	movq	%rbx, (%rdi)
	shll	$16, %ecx
	orl	%ecx, %r14d
	movq	%r14, 8(%rdi)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RC2_decrypt                    ; -- Begin function RC2_decrypt
	.p2align	2
_RC2_decrypt:                           ; @RC2_decrypt
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0]
	and	w13, w8, #0xffff
	lsr	x16, x8, #16
	and	w12, w9, #0xffff
	lsr	x14, x9, #16
	ldr	x8, [x1]
	add	x9, x8, #252
	mov	w10, #5
	mov	w11, #3
	mov	w15, #5
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	and	w16, w16, #0xffff
	sub	x9, x9, #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w17, w14, #11
	orr	w14, w17, w14, lsr #5
	bic	w17, w13, w12
	and	w1, w12, w16
	ldp	w3, w2, [x9, #-4]
	orr	w17, w17, w1
	add	w17, w17, w2
	sub	w17, w14, w17
	and	w14, w17, #0xffff
	lsl	w1, w12, #13
	orr	w12, w1, w12, lsr #3
	bic	w1, w17, w16
	and	w2, w16, w13
	add	w2, w2, w3
	add	w1, w2, w1
	sub	w1, w12, w1
	bic	w2, w1, w13
	and	w12, w1, #0xffff
	lsl	w3, w16, #14
	orr	w16, w3, w16, lsr #2
	and	w3, w17, w13
	ldp	w5, w4, [x9, #-12]
	add	w3, w3, w4
	add	w2, w3, w2
	lsl	w3, w13, #15
	orr	w13, w3, w13, lsr #1
	sub	w16, w16, w2
	bic	w2, w16, w14
	and	w3, w1, w17
	orr	w2, w2, w3
	add	w2, w5, w2
	sub	w2, w13, w2
	and	w13, w2, #0xffff
	subs	w15, w15, #1
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	subs	w11, w11, #1
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w11, #2
	cinc	w15, w10, eq
	and	w12, w1, #0x3f
	ldr	w12, [x8, w12, uxtw #2]
	sub	w13, w17, w12
	and	w12, w16, #0x3f
	ldr	w12, [x8, w12, uxtw #2]
	and	w14, w13, #0xffff
	sub	w12, w1, w12
	and	w12, w12, #0xffff
	and	w17, w2, #0x3f
	ldr	w17, [x8, w17, uxtw #2]
	sub	w16, w16, w17
	and	w13, w13, #0x3f
	ldr	w13, [x8, w13, uxtw #2]
	sub	w13, w2, w13
	and	w13, w13, #0xffff
	b	LBB0_1
LBB0_5:
	bfi	w13, w16, #16, #16
	bfi	w12, w17, #16, #16
	stp	x13, x12, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
