	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RC2_encrypt                    ## -- Begin function RC2_encrypt
	.p2align	4, 0x90
_RC2_encrypt:                           ## @RC2_encrypt
	.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
	movq	(%rdi), %rcx
	movq	8(%rdi), %rax
	movzwl	%cx, %r8d
	shrq	$16, %rcx
	movzwl	%ax, %edx
	shrq	$16, %rax
	movq	(%rsi), %r9
	movl	$5, %r11d
	movl	$3, %r10d
	movq	%r9, %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ebx
	notl	%ebx
	andl	%ecx, %ebx
	addl	%r8d, %ebx
	movl	%eax, %esi
	andl	%edx, %esi
	addl	%ebx, %esi
	addl	(%r14), %esi
	movzwl	%si, %ebx
	movl	%ebx, %esi
	shrl	$15, %esi
	leal	(%rsi,%rbx,2), %r8d
	movl	%r8d, %esi
	notl	%esi
	andl	%edx, %esi
	movl	%r8d, %ebx
	andl	%eax, %ebx
	addl	4(%r14), %ecx
	addl	%esi, %ecx
	addl	%ebx, %ecx
	movzwl	%cx, %ecx
	movl	%ecx, %esi
	shrl	$14, %esi
	leal	(%rsi,%rcx,4), %ecx
	movl	%ecx, %esi
	notl	%esi
	andl	%eax, %esi
	movl	%ecx, %ebx
	andl	%r8d, %ebx
	addl	8(%r14), %edx
	addl	%esi, %edx
	addl	%ebx, %edx
	movzwl	%dx, %edx
	movl	%edx, %esi
	shrl	$13, %esi
	leal	(%rsi,%rdx,8), %edx
	movl	%edx, %esi
	notl	%esi
	andl	%r8d, %esi
	movl	%edx, %ebx
	andl	%ecx, %ebx
	addl	12(%r14), %eax
	addq	$16, %r14
	addl	%esi, %eax
	addl	%ebx, %eax
	movzwl	%ax, %eax
	movl	%eax, %esi
	shll	$5, %esi
	shrl	$11, %eax
	orl	%esi, %eax
	decl	%r11d
	jne	LBB0_1
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	decl	%r10d
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r11d, %r11d
	cmpl	$2, %r10d
	sete	%r11b
	movl	%eax, %esi
	andl	$63, %esi
	addl	(%r9,%rsi,4), %r8d
	movl	%r8d, %esi
	andl	$63, %esi
	addl	(%r9,%rsi,4), %ecx
	movl	%ecx, %esi
	andl	$63, %esi
	addl	(%r9,%rsi,4), %edx
	addl	$5, %r11d
	movl	%edx, %esi
	andl	$63, %esi
	addl	(%r9,%rsi,4), %eax
	jmp	LBB0_1
LBB0_4:
	movzwl	%r8w, %esi
	shll	$16, %ecx
	orl	%esi, %ecx
	movq	%rcx, (%rdi)
	movzwl	%dx, %ecx
	shll	$16, %eax
	orl	%ecx, %eax
	movq	%rax, 8(%rdi)
	popq	%rbx
	popq	%r14
	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_encrypt                    ; -- Begin function RC2_encrypt
	.p2align	2
_RC2_encrypt:                           ; @RC2_encrypt
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0]
	and	w11, w8, #0xffff
	lsr	x10, x8, #16
	and	w8, w9, #0xffff
	lsr	x9, x9, #16
	ldr	x12, [x1]
	mov	w13, #5
	mov	w14, #3
	mov	x16, x12
	mov	w15, #5
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bic	w17, w10, w9
	and	w1, w9, w8
	add	w11, w17, w11
	add	w11, w11, w1
	ldp	w17, w1, [x16]
	add	w11, w11, w17
	and	w17, w11, #0xffff
	ubfx	w11, w11, #15, #1
	bfi	w11, w17, #1, #16
	bic	w17, w8, w11
	and	w2, w11, w9
	add	w10, w1, w10
	add	w10, w10, w17
	add	w10, w10, w2
	and	w17, w10, #0xffff
	ubfx	w10, w10, #14, #2
	bfi	w10, w17, #2, #16
	bic	w17, w9, w10
	and	w1, w10, w11
	ldp	w2, w3, [x16, #8]
	add	w8, w2, w8
	add	w8, w8, w17
	add	w8, w8, w1
	and	w17, w8, #0xffff
	ubfx	w8, w8, #13, #3
	bfi	w8, w17, #3, #16
	bic	w1, w11, w8
	and	w2, w8, w10
	add	x17, x16, #16
	add	w9, w3, w9
	add	w9, w9, w1
	add	w9, w9, w2
	and	w16, w9, #0xffff
	ubfx	w9, w9, #11, #5
	bfi	w9, w16, #5, #16
	mov	x16, x17
	subs	w15, w15, #1
	b.ne	LBB0_1
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	subs	w14, w14, #1
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w14, #2
	cinc	w15, w13, eq
	and	w16, w9, #0x3f
	ldr	w16, [x12, w16, uxtw #2]
	add	w11, w16, w11
	and	w16, w11, #0x3f
	ldr	w16, [x12, w16, uxtw #2]
	add	w10, w16, w10
	and	w16, w10, #0x3f
	ldr	w16, [x12, w16, uxtw #2]
	add	w8, w16, w8
	and	w16, w8, #0x3f
	ldr	w16, [x12, w16, uxtw #2]
	add	w9, w16, w9
	mov	x16, x17
	b	LBB0_1
LBB0_4:
	bfi	w11, w10, #16, #16
	bfi	w8, w9, #16, #16
	stp	x11, x8, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
