	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ec_pubkey_parse_pointtest      ## -- Begin function ec_pubkey_parse_pointtest
	.p2align	4, 0x90
_ec_pubkey_parse_pointtest:             ## @ec_pubkey_parse_pointtest
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -216(%rbp)
	movq	_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_counting_illegal_callback_fn@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-216(%rbp), %rdx
	callq	_secp256k1_context_set_illegal_callback
	movl	%ebx, -236(%rbp)                ## 4-byte Spill
	testl	%ebx, %ebx
	setne	%al
	testl	%r12d, %r12d
	setne	%cl
	andb	%al, %cl
	movb	%cl, -211(%rbp)                 ## 1-byte Spill
	movl	$3, %ebx
	movq	%r14, -256(%rbp)                ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-232(%rbp), %rbx                ## 8-byte Reload
	incq	%rbx
	cmpq	$66, %rbx
	je	LBB0_15
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	cmpl	$0, -236(%rbp)                  ## 4-byte Folded Reload
	setne	%r15b
	leaq	-127(%rbp), %rdi
	movq	%r14, %rsi
	movl	$64, %edx
	callq	_memcpy
	leaq	(%rbx,%rbp), %rdi
	addq	$-128, %rdi
	movl	$65, %esi
	subl	%ebx, %esi
	callq	_VG_UNDEF
	cmpq	$33, %rbx
	sete	%al
	andb	%al, %r15b
	movb	%r15b, -212(%rbp)               ## 1-byte Spill
	xorl	%ecx, %ecx
	movq	%rbx, -232(%rbp)                ## 8-byte Spill
	cmpq	$65, %rbx
	sete	%cl
	leal	(,%rcx,4), %edx
	movl	%edx, -240(%rbp)                ## 4-byte Spill
	orb	%al, %cl
	movq	%rcx, -264(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=2
	leaq	-209(%rbp), %r15
	movq	%r15, %rdi
	movl	$254, %esi
	movl	$1, %edx
	callq	_memset
	movl	$0, -216(%rbp)
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_VG_UNDEF
	movq	_ctx@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	%r15, %rsi
	leaq	-128(%rbp), %rdx
	movq	-232(%rbp), %rcx                ## 8-byte Reload
	callq	_secp256k1_ec_pubkey_parse
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_VG_CHECK
	xorl	%edi, %edi
	cmpl	$0, -216(%rbp)
	sete	%dil
	callq	_CHECK
	movl	(%rbx), %edi
	leaq	-244(%rbp), %rsi
	movq	%r15, %rdx
	callq	_secp256k1_pubkey_load
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	xorl	%edi, %edi
	cmpl	$1, -216(%rbp)
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=2
	sete	%dil
	callq	_CHECK
	incl	%r13d
	cmpl	$256, %r13d                     ## imm = 0x100
	je	LBB0_14
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movb	%r13b, -128(%rbp)
	movzbl	63(%r14), %r15d
	andl	$1, %r15d
	cmpb	$0, -212(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	%r13d, %eax
	andl	$254, %eax
	cmpl	$2, %eax
	sete	%al
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=2
	xorl	%eax, %eax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=2
	orl	$2, %r15d
	movl	%r13d, %ecx
	andl	$4, %ecx
	cmpl	-240(%rbp), %ecx                ## 4-byte Folded Reload
	sete	%cl
	andb	-211(%rbp), %cl                 ## 1-byte Folded Reload
	cmpb	$1, %cl
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$4, %r13d
	sete	%cl
	movl	%r13d, %edx
	andl	$251, %edx
	cmpl	%r15d, %edx
	sete	%r12b
	orb	%cl, %r12b
	andb	-264(%rbp), %r12b               ## 1-byte Folded Reload
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=2
	xorl	%r12d, %r12d
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=2
	orb	%r12b, %al
	cmpb	$1, %al
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	-232(%rbp), %rbx                ## 8-byte Reload
	cmpq	$33, %rbx
	setne	-210(%rbp)                      ## 1-byte Folded Spill
	leaq	-209(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_memset
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_VG_UNDEF
	movl	$0, -216(%rbp)
	movq	_ctx@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	-209(%rbp), %r14
	movq	%r14, %rsi
	leaq	-128(%rbp), %rdx
	movq	%rbx, %rcx
	callq	_secp256k1_ec_pubkey_parse
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	callq	_CHECK
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_VG_CHECK
	movq	$65, -224(%rbp)
	leaq	-208(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$65, %esi
	callq	_VG_UNDEF
	movq	_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SECP256K1_EC_COMPRESSED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rsi
	leaq	-224(%rbp), %rdx
	movq	%r14, %rcx
	callq	_secp256k1_ec_pubkey_serialize
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	callq	_CHECK
	movl	-224(%rbp), %esi
	movq	%rbx, %rdi
	callq	_VG_CHECK
	xorl	%edi, %edi
	cmpq	$33, -224(%rbp)
	sete	%dil
	callq	_CHECK
	leaq	-207(%rbp), %rdi
	leaq	-127(%rbp), %rsi
	movl	$32, %edx
	callq	_memcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movzbl	-208(%rbp), %eax
	cmpb	-128(%rbp), %al
	sete	%al
	orb	-210(%rbp), %al                 ## 1-byte Folded Reload
	movq	-256(%rbp), %r14                ## 8-byte Reload
	movzbl	%al, %edi
	callq	_CHECK
	testb	%r12b, %r12b
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=2
	xorl	%edi, %edi
	cmpb	%r15b, -208(%rbp)
	sete	%dil
	callq	_CHECK
	movq	_ctx@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	-244(%rbp), %r12
	movq	%r12, %rsi
	leaq	-209(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_secp256k1_pubkey_load
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	callq	_CHECK
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_memset
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_VG_UNDEF
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_secp256k1_pubkey_save
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_VG_CHECK
	movq	$65, -224(%rbp)
	leaq	-208(%rbp), %r12
	movq	%r12, %rdi
	movl	$65, %esi
	callq	_VG_UNDEF
	movl	(%r15), %edi
	movq	_SECP256K1_EC_UNCOMPRESSED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rsi
	leaq	-224(%rbp), %rdx
	movq	%rbx, %rcx
	callq	_secp256k1_ec_pubkey_serialize
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	callq	_CHECK
	movl	-224(%rbp), %esi
	movq	%r12, %rdi
	callq	_VG_CHECK
	xorl	%edi, %edi
	cmpq	$65, -224(%rbp)
	sete	%dil
	callq	_CHECK
	xorl	%edi, %edi
	cmpb	$4, -208(%rbp)
	sete	%dil
	callq	_CHECK
	leaq	-207(%rbp), %rdi
	movq	%r14, %rsi
	movl	$64, %edx
	callq	_memcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=2
	xorl	%edi, %edi
	cmpl	$0, -216(%rbp)
	jmp	LBB0_13
LBB0_15:
	movq	_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_secp256k1_context_set_illegal_callback
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ctx,4,2                        ## @ctx
	.comm	_counting_illegal_callback_fn,8,3 ## @counting_illegal_callback_fn
	.comm	_SECP256K1_EC_COMPRESSED,4,2    ## @SECP256K1_EC_COMPRESSED
	.comm	_SECP256K1_EC_UNCOMPRESSED,4,2  ## @SECP256K1_EC_UNCOMPRESSED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ec_pubkey_parse_pointtest      ; -- Begin function ec_pubkey_parse_pointtest
	.p2align	2
_ec_pubkey_parse_pointtest:             ; @ec_pubkey_parse_pointtest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	x28, x27, [sp, #192]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	str	wzr, [sp, #36]
Lloh3:
	adrp	x24, _ctx@GOTPAGE
Lloh4:
	ldr	x24, [x24, _ctx@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh5:
	adrp	x8, _counting_illegal_callback_fn@GOTPAGE
Lloh6:
	ldr	x8, [x8, _counting_illegal_callback_fn@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x8]
	add	x2, sp, #36
	bl	_secp256k1_context_set_illegal_callback
	add	x8, sp, #111
	add	x9, x8, #1
	str	w19, [sp, #4]                   ; 4-byte Folded Spill
	cmp	w19, #0
	ccmp	w22, #0, #4, ne
	cset	w26, ne
	add	x8, sp, #46
	add	x8, x8, #1
	stp	x9, x8, [sp, #8]                ; 16-byte Folded Spill
	mov	w23, #3
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	cmp	x23, #66
	b.eq	LBB0_9
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	cmp	w8, #0
	cset	w21, ne
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x20
	mov	w2, #64
	bl	_memcpy
	add	x8, sp, #111
	add	x0, x8, x23
	mov	w8, #65
	sub	w1, w8, w23
	bl	_VG_UNDEF
	mov	w19, #0
	cmp	x23, #33
	cset	w8, eq
	and	w25, w21, w8
	cmp	x23, #65
	cset	w9, eq
	lsl	w27, w9, #2
	orr	w28, w8, w9
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=2
	mov	w1, #254
	mov	w2, #1
	bl	_memset
	str	wzr, [sp, #36]
	add	x0, sp, #45
	mov	w1, #1
	bl	_VG_UNDEF
	ldr	w0, [x24]
	add	x1, sp, #45
	add	x2, sp, #111
	mov	x3, x23
	bl	_secp256k1_ec_pubkey_parse
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	add	x0, sp, #45
	mov	w1, #1
	bl	_VG_CHECK
	ldr	w8, [sp, #36]
	cmp	w8, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [x24]
	add	x1, sp, #40
	add	x2, sp, #45
	bl	_secp256k1_pubkey_load
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w8, [sp, #36]
	cmp	w8, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	cset	w0, eq
	bl	_CHECK
	add	w19, w19, #1
	cmp	w19, #256
	b.eq	LBB0_1
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	strb	w19, [sp, #111]
	ldrb	w8, [x20, #63]
	mov	w21, #2
	bfxil	w21, w8, #0, #1
	and	w8, w19, #0xfe
	cmp	w8, #2
	cset	w8, eq
	cmp	w25, #0
	csel	w8, wzr, w8, eq
	and	w9, w19, #0x4
	cmp	w9, w27
	cset	w9, eq
	and	w9, w26, w9
	cmp	w19, #4
	mov	w10, #251
	and	w10, w19, w10
	ccmp	w10, w21, #4, ne
	cset	w10, eq
	and	w10, w10, w28
	cmp	w9, #1
	csel	w22, wzr, w10, ne
	orr	w8, w8, w22
	add	x0, sp, #45
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	mov	w1, #0
	mov	w2, #1
	bl	_memset
	add	x0, sp, #45
	mov	w1, #1
	bl	_VG_UNDEF
	str	wzr, [sp, #36]
	ldr	w0, [x24]
	add	x1, sp, #45
	add	x2, sp, #111
	mov	x3, x23
	bl	_secp256k1_ec_pubkey_parse
	cmp	w0, #1
	cset	w0, eq
	bl	_CHECK
	add	x0, sp, #45
	mov	w1, #1
	bl	_VG_CHECK
	mov	w8, #65
	str	x8, [sp, #24]
	add	x0, sp, #46
	mov	w1, #65
	bl	_VG_UNDEF
	ldr	w0, [x24]
Lloh8:
	adrp	x8, _SECP256K1_EC_COMPRESSED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SECP256K1_EC_COMPRESSED@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	add	x1, sp, #46
	add	x2, sp, #24
	add	x3, sp, #45
	bl	_secp256k1_ec_pubkey_serialize
	cmp	w0, #1
	cset	w0, eq
	bl	_CHECK
	ldr	w1, [sp, #24]
	add	x0, sp, #46
	bl	_VG_CHECK
	ldr	x8, [sp, #24]
	cmp	x8, #33
	cset	w0, eq
	bl	_CHECK
	ldp	x1, x0, [sp, #8]                ; 16-byte Folded Reload
	mov	w2, #32
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	cmp	x23, #33
	ldrb	w8, [sp, #46]
	ldrb	w9, [sp, #111]
	ccmp	w8, w9, #4, eq
	cset	w0, eq
	bl	_CHECK
	cbz	w22, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	ldrb	w8, [sp, #46]
	cmp	w8, w21
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [x24]
	add	x1, sp, #40
	add	x2, sp, #45
	bl	_secp256k1_pubkey_load
	cmp	w0, #1
	cset	w0, eq
	bl	_CHECK
	add	x0, sp, #45
	mov	w1, #0
	mov	w2, #1
	bl	_memset
	add	x0, sp, #45
	mov	w1, #1
	bl	_VG_UNDEF
	add	x0, sp, #45
	add	x1, sp, #40
	bl	_secp256k1_pubkey_save
	add	x0, sp, #45
	mov	w1, #1
	bl	_VG_CHECK
	mov	w8, #65
	str	x8, [sp, #24]
	add	x0, sp, #46
	mov	w1, #65
	bl	_VG_UNDEF
	ldr	w0, [x24]
Lloh11:
	adrp	x8, _SECP256K1_EC_UNCOMPRESSED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SECP256K1_EC_UNCOMPRESSED@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	add	x1, sp, #46
	add	x2, sp, #24
	add	x3, sp, #45
	bl	_secp256k1_ec_pubkey_serialize
	cmp	w0, #1
	cset	w0, eq
	bl	_CHECK
	ldr	w1, [sp, #24]
	add	x0, sp, #46
	bl	_VG_CHECK
	ldr	x8, [sp, #24]
	cmp	x8, #65
	cset	w0, eq
	bl	_CHECK
	ldrb	w8, [sp, #46]
	cmp	w8, #4
	cset	w0, eq
	bl	_CHECK
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x1, x20
	mov	w2, #64
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=2
	ldr	w8, [sp, #36]
	cmp	w8, #0
	b	LBB0_4
LBB0_9:
	ldr	w0, [x24]
	mov	x1, #0
	mov	x2, #0
	bl	_secp256k1_context_set_illegal_callback
	ldur	x8, [x29, #-96]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #208]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #192]            ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ctx,4,2                        ; @ctx
	.comm	_counting_illegal_callback_fn,8,3 ; @counting_illegal_callback_fn
	.comm	_SECP256K1_EC_COMPRESSED,4,2    ; @SECP256K1_EC_COMPRESSED
	.comm	_SECP256K1_EC_UNCOMPRESSED,4,2  ; @SECP256K1_EC_UNCOMPRESSED
.subsections_via_symbols
