	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function IOstats
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_IOstats
	.p2align	4, 0x90
_IOstats:                               ## @IOstats
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rsi
	movq	_diskreads@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_9
## %bb.2:
	movq	_startpass@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_startprog@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	callq	_printf
	xorl	%eax, %eax
	callq	_printIOstats
	movl	(%rbx), %eax
	movq	_totaldiskreads@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
	movq	$0, (%rbx)
	movq	_BT_NUMBUFTYPES@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_7
## %bb.5:
	movq	_readtime@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%ebx, %ebx
	movq	_readcnt@GOTPCREL(%rip), %r13
	movq	_totalreadcnt@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(,%rbx,4), %rdi
	movq	_totalreadtime@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	%rbx, %r15
	shlq	$4, %r15
	addq	%r15, %rsi
	movq	%rdi, %rdx
	callq	_timespecadd
	movq	(%r13), %rax
	movl	(%rax,%rbx,8), %ecx
	movq	(%r14), %rdx
	addl	%ecx, (%rdx,%rbx,4)
	movq	_readtime@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsi,%r15)
	movq	$0, (%rax,%rbx,8)
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	movq	_CLOCK_REALTIME_PRECISE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_startpass@GOTPCREL(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clock_gettime                  ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_debug,8,3                      ## @debug
	.comm	_diskreads,8,3                  ## @diskreads
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: no I/O\n\n"

	.comm	_startpass,8,3                  ## @startpass
	.comm	_startprog,8,3                  ## @startprog
L_.str.1:                               ## @.str.1
	.asciz	"%s: I/O statistics\n"

	.comm	_totaldiskreads,4,2             ## @totaldiskreads
	.comm	_BT_NUMBUFTYPES,4,2             ## @BT_NUMBUFTYPES
	.comm	_totalreadtime,8,3              ## @totalreadtime
	.comm	_readtime,8,3                   ## @readtime
	.comm	_readcnt,8,3                    ## @readcnt
	.comm	_totalreadcnt,8,3               ## @totalreadcnt
	.comm	_CLOCK_REALTIME_PRECISE,4,2     ## @CLOCK_REALTIME_PRECISE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IOstats                        ; -- Begin function IOstats
	.p2align	2
_IOstats:                               ; @IOstats
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.1:
	mov	x1, x0
Lloh3:
	adrp	x19, _diskreads@GOTPAGE
Lloh4:
	ldr	x19, [x19, _diskreads@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_9
; %bb.2:
Lloh5:
	adrp	x8, _startpass@GOTPAGE
Lloh6:
	ldr	x8, [x8, _startpass@GOTPAGEOFF]
	ldr	x9, [x8]
	cbnz	x9, LBB0_4
; %bb.3:
Lloh7:
	adrp	x9, _startprog@GOTPAGE
Lloh8:
	ldr	x9, [x9, _startprog@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	str	x9, [x8]
LBB0_4:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	bl	_printIOstats
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _totaldiskreads@GOTPAGE
Lloh13:
	ldr	x9, [x9, _totaldiskreads@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w8, w10, w8
	str	w8, [x9]
	str	xzr, [x19]
Lloh14:
	adrp	x19, _BT_NUMBUFTYPES@GOTPAGE
Lloh15:
	ldr	x19, [x19, _BT_NUMBUFTYPES@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x20, #0
	mov	x21, #0
	mov	x22, #0
Lloh16:
	adrp	x23, _readtime@GOTPAGE
Lloh17:
	ldr	x23, [x23, _readtime@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh18:
	adrp	x24, _totalreadtime@GOTPAGE
Lloh19:
	ldr	x24, [x24, _totalreadtime@GOTPAGEOFF]
Lloh20:
	adrp	x25, _readcnt@GOTPAGE
Lloh21:
	ldr	x25, [x25, _readcnt@GOTPAGEOFF]
Lloh22:
	adrp	x26, _totalreadcnt@GOTPAGE
Lloh23:
	ldr	x26, [x26, _totalreadcnt@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24]
	add	x0, x9, x21
	add	x1, x8, x20
	mov	x2, x0
	bl	_timespecadd
	ldr	x9, [x25]
	lsl	x10, x22, #3
	ldr	x8, [x9, x10]
	ldr	x11, [x26]
	ldr	w12, [x11, x21]
	add	w8, w12, w8
	str	w8, [x11, x21]
	ldr	x8, [x23]
	add	x11, x8, x20
	stp	xzr, xzr, [x11]
	str	xzr, [x9, x10]
	add	x22, x22, #1
	ldrsw	x9, [x19]
	add	x21, x21, #4
	add	x20, x20, #16
	cmp	x22, x9
	b.lt	LBB0_6
LBB0_7:
Lloh24:
	adrp	x8, _CLOCK_REALTIME_PRECISE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CLOCK_REALTIME_PRECISE@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, _startpass@GOTPAGE
Lloh28:
	ldr	x1, [x1, _startpass@GOTPAGEOFF]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_clock_gettime
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh29:
	adrp	x0, l_.str@PAGE
Lloh30:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_printf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_debug,8,3                      ; @debug
	.comm	_diskreads,8,3                  ; @diskreads
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: no I/O\n\n"

	.comm	_startpass,8,3                  ; @startpass
	.comm	_startprog,8,3                  ; @startprog
l_.str.1:                               ; @.str.1
	.asciz	"%s: I/O statistics\n"

	.comm	_totaldiskreads,4,2             ; @totaldiskreads
	.comm	_BT_NUMBUFTYPES,4,2             ; @BT_NUMBUFTYPES
	.comm	_totalreadtime,8,3              ; @totalreadtime
	.comm	_readtime,8,3                   ; @readtime
	.comm	_readcnt,8,3                    ; @readcnt
	.comm	_totalreadcnt,8,3               ; @totalreadcnt
	.comm	_CLOCK_REALTIME_PRECISE,4,2     ; @CLOCK_REALTIME_PRECISE
.subsections_via_symbols
