	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_msqrt                       ## -- Begin function mp_msqrt
	.p2align	4, 0x90
_mp_msqrt:                              ## @mp_msqrt
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	__bnerr
LBB0_2:
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	__itom
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	__itom
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__itom
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__itom
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__itom
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__itom
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	L_.str(%rip), %r13
	movq	%r13, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	__movem
	movq	%r13, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r12, %rcx
	movq	%r14, %r8
	movq	%r15, %r9
	callq	__mdiv
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	__madd
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$2, %edx
	movq	%rbx, %rcx
	leaq	-50(%rbp), %r8
	movq	%r15, %r9
	callq	__sdiv
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	__msub
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	callq	__mcmpa
	cmpl	$1, %eax
	je	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	callq	__movem
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rcx
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %r8
	callq	__mult
	movq	%r14, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	%r13, %rdx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	__msub
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	callq	__movem
	movq	%r14, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	__mfree
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	__mfree
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	__mfree
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	__mfree
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	__mfree
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	__mfree
	movq	%r12, %rdi
	callq	_BN_CTX_free
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"msqrt"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_msqrt                       ; -- Begin function mp_msqrt
	.p2align	2
_mp_msqrt:                              ; @mp_msqrt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x2, [sp]                        ; 8-byte Folded Spill
	mov	x24, x1
	mov	x21, x0
	bl	_BN_CTX_new
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__bnerr
LBB0_2:
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	mov	w1, #1
	bl	__itom
	mov	x23, x0
	mov	x0, x20
	mov	w1, #1
	bl	__itom
	mov	x22, x0
	mov	x0, x20
	mov	w1, #0
	bl	__itom
	mov	x27, x0
	mov	x0, x20
	mov	w1, #0
	bl	__itom
	mov	x25, x0
	mov	x0, x20
	mov	w1, #0
	bl	__itom
	mov	x26, x0
	mov	x0, x20
	mov	w1, #0
	bl	__itom
	mov	x28, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x27
	bl	__movem
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x25
	mov	x4, x26
	mov	x5, x19
	bl	__mdiv
	mov	x0, x20
	mov	x1, x22
	mov	x2, x25
	mov	x3, x26
	bl	__madd
	add	x4, sp, #14
	mov	x0, x20
	mov	x1, x26
	mov	w2, #2
	mov	x3, x22
	mov	x5, x19
	bl	__sdiv
	mov	x0, x20
	mov	x1, x27
	mov	x2, x22
	mov	x3, x28
	bl	__msub
	mov	x0, x20
	mov	x1, x28
	mov	x2, x23
	bl	__mcmpa
	cmp	w0, #1
	b.eq	LBB0_3
; %bb.4:
Lloh4:
	adrp	x20, l_.str@PAGE
Lloh5:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	bl	__movem
	mov	x0, x20
	mov	x1, x22
	mov	x2, x22
	mov	x3, x25
	mov	x4, x19
	bl	__mult
	mov	x0, x20
	mov	x1, x21
	mov	x2, x25
	mov	x3, x26
	bl	__msub
	mov	x0, x20
	mov	x1, x26
	ldr	x2, [sp]                        ; 8-byte Folded Reload
	bl	__movem
	mov	x0, x20
	mov	x1, x23
	bl	__mfree
	mov	x0, x20
	mov	x1, x27
	bl	__mfree
	mov	x0, x20
	mov	x1, x22
	bl	__mfree
	mov	x0, x20
	mov	x1, x25
	bl	__mfree
	mov	x0, x20
	mov	x1, x26
	bl	__mfree
	mov	x0, x20
	mov	x1, x28
	bl	__mfree
	mov	x0, x19
	bl	_BN_CTX_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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"msqrt"

.subsections_via_symbols
