	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EC_POINT_point2hex             ## -- Begin function EC_POINT_point2hex
	.p2align	4, 0x90
_EC_POINT_point2hex:                    ## @EC_POINT_point2hex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r8
	movq	$0, -24(%rbp)
	leaq	-24(%rbp), %rcx
	callq	_EC_POINT_point2buf
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	(%rax,%rax), %rdi
	addq	$2, %rdi
	callq	_OPENSSL_malloc
	movq	-24(%rbp), %rdi
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	testb	$1, %bl
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %r8
	movq	%r14, %rax
	cmpq	$1, %rbx
	jne	LBB0_8
	jmp	LBB0_10
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_3:
	xorl	%r14d, %r14d
	jmp	LBB0_11
LBB0_6:
	movzbl	(%rdi), %eax
	incq	%rdi
	movq	_HEX_DIGITS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rax, %rsi
	shrq	$4, %rsi
	movb	(%rdx,%rsi,8), %dl
	movb	%dl, (%r14)
	movq	(%rcx), %rcx
	andl	$15, %eax
	movb	(%rcx,%rax,8), %cl
	movq	%r14, %rax
	addq	$2, %rax
	movb	%cl, 1(%r14)
	leaq	-1(%rbx), %r8
	cmpq	$1, %rbx
	je	LBB0_10
LBB0_8:
	xorl	%edx, %edx
	movq	_HEX_DIGITS@GOTPCREL(%rip), %r9
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rdx), %esi
	movq	(%r9), %rcx
	movq	%rsi, %rbx
	shrq	$4, %rbx
	movzbl	(%rcx,%rbx,8), %ecx
	movb	%cl, (%rax)
	movq	(%r9), %rcx
	andl	$15, %esi
	movzbl	(%rcx,%rsi,8), %ecx
	movb	%cl, 1(%rax)
	movzbl	1(%rdi,%rdx), %ebx
	movq	(%r9), %rsi
	movq	%rbx, %rcx
	shrq	$4, %rcx
	movzbl	(%rsi,%rcx,8), %ecx
	movb	%cl, 2(%rax)
	movq	(%r9), %rcx
	andl	$15, %ebx
	movzbl	(%rcx,%rbx,8), %ecx
	movb	%cl, 3(%rax)
	addq	$4, %rax
	addq	$2, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_9
LBB0_10:
	movb	$0, (%rax)
	movq	-24(%rbp), %rdi
LBB0_11:
	callq	_OPENSSL_free
LBB0_12:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HEX_DIGITS,8,3                 ## @HEX_DIGITS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EC_POINT_point2hex             ; -- Begin function EC_POINT_point2hex
	.p2align	2
_EC_POINT_point2hex:                    ; @EC_POINT_point2hex
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x4, x3
	str	xzr, [sp, #8]
	add	x3, sp, #8
	bl	_EC_POINT_point2buf
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	lsl	x8, x0, #1
	add	x0, x8, #2
	bl	_OPENSSL_malloc
	mov	x19, x0
	ldr	x0, [sp, #8]
	cbz	x19, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _HEX_DIGITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HEX_DIGITS@GOTPAGEOFF]
	mov	x10, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x10
	ldrb	w10, [x0], #1
	ldr	x11, [x8]
	lsr	x12, x10, #1
	and	x12, x12, #0x78
	ldr	x11, [x11, x12]
	strb	w11, [x9]
	ldr	x11, [x8]
	and	x10, x10, #0xf
	ldr	x10, [x11, x10, lsl #3]
	strb	w10, [x9, #1]
	add	x10, x9, #2
	subs	x20, x20, #1
	b.ne	LBB0_3
; %bb.4:
	strb	wzr, [x9, #2]
	ldr	x0, [sp, #8]
LBB0_5:
	bl	_OPENSSL_free
	b	LBB0_7
LBB0_6:
	mov	x19, #0
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HEX_DIGITS,8,3                 ; @HEX_DIGITS
.subsections_via_symbols
