	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IDEA_set_encrypt_key           ## -- Begin function IDEA_set_encrypt_key
	.p2align	4, 0x90
_IDEA_set_encrypt_key:                  ## @IDEA_set_encrypt_key
	.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, %r14
	movq	(%rsi), %rax
	movq	(%rax), %rbx
	movl	(%rbx), %esi
	callq	_n2s
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_n2s
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_n2s
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	callq	_n2s
	movl	16(%rbx), %esi
	movq	%r14, %rdi
	callq	_n2s
	movl	20(%rbx), %esi
	movq	%r14, %rdi
	callq	_n2s
	movl	24(%rbx), %esi
	movq	%r14, %rdi
	callq	_n2s
	movl	28(%rbx), %esi
	movq	%r14, %rdi
	callq	_n2s
	movl	$60, %eax
	pxor	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	-56(%rbx,%rax), %ecx
	movdqu	-52(%rbx,%rax), %xmm1
	movdqa	%xmm1, %xmm2
	pinsrd	$3, %ecx, %xmm2
	movl	-40(%rbx,%rax), %edx
	pslld	$9, %xmm2
	pshufd	$147, %xmm2, %xmm2              ## xmm2 = xmm2[3,0,1,2]
	psrld	$7, %xmm1
	por	%xmm2, %xmm1
	pblendw	$170, %xmm0, %xmm1              ## xmm1 = xmm1[0],xmm0[1],xmm1[2],xmm0[3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
	movdqu	%xmm1, -28(%rbx,%rax)
	movl	-36(%rbx,%rax), %esi
	shll	$9, %edx
	movl	%esi, %edi
	shrl	$7, %edi
	orl	%edx, %edi
	movzwl	%di, %edx
	movl	%edx, -12(%rbx,%rax)
	movl	-32(%rbx,%rax), %edx
	shll	$9, %esi
	movl	%edx, %edi
	shrl	$7, %edi
	orl	%esi, %edi
	movzwl	%di, %esi
	movl	%esi, -8(%rbx,%rax)
	cmpl	$220, %eax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-60(%rbx,%rax), %esi
	shll	$9, %edx
	movl	%esi, %edi
	shrl	$7, %edi
	orl	%edx, %edi
	movzwl	%di, %edx
	movl	%edx, -4(%rbx,%rax)
	shll	$9, %esi
	shrl	$7, %ecx
	orl	%esi, %ecx
	movzwl	%cx, %ecx
	movl	%ecx, (%rbx,%rax)
	addq	$32, %rax
	jmp	LBB0_1
LBB0_3:
	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	_IDEA_set_encrypt_key           ; -- Begin function IDEA_set_encrypt_key
	.p2align	2
_IDEA_set_encrypt_key:                  ; @IDEA_set_encrypt_key
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x1]
	ldr	x20, [x8]
	ldr	w1, [x20]
	bl	_n2s
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_n2s
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_n2s
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_n2s
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_n2s
	ldr	w1, [x20, #20]
	mov	x0, x19
	bl	_n2s
	ldr	w1, [x20, #24]
	mov	x0, x19
	bl	_n2s
	ldr	w1, [x20, #28]
	mov	x0, x19
	bl	_n2s
	mov	x8, #0
	movi.2d	v0, #0x00ffff0000ffff
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x20, x8
	ldur	q1, [x9, #8]
	mov.s	w10, v1[3]
	ldp	w12, w11, [x9, #24]
	lsr	w13, w12, #7
	orr	w13, w13, w10, lsl #9
	lsr	w10, w11, #7
	orr	w12, w10, w12, lsl #9
	ldr	w10, [x9, #4]
	ushr.4s	v2, v1, #7
	mov.s	v1[3], w10
	shl.4s	v1, v1, #9
	ext.16b	v1, v1, v1, #12
	orr.16b	v1, v2, v1
	and.16b	v1, v1, v0
	str	q1, [x9, #32]
	and	w13, w13, #0xffff
	and	w12, w12, #0xffff
	stp	w13, w12, [x9, #48]
	cmp	w8, #160
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w12, [x9]
	lsr	w13, w12, #7
	orr	w11, w13, w11, lsl #9
	and	w11, w11, #0xffff
	lsl	w12, w12, #9
	orr	w10, w12, w10, lsr #7
	and	w10, w10, #0xffff
	stp	w11, w10, [x9, #56]
	add	x8, x8, #32
	b	LBB0_1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
