	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p256_mulgen
_p256_mulgen:                           ## @p256_mulgen
	.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	%rdx, %rbx
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdx
	movl	$1, %r15d
	xorl	%eax, %eax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movzbl	(%rcx,%rax), %r14d
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_p256_double
	movq	%rbx, %rdi
	callq	_p256_double
	movq	%rbx, %rdi
	callq	_p256_double
	movq	%rbx, %rdi
	callq	_p256_double
	shrl	$4, %r14d
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_NEQ
	movl	%eax, %r12d
	leaq	-92(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_lookup_Gwin
	movl	-44(%rbp), %eax
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_p256_add_mixed
	movl	%r12d, %edi
	andl	%r15d, %edi
	leaq	-44(%rbp), %r14
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	$4, %ecx
	callq	_CCOPY
	movl	%r15d, %edi
	notl	%edi
	andl	%r12d, %edi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movl	$4, %ecx
	callq	_CCOPY
	notl	%r12d
	andl	%r15d, %r12d
	movq	%r14, %rdi
	callq	_p256_double
	movq	%r14, %rdi
	callq	_p256_double
	movq	%r14, %rdi
	callq	_p256_double
	movq	%r14, %rdi
	callq	_p256_double
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	andl	$15, %r13d
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_NEQ
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_lookup_Gwin
	movl	-44(%rbp), %eax
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_p256_add_mixed
	movl	%r15d, %edi
	andl	%r12d, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	$4, %ecx
	callq	_CCOPY
	movl	%r12d, %edi
	notl	%edi
	andl	%r15d, %edi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movl	$4, %ecx
	callq	_CCOPY
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	notl	%r15d
	andl	%r12d, %r15d
	incq	%rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rax, %rcx
	jne	LBB0_2
LBB0_3:
	movl	-44(%rbp), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_p256_mulgen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p256_mulgen
_p256_mulgen:                           ; @p256_mulgen
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, sp, #12
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	cbz	x20, LBB0_3
; %bb.1:
	mov	w24, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	x20, x20, #1
	ldrb	w25, [x21], #1
	add	x0, sp, #12
	bl	_p256_double
	add	x0, sp, #12
	bl	_p256_double
	add	x0, sp, #12
	bl	_p256_double
	add	x0, sp, #12
	bl	_p256_double
	lsr	w22, w25, #4
	mov	x0, x22
	mov	w1, #0
	bl	_NEQ
	mov	x23, x0
	add	x0, sp, #8
	mov	x1, x22
	bl	_lookup_Gwin
	ldr	w8, [sp, #12]
	str	w8, [sp, #4]
	add	x0, sp, #4
	add	x1, sp, #8
	bl	_p256_add_mixed
	and	w0, w23, w24
	add	x1, sp, #12
	add	x2, sp, #8
	mov	w3, #4
	bl	_CCOPY
	bic	w0, w23, w24
	add	x1, sp, #12
	add	x2, sp, #4
	mov	w3, #4
	bl	_CCOPY
	bic	w24, w24, w23
	add	x0, sp, #12
	bl	_p256_double
	add	x0, sp, #12
	bl	_p256_double
	add	x0, sp, #12
	bl	_p256_double
	add	x0, sp, #12
	bl	_p256_double
	and	w22, w25, #0xf
	mov	x0, x22
	mov	w1, #0
	bl	_NEQ
	mov	x23, x0
	add	x0, sp, #8
	mov	x1, x22
	bl	_lookup_Gwin
	ldr	w8, [sp, #12]
	str	w8, [sp, #4]
	add	x0, sp, #4
	add	x1, sp, #8
	bl	_p256_add_mixed
	and	w0, w23, w24
	add	x1, sp, #12
	add	x2, sp, #8
	mov	w3, #4
	bl	_CCOPY
	bic	w0, w23, w24
	add	x1, sp, #12
	add	x2, sp, #4
	mov	w3, #4
	bl	_CCOPY
	bic	w24, w24, w23
	cbnz	x20, LBB0_2
LBB0_3:
	ldr	w8, [sp, #12]
	str	w8, [x19]
	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
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_p256_mulgen
.subsections_via_symbols
