	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_curve448_precomputed_scalarmul ## -- Begin function curve448_precomputed_scalarmul
	.p2align	4, 0x90
_curve448_precomputed_scalarmul:        ## @curve448_precomputed_scalarmul
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	_COMBS_N@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_COMBS_T@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_COMBS_S@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_precomputed_scalarmul_adjustment@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rdx, %rsi
	movl	%eax, %edx
	callq	_curve448_scalar_add
	callq	_curve448_scalar_halve
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.1:
	movl	%r14d, %ecx
	decl	%ecx
	movl	$1, %r13d
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r13d
	leal	-1(%r13), %ebx
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r15d
	negl	%r15d
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	decl	%r14d
	je	LBB0_12
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	cmpl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, %esi
	xorl	%edx, %edx
	callq	_point_double_internal
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	leal	(%r15,%r12), %eax
	cmpl	$1, %r14d
	setne	%cl
	cmpl	$-1, %eax
	sete	%al
	andb	%cl, %al
	movzbl	%al, %edx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_add_niels_to_pt
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	incl	%r12d
	movl	%r15d, %eax
	addl	%r12d, %eax
	je	LBB0_11
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r12d, %esi
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	shlq	$2, %rsi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	(%rax), %rsi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	callq	_constant_time_lookup_niels
	movl	$-1, %esi
	callq	_cond_neg_niels
	cmpl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	testl	%r12d, %r12d
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_niels_to_pt
	jmp	LBB0_10
LBB0_12:
	movl	$8, %esi
	callq	_OPENSSL_cleanse
	movl	$8, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OPENSSL_cleanse                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COMBS_N,4,2                    ## @COMBS_N
	.comm	_COMBS_T,4,2                    ## @COMBS_T
	.comm	_COMBS_S,4,2                    ## @COMBS_S
	.comm	_precomputed_scalarmul_adjustment,4,2 ## @precomputed_scalarmul_adjustment
	.comm	_C448_SCALAR_BITS,4,2           ## @C448_SCALAR_BITS
	.comm	_WBITS,4,2                      ## @WBITS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_curve448_precomputed_scalarmul ; -- Begin function curve448_precomputed_scalarmul
	.p2align	2
_curve448_precomputed_scalarmul:        ; @curve448_precomputed_scalarmul
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x8, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x9, _COMBS_N@GOTPAGE
Lloh1:
	ldr	x9, [x9, _COMBS_N@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x9]
Lloh3:
	adrp	x9, _COMBS_T@GOTPAGE
Lloh4:
	ldr	x9, [x9, _COMBS_T@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x9]
Lloh6:
	adrp	x9, _COMBS_S@GOTPAGE
Lloh7:
	ldr	x9, [x9, _COMBS_S@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x9]
Lloh9:
	adrp	x9, _precomputed_scalarmul_adjustment@GOTPAGE
Lloh10:
	ldr	x9, [x9, _precomputed_scalarmul_adjustment@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x9]
	mov	x1, x8
	bl	_curve448_scalar_add
	bl	_curve448_scalar_halve
	cbz	w24, LBB0_12
; %bb.1:
	sub	w25, w21, #1
	mov	w8, #1
	lsl	w21, w8, w25
	sub	w22, w21, #1
	neg	w26, w23
	mov	x27, x24
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	subs	w27, w27, #1
	b.eq	LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	cmp	w27, w24
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x20
	mov	w2, #0
	bl	_point_double_internal
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w23, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w28, #0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	w8, w26, w28
	cmn	w8, #1
	ccmp	w27, #1, #4, eq
	cset	w2, ne
	mov	x0, x20
	bl	_add_niels_to_pt
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	w28, w28, #1
	cmn	w26, w28
	b.eq	LBB0_2
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19]
	lsl	w9, w28, w25
	add	x1, x8, w9, uxtw #2
	mov	x2, x21
	mov	x3, x22
	bl	_constant_time_lookup_niels
	mov	w1, #-1
	bl	_cond_neg_niels
	cmp	w27, w24
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	cbnz	w28, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_niels_to_pt
	b	LBB0_8
LBB0_12:
	mov	w1, #8
	bl	_OPENSSL_cleanse
	mov	w1, #8
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_OPENSSL_cleanse
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_COMBS_N,4,2                    ; @COMBS_N
	.comm	_COMBS_T,4,2                    ; @COMBS_T
	.comm	_COMBS_S,4,2                    ; @COMBS_S
	.comm	_precomputed_scalarmul_adjustment,4,2 ; @precomputed_scalarmul_adjustment
	.comm	_C448_SCALAR_BITS,4,2           ; @C448_SCALAR_BITS
	.comm	_WBITS,4,2                      ; @WBITS
.subsections_via_symbols
