	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctlstat_dump
_ctlstat_dump:                          ## @ctlstat_dump
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	jle	LBB0_9
## %bb.1:
	movq	%rdi, %r15
	movq	16(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_CTL_STATS_NUM_TYPES@GOTPCREL(%rip), %r12
	movq	_iotypes@GOTPCREL(%rip), %r14
	leaq	L_.str.3(%rip), %rbx
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	4(%r15), %eax
	jge	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	movslq	(%r15), %rax
	movq	%rdx, %rcx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rdx
	jge	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%r15, %rdi
	callq	_F_MASK
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r15), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rax,2), %rax
	shlq	$4, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax), %esi
	callq	_bit_test
	testq	%rax, %rax
	je	LBB0_8
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_F_PORTS
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rax, %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rax,2), %r15
	shlq	$4, %r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r15), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	cmpl	$0, (%r12)
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %r15
	addq	$40, %r15
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14), %rax
	movq	(%rax,%r13,8), %rdx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	(%r15), %rax
	movl	(%rax,%r13,8), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	-8(%r15), %rax
	movl	(%rax,%r13,8), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	-16(%r15), %rax
	movl	(%rax,%r13,8), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	-24(%r15), %rax
	movl	(%rax,%r13,4), %edi
	callq	_PRINT_BINTIME
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	-32(%r15), %rax
	movl	(%rax,%r13,4), %edi
	callq	_PRINT_BINTIME
	movl	$10, %edi
	callq	_putchar
	incq	%r13
	movslq	(%r12), %rax
	cmpq	%rax, %r13
	jl	LBB0_6
	jmp	LBB0_7
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"port"

L_.str.2:                               ## @.str.2
	.asciz	"lun"

	.comm	_CTL_STATS_NUM_TYPES,4,2        ## @CTL_STATS_NUM_TYPES
L_.str.3:                               ## @.str.3
	.asciz	"  io type %d (%s)\n"

	.comm	_iotypes,8,3                    ## @iotypes
L_.str.4:                               ## @.str.4
	.asciz	"   bytes %ju\n"

L_.str.5:                               ## @.str.5
	.asciz	"   operations %ju\n"

L_.str.6:                               ## @.str.6
	.asciz	"   dmas %ju\n"

L_.str.7:                               ## @.str.7
	.asciz	"   io time "

L_.str.8:                               ## @.str.8
	.asciz	"\n   dma time "

	.no_dead_strip	_ctlstat_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ctlstat_dump
_ctlstat_dump:                          ; @ctlstat_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x19, x0
	mov	x22, #0
	mov	w21, #0
	ldr	x8, [x0, #16]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x26, _CTL_STATS_NUM_TYPES@GOTPAGE
Lloh1:
	ldr	x26, [x26, _CTL_STATS_NUM_TYPES@GOTPAGEOFF]
Lloh2:
	adrp	x25, _iotypes@GOTPAGE
Lloh3:
	ldr	x25, [x25, _iotypes@GOTPAGEOFF]
Lloh4:
	adrp	x27, l_.str.3@PAGE
Lloh5:
	add	x27, x27, l_.str.3@PAGEOFF
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w21, [sp, #28]                  ; 4-byte Folded Reload
	add	w21, w21, #1
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w8, [x19, #4]
	cmp	w21, w8
	ldr	x22, [sp, #40]                  ; 8-byte Folded Reload
	b.ge	LBB0_9
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x19
	bl	_F_MASK
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #8]
	mov	w8, #48
	mul	x8, x22, x8
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w1, [x9, x8]
	bl	_bit_test
	cbz	x0, LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w21, [sp, #28]                  ; 4-byte Folded Spill
	mov	x0, x19
	bl	_F_PORTS
	cmp	x0, #0
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh8:
	adrp	x9, l_.str.2@PAGE
Lloh9:
	add	x9, x9, l_.str.2@PAGEOFF
	csel	x8, x9, x8, eq
	mov	w9, #48
	str	x22, [sp, #40]                  ; 8-byte Folded Spill
	mul	x9, x22, x9
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	ldr	w9, [x10, x9]
	stp	x8, x9, [sp]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, #0
	ldp	x8, x10, [sp, #32]              ; 16-byte Folded Reload
	mov	w9, #48
	madd	x8, x10, x9, x8
	add	x19, x8, #40
	add	x21, x8, #32
	add	x22, x8, #24
	add	x23, x8, #16
	add	x24, x8, #8
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x25]
	mov	x20, x25
	lsl	x25, x28, #3
	ldr	x8, [x8, x25]
	stp	x28, x8, [sp]
	mov	x0, x27
	bl	_printf
	ldr	x8, [x19]
	ldr	x8, [x8, x25]
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	ldr	x8, [x21]
	ldr	x8, [x8, x25]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	ldr	x8, [x22]
	ldr	x8, [x8, x25]
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.6@PAGE
Lloh17:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
Lloh18:
	adrp	x0, l_.str.7@PAGE
Lloh19:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	ldr	x8, [x23]
	lsl	x25, x28, #2
	ldr	w0, [x8, x25]
	bl	_PRINT_BINTIME
Lloh20:
	adrp	x0, l_.str.8@PAGE
Lloh21:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	ldr	x8, [x24]
	ldr	w0, [x8, x25]
	mov	x25, x20
	bl	_PRINT_BINTIME
	mov	w0, #10
	bl	_putchar
	add	x28, x28, #1
	ldrsw	x8, [x26]
	cmp	x28, x8
	b.lt	LBB0_8
	b	LBB0_2
LBB0_9:
	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	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"port"

l_.str.2:                               ; @.str.2
	.asciz	"lun"

	.comm	_CTL_STATS_NUM_TYPES,4,2        ; @CTL_STATS_NUM_TYPES
l_.str.3:                               ; @.str.3
	.asciz	"  io type %d (%s)\n"

	.comm	_iotypes,8,3                    ; @iotypes
l_.str.4:                               ; @.str.4
	.asciz	"   bytes %ju\n"

l_.str.5:                               ; @.str.5
	.asciz	"   operations %ju\n"

l_.str.6:                               ; @.str.6
	.asciz	"   dmas %ju\n"

l_.str.7:                               ; @.str.7
	.asciz	"   io time "

l_.str.8:                               ; @.str.8
	.asciz	"\n   dma time "

	.no_dead_strip	_ctlstat_dump
.subsections_via_symbols
