	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zfs_do_rename
_zfs_do_rename:                         ## @zfs_do_rename
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r13d
	movq	$0, -96(%rbp)
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	L_.str(%rip), %r15
	leaq	L_.str.1(%rip), %r12
	leaq	LJTI0_0(%rip), %r14
	xorl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_9
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_gettext
	movq	_optopt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_usage
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-102(%rax), %ecx
	cmpl	$15, %ecx
	ja	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r14,%rcx,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_9:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -104(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -112(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -120(%rbp)
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	subl	%r14d, %r13d
	testl	%r13d, %r13d
	jle	LBB0_10
## %bb.11:
	cmpl	$1, %r13d
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.3(%rip), %rdi
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	_B_FALSE@GOTPCREL(%rip), %r15
	jmp	LBB0_15
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_gettext
	movl	%ebx, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_B_FALSE@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_usage
	movq	%r12, %rax
	leaq	L_.str.3(%rip), %rdi
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_13:
	cmpl	$3, %r13d
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	_B_FALSE@GOTPCREL(%rip), %r15
	jb	LBB0_17
## %bb.14:
	leaq	L_.str.4(%rip), %rdi
LBB0_15:
	movq	_stderr@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %ebx
	callq	_gettext
	movl	%ebx, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	(%r15), %rdi
	callq	_usage
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_17:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_22
## %bb.18:
	testq	%r13, %r13
	je	LBB0_22
## %bb.19:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.5(%rip), %rdi
	callq	_gettext
	movl	%ebx, %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	(%r15), %rdi
	callq	_usage
	jmp	LBB0_20
LBB0_22:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_23
LBB0_20:
	movq	(%rbx,%r14,8), %rdi
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_24
## %bb.21:
	xorl	%r15d, %r15d
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_26
	jmp	LBB0_28
LBB0_24:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.6(%rip), %rdi
	callq	_gettext
	xorl	%r15d, %r15d
	movl	%ebx, %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_usage
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_26
	jmp	LBB0_28
LBB0_23:
	movb	$1, %r15b
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_28
LBB0_26:
	testq	%r13, %r13
	je	LBB0_28
## %bb.27:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.7(%rip), %rdi
	callq	_gettext
	movl	%ebx, %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_usage
LBB0_28:
	movq	(%rbx,%r14,8), %rdi
	movl	$35, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_30:
	testq	%r12, %r12
	movq	_stderr@GOTPCREL(%rip), %rax
	je	LBB0_36
## %bb.31:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_35
## %bb.32:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_35
## %bb.33:
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_35
## %bb.34:
	testq	%r13, %r13
	jne	LBB0_35
LBB0_41:
	movq	_ZFS_TYPE_BOOKMARK@GOTPCREL(%rip), %rax
	jmp	LBB0_43
LBB0_35:
	movl	(%rax), %ebx
	leaq	L_.str.8(%rip), %rdi
	callq	_gettext
	movl	%ebx, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_usage
LBB0_36:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_38
## %bb.37:
	movq	_ZFS_TYPE_FILESYSTEM@GOTPCREL(%rip), %rax
LBB0_43:
	movl	(%rax), %r12d
	testb	%r15b, %r15b
	je	LBB0_46
LBB0_45:
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_47
LBB0_38:
	testq	%r13, %r13
	je	LBB0_40
## %bb.39:
	movq	_ZFS_TYPE_FILESYSTEM@GOTPCREL(%rip), %rax
	movq	_ZFS_TYPE_VOLUME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	orl	(%rax), %r12d
	testb	%r15b, %r15b
	jne	LBB0_45
LBB0_46:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%r14,8), %rdi
	movl	$64, %esi
	callq	_strchr
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movb	$0, (%r15)
	incq	%r15
LBB0_47:
	movq	_g_zfs@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%rbx,%r14,8), %rsi
	movl	%r12d, %edx
	callq	_zfs_open
	testq	%rax, %rax
	je	LBB0_48
## %bb.49:
	movq	%rax, %r12
	testq	%r13, %r13
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_52
## %bb.50:
	movq	8(%r13,%r14,8), %rbx
	movq	%r12, %rdi
	callq	_zfs_get_type
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_zfs_name_valid
	testq	%rax, %rax
	je	LBB0_52
## %bb.51:
	movq	_g_zfs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13,%r14,8), %rsi
	callq	_zfs_create_ancestors
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_53
LBB0_52:
	movq	8(%r13,%r14,8), %rdx
	movups	-120(%rbp), %xmm0
	movups	-104(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_zfs_rename
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
LBB0_53:
	movq	%r12, %rdi
	callq	_zfs_close
	jmp	LBB0_54
LBB0_48:
	movl	$1, %ebx
LBB0_54:
	movl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	testq	%r12, %r12
	jne	LBB0_41
## %bb.42:
	movq	_ZFS_TYPE_DATASET@GOTPCREL(%rip), %rax
	jmp	LBB0_43
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_B_FALSE,8,3                    ## @B_FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fpru"

	.comm	_B_TRUE,8,3                     ## @B_TRUE
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"invalid option '%c'\n"

	.comm	_optopt,4,2                     ## @optopt
	.comm	_optind,8,3                     ## @optind
L_.str.2:                               ## @.str.2
	.asciz	"missing source dataset argument\n"

L_.str.3:                               ## @.str.3
	.asciz	"missing target dataset argument\n"

L_.str.4:                               ## @.str.4
	.asciz	"too many arguments\n"

L_.str.5:                               ## @.str.5
	.asciz	"-p and -r options are mutually exclusive\n"

L_.str.6:                               ## @.str.6
	.asciz	"source dataset for recursive rename must be a snapshot\n"

L_.str.7:                               ## @.str.7
	.asciz	"-u and -p options are mutually exclusive\n"

L_.str.8:                               ## @.str.8
	.asciz	"options are not supported for renaming bookmarks\n"

	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ## @ZFS_TYPE_FILESYSTEM
	.comm	_ZFS_TYPE_VOLUME,4,2            ## @ZFS_TYPE_VOLUME
	.comm	_ZFS_TYPE_BOOKMARK,4,2          ## @ZFS_TYPE_BOOKMARK
	.comm	_ZFS_TYPE_DATASET,4,2           ## @ZFS_TYPE_DATASET
	.comm	_g_zfs,4,2                      ## @g_zfs
	.no_dead_strip	_zfs_do_rename
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zfs_do_rename
_zfs_do_rename:                         ; @zfs_do_rename
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	stp	xzr, xzr, [sp, #24]             ; 16-byte Folded Spill
	mov	x25, #0
Lloh0:
	adrp	x28, _B_FALSE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _B_FALSE@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
Lloh4:
	adrp	x24, _stderr@GOTPAGE
Lloh5:
	ldr	x24, [x24, _stderr@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str.1@PAGE
Lloh7:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh8:
	adrp	x27, _optopt@GOTPAGE
Lloh9:
	ldr	x27, [x27, _optopt@GOTPAGEOFF]
	ldr	x8, [x28]
Lloh10:
	adrp	x26, lJTI0_0@PAGE
Lloh11:
	add	x26, x26, lJTI0_0@PAGEOFF
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh12:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=2
	cmn	w0, #1
	b.eq	LBB0_10
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	ldr	w23, [x24]
	mov	x0, x22
	bl	_gettext
	mov	x1, x0
	ldr	w8, [x27]
	str	x8, [sp]
	mov	x0, x23
	bl	_fprintf
	ldr	x0, [x28]
	bl	_usage
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	sub	w8, w0, #102
	cmp	w8, #15
	b.hi	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	adr	x9, LBB0_1
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=2
Lloh15:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
Lloh17:
	ldr	x25, [x8]
	b	LBB0_5
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=2
Lloh18:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	b	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=2
Lloh21:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	b	LBB0_5
LBB0_10:
Lloh24:
	adrp	x8, _optind@GOTPAGE
Lloh25:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh26:
	ldr	x21, [x8]
	sub	w8, w20, w21
	cmp	w8, #0
	b.le	LBB0_14
; %bb.11:
	cmp	w8, #1
	b.eq	LBB0_15
; %bb.12:
	cmp	w8, #3
	mov	x26, x25
	ldp	x27, x25, [sp, #24]             ; 16-byte Folded Reload
	ldr	x23, [sp, #16]                  ; 8-byte Folded Reload
	b.lo	LBB0_17
; %bb.13:
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_14:
	ldr	w20, [x24]
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_gettext
	mov	x1, x0
	mov	x0, x20
	bl	_fprintf
	ldr	x0, [x28]
	bl	_usage
LBB0_15:
Lloh31:
	adrp	x0, l_.str.3@PAGE
Lloh32:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x26, x25
	ldp	x27, x25, [sp, #24]             ; 16-byte Folded Reload
	ldr	x23, [sp, #16]                  ; 8-byte Folded Reload
LBB0_16:
	ldr	w20, [x24]
	bl	_gettext
	mov	x1, x0
	mov	x0, x20
	bl	_fprintf
	ldr	x0, [x28]
	bl	_usage
LBB0_17:
	add	x22, x19, x21, lsl #3
	ldr	x21, [sp, #40]                  ; 8-byte Folded Reload
	cbz	x27, LBB0_20
; %bb.18:
	cbz	x21, LBB0_20
; %bb.19:
	ldr	w19, [x24]
Lloh33:
	adrp	x0, l_.str.5@PAGE
Lloh34:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_fprintf
	ldr	x0, [x28]
	bl	_usage
LBB0_20:
	cbz	x27, LBB0_23
; %bb.21:
	ldr	x0, [x22]
	mov	w1, #64
	bl	_strchr
	cbnz	x0, LBB0_23
; %bb.22:
	ldr	w19, [x24]
Lloh35:
	adrp	x0, l_.str.6@PAGE
Lloh36:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_fprintf
	ldr	x0, [x28]
	bl	_usage
LBB0_23:
	cbz	x25, LBB0_26
; %bb.24:
	cbz	x21, LBB0_26
; %bb.25:
	ldr	w19, [x24]
Lloh37:
	adrp	x0, l_.str.7@PAGE
Lloh38:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_fprintf
	ldr	x0, [x28]
	bl	_usage
LBB0_26:
	ldr	x0, [x22]
	mov	w1, #35
	bl	_strchr
Lloh39:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x20, x23, x8, eq
	cbz	x20, LBB0_31
; %bb.27:
	cbnz	x25, LBB0_35
; %bb.28:
	cbnz	x27, LBB0_35
; %bb.29:
	cbnz	x26, LBB0_35
; %bb.30:
	cbnz	x21, LBB0_35
LBB0_31:
	cbz	x25, LBB0_36
LBB0_32:
Lloh42:
	adrp	x8, _ZFS_TYPE_FILESYSTEM@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ZFS_TYPE_FILESYSTEM@GOTPAGEOFF]
LBB0_33:
	ldr	w20, [x8]
	cbz	x27, LBB0_38
LBB0_34:
	ldr	x0, [x22]
	mov	w1, #64
	bl	_strchr
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	strb	wzr, [x19], #1
	b	LBB0_39
LBB0_35:
	ldr	w19, [x24]
Lloh44:
	adrp	x0, l_.str.8@PAGE
Lloh45:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_fprintf
	ldr	x0, [x28]
	bl	_usage
	cbnz	x25, LBB0_32
LBB0_36:
	cbz	x21, LBB0_47
; %bb.37:
Lloh46:
	adrp	x8, _ZFS_TYPE_FILESYSTEM@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ZFS_TYPE_FILESYSTEM@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
Lloh49:
	adrp	x9, _ZFS_TYPE_VOLUME@GOTPAGE
Lloh50:
	ldr	x9, [x9, _ZFS_TYPE_VOLUME@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w20, w9, w8
	cbnz	x27, LBB0_34
LBB0_38:
	mov	x19, #0
LBB0_39:
Lloh52:
	adrp	x23, _g_zfs@GOTPAGE
Lloh53:
	ldr	x23, [x23, _g_zfs@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	x1, [x22]
	mov	x2, x20
	bl	_zfs_open
	cbz	x0, LBB0_44
; %bb.40:
	mov	x20, x0
	cbz	x21, LBB0_45
; %bb.41:
	ldr	x21, [x22, #8]
	mov	x0, x20
	bl	_zfs_get_type
	mov	x1, x0
	mov	x0, x21
	bl	_zfs_name_valid
	cbz	x0, LBB0_45
; %bb.42:
	ldr	w0, [x23]
	ldr	x1, [x22, #8]
	bl	_zfs_create_ancestors
	cbz	x0, LBB0_45
; %bb.43:
	mov	x0, x20
	bl	_zfs_close
LBB0_44:
	mov	w19, #1
	b	LBB0_46
LBB0_45:
	ldr	x2, [x22, #8]
	stp	x27, x25, [sp, #48]
	stp	x26, xzr, [sp, #64]
	add	x3, sp, #48
	mov	x0, x20
	mov	x1, x19
	bl	_zfs_rename
	cmp	x0, #0
	cset	w19, ne
	mov	x0, x20
	bl	_zfs_close
LBB0_46:
	mov	x0, x19
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_47:
	cbz	x20, LBB0_49
; %bb.48:
Lloh54:
	adrp	x8, _ZFS_TYPE_BOOKMARK@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ZFS_TYPE_BOOKMARK@GOTPAGEOFF]
	b	LBB0_33
LBB0_49:
Lloh56:
	adrp	x8, _ZFS_TYPE_DATASET@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ZFS_TYPE_DATASET@GOTPAGEOFF]
	b	LBB0_33
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
                                        ; -- End function
	.comm	_B_FALSE,8,3                    ; @B_FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fpru"

	.comm	_B_TRUE,8,3                     ; @B_TRUE
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"invalid option '%c'\n"

	.comm	_optopt,4,2                     ; @optopt
	.comm	_optind,8,3                     ; @optind
l_.str.2:                               ; @.str.2
	.asciz	"missing source dataset argument\n"

l_.str.3:                               ; @.str.3
	.asciz	"missing target dataset argument\n"

l_.str.4:                               ; @.str.4
	.asciz	"too many arguments\n"

l_.str.5:                               ; @.str.5
	.asciz	"-p and -r options are mutually exclusive\n"

l_.str.6:                               ; @.str.6
	.asciz	"source dataset for recursive rename must be a snapshot\n"

l_.str.7:                               ; @.str.7
	.asciz	"-u and -p options are mutually exclusive\n"

l_.str.8:                               ; @.str.8
	.asciz	"options are not supported for renaming bookmarks\n"

	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ; @ZFS_TYPE_FILESYSTEM
	.comm	_ZFS_TYPE_VOLUME,4,2            ; @ZFS_TYPE_VOLUME
	.comm	_ZFS_TYPE_BOOKMARK,4,2          ; @ZFS_TYPE_BOOKMARK
	.comm	_ZFS_TYPE_DATASET,4,2           ; @ZFS_TYPE_DATASET
	.comm	_g_zfs,4,2                      ; @g_zfs
	.no_dead_strip	_zfs_do_rename
.subsections_via_symbols
