	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zdb_leak_init
_zdb_leak_init:                         ## @zdb_leak_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdi, 8(%rsi)
	movq	_dump_opt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, 304(%rax)
	je	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	callq	_spa_get_checkpoint_space
	addl	%eax, (%r14)
	jmp	LBB0_4
LBB0_1:
	movq	24(%rbx), %r15
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	_zdb_metaslab_ops@GOTPCREL(%rip), %rdx
	movq	%rdx, (%rax)
	movq	(%rbx), %rax
	movq	%rdx, (%rax)
	movl	(%rcx), %edi
	shll	$3, %edi
	movq	_UMEM_NOFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_umem_zalloc
	movl	%eax, 4(%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_zdb_leak_init_prepare_indirect_vdevs
	movq	_SM_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_load_concrete_ms_allocatable_trees
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_zdb_leak_init_exclude_checkpoint
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movq	%r15, %rdi
	callq	_bpobj_is_open
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_SPA_FEATURE_DEVICE_REMOVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_spa_feature_is_enabled
	movl	%eax, %edi
	callq	_ASSERT
	movq	_increment_indirect_mapping_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_bpobj_iterate_nofree
LBB0_4:
	movq	_SCL_CONFIG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_FTAG@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_RW_READER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_spa_config_enter
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_zdb_ddt_leak_init
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spa_config_exit                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dump_opt,8,3                   ## @dump_opt
	.comm	_zdb_metaslab_ops,4,2           ## @zdb_metaslab_ops
	.comm	_UMEM_NOFAIL,4,2                ## @UMEM_NOFAIL
	.comm	_SM_ALLOC,4,2                   ## @SM_ALLOC
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_SPA_FEATURE_DEVICE_REMOVAL,4,2 ## @SPA_FEATURE_DEVICE_REMOVAL
	.comm	_increment_indirect_mapping_cb,4,2 ## @increment_indirect_mapping_cb
	.comm	_SCL_CONFIG,4,2                 ## @SCL_CONFIG
	.comm	_FTAG,4,2                       ## @FTAG
	.comm	_RW_READER,4,2                  ## @RW_READER
	.no_dead_strip	_zdb_leak_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zdb_leak_init
_zdb_leak_init:                         ; @zdb_leak_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	str	x0, [x1, #8]
Lloh0:
	adrp	x8, _dump_opt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dump_opt@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, #304]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_spa_get_checkpoint_space
	ldr	w8, [x20]
	add	w8, w8, w0
	str	w8, [x20]
	b	LBB0_4
LBB0_2:
	ldp	x8, x21, [x19, #16]
Lloh3:
	adrp	x9, _zdb_metaslab_ops@GOTPAGE
Lloh4:
	ldr	x9, [x9, _zdb_metaslab_ops@GOTPAGEOFF]
	ldp	x11, x10, [x19]
	str	x9, [x10]
	str	x9, [x11]
	ldr	w8, [x8]
	lsl	w0, w8, #3
Lloh5:
	adrp	x8, _UMEM_NOFAIL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UMEM_NOFAIL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_umem_zalloc
	str	w0, [x20, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_zdb_leak_init_prepare_indirect_vdevs
Lloh8:
	adrp	x8, _SM_ALLOC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SM_ALLOC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_load_concrete_ms_allocatable_trees
	mov	x0, x19
	mov	x1, x20
	bl	_zdb_leak_init_exclude_checkpoint
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	x0, x21
	bl	_bpobj_is_open
	cbz	x0, LBB0_4
; %bb.3:
Lloh16:
	adrp	x8, _SPA_FEATURE_DEVICE_REMOVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SPA_FEATURE_DEVICE_REMOVAL@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_spa_feature_is_enabled
	bl	_ASSERT
Lloh19:
	adrp	x8, _increment_indirect_mapping_cb@GOTPAGE
Lloh20:
	ldr	x8, [x8, _increment_indirect_mapping_cb@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x20
	mov	x3, #0
	bl	_bpobj_iterate_nofree
LBB0_4:
Lloh22:
	adrp	x21, _SCL_CONFIG@GOTPAGE
Lloh23:
	ldr	x21, [x21, _SCL_CONFIG@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh24:
	adrp	x22, _FTAG@GOTPAGE
Lloh25:
	ldr	x22, [x22, _FTAG@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh26:
	adrp	x8, _RW_READER@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RW_READER@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_spa_config_enter
	mov	x0, x19
	mov	x1, x20
	bl	_zdb_ddt_leak_init
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spa_config_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_dump_opt,8,3                   ; @dump_opt
	.comm	_zdb_metaslab_ops,4,2           ; @zdb_metaslab_ops
	.comm	_UMEM_NOFAIL,4,2                ; @UMEM_NOFAIL
	.comm	_SM_ALLOC,4,2                   ; @SM_ALLOC
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_SPA_FEATURE_DEVICE_REMOVAL,4,2 ; @SPA_FEATURE_DEVICE_REMOVAL
	.comm	_increment_indirect_mapping_cb,4,2 ; @increment_indirect_mapping_cb
	.comm	_SCL_CONFIG,4,2                 ; @SCL_CONFIG
	.comm	_FTAG,4,2                       ; @FTAG
	.comm	_RW_READER,4,2                  ; @RW_READER
	.no_dead_strip	_zdb_leak_init
.subsections_via_symbols
