	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dnode_read
_dnode_read:                            ## @dnode_read
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rsi, %r9
	movl	4(%rsi), %r14d
	movq	_SPA_MINBLOCKSHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r14d
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movq	_SPA_MAXBLOCKSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	%esi, %r14d
	jle	LBB0_1
## %bb.16:
	leaq	L_.str(%rip), %rdi
	callq	_printf
LBB0_4:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_1:
	testq	%r8, %r8
	je	LBB0_10
## %bb.2:
	movl	%edx, %ebx
	movl	(%r9), %eax
	movq	_SPA_BLKPTRSHIFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %ecx
	subl	%edx, %ecx
	movl	8(%r9), %esi
	leaq	16(%r9), %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movl	$-1, %edi
	shll	%cl, %edi
	notl	%edi
	movl	%edi, -64(%rbp)                 ## 4-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	decl	%esi
	imull	%ecx, %esi
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	subl	%eax, %edx
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_3
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_memset
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	_dnode_cache_obj@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_dnode_cache_bn@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %eax
	subl	%edx, %eax
	movslq	%eax, %rbx
	cmpq	%rbx, %r8
	cmovbl	%r8d, %ebx
	movslq	%edx, %rsi
	shlq	$2, %rsi
	movq	_dnode_cache_buf@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	movq	%r8, %r13
	callq	_memcpy
	movq	%r13, %r8
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movslq	%ebx, %rax
	addq	%rax, %r12
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	addl	%eax, %ebx
	subq	%rax, %r8
	je	LBB0_10
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movl	%ebx, %eax
	cltd
	idivl	%r14d
	cmpl	12(%r9), %eax
	jg	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r14d
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movq	_dnode_cache_obj@GOTPCREL(%rip), %rax
	cmpq	%r9, (%rax)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_dnode_cache_bn@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, %ebx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	testl	%ecx, %ecx
	movq	_dnode_cache_buf@GOTPCREL(%rip), %r15
	jle	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax), %rax
	movl	%r14d, %edx
	movl	%r12d, %ecx
	sarl	%cl, %edx
	andl	-64(%rbp), %edx                 ## 4-byte Folded Reload
	movslq	%edx, %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, -68(%rbp)
	leaq	-68(%rbp), %r13
	movq	%r13, %rdi
	callq	_BP_IS_HOLE
	movq	(%r15), %rdx
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %rsi
	callq	_zio_read
	testl	%eax, %eax
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=2
	addl	-60(%rbp), %r12d                ## 4-byte Folded Reload
	movq	_dnode_cache_buf@GOTPCREL(%rip), %r15
	movq	%r15, %rax
	decl	%ebx
	jne	LBB0_12
	jmp	LBB0_8
LBB0_10:
	xorl	%eax, %eax
LBB0_15:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPA_BLKPTRSHIFT,4,2            ## @SPA_BLKPTRSHIFT
	.comm	_SPA_MINBLOCKSHIFT,4,2          ## @SPA_MINBLOCKSHIFT
	.comm	_SPA_MAXBLOCKSIZE,4,2           ## @SPA_MAXBLOCKSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ZFS: I/O error - blocks larger than %llu are not supported\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_dnode_cache_obj,8,3            ## @dnode_cache_obj
	.comm	_dnode_cache_bn,4,2             ## @dnode_cache_bn
	.comm	_dnode_cache_buf,8,3            ## @dnode_cache_buf
	.no_dead_strip	_dnode_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dnode_read
_dnode_read:                            ; @dnode_read
	.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	x22, x1
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	ldr	w8, [x1, #4]
Lloh0:
	adrp	x9, _SPA_MINBLOCKSHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SPA_MINBLOCKSHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w24, w8, w9
Lloh3:
	adrp	x8, _SPA_MAXBLOCKSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SPA_MAXBLOCKSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	cmp	w24, w1
	b.le	LBB0_3
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_2:
Lloh8:
	adrp	x8, _EIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_3:
	mov	x19, x4
	cbz	x4, LBB0_14
; %bb.4:
	mov	x20, x3
	mov	x21, x2
	ldr	w8, [x22]
Lloh11:
	adrp	x9, _SPA_BLKPTRSHIFT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SPA_BLKPTRSHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	sub	w10, w8, w9
	ldr	w12, [x22, #8]
	add	x11, x22, #16
	str	x11, [sp, #16]                  ; 8-byte Folded Spill
	mov	w11, #-1
	lsl	w11, w11, w10
	mvn	w28, w11
	str	w12, [sp, #28]                  ; 4-byte Folded Spill
	sub	w11, w12, #1
	mul	w10, w10, w11
	str	w10, [sp, #12]                  ; 4-byte Folded Spill
	sub	w27, w9, w8
Lloh14:
	adrp	x23, _dnode_cache_obj@GOTPAGE
Lloh15:
	ldr	x23, [x23, _dnode_cache_obj@GOTPAGEOFF]
Lloh16:
	adrp	x26, _dnode_cache_buf@GOTPAGE
Lloh17:
	ldr	x26, [x26, _dnode_cache_buf@GOTPAGEOFF]
	str	x22, [sp]                       ; 8-byte Folded Spill
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x2
	mov	w1, #0
	mov	x2, x24
	bl	_memset
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x22, [sp]                       ; 8-byte Folded Reload
Lloh18:
	adrp	x23, _dnode_cache_obj@GOTPAGE
Lloh19:
	ldr	x23, [x23, _dnode_cache_obj@GOTPAGEOFF]
	str	x22, [x23]
Lloh20:
	adrp	x8, _dnode_cache_bn@GOTPAGE
Lloh21:
	ldr	x8, [x8, _dnode_cache_bn@GOTPAGEOFF]
Lloh22:
	str	w25, [x8]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	msub	w8, w25, w24, w21
	sub	w9, w24, w8
	cmp	x19, w9, sxtw
	csel	w25, w19, w9, lo
	ldr	x9, [x26]
	add	x1, x9, w8, sxtw #2
	mov	x0, x20
	mov	x2, x25
	bl	_memcpy
	sxtw	x8, w25
	add	x20, x20, x8
	add	w21, w25, w21
	subs	x19, x19, x8
	b.eq	LBB0_14
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	sdiv	w25, w21, w24
	ldr	w8, [x22, #12]
	cmp	w25, w8
	b.gt	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x23]
Lloh23:
	adrp	x9, _dnode_cache_bn@GOTPAGE
Lloh24:
	ldr	x9, [x9, _dnode_cache_bn@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	cmp	x8, x22
	ccmp	w25, w9, #0, eq
	b.eq	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w23, [sp, #12]                  ; 4-byte Folded Reload
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	mov	x22, x9
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	w9, #1
	b.lt	LBB0_6
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x8]
	asr	w9, w25, w23
	and	w9, w9, w28
	ldr	w8, [x8, w9, sxtw #2]
	str	w8, [sp, #44]
	add	x0, sp, #44
	bl	_BP_IS_HOLE
	ldr	x2, [x26]
	cbnz	x0, LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	add	x1, sp, #44
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_zio_read
	cbnz	w0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	add	w23, w23, w27
	mov	x8, x26
	subs	w22, w22, #1
	b.ne	LBB0_11
	b	LBB0_6
LBB0_14:
	mov	w0, #0
LBB0_15:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_SPA_BLKPTRSHIFT,4,2            ; @SPA_BLKPTRSHIFT
	.comm	_SPA_MINBLOCKSHIFT,4,2          ; @SPA_MINBLOCKSHIFT
	.comm	_SPA_MAXBLOCKSIZE,4,2           ; @SPA_MAXBLOCKSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ZFS: I/O error - blocks larger than %llu are not supported\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_dnode_cache_obj,8,3            ; @dnode_cache_obj
	.comm	_dnode_cache_bn,4,2             ; @dnode_cache_bn
	.comm	_dnode_cache_buf,8,3            ; @dnode_cache_buf
	.no_dead_strip	_dnode_read
.subsections_via_symbols
