	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsshow2
_dsshow2:                               ## @dsshow2
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movl	%edi, %r15d
	movq	_dev_select@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edx, %rcx
	movslq	(%rax,%rcx,4), %rbx
	fldt	(%r8)
	testq	%r9, %r9
	je	LBB0_1
## %bb.2:
	fldt	(%r9)
	movq	16(%r14), %rax
	shlq	$2, %rbx
	movq	(%rax), %rax
	addq	%rbx, %rax
	movq	16(%r9), %rcx
	movq	%rbx, %r13
	addq	(%rcx), %r13
	movq	%rax, %rbx
	fxch	%st(1)
	jmp	LBB0_3
LBB0_1:
	movq	16(%r14), %rax
	shlq	$2, %rbx
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	fstpt	-60(%rbp)                       ## 10-byte Folded Spill
	callq	_devstat_compute_etime
	fldt	-60(%rbp)                       ## 10-byte Folded Reload
	movq	16(%r14), %rax
	addq	(%rax), %rbx
LBB0_3:
	fsubp	%st, %st(1)
	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_BUSY_PCT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_DSM_NONE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 48(%rsp)
	leaq	-80(%rbp), %rsi
	movq	%rsi, 40(%rsp)
	movl	%ecx, 32(%rsp)
	leaq	-96(%rbp), %rcx
	movq	%rcx, 24(%rsp)
	movl	%eax, 16(%rsp)
	fstpt	(%rsp)
	leaq	-112(%rbp), %rcx
	leaq	-128(%rbp), %r9
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_devstat_compute_statistics
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_devstat_errbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%rax,2), %eax
	leal	(%r15,%rax,2), %ebx
	fldt	-112(%rbp)
	leal	1(%r12), %edi
	fstpt	(%rsp)
	movl	%ebx, %esi
	movl	$5, %edx
	movl	$2, %ecx
	xorl	%r8d, %r8d
	callq	_putlongdouble
	fldt	-128(%rbp)
	leal	2(%r12), %edi
	fstpt	(%rsp)
	movl	%ebx, %esi
	movl	$5, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_putlongdouble
	fldt	-96(%rbp)
	leal	3(%r12), %edi
	fstpt	(%rsp)
	movl	%ebx, %esi
	movl	$5, %edx
	movl	$2, %ecx
	xorl	%r8d, %r8d
	callq	_putlongdouble
	fldt	-80(%rbp)
	addl	$4, %r12d
	fstpt	(%rsp)
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	$5, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_putlongdouble
	addq	$152, %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	_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_BUSY_PCT,4,2               ## @DSM_BUSY_PCT
	.comm	_DSM_NONE,4,2                   ## @DSM_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_devstat_errbuf,4,2             ## @devstat_errbuf
	.no_dead_strip	_dsshow2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsshow2
_dsshow2:                               ; @dsshow2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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 b8, -72
	.cfi_offset b9, -80
	mov	x22, x4
	mov	x20, x3
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _dev_select@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dev_select@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldrsw	x8, [x8, w2, sxtw #2]
	ldr	d8, [x4]
	cbz	x5, LBB0_2
; %bb.1:
	ldr	d0, [x5]
	ldr	x9, [x22, #8]
	ldr	x9, [x9]
	lsl	x8, x8, #2
	add	x0, x9, x8
	ldr	x9, [x5, #8]
	ldr	x9, [x9]
	add	x1, x9, x8
	b	LBB0_3
LBB0_2:
	ldr	x9, [x22, #8]
	ldr	x9, [x9]
	lsl	x23, x8, #2
	add	x0, x9, x23
	mov	x1, #0
	bl	_devstat_compute_etime
	mov	x1, #0
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	add	x0, x8, x23
LBB0_3:
	fsub	d0, d8, d0
Lloh3:
	adrp	x8, _DSM_KB_PER_TRANSFER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DSM_KB_PER_TRANSFER@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _DSM_TRANSFERS_PER_SECOND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DSM_TRANSFERS_PER_SECOND@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x8, _DSM_MB_PER_SECOND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DSM_MB_PER_SECOND@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
Lloh12:
	adrp	x8, _DSM_BUSY_PCT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DSM_BUSY_PCT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _DSM_NONE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DSM_NONE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	str	w9, [sp, #16]
	add	x9, sp, #32
	str	x9, [sp, #8]
	str	w8, [sp]
	add	x3, sp, #48
	add	x5, sp, #56
	add	x7, sp, #40
	bl	_devstat_compute_statistics
	cbz	x0, LBB0_5
; %bb.4:
Lloh18:
	adrp	x8, _devstat_errbuf@GOTPAGE
Lloh19:
	ldr	x8, [x8, _devstat_errbuf@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_5:
	mov	w8, #6
	madd	w20, w20, w8, w21
	ldr	d0, [sp, #48]
	add	w0, w19, #1
	mov	x1, x20
	mov	w2, #5
	mov	w3, #2
	mov	w4, #0
	bl	_putlongdouble
	ldr	d0, [sp, #56]
	add	w0, w19, #2
	mov	x1, x20
	mov	w2, #5
	mov	w3, #0
	mov	w4, #0
	bl	_putlongdouble
	ldr	d0, [sp, #40]
	add	w0, w19, #3
	mov	x1, x20
	mov	w2, #5
	mov	w3, #2
	mov	w4, #0
	bl	_putlongdouble
	ldr	d0, [sp, #32]
	add	w0, w19, #4
	mov	x1, x20
	mov	w2, #5
	mov	w3, #0
	mov	w4, #0
	bl	_putlongdouble
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_select,8,3                 ; @dev_select
	.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_BUSY_PCT,4,2               ; @DSM_BUSY_PCT
	.comm	_DSM_NONE,4,2                   ; @DSM_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_devstat_errbuf,4,2             ; @devstat_errbuf
	.no_dead_strip	_dsshow2
.subsections_via_symbols
