	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sel25519
_sel25519:                              ## @sel25519
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	negl	%edx
	leaq	64(%rsi), %rax
	cmpq	%rdi, %rax
	jbe	LBB0_5
## %bb.1:
	leaq	64(%rdi), %rax
	cmpq	%rsi, %rax
	jbe	LBB0_5
## %bb.2:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rax,4), %r8d
	movl	(%rsi,%rax,4), %ecx
	xorl	%r8d, %ecx
	andl	%edx, %ecx
	xorl	%ecx, %r8d
	movl	%r8d, (%rdi,%rax,4)
	xorl	%ecx, (%rsi,%rax,4)
	movl	4(%rdi,%rax,4), %r8d
	movl	4(%rsi,%rax,4), %ecx
	xorl	%r8d, %ecx
	andl	%edx, %ecx
	xorl	%ecx, %r8d
	movl	%r8d, 4(%rdi,%rax,4)
	xorl	%ecx, 4(%rsi,%rax,4)
	addq	$2, %rax
	cmpq	$16, %rax
	jne	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_5:
	movd	%edx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqu	(%rdi), %xmm1
	movdqu	(%rsi), %xmm2
	pxor	%xmm1, %xmm2
	pand	%xmm0, %xmm2
	pxor	%xmm2, %xmm1
	movdqu	%xmm1, (%rdi)
	movdqu	(%rsi), %xmm1
	movdqu	16(%rsi), %xmm3
	pxor	%xmm2, %xmm1
	movdqu	%xmm1, (%rsi)
	movdqu	16(%rdi), %xmm1
	pxor	%xmm1, %xmm3
	pand	%xmm0, %xmm3
	pxor	%xmm3, %xmm1
	movdqu	%xmm1, 16(%rdi)
	movdqu	16(%rsi), %xmm1
	movdqu	32(%rsi), %xmm2
	pxor	%xmm3, %xmm1
	movdqu	%xmm1, 16(%rsi)
	movdqu	32(%rdi), %xmm1
	pxor	%xmm1, %xmm2
	pand	%xmm0, %xmm2
	pxor	%xmm2, %xmm1
	movdqu	%xmm1, 32(%rdi)
	movdqu	32(%rsi), %xmm1
	movdqu	48(%rsi), %xmm3
	pxor	%xmm2, %xmm1
	movdqu	%xmm1, 32(%rsi)
	movdqu	48(%rdi), %xmm1
	pxor	%xmm1, %xmm3
	pand	%xmm0, %xmm3
	pxor	%xmm3, %xmm1
	movdqu	%xmm1, 48(%rdi)
	movdqu	48(%rsi), %xmm0
	pxor	%xmm3, %xmm0
	movdqu	%xmm0, 48(%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sel25519
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sel25519
_sel25519:                              ; @sel25519
	.cfi_startproc
; %bb.0:
	neg	w8, w2
	add	x9, x1, #64
	cmp	x9, x0
	b.ls	LBB0_5
; %bb.1:
	add	x9, x0, #64
	cmp	x9, x1
	b.ls	LBB0_5
; %bb.2:
	mov	x9, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0, x9]
	ldr	w11, [x1, x9]
	eor	w11, w11, w10
	and	w11, w11, w8
	eor	w10, w11, w10
	str	w10, [x0, x9]
	ldr	w10, [x1, x9]
	eor	w10, w10, w11
	str	w10, [x1, x9]
	add	x9, x9, #4
	cmp	x9, #64
	b.ne	LBB0_3
; %bb.4:
	ret
LBB0_5:
	dup.4s	v0, w8
	ldp	q1, q2, [x0]
	ldp	q3, q4, [x1]
	eor.16b	v5, v3, v1
	and.16b	v5, v5, v0
	eor.16b	v1, v5, v1
	eor.16b	v3, v3, v5
	eor.16b	v5, v4, v2
	and.16b	v5, v5, v0
	eor.16b	v2, v5, v2
	stp	q1, q2, [x0]
	eor.16b	v1, v4, v5
	stp	q3, q1, [x1]
	ldp	q1, q2, [x0, #32]
	ldp	q3, q4, [x1, #32]
	eor.16b	v5, v3, v1
	and.16b	v5, v5, v0
	eor.16b	v1, v5, v1
	eor.16b	v3, v3, v5
	eor.16b	v5, v4, v2
	and.16b	v0, v5, v0
	eor.16b	v2, v0, v2
	stp	q1, q2, [x0, #32]
	eor.16b	v0, v4, v0
	stp	q3, q0, [x1, #32]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sel25519
.subsections_via_symbols
