	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_ecmult_constants          ## -- Begin function test_ecmult_constants
	.p2align	4, 0x90
_test_ecmult_constants:                 ## @test_ecmult_constants
	.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	_secp256k1_ge_const_g@GOTPCREL(%rip), %r14
	leaq	-44(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_secp256k1_ge_neg
	xorl	%r12d, %r12d
	leaq	-48(%rbp), %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_secp256k1_gej_is_infinity
	movl	%eax, %edi
	callq	_CHECK
	incl	%r12d
	cmpl	$36, %r12d
	je	LBB0_7
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	leaq	-52(%rbp), %r13
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_secp256k1_scalar_set_int
	movq	_ctx@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_secp256k1_ecmult_gen
	testl	%r12d, %r12d
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r12d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_secp256k1_gej_add_ge
	decl	%r13d
	je	LBB0_6
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$1, %r13d
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ge_equals_gej
	jmp	LBB0_5
LBB0_7:
	movl	$1, %r14d
	leaq	-48(%rbp), %rbx
	leaq	-44(%rbp), %r12
	movq	_secp256k1_ge_const_g@GOTPCREL(%rip), %r13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	callq	_secp256k1_gej_is_infinity
	movl	%eax, %edi
	callq	_CHECK
	incl	%r14d
	cmpl	$37, %r14d
	je	LBB0_13
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	leaq	-52(%rbp), %r15
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_secp256k1_scalar_set_int
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_secp256k1_scalar_negate
	movq	_ctx@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_secp256k1_ecmult_gen
	movl	%r14d, %r15d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_secp256k1_gej_add_ge
	decl	%r15d
	je	LBB0_12
LBB0_9:                                 ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$1, %r15d
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ge_equals_gej
	jmp	LBB0_11
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_secp256k1_ge_const_g,4,2       ## @secp256k1_ge_const_g
	.comm	_ctx,8,3                        ## @ctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_ecmult_constants          ; -- Begin function test_ecmult_constants
	.p2align	2
_test_ecmult_constants:                 ; @test_ecmult_constants
	.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
Lloh0:
	adrp	x19, _secp256k1_ge_const_g@GOTPAGE
Lloh1:
	ldr	x19, [x19, _secp256k1_ge_const_g@GOTPAGEOFF]
	add	x0, sp, #4
	mov	x1, x19
	bl	_secp256k1_ge_neg
	mov	w20, #0
Lloh2:
	adrp	x21, _ctx@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ctx@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #8
	bl	_secp256k1_gej_is_infinity
	bl	_CHECK
	add	w20, w20, #1
	cmp	w20, #36
	b.eq	LBB0_7
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	add	x0, sp, #12
	mov	x1, x20
	bl	_secp256k1_scalar_set_int
	ldr	x0, [x21]
	add	x1, sp, #8
	add	x2, sp, #12
	bl	_secp256k1_ecmult_gen
	cbz	w20, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x20
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	add	x0, sp, #8
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_secp256k1_gej_add_ge
	subs	w22, w22, #1
	b.eq	LBB0_1
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w22, #1
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x1, sp, #8
	mov	x0, x19
	bl	_ge_equals_gej
	b	LBB0_4
LBB0_7:
	mov	w19, #1
Lloh4:
	adrp	x20, _secp256k1_ge_const_g@GOTPAGE
Lloh5:
	ldr	x20, [x20, _secp256k1_ge_const_g@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x0, sp, #8
	bl	_secp256k1_gej_is_infinity
	bl	_CHECK
	add	w19, w19, #1
	cmp	w19, #37
	b.eq	LBB0_13
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	add	x0, sp, #12
	mov	x1, x19
	bl	_secp256k1_scalar_set_int
	add	x0, sp, #12
	add	x1, sp, #12
	bl	_secp256k1_scalar_negate
	ldr	x0, [x21]
	add	x1, sp, #8
	add	x2, sp, #12
	bl	_secp256k1_ecmult_gen
	mov	x22, x19
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x0, sp, #8
	add	x1, sp, #8
	mov	x2, x20
	bl	_secp256k1_gej_add_ge
	subs	w22, w22, #1
	b.eq	LBB0_8
LBB0_11:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w22, #1
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	add	x0, sp, #4
	add	x1, sp, #8
	bl	_ge_equals_gej
	b	LBB0_10
LBB0_13:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_secp256k1_ge_const_g,4,2       ; @secp256k1_ge_const_g
	.comm	_ctx,8,3                        ; @ctx
.subsections_via_symbols
