	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function api_muladd
_api_muladd:                            ## @api_muladd
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	24(%rbp), %edi
	callq	_id_to_curve
	movq	%rax, %r15
	leaq	-48(%rbp), %rdi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%rax, %rcx
	callq	_point_decode
	movl	%eax, %r14d
	testq	%r13, %r13
	jne	LBB0_2
## %bb.1:
	leaq	-88(%rbp), %rsi
	movl	24(%rbp), %edi
	callq	_api_generator
	movq	%rax, %r13
LBB0_2:
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_point_decode
	movl	%eax, %r12d
	andl	%r14d, %r12d
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_point_mul
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	16(%rbp), %rdx
	movq	%r15, %rcx
	callq	_point_mul
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_point_add
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_point_double
	movq	-48(%rbp), %rax
	movl	8(%rax), %edi
	callq	_br_i31_iszero
	movl	%eax, %r13d
	movl	%r14d, %edi
	notl	%edi
	andl	%eax, %edi
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdx
	movl	$8, %ecx
	callq	_CCOPY
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdx
	callq	_point_encode
	andl	%r14d, %r13d
	notl	%r13d
	andl	%r12d, %r13d
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_api_muladd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function api_muladd
_api_muladd:                            ; @api_muladd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x26, x7
	mov	x21, x6
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x27, x1
	mov	x19, x0
	mov	x0, x7
	bl	_id_to_curve
	mov	x20, x0
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x25
	mov	x3, x20
	bl	_point_decode
	mov	x28, x0
	cbnz	x27, LBB0_2
; %bb.1:
	mov	x1, sp
	mov	x0, x26
	bl	_api_generator
	mov	x27, x0
LBB0_2:
	mov	x0, sp
	mov	x1, x27
	mov	x2, x25
	mov	x3, x20
	bl	_point_decode
	and	w25, w0, w28
	add	x0, sp, #8
	mov	x1, x24
	mov	x2, x23
	mov	x3, x20
	bl	_point_mul
	mov	x0, sp
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_point_mul
	add	x0, sp, #8
	mov	x1, sp
	mov	x2, x20
	bl	_point_add
	mov	x21, x0
	mov	x0, sp
	mov	x1, x20
	bl	_point_double
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #8]
	bl	_br_i31_iszero
	mov	x22, x0
	bic	w0, w0, w21
	add	x1, sp, #8
	mov	x2, sp
	mov	w3, #8
	bl	_CCOPY
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x20
	bl	_point_encode
	and	w8, w22, w21
	bic	w0, w25, w8
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_api_muladd
.subsections_via_symbols
