	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zpool_get_all_props
_zpool_get_all_props:                   ## @zpool_get_all_props
	.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, %r14
	movq	$0, -48(%rbp)
	movq	8(%rdi), %rbx
	movl	4(%rdi), %esi
	xorl	%edi, %edi
	movl	$4, %edx
	callq	_strlcpy
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_zcmd_alloc_dst_nvlist
	movl	$-1, %ecx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	_ZFS_IOC_POOL_GET_PROPS@GOTPCREL(%rip), %r13
	leaq	-48(%rbp), %r12
	movq	_errno@GOTPCREL(%rip), %r14
	movq	_ENOMEM@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	(%r13), %esi
	movq	%r12, %rdx
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_zcmd_expand_dst_nvlist
	testq	%rax, %rax
	je	LBB0_2
LBB0_5:
	leaq	-48(%rbp), %rdi
	callq	_zcmd_free_nvlists
	movl	$-1, %ecx
	jmp	LBB0_7
LBB0_6:
	leaq	-48(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_zcmd_read_dst_nvlist
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_zcmd_free_nvlists
	xorl	%ecx, %ecx
	negq	%rbx
	sbbl	%ecx, %ecx
LBB0_7:
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZFS_IOC_POOL_GET_PROPS,4,2     ## @ZFS_IOC_POOL_GET_PROPS
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.no_dead_strip	_zpool_get_all_props
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zpool_get_all_props
_zpool_get_all_props:                   ; @zpool_get_all_props
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	x20, [x0, #8]
	ldr	w1, [x0, #4]
	mov	w0, #0
	mov	w2, #4
	bl	_strlcpy
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #0
	bl	_zcmd_alloc_dst_nvlist
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_8
LBB0_2:
Lloh0:
	adrp	x21, _ZFS_IOC_POOL_GET_PROPS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ZFS_IOC_POOL_GET_PROPS@GOTPAGEOFF]
Lloh2:
	adrp	x22, _errno@GOTPAGE
Lloh3:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
Lloh4:
	adrp	x23, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x23, [x23, _ENOMEM@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	ldr	w1, [x21]
	add	x2, sp, #8
	bl	_ioctl
	cbz	x0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #8
	mov	x0, x20
	bl	_zcmd_expand_dst_nvlist
	cbz	x0, LBB0_3
LBB0_6:
	add	x0, sp, #8
	bl	_zcmd_free_nvlists
	mov	w0, #-1
	b	LBB0_8
LBB0_7:
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x19
	bl	_zcmd_read_dst_nvlist
	mov	x19, x0
	add	x0, sp, #8
	bl	_zcmd_free_nvlists
	cmp	x19, #0
	csetm	w0, ne
LBB0_8:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ZFS_IOC_POOL_GET_PROPS,4,2     ; @ZFS_IOC_POOL_GET_PROPS
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.no_dead_strip	_zpool_get_all_props
.subsections_via_symbols
