	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function devstats
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_dev_select@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edx, %rcx
	movslq	(%rax,%rcx,4), %rsi
	movq	_cur_dev@GOTPCREL(%rip), %rax
	fldt	(%rax)
	movq	_last_dev@GOTPCREL(%rip), %rcx
	fldt	(%rcx)
	fsubrp	%st, %st(1)
	movq	16(%rax), %rax
	shlq	$2, %rsi
	movq	(%rax), %rdi
	addq	%rsi, %rdi
	movq	16(%rcx), %rax
	addq	(%rax), %rsi
	movq	_DSM_KB_PER_TRANSFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DSM_TRANSFERS_PER_SECOND@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_DSM_MB_PER_SECOND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_DSM_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rsp)
	leaq	-64(%rbp), %rcx
	movq	%rcx, 24(%rsp)
	movl	%eax, 16(%rsp)
	fstpt	(%rsp)
	leaq	-80(%rbp), %rcx
	leaq	-96(%rbp), %r9
	callq	_devstat_compute_statistics
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_devstat_errbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_2:
	movq	_numbers@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_wnd@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	je	LBB0_4
## %bb.3:
	fldt	-80(%rbp)
	fldt	-96(%rbp)
	fldt	-64(%rbp)
	fstpt	32(%rsp)
	fstpt	16(%rsp)
	fstpt	(%rsp)
	leaq	L_.str.1(%rip), %rcx
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_mvwprintw
	jmp	LBB0_7
LBB0_4:
	leal	1(%rbx), %r12d
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_wmove
	fldt	-64(%rbp)
	fstpt	(%rsp)
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movl	$50, %edi
	callq	_histogram
	movl	(%r13), %edi
	leal	2(%rbx), %r15d
	movl	%r12d, %esi
	movl	%r14d, %edx
	callq	_wmove
	fldt	-96(%rbp)
	fstpt	(%rsp)
	movl	$50, %edi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_histogram
	movq	_kbpt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.6:
	movl	(%r13), %edi
	addl	$3, %ebx
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_wmove
	fldt	-80(%rbp)
	fstpt	(%rsp)
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movl	$50, %edi
	callq	_histogram
	jmp	LBB0_7
LBB0_5:
	movl	%r15d, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_select,8,3                 ## @dev_select
	.comm	_cur_dev,32,4                   ## @cur_dev
	.comm	_last_dev,32,4                  ## @last_dev
	.comm	_DSM_KB_PER_TRANSFER,4,2        ## @DSM_KB_PER_TRANSFER
	.comm	_DSM_TRANSFERS_PER_SECOND,4,2   ## @DSM_TRANSFERS_PER_SECOND
	.comm	_DSM_MB_PER_SECOND,4,2          ## @DSM_MB_PER_SECOND
	.comm	_DSM_NONE,4,2                   ## @DSM_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_devstat_errbuf,4,2             ## @devstat_errbuf
	.comm	_numbers,8,3                    ## @numbers
	.comm	_wnd,4,2                        ## @wnd
L_.str.1:                               ## @.str.1
	.asciz	" %5.2Lf %3.0Lf %5.2Lf "

	.comm	_kbpt,8,3                       ## @kbpt
	.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, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _dev_select@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dev_select@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldrsw	x8, [x8, w2, sxtw #2]
Lloh3:
	adrp	x9, _cur_dev@GOTPAGE
Lloh4:
	ldr	x9, [x9, _cur_dev@GOTPAGEOFF]
	ldr	d0, [x9]
Lloh5:
	adrp	x10, _last_dev@GOTPAGE
Lloh6:
	ldr	x10, [x10, _last_dev@GOTPAGEOFF]
	ldr	d1, [x10]
	fsub	d0, d0, d1
	ldr	x9, [x9, #8]
	ldr	x9, [x9]
	lsl	x8, x8, #2
	add	x0, x9, x8
	ldr	x9, [x10, #8]
	ldr	x9, [x9]
	add	x1, x9, x8
Lloh7:
	adrp	x8, _DSM_KB_PER_TRANSFER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DSM_KB_PER_TRANSFER@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _DSM_TRANSFERS_PER_SECOND@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DSM_TRANSFERS_PER_SECOND@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
Lloh13:
	adrp	x8, _DSM_MB_PER_SECOND@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DSM_MB_PER_SECOND@GOTPAGEOFF]
Lloh15:
	ldr	w6, [x8]
Lloh16:
	adrp	x8, _DSM_NONE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DSM_NONE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [sp]
	add	x3, sp, #16
	add	x5, sp, #24
	add	x7, sp, #8
	bl	_devstat_compute_statistics
	cbz	x0, LBB0_2
; %bb.1:
Lloh19:
	adrp	x8, _devstat_errbuf@GOTPAGE
Lloh20:
	ldr	x8, [x8, _devstat_errbuf@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
Lloh24:
	adrp	x8, _numbers@GOTPAGE
Lloh25:
	ldr	x8, [x8, _numbers@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
Lloh27:
	adrp	x23, _wnd@GOTPAGE
Lloh28:
	ldr	x23, [x23, _wnd@GOTPAGEOFF]
	ldr	w0, [x23]
	cbz	x8, LBB0_4
; %bb.3:
	ldp	d0, d1, [sp, #16]
	ldr	d2, [sp, #8]
Lloh29:
	adrp	x3, l_.str.1@PAGE
Lloh30:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_mvwprintw
	b	LBB0_7
LBB0_4:
	add	w22, w19, #1
	mov	x1, x19
	mov	x2, x20
	bl	_wmove
	ldr	d0, [sp, #8]
	fmov	d1, #0.50000000
	mov	w0, #50
	bl	_histogram
	ldr	w0, [x23]
	add	w21, w19, #2
	mov	x1, x22
	mov	x2, x20
	bl	_wmove
	ldr	d0, [sp, #24]
	fmov	d1, #0.50000000
	mov	w0, #50
	bl	_histogram
Lloh31:
	adrp	x8, _kbpt@GOTPAGE
Lloh32:
	ldr	x8, [x8, _kbpt@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w0, [x23]
	add	w19, w19, #3
	mov	x1, x21
	mov	x2, x20
	bl	_wmove
	ldr	d0, [sp, #16]
	fmov	d1, #0.50000000
	mov	w0, #50
	bl	_histogram
	b	LBB0_7
LBB0_6:
	mov	x19, x21
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_select,8,3                 ; @dev_select
	.comm	_cur_dev,16,3                   ; @cur_dev
	.comm	_last_dev,16,3                  ; @last_dev
	.comm	_DSM_KB_PER_TRANSFER,4,2        ; @DSM_KB_PER_TRANSFER
	.comm	_DSM_TRANSFERS_PER_SECOND,4,2   ; @DSM_TRANSFERS_PER_SECOND
	.comm	_DSM_MB_PER_SECOND,4,2          ; @DSM_MB_PER_SECOND
	.comm	_DSM_NONE,4,2                   ; @DSM_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_devstat_errbuf,4,2             ; @devstat_errbuf
	.comm	_numbers,8,3                    ; @numbers
	.comm	_wnd,4,2                        ; @wnd
l_.str.1:                               ; @.str.1
	.asciz	" %5.2Lf %3.0Lf %5.2Lf "

	.comm	_kbpt,8,3                       ; @kbpt
	.no_dead_strip	_devstats
.subsections_via_symbols
