	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ge_double_scalarmult_vartime
_ge_double_scalarmult_vartime:          ## @ge_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	$568, %rsp                      ## imm = 0x238
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-304(%rbp), %rdi
	callq	_slide
	leaq	-560(%rbp), %rdi
	movq	%r15, %rsi
	callq	_slide
	leaq	-592(%rbp), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ge_p3_to_cached
	leaq	-600(%rbp), %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ge_p3_dbl
	leaq	-604(%rbp), %r15
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_ge_p1p1_to_p3
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_ge_add
	leaq	-596(%rbp), %r12
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ge_p1p1_to_p3
	leaq	-588(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ge_p3_to_cached
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ge_add
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ge_p1p1_to_p3
	leaq	-584(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ge_p3_to_cached
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ge_add
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ge_p1p1_to_p3
	leaq	-580(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ge_p3_to_cached
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ge_add
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ge_p1p1_to_p3
	leaq	-576(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ge_p3_to_cached
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ge_add
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ge_p1p1_to_p3
	leaq	-572(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ge_p3_to_cached
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ge_add
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ge_p1p1_to_p3
	leaq	-568(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ge_p3_to_cached
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ge_add
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ge_p1p1_to_p3
	leaq	-564(%rbp), %rdi
	movq	%r12, %rsi
	callq	_ge_p3_to_cached
	movq	%r14, %rdi
	callq	_ge_p2_0
	movl	$255, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, -304(%rbp,%rbx)
	jne	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$0, -560(%rbp,%rbx)
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	-1(%rbx), %eax
	cmpb	$0, -304(%rbp,%rax)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$0, -560(%rbp,%rax)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	addq	$-2, %rbx
	cmpl	$-1, %ebx
	jne	LBB0_1
	jmp	LBB0_19
LBB0_7:
	movl	%ebx, %eax
	testl	%eax, %eax
	jns	LBB0_9
	jmp	LBB0_19
LBB0_6:
	decq	%rbx
	movl	%ebx, %eax
	movl	%ebx, %ebx
	testl	%eax, %eax
	js	LBB0_19
LBB0_9:
	incq	%rbx
	leaq	-600(%rbp), %r12
	leaq	-596(%rbp), %r15
	movq	_Bi@GOTPCREL(%rip), %r13
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ge_p1p1_to_p3
	movzbl	-561(%rbp,%rbx), %eax
	movl	%eax, %ecx
	shrb	$7, %cl
	addb	%al, %cl
	sarb	%cl
	movsbq	%cl, %rdx
	shlq	$2, %rdx
	addq	(%r13), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ge_madd
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ge_p1p1_to_p2
	decq	%rbx
	jle	LBB0_19
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_ge_p2_dbl
	cmpb	$0, -305(%rbp,%rbx)
	jle	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ge_p1p1_to_p3
	movzbl	-305(%rbp,%rbx), %eax
	movl	%eax, %ecx
	shrb	$7, %cl
	addb	%al, %cl
	sarb	%cl
	movsbq	%cl, %rax
	leaq	-592(,%rax,4), %rdx
	addq	%rbp, %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ge_add
	cmpb	$0, -561(%rbp,%rbx)
	jg	LBB0_15
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	js	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpb	$0, -561(%rbp,%rbx)
	jg	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	jns	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ge_p1p1_to_p3
	movzbl	-561(%rbp,%rbx), %eax
	movl	%eax, %ecx
	shrb	$7, %cl
	addb	%al, %cl
	sarb	%cl
	negb	%cl
	movsbq	%cl, %rdx
	shlq	$2, %rdx
	addq	(%r13), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ge_msub
	jmp	LBB0_18
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ge_p1p1_to_p3
	movzbl	-305(%rbp,%rbx), %eax
	movl	%eax, %ecx
	shrb	$7, %cl
	addb	%al, %cl
	sarb	%cl
	negb	%cl
	movsbq	%cl, %rax
	leaq	-592(,%rax,4), %rdx
	addq	%rbp, %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ge_sub
	cmpb	$0, -561(%rbp,%rbx)
	jg	LBB0_15
	jmp	LBB0_16
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	addq	$568, %rsp                      ## imm = 0x238
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_Bi,8,3                         ## @Bi
	.no_dead_strip	_ge_double_scalarmult_vartime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ge_double_scalarmult_vartime
_ge_double_scalarmult_vartime:          ; @ge_double_scalarmult_vartime
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #576
	mov	x20, x3
	mov	x21, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	add	x22, sp, #312
	add	x0, sp, #312
	bl	_slide
	add	x23, sp, #56
	add	x0, sp, #56
	mov	x1, x20
	bl	_slide
	add	x24, sp, #24
	add	x0, sp, #24
	mov	x1, x21
	bl	_ge_p3_to_cached
	add	x0, sp, #20
	mov	x1, x21
	bl	_ge_p3_dbl
	add	x0, sp, #12
	add	x1, sp, #20
	bl	_ge_p1p1_to_p3
	add	x0, sp, #20
	add	x1, sp, #12
	add	x2, sp, #24
	bl	_ge_add
	add	x0, sp, #16
	add	x1, sp, #20
	bl	_ge_p1p1_to_p3
	add	x20, x24, #4
	add	x1, sp, #16
	mov	x0, x20
	bl	_ge_p3_to_cached
	add	x0, sp, #20
	add	x1, sp, #12
	mov	x2, x20
	bl	_ge_add
	add	x0, sp, #16
	add	x1, sp, #20
	bl	_ge_p1p1_to_p3
	add	x20, x24, #8
	add	x1, sp, #16
	mov	x0, x20
	bl	_ge_p3_to_cached
	add	x0, sp, #20
	add	x1, sp, #12
	mov	x2, x20
	bl	_ge_add
	add	x0, sp, #16
	add	x1, sp, #20
	bl	_ge_p1p1_to_p3
	add	x20, x24, #12
	add	x1, sp, #16
	mov	x0, x20
	bl	_ge_p3_to_cached
	add	x0, sp, #20
	add	x1, sp, #12
	mov	x2, x20
	bl	_ge_add
	add	x0, sp, #16
	add	x1, sp, #20
	bl	_ge_p1p1_to_p3
	add	x20, x24, #16
	add	x1, sp, #16
	mov	x0, x20
	bl	_ge_p3_to_cached
	add	x0, sp, #20
	add	x1, sp, #12
	mov	x2, x20
	bl	_ge_add
	add	x0, sp, #16
	add	x1, sp, #20
	bl	_ge_p1p1_to_p3
	add	x20, x24, #20
	add	x1, sp, #16
	mov	x0, x20
	bl	_ge_p3_to_cached
	add	x0, sp, #20
	add	x1, sp, #12
	mov	x2, x20
	bl	_ge_add
	add	x0, sp, #16
	add	x1, sp, #20
	bl	_ge_p1p1_to_p3
	add	x20, x24, #24
	add	x1, sp, #16
	mov	x0, x20
	bl	_ge_p3_to_cached
	add	x0, sp, #20
	add	x1, sp, #12
	mov	x2, x20
	bl	_ge_add
	add	x0, sp, #16
	add	x1, sp, #20
	bl	_ge_p1p1_to_p3
	add	x0, x24, #28
	add	x1, sp, #16
	bl	_ge_p3_to_cached
	mov	x0, x19
	bl	_ge_p2_0
	mov	x8, #0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w8, #255
	ldrb	w10, [x22, x9]
	cbnz	w10, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w9, [x23, x9]
	cbnz	w9, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x8, x8, #1
	cmn	w8, #256
	b.ne	LBB0_1
	b	LBB0_15
LBB0_4:
	add	x20, x8, #255
	tbnz	w20, #31, LBB0_15
; %bb.5:
	add	x21, sp, #312
	add	x22, sp, #24
	add	x23, sp, #56
Lloh3:
	adrp	x24, _Bi@GOTPAGE
Lloh4:
	ldr	x24, [x24, _Bi@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #16
	add	x1, sp, #20
	bl	_ge_p1p1_to_p3
	ldr	x8, [x24]
	ldrb	w9, [x23, x20]
	add	w9, w9, w9, lsr #7
	sbfx	w9, w9, #1, #7
	add	x2, x8, w9, sxtw #2
	add	x0, sp, #20
	add	x1, sp, #16
	bl	_ge_madd
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x1, sp, #20
	mov	x0, x19
	bl	_ge_p1p1_to_p2
	sub	x8, x20, #1
	cmp	x20, #0
	mov	x20, x8
	b.le	LBB0_15
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #20
	mov	x1, x19
	bl	_ge_p2_dbl
	ldrsb	w8, [x21, x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #16
	add	x1, sp, #20
	bl	_ge_p1p1_to_p3
	ldrb	w8, [x21, x20]
	add	w8, w8, w8, lsr #7
	sbfx	w8, w8, #1, #7
	add	x2, x22, w8, sxtw #2
	add	x0, sp, #20
	add	x1, sp, #16
	bl	_ge_add
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	tbz	w8, #31, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #16
	add	x1, sp, #20
	bl	_ge_p1p1_to_p3
	ldrb	w8, [x21, x20]
	add	w8, w8, w8, lsr #7
	sxtb	w8, w8
	neg	w8, w8, asr #1
	add	x2, x22, w8, sxtw #2
	add	x0, sp, #20
	add	x1, sp, #16
	bl	_ge_sub
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrsb	w8, [x23, x20]
	cmp	w8, #1
	b.ge	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	tbz	w8, #31, LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #16
	add	x1, sp, #20
	bl	_ge_p1p1_to_p3
	ldr	x8, [x24]
	ldrb	w9, [x23, x20]
	add	w9, w9, w9, lsr #7
	sxtb	w9, w9
	neg	w9, w9, asr #1
	add	x2, x8, w9, sxtw #2
	add	x0, sp, #20
	add	x1, sp, #16
	bl	_ge_msub
	b	LBB0_7
LBB0_15:
	ldur	x8, [x29, #-72]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	add	sp, sp, #576
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_Bi,8,3                         ; @Bi
	.no_dead_strip	_ge_double_scalarmult_vartime
.subsections_via_symbols
