	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt_aggregate_llquantize
_dt_aggregate_llquantize:               ## @dt_aggregate_llquantize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$16, %rdx
	jb	LBB0_16
## %bb.1:
	shrq	$3, %rdx
	leaq	-1(%rdx), %r8
	movl	$1, %r11d
	cmpq	$4, %r8
	jb	LBB0_12
## %bb.2:
	leaq	8(%rdi), %r9
	leaq	(%rsi,%rdx,8), %rcx
	cmpq	%rcx, %r9
	jae	LBB0_4
## %bb.3:
	leaq	(%rdi,%rdx,8), %r9
	leaq	8(%rsi), %rcx
	cmpq	%r9, %rcx
	jb	LBB0_12
LBB0_4:
	movq	%r8, %r11
	andq	$-4, %r11
	leaq	-4(%r11), %rcx
	movq	%rcx, %r9
	shrq	$2, %r9
	incq	%r9
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.6:
	movq	%r9, %r10
	andq	$-2, %r10
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rsi,%rcx,8), %xmm0
	movdqu	16(%rsi,%rcx,8), %xmm1
	movdqu	(%rdi,%rcx,8), %xmm2
	paddq	%xmm0, %xmm2
	movdqu	16(%rdi,%rcx,8), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	32(%rdi,%rcx,8), %xmm1
	movdqu	48(%rdi,%rcx,8), %xmm3
	movdqu	%xmm2, (%rdi,%rcx,8)
	movdqu	%xmm0, 16(%rdi,%rcx,8)
	movdqu	32(%rsi,%rcx,8), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	48(%rsi,%rcx,8), %xmm1
	paddq	%xmm3, %xmm1
	movdqu	%xmm0, 32(%rdi,%rcx,8)
	movdqu	%xmm1, 48(%rdi,%rcx,8)
	addq	$8, %rcx
	addq	$-2, %r10
	jne	LBB0_7
## %bb.8:
	testb	$1, %r9b
	je	LBB0_10
LBB0_9:
	movdqu	(%rdi,%rcx,8), %xmm0
	movdqu	16(%rdi,%rcx,8), %xmm1
	movdqu	(%rsi,%rcx,8), %xmm2
	paddq	%xmm0, %xmm2
	movdqu	16(%rsi,%rcx,8), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	%xmm2, (%rdi,%rcx,8)
	movdqu	%xmm0, 16(%rdi,%rcx,8)
LBB0_10:
	cmpq	%r11, %r8
	je	LBB0_16
## %bb.11:
	orq	$1, %r11
LBB0_12:
	movl	%edx, %ecx
	subl	%r11d, %ecx
	movq	%r11, %r8
	notq	%r8
	addq	%rdx, %r8
	andq	$3, %rcx
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%r11,8), %rax
	addq	%rax, (%rdi,%r11,8)
	incq	%r11
	decq	%rcx
	jne	LBB0_13
LBB0_14:
	cmpq	$3, %r8
	jb	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%r11,8), %rax
	addq	%rax, (%rdi,%r11,8)
	movq	8(%rsi,%r11,8), %rax
	addq	%rax, 8(%rdi,%r11,8)
	movq	16(%rsi,%r11,8), %rax
	addq	%rax, 16(%rdi,%r11,8)
	movq	24(%rsi,%r11,8), %rax
	addq	%rax, 24(%rdi,%r11,8)
	addq	$4, %r11
	cmpq	%r11, %rdx
	jne	LBB0_15
LBB0_16:
	popq	%rbp
	retq
LBB0_5:
	movl	$1, %ecx
	testb	$1, %r9b
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dt_aggregate_llquantize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dt_aggregate_llquantize
_dt_aggregate_llquantize:               ; @dt_aggregate_llquantize
	.cfi_startproc
; %bb.0:
	cmp	x2, #16
	b.lo	LBB0_7
; %bb.1:
	lsr	x8, x2, #3
	sub	x10, x8, #1
	cmp	x10, #8
	b.lo	LBB0_4
; %bb.2:
	add	x11, x0, #8
	lsl	x9, x8, #3
	add	x12, x1, x9
	cmp	x11, x12
	b.hs	LBB0_8
; %bb.3:
	add	x11, x1, #8
	add	x9, x0, x9
	cmp	x11, x9
	b.hs	LBB0_8
LBB0_4:
	mov	w9, #1
LBB0_5:
	lsl	x11, x9, #3
	add	x10, x1, x11
	add	x11, x0, x11
	sub	x8, x8, x9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x11]
	ldr	x12, [x10], #8
	add	x9, x12, x9
	str	x9, [x11], #8
	subs	x8, x8, #1
	b.ne	LBB0_6
LBB0_7:
	ret
LBB0_8:
	and	x11, x10, #0xfffffffffffffff8
	orr	x9, x11, #0x1
	add	x12, x1, #40
	add	x13, x0, #40
	mov	x14, x11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x13, #-32]
	ldp	q2, q3, [x13]
	ldp	q4, q5, [x12, #-32]
	ldp	q6, q7, [x12], #64
	add.2d	v0, v4, v0
	add.2d	v1, v5, v1
	add.2d	v2, v6, v2
	add.2d	v3, v7, v3
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13], #64
	subs	x14, x14, #8
	b.ne	LBB0_9
; %bb.10:
	cmp	x10, x11
	b.eq	LBB0_7
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dt_aggregate_llquantize
.subsections_via_symbols
