	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_all_ddts
_dump_all_ddts:                         ## @dump_all_ddts
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	-64(%rbp), %rdi
	movl	$8, %esi
	callq	_bzero
	leaq	-48(%rbp), %rdi
	movl	$8, %esi
	callq	_bzero
	movq	_ZIO_CHECKSUM_FUNCTIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_12
## %bb.1:
	movq	_DDT_TYPES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	movq	_DDT_CLASSES@GOTPCREL(%rip), %r13
	movl	%eax, %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_ZIO_CHECKSUM_FUNCTIONS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edx
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movl	%ecx, %esi
	cmpq	%rsi, %r14
	jae	LBB0_12
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
	testl	%edx, %edx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	(%rcx,%r14,8), %r15
	movl	(%r13), %ecx
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	incl	%r12d
	cmpl	%eax, %r12d
	jae	LBB0_10
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
	testl	%ecx, %ecx
	movl	$0, %ecx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_dump_ddt
	incl	%ebx
	movl	(%r13), %ecx
	cmpl	%ecx, %ebx
	jb	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	_DDT_TYPES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_12:
	leaq	-48(%rbp), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ddt_get_dedup_stats
	cmpq	$0, -48(%rbp)
	je	LBB0_13
## %bb.14:
	movl	$10, %edi
	callq	_putchar
	movq	_dump_opt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$2, 272(%rax)
	jl	LBB0_16
## %bb.15:
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	-64(%rbp), %rbx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ddt_get_dedup_histogram
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_zpool_dump_ddt
LBB0_16:
	leaq	-48(%rbp), %rdi
	callq	_dump_dedup_ratio
	jmp	LBB0_17
LBB0_13:
	leaq	L_str.3(%rip), %rdi
	callq	_puts
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZIO_CHECKSUM_FUNCTIONS,4,2     ## @ZIO_CHECKSUM_FUNCTIONS
	.comm	_DDT_TYPES,4,2                  ## @DDT_TYPES
	.comm	_DDT_CLASSES,4,2                ## @DDT_CLASSES
	.comm	_dump_opt,8,3                   ## @dump_opt
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"DDT histogram (aggregated over all DDTs):"

L_str.3:                                ## @str.3
	.asciz	"All DDTs are empty"

	.no_dead_strip	_dump_all_ddts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_all_ddts
_dump_all_ddts:                         ; @dump_all_ddts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #8
	bl	_bzero
	mov	x0, sp
	mov	w1, #8
	bl	_bzero
Lloh0:
	adrp	x23, _ZIO_CHECKSUM_FUNCTIONS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ZIO_CHECKSUM_FUNCTIONS@GOTPAGEOFF]
	ldr	w9, [x23]
	cbz	w9, LBB0_11
; %bb.1:
	mov	x24, #0
Lloh2:
	adrp	x25, _DDT_TYPES@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DDT_TYPES@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh4:
	adrp	x26, _DDT_CLASSES@GOTPAGE
Lloh5:
	ldr	x26, [x26, _DDT_CLASSES@GOTPAGEOFF]
	mov	x10, x8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x23]
	mov	x10, x8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	cmp	x24, w9, uxtw
	b.hs	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	cbz	w10, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #0
	ldr	x9, [x19]
	ldr	x21, [x9, x24, lsl #3]
	ldr	w9, [x26]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	w20, w20, #1
	cmp	w20, w8
	b.hs	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	cbz	w9, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w22, #0
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_dump_ddt
	add	w22, w22, #1
	ldr	w9, [x26]
	cmp	w22, w9
	b.lo	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	w8, [x25]
	b	LBB0_6
LBB0_11:
	mov	x1, sp
	mov	x0, x19
	bl	_ddt_get_dedup_stats
	ldr	x8, [sp]
	cbz	x8, LBB0_15
; %bb.12:
	mov	w0, #10
	bl	_putchar
Lloh6:
	adrp	x8, _dump_opt@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dump_opt@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w8, [x8, #272]
	cmp	w8, #2
	b.lt	LBB0_14
; %bb.13:
Lloh9:
	adrp	x0, l_str@PAGE
Lloh10:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	add	x1, sp, #8
	mov	x0, x19
	bl	_ddt_get_dedup_histogram
	mov	x0, sp
	add	x1, sp, #8
	bl	_zpool_dump_ddt
LBB0_14:
	mov	x0, sp
	bl	_dump_dedup_ratio
	b	LBB0_16
LBB0_15:
Lloh11:
	adrp	x0, l_str.3@PAGE
Lloh12:
	add	x0, x0, l_str.3@PAGEOFF
	bl	_puts
LBB0_16:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ZIO_CHECKSUM_FUNCTIONS,4,2     ; @ZIO_CHECKSUM_FUNCTIONS
	.comm	_DDT_TYPES,4,2                  ; @DDT_TYPES
	.comm	_DDT_CLASSES,4,2                ; @DDT_CLASSES
	.comm	_dump_opt,8,3                   ; @dump_opt
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"DDT histogram (aggregated over all DDTs):"

l_str.3:                                ; @str.3
	.asciz	"All DDTs are empty"

	.no_dead_strip	_dump_all_ddts
.subsections_via_symbols
