	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function secp256k1_ge_is_valid_var
_secp256k1_ge_is_valid_var:             ## @secp256k1_ge_is_valid_var
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	cmpq	$0, 8(%rdi)
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	leaq	4(%rdi), %rsi
	leaq	-36(%rbp), %r14
	movq	%r14, %rdi
	callq	_secp256k1_fe_sqr
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_secp256k1_fe_sqr
	movq	%r15, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_secp256k1_fe_mul
	movq	_CURVE_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_secp256k1_fe_set_int
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_secp256k1_fe_add
	movq	%r15, %rdi
	callq	_secp256k1_fe_normalize_weak
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_secp256k1_fe_equal_var
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CURVE_B,4,2                    ## @CURVE_B
	.no_dead_strip	_secp256k1_ge_is_valid_var
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function secp256k1_ge_is_valid_var
_secp256k1_ge_is_valid_var:             ; @secp256k1_ge_is_valid_var
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x19, x0
	add	x1, x0, #4
	add	x0, sp, #12
	bl	_secp256k1_fe_sqr
	add	x0, sp, #8
	mov	x1, x19
	bl	_secp256k1_fe_sqr
	add	x0, sp, #8
	add	x1, sp, #8
	mov	x2, x19
	bl	_secp256k1_fe_mul
Lloh0:
	adrp	x8, _CURVE_B@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CURVE_B@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #4
	bl	_secp256k1_fe_set_int
	add	x0, sp, #8
	add	x1, sp, #4
	bl	_secp256k1_fe_add
	add	x0, sp, #8
	bl	_secp256k1_fe_normalize_weak
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_secp256k1_fe_equal_var
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CURVE_B,4,2                    ; @CURVE_B
	.no_dead_strip	_secp256k1_ge_is_valid_var
.subsections_via_symbols
