	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_print_aggs                  ## -- Begin function dt_print_aggs
	.p2align	4, 0x90
_dt_print_aggs:                         ## @dt_print_aggs
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	(%rdi), %rax
	movq	16(%rax), %rsi
	movq	16(%rdx), %r13
	movq	24(%rdx), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax), %eax
	movq	_DTRACE_A_TOTAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ecx, (%rdx)
	movq	_DTRACE_A_MINMAXBIN@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, 4(%rdx)
	xorl	%r14d, %r14d
	cmpl	$2, (%rsi)
	jl	LBB0_8
## %bb.1:
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	$1, %ecx
	movl	$24, %r14d
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %r15
	movl	16(%r15,%r14), %edi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %r12
	movq	(%r15,%r14), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	8(%r15,%r14), %rbx
	callq	_DTRACEACT_ISAGG
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%r14, %r15
	addq	%r12, %rbx
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%rbx, %rcx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	%r13, %r9
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	$1
	callq	_dt_print_datum
	addq	$16, %rsp
	movl	$-1, %ebx
	testq	%rax, %rax
	js	LBB0_20
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_DTRACE_BUFDATA_AGGKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	movq	%r13, %rcx
	callq	_dt_buffered_flush
	testq	%rax, %rax
	js	LBB0_20
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movslq	(%rsi), %rax
	addq	$24, %r14
	cmpq	%rax, %rcx
	jl	LBB0_2
## %bb.6:
	movq	%r12, %r13
	xorl	%r14d, %r14d
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_8
LBB0_7:
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_8:
	xorl	%edi, %edi
	testl	%r14d, %r14d
	setne	%dil
	callq	_assert
	xorl	%eax, %eax
	cmpl	$1, %ebx
	setne	%al
	cmpl	%ebx, %eax
	jge	LBB0_15
## %bb.9:
	xorl	%r15d, %r15d
	cmpl	$1, %ebx
	setne	%r15b
	movl	%r14d, %eax
	movl	%ebx, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rax,2), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r15
	cmpq	%r15, -80(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_15
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	(%rax,%r15,8), %rbx
	movq	16(%rbx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,8), %r12
	movl	16(%rax,%rcx,8), %edi
	movq	(%rax,%rcx,8), %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %r14
	movq	8(%rax,%rcx,8), %r13
	addq	8(%rbx), %r13
	callq	_DTRACEACT_ISAGG
	movl	%eax, %edi
	callq	_assert
	movl	4(%rbx), %eax
	movq	%r14, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r13, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	%rbx, %r9
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	callq	_dt_print_datum
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_19
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_DTRACE_BUFDATA_AGGVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	callq	_dt_buffered_flush
	testq	%rax, %rax
	movl	$-1, %ebx
	js	LBB0_20
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %r13
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 8(%rax)
	jne	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_DTRACE_AGD_PRINTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, 4(%rcx)
	jmp	LBB0_10
LBB0_15:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jne	LBB0_18
## %bb.16:
	cmpl	$0, 4(%rax)
	jne	LBB0_18
## %bb.17:
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_dt_printf
	testq	%rax, %rax
	js	LBB0_19
LBB0_18:
	movq	_DTRACE_BUFDATA_AGGFORMAT@GOTPCREL(%rip), %rax
	movq	_DTRACE_BUFDATA_AGGLAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	(%rax), %r8d
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_dt_buffered_flush
	movq	%rax, %rbx
	sarq	$63, %rbx
	jmp	LBB0_20
LBB0_19:
	movl	$-1, %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DTRACE_A_TOTAL,4,2             ## @DTRACE_A_TOTAL
	.comm	_DTRACE_A_MINMAXBIN,4,2         ## @DTRACE_A_MINMAXBIN
	.comm	_DTRACE_BUFDATA_AGGKEY,4,2      ## @DTRACE_BUFDATA_AGGKEY
	.comm	_DTRACE_BUFDATA_AGGVAL,4,2      ## @DTRACE_BUFDATA_AGGVAL
	.comm	_DTRACE_AGD_PRINTED,4,2         ## @DTRACE_AGD_PRINTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_DTRACE_BUFDATA_AGGFORMAT,4,2   ## @DTRACE_BUFDATA_AGGFORMAT
	.comm	_DTRACE_BUFDATA_AGGLAST,4,2     ## @DTRACE_BUFDATA_AGGLAST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_print_aggs                  ; -- Begin function dt_print_aggs
	.p2align	2
_dt_print_aggs:                         ; @dt_print_aggs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x2
	mov	x24, x1
	mov	x23, x0
	ldr	x21, [x0]
	ldr	x10, [x21, #16]
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _DTRACE_A_TOTAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DTRACE_A_TOTAL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
	str	w9, [x2]
Lloh3:
	adrp	x9, _DTRACE_A_MINMAXBIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DTRACE_A_MINMAXBIN@GOTPAGEOFF]
	ldp	x19, x22, [x2, #16]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x2, #4]
	ldr	w8, [x10]
	cmp	w8, #2
	b.lt	LBB0_7
; %bb.1:
	stp	x10, x21, [sp, #16]             ; 16-byte Folded Spill
	str	w24, [sp, #4]                   ; 4-byte Folded Spill
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	mov	x23, #0
	mov	w27, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x28, x20
	mov	x20, x22
	ldr	x8, [x10, #8]
	add	x25, x8, x23
	ldr	x26, [x25, #24]!
	ldr	w0, [x25, #16]
	ldr	x24, [x21, #8]
	ldr	x22, [x25, #8]
	bl	_DTRACEACT_ISAGG
	cbnz	w0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x3, x22, x24
	mov	x0, x19
	mov	x22, x20
	mov	x1, x20
	mov	x2, x25
	mov	x4, x26
	mov	x5, x21
	mov	w6, #1
	mov	x20, x28
	mov	x7, x28
	bl	_dt_print_datum
	tbnz	x0, #63, LBB0_20
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh6:
	adrp	x8, _DTRACE_BUFDATA_AGGKEY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DTRACE_BUFDATA_AGGKEY@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, #0
	mov	x2, x25
	mov	x3, x21
	bl	_dt_buffered_flush
	tbnz	x0, #63, LBB0_20
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x27, x27, #1
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	ldrsw	x8, [x10]
	add	x23, x23, #24
	cmp	x27, x8
	b.lt	LBB0_2
; %bb.6:
	mov	w27, #0
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w24, [sp, #4]                   ; 4-byte Folded Reload
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_9
LBB0_7:
	mov	w27, #0
	b	LBB0_9
LBB0_8:
	mov	x22, x20
	mov	x20, x28
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w24, [sp, #4]                   ; 4-byte Folded Reload
LBB0_9:
	cmp	w27, #0
	cset	w0, ne
	bl	_assert
	cmp	w24, #1
	cset	w8, ne
	cmp	w8, w24
	b.ge	LBB0_16
; %bb.10:
	cmp	w24, #1
	cset	w8, ne
	mov	w9, w27
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	mov	w9, w24
	add	x27, x23, w8, uxtw #3
	sub	x28, x9, x8
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x27, x27, #8
	subs	x28, x28, #1
	b.eq	LBB0_16
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x27]
	ldp	x8, x26, [x21, #8]
	ldr	x9, [x26, #8]
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	mov	w11, #24
	madd	x23, x10, x11, x9
	ldr	w0, [x23, #16]
	ldp	x24, x9, [x23]
	add	x25, x9, x8
	bl	_DTRACEACT_ISAGG
	bl	_assert
	ldr	w6, [x21, #4]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x25
	mov	x4, x24
	mov	x5, x21
	mov	x7, x20
	bl	_dt_print_datum
	tbnz	x0, #63, LBB0_20
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
Lloh9:
	adrp	x8, _DTRACE_BUFDATA_AGGVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DTRACE_BUFDATA_AGGVAL@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, #0
	mov	x2, x23
	mov	x3, x21
	bl	_dt_buffered_flush
	tbnz	x0, #63, LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x20, #8]
	cbnz	w8, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
Lloh12:
	adrp	x8, _DTRACE_AGD_PRINTED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DTRACE_AGD_PRINTED@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x26, #4]
	orr	w8, w9, w8
	str	w8, [x26, #4]
	b	LBB0_11
LBB0_16:
	ldr	w8, [x20]
	cbnz	w8, LBB0_19
; %bb.17:
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_19
; %bb.18:
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_dt_printf
	tbnz	x0, #63, LBB0_20
LBB0_19:
Lloh17:
	adrp	x8, _DTRACE_BUFDATA_AGGFORMAT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DTRACE_BUFDATA_AGGFORMAT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _DTRACE_BUFDATA_AGGLAST@GOTPAGE
Lloh21:
	ldr	x9, [x9, _DTRACE_BUFDATA_AGGLAST@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w4, w9, w8
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, x21
	bl	_dt_buffered_flush
	asr	x0, x0, #63
	b	LBB0_21
LBB0_20:
	mov	w0, #-1
LBB0_21:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_DTRACE_A_TOTAL,4,2             ; @DTRACE_A_TOTAL
	.comm	_DTRACE_A_MINMAXBIN,4,2         ; @DTRACE_A_MINMAXBIN
	.comm	_DTRACE_BUFDATA_AGGKEY,4,2      ; @DTRACE_BUFDATA_AGGKEY
	.comm	_DTRACE_BUFDATA_AGGVAL,4,2      ; @DTRACE_BUFDATA_AGGVAL
	.comm	_DTRACE_AGD_PRINTED,4,2         ; @DTRACE_AGD_PRINTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_DTRACE_BUFDATA_AGGFORMAT,4,2   ; @DTRACE_BUFDATA_AGGFORMAT
	.comm	_DTRACE_BUFDATA_AGGLAST,4,2     ; @DTRACE_BUFDATA_AGGLAST
.subsections_via_symbols
