	.file	"extr_zdb.c_dump_all_ddts.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"All DDTs are empty\n"
.LC1:
	.string	"\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"DDT histogram (aggregated over all DDTs):\n"
	.text
	.p2align 4
	.type	dump_all_ddts, @function
dump_all_ddts:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	esi, 8
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	rax, 24[rsp]
	lea	r14, 32[rsp]
	mov	rdi, rax
	mov	QWORD PTR 8[rsp], rax
	call	bzero@PLT
	mov	esi, 8
	mov	rdi, r14
	call	bzero@PLT
	mov	ecx, DWORD PTR ZIO_CHECKSUM_FUNCTIONS[rip]
	test	ecx, ecx
	je	.L10
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdx, QWORD PTR 0[r13]
	mov	eax, r12d
	xor	r15d, r15d
	mov	rbp, QWORD PTR [rdx+rax*8]
	mov	edx, DWORD PTR DDT_TYPES[rip]
	test	edx, edx
	je	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR DDT_CLASSES[rip]
	xor	ebx, ebx
	test	eax, eax
	je	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, ebx
	mov	esi, r15d
	mov	rdi, rbp
	add	ebx, 1
	call	dump_ddt@PLT
	cmp	DWORD PTR DDT_CLASSES[rip], ebx
	ja	.L7
.L9:
	add	r15d, 1
	cmp	DWORD PTR DDT_TYPES[rip], r15d
	ja	.L5
.L6:
	add	r12d, 1
	cmp	DWORD PTR ZIO_CHECKSUM_FUNCTIONS[rip], r12d
	ja	.L2
.L10:
	mov	rsi, r14
	mov	rdi, r13
	call	ddt_get_dedup_stats@PLT
	cmp	QWORD PTR 32[rsp], 0
	je	.L25
	lea	rdi, .LC1[rip]
	call	printf@PLT
	mov	rax, QWORD PTR dump_opt[rip]
	cmp	DWORD PTR 272[rax], 1
	jg	.L26
.L12:
	mov	rdi, r14
	call	dump_dedup_ratio@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L26:
	.cfi_restore_state
	lea	rdi, .LC2[rip]
	call	printf@PLT
	mov	rbx, QWORD PTR 8[rsp]
	mov	rdi, r13
	mov	rsi, rbx
	call	ddt_get_dedup_histogram@PLT
	mov	rsi, rbx
	mov	rdi, r14
	call	zpool_dump_ddt@PLT
	jmp	.L12
.L25:
	lea	rdi, .LC0[rip]
	call	printf@PLT
	jmp	.L1
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dump_all_ddts, .-dump_all_ddts
	.comm	dump_opt,8,8
	.comm	ZIO_CHECKSUM_FUNCTIONS,4,4
	.comm	DDT_TYPES,4,4
	.comm	DDT_CLASSES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_zdb.c_dump_all_ddts.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"All DDTs are empty\012\000"
	.align	2
.LC1:
	.ascii	"\012\000"
	.align	2
.LC2:
	.ascii	"DDT histogram (aggregated over all DDTs):\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump_all_ddts, %function
dump_all_ddts:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L24
	sub	sp, sp, #20
	mov	r1, #4
	mov	r9, r0
	ldr	r10, .L24+4
	add	r0, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	bzero
	mov	r1, #4
	add	r0, sp, #8
	bl	bzero
	ldr	r3, [r10]
	cmp	r3, #0
	beq	.L10
	mov	r8, #0
	ldr	r7, .L24+8
	ldr	fp, .L24+12
.L2:
	ldr	r2, [r7]
	ldr	r3, [r9]
	cmp	r2, #0
	movne	r5, #0
	ldr	r6, [r3, r8, lsl #2]
	beq	.L6
.L5:
	ldr	r3, [fp]
	cmp	r3, #0
	movne	r4, #0
	beq	.L9
.L7:
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	bl	dump_ddt
	ldr	r3, [fp]
	add	r4, r4, #1
	cmp	r3, r4
	bhi	.L7
.L9:
	ldr	r3, [r7]
	add	r5, r5, #1
	cmp	r3, r5
	bhi	.L5
.L6:
	ldr	r3, [r10]
	add	r8, r8, #1
	cmp	r3, r8
	bhi	.L2
.L10:
	mov	r0, r9
	add	r1, sp, #8
	bl	ddt_get_dedup_stats
	ldr	r3, [sp, #8]
	cmp	r3, #0
	beq	.L21
	ldr	r0, .L24+16
	bl	printf
	ldr	r3, .L24+20
	ldr	r3, [r3]
	ldr	r3, [r3, #272]
	cmp	r3, #1
	bgt	.L22
.L12:
	add	r0, sp, #8
	bl	dump_dedup_ratio
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	ldr	r0, .L24+24
	bl	printf
	add	r1, sp, #4
	mov	r0, r9
	bl	ddt_get_dedup_histogram
	add	r1, sp, #4
	add	r0, sp, #8
	bl	zpool_dump_ddt
	b	.L12
.L21:
	ldr	r0, .L24+28
	bl	printf
	b	.L1
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC3
	.word	ZIO_CHECKSUM_FUNCTIONS
	.word	DDT_TYPES
	.word	DDT_CLASSES
	.word	.LC1
	.word	dump_opt
	.word	.LC2
	.word	.LC0
	.size	dump_all_ddts, .-dump_all_ddts
	.comm	dump_opt,4,4
	.comm	ZIO_CHECKSUM_FUNCTIONS,4,4
	.comm	DDT_TYPES,4,4
	.comm	DDT_CLASSES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
