	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_curve
_test_curve:                            ## @test_curve
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -40(%rbp)
	movq	_NID_X9_62_prime256v1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EC_GROUP_new_by_curve_name
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	%rbx, %rdi
	callq	_EC_GROUP_get0_generator
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_EC_POINT_dup
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	movq	_num_repeats@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_walk_curve
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	movq	_print_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_bio_out@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%r12, %rsi
	callq	_BN_print
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BIO_printf
	movl	$1, %r15d
	jmp	LBB0_8
LBB0_5:
	movq	_kP256DefaultResult@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdi
	callq	_BN_hex2bn
	movl	%eax, %edi
	callq	_TEST_true
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movq	-40(%rbp), %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	-40(%rbp), %rsi
	movq	%r12, %rdi
	callq	_TEST_BN_eq
	xorl	%r15d, %r15d
	testl	%eax, %eax
	setne	%r15b
LBB0_8:
	movq	%rbx, %rdi
	callq	_EC_GROUP_free
	movq	%r14, %rdi
	callq	_EC_POINT_free
	movq	%r12, %rdi
	callq	_BN_free
	movq	-40(%rbp), %rdi
	callq	_BN_free
LBB0_9:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_X9_62_prime256v1,4,2       ## @NID_X9_62_prime256v1
	.comm	_num_repeats,4,2                ## @num_repeats
	.comm	_print_mode,8,3                 ## @print_mode
	.comm	_bio_out,4,2                    ## @bio_out
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_kP256DefaultResult,4,2         ## @kP256DefaultResult
	.no_dead_strip	_test_curve
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_curve
_test_curve:                            ; @test_curve
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _NID_X9_62_prime256v1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NID_X9_62_prime256v1@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_EC_GROUP_new_by_curve_name
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_EC_GROUP_get0_generator
	mov	x1, x19
	bl	_EC_POINT_dup
	mov	x20, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _num_repeats@GOTPAGE
Lloh4:
	ldr	x8, [x8, _num_repeats@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_walk_curve
	mov	x21, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _print_mode@GOTPAGE
Lloh7:
	ldr	x8, [x8, _print_mode@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.4:
Lloh9:
	adrp	x22, _bio_out@GOTPAGE
Lloh10:
	ldr	x22, [x22, _bio_out@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x21
	bl	_BN_print
	ldr	w0, [x22]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_printf
	mov	w22, #1
	b	LBB0_10
LBB0_5:
	mov	w22, #0
	b	LBB0_11
LBB0_6:
Lloh13:
	adrp	x8, _kP256DefaultResult@GOTPAGE
Lloh14:
	ldr	x8, [x8, _kP256DefaultResult@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_BN_hex2bn
	bl	_TEST_true
	cbz	w0, LBB0_9
; %bb.7:
	ldr	x0, [sp, #8]
	bl	_TEST_ptr
	cbz	w0, LBB0_9
; %bb.8:
	ldr	x1, [sp, #8]
	mov	x0, x21
	bl	_TEST_BN_eq
	cmp	w0, #0
	cset	w22, ne
	b	LBB0_10
LBB0_9:
	mov	w22, #0
LBB0_10:
	mov	x0, x19
	bl	_EC_GROUP_free
	mov	x0, x20
	bl	_EC_POINT_free
	mov	x0, x21
	bl	_BN_free
	ldr	x0, [sp, #8]
	bl	_BN_free
LBB0_11:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_X9_62_prime256v1,4,2       ; @NID_X9_62_prime256v1
	.comm	_num_repeats,4,2                ; @num_repeats
	.comm	_print_mode,8,3                 ; @print_mode
	.comm	_bio_out,4,2                    ; @bio_out
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_kP256DefaultResult,4,2         ; @kP256DefaultResult
	.no_dead_strip	_test_curve
.subsections_via_symbols
