	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IDEA_encrypt                   ## -- Begin function IDEA_encrypt
	.p2align	4, 0x90
_IDEA_encrypt:                          ## @IDEA_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r12d
	movl	%r12d, %ebx
	shrl	$16, %ebx
	movq	8(%rdi), %r14
	movq	(%rsi), %rax
	movq	(%rax), %r13
	xorl	%edi, %edi
	callq	_E_IDEA
	movl	$1, %edi
	callq	_E_IDEA
	movl	$2, %edi
	callq	_E_IDEA
	movl	$3, %edi
	callq	_E_IDEA
	movl	$4, %edi
	callq	_E_IDEA
	movl	$5, %edi
	callq	_E_IDEA
	movl	$6, %edi
	callq	_E_IDEA
	movl	$7, %edi
	callq	_E_IDEA
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_idea_mul
	movl	%r14d, %r15d
	shrl	$16, %r15d
	addl	4(%r13), %r15d
	addl	8(%r13), %r12d
	movzwl	%r14w, %r14d
	movl	12(%r13), %edx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_idea_mul
	movzwl	%r15w, %eax
	shlq	$16, %rbx
	orq	%rax, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	shll	$16, %r12d
	orq	%r14, %r12
	movq	%r12, 8(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_IDEA_encrypt                   ; -- Begin function IDEA_encrypt
	.p2align	2
_IDEA_encrypt:                          ; @IDEA_encrypt
	.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	x19, x0
	ldp	x22, x21, [x0]
	ldr	x8, [x1]
	ldr	x23, [x8]
	mov	w0, #0
	bl	_E_IDEA
	mov	w0, #1
	bl	_E_IDEA
	mov	w0, #2
	bl	_E_IDEA
	mov	w0, #3
	bl	_E_IDEA
	mov	w0, #4
	bl	_E_IDEA
	mov	w0, #5
	bl	_E_IDEA
	mov	w0, #6
	bl	_E_IDEA
	mov	w0, #7
	bl	_E_IDEA
	ubfx	x20, x22, #16, #16
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x20
	bl	_idea_mul
	ldp	w8, w9, [x23, #4]
	add	w24, w8, w21, lsr #16
	add	w22, w22, w9
	and	x0, x21, #0xffff
	ldr	w2, [x23, #12]
	mov	x1, x0
	bl	_idea_mul
	and	x8, x24, #0xffff
	bfi	x8, x20, #16, #16
	lsl	w9, w22, #16
	bfxil	x9, x21, #0, #16
	stp	x8, x9, [x19]
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
