	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpool_set_prop                 ## -- Begin function zpool_set_prop
	.p2align	4, 0x90
_zpool_set_prop:                        ## @zpool_set_prop
	.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	%rbx
	subq	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -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, -32(%rbp)
	movq	$0, -1072(%rbp)
	movq	$0, -1064(%rbp)
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dgettext
	movl	4(%rbx), %ecx
	leaq	-1056(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rax, %rdx
	callq	_snprintf
	movq	_NV_UNIQUE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1064(%rbp), %rdi
	xorl	%edx, %edx
	callq	_nvlist_alloc
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	-1064(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_nvlist_add_string
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-1064(%rbp), %rdi
	callq	_nvlist_free
LBB0_1:
	movl	(%rbx), %edi
	callq	_no_memory
	movl	%eax, %r14d
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r14d, %eax
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ZPOOL_PROP_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_zpool_get_prop_int
	movl	(%rbx), %edi
	movl	4(%rbx), %esi
	movq	-1064(%rbp), %rdx
	leaq	-1056(%rbp), %r9
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_zpool_valid_proplist
	movq	%rax, %r15
	movq	-1064(%rbp), %rdi
	callq	_nvlist_free
	movl	$-1, %r14d
	testq	%r15, %r15
	je	LBB0_10
## %bb.5:
	movq	%r15, -1064(%rbp)
	movl	4(%rbx), %esi
	xorl	%edi, %edi
	movl	$4, %edx
	callq	_strlcpy
	movl	(%rbx), %edi
	movq	-1064(%rbp), %rdx
	leaq	-1072(%rbp), %rsi
	callq	_zcmd_write_src_nvlist
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	-1064(%rbp), %rdi
	callq	_nvlist_free
	jmp	LBB0_10
LBB0_7:
	movl	(%rbx), %edi
	movq	_ZFS_IOC_POOL_SET_PROPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1072(%rbp), %r15
	movq	%r15, %rdx
	callq	_zfs_ioctl
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_zcmd_free_nvlists
	movq	-1064(%rbp), %rdi
	callq	_nvlist_free
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.8:
	movl	(%rbx), %edi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1056(%rbp), %rdx
	callq	_zpool_standard_error
	jmp	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	callq	_zpool_props_refresh
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TEXT_DOMAIN,4,2                ## @TEXT_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot set property for '%s'"

	.comm	_NV_UNIQUE_NAME,4,2             ## @NV_UNIQUE_NAME
	.comm	_ZPOOL_PROP_VERSION,4,2         ## @ZPOOL_PROP_VERSION
	.comm	_ZFS_IOC_POOL_SET_PROPS,4,2     ## @ZFS_IOC_POOL_SET_PROPS
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpool_set_prop                 ; -- Begin function zpool_set_prop
	.p2align	2
_zpool_set_prop:                        ; @zpool_set_prop
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #1056
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	stp	xzr, xzr, [sp, #8]
Lloh3:
	adrp	x8, _TEXT_DOMAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TEXT_DOMAIN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dgettext
	mov	x2, x0
	ldr	w3, [x19, #4]
	add	x0, sp, #24
	mov	w1, #1024
	bl	_snprintf
Lloh8:
	adrp	x8, _NV_UNIQUE_NAME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NV_UNIQUE_NAME@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #0
	bl	_nvlist_alloc
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x0, [sp, #8]
	mov	x1, x21
	mov	x2, x20
	bl	_nvlist_add_string
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x0, [sp, #8]
	bl	_nvlist_free
LBB0_3:
	ldr	w0, [x19]
	bl	_no_memory
	mov	x20, x0
LBB0_4:
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.5:
	mov	x0, x20
	add	sp, sp, #1056
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh14:
	adrp	x8, _ZPOOL_PROP_VERSION@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ZPOOL_PROP_VERSION@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_zpool_get_prop_int
	mov	x3, x0
	ldp	w0, w1, [x19]
	ldr	x2, [sp, #8]
	add	x5, sp, #24
	mov	x4, #0
	bl	_zpool_valid_proplist
	mov	x20, x0
	ldr	x0, [sp, #8]
	bl	_nvlist_free
	cbz	x20, LBB0_9
; %bb.7:
	str	x20, [sp, #8]
	ldr	w1, [x19, #4]
	mov	w0, #0
	mov	w2, #4
	bl	_strlcpy
	ldr	w0, [x19]
	ldr	x2, [sp, #8]
	add	x1, sp, #16
	bl	_zcmd_write_src_nvlist
	cbz	x0, LBB0_10
; %bb.8:
	ldr	x0, [sp, #8]
	bl	_nvlist_free
LBB0_9:
	mov	w20, #-1
	b	LBB0_4
LBB0_10:
	ldr	w0, [x19]
Lloh17:
	adrp	x8, _ZFS_IOC_POOL_SET_PROPS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ZFS_IOC_POOL_SET_PROPS@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	add	x2, sp, #16
	bl	_zfs_ioctl
	mov	x20, x0
	add	x0, sp, #16
	bl	_zcmd_free_nvlists
	ldr	x0, [sp, #8]
	bl	_nvlist_free
	cbz	w20, LBB0_12
; %bb.11:
	ldr	w0, [x19]
Lloh20:
	adrp	x8, _errno@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	add	x2, sp, #24
	bl	_zpool_standard_error
	b	LBB0_4
LBB0_12:
	mov	x0, x19
	bl	_zpool_props_refresh
	b	LBB0_4
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_TEXT_DOMAIN,4,2                ; @TEXT_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot set property for '%s'"

	.comm	_NV_UNIQUE_NAME,4,2             ; @NV_UNIQUE_NAME
	.comm	_ZPOOL_PROP_VERSION,4,2         ; @ZPOOL_PROP_VERSION
	.comm	_ZFS_IOC_POOL_SET_PROPS,4,2     ; @ZFS_IOC_POOL_SET_PROPS
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
