	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zcp_check                      ## -- Begin function zcp_check
	.p2align	4, 0x90
_zcp_check:                             ## @zcp_check
	.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	16(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_12
## %bb.1:
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	xorl	%eax, %eax
	callq	_fnvlist_alloc
	movq	%rax, %r13
	movq	(%r15), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_fnvlist_add_string
	movl	%r14d, %edi
	callq	_zfs_prop_to_name
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movq	%rax, %rdx
	callq	_fnvlist_add_string
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %r9
	movq	%rbx, %rdi
	movl	$10000000, %edx                 ## imm = 0x989680
	movl	$10485760, %ecx                 ## imm = 0xA00000
	movq	%r13, %r8
	callq	_lzc_channel_program_nosync
	testl	%eax, %eax
	je	LBB0_2
## %bb.10:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.8(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_11:
	movq	%r13, %rdi
	callq	_nvlist_free
	movq	-56(%rbp), %rdi
	callq	_nvlist_free
	jmp	LBB0_12
LBB0_2:
	movq	-56(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_fnvlist_lookup_nvlist
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_zfs_prop_get_type
	movq	_PROP_TYPE_NUMBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	leaq	L_.str.4(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_nvlist_lookup_int64
	testl	%eax, %eax
	jne	LBB0_9
## %bb.4:
	cmpq	%r12, -48(%rbp)
	je	LBB0_11
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_zfs_prop_to_name
	movl	-48(%rbp), %r8d
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_11
LBB0_6:
	leaq	L_.str.4(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_nvlist_lookup_string
	testl	%eax, %eax
	je	LBB0_7
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	-48(%rbp), %rsi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_zfs_prop_to_name
	movq	-48(%rbp), %r8
	leaq	L_.str.7(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"args = ...\nds = args['dataset']\nprop = args['property']\nvalue, setpoint = zfs.get_prop(ds, prop)\nreturn {value=value, setpoint=setpoint}\n"

L_.str.1:                               ## @.str.1
	.asciz	"dataset"

L_.str.2:                               ## @.str.2
	.asciz	"property"

L_.str.3:                               ## @.str.3
	.asciz	"return"

	.comm	_PROP_TYPE_NUMBER,8,3           ## @PROP_TYPE_NUMBER
L_.str.4:                               ## @.str.4
	.asciz	"value"

	.comm	_stderr,4,2                     ## @stderr
L_.str.5:                               ## @.str.5
	.asciz	"zcp check error: %u\n"

L_.str.6:                               ## @.str.6
	.asciz	"%s: zfs found %lld, but zcp found %lld\n"

L_.str.7:                               ## @.str.7
	.asciz	"%s: zfs found %s, but zcp found %s\n"

L_.str.8:                               ## @.str.8
	.asciz	"zcp check failed, channel program error: %u\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zcp_check                      ; -- Begin function zcp_check
	.p2align	2
_zcp_check:                             ; @zcp_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x8, [x0, #16]
	ldr	w8, [x8]
	cbz	w8, LBB0_11
; %bb.1:
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x23, x0
	ldr	x8, [x0, #8]
	ldr	x24, [x8]
	bl	_fnvlist_alloc
	mov	x19, x0
	ldr	x2, [x23]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fnvlist_add_string
	mov	x0, x20
	bl	_zfs_prop_to_name
	mov	x2, x0
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_fnvlist_add_string
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	add	x5, sp, #40
	mov	x0, x24
	mov	w2, #38528
	movk	w2, #152, lsl #16
	mov	w3, #10485760
	mov	x4, x19
	bl	_lzc_channel_program_nosync
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	x0, [sp]
Lloh9:
	adrp	x1, l_.str.8@PAGE
Lloh10:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x8
LBB0_3:
	bl	_fprintf
LBB0_4:
	mov	x0, x19
	bl	_nvlist_free
	ldr	x0, [sp, #40]
	bl	_nvlist_free
	b	LBB0_11
LBB0_5:
	ldr	x0, [sp, #40]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fnvlist_lookup_nvlist
	mov	x23, x0
	mov	x0, x20
	bl	_zfs_prop_get_type
Lloh13:
	adrp	x8, _PROP_TYPE_NUMBER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PROP_TYPE_NUMBER@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #32
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.6:
	mov	x0, x23
	bl	_nvlist_lookup_int64
                                        ; kill: def $w0 killed $w0 def $x0
	cbnz	w0, LBB0_10
; %bb.7:
	ldr	x8, [sp, #32]
	cmp	x8, x22
	b.eq	LBB0_4
; %bb.8:
Lloh18:
	adrp	x8, _stderr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_zfs_prop_to_name
	ldr	x8, [sp, #32]
	stp	x22, x8, [sp, #8]
	str	x0, [sp]
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	b	LBB0_3
LBB0_9:
	mov	x0, x23
	bl	_nvlist_lookup_string
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_12
LBB0_10:
Lloh23:
	adrp	x8, _stderr@GOTPAGE
Lloh24:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	x0, [sp]
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x8
	bl	_fprintf
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	ldr	x1, [sp, #32]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.13:
Lloh28:
	adrp	x8, _stderr@GOTPAGE
Lloh29:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh30:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_zfs_prop_to_name
	ldr	x8, [sp, #32]
	stp	x21, x8, [sp, #8]
	str	x0, [sp]
Lloh31:
	adrp	x1, l_.str.7@PAGE
Lloh32:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	b	LBB0_3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"args = ...\nds = args['dataset']\nprop = args['property']\nvalue, setpoint = zfs.get_prop(ds, prop)\nreturn {value=value, setpoint=setpoint}\n"

l_.str.1:                               ; @.str.1
	.asciz	"dataset"

l_.str.2:                               ; @.str.2
	.asciz	"property"

l_.str.3:                               ; @.str.3
	.asciz	"return"

	.comm	_PROP_TYPE_NUMBER,8,3           ; @PROP_TYPE_NUMBER
l_.str.4:                               ; @.str.4
	.asciz	"value"

	.comm	_stderr,4,2                     ; @stderr
l_.str.5:                               ; @.str.5
	.asciz	"zcp check error: %u\n"

l_.str.6:                               ; @.str.6
	.asciz	"%s: zfs found %lld, but zcp found %lld\n"

l_.str.7:                               ; @.str.7
	.asciz	"%s: zfs found %s, but zcp found %s\n"

l_.str.8:                               ; @.str.8
	.asciz	"zcp check failed, channel program error: %u\n"

.subsections_via_symbols
