	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_nvlist
_load_nvlist:                           ## @load_nvlist
	.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	%rdx, %r14
	movq	%rsi, %rdx
	movq	%rdi, %r15
	movq	$0, (%r14)
	leaq	-64(%rbp), %rcx
	movq	%rdi, %rsi
	callq	_objset_get_dnode
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	-64(%rbp), %rax
	movq	_DMU_OT_PACKED_NVLIST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	-56(%rbp), %rax
	movq	_DMU_OT_PACKED_NVLIST_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_3:
	cmpl	$8, -48(%rbp)
	jne	LBB0_7
## %bb.4:
	leaq	-64(%rbp), %rdi
	callq	_DN_BONUS
	movq	(%rax), %r13
	movq	%r13, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	%rax, %r12
	leaq	-64(%rbp), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%edx, %edx
	movq	%rax, %rcx
	movq	%r13, %r8
	callq	_dnode_read
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_free
	movl	%r15d, %ebx
	jmp	LBB0_9
LBB0_7:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_11:
	movq	%r12, (%r14)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_DMU_OT_PACKED_NVLIST,8,3       ## @DMU_OT_PACKED_NVLIST
	.comm	_DMU_OT_PACKED_NVLIST_SIZE,8,3  ## @DMU_OT_PACKED_NVLIST_SIZE
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_load_nvlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_nvlist
_load_nvlist:                           ; @load_nvlist
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x2
	mov	x2, x1
	mov	x20, x0
	str	xzr, [x19]
	add	x3, sp, #8
	mov	x1, x0
	bl	_objset_get_dnode
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.1:
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x9, _DMU_OT_PACKED_NVLIST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DMU_OT_PACKED_NVLIST@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [sp, #16]
Lloh3:
	adrp	x9, _DMU_OT_PACKED_NVLIST_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DMU_OT_PACKED_NVLIST_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
LBB0_3:
	ldr	w8, [sp, #24]
	cmp	w8, #8
	b.ne	LBB0_7
; %bb.4:
	add	x0, sp, #8
	bl	_DN_BONUS
	ldr	x21, [x0]
	mov	x0, x21
	bl	_malloc
	cbz	x0, LBB0_10
; %bb.5:
	mov	x22, x0
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #0
	mov	x3, x22
	mov	x4, x21
	bl	_dnode_read
	mov	x21, x0
	cbz	w0, LBB0_11
; %bb.6:
	mov	x0, x22
	bl	_free
	b	LBB0_9
LBB0_7:
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_8:
	ldr	w21, [x8]
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_8
LBB0_11:
	str	x22, [x19]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DMU_OT_PACKED_NVLIST,8,3       ; @DMU_OT_PACKED_NVLIST
	.comm	_DMU_OT_PACKED_NVLIST_SIZE,8,3  ; @DMU_OT_PACKED_NVLIST_SIZE
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_load_nvlist
.subsections_via_symbols
