	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_point_times_order         ## -- Begin function test_point_times_order
	.p2align	4, 0x90
_test_point_times_order:                ## @test_point_times_order
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_SECP256K1_SCALAR_CONST
	addq	$16, %rsp
	movl	%eax, -136(%rbp)
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$1
	pushq	$0
	callq	_SECP256K1_SCALAR_CONST
	addq	$16, %rsp
	movl	%eax, -132(%rbp)
	movq	$65, -144(%rbp)
	leaq	-172(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_random_scalar_order_test
	leaq	-168(%rbp), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_secp256k1_scalar_negate
	movq	_ctx@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rax, %r13
	leaq	-164(%rbp), %r15
	movq	%r15, %rsi
	movq	%r14, -152(%rbp)                ## 8-byte Spill
	movq	%r14, %rdx
	movq	%rbx, %rcx
	movq	%rbx, %r8
	callq	_secp256k1_ecmult
	movq	(%r13), %rdi
	leaq	-160(%rbp), %rbx
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	movq	%r12, %r8
	callq	_secp256k1_ecmult
	movq	%r15, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_secp256k1_gej_add_var
	movq	%r15, %rdi
	callq	_secp256k1_gej_is_infinity
	movl	%eax, %edi
	callq	_CHECK
	movq	%r15, %rdi
	callq	_secp256k1_gej_is_valid_var
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	leaq	-156(%rbp), %r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_secp256k1_ge_set_gej
	movq	%r14, %rdi
	callq	_secp256k1_ge_is_infinity
	movl	%eax, %edi
	callq	_CHECK
	movq	%r14, %rdi
	callq	_secp256k1_ge_is_valid_var
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	leaq	-128(%rbp), %r12
	leaq	-144(%rbp), %r13
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_secp256k1_eckey_pubkey_serialize
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movq	$65, -144(%rbp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movl	$1, %ecx
	callq	_secp256k1_eckey_pubkey_serialize
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movq	_ctx@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	-136(%rbp), %r12
	movq	%r15, %rsi
	movq	-152(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdx
	movq	%r12, %rcx
	movq	%r12, %r8
	callq	_secp256k1_ecmult
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_secp256k1_ge_set_gej
	movq	%r14, %rdi
	callq	_secp256k1_ge_is_infinity
	movl	%eax, %edi
	callq	_CHECK
	movq	(%rbx), %rdi
	leaq	-132(%rbp), %rbx
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	movq	%r12, %r8
	callq	_secp256k1_ecmult
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_secp256k1_ge_set_gej
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_ge_equals_gej
	movq	_ctx@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_secp256k1_ecmult
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_secp256k1_ge_set_gej
	movq	_secp256k1_ge_const_g@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_ge_equals_ge
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ctx,8,3                        ## @ctx
	.comm	_secp256k1_ge_const_g,4,2       ## @secp256k1_ge_const_g
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_point_times_order         ; -- Begin function test_point_times_order
	.p2align	2
_test_point_times_order:                ; @test_point_times_order
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_SECP256K1_SCALAR_CONST
	str	w0, [sp, #24]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #1
	bl	_SECP256K1_SCALAR_CONST
	str	w0, [sp, #20]
	mov	w21, #65
	str	x21, [sp]
	add	x0, sp, #32
	bl	_random_scalar_order_test
	add	x0, sp, #28
	add	x1, sp, #32
	bl	_secp256k1_scalar_negate
Lloh3:
	adrp	x20, _ctx@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ctx@GOTPAGEOFF]
	ldr	x0, [x20]
	add	x1, sp, #16
	add	x3, sp, #32
	add	x4, sp, #32
	mov	x2, x19
	bl	_secp256k1_ecmult
	ldr	x0, [x20]
	add	x1, sp, #12
	add	x3, sp, #28
	add	x4, sp, #28
	mov	x2, x19
	bl	_secp256k1_ecmult
	add	x0, sp, #16
	add	x1, sp, #16
	add	x2, sp, #12
	mov	x3, #0
	bl	_secp256k1_gej_add_var
	add	x0, sp, #16
	bl	_secp256k1_gej_is_infinity
	bl	_CHECK
	add	x0, sp, #16
	bl	_secp256k1_gej_is_valid_var
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_secp256k1_ge_set_gej
	add	x0, sp, #8
	bl	_secp256k1_ge_is_infinity
	bl	_CHECK
	add	x0, sp, #8
	bl	_secp256k1_ge_is_valid_var
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	add	x0, sp, #8
	add	x1, sp, #39
	mov	x2, sp
	mov	w3, #0
	bl	_secp256k1_eckey_pubkey_serialize
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	str	x21, [sp]
	add	x0, sp, #8
	add	x1, sp, #39
	mov	x2, sp
	mov	w3, #1
	bl	_secp256k1_eckey_pubkey_serialize
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	x0, [x20]
	add	x1, sp, #16
	add	x3, sp, #24
	add	x4, sp, #24
	mov	x2, x19
	bl	_secp256k1_ecmult
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_secp256k1_ge_set_gej
	add	x0, sp, #8
	bl	_secp256k1_ge_is_infinity
	bl	_CHECK
	ldr	x0, [x20]
	add	x1, sp, #16
	add	x3, sp, #20
	add	x4, sp, #24
	mov	x2, x19
	bl	_secp256k1_ecmult
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_secp256k1_ge_set_gej
	add	x0, sp, #8
	mov	x1, x19
	bl	_ge_equals_gej
	ldr	x0, [x20]
	add	x1, sp, #16
	add	x3, sp, #24
	add	x4, sp, #20
	mov	x2, x19
	bl	_secp256k1_ecmult
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_secp256k1_ge_set_gej
Lloh5:
	adrp	x1, _secp256k1_ge_const_g@GOTPAGE
Lloh6:
	ldr	x1, [x1, _secp256k1_ge_const_g@GOTPAGEOFF]
	add	x0, sp, #8
	bl	_ge_equals_ge
	ldur	x8, [x29, #-40]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ctx,8,3                        ; @ctx
	.comm	_secp256k1_ge_const_g,4,2       ; @secp256k1_ge_const_g
.subsections_via_symbols
