	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_aggregate_go                ## -- Begin function dt_aggregate_go
	.p2align	4, 0x90
_dt_aggregate_go:                       ## @dt_aggregate_go
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%edi, %edi
	cmpl	$0, 8(%r15)
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpl	$0, 12(%r15)
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, 16(%r15)
	sete	%dil
	callq	_assert
	movq	__SC_CPUID_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_dt_sysconf
	incl	%eax
	movl	%eax, 8(%r15)
	movq	__SC_NPROCESSORS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_dt_sysconf
	movl	%eax, 12(%r15)
	leal	(,%rax,4), %edi
	callq	_malloc
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	(%r15), %rax
	movq	_DTRACEOPT_AGGSIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -40(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdx
	movq	%r15, %rdi
	callq	_dtrace_getopt
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	-40(%rbp), %rdi
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.2:
	movq	_DTRACEOPT_UNSET@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rdi
	je	LBB0_13
## %bb.3:
	movl	%edi, 32(%r15)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_malloc
	movq	%rax, 40(%r15)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%r15, %rdi
	callq	_dtrace_getopt
	testl	%eax, %eax
	sete	%al
	movq	-32(%rbp), %rcx
	cmpq	(%rbx), %rcx
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	-32(%rbp), %rax
	movq	_DTRACE_CPUALL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.7:
	movq	$0, 24(%r15)
	cmpl	$0, 8(%r15)
	jle	LBB0_13
## %bb.8:
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	incl	%ebx
	cmpl	8(%r15), %ebx
	jge	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_dt_status
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	16(%r15), %rax
	movq	24(%r15), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, 24(%r15)
	movl	%ebx, (%rax,%rcx,4)
	jmp	LBB0_11
LBB0_14:
	movq	_EDT_NOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dt_set_errno                   ## TAILCALL
LBB0_4:
	movq	_EDT_NOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_dt_set_errno
	movl	%eax, %r14d
	jmp	LBB0_13
LBB0_6:
	movslq	12(%r15), %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	setl	%dil
	callq	_assert
	movl	-32(%rbp), %eax
	movq	16(%r15), %rcx
	movq	24(%r15), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, 24(%r15)
	movl	%eax, (%rcx,%rdx,4)
	jmp	LBB0_13
LBB0_12:
	xorl	%r14d, %r14d
LBB0_13:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__SC_CPUID_MAX,4,2              ## @_SC_CPUID_MAX
	.comm	__SC_NPROCESSORS_MAX,4,2        ## @_SC_NPROCESSORS_MAX
	.comm	_EDT_NOMEM,4,2                  ## @EDT_NOMEM
	.comm	_DTRACEOPT_AGGSIZE,8,3          ## @DTRACEOPT_AGGSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"aggsize"

	.comm	_DTRACEOPT_UNSET,8,3            ## @DTRACEOPT_UNSET
L_.str.1:                               ## @.str.1
	.asciz	"cpu"

	.comm	_DTRACE_CPUALL,8,3              ## @DTRACE_CPUALL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_aggregate_go                ; -- Begin function dt_aggregate_go
	.p2align	2
_dt_aggregate_go:                       ; @dt_aggregate_go
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0, #8]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	ldr	w8, [x19, #12]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
Lloh0:
	adrp	x8, __SC_CPUID_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, __SC_CPUID_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dt_sysconf
	add	w8, w0, #1
	str	w8, [x19, #8]
Lloh3:
	adrp	x8, __SC_NPROCESSORS_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, __SC_NPROCESSORS_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dt_sysconf
	str	w0, [x19, #12]
	lsl	w0, w0, #2
	bl	_malloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_10
; %bb.1:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _DTRACEOPT_AGGSIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DTRACEOPT_AGGSIZE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [sp, #8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x19
	bl	_dtrace_getopt
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	mov	w0, #0
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_14
; %bb.2:
Lloh11:
	adrp	x20, _DTRACEOPT_UNSET@GOTPAGE
Lloh12:
	ldr	x20, [x20, _DTRACEOPT_UNSET@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.3:
	str	w8, [x19, #32]
	mov	x0, x8
	bl	_malloc
	str	x0, [x19, #40]
	cbz	x0, LBB0_11
; %bb.4:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, sp
	mov	x0, x19
	bl	_dtrace_getopt
	cmp	w0, #0
	ldr	x8, [sp]
	ldr	x9, [x20]
	ccmp	x8, x9, #4, eq
	cset	w0, ne
	bl	_assert
	ldr	x8, [sp]
Lloh15:
	adrp	x9, _DTRACE_CPUALL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DTRACE_CPUALL@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.5:
	str	xzr, [x19, #24]
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.6:
	mov	w20, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w20, w20, #1
	ldr	w8, [x19, #8]
	cmp	w20, w8
	b.ge	LBB0_13
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_dt_status
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldp	x8, x9, [x19, #16]
	add	x10, x9, #1
	str	x10, [x19, #24]
	str	w20, [x8, x9, lsl #2]
	b	LBB0_7
LBB0_10:
Lloh18:
	adrp	x8, _EDT_NOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EDT_NOMEM@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_dt_set_errno
LBB0_11:
Lloh21:
	adrp	x8, _EDT_NOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EDT_NOMEM@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dt_set_errno
	b	LBB0_14
LBB0_12:
	ldrsw	x9, [x19, #12]
	cmp	x8, x9
	cset	w0, lt
	bl	_assert
	mov	w0, #0
	ldr	x8, [sp]
	ldp	x9, x10, [x19, #16]
	add	x11, x10, #1
	str	x11, [x19, #24]
	str	w8, [x9, x10, lsl #2]
	b	LBB0_14
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	__SC_CPUID_MAX,4,2              ; @_SC_CPUID_MAX
	.comm	__SC_NPROCESSORS_MAX,4,2        ; @_SC_NPROCESSORS_MAX
	.comm	_EDT_NOMEM,4,2                  ; @EDT_NOMEM
	.comm	_DTRACEOPT_AGGSIZE,8,3          ; @DTRACEOPT_AGGSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"aggsize"

	.comm	_DTRACEOPT_UNSET,8,3            ; @DTRACEOPT_UNSET
l_.str.1:                               ; @.str.1
	.asciz	"cpu"

	.comm	_DTRACE_CPUALL,8,3              ; @DTRACE_CPUALL
.subsections_via_symbols
