	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecp_normalize_jac
_ecp_normalize_jac:                     ## @ecp_normalize_jac
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_mbedtls_mpi_cmp_int
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	callq	_mbedtls_mpi_init
	leaq	-44(%rbp), %r15
	movq	%r15, %rdi
	callq	_mbedtls_mpi_init
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_mbedtls_mpi_inv_mod
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r14, %rdx
	callq	_mbedtls_mpi_mul_mpi
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movl	-44(%rbp), %edi
	callq	_MOD_MUL
	leaq	8(%r13), %rdi
	movq	%rdi, %rsi
	movq	%r15, %rdx
	callq	_mbedtls_mpi_mul_mpi
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movl	8(%r13), %edi
	callq	_MOD_MUL
	leaq	4(%r13), %rbx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_mbedtls_mpi_mul_mpi
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movl	4(%r13), %edi
	callq	_MOD_MUL
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_mbedtls_mpi_mul_mpi
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movl	4(%r13), %edi
	callq	_MOD_MUL
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_mbedtls_mpi_lset
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%r14, %rdi
	callq	_mbedtls_mpi_free
	movq	%r15, %rdi
	callq	_mbedtls_mpi_free
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ecp_normalize_jac
.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
_ecp_normalize_jac:                     ; @ecp_normalize_jac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	mov	w1, #0
	bl	_mbedtls_mpi_cmp_int
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, sp, #12
	bl	_mbedtls_mpi_init
	add	x0, sp, #8
	bl	_mbedtls_mpi_init
	add	x0, sp, #12
	mov	x1, x19
	mov	x2, x20
	bl	_mbedtls_mpi_inv_mod
	bl	_MBEDTLS_MPI_CHK
	add	x0, sp, #8
	add	x1, sp, #12
	add	x2, sp, #12
	bl	_mbedtls_mpi_mul_mpi
	bl	_MBEDTLS_MPI_CHK
	ldr	w0, [sp, #8]
	bl	_MOD_MUL
	add	x0, x19, #8
	add	x2, sp, #8
	mov	x1, x0
	bl	_mbedtls_mpi_mul_mpi
	bl	_MBEDTLS_MPI_CHK
	ldr	w0, [x19, #8]
	bl	_MOD_MUL
	add	x20, x19, #4
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x20
	bl	_mbedtls_mpi_mul_mpi
	bl	_MBEDTLS_MPI_CHK
	ldr	w0, [x19, #4]
	bl	_MOD_MUL
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x20
	bl	_mbedtls_mpi_mul_mpi
	bl	_MBEDTLS_MPI_CHK
	ldr	w0, [x19, #4]
	bl	_MOD_MUL
	mov	x0, x19
	mov	w1, #1
	bl	_mbedtls_mpi_lset
	bl	_MBEDTLS_MPI_CHK
	add	x0, sp, #12
	bl	_mbedtls_mpi_free
	add	x0, sp, #8
	bl	_mbedtls_mpi_free
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ecp_normalize_jac
.subsections_via_symbols
