	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ec_point_hex2point_test
_ec_point_hex2point_test:               ## @ec_point_hex2point_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_curves@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movl	(%rax,%rcx,4), %ebx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movl	%ebx, %edi
	callq	_EC_GROUP_new_by_curve_name
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_11
## %bb.2:
	movq	%r13, %rdi
	callq	_EC_GROUP_get0_generator
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_12
## %bb.3:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_EC_POINT_dup
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_13
## %bb.4:
	movq	_POINT_CONVERSION_COMPRESSED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rcx
	callq	_ec_point_hex2point_test_helper
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_13
## %bb.5:
	movl	(%rbx), %edx
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%r14, %rcx
	callq	_ec_point_hex2point_test_helper
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_13
## %bb.6:
	movq	_POINT_CONVERSION_UNCOMPRESSED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rcx
	callq	_ec_point_hex2point_test_helper
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_13
## %bb.7:
	movl	(%rbx), %edx
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%r14, %rcx
	callq	_ec_point_hex2point_test_helper
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_13
## %bb.8:
	movq	_POINT_CONVERSION_HYBRID@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rcx
	callq	_ec_point_hex2point_test_helper
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movl	(%rbx), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%r14, %rcx
	callq	_ec_point_hex2point_test_helper
	movl	%eax, %edi
	callq	_TEST_true
	xorl	%r15d, %r15d
	testl	%eax, %eax
	setne	%r15b
	jmp	LBB0_13
LBB0_10:
	xorl	%r13d, %r13d
	jmp	LBB0_12
LBB0_11:
	xorl	%r15d, %r15d
LBB0_12:
	xorl	%r12d, %r12d
LBB0_13:
	movq	%r12, %rdi
	callq	_EC_POINT_free
	movq	%r13, %rdi
	callq	_EC_GROUP_free
	movq	%r14, %rdi
	callq	_BN_CTX_free
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_curves,8,3                     ## @curves
	.comm	_POINT_CONVERSION_COMPRESSED,4,2 ## @POINT_CONVERSION_COMPRESSED
	.comm	_POINT_CONVERSION_UNCOMPRESSED,4,2 ## @POINT_CONVERSION_UNCOMPRESSED
	.comm	_POINT_CONVERSION_HYBRID,4,2    ## @POINT_CONVERSION_HYBRID
	.no_dead_strip	_ec_point_hex2point_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ec_point_hex2point_test
_ec_point_hex2point_test:               ; @ec_point_hex2point_test
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _curves@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curves@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w20, [x8, w0, sxtw #2]
	bl	_BN_CTX_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_11
; %bb.1:
	mov	x0, x20
	bl	_EC_GROUP_new_by_curve_name
	mov	x20, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_10
; %bb.2:
	mov	x0, x20
	bl	_EC_GROUP_get0_generator
	mov	x21, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_10
; %bb.3:
	mov	x0, x21
	mov	x1, x20
	bl	_EC_POINT_dup
	mov	x21, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_13
; %bb.4:
Lloh3:
	adrp	x22, _POINT_CONVERSION_COMPRESSED@GOTPAGE
Lloh4:
	ldr	x22, [x22, _POINT_CONVERSION_COMPRESSED@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_ec_point_hex2point_test_helper
	bl	_TEST_true
	cbz	w0, LBB0_13
; %bb.5:
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, #0
	mov	x3, x19
	bl	_ec_point_hex2point_test_helper
	bl	_TEST_true
	cbz	w0, LBB0_13
; %bb.6:
Lloh5:
	adrp	x22, _POINT_CONVERSION_UNCOMPRESSED@GOTPAGE
Lloh6:
	ldr	x22, [x22, _POINT_CONVERSION_UNCOMPRESSED@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_ec_point_hex2point_test_helper
	bl	_TEST_true
	cbz	w0, LBB0_13
; %bb.7:
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, #0
	mov	x3, x19
	bl	_ec_point_hex2point_test_helper
	bl	_TEST_true
	cbz	w0, LBB0_13
; %bb.8:
Lloh7:
	adrp	x22, _POINT_CONVERSION_HYBRID@GOTPAGE
Lloh8:
	ldr	x22, [x22, _POINT_CONVERSION_HYBRID@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_ec_point_hex2point_test_helper
	bl	_TEST_true
	cbz	w0, LBB0_13
; %bb.9:
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, #0
	mov	x3, x19
	bl	_ec_point_hex2point_test_helper
	bl	_TEST_true
	cmp	w0, #0
	cset	w22, ne
	b	LBB0_14
LBB0_10:
	mov	w22, #0
	b	LBB0_12
LBB0_11:
	mov	w22, #0
	mov	x20, #0
LBB0_12:
	mov	x21, #0
	b	LBB0_14
LBB0_13:
	mov	w22, #0
LBB0_14:
	mov	x0, x21
	bl	_EC_POINT_free
	mov	x0, x20
	bl	_EC_GROUP_free
	mov	x0, x19
	bl	_BN_CTX_free
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_curves,8,3                     ; @curves
	.comm	_POINT_CONVERSION_COMPRESSED,4,2 ; @POINT_CONVERSION_COMPRESSED
	.comm	_POINT_CONVERSION_UNCOMPRESSED,4,2 ; @POINT_CONVERSION_UNCOMPRESSED
	.comm	_POINT_CONVERSION_HYBRID,4,2    ; @POINT_CONVERSION_HYBRID
	.no_dead_strip	_ec_point_hex2point_test
.subsections_via_symbols
