	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function batch_mul
_batch_mul:                             ## @batch_mul
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movl	%r8d, %r12d
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	movl	%edx, -100(%rbp)                ## 4-byte Spill
	movl	%esi, -96(%rbp)                 ## 4-byte Spill
	movl	%edi, -92(%rbp)                 ## 4-byte Spill
	movq	32(%rbp), %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-60(%rbp), %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	testl	%r12d, %r12d
	movl	$27, %eax
	movl	$220, %r13d
	cmovel	%eax, %r13d
	leaq	192(%r14), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	%r12d, %eax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movl	$1, %ebx
	movq	%r15, -152(%rbp)                ## 8-byte Spill
	movl	%r12d, -84(%rbp)                ## 4-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	leal	-1(%r13), %eax
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%r13d, %r13d
	movl	%eax, %r13d
	jle	LBB0_19
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-60(%rbp), %ecx
	movl	-56(%rbp), %esi
	movl	-52(%rbp), %edx
	movl	%ecx, %edi
	movl	%esi, %r8d
	movl	%edx, %r9d
	callq	_point_double
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	testq	%r15, %r15
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$27, %r13d
	ja	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	196(%r13), %esi
	movq	%r15, %rdi
	callq	_get_bit
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,8), %r12d
	leal	140(%r13), %esi
	movq	%r15, %rdi
	callq	_get_bit
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %r14d
	orl	%r12d, %r14d
	leal	84(%r13), %esi
	movq	%r15, %rdi
	callq	_get_bit
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %r12d
	leal	28(%r13), %esi
	movq	%r15, %rdi
	callq	_get_bit
	orl	%eax, %r12d
	orl	%r14d, %r12d
	movl	%r12d, %edi
	movl	$16, %esi
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	leaq	-80(%rbp), %r12
	movq	%r12, %rcx
	callq	_select_point
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	-60(%rbp), %rdi
	movq	%r12, %rsi
	movl	$12, %edx
	callq	_memcpy
	jmp	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-60(%rbp), %ecx
	movl	-56(%rbp), %esi
	movl	-52(%rbp), %edx
	movl	-80(%rbp), %r10d
	movl	-76(%rbp), %ebx
	movl	-72(%rbp), %eax
	movl	%ecx, %edi
	movl	%esi, %r8d
	movl	%edx, %r9d
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	pushq	$1
	callq	_point_add
	addq	$32, %rsp
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	168(%r13), %esi
	movq	%r15, %rdi
	callq	_get_bit
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,8), %ebx
	leal	112(%r13), %esi
	movq	%r15, %rdi
	callq	_get_bit
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %r14d
	orl	%ebx, %r14d
	leal	56(%r13), %esi
	movq	%r15, %rdi
	callq	_get_bit
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %ebx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_get_bit
	orl	%eax, %ebx
	orl	%r14d, %ebx
	movl	%ebx, %edi
	movl	$16, %esi
	movq	32(%rbp), %rdx
	movq	%r12, %rcx
	callq	_select_point
	movl	-60(%rbp), %ecx
	movl	-56(%rbp), %esi
	movl	-52(%rbp), %edx
	movl	-80(%rbp), %r10d
	movl	-76(%rbp), %ebx
	movl	-72(%rbp), %eax
	movl	%ecx, %edi
	movl	%esi, %r8d
	movl	%edx, %r9d
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	pushq	$1
	callq	_point_add
	addq	$32, %rsp
	xorl	%ebx, %ebx
	movl	-84(%rbp), %r12d                ## 4-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%r13d, %eax
	movl	$3435973837, %ecx               ## imm = 0xCCCCCCCD
	imulq	%rcx, %rax
	shrq	$34, %rax
	leal	(%rax,%rax,4), %eax
	movl	%r13d, %ecx
	subl	%eax, %ecx
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	leal	4(%r13), %eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	leal	3(%r13), %eax
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	leal	2(%r13), %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	leal	1(%r13), %eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	%r13, -136(%rbp)                ## 8-byte Spill
	leal	-1(%r13), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	24(%rbp), %r15
	xorl	%r14d, %r14d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=2
	leaq	-60(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$12, %edx
	callq	_memcpy
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=2
	incq	%r14
	addq	$204, %r15
	xorl	%ebx, %ebx
	cmpq	%r14, -160(%rbp)                ## 8-byte Folded Reload
	je	LBB0_17
LBB0_13:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, -120(%rbp)                ## 4-byte Spill
	movq	%r15, -176(%rbp)                ## 8-byte Spill
	movq	-168(%rbp), %r12                ## 8-byte Reload
	movq	(%r12,%r14,8), %rdi
	movl	-116(%rbp), %esi                ## 4-byte Reload
	callq	_get_bit
	movl	%eax, %r15d
	shll	$5, %r15d
	movq	(%r12,%r14,8), %rdi
	movl	-112(%rbp), %esi                ## 4-byte Reload
	callq	_get_bit
	shll	$4, %eax
	orl	%eax, %r15d
	movq	(%r12,%r14,8), %rdi
	movl	-108(%rbp), %esi                ## 4-byte Reload
	callq	_get_bit
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,8), %ebx
	movq	(%r12,%r14,8), %rdi
	movl	-104(%rbp), %esi                ## 4-byte Reload
	callq	_get_bit
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %r13d
	orl	%ebx, %r13d
	orl	%r15d, %r13d
	movq	-176(%rbp), %r15                ## 8-byte Reload
	movq	(%r12,%r14,8), %rdi
	movq	-136(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_get_bit
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %ebx
	movq	(%r12,%r14,8), %rdi
	movl	-88(%rbp), %esi                 ## 4-byte Reload
	callq	_get_bit
	orl	%eax, %ebx
	orl	%r13d, %ebx
	leaq	-128(%rbp), %rdi
	leaq	-124(%rbp), %rsi
	movl	%ebx, %edx
	callq	_ec_GFp_nistp_recode_scalar_bits
	movl	-124(%rbp), %edi
	movl	$17, %esi
	movq	%r15, %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rcx
	callq	_select_point
	movl	-76(%rbp), %esi
	movl	-68(%rbp), %edi
	callq	_felem_neg
	movl	-76(%rbp), %edi
	movl	-68(%rbp), %esi
	movl	-128(%rbp), %edx
	callq	_copy_conditional
	cmpl	$0, -120(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	-60(%rbp), %ecx
	movl	-56(%rbp), %esi
	movl	-52(%rbp), %edx
	movl	-80(%rbp), %r10d
	movl	-76(%rbp), %ebx
	movl	-72(%rbp), %eax
	movl	%ecx, %edi
	movl	%esi, %r8d
	movl	%edx, %r9d
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	movl	16(%rbp), %eax
	pushq	%rax
	callq	_point_add
	addq	$32, %rsp
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-152(%rbp), %r15                ## 8-byte Reload
	movl	-84(%rbp), %r12d                ## 4-byte Reload
	movq	-136(%rbp), %r13                ## 8-byte Reload
	movl	-88(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_18
LBB0_19:
	movl	-60(%rbp), %esi
	movl	-92(%rbp), %edi                 ## 4-byte Reload
	callq	_felem_assign
	movl	-56(%rbp), %esi
	movl	-96(%rbp), %edi                 ## 4-byte Reload
	callq	_felem_assign
	movl	-52(%rbp), %esi
	movl	-100(%rbp), %edi                ## 4-byte Reload
	callq	_felem_assign
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_batch_mul
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function batch_mul
_batch_mul:                             ; @batch_mul
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	str	x7, [sp, #80]                   ; 8-byte Folded Spill
	str	w6, [sp, #92]                   ; 4-byte Folded Spill
	mov	x20, x5
	mov	x21, x4
	str	x3, [sp, #56]                   ; 8-byte Folded Spill
	stp	w1, w2, [sp, #24]               ; 8-byte Folded Spill
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	ldr	x19, [x29, #16]
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	sub	x0, x29, #100
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	mov	w8, #220
	mov	w9, #27
	cmp	w21, #0
	csel	w22, w9, w8, eq
	add	x8, x19, #192
	stp	x8, x19, [sp, #40]              ; 16-byte Folded Spill
	mov	w23, #1
	mov	w8, w21
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	str	x20, [sp, #72]                  ; 8-byte Folded Spill
	str	w21, [sp, #68]                  ; 4-byte Folded Spill
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w28, w22, #1
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w22, #0
	mov	x22, x28
	b.le	LBB0_19
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	cbnz	w23, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	w0, w1, [x29, #-100]
	ldur	w2, [x29, #-92]
	mov	x3, x0
	mov	x4, x1
	mov	x5, x2
	bl	_point_double
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	x20, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w22, #27
	b.hi	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w1, w22, #196
	mov	x0, x20
	bl	_get_bit
	mov	x19, x0
	add	w1, w22, #140
	mov	x0, x20
	bl	_get_bit
	lsl	w8, w0, #2
	orr	w19, w8, w19, lsl #3
	add	w1, w22, #84
	mov	x0, x20
	bl	_get_bit
	orr	w19, w19, w0, lsl #1
	add	w1, w22, #28
	mov	x0, x20
	bl	_get_bit
	orr	w0, w19, w0
	add	x3, sp, #108
	mov	w1, #16
	ldr	x2, [sp, #40]                   ; 8-byte Folded Reload
	bl	_select_point
	cbz	w23, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x0, x29, #100
	add	x1, sp, #108
	mov	w2, #12
	bl	_memcpy
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	w0, w1, [x29, #-100]
	ldur	w2, [x29, #-92]
	ldp	w7, w8, [sp, #108]
	ldr	w9, [sp, #116]
	stp	w8, w9, [sp]
	mov	x3, x0
	mov	x4, x1
	mov	x5, x2
	mov	w6, #1
	bl	_point_add
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w1, w22, #168
	mov	x0, x20
	bl	_get_bit
	mov	x19, x0
	add	w1, w22, #112
	mov	x0, x20
	bl	_get_bit
	lsl	w8, w0, #2
	orr	w19, w8, w19, lsl #3
	add	w1, w22, #56
	mov	x0, x20
	bl	_get_bit
	orr	w19, w19, w0, lsl #1
	mov	x0, x20
	mov	x1, x22
	bl	_get_bit
	orr	w0, w19, w0
	add	x3, sp, #108
	mov	w1, #16
	ldr	x2, [sp, #48]                   ; 8-byte Folded Reload
	bl	_select_point
	ldp	w0, w1, [x29, #-100]
	ldur	w2, [x29, #-92]
	ldp	w7, w8, [sp, #108]
	ldr	w9, [sp, #116]
	stp	w8, w9, [sp]
	mov	x3, x0
	mov	x4, x1
	mov	x5, x2
	mov	w6, #1
	bl	_point_add
	mov	w23, #0
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w21, LBB0_1
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #52429
	movk	w8, #52428, lsl #16
	umull	x8, w22, w8
	lsr	x8, x8, #34
	add	w8, w8, w8, lsl #2
	sub	w8, w22, w8
	cbnz	w8, LBB0_1
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w22, #4
	str	w8, [sp, #96]                   ; 4-byte Folded Spill
	add	w21, w22, #3
	add	w26, w22, #2
	add	w19, w22, #1
	mov	x25, x22
	sub	w28, w22, #1
	ldr	x22, [sp, #32]                  ; 8-byte Folded Reload
	ldr	x27, [sp, #80]                  ; 8-byte Folded Reload
	ldr	x20, [sp, #56]                  ; 8-byte Folded Reload
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=2
	sub	x0, x29, #100
	add	x1, sp, #108
	mov	w2, #12
	bl	_memcpy
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	mov	w23, #0
	add	x20, x20, #8
	add	x27, x27, #204
	subs	x22, x22, #1
	b.eq	LBB0_18
LBB0_16:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x20]
	ldr	w1, [sp, #96]                   ; 4-byte Folded Reload
	bl	_get_bit
	mov	x24, x0
	ldr	x0, [x20]
	mov	x1, x21
	bl	_get_bit
	lsl	w8, w0, #4
	orr	w24, w8, w24, lsl #5
	ldr	x0, [x20]
	mov	x1, x26
	bl	_get_bit
	orr	w24, w24, w0, lsl #3
	ldr	x0, [x20]
	mov	x1, x19
	bl	_get_bit
	orr	w24, w24, w0, lsl #2
	ldr	x0, [x20]
	mov	x1, x25
	bl	_get_bit
	orr	w24, w24, w0, lsl #1
	ldr	x0, [x20]
	mov	x1, x28
	bl	_get_bit
	orr	w2, w24, w0
	add	x0, sp, #104
	add	x1, sp, #100
	bl	_ec_GFp_nistp_recode_scalar_bits
	ldr	w0, [sp, #100]
	add	x3, sp, #108
	mov	w1, #17
	mov	x2, x27
	bl	_select_point
	ldr	w0, [sp, #120]
	ldr	w1, [sp, #112]
	bl	_felem_neg
	ldr	w0, [sp, #112]
	ldr	w1, [sp, #120]
	ldr	w2, [sp, #104]
	bl	_copy_conditional
	cbnz	w23, LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldp	w0, w1, [x29, #-100]
	ldur	w2, [x29, #-92]
	ldp	w7, w8, [sp, #108]
	ldr	w9, [sp, #116]
	stp	w8, w9, [sp]
	mov	x3, x0
	mov	x4, x1
	mov	x5, x2
	ldr	w6, [sp, #92]                   ; 4-byte Folded Reload
	bl	_point_add
	b	LBB0_15
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x20, [sp, #72]                  ; 8-byte Folded Reload
	ldr	w21, [sp, #68]                  ; 4-byte Folded Reload
	mov	x22, x25
	b	LBB0_2
LBB0_19:
	ldur	w1, [x29, #-100]
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	bl	_felem_assign
	ldur	w1, [x29, #-96]
	ldr	w0, [sp, #24]                   ; 4-byte Folded Reload
	bl	_felem_assign
	ldur	w1, [x29, #-92]
	ldr	w0, [sp, #28]                   ; 4-byte Folded Reload
	bl	_felem_assign
	ldur	x8, [x29, #-88]
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_21
; %bb.20:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_batch_mul
.subsections_via_symbols
