	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zfs_rlookup
_zfs_rlookup:                           ## @zfs_rlookup
	.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	$568, %rsp                      ## imm = 0x238
	.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, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movb	$0, -49(%rbp)
	leaq	-584(%rbp), %rcx
	movq	%rdi, %rsi
	movq	%r15, %rdx
	callq	_objset_get_dnode
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	callq	_printf
	jmp	LBB0_9
LBB0_2:
	movq	%r14, -592(%rbp)                ## 8-byte Spill
	movq	-584(%rbp), %r13
	leaq	-568(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_objset_get_dnode
	testq	%rax, %rax
	je	LBB0_3
LBB0_9:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	addq	$568, %rsp                      ## imm = 0x238
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %r14
	leaq	-49(%rbp), %r15
	leaq	-560(%rbp), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-568(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	leaq	-576(%rbp), %rcx
	callq	_objset_get_dnode
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, -600(%rbp)                ## 8-byte Spill
	movq	%r12, %r13
	movq	-568(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r14, %rsi
	leaq	-608(%rbp), %r12
	movq	%r12, %rcx
	callq	_objset_get_dnode
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %r12
	movq	%r13, %rdx
	movq	-600(%rbp), %rcx                ## 8-byte Reload
	callq	_zap_rlookup
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_strlen
	movslq	%eax, %rdx
	subq	%rdx, %r15
	movq	%r15, %rdi
	movq	%r12, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movb	$47, -1(%r15)
	decq	%r15
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%rbx, %r13
	movq	%rbx, %rdx
	leaq	-568(%rbp), %rcx
	callq	_objset_get_dnode
	testq	%rax, %rax
	je	LBB0_4
	jmp	LBB0_9
LBB0_10:
	cmpb	$1, (%r15)
	sbbq	$-1, %r15
	movq	-592(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_strcpy
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ZFS: can't find dataset %ju\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_zfs_rlookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zfs_rlookup
_zfs_rlookup:                           ; @zfs_rlookup
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #560
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	strb	wzr, [sp, #551]
	add	x3, sp, #24
	mov	x1, x0
	mov	x2, x21
	bl	_objset_get_dnode
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_printf
	b	LBB0_3
LBB0_2:
	ldr	x23, [sp, #24]
	add	x3, sp, #16
	mov	x0, x20
	mov	x1, x20
	mov	x2, x23
	bl	_objset_get_dnode
	cbz	x0, LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_4:
	ldur	x8, [x29, #-72]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.5:
	add	sp, sp, #560
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	add	x8, sp, #296
	add	x21, x8, #255
	mov	w24, #47
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [sp, #16]
	cbz	x22, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x20
	mov	x2, x22
	bl	_objset_get_dnode
	cbnz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x2, [sp, #16]
	add	x3, sp, #32
	mov	x0, x20
	mov	x1, x20
	bl	_objset_get_dnode
	cbnz	x0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #32
	add	x2, sp, #40
	mov	x0, x20
	mov	x3, x23
	bl	_zap_rlookup
	cbnz	x0, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #40
	bl	_strlen
	mov	x2, x0
	sub	x21, x21, w0, sxtw
	add	x1, sp, #40
	mov	x0, x21
	bl	_memcpy
	strb	w24, [x21, #-1]!
	add	x3, sp, #16
	mov	x0, x20
	mov	x1, x20
	mov	x2, x22
	bl	_objset_get_dnode
	mov	x23, x22
	cbz	x0, LBB0_7
	b	LBB0_3
LBB0_12:
	mov	x8, x21
	ldrb	w9, [x8], #1
	cmp	w9, #0
	csel	x1, x21, x8, eq
	mov	x0, x19
	bl	_strcpy
	mov	w0, #0
	b	LBB0_4
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ZFS: can't find dataset %ju\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_zfs_rlookup
.subsections_via_symbols
