	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function secp256k1_ecmult_multi_simple_var
_secp256k1_ecmult_multi_simple_var:     ## @secp256k1_ecmult_multi_simple_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-52(%rbp), %rdi
	xorl	%esi, %esi
	callq	_secp256k1_scalar_set_int
	movq	%rbx, %rdi
	callq	_secp256k1_gej_set_infinity
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	callq	_secp256k1_gej_set_infinity
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	leaq	-52(%rbp), %rcx
	movq	%r14, %r8
	callq	_secp256k1_ecmult
	movl	$1, %eax
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	testq	%r13, %r13
	je	LBB0_6
## %bb.1:
	xorl	%r14d, %r14d
	leaq	-96(%rbp), %r12
	leaq	-92(%rbp), %r13
	leaq	-48(%rbp), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-44(%rbp), %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_secp256k1_gej_set_ge
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r13, %rdx
	leaq	-44(%rbp), %rcx
	xorl	%r8d, %r8d
	callq	_secp256k1_ecmult
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_secp256k1_gej_add_var
	incq	%r14
	cmpq	%r14, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_2
## %bb.4:
	movl	$1, %eax
	jmp	LBB0_6
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_secp256k1_ecmult_multi_simple_var
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function secp256k1_ecmult_multi_simple_var
_secp256k1_ecmult_multi_simple_var:     ; @secp256k1_ecmult_multi_simple_var
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x24, x2
	mov	x22, x1
	mov	x23, x0
	add	x0, sp, #28
	mov	w1, #0
	bl	_secp256k1_scalar_set_int
	mov	x0, x22
	bl	_secp256k1_gej_set_infinity
	add	x0, sp, #24
	bl	_secp256k1_gej_set_infinity
	add	x2, sp, #24
	add	x3, sp, #28
	mov	x0, x23
	mov	x1, x22
	mov	x4, x24
	bl	_secp256k1_ecmult
	cbz	x19, LBB0_4
; %bb.1:
	mov	x24, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	add	x1, sp, #20
	mov	x2, x24
	mov	x3, x20
	blr	x21
	cbz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #16
	add	x1, sp, #20
	bl	_secp256k1_gej_set_ge
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	x0, x23
	mov	x4, #0
	bl	_secp256k1_ecmult
	add	x2, sp, #24
	mov	x0, x22
	mov	x1, x22
	mov	x3, #0
	bl	_secp256k1_gej_add_var
	add	x24, x24, #1
	cmp	x19, x24
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_secp256k1_ecmult_multi_simple_var
.subsections_via_symbols
