	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_exhaustive_ecmult_multi   ## -- Begin function test_exhaustive_ecmult_multi
	.p2align	4, 0x90
_test_exhaustive_ecmult_multi:          ## @test_exhaustive_ecmult_multi
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	$4096, %esi                     ## imm = 0x1000
	callq	_secp256k1_scratch_create
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_11
## %bb.1:
	movl	%r14d, %ecx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	$4, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##       Child Loop BB0_4 Depth 3
                                        ##         Child Loop BB0_5 Depth 4
                                        ##           Child Loop BB0_6 Depth 5
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_4 Depth 3
                                        ##         Child Loop BB0_5 Depth 4
                                        ##           Child Loop BB0_6 Depth 5
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_5 Depth 4
                                        ##           Child Loop BB0_6 Depth 5
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ##       Parent Loop BB0_4 Depth=3
                                        ## =>      This Loop Header: Depth=4
                                        ##           Child Loop BB0_6 Depth 5
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ##       Parent Loop BB0_4 Depth=3
                                        ##         Parent Loop BB0_5 Depth=4
                                        ## =>        This Inner Loop Header: Depth=5
	movq	-128(%rbp), %rdi
	movl	%r13d, %esi
	callq	_secp256k1_scalar_set_int
	movq	-128(%rbp), %rdi
	addq	$4, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_secp256k1_scalar_set_int
	leaq	-72(%rbp), %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_secp256k1_scalar_set_int
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	-120(%rbp), %r14                ## 8-byte Reload
	movl	(%r14,%rax,4), %eax
	movq	-136(%rbp), %rcx
	movl	%eax, (%rcx)
	movl	(%r14,%r15,4), %eax
	movl	%eax, 4(%rcx)
	movq	_ecmult_multi_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leaq	-76(%rbp), %rcx
	leaq	-72(%rbp), %r8
	pushq	$2
	leaq	-136(%rbp), %rax
	pushq	%rax
	callq	_secp256k1_ecmult_multi_var
	addq	$16, %rsp
	movl	%r12d, %eax
	cltd
	idivl	-48(%rbp)                       ## 4-byte Folded Reload
                                        ## kill: def $edx killed $edx def $rdx
	leaq	(%r14,%rdx,4), %rdi
	leaq	-76(%rbp), %rsi
	callq	_ge_equals_gej
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	incq	%r15
	addl	%ebx, %r12d
	cmpq	%r15, %rcx
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=4
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	movl	-68(%rbp), %r12d                ## 4-byte Reload
	addl	%r13d, %r12d
	cmpq	%rcx, %rax
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=3
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	incl	%r12d
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	cmpl	%r14d, %r12d
	jne	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	cmpl	%r14d, %eax
	jne	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	cmpl	%ecx, %r13d
	jne	LBB0_2
LBB0_11:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_secp256k1_scratch_destroy
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ecmult_multi_callback,4,2      ## @ecmult_multi_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_exhaustive_ecmult_multi   ; -- Begin function test_exhaustive_ecmult_multi
	.p2align	2
_test_exhaustive_ecmult_multi:          ; @test_exhaustive_ecmult_multi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x21, x1
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	mov	w1, #4096
	bl	_secp256k1_scratch_create
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	cmp	w19, #1
	b.lt	LBB0_11
; %bb.1:
	mov	w28, #0
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x8, x8, #4
	str	x8, [sp]                        ; 8-byte Folded Spill
	mov	w27, w19
	str	w19, [sp, #12]                  ; 4-byte Folded Spill
	mov	x26, x8
	mov	w24, w19
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
                                        ;       Child Loop BB0_4 Depth 3
                                        ;         Child Loop BB0_5 Depth 4
                                        ;           Child Loop BB0_6 Depth 5
	mov	w25, #0
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_4 Depth 3
                                        ;         Child Loop BB0_5 Depth 4
                                        ;           Child Loop BB0_6 Depth 5
	mov	w22, #0
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_3 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_5 Depth 4
                                        ;           Child Loop BB0_6 Depth 5
	mov	x23, #0
	str	w22, [sp, #16]                  ; 4-byte Folded Spill
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_3 Depth=2
                                        ;       Parent Loop BB0_4 Depth=3
                                        ; =>      This Loop Header: Depth=4
                                        ;           Child Loop BB0_6 Depth 5
	mov	x19, #0
	str	w22, [sp, #20]                  ; 4-byte Folded Spill
	ldr	w20, [sp, #16]                  ; 4-byte Folded Reload
LBB0_6:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_3 Depth=2
                                        ;       Parent Loop BB0_4 Depth=3
                                        ;         Parent Loop BB0_5 Depth=4
                                        ; =>        This Inner Loop Header: Depth=5
	ldr	x0, [sp, #48]
	mov	x1, x28
	bl	_secp256k1_scalar_set_int
	ldr	x8, [sp, #48]
	add	x0, x8, #4
	mov	x1, x25
	bl	_secp256k1_scalar_set_int
	add	x0, sp, #56
	mov	x1, x20
	bl	_secp256k1_scalar_set_int
	ldr	w8, [x21, x23, lsl #2]
	ldp	x0, x9, [sp, #32]               ; 8-byte Folded Reload
	str	w8, [x9]
	ldr	w8, [x21, x19, lsl #2]
	str	w8, [x9, #4]
Lloh0:
	adrp	x8, _ecmult_multi_callback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ecmult_multi_callback@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
	add	x3, sp, #60
	add	x4, sp, #56
	add	x6, sp, #40
	mov	x1, x26
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	mov	w7, #2
	bl	_secp256k1_ecmult_multi_var
	sdiv	w8, w22, w24
	msub	w8, w8, w24, w22
	add	x0, x21, w8, uxtw #2
	add	x1, sp, #60
	bl	_ge_equals_gej
	add	x19, x19, #1
	add	w22, w22, w25
	cmp	x27, x19
	b.ne	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=4
	add	x23, x23, #1
	ldr	w22, [sp, #20]                  ; 4-byte Folded Reload
	add	w22, w22, w28
	cmp	x23, x27
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=3
	ldp	w19, w22, [sp, #12]             ; 8-byte Folded Reload
	add	w22, w22, #1
	cmp	w22, w19
	b.ne	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=2
	add	w25, w25, #1
	cmp	w25, w19
	b.ne	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	add	w28, w28, #1
	cmp	w28, w27
	b.ne	LBB0_2
LBB0_11:
	ldp	x1, x0, [sp, #24]               ; 16-byte Folded Reload
	bl	_secp256k1_scratch_destroy
	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
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ecmult_multi_callback,4,2      ; @ecmult_multi_callback
.subsections_via_symbols
