	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_aggregate
_process_aggregate:                     ## @process_aggregate
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %r12
	movq	8(%rdi), %rbx
	movq	(%rsi), %rax
	movq	8(%rsi), %r15
	movq	_g_nrecs@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setl	%dil
	callq	_assert
	movq	(%rbx), %rax
	movq	16(%rbx), %r13
	movq	_DTRACE_AGGVARIDNONE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	1(%rcx), %rdx
	cmpq	%rdx, %rax
	jle	LBB0_8
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movslq	8(%rbx), %rbx
	decq	%rbx
	addq	$2, %rcx
	cmpq	%rcx, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	callq	_fail
LBB0_3:
	shlq	$4, %rbx
	movslq	(%r13,%rbx), %rax
	movq	_DTRACE_QUANTIZE_NBUCKETS@GOTPCREL(%rip), %r14
	movslq	(%r14), %r9
	movq	%r9, %rcx
	shlq	$3, %rcx
	cmpq	%rax, %rcx
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	xorl	%edi, %edi
	callq	_fail
	movl	(%r14), %r9d
LBB0_5:
	movq	_DTRACE_QUANTIZE_ZEROBUCKET@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	cmpl	%ecx, %r9d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jle	LBB0_27
## %bb.6:
	addq	8(%r13,%rbx), %r12
	movq	16(%r15), %rdx
	subl	%ecx, %r9d
	cmpl	$4, %r9d
	jb	LBB0_7
## %bb.11:
	leaq	(%r12,%rcx,8), %rax
	movq	%rdx, %rsi
	subq	%rax, %rsi
	cmpq	$32, %rsi
	jae	LBB0_13
LBB0_7:
	xorl	%esi, %esi
LBB0_22:
	movq	%rsi, %rdi
	notq	%rdi
	addq	%r9, %rdi
	movq	%r9, %rax
	andq	$3, %rax
	je	LBB0_24
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rcx,8), %rbx
	movq	%rbx, (%rdx,%rsi,8)
	incq	%rcx
	incq	%rsi
	decq	%rax
	jne	LBB0_23
LBB0_24:
	cmpq	$3, %rdi
	jb	LBB0_27
## %bb.25:
	leaq	(%r12,%rcx,8), %rax
	addq	$24, %rax
	subq	%rsi, %r9
	leaq	(%rdx,%rsi,8), %rcx
	addq	$24, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	-24(%rax,%rdx,8), %rsi
	movq	%rsi, -24(%rcx,%rdx,8)
	movq	-16(%rax,%rdx,8), %rsi
	movq	%rsi, -16(%rcx,%rdx,8)
	movq	-8(%rax,%rdx,8), %rsi
	movq	%rsi, -8(%rcx,%rdx,8)
	movq	(%rax,%rdx,8), %rsi
	movq	%rsi, (%rcx,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %r9
	jne	LBB0_26
	jmp	LBB0_27
LBB0_8:
	addq	$16, %r13
	movl	8(%rbx), %edx
	decl	%edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rcx
	callq	_lsrec_fill
	movq	16(%rbx), %r13
	movslq	8(%rbx), %rbx
	decq	%rbx
	shlq	$4, %rbx
	cmpl	$16, (%r13,%rbx)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	xorl	%edi, %edi
	callq	_fail
LBB0_10:
	movq	8(%r13,%rbx), %rax
	movq	(%rax,%r12), %rcx
	movq	%rcx, 8(%r15)
	movq	8(%rax,%r12), %rax
	movq	%rax, (%r15)
	movq	_g_recsize@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_LS_HIST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_28
LBB0_27:
	movq	_g_recsize@GOTPCREL(%rip), %rax
	addq	(%rax), %r15
	movq	%r15, 8(%r14)
	incq	(%r14)
LBB0_28:
	movq	_DTRACE_AGGWALK_NEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	%r9d, %esi
	andl	$-4, %esi
	leaq	-4(%rsi), %rax
	movq	%rax, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$12, %rax
	jae	LBB0_15
## %bb.14:
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_15:
	andq	$-4, %rdi
	leaq	(%r12,%rcx,8), %rax
	addq	$112, %rax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movups	-112(%rax,%rbx,8), %xmm0
	movups	-96(%rax,%rbx,8), %xmm1
	movups	%xmm0, (%rdx,%rbx,8)
	movups	%xmm1, 16(%rdx,%rbx,8)
	movups	-80(%rax,%rbx,8), %xmm0
	movups	-64(%rax,%rbx,8), %xmm1
	movups	%xmm0, 32(%rdx,%rbx,8)
	movups	%xmm1, 48(%rdx,%rbx,8)
	movups	-48(%rax,%rbx,8), %xmm0
	movups	-32(%rax,%rbx,8), %xmm1
	movups	%xmm0, 64(%rdx,%rbx,8)
	movups	%xmm1, 80(%rdx,%rbx,8)
	movups	-16(%rax,%rbx,8), %xmm0
	movups	(%rax,%rbx,8), %xmm1
	movups	%xmm0, 96(%rdx,%rbx,8)
	movups	%xmm1, 112(%rdx,%rbx,8)
	addq	$16, %rbx
	addq	$-4, %rdi
	jne	LBB0_16
LBB0_17:
	testq	%r8, %r8
	je	LBB0_20
## %bb.18:
	leaq	(%rdx,%rbx,8), %rax
	addq	$16, %rax
	addq	%rcx, %rbx
	leaq	(%r12,%rbx,8), %rdi
	addq	$16, %rdi
	shlq	$5, %r8
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdi,%rbx), %xmm0
	movups	(%rdi,%rbx), %xmm1
	movups	%xmm0, -16(%rax,%rbx)
	movups	%xmm1, (%rax,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r8
	jne	LBB0_19
LBB0_20:
	cmpq	%r9, %rsi
	je	LBB0_27
## %bb.21:
	addq	%rsi, %rcx
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_g_nrecs,8,3                    ## @g_nrecs
	.comm	_DTRACE_AGGVARIDNONE,8,3        ## @DTRACE_AGGVARIDNONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad variable ID in aggregation record"

	.comm	_DTRACE_QUANTIZE_NBUCKETS,4,2   ## @DTRACE_QUANTIZE_NBUCKETS
L_.str.1:                               ## @.str.1
	.asciz	"bad quantize size in aggregation record"

	.comm	_DTRACE_QUANTIZE_ZEROBUCKET,4,2 ## @DTRACE_QUANTIZE_ZEROBUCKET
L_.str.2:                               ## @.str.2
	.asciz	"bad avg size in aggregation record"

	.comm	_g_recsize,8,3                  ## @g_recsize
	.comm	_LS_HIST,8,3                    ## @LS_HIST
	.comm	_DTRACE_AGGWALK_NEXT,4,2        ## @DTRACE_AGGWALK_NEXT
	.no_dead_strip	_process_aggregate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_aggregate
_process_aggregate:                     ; @process_aggregate
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	ldp	x21, x24, [x0]
	ldp	x8, x20, [x1]
Lloh0:
	adrp	x9, _g_nrecs@GOTPAGE
Lloh1:
	ldr	x9, [x9, _g_nrecs@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lt
	bl	_assert
	ldr	x8, [x24]
Lloh3:
	adrp	x9, _DTRACE_AGGVARIDNONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DTRACE_AGGVARIDNONE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x10, x9, #1
	ldr	x23, [x24, #16]
Lloh6:
	adrp	x22, _g_recsize@GOTPAGE
Lloh7:
	ldr	x22, [x22, _g_recsize@GOTPAGEOFF]
	cmp	x8, x10
	b.le	LBB0_11
; %bb.1:
	ldrsw	x10, [x24, #8]
	sub	x24, x10, #1
	add	x9, x9, #2
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_fail
LBB0_3:
	lsl	x8, x24, #4
	ldrsw	x8, [x23, x8]
Lloh10:
	adrp	x25, _DTRACE_QUANTIZE_NBUCKETS@GOTPAGE
Lloh11:
	ldr	x25, [x25, _DTRACE_QUANTIZE_NBUCKETS@GOTPAGEOFF]
	ldrsw	x10, [x25]
	cmp	x8, x10, lsl #3
	b.eq	LBB0_5
; %bb.4:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #0
	bl	_fail
	ldr	w10, [x25]
LBB0_5:
Lloh14:
	adrp	x8, _DTRACE_QUANTIZE_ZEROBUCKET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DTRACE_QUANTIZE_ZEROBUCKET@GOTPAGEOFF]
Lloh16:
	ldrsw	x8, [x8]
	cmp	w10, w8
	b.le	LBB0_14
; %bb.6:
	add	x9, x23, x24, lsl #4
	ldr	x9, [x9, #8]
	add	x11, x9, x21
	ldr	x9, [x20, #16]
	sub	w10, w10, w8
	cmp	w10, #8
	b.lo	LBB0_8
; %bb.7:
	add	x13, x11, x8, lsl #3
	sub	x12, x9, x13
	cmp	x12, #64
	b.hs	LBB0_16
LBB0_8:
	mov	x12, #0
LBB0_9:
	add	x8, x11, x8, lsl #3
	sub	x10, x10, x12
	add	x9, x9, x12, lsl #3
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8], #8
	str	x11, [x9], #8
	subs	x10, x10, #1
	b.ne	LBB0_10
	b	LBB0_14
LBB0_11:
	add	x1, x23, #16
	ldr	w8, [x24, #8]
	sub	w2, w8, #1
	mov	x0, x20
	mov	x3, x21
	bl	_lsrec_fill
	ldr	x23, [x24, #16]
	ldrsw	x8, [x24, #8]
	sub	x24, x8, #1
	lsl	x8, x24, #4
	ldr	w8, [x23, x8]
	cmp	w8, #16
	b.eq	LBB0_13
; %bb.12:
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #0
	bl	_fail
LBB0_13:
	add	x8, x23, x24, lsl #4
	ldr	x8, [x8, #8]
	add	x8, x8, x21
	ldr	x9, [x8]
	str	x9, [x20, #8]
	ldr	x8, [x8, #8]
	str	x8, [x20]
	ldr	x8, [x22]
Lloh19:
	adrp	x9, _LS_HIST@GOTPAGE
Lloh20:
	ldr	x9, [x9, _LS_HIST@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_15
LBB0_14:
	ldr	x8, [x22]
	add	x8, x8, x20
	ldr	x9, [x19]
	add	x9, x9, #1
	stp	x9, x8, [x19]
LBB0_15:
Lloh22:
	adrp	x8, _DTRACE_AGGWALK_NEXT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DTRACE_AGGWALK_NEXT@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_16:
	and	x12, x10, #0xfffffff8
	add	x8, x12, x8
	add	x13, x13, #32
	add	x14, x9, #32
	mov	x15, x12
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x13, #-32]
	ldp	q2, q3, [x13], #64
	stp	q0, q1, [x14, #-32]
	stp	q2, q3, [x14], #64
	subs	x15, x15, #8
	b.ne	LBB0_17
; %bb.18:
	cmp	x12, x10
	b.eq	LBB0_14
	b	LBB0_9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_g_nrecs,8,3                    ; @g_nrecs
	.comm	_DTRACE_AGGVARIDNONE,8,3        ; @DTRACE_AGGVARIDNONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad variable ID in aggregation record"

	.comm	_DTRACE_QUANTIZE_NBUCKETS,4,2   ; @DTRACE_QUANTIZE_NBUCKETS
l_.str.1:                               ; @.str.1
	.asciz	"bad quantize size in aggregation record"

	.comm	_DTRACE_QUANTIZE_ZEROBUCKET,4,2 ; @DTRACE_QUANTIZE_ZEROBUCKET
l_.str.2:                               ; @.str.2
	.asciz	"bad avg size in aggregation record"

	.comm	_g_recsize,8,3                  ; @g_recsize
	.comm	_LS_HIST,8,3                    ; @LS_HIST
	.comm	_DTRACE_AGGWALK_NEXT,4,2        ; @DTRACE_AGGWALK_NEXT
	.no_dead_strip	_process_aggregate
.subsections_via_symbols
