	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ge25519_double_scalarmult_vartime ## -- Begin function ge25519_double_scalarmult_vartime
	.p2align	4, 0x90
_ge25519_double_scalarmult_vartime:     ## @ge25519_double_scalarmult_vartime
	.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
	subq	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -328(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rdx, -320(%rbp)                ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-176(%rbp), %rdi
	callq	_setneutral
	movq	(%r15), %rax
	movq	%rax, -168(%rbp)
	leaq	-308(%rbp), %r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dbl_p1p1
	leaq	-160(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p3
	movq	%r14, %rdi
	leaq	-168(%rbp), %r15
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_add_p1p1
	leaq	-152(%rbp), %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p3
	movq	(%r13), %rax
	leaq	-144(%rbp), %rdx
	movq	%rax, -144(%rbp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rdx, %r15
	callq	_add_p1p1
	leaq	-136(%rbp), %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p3
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_add_p1p1
	leaq	-128(%rbp), %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p3
	movq	%r14, %rdi
	leaq	-152(%rbp), %rsi
	movq	%rsi, %rbx
	movq	%r15, %rdx
	callq	_add_p1p1
	leaq	-120(%rbp), %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p3
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_dbl_p1p1
	leaq	-112(%rbp), %r13
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p3
	movq	%r14, %rdi
	leaq	-168(%rbp), %rsi
	movq	%r13, %rdx
	callq	_add_p1p1
	leaq	-104(%rbp), %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p3
	movq	%r14, %rdi
	leaq	-136(%rbp), %rsi
	callq	_dbl_p1p1
	leaq	-96(%rbp), %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p3
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_add_p1p1
	leaq	-88(%rbp), %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p3
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_add_p1p1
	leaq	-80(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p3
	movq	%r14, %rdi
	leaq	-168(%rbp), %rsi
	movq	%r15, %rdx
	callq	_add_p1p1
	leaq	-72(%rbp), %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p3
	movq	%r14, %rdi
	leaq	-160(%rbp), %rsi
	movq	%r15, %rdx
	callq	_add_p1p1
	leaq	-64(%rbp), %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p3
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_add_p1p1
	leaq	-56(%rbp), %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p3
	leaq	-304(%rbp), %rdi
	movq	-320(%rbp), %rsi                ## 8-byte Reload
	movq	-328(%rbp), %rdx                ## 8-byte Reload
	callq	_sc25519_2interleave2
	movzbl	-178(%rbp), %eax
	movq	-176(%rbp,%rax,8), %rax
	movq	%rax, (%r12)
	movl	$125, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_dbl_p1p1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p2
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_dbl_p1p1
	cmpb	$0, -304(%rbp,%rbx)
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p3
	movzbl	-304(%rbp,%rbx), %eax
	leaq	-176(,%rax,8), %rdx
	addq	%rbp, %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_add_p1p1
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	subq	$1, %rbx
	jb	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_p1p1_to_p2
	jmp	LBB0_1
LBB0_5:
	leaq	-308(%rbp), %rsi
	movq	%r12, %rdi
	callq	_p1p1_to_p3
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ge25519_double_scalarmult_vartime ; -- Begin function ge25519_double_scalarmult_vartime
	.p2align	2
_ge25519_double_scalarmult_vartime:     ; @ge25519_double_scalarmult_vartime
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #384
	.cfi_def_cfa_offset 384
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #304]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #320]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #336]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #352]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #368]            ; 16-byte Folded Spill
	add	x29, sp, #368
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	mov	x26, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	add	x28, sp, #144
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	add	x0, sp, #144
	bl	_setneutral
	ldr	x8, [x22]
	add	x24, x28, #8
	str	x8, [x28, #8]
	add	x0, sp, #12
	mov	x1, x22
	bl	_dbl_p1p1
	add	x22, x28, #16
	add	x1, sp, #12
	mov	x0, x22
	bl	_p1p1_to_p3
	add	x0, sp, #12
	mov	x1, x24
	mov	x2, x22
	bl	_add_p1p1
	add	x23, x28, #24
	add	x1, sp, #12
	mov	x0, x23
	bl	_p1p1_to_p3
	ldr	x8, [x26]
	add	x25, x28, #32
	str	x8, [x28, #32]
	add	x0, sp, #12
	mov	x1, x24
	mov	x2, x25
	bl	_add_p1p1
	add	x27, x28, #40
	add	x1, sp, #12
	mov	x0, x27
	bl	_p1p1_to_p3
	add	x0, sp, #12
	mov	x1, x22
	mov	x2, x25
	bl	_add_p1p1
	add	x0, x28, #48
	add	x1, sp, #12
	bl	_p1p1_to_p3
	add	x0, sp, #12
	mov	x1, x23
	mov	x2, x25
	bl	_add_p1p1
	add	x0, x28, #56
	add	x1, sp, #12
	bl	_p1p1_to_p3
	add	x0, sp, #12
	mov	x1, x26
	bl	_dbl_p1p1
	add	x26, x28, #64
	add	x1, sp, #12
	mov	x0, x26
	bl	_p1p1_to_p3
	add	x0, sp, #12
	mov	x1, x24
	mov	x2, x26
	bl	_add_p1p1
	add	x0, x28, #72
	add	x1, sp, #12
	bl	_p1p1_to_p3
	add	x0, sp, #12
	mov	x1, x27
	bl	_dbl_p1p1
	add	x0, x28, #80
	add	x1, sp, #12
	bl	_p1p1_to_p3
	add	x0, sp, #12
	mov	x1, x23
	mov	x2, x26
	bl	_add_p1p1
	add	x0, x28, #88
	add	x1, sp, #12
	bl	_p1p1_to_p3
	add	x0, sp, #12
	mov	x1, x25
	mov	x2, x26
	bl	_add_p1p1
	add	x25, x28, #96
	add	x1, sp, #12
	mov	x0, x25
	bl	_p1p1_to_p3
	add	x0, sp, #12
	mov	x1, x24
	mov	x2, x25
	bl	_add_p1p1
	add	x0, x28, #104
	add	x1, sp, #12
	bl	_p1p1_to_p3
	add	x0, sp, #12
	mov	x1, x22
	mov	x2, x25
	bl	_add_p1p1
	add	x0, x28, #112
	add	x1, sp, #12
	bl	_p1p1_to_p3
	add	x0, sp, #12
	mov	x1, x23
	mov	x2, x25
	bl	_add_p1p1
	add	x0, x28, #120
	add	x1, sp, #12
	bl	_p1p1_to_p3
	add	x22, sp, #17
	add	x0, sp, #17
	mov	x1, x21
	mov	x2, x20
	bl	_sc25519_2interleave2
	ldrb	w8, [sp, #143]
	ldr	x8, [x28, x8, lsl #3]
	str	x8, [x19]
	mov	w20, #125
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	mov	x1, x19
	bl	_dbl_p1p1
	add	x1, sp, #12
	mov	x0, x19
	bl	_p1p1_to_p2
	add	x0, sp, #12
	mov	x1, x19
	bl	_dbl_p1p1
	ldrb	w8, [x22, x20]
	cbz	w8, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x1, sp, #12
	mov	x0, x19
	bl	_p1p1_to_p3
	ldrb	w8, [x22, x20]
	add	x2, x28, x8, lsl #3
	add	x0, sp, #12
	mov	x1, x19
	bl	_add_p1p1
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	x1, sp, #12
	cbz	x20, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_p1p1_to_p2
	sub	x20, x20, #1
	b	LBB0_1
LBB0_5:
	mov	x0, x19
	bl	_p1p1_to_p3
	ldur	x8, [x29, #-96]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #368]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #352]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #336]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #320]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #304]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #384
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
