	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function secp256k1_gej_double_var
_secp256k1_gej_double_var:              ## @secp256k1_gej_double_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	16(%rsi), %rax
	movq	%rax, 16(%rdi)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_secp256k1_fe_set_int           ## TAILCALL
LBB0_3:
	movq	%rsi, %r15
	movq	%rdi, %r14
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movl	(%r15), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_secp256k1_fe_normalize_weak
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_secp256k1_fe_mul_int
LBB0_5:
	leaq	8(%r14), %rbx
	leaq	8(%r15), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_secp256k1_fe_mul
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_secp256k1_fe_mul_int
	leaq	4(%r15), %r13
	leaq	-52(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_secp256k1_fe_sqr
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_secp256k1_fe_mul_int
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_secp256k1_fe_sqr
	leaq	-44(%rbp), %r12
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_secp256k1_fe_sqr
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_secp256k1_fe_mul_int
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_secp256k1_fe_sqr
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_secp256k1_fe_mul_int
	movq	%r12, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_secp256k1_fe_mul
	movl	-44(%rbp), %eax
	leaq	4(%r14), %rbx
	movl	%eax, 4(%r14)
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_secp256k1_fe_mul_int
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_secp256k1_fe_negate
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_secp256k1_fe_add
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_secp256k1_fe_negate
	movq	%r12, %rdi
	movl	$6, %esi
	callq	_secp256k1_fe_mul_int
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_secp256k1_fe_add
	movq	%r14, %rdi
	leaq	-52(%rbp), %rsi
	movq	%r12, %rdx
	callq	_secp256k1_fe_mul
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$2, %edx
	callq	_secp256k1_fe_negate
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_secp256k1_fe_add
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_secp256k1_gej_double_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_double_var
_secp256k1_gej_double_var:              ; @secp256k1_gej_double_var
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	ldr	x8, [x1, #16]
	str	x8, [x0, #16]
	cbz	x8, LBB0_3
; %bb.1:
	cbz	x21, LBB0_6
; %bb.2:
	mov	x0, x21
	mov	w1, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_secp256k1_fe_set_int
LBB0_3:
	mov	x20, x1
	mov	x19, x0
	cbz	x21, LBB0_5
; %bb.4:
	ldr	w8, [x20]
	str	w8, [x21]
	mov	x0, x21
	bl	_secp256k1_fe_normalize_weak
	mov	x0, x21
	mov	w1, #2
	bl	_secp256k1_fe_mul_int
LBB0_5:
	add	x21, x19, #8
	add	x1, x20, #8
	mov	x0, x21
	mov	x2, x20
	bl	_secp256k1_fe_mul
	mov	x0, x21
	mov	w1, #2
	bl	_secp256k1_fe_mul_int
	add	x21, x20, #4
	add	x0, sp, #12
	mov	x1, x21
	bl	_secp256k1_fe_sqr
	add	x0, sp, #12
	mov	w1, #3
	bl	_secp256k1_fe_mul_int
	add	x0, sp, #8
	add	x1, sp, #12
	bl	_secp256k1_fe_sqr
	add	x0, sp, #4
	mov	x1, x20
	bl	_secp256k1_fe_sqr
	add	x0, sp, #4
	mov	w1, #2
	bl	_secp256k1_fe_mul_int
	mov	x0, sp
	add	x1, sp, #4
	bl	_secp256k1_fe_sqr
	mov	x0, sp
	mov	w1, #2
	bl	_secp256k1_fe_mul_int
	add	x0, sp, #4
	add	x1, sp, #4
	mov	x2, x21
	bl	_secp256k1_fe_mul
	ldr	w8, [sp, #4]
	mov	x20, x19
	str	w8, [x20, #4]!
	mov	x0, x20
	mov	w1, #4
	bl	_secp256k1_fe_mul_int
	mov	x0, x20
	mov	x1, x20
	mov	w2, #4
	bl	_secp256k1_fe_negate
	add	x1, sp, #8
	mov	x0, x20
	bl	_secp256k1_fe_add
	add	x0, sp, #8
	add	x1, sp, #8
	mov	w2, #1
	bl	_secp256k1_fe_negate
	add	x0, sp, #4
	mov	w1, #6
	bl	_secp256k1_fe_mul_int
	add	x0, sp, #4
	add	x1, sp, #8
	bl	_secp256k1_fe_add
	add	x1, sp, #12
	add	x2, sp, #4
	mov	x0, x19
	bl	_secp256k1_fe_mul
	add	x0, sp, #8
	mov	x1, sp
	mov	w2, #2
	bl	_secp256k1_fe_negate
	add	x1, sp, #8
	mov	x0, x19
	bl	_secp256k1_fe_add
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_secp256k1_gej_double_var
.subsections_via_symbols
