	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ge25519_scalarmult_base        ## -- Begin function ge25519_scalarmult_base
	.p2align	4, 0x90
_ge25519_scalarmult_base:               ## @ge25519_scalarmult_base
	.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	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-128(%rbp), %rdi
	callq	_sc25519_window3
	movsbl	-128(%rbp), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_choose_t
	leaq	12(%r14), %rdi
	callq	_fe25519_setone
	leaq	8(%r14), %rdi
	leaq	4(%r14), %rsi
	movq	%r14, %rdx
	callq	_fe25519_mul
	movl	$1, %ebx
	leaq	-132(%rbp), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	-128(%rbp,%rbx), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_choose_t
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ge25519_mixadd2
	incq	%rbx
	cmpq	$85, %rbx
	jne	LBB0_1
## %bb.2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$120, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	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_scalarmult_base        ; -- Begin function ge25519_scalarmult_base
	.p2align	2
_ge25519_scalarmult_base:               ; @ge25519_scalarmult_base
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	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, #-40]
	add	x21, sp, #19
	add	x0, sp, #19
	bl	_sc25519_window3
	ldrsb	w2, [sp, #19]
	mov	x0, x19
	mov	x1, #0
	bl	_choose_t
	add	x0, x19, #12
	bl	_fe25519_setone
	add	x0, x19, #8
	add	x1, x19, #4
	mov	x2, x19
	bl	_fe25519_mul
	mov	w20, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w2, [x21, x20]
	add	x0, sp, #12
	mov	x1, x20
	bl	_choose_t
	add	x1, sp, #12
	mov	x0, x19
	bl	_ge25519_mixadd2
	add	x20, x20, #1
	cmp	x20, #85
	b.ne	LBB0_1
; %bb.2:
	ldur	x8, [x29, #-40]
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_4
; %bb.3:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
