	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecp_normalize_jac_many
_ecp_normalize_jac_many:                ## @ecp_normalize_jac_many
	.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	%rsi, %r12
	movq	%rdi, %r14
	cmpq	$1, %rdx
	ja	LBB0_1
## %bb.14:
	movq	(%r12), %rsi
	movq	%r14, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ecp_normalize_jac              ## TAILCALL
LBB0_1:
	movq	%rdx, %rbx
	movq	%rdx, %rdi
	movl	$4, %esi
	callq	_mbedtls_calloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r13
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rdi
	callq	_mbedtls_mpi_init
	leaq	-44(%rbp), %rdi
	callq	_mbedtls_mpi_init
	leaq	-52(%rbp), %rdi
	callq	_mbedtls_mpi_init
	movq	(%r12), %rsi
	movq	%r13, %rdi
	callq	_mbedtls_mpi_copy
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	-1(%rbx), %r14
	leaq	8(%r12), %r15
	leaq	4(%r13), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-4(%rbx), %rsi
	movq	(%r15), %rdx
	movq	%rbx, %rdi
	callq	_mbedtls_mpi_mul_mpi
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movl	(%rbx), %edi
	callq	_MOD_MUL
	addq	$8, %r15
	addq	$4, %rbx
	decq	%r14
	jne	LBB0_4
## %bb.5:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	leaq	-1(%r14), %rbx
	leaq	-4(,%r14,4), %rsi
	addq	%r13, %rsi
	leaq	-48(%rbp), %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_mbedtls_mpi_inv_mod
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%r13, %rax
	leaq	-2(%r14), %r13
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%r14,4), %r14
	addq	$-8, %r14
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	leaq	-44(%rbp), %r15
	movq	%r15, %rdi
	leaq	-48(%rbp), %rsi
	callq	_mbedtls_mpi_copy
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	$-1, -80(%rbp)                  ## 8-byte Folded Spill
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	leaq	-52(%rbp), %r13
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r15, %rdx
	callq	_mbedtls_mpi_mul_mpi
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movl	-52(%rbp), %edi
	callq	_MOD_MUL
	movq	(%r12,%rbx,8), %rdi
	addq	$8, %rdi
	movq	%rdi, %rsi
	movq	%r13, %rdx
	callq	_mbedtls_mpi_mul_mpi
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	(%r12,%rbx,8), %rax
	movl	8(%rax), %edi
	callq	_MOD_MUL
	movq	(%r12,%rbx,8), %rdi
	addq	$4, %rdi
	movq	%rdi, %rsi
	movq	%r13, %rdx
	callq	_mbedtls_mpi_mul_mpi
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	(%r12,%rbx,8), %rax
	movl	4(%rax), %edi
	callq	_MOD_MUL
	movq	(%r12,%rbx,8), %rdi
	addq	$4, %rdi
	movq	%rdi, %rsi
	movq	%r15, %rdx
	callq	_mbedtls_mpi_mul_mpi
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	(%r12,%rbx,8), %rax
	movl	4(%rax), %edi
	callq	_MOD_MUL
	movq	(%r12,%rbx,8), %rdi
	addq	$8, %rdi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %esi
	callq	_mbedtls_mpi_shrink
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	(%r12,%rbx,8), %rdi
	addq	$4, %rdi
	movl	(%r15), %esi
	callq	_mbedtls_mpi_shrink
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	(%r12,%rbx,8), %rdi
	callq	_mbedtls_mpi_free
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	decq	%r13
	addq	$-4, %r14
	testq	%rbx, %rbx
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %r15
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_mbedtls_mpi_mul_mpi
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movl	-44(%rbp), %edi
	callq	_MOD_MUL
	movq	(%r12,%rbx,8), %rdx
	movq	%r15, %rdi
	movq	%r15, %rsi
	leaq	-44(%rbp), %r15
	callq	_mbedtls_mpi_mul_mpi
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movl	-48(%rbp), %edi
	callq	_MOD_MUL
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_10:
	leaq	-48(%rbp), %rdi
	callq	_mbedtls_mpi_free
	leaq	-44(%rbp), %rdi
	callq	_mbedtls_mpi_free
	leaq	-52(%rbp), %rdi
	callq	_mbedtls_mpi_free
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$2, %rax
	movl	$1, %r14d
	cmovaeq	%rax, %r14
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_mbedtls_mpi_free
	addq	$4, %rbx
	decq	%r14
	jne	LBB0_11
## %bb.12:
	movq	%r15, %rdi
	callq	_mbedtls_free
                                        ## implicit-def: $eax
	jmp	LBB0_13
LBB0_2:
	movq	_MBEDTLS_ERR_ECP_ALLOC_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_ECP_ALLOC_FAILED,4,2 ## @MBEDTLS_ERR_ECP_ALLOC_FAILED
	.no_dead_strip	_ecp_normalize_jac_many
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecp_normalize_jac_many
_ecp_normalize_jac_many:                ; @ecp_normalize_jac_many
	.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	x23, x1
	mov	x21, x0
	subs	x24, x2, #1
	b.hi	LBB0_2
; %bb.1:
	ldr	x1, [x23]
	mov	x0, x21
	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
	b	_ecp_normalize_jac
LBB0_2:
	mov	x20, x2
	mov	x0, x2
	mov	w1, #4
	bl	_mbedtls_calloc
	cbz	x0, LBB0_13
; %bb.3:
	mov	x19, x0
	add	x0, sp, #12
	bl	_mbedtls_mpi_init
	add	x0, sp, #8
	bl	_mbedtls_mpi_init
	add	x0, sp, #4
	bl	_mbedtls_mpi_init
	mov	x25, x23
	ldr	x1, [x25], #8
	mov	x0, x19
	bl	_mbedtls_mpi_copy
	bl	_MBEDTLS_MPI_CHK
	add	x22, x19, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x1, x22, #4
	ldr	x2, [x25], #8
	mov	x0, x22
	bl	_mbedtls_mpi_mul_mpi
	bl	_MBEDTLS_MPI_CHK
	ldr	w0, [x22], #4
	bl	_MOD_MUL
	subs	x24, x24, #1
	b.ne	LBB0_4
; %bb.5:
	add	x22, x19, x20, lsl #2
	sub	x1, x22, #4
	add	x0, sp, #12
	mov	x2, x21
	bl	_mbedtls_mpi_inv_mod
	bl	_MBEDTLS_MPI_CHK
	sub	x22, x22, #8
	sub	x23, x23, #8
	mov	x24, x20
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x2, x22
	bl	_mbedtls_mpi_mul_mpi
	bl	_MBEDTLS_MPI_CHK
	ldr	w0, [sp, #8]
	bl	_MOD_MUL
	ldr	x2, [x23, x24, lsl #3]
	add	x0, sp, #12
	add	x1, sp, #12
	bl	_mbedtls_mpi_mul_mpi
	bl	_MBEDTLS_MPI_CHK
	ldr	w0, [sp, #12]
	bl	_MOD_MUL
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #4
	add	x1, sp, #8
	add	x2, sp, #8
	bl	_mbedtls_mpi_mul_mpi
	bl	_MBEDTLS_MPI_CHK
	ldr	w0, [sp, #4]
	bl	_MOD_MUL
	lsl	x25, x24, #3
	ldr	x8, [x23, x25]
	add	x0, x8, #8
	add	x2, sp, #4
	mov	x1, x0
	bl	_mbedtls_mpi_mul_mpi
	bl	_MBEDTLS_MPI_CHK
	ldr	x8, [x23, x25]
	ldr	w0, [x8, #8]
	bl	_MOD_MUL
	ldr	x8, [x23, x25]
	add	x0, x8, #4
	add	x2, sp, #4
	mov	x1, x0
	bl	_mbedtls_mpi_mul_mpi
	bl	_MBEDTLS_MPI_CHK
	ldr	x8, [x23, x25]
	ldr	w0, [x8, #4]
	bl	_MOD_MUL
	ldr	x8, [x23, x25]
	add	x0, x8, #4
	add	x2, sp, #8
	mov	x1, x0
	bl	_mbedtls_mpi_mul_mpi
	bl	_MBEDTLS_MPI_CHK
	ldr	x8, [x23, x25]
	ldr	w0, [x8, #4]
	bl	_MOD_MUL
	ldr	x8, [x23, x25]
	add	x0, x8, #8
	ldr	w1, [x21]
	bl	_mbedtls_mpi_shrink
	bl	_MBEDTLS_MPI_CHK
	ldr	x8, [x23, x25]
	add	x0, x8, #4
	ldr	w1, [x21]
	bl	_mbedtls_mpi_shrink
	bl	_MBEDTLS_MPI_CHK
	ldr	x0, [x23, x25]
	bl	_mbedtls_mpi_free
	sub	x22, x22, #4
	subs	x24, x24, #1
	b.eq	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	add	x1, sp, #12
	cmp	x24, #1
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_mbedtls_mpi_copy
	bl	_MBEDTLS_MPI_CHK
	b	LBB0_7
LBB0_10:
	add	x0, sp, #12
	bl	_mbedtls_mpi_free
	add	x0, sp, #8
	bl	_mbedtls_mpi_free
	add	x0, sp, #4
	bl	_mbedtls_mpi_free
	cmp	x20, #1
	csinc	x21, x20, xzr, hi
	mov	x20, x19
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_mbedtls_mpi_free
	add	x20, x20, #4
	subs	x21, x21, #1
	b.ne	LBB0_11
; %bb.12:
	mov	x0, x19
	bl	_mbedtls_free
                                        ; implicit-def: $w0
	b	LBB0_14
LBB0_13:
Lloh0:
	adrp	x8, _MBEDTLS_ERR_ECP_ALLOC_FAILED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ERR_ECP_ALLOC_FAILED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_14:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_ECP_ALLOC_FAILED,4,2 ; @MBEDTLS_ERR_ECP_ALLOC_FAILED
	.no_dead_strip	_ecp_normalize_jac_many
.subsections_via_symbols
