	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecp_mul_mxz
_ecp_mul_mxz:                           ## @ecp_mul_mxz
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, %rbx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	callq	_mbedtls_ecp_point_init
	leaq	-44(%rbp), %r15
	movq	%r15, %rdi
	callq	_mbedtls_mpi_init
	leaq	4(%rbx), %rsi
	movq	%r15, %rdi
	callq	_mbedtls_mpi_copy
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_mbedtls_ecp_copy
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	leaq	4(%r13), %rdi
	movq	%rdi, %r15
	movl	$1, %esi
	callq	_mbedtls_mpi_lset
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_mbedtls_mpi_lset
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	leaq	8(%r13), %rdi
	callq	_mbedtls_mpi_free
	movl	-52(%rbp), %edi
	callq	_MOD_ADD
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	leaq	-56(%rbp), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_ecp_randomize_mxz
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
LBB0_2:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_mbedtls_mpi_bitlen
	testq	%rax, %rax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.3:
	movq	%rax, %r12
	decq	%r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_mbedtls_mpi_get_bit
	movzbl	%al, %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	-52(%rbp), %rsi
	movl	%r15d, %edx
	callq	_mbedtls_mpi_safe_cond_swap
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%r13, %rdi
	movq	%r13, %r14
	leaq	-56(%rbp), %r13
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_mbedtls_mpi_safe_cond_swap
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	leaq	-44(%rbp), %r9
	callq	_ecp_double_add_mxz
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%rbx, %rdi
	leaq	-52(%rbp), %rsi
	movl	%r15d, %edx
	callq	_mbedtls_mpi_safe_cond_swap
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r14, %r13
	movl	%r15d, %edx
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	callq	_mbedtls_mpi_safe_cond_swap
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	addq	$-1, %r12
	jb	LBB0_4
LBB0_5:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_ecp_normalize_mxz
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	leaq	-56(%rbp), %rdi
	callq	_mbedtls_ecp_point_free
	leaq	-44(%rbp), %rdi
	callq	_mbedtls_mpi_free
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ecp_mul_mxz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecp_mul_mxz
_ecp_mul_mxz:                           ; @ecp_mul_mxz
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x23, x5
	mov	x24, x4
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	add	x25, sp, #16
	add	x0, sp, #16
	bl	_mbedtls_ecp_point_init
	add	x0, sp, #12
	bl	_mbedtls_mpi_init
	add	x1, x22, #4
	add	x0, sp, #12
	bl	_mbedtls_mpi_copy
	bl	_MBEDTLS_MPI_CHK
	add	x0, sp, #16
	mov	x1, x22
	bl	_mbedtls_ecp_copy
	bl	_MBEDTLS_MPI_CHK
	add	x22, x19, #4
	mov	x0, x22
	mov	w1, #1
	bl	_mbedtls_mpi_lset
	bl	_MBEDTLS_MPI_CHK
	mov	x0, x19
	mov	w1, #0
	bl	_mbedtls_mpi_lset
	bl	_MBEDTLS_MPI_CHK
	add	x0, x19, #8
	bl	_mbedtls_mpi_free
	ldr	w0, [sp, #20]
	bl	_MOD_ADD
	cbz	x24, LBB0_2
; %bb.1:
	add	x1, sp, #16
	mov	x0, x20
	mov	x2, x24
	mov	x3, x23
	bl	_ecp_randomize_mxz
	bl	_MBEDTLS_MPI_CHK
LBB0_2:
	mov	x0, x21
	bl	_mbedtls_mpi_bitlen
	cbz	x0, LBB0_5
; %bb.3:
	orr	x23, x25, #0x4
	sub	x24, x0, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_mbedtls_mpi_get_bit
	mov	x25, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x25
	bl	_mbedtls_mpi_safe_cond_swap
	bl	_MBEDTLS_MPI_CHK
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, x25
	bl	_mbedtls_mpi_safe_cond_swap
	bl	_MBEDTLS_MPI_CHK
	add	x2, sp, #16
	add	x4, sp, #16
	add	x5, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	x3, x19
	bl	_ecp_double_add_mxz
	bl	_MBEDTLS_MPI_CHK
	mov	x0, x22
	mov	x1, x23
	mov	x2, x25
	bl	_mbedtls_mpi_safe_cond_swap
	bl	_MBEDTLS_MPI_CHK
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, x25
	bl	_mbedtls_mpi_safe_cond_swap
	bl	_MBEDTLS_MPI_CHK
	sub	x24, x24, #1
	cmn	x24, #1
	b.ne	LBB0_4
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_ecp_normalize_mxz
	bl	_MBEDTLS_MPI_CHK
	add	x0, sp, #16
	bl	_mbedtls_ecp_point_free
	add	x0, sp, #12
	bl	_mbedtls_mpi_free
	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
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ecp_mul_mxz
.subsections_via_symbols
