	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bench_ecmult
_bench_ecmult:                          ## @bench_ecmult
	.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	%rdi, %rbx
	movq	(%rdi), %r13
	movq	_ITERS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rcx
	orq	%r13, %rcx
	shrq	$32, %rcx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%r13
	movq	%rax, %r12
	cmpq	$-1, %r12
	jne	LBB0_4
	jmp	LBB0_16
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r13d
	movl	%eax, %r12d
	cmpq	$-1, %r12
	je	LBB0_16
LBB0_4:
	movslq	8(%rbx), %rdx
	movq	%r13, %rcx
	subq	%rdx, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	-1(%r13), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	56(%rbx), %rsi
	leaq	4(%rsi), %rdi
	movq	40(%rbx), %rcx
	addq	%r15, %rcx
	testl	%edx, %edx
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rbx), %r8
	shlq	$2, %r8
	addq	32(%rbx), %r8
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r8d, %r8d
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	64(%rbx), %r10
	movl	48(%rbx), %edx
	movq	_bench_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%rbx
	callq	*%r10
	addq	$16, %rsp
	movq	16(%rbx), %rax
	movq	%r13, %rcx
	addq	%r13, %rax
	movq	_POINTS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rsi
	movq	%rdx, 16(%rbx)
	movq	24(%rbx), %rax
	addq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rdx, 24(%rbx)
	cmpq	%rsi, %r14
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	movl	8(%rbx), %edx
	addq	$4, %r15
	jmp	LBB0_5
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ITERS,8,3                      ## @ITERS
	.comm	_bench_callback,4,2             ## @bench_callback
	.comm	_POINTS,8,3                     ## @POINTS
	.no_dead_strip	_bench_ecmult
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bench_ecmult
_bench_ecmult:                          ; @bench_ecmult
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _ITERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ITERS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	udiv	x22, x8, x21
	cmn	x22, #1
	b.eq	LBB0_6
; %bb.1:
	mov	x19, x0
	mov	x23, #0
	mov	x24, #0
	ldrsw	x8, [x0, #8]
	sub	x20, x21, x8
	sub	x25, x21, #1
Lloh3:
	adrp	x26, _bench_callback@GOTPAGE
Lloh4:
	ldr	x26, [x26, _bench_callback@GOTPAGEOFF]
Lloh5:
	adrp	x27, _POINTS@GOTPAGE
Lloh6:
	ldr	x27, [x27, _POINTS@GOTPAGEOFF]
	cbz	w8, LBB0_3
LBB0_2:
	ldr	x8, [x19, #32]
	ldr	x9, [x19, #16]
	add	x4, x8, x9, lsl #2
	b	LBB0_4
LBB0_3:
	mov	x4, #0
LBB0_4:
	ldp	x1, x8, [x19, #56]
	add	x0, x1, #4
	ldr	w2, [x19, #48]
	ldr	x9, [x19, #40]
	add	x3, x9, x23
	ldr	w5, [x26]
	mov	x6, x19
	mov	x7, x20
	blr	x8
	ldp	x8, x9, [x19, #16]
	add	x8, x8, x21
	ldr	x10, [x27]
	udiv	x11, x8, x10
	msub	x8, x11, x10, x8
	add	x9, x25, x9
	udiv	x11, x9, x10
	msub	x9, x11, x10, x9
	stp	x8, x9, [x19, #16]
	cmp	x24, x22
	b.eq	LBB0_6
; %bb.5:
	add	x24, x24, #1
	ldr	w8, [x19, #8]
	add	x23, x23, #4
	cbnz	w8, LBB0_2
	b	LBB0_3
LBB0_6:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ITERS,8,3                      ; @ITERS
	.comm	_bench_callback,4,2             ; @bench_callback
	.comm	_POINTS,8,3                     ; @POINTS
	.no_dead_strip	_bench_ecmult
.subsections_via_symbols
