	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function underflow_test
_underflow_test:                        ## @underflow_test
	.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
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_24
## %bb.1:
	movq	%r13, %rdi
	callq	_BN_CTX_start
	movq	%r13, %rdi
	callq	_BN_CTX_get
	movq	%rax, -88(%rbp)
	movq	%r13, %rdi
	callq	_BN_CTX_get
	movq	%rax, -80(%rbp)
	movq	%r13, %rdi
	callq	_BN_CTX_get
	movq	%rax, -112(%rbp)
	movq	%r13, %rdi
	callq	_BN_CTX_get
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_BN_CTX_get
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_BN_CTX_get
	movq	%rax, -104(%rbp)
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movq	_NID_secp521r1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EC_GROUP_new_by_curve_name
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_EC_POINT_new
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_EC_POINT_new
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_EC_POINT_new
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	movq	%r12, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_4
## %bb.7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_4
## %bb.8:
	leaq	L_.str(%rip), %rsi
	leaq	-88(%rbp), %rdi
	callq	_BN_hex2bn
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_gt
	testl	%eax, %eax
	je	LBB0_4
## %bb.9:
	leaq	L_.str.1(%rip), %rsi
	leaq	-80(%rbp), %rdi
	callq	_BN_hex2bn
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_gt
	testl	%eax, %eax
	je	LBB0_4
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	leaq	-112(%rbp), %rdi
	callq	_BN_hex2bn
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_gt
	testl	%eax, %eax
	je	LBB0_4
## %bb.11:
	leaq	L_.str.2(%rip), %rsi
	leaq	-104(%rbp), %rdi
	callq	_BN_hex2bn
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_gt
	testl	%eax, %eax
	je	LBB0_4
## %bb.12:
	movq	-88(%rbp), %rdx
	movq	-80(%rbp), %rcx
	movq	-112(%rbp), %r8
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %r9
	callq	_EC_POINT_set_Jprojective_coordinates_GFp
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_4
## %bb.13:
	movq	-104(%rbp), %r8
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movq	%r15, %rcx
	movq	%r13, %r9
	callq	_EC_POINT_mul
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_4
## %bb.14:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rdx
	movq	-80(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	movq	%r13, %r8
	callq	_EC_POINT_get_affine_coordinates
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:
	movq	%rbx, %r15
	movq	%r14, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_EC_POINT_dbl
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r13, %r8
	callq	_EC_POINT_get_affine_coordinates
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_22
## %bb.19:
	movq	-88(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_BN_cmp
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_20
## %bb.21:
	movq	-80(%rbp), %rdi
	movq	%r15, %rsi
	callq	_BN_cmp
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_eq
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
LBB0_4:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_2:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
LBB0_23:
	movq	%r13, %rdi
	callq	_BN_CTX_end
	movq	%r15, %rdi
	callq	_EC_POINT_free
	movq	%r12, %rdi
	callq	_EC_POINT_free
	movq	%rbx, %rdi
	callq	_EC_POINT_free
	movq	%r14, %rdi
	callq	_EC_GROUP_free
	movq	%r13, %rdi
	callq	_BN_CTX_free
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_24:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_17:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_20:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_22:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"1534f0077fffffe87e9adcfe000000000000000000003e05a21d2400002e031b1f4b80000c6fafa4f3c1288798d624a247b5e2ffffffffffffffefe099241900004"

L_.str.1:                               ## @.str.1
	.asciz	"1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe"

	.comm	_NID_secp521r1,4,2              ## @NID_secp521r1
L_.str.2:                               ## @.str.2
	.asciz	"02"

	.no_dead_strip	_underflow_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function underflow_test
_underflow_test:                        ; @underflow_test
	.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
	bl	_BN_CTX_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_17
; %bb.1:
	mov	x0, x19
	bl	_BN_CTX_start
	mov	x0, x19
	bl	_BN_CTX_get
	str	x0, [sp, #24]
	mov	x0, x19
	bl	_BN_CTX_get
	str	x0, [sp, #16]
	mov	x0, x19
	bl	_BN_CTX_get
	str	x0, [sp, #8]
	mov	x0, x19
	bl	_BN_CTX_get
	mov	x25, x0
	mov	x0, x19
	bl	_BN_CTX_get
	mov	x24, x0
	mov	x0, x19
	bl	_BN_CTX_get
	str	x0, [sp]
	bl	_TEST_ptr
	cbz	w0, LBB0_18
; %bb.2:
Lloh0:
	adrp	x8, _NID_secp521r1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NID_secp521r1@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_EC_GROUP_new_by_curve_name
	mov	x20, x0
	bl	_EC_POINT_new
	mov	x21, x0
	mov	x0, x20
	bl	_EC_POINT_new
	mov	x22, x0
	mov	x0, x20
	bl	_EC_POINT_new
	mov	x23, x0
	mov	x0, x20
	bl	_TEST_ptr
	cbz	w0, LBB0_19
; %bb.3:
	mov	x0, x21
	bl	_TEST_ptr
	cbz	w0, LBB0_19
; %bb.4:
	mov	x0, x22
	bl	_TEST_ptr
	cbz	w0, LBB0_19
; %bb.5:
	mov	x0, x23
	bl	_TEST_ptr
	cbz	w0, LBB0_19
; %bb.6:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	bl	_BN_hex2bn
	mov	w1, #0
	bl	_TEST_int_gt
	cbz	w0, LBB0_19
; %bb.7:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #16
	bl	_BN_hex2bn
	mov	w1, #0
	bl	_TEST_int_gt
	cbz	w0, LBB0_19
; %bb.8:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_BN_hex2bn
	mov	w1, #0
	bl	_TEST_int_gt
	cbz	w0, LBB0_19
; %bb.9:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, sp
	bl	_BN_hex2bn
	mov	w1, #0
	bl	_TEST_int_gt
	cbz	w0, LBB0_19
; %bb.10:
	ldp	x3, x2, [sp, #16]
	ldr	x4, [sp, #8]
	mov	x0, x20
	mov	x1, x21
	mov	x5, x19
	bl	_EC_POINT_set_Jprojective_coordinates_GFp
	bl	_TEST_true
	cbz	w0, LBB0_19
; %bb.11:
	ldr	x4, [sp]
	mov	x0, x20
	mov	x1, x22
	mov	x2, #0
	mov	x3, x21
	mov	x5, x19
	bl	_EC_POINT_mul
	bl	_TEST_true
	cbz	w0, LBB0_19
; %bb.12:
	ldp	x3, x2, [sp, #16]
	mov	x0, x20
	mov	x1, x22
	mov	x4, x19
	bl	_EC_POINT_get_affine_coordinates
	bl	_TEST_true
	cbz	w0, LBB0_19
; %bb.13:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	mov	x3, x19
	bl	_EC_POINT_dbl
	bl	_TEST_true
	cbz	w0, LBB0_19
; %bb.14:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x25
	mov	x3, x24
	mov	x4, x19
	bl	_EC_POINT_get_affine_coordinates
	bl	_TEST_true
	cbz	w0, LBB0_19
; %bb.15:
	ldr	x0, [sp, #24]
	mov	x1, x25
	bl	_BN_cmp
	mov	w1, #0
	bl	_TEST_int_eq
	cbz	w0, LBB0_19
; %bb.16:
	ldr	x0, [sp, #16]
	mov	x1, x24
	bl	_BN_cmp
	mov	w1, #0
	bl	_TEST_int_eq
	cmp	w0, #0
	cset	w24, ne
	b	LBB0_20
LBB0_17:
	mov	w24, #0
	b	LBB0_21
LBB0_18:
	mov	x20, #0
	mov	x21, #0
	mov	x22, #0
	mov	x23, #0
LBB0_19:
	mov	w24, #0
LBB0_20:
	mov	x0, x19
	bl	_BN_CTX_end
	mov	x0, x21
	bl	_EC_POINT_free
	mov	x0, x22
	bl	_EC_POINT_free
	mov	x0, x23
	bl	_EC_POINT_free
	mov	x0, x20
	bl	_EC_GROUP_free
	mov	x0, x19
	bl	_BN_CTX_free
LBB0_21:
	mov	x0, x24
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"1534f0077fffffe87e9adcfe000000000000000000003e05a21d2400002e031b1f4b80000c6fafa4f3c1288798d624a247b5e2ffffffffffffffefe099241900004"

l_.str.1:                               ; @.str.1
	.asciz	"1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe"

	.comm	_NID_secp521r1,4,2              ; @NID_secp521r1
l_.str.2:                               ; @.str.2
	.asciz	"02"

	.no_dead_strip	_underflow_test
.subsections_via_symbols
