	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zdb_ddt_add_cb
_zdb_ddt_add_cb:                        ## @zdb_ddt_add_cb
	.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
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.1:
	movq	%r9, %r15
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_BP_IS_HOLE
	testq	%rax, %rax
	jne	LBB0_13
## %bb.2:
	movq	%r13, %rdi
	callq	_BP_IS_EMBEDDED
	testq	%rax, %rax
	jne	LBB0_13
## %bb.3:
	movq	_dump_opt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$2, 332(%rax)
	jl	LBB0_6
## %bb.4:
	movq	(%rbx), %rax
	movq	_ZB_ROOT_LEVEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movl	8(%rbx), %r12d
	movq	%r13, %rdi
	callq	_BP_GET_FILL
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_avl_numnodes
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_printf
LBB0_6:
	movq	%r13, %rdi
	callq	_BP_IS_HOLE
	testq	%rax, %rax
	jne	LBB0_13
## %bb.7:
	movq	%r13, %rdi
	callq	_BP_GET_CHECKSUM
	movq	_ZIO_CHECKSUM_OFF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.8:
	movq	%r13, %rdi
	callq	_BP_GET_LEVEL
	testq	%rax, %rax
	jg	LBB0_13
## %bb.9:
	movq	%r13, %rdi
	callq	_BP_GET_TYPE
	movl	%eax, %edi
	callq	_DMU_OT_IS_METADATA
	testq	%rax, %rax
	jne	LBB0_13
## %bb.10:
	leaq	-48(%rbp), %rdi
	movq	%r13, %rsi
	callq	_ddt_key_fill
	leaq	-64(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	callq	_avl_find
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	_UMEM_NOFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$20, %edi
	callq	_umem_zalloc
	movq	%rax, %r12
	movl	-48(%rbp), %eax
	movl	%eax, 16(%r12)
	movl	-44(%rbp), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_avl_insert
LBB0_12:
	incl	(%r12)
	movq	%r13, %rdi
	callq	_BP_GET_LSIZE
	addl	%eax, 12(%r12)
	movq	%r13, %rdi
	callq	_BP_GET_PSIZE
	addl	%eax, 8(%r12)
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_bp_get_dsize_sync
	addl	%eax, 4(%r12)
LBB0_13:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dump_opt,8,3                   ## @dump_opt
	.comm	_ZB_ROOT_LEVEL,8,3              ## @ZB_ROOT_LEVEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"traversing objset %llu, %llu objects, %lu blocks so far\n"

	.comm	_ZIO_CHECKSUM_OFF,8,3           ## @ZIO_CHECKSUM_OFF
	.comm	_UMEM_NOFAIL,4,2                ## @UMEM_NOFAIL
	.no_dead_strip	_zdb_ddt_add_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zdb_ddt_add_cb
_zdb_ddt_add_cb:                        ; @zdb_ddt_add_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	cbz	x2, LBB0_13
; %bb.1:
	mov	x21, x5
	mov	x22, x3
	mov	x19, x2
	mov	x20, x0
	mov	x0, x2
	bl	_BP_IS_HOLE
	cbnz	x0, LBB0_13
; %bb.2:
	mov	x0, x19
	bl	_BP_IS_EMBEDDED
	cbnz	x0, LBB0_13
; %bb.3:
Lloh0:
	adrp	x8, _dump_opt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dump_opt@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, #332]
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.4:
	ldr	x8, [x22]
Lloh3:
	adrp	x9, _ZB_ROOT_LEVEL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ZB_ROOT_LEVEL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	w22, [x22, #8]
	mov	x0, x19
	bl	_BP_GET_FILL
	mov	x23, x0
	mov	x0, x21
	bl	_avl_numnodes
	mov	x3, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	mov	x2, x23
	bl	_printf
LBB0_6:
	mov	x0, x19
	bl	_BP_IS_HOLE
	cbnz	x0, LBB0_13
; %bb.7:
	mov	x0, x19
	bl	_BP_GET_CHECKSUM
Lloh8:
	adrp	x8, _ZIO_CHECKSUM_OFF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ZIO_CHECKSUM_OFF@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_13
; %bb.8:
	mov	x0, x19
	bl	_BP_GET_LEVEL
	cmp	x0, #0
	b.gt	LBB0_13
; %bb.9:
	mov	x0, x19
	bl	_BP_GET_TYPE
	bl	_DMU_OT_IS_METADATA
	cbnz	x0, LBB0_13
; %bb.10:
	add	x8, sp, #8
	add	x0, x8, #16
	mov	x1, x19
	bl	_ddt_key_fill
	add	x1, sp, #8
	add	x2, sp, #28
	mov	x0, x21
	bl	_avl_find
	mov	x22, x0
	cbnz	x0, LBB0_12
; %bb.11:
Lloh11:
	adrp	x8, _UMEM_NOFAIL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UMEM_NOFAIL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	w0, #20
	bl	_umem_zalloc
	mov	x22, x0
	ldp	w8, w2, [sp, #24]
	str	w8, [x0, #16]
	mov	x0, x21
	mov	x1, x22
	bl	_avl_insert
LBB0_12:
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	mov	x0, x19
	bl	_BP_GET_LSIZE
	ldr	w8, [x22, #12]
	add	w8, w8, w0
	str	w8, [x22, #12]
	mov	x0, x19
	bl	_BP_GET_PSIZE
	ldr	w8, [x22, #8]
	add	w8, w8, w0
	str	w8, [x22, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_bp_get_dsize_sync
	ldr	w8, [x22, #4]
	add	w8, w8, w0
	str	w8, [x22, #4]
LBB0_13:
	mov	w0, #0
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_dump_opt,8,3                   ; @dump_opt
	.comm	_ZB_ROOT_LEVEL,8,3              ; @ZB_ROOT_LEVEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"traversing objset %llu, %llu objects, %lu blocks so far\n"

	.comm	_ZIO_CHECKSUM_OFF,8,3           ; @ZIO_CHECKSUM_OFF
	.comm	_UMEM_NOFAIL,4,2                ; @UMEM_NOFAIL
	.no_dead_strip	_zdb_ddt_add_cb
.subsections_via_symbols
