	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function devstats
_devstats:                              ## @devstats
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_CPUSTATES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_16
## %bb.1:
	movq	_cur@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_last@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$4, %eax
	jb	LBB0_2
## %bb.3:
	leaq	(%rdx,%rax,8), %rsi
	cmpq	%rsi, %rcx
	jae	LBB0_6
## %bb.4:
	leaq	(%rcx,%rax,8), %rsi
	cmpq	%rsi, %rdx
	jae	LBB0_6
LBB0_2:
	xorl	%esi, %esi
LBB0_12:
	movq	%rsi, %rdi
	notq	%rdi
	testb	$1, %al
	je	LBB0_14
## %bb.13:
	movq	(%rcx,%rsi,8), %r8
	movq	%r8, %rbx
	subq	(%rdx,%rsi,8), %rbx
	movq	%rbx, (%rcx,%rsi,8)
	movq	%r8, (%rdx,%rsi,8)
	orq	$1, %rsi
LBB0_14:
	addq	%rax, %rdi
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rbx
	movq	%rbx, %rdi
	subq	(%rdx,%rsi,8), %rdi
	movq	%rdi, (%rcx,%rsi,8)
	movq	%rbx, (%rdx,%rsi,8)
	movq	8(%rcx,%rsi,8), %rbx
	movq	%rbx, %rdi
	subq	8(%rdx,%rsi,8), %rdi
	movq	%rdi, 8(%rcx,%rsi,8)
	movq	%rbx, 8(%rdx,%rsi,8)
	addq	$2, %rsi
	cmpq	%rsi, %rax
	jne	LBB0_15
	jmp	LBB0_16
LBB0_6:
	movl	%eax, %esi
	andl	$-4, %esi
	leaq	-4(%rsi), %rdi
	movq	%rdi, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.7:
	movq	%r8, %rbx
	andq	$-2, %rbx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi,8), %xmm0
	movdqu	16(%rcx,%rdi,8), %xmm1
	movdqu	(%rdx,%rdi,8), %xmm2
	movdqu	16(%rdx,%rdi,8), %xmm3
	movdqa	%xmm0, %xmm4
	psubq	%xmm2, %xmm4
	movdqa	%xmm1, %xmm2
	psubq	%xmm3, %xmm2
	movdqu	%xmm4, (%rcx,%rdi,8)
	movdqu	%xmm2, 16(%rcx,%rdi,8)
	movdqu	%xmm0, (%rdx,%rdi,8)
	movdqu	%xmm1, 16(%rdx,%rdi,8)
	movdqu	32(%rcx,%rdi,8), %xmm0
	movdqu	48(%rcx,%rdi,8), %xmm1
	movdqu	32(%rdx,%rdi,8), %xmm2
	movdqu	48(%rdx,%rdi,8), %xmm3
	movdqa	%xmm0, %xmm4
	psubq	%xmm2, %xmm4
	movdqa	%xmm1, %xmm2
	psubq	%xmm3, %xmm2
	movdqu	%xmm4, 32(%rcx,%rdi,8)
	movdqu	%xmm2, 48(%rcx,%rdi,8)
	movdqu	%xmm0, 32(%rdx,%rdi,8)
	movdqu	%xmm1, 48(%rdx,%rdi,8)
	addq	$8, %rdi
	addq	$-2, %rbx
	jne	LBB0_8
## %bb.9:
	testb	$1, %r8b
	je	LBB0_11
LBB0_10:
	movdqu	(%rcx,%rdi,8), %xmm0
	movdqu	16(%rcx,%rdi,8), %xmm1
	movdqu	(%rdx,%rdi,8), %xmm2
	movdqu	16(%rdx,%rdi,8), %xmm3
	movdqa	%xmm0, %xmm4
	psubq	%xmm2, %xmm4
	movdqa	%xmm1, %xmm2
	psubq	%xmm3, %xmm2
	movdqu	%xmm4, (%rcx,%rdi,8)
	movdqu	%xmm2, 16(%rcx,%rdi,8)
	movdqu	%xmm0, (%rdx,%rdi,8)
	movdqu	%xmm1, 16(%rdx,%rdi,8)
LBB0_11:
	cmpq	%rax, %rsi
	jne	LBB0_12
LBB0_16:
	movq	_cur@GOTPCREL(%rip), %rax
	fldt	16(%rax)
	movq	_last@GOTPCREL(%rip), %rax
	fldt	16(%rax)
	fsubrp	%st, %st(1)
	fstpt	-52(%rbp)                       ## 10-byte Folded Spill
	leaq	L_.str(%rip), %rdi
	callq	_xo_open_list
	movq	_num_devices@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_24
## %bb.17:
	xorl	%r12d, %r12d
	movq	_dev_select@GOTPCREL(%rip), %r14
	movq	_maxshowdevs@GOTPCREL(%rip), %r15
	leaq	L_.str(%rip), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%rbx, %rdi
	callq	_xo_open_instance
	movq	(%r14), %rax
	movq	16(%rax,%r12), %rcx
	movl	(%rcx), %esi
	movl	4(%rcx), %edx
	movl	12(%rax,%r12), %ecx
	fldt	-80(%rbp)
	fstpt	(%rsp)
	leaq	L_.str.2(%rip), %rdi
	callq	_xo_emit
	movq	%rbx, %rdi
	callq	_xo_close_instance
	movq	_num_devices@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%r13
	movslq	%eax, %rcx
	addq	$24, %r12
	cmpq	%rcx, %r13
	jge	LBB0_24
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rcx
	movq	(%rcx,%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpq	(%r15), %rdx
	jg	LBB0_19
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	movslq	8(%rcx,%r12), %rsi
	movq	_cur@GOTPCREL(%rip), %rax
	movq	32(%rax), %rax
	shlq	$2, %rsi
	movq	(%rax), %rdi
	addq	%rsi, %rdi
	movq	_last@GOTPCREL(%rip), %rax
	movq	32(%rax), %rax
	addq	(%rax), %rsi
	movq	_DSM_TRANSFERS_PER_SECOND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DSM_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	fldt	-52(%rbp)                       ## 10-byte Folded Reload
	fstpt	(%rsp)
	leaq	-80(%rbp), %rcx
	callq	_devstat_compute_statistics
	testq	%rax, %rax
	je	LBB0_18
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	_devstat_errbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_xo_errx
	jmp	LBB0_18
LBB0_24:
	leaq	L_.str(%rip), %rdi
	callq	_xo_close_list
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	xorl	%edi, %edi
	testb	$1, %r8b
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_CPUSTATES,4,2                  ## @CPUSTATES
	.comm	_cur,48,4                       ## @cur
	.comm	_last,48,4                      ## @last
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"device"

	.comm	_num_devices,4,2                ## @num_devices
	.comm	_dev_select,8,3                 ## @dev_select
	.comm	_maxshowdevs,8,3                ## @maxshowdevs
	.comm	_DSM_TRANSFERS_PER_SECOND,4,2   ## @DSM_TRANSFERS_PER_SECOND
	.comm	_DSM_NONE,4,2                   ## @DSM_NONE
L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_devstat_errbuf,4,2             ## @devstat_errbuf
L_.str.2:                               ## @.str.2
	.asciz	"{ekq:name/%c%c%d}{:transfers/%3.0Lf} "

	.no_dead_strip	_devstats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function devstats
_devstats:                              ; @devstats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
Lloh0:
	adrp	x8, _CPUSTATES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPUSTATES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
Lloh3:
	adrp	x9, _cur@GOTPAGE
Lloh4:
	ldr	x9, [x9, _cur@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _last@GOTPAGE
Lloh7:
	ldr	x10, [x10, _last@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	w8, #4
	b.lo	LBB0_6
; %bb.2:
	lsl	x11, x8, #3
	add	x12, x9, x11
	add	x11, x10, x11
	cmp	x9, x11
	ccmp	x10, x12, #2, lo
	b.lo	LBB0_6
; %bb.3:
	and	x11, x8, #0xfffffffc
	add	x12, x9, #16
	add	x13, x10, #16
	mov	x14, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-16]
	ldp	q2, q3, [x13, #-16]
	sub.2d	v2, v0, v2
	sub.2d	v3, v1, v3
	stp	q2, q3, [x12, #-16]
	stp	q0, q1, [x13, #-16]
	add	x12, x12, #32
	add	x13, x13, #32
	subs	x14, x14, #4
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x8
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x11, #0
LBB0_7:
	lsl	x12, x11, #3
	add	x10, x10, x12
	add	x9, x9, x12
	sub	x8, x8, x11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	ldr	x12, [x10]
	sub	x12, x11, x12
	str	x12, [x9], #8
	str	x11, [x10], #8
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
Lloh9:
	adrp	x8, _cur@GOTPAGE
Lloh10:
	ldr	x8, [x8, _cur@GOTPAGEOFF]
Lloh11:
	ldr	d8, [x8, #8]
Lloh12:
	adrp	x8, _last@GOTPAGE
Lloh13:
	ldr	x8, [x8, _last@GOTPAGEOFF]
Lloh14:
	ldr	d9, [x8, #8]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xo_open_list
Lloh17:
	adrp	x24, _num_devices@GOTPAGE
Lloh18:
	ldr	x24, [x24, _num_devices@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.10:
	mov	x25, #0
	mov	x26, #0
	fsub	d8, d8, d9
Lloh19:
	adrp	x27, _dev_select@GOTPAGE
Lloh20:
	ldr	x27, [x27, _dev_select@GOTPAGEOFF]
Lloh21:
	adrp	x28, _maxshowdevs@GOTPAGE
Lloh22:
	ldr	x28, [x28, _maxshowdevs@GOTPAGEOFF]
Lloh23:
	adrp	x22, _DSM_TRANSFERS_PER_SECOND@GOTPAGE
Lloh24:
	ldr	x22, [x22, _DSM_TRANSFERS_PER_SECOND@GOTPAGEOFF]
Lloh25:
	adrp	x23, _DSM_NONE@GOTPAGE
Lloh26:
	ldr	x23, [x23, _DSM_NONE@GOTPAGEOFF]
Lloh27:
	adrp	x19, l_.str@PAGE
Lloh28:
	add	x19, x19, l_.str@PAGEOFF
Lloh29:
	adrp	x20, l_.str.2@PAGE
Lloh30:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh31:
	adrp	x21, l_.str.1@PAGE
Lloh32:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x19
	bl	_xo_open_instance
	ldr	x8, [x27]
	add	x8, x8, x25
	ldr	x9, [x8, #16]
	ldp	w1, w2, [x9]
	ldr	w3, [x8, #12]
	ldr	d0, [sp, #8]
	mov	x0, x20
	bl	_xo_emit
	mov	x0, x19
	bl	_xo_close_instance
	ldr	w8, [x24]
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x26, x26, #1
	add	x25, x25, #24
	cmp	x26, w8, sxtw
	b.ge	LBB0_16
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x27]
	ldr	x10, [x9, x25]
	ldr	x11, [x28]
	cmp	x10, #0
	ccmp	x10, x11, #0, ne
	b.gt	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x8, x9, x25
	ldrsw	x8, [x8, #8]
Lloh33:
	adrp	x9, _cur@GOTPAGE
Lloh34:
	ldr	x9, [x9, _cur@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9, #16]
	ldr	x9, [x9]
	lsl	x8, x8, #2
	add	x0, x9, x8
Lloh36:
	adrp	x9, _last@GOTPAGE
Lloh37:
	ldr	x9, [x9, _last@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9, #16]
	ldr	x9, [x9]
	add	x1, x9, x8
	ldr	w2, [x22]
	ldr	w4, [x23]
	add	x3, sp, #8
	fmov	d0, d8
	bl	_devstat_compute_statistics
	cbz	x0, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh39:
	adrp	x8, _devstat_errbuf@GOTPAGE
Lloh40:
	ldr	x8, [x8, _devstat_errbuf@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	mov	w0, #1
	mov	x1, x21
	bl	_xo_errx
	b	LBB0_11
LBB0_16:
Lloh42:
	adrp	x0, l_.str@PAGE
Lloh43:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xo_close_list
	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
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_CPUSTATES,4,2                  ; @CPUSTATES
	.comm	_cur,24,3                       ; @cur
	.comm	_last,24,3                      ; @last
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"device"

	.comm	_num_devices,4,2                ; @num_devices
	.comm	_dev_select,8,3                 ; @dev_select
	.comm	_maxshowdevs,8,3                ; @maxshowdevs
	.comm	_DSM_TRANSFERS_PER_SECOND,4,2   ; @DSM_TRANSFERS_PER_SECOND
	.comm	_DSM_NONE,4,2                   ; @DSM_NONE
l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_devstat_errbuf,4,2             ; @devstat_errbuf
l_.str.2:                               ; @.str.2
	.asciz	"{ekq:name/%c%c%d}{:transfers/%3.0Lf} "

	.no_dead_strip	_devstats
.subsections_via_symbols
