	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sc25519_window5                ## -- Begin function sc25519_window5
	.p2align	4, 0x90
_sc25519_window5:                       ## @sc25519_window5
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	7(%rdi), %r8
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rdx
	movzbl	(%rdx,%rcx), %edx
	andb	$31, %dl
	movb	%dl, -7(%r8)
	movq	(%rsi), %rdx
	movl	(%rdx,%rcx), %edx
	shrl	$5, %edx
	andb	$31, %dl
	movb	%dl, -6(%r8)
	movq	(%rsi), %rax
	movzbl	4(%rax,%rcx), %eax
	shlb	$3, %al
	andb	$24, %al
	xorb	%dl, %al
	movb	%al, -6(%r8)
	movq	(%rsi), %rax
	movzbl	4(%rax,%rcx), %eax
	shrb	$2, %al
	andb	$31, %al
	movb	%al, -5(%r8)
	movq	(%rsi), %rax
	movl	4(%rax,%rcx), %eax
	shrl	$7, %eax
	andb	$31, %al
	movb	%al, -4(%r8)
	movq	(%rsi), %rdx
	movzbl	8(%rdx,%rcx), %edx
	addb	%dl, %dl
	andb	$30, %dl
	xorb	%al, %dl
	movb	%dl, -4(%r8)
	movq	(%rsi), %rax
	movl	8(%rax,%rcx), %eax
	shrl	$4, %eax
	andb	$31, %al
	movb	%al, -3(%r8)
	movq	(%rsi), %rdx
	movzbl	12(%rdx,%rcx), %edx
	shlb	$4, %dl
	andb	$16, %dl
	xorb	%al, %dl
	movb	%dl, -3(%r8)
	movq	(%rsi), %rax
	movzbl	12(%rax,%rcx), %eax
	shrb	%al
	andb	$31, %al
	movb	%al, -2(%r8)
	movq	(%rsi), %rax
	movl	12(%rax,%rcx), %eax
	shrl	$6, %eax
	andb	$31, %al
	movb	%al, -1(%r8)
	movq	(%rsi), %rdx
	movzbl	16(%rdx,%rcx), %edx
	shlb	$2, %dl
	andb	$28, %dl
	xorb	%al, %dl
	movb	%dl, -1(%r8)
	movq	(%rsi), %rax
	movzbl	16(%rax,%rcx), %eax
	shrb	$3, %al
	movb	%al, (%r8)
	addq	$20, %rcx
	addq	$8, %r8
	cmpq	$120, %rcx
	jne	LBB0_1
## %bb.2:
	movq	(%rsi), %rax
	movb	120(%rax), %al
	andb	$31, %al
	movb	%al, 48(%rdi)
	movq	(%rsi), %rax
	movl	120(%rax), %eax
	shrl	$5, %eax
	andb	$31, %al
	movb	%al, 49(%rdi)
	movq	(%rsi), %rcx
	movb	124(%rcx), %cl
	shlb	$3, %cl
	andb	$24, %cl
	xorb	%al, %cl
	movb	%cl, 49(%rdi)
	movq	(%rsi), %rax
	movb	124(%rax), %al
	shrb	$2, %al
	andb	$31, %al
	movb	%al, 50(%rdi)
	movb	(%rdi), %cl
	movl	$2, %r8d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addb	%sil, %cl
	movl	%ecx, %eax
	sarb	$5, %al
	addb	-1(%rdi,%r8), %al
	andb	$31, %cl
	movl	%ecx, %edx
	shrb	$4, %dl
	addb	%dl, %al
	shlb	$5, %dl
	subb	%dl, %cl
	movb	%cl, -2(%rdi,%r8)
	movl	%eax, %ecx
	sarb	$5, %cl
	addb	(%rdi,%r8), %cl
	movb	%cl, (%rdi,%r8)
	andb	$31, %al
	movl	%eax, %esi
	shrb	$4, %sil
	movl	%esi, %edx
	shlb	$5, %dl
	subb	%dl, %al
	movb	%al, -1(%rdi,%r8)
	addq	$2, %r8
	cmpq	$52, %r8
	jne	LBB0_3
## %bb.4:
	addb	%sil, 50(%rdi)
	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	_sc25519_window5                ; -- Begin function sc25519_window5
	.p2align	2
_sc25519_window5:                       ; @sc25519_window5
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	add	x9, x0, #3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x1]
	ldrb	w10, [x10, x8]
	and	w10, w10, #0x1f
	sturb	w10, [x9, #-3]
	ldr	x10, [x1]
	ldr	w10, [x10, x8]
	ubfx	w10, w10, #5, #5
	sturb	w10, [x9, #-2]
	ldr	x11, [x1]
	add	x11, x11, x8
	ldrb	w11, [x11, #4]
	ubfiz	w11, w11, #3, #2
	eor	w10, w11, w10
	sturb	w10, [x9, #-2]
	ldr	x10, [x1]
	add	x10, x10, x8
	ldrb	w10, [x10, #4]
	ubfx	w10, w10, #2, #5
	sturb	w10, [x9, #-1]
	ldr	x10, [x1]
	add	x10, x10, x8
	ldr	w10, [x10, #4]
	ubfx	w10, w10, #7, #5
	strb	w10, [x9]
	ldr	x11, [x1]
	add	x11, x11, x8
	ldrb	w11, [x11, #8]
	ubfiz	w11, w11, #1, #4
	eor	w10, w11, w10
	strb	w10, [x9]
	ldr	x10, [x1]
	add	x10, x10, x8
	ldr	w10, [x10, #8]
	ubfx	w10, w10, #4, #5
	strb	w10, [x9, #1]
	ldr	x11, [x1]
	add	x11, x11, x8
	ldrb	w11, [x11, #12]
	ubfiz	w11, w11, #4, #1
	eor	w10, w11, w10
	strb	w10, [x9, #1]
	ldr	x10, [x1]
	add	x10, x10, x8
	ldrb	w10, [x10, #12]
	ubfx	w10, w10, #1, #5
	strb	w10, [x9, #2]
	ldr	x10, [x1]
	add	x10, x10, x8
	ldr	w10, [x10, #12]
	ubfx	w10, w10, #6, #5
	strb	w10, [x9, #3]
	ldr	x11, [x1]
	add	x11, x11, x8
	ldrb	w11, [x11, #16]
	ubfiz	w11, w11, #2, #3
	eor	w10, w11, w10
	strb	w10, [x9, #3]
	ldr	x10, [x1]
	add	x10, x10, x8
	ldrb	w10, [x10, #16]
	lsr	w10, w10, #3
	strb	w10, [x9, #4]
	add	x8, x8, #20
	add	x9, x9, #8
	cmp	x8, #120
	b.ne	LBB0_1
; %bb.2:
	mov	x8, #0
	mov	w9, #0
	ldr	x10, [x1]
	ldrb	w10, [x10, #120]
	and	w10, w10, #0x1f
	strb	w10, [x0, #48]
	ldr	x10, [x1]
	ldr	w10, [x10, #120]
	ubfx	w10, w10, #5, #5
	strb	w10, [x0, #49]
	ldr	x11, [x1]
	ldrb	w11, [x11, #124]
	ubfiz	w11, w11, #3, #2
	eor	w10, w11, w10
	strb	w10, [x0, #49]
	ldr	x10, [x1]
	ldrb	w10, [x10, #124]
	ubfx	w10, w10, #2, #5
	strb	w10, [x0, #50]
	ldrb	w10, [x0]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x0, x8
	add	w9, w10, w9
	sxtb	w10, w9
	add	x8, x8, #1
	ldrb	w12, [x11, #1]
	add	w10, w12, w10, asr #5
	strb	w10, [x11, #1]
	and	w12, w9, #0x1f
	ubfx	w9, w9, #4, #1
	sub	w12, w12, w9, lsl #5
	strb	w12, [x11]
	cmp	x8, #50
	b.ne	LBB0_3
; %bb.4:
	ldrb	w8, [x0, #50]
	add	w8, w8, w9
	strb	w8, [x0, #50]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
