	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_temp_snapshot
_make_temp_snapshot:                    ## @make_temp_snapshot
	.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	%rdi, %r13
	movq	24(%rdi), %rax
	movq	(%rax), %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_ZDIFF_PREFIX@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_getpid
	xorl	%edi, %edi
	movl	$4, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	movl	4(%r13), %esi
	xorl	%edi, %edi
	movl	$4, %edx
	callq	_strlcpy
	movl	16(%r13), %eax
	movl	%eax, -56(%rbp)
	movl	(%r14), %edi
	movq	_ZFS_IOC_TMP_SNAPSHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_EPERM@GOTPCREL(%rip), %rax
	movl	12(%r13), %r12d
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpl	(%rax), %r15d
	jne	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rsi
	callq	_dgettext
	movl	%r12d, %edi
	movl	$4, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movq	_EZFS_DIFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r13), %edx
	movq	%r14, %rdi
	callq	_zfs_error
	jmp	LBB0_5
LBB0_3:
	movl	-64(%rbp), %esi
	movq	%r14, %rdi
	callq	_zfs_strdup
	movl	%eax, (%r13)
	movl	4(%r13), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	callq	_zfs_asprintf
	movl	%eax, 8(%r13)
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	callq	_dgettext
	movl	-60(%rbp), %ecx
	movl	%r12d, %edi
	movl	$4, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movl	12(%r13), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_zfs_standard_error
LBB0_5:
	movl	%eax, %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZDIFF_PREFIX,8,3               ## @ZDIFF_PREFIX
	.comm	_ZFS_IOC_TMP_SNAPSHOT,4,2       ## @ZFS_IOC_TMP_SNAPSHOT
	.comm	_errno,4,2                      ## @errno
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_TEXT_DOMAIN,4,2                ## @TEXT_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"The diff delegated permission is needed in order\nto create a just-in-time snapshot for diffing\n"

	.comm	_EZFS_DIFF,4,2                  ## @EZFS_DIFF
L_.str.1:                               ## @.str.1
	.asciz	"Cannot create just-in-time snapshot of '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"%s@%s"

	.no_dead_strip	_make_temp_snapshot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_temp_snapshot
_make_temp_snapshot:                    ; @make_temp_snapshot
	.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, x0
	ldr	x8, [x0, #24]
	ldr	x20, [x8]
	stp	xzr, xzr, [sp, #16]
Lloh0:
	adrp	x8, _ZDIFF_PREFIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZDIFF_PREFIX@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	bl	_getpid
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	w0, #0
	mov	w1, #4
	mov	x2, x21
	bl	_snprintf
	ldr	w1, [x19, #4]
	mov	w0, #0
	mov	w2, #4
	bl	_strlcpy
	ldr	w8, [x19, #16]
	str	w8, [sp, #24]
	ldr	w0, [x20]
Lloh3:
	adrp	x8, _ZFS_IOC_TMP_SNAPSHOT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZFS_IOC_TMP_SNAPSHOT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #16
	bl	_ioctl
	cbz	x0, LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
Lloh9:
	adrp	x8, _EPERM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w22, [x19, #12]
Lloh12:
	adrp	x9, _TEXT_DOMAIN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TEXT_DOMAIN@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x9]
	cmp	w21, w8
	b.ne	LBB0_4
; %bb.2:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dgettext
	mov	x2, x0
	mov	x0, x22
	mov	w1, #4
	bl	_snprintf
Lloh17:
	adrp	x8, _EZFS_DIFF@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EZFS_DIFF@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x19, #12]
	mov	x0, x20
	bl	_zfs_error
	b	LBB0_5
LBB0_3:
	ldr	w1, [sp, #16]
	mov	x0, x20
	bl	_zfs_strdup
	mov	x3, x0
	str	w0, [x19]
	ldr	w2, [x19, #4]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_zfs_asprintf
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #8]
	b	LBB0_5
LBB0_4:
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dgettext
	mov	x2, x0
	ldr	w8, [sp, #20]
	str	x8, [sp]
	mov	x0, x22
	mov	w1, #4
	bl	_snprintf
	ldr	w2, [x19, #12]
	mov	x0, x20
	mov	x1, x21
	bl	_zfs_standard_error
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ZDIFF_PREFIX,8,3               ; @ZDIFF_PREFIX
	.comm	_ZFS_IOC_TMP_SNAPSHOT,4,2       ; @ZFS_IOC_TMP_SNAPSHOT
	.comm	_errno,4,2                      ; @errno
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_TEXT_DOMAIN,4,2                ; @TEXT_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"The diff delegated permission is needed in order\nto create a just-in-time snapshot for diffing\n"

	.comm	_EZFS_DIFF,4,2                  ; @EZFS_DIFF
l_.str.1:                               ; @.str.1
	.asciz	"Cannot create just-in-time snapshot of '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"%s@%s"

	.no_dead_strip	_make_temp_snapshot
.subsections_via_symbols
