	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zdb_ddt_leak_init
_zdb_ddt_leak_init:                     ## @zdb_ddt_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	leaq	-72(%rbp), %r15
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_bzero
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_ddt_walk
	testl	%eax, %eax
	je	LBB0_1
LBB0_13:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_ASSERT
LBB0_14:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_DDT_PHYS_TYPES@GOTPCREL(%rip), %r14
	leaq	-84(%rbp), %r12
	movq	%r13, %r15
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_dump_opt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, 304(%rax)
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	-72(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_ddt_walk
	testl	%eax, %eax
	jne	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	-72(%rbp), %rax
	movq	_DDT_CLASS_UNIQUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r13
	leaq	-56(%rbp), %rdi
	callq	_ddt_phys_total_refcnt
	xorl	%edi, %edi
	cmpl	$2, %eax
	setge	%dil
	callq	_ASSERT
	cmpl	$0, (%r14)
	jle	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	%r12, %rdi
	callq	_BP_GET_ASIZE
	movl	8(%r13), %ecx
	decl	%ecx
	imull	%eax, %ecx
	addl	%ecx, (%rbx)
	incl	4(%rbx)
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	incl	%r15d
	addq	$16, %r13
	cmpl	(%r14), %r15d
	jge	LBB0_10
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, (%r13)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	-64(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_ddt_bp_create
	movq	_DDT_PHYS_DITTO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	_ZDB_OT_DITTO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_zdb_count_block
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movq	-64(%rbp), %rcx
	movq	(%rax,%rcx,8), %r13
	movq	%r13, %rdi
	callq	_ddt_enter
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_ddt_lookup
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_VERIFY
	movq	%r13, %rdi
	callq	_ddt_exit
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_DDT_CLASS_UNIQUE,8,3           ## @DDT_CLASS_UNIQUE
	.comm	_DDT_PHYS_TYPES,4,2             ## @DDT_PHYS_TYPES
	.comm	_DDT_PHYS_DITTO,4,2             ## @DDT_PHYS_DITTO
	.comm	_ZDB_OT_DITTO,4,2               ## @ZDB_OT_DITTO
	.comm	_dump_opt,8,3                   ## @dump_opt
	.comm	_B_TRUE,4,2                     ## @B_TRUE
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_zdb_ddt_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_ddt_leak_init
_zdb_ddt_leak_init:                     ; @zdb_ddt_leak_init
	.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
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #32
	mov	w1, #16
	bl	_bzero
	add	x1, sp, #32
	add	x2, sp, #16
	mov	x0, x20
	bl	_ddt_walk
	cbz	w0, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, eq
	bl	_ASSERT
LBB0_2:
	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
LBB0_3:
Lloh3:
	adrp	x22, _DDT_CLASS_UNIQUE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DDT_CLASS_UNIQUE@GOTPAGEOFF]
Lloh5:
	adrp	x23, _DDT_PHYS_TYPES@GOTPAGE
Lloh6:
	ldr	x23, [x23, _DDT_PHYS_TYPES@GOTPAGEOFF]
Lloh7:
	adrp	x24, _DDT_PHYS_DITTO@GOTPAGE
Lloh8:
	ldr	x24, [x24, _DDT_PHYS_DITTO@GOTPAGEOFF]
Lloh9:
	adrp	x25, _ZDB_OT_DITTO@GOTPAGE
Lloh10:
	ldr	x25, [x25, _ZDB_OT_DITTO@GOTPAGEOFF]
Lloh11:
	adrp	x26, _dump_opt@GOTPAGE
Lloh12:
	ldr	x26, [x26, _dump_opt@GOTPAGEOFF]
Lloh13:
	adrp	x27, _B_TRUE@GOTPAGE
Lloh14:
	ldr	x27, [x27, _B_TRUE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x26]
	ldr	w8, [x8, #304]
	cbz	w8, LBB0_14
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x1, sp, #32
	add	x2, sp, #16
	mov	x0, x20
	bl	_ddt_walk
	cbnz	w0, LBB0_1
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x8, [sp, #32]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x21, [sp, #24]
	add	x0, sp, #16
	bl	_ddt_phys_total_refcnt
	cmp	w0, #1
	cset	w0, gt
	bl	_ASSERT
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w28, #0
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	add	x0, sp, #12
	bl	_BP_GET_ASIZE
	ldr	w8, [x21, #8]
	sub	w8, w8, #1
	mul	w8, w8, w0
	ldr	d0, [x19]
	movi.2s	v1, #1
	mov.s	v1[0], w8
	add.2s	v0, v1, v0
	str	d0, [x19]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	w28, w28, #1
	add	x21, x21, #16
	ldr	w8, [x23]
	cmp	w28, w8
	b.ge	LBB0_4
LBB0_11:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21]
	cbz	x8, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x0, [sp, #40]
	add	x1, sp, #16
	add	x3, sp, #12
	mov	x2, x21
	bl	_ddt_bp_create
	ldr	w8, [x24]
	cmp	w28, w8
	b.ne	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w3, [x25]
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, #0
	bl	_zdb_count_block
	b	LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	ldr	x9, [sp, #40]
	ldr	x21, [x8, x9, lsl #3]
	mov	x0, x21
	bl	_ddt_enter
	ldr	w2, [x27]
	add	x1, sp, #12
	mov	x0, x21
	bl	_ddt_lookup
	cmp	x0, #0
	cset	w0, ne
	bl	_VERIFY
	mov	x0, x21
	bl	_ddt_exit
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DDT_CLASS_UNIQUE,8,3           ; @DDT_CLASS_UNIQUE
	.comm	_DDT_PHYS_TYPES,4,2             ; @DDT_PHYS_TYPES
	.comm	_DDT_PHYS_DITTO,4,2             ; @DDT_PHYS_DITTO
	.comm	_ZDB_OT_DITTO,4,2               ; @ZDB_OT_DITTO
	.comm	_dump_opt,8,3                   ; @dump_opt
	.comm	_B_TRUE,4,2                     ; @B_TRUE
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_zdb_ddt_leak_init
.subsections_via_symbols
