	.file	"extr_group_impl.h_secp256k1_gej_is_valid_var.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	secp256k1_gej_is_valid_var, @function
secp256k1_gej_is_valid_var:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 16[rdi], 0
	jne	.L1
	mov	rbp, rdi
	lea	r14, 8[rsp]
	lea	r12, 12[rsp]
	lea	r13, 4[rbp]
	lea	rsi, 8[rdi]
	mov	rdi, r14
	call	secp256k1_fe_sqr@PLT
	mov	rsi, r13
	mov	rdi, r12
	call	secp256k1_fe_sqr@PLT
	mov	rdx, r13
	mov	rsi, r12
	lea	r13, 16[rsp]
	mov	rdi, r12
	call	secp256k1_fe_mul@PLT
	mov	rsi, rbp
	mov	rdi, r13
	lea	rbp, 20[rsp]
	call	secp256k1_fe_sqr@PLT
	mov	rsi, r13
	mov	rdi, rbp
	call	secp256k1_fe_sqr@PLT
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, rbp
	call	secp256k1_fe_mul@PLT
	mov	esi, DWORD PTR CURVE_B[rip]
	mov	rdi, rbp
	call	secp256k1_fe_mul_int@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	secp256k1_fe_add@PLT
	mov	rdi, r12
	call	secp256k1_fe_normalize_weak@PLT
	mov	rsi, r12
	mov	rdi, r14
	call	secp256k1_fe_equal_var@PLT
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	secp256k1_gej_is_valid_var, .-secp256k1_gej_is_valid_var
	.comm	CURVE_B,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_group_impl.h_secp256k1_gej_is_valid_var.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	secp256k1_gej_is_valid_var, %function
secp256k1_gej_is_valid_var:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, [r0, #12]
	ldr	r2, .L8
	sub	sp, sp, #28
	cmp	r3, #0
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	movne	r0, #0
	bne	.L1
	mov	r4, r0
	add	r0, sp, #4
	add	r1, r4, #8
	add	r5, r4, #4
	bl	secp256k1_fe_sqr
	mov	r1, r5
	add	r0, sp, #8
	bl	secp256k1_fe_sqr
	add	r1, sp, #8
	mov	r2, r5
	mov	r0, r1
	bl	secp256k1_fe_mul
	mov	r1, r4
	add	r0, sp, #12
	bl	secp256k1_fe_sqr
	add	r1, sp, #12
	add	r0, sp, #16
	bl	secp256k1_fe_sqr
	add	r1, sp, #16
	add	r2, sp, #12
	mov	r0, r1
	bl	secp256k1_fe_mul
	ldr	r3, .L8+4
	add	r0, sp, #16
	ldr	r1, [r3]
	bl	secp256k1_fe_mul_int
	add	r1, sp, #16
	add	r0, sp, #8
	bl	secp256k1_fe_add
	add	r0, sp, #8
	bl	secp256k1_fe_normalize_weak
	add	r1, sp, #8
	add	r0, sp, #4
	bl	secp256k1_fe_equal_var
.L1:
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	CURVE_B
	.size	secp256k1_gej_is_valid_var, .-secp256k1_gej_is_valid_var
	.comm	CURVE_B,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
