	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function secp256k1_gej_add_var
_secp256k1_gej_add_var:                 ## @secp256k1_gej_add_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rdi, %r14
	cmpl	$0, (%rsi)
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	testq	%r15, %r15
	sete	%dil
	callq	_VERIFY_CHECK
	movups	(%r12), %xmm0
	jmp	LBB0_6
LBB0_2:
	movq	%rsi, %rbx
	cmpl	$0, (%r12)
	je	LBB0_8
## %bb.3:
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_secp256k1_fe_set_int
LBB0_5:
	movups	(%rbx), %xmm0
LBB0_6:
	movups	%xmm0, (%r14)
LBB0_7:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$0, (%r14)
	leaq	12(%r12), %r13
	leaq	-64(%rbp), %rdi
	movq	%r13, %rsi
	callq	_secp256k1_fe_sqr
	leaq	12(%rbx), %rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	leaq	-60(%rbp), %rdi
	callq	_secp256k1_fe_sqr
	leaq	8(%rbx), %rsi
	leaq	-56(%rbp), %rdi
	leaq	-64(%rbp), %rdx
	callq	_secp256k1_fe_mul
	leaq	8(%r12), %rsi
	leaq	-84(%rbp), %rdi
	leaq	-60(%rbp), %rdx
	callq	_secp256k1_fe_mul
	leaq	4(%rbx), %rsi
	leaq	-52(%rbp), %rdi
	leaq	-64(%rbp), %rdx
	callq	_secp256k1_fe_mul
	leaq	-52(%rbp), %rdi
	movq	%rdi, %rsi
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%r13, %rdx
	callq	_secp256k1_fe_mul
	addq	$4, %r12
	leaq	-108(%rbp), %r13
	movq	%r13, %rdi
	movq	%r12, %rsi
	leaq	-60(%rbp), %rdx
	callq	_secp256k1_fe_mul
	movq	%r13, %rdi
	movq	%r13, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	callq	_secp256k1_fe_mul
	leaq	-44(%rbp), %r12
	movq	%r12, %rdi
	leaq	-56(%rbp), %rsi
	movl	$1, %edx
	callq	_secp256k1_fe_negate
	movq	%r12, %rdi
	leaq	-84(%rbp), %rsi
	callq	_secp256k1_fe_add
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	leaq	-52(%rbp), %rsi
	movl	$1, %edx
	callq	_secp256k1_fe_negate
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_secp256k1_fe_add
	leaq	-44(%rbp), %rdi
	callq	_secp256k1_fe_normalizes_to_zero_var
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	leaq	-48(%rbp), %rdi
	callq	_secp256k1_fe_normalizes_to_zero_var
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_secp256k1_gej_double_var
	jmp	LBB0_7
LBB0_11:
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	leaq	-80(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_secp256k1_fe_sqr
	leaq	-76(%rbp), %r12
	leaq	-44(%rbp), %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_secp256k1_fe_sqr
	leaq	-72(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_secp256k1_fe_mul
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	callq	_secp256k1_fe_mul
	testq	%r15, %r15
	je	LBB0_13
## %bb.12:
	movl	-44(%rbp), %eax
	movl	%eax, (%r15)
LBB0_13:
	leaq	12(%r14), %rdi
	leaq	-44(%rbp), %rdx
	movq	%r13, %rsi
	callq	_secp256k1_fe_mul
	leaq	-68(%rbp), %r15
	leaq	-56(%rbp), %rsi
	leaq	-76(%rbp), %rdx
	movq	%r15, %rdi
	callq	_secp256k1_fe_mul
	movl	-68(%rbp), %eax
	leaq	8(%r14), %rbx
	movl	%eax, 8(%r14)
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_secp256k1_fe_mul_int
	leaq	-72(%rbp), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_secp256k1_fe_add
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	$3, %edx
	callq	_secp256k1_fe_negate
	leaq	-80(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_secp256k1_fe_add
	addq	$4, %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$5, %edx
	callq	_secp256k1_fe_negate
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_secp256k1_fe_add
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_secp256k1_fe_mul
	leaq	-52(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_secp256k1_fe_mul
	movq	%r12, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_secp256k1_fe_negate
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_secp256k1_fe_add
	jmp	LBB0_7
LBB0_14:
	testq	%r15, %r15
	je	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_secp256k1_fe_set_int
LBB0_16:
	movl	$1, (%r14)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_secp256k1_gej_add_var
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function secp256k1_gej_add_var
_secp256k1_gej_add_var:                 ; @secp256k1_gej_add_var
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x3
	mov	x24, x2
	mov	x19, x0
	ldr	w8, [x1]
	cbz	w8, LBB0_2
; %bb.1:
	cmp	x20, #0
	cset	w0, eq
	bl	_VERIFY_CHECK
	ldr	q0, [x24]
	b	LBB0_6
LBB0_2:
	mov	x21, x1
	ldr	w8, [x24]
	cbz	w8, LBB0_8
; %bb.3:
	cbz	x20, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	w1, #1
	bl	_secp256k1_fe_set_int
LBB0_5:
	ldr	q0, [x21]
LBB0_6:
	str	q0, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
	str	wzr, [x19]
	add	x23, x24, #12
	add	x0, sp, #44
	mov	x1, x23
	bl	_secp256k1_fe_sqr
	add	x22, x21, #12
	add	x0, sp, #40
	mov	x1, x22
	bl	_secp256k1_fe_sqr
	add	x1, x21, #8
	add	x0, sp, #36
	add	x2, sp, #44
	bl	_secp256k1_fe_mul
	add	x1, x24, #8
	add	x0, sp, #32
	add	x2, sp, #40
	bl	_secp256k1_fe_mul
	add	x1, x21, #4
	add	x0, sp, #28
	add	x2, sp, #44
	bl	_secp256k1_fe_mul
	add	x0, sp, #28
	add	x1, sp, #28
	mov	x2, x23
	bl	_secp256k1_fe_mul
	add	x1, x24, #4
	add	x0, sp, #24
	add	x2, sp, #40
	bl	_secp256k1_fe_mul
	add	x0, sp, #24
	add	x1, sp, #24
	mov	x2, x22
	bl	_secp256k1_fe_mul
	add	x0, sp, #20
	add	x1, sp, #36
	mov	w2, #1
	bl	_secp256k1_fe_negate
	add	x0, sp, #20
	add	x1, sp, #32
	bl	_secp256k1_fe_add
	add	x0, sp, #16
	add	x1, sp, #28
	mov	w2, #1
	bl	_secp256k1_fe_negate
	add	x0, sp, #16
	add	x1, sp, #24
	bl	_secp256k1_fe_add
	add	x0, sp, #20
	bl	_secp256k1_fe_normalizes_to_zero_var
	cbz	x0, LBB0_11
; %bb.9:
	add	x0, sp, #16
	bl	_secp256k1_fe_normalizes_to_zero_var
	cbz	x0, LBB0_14
; %bb.10:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_secp256k1_gej_double_var
	b	LBB0_7
LBB0_11:
	add	x0, sp, #12
	add	x1, sp, #16
	bl	_secp256k1_fe_sqr
	add	x0, sp, #8
	add	x1, sp, #20
	bl	_secp256k1_fe_sqr
	add	x0, sp, #4
	add	x1, sp, #20
	add	x2, sp, #8
	bl	_secp256k1_fe_mul
	add	x0, sp, #20
	add	x1, sp, #20
	mov	x2, x23
	bl	_secp256k1_fe_mul
	cbz	x20, LBB0_13
; %bb.12:
	ldr	w8, [sp, #20]
	str	w8, [x20]
LBB0_13:
	add	x0, x19, #12
	add	x2, sp, #20
	mov	x1, x22
	bl	_secp256k1_fe_mul
	mov	x0, sp
	add	x1, sp, #36
	add	x2, sp, #8
	bl	_secp256k1_fe_mul
	ldr	w8, [sp]
	str	w8, [x19, #8]!
	mov	x0, x19
	mov	w1, #2
	bl	_secp256k1_fe_mul_int
	add	x1, sp, #4
	mov	x0, x19
	bl	_secp256k1_fe_add
	mov	x0, x19
	mov	x1, x19
	mov	w2, #3
	bl	_secp256k1_fe_negate
	add	x1, sp, #12
	mov	x0, x19
	bl	_secp256k1_fe_add
	sub	x20, x19, #4
	mov	x0, x20
	mov	x1, x19
	mov	w2, #5
	bl	_secp256k1_fe_negate
	mov	x1, sp
	mov	x0, x20
	bl	_secp256k1_fe_add
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x20
	bl	_secp256k1_fe_mul
	add	x0, sp, #4
	add	x1, sp, #4
	add	x2, sp, #28
	bl	_secp256k1_fe_mul
	add	x0, sp, #4
	add	x1, sp, #4
	mov	w2, #1
	bl	_secp256k1_fe_negate
	add	x1, sp, #4
	mov	x0, x20
	bl	_secp256k1_fe_add
	b	LBB0_7
LBB0_14:
	cbz	x20, LBB0_16
; %bb.15:
	mov	x0, x20
	mov	w1, #0
	bl	_secp256k1_fe_set_int
LBB0_16:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_secp256k1_gej_add_var
.subsections_via_symbols
