	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function samplereduction
_samplereduction:                       ## @samplereduction
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rcx
	incq	%rcx
	movq	%rcx, (%rsi)
	movq	(%rdi), %rax
	cmpq	%rax, %rcx
	jl	LBB0_4
## %bb.1:
	movq	8(%rdi), %rcx
	movq	8(%rsi), %rdx
	addq	%rcx, %rdx
	movq	%rdx, 8(%rsi)
	addq	16(%rsi), %rax
	movq	%rax, 16(%rsi)
	addq	%rcx, %rdx
	cmpq	%rax, %rdx
	jle	LBB0_3
## %bb.2:
	leaq	8(%rsi), %rax
	movsd	%xmm0, 24(%rsi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
LBB0_3:
	movq	$0, (%rsi)
LBB0_4:
	movsd	24(%rsi), %xmm0                 ## xmm0 = mem[0],zero
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_samplereduction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function samplereduction
_samplereduction:                       ; @samplereduction
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	add	x8, x8, #1
	str	x8, [x1]
	ldr	x9, [x0]
	cmp	x8, x9
	b.lt	LBB0_4
; %bb.1:
	ldr	x10, [x0, #8]
	mov	x8, x1
	ldp	x11, x12, [x8, #8]!
	add	x11, x11, x10
	add	x10, x11, x10
	add	x9, x12, x9
	cmp	x10, x9
	stp	x11, x9, [x8]
	b.le	LBB0_3
; %bb.2:
	str	d0, [x1, #24]
	stp	xzr, xzr, [x8]
LBB0_3:
	str	xzr, [x1]
LBB0_4:
	ldr	d0, [x1, #24]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_samplereduction
.subsections_via_symbols
