	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_handle_dup                 ## -- Begin function zfs_handle_dup
	.p2align	4, 0x90
_zfs_handle_dup:                        ## @zfs_handle_dup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$72, %edi
	movl	$1, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movl	16(%r14), %eax
	movl	%eax, 16(%rbx)
	movl	64(%r14), %eax
	movl	%eax, 64(%rbx)
	movl	60(%rbx), %edi
	movl	60(%r14), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	56(%r14), %eax
	movl	%eax, 56(%rbx)
	movl	52(%r14), %eax
	movl	%eax, 52(%rbx)
	movl	48(%r14), %eax
	movl	%eax, 48(%rbx)
	movq	40(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	leaq	40(%rbx), %rsi
	xorl	%edx, %edx
	callq	_nvlist_dup
	testq	%rax, %rax
	jne	LBB0_7
LBB0_3:
	movq	32(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	leaq	32(%rbx), %rsi
	xorl	%edx, %edx
	callq	_nvlist_dup
	testq	%rax, %rax
	jne	LBB0_7
LBB0_5:
	movq	24(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.6:
	movq	%rbx, %rsi
	addq	$24, %rsi
	xorl	%edx, %edx
	callq	_nvlist_dup
	testq	%rax, %rax
	je	LBB0_9
LBB0_7:
	movl	16(%rbx), %edi
	callq	_no_memory
	movq	%rbx, %rdi
	callq	_zfs_close
LBB0_8:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movl	20(%r14), %eax
	movl	%eax, 20(%rbx)
	movq	8(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.10:
	movl	16(%r14), %edi
	callq	_zfs_strdup
	movq	%rax, 8(%rbx)
LBB0_11:
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_handle_dup                 ; -- Begin function zfs_handle_dup
	.p2align	2
_zfs_handle_dup:                        ; @zfs_handle_dup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	mov	w0, #72
	mov	w1, #1
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_11
; %bb.1:
	ldr	w8, [x20, #16]
	str	w8, [x19, #16]
	ldp	w1, w8, [x20, #60]
	str	w8, [x19, #64]
	ldr	w0, [x19, #60]
	mov	w2, #4
	bl	_strlcpy
	ldr	w8, [x20, #56]
	str	w8, [x19, #56]
	ldr	d0, [x20, #48]
	str	d0, [x19, #48]
	ldr	x0, [x20, #40]
	cbz	x0, LBB0_3
; %bb.2:
	add	x1, x19, #40
	mov	w2, #0
	bl	_nvlist_dup
	cbnz	x0, LBB0_7
LBB0_3:
	ldr	x0, [x20, #32]
	cbz	x0, LBB0_5
; %bb.4:
	add	x1, x19, #32
	mov	w2, #0
	bl	_nvlist_dup
	cbnz	x0, LBB0_7
LBB0_5:
	ldr	x0, [x20, #24]
	cbz	x0, LBB0_8
; %bb.6:
	add	x1, x19, #24
	mov	w2, #0
	bl	_nvlist_dup
	cbz	x0, LBB0_8
LBB0_7:
	ldr	w0, [x19, #16]
	bl	_no_memory
	mov	x0, x19
	bl	_zfs_close
	mov	x19, #0
	b	LBB0_11
LBB0_8:
	ldr	w8, [x20, #20]
	str	w8, [x19, #20]
	ldr	x1, [x20, #8]
	cbz	x1, LBB0_10
; %bb.9:
	ldr	w0, [x20, #16]
	bl	_zfs_strdup
	str	x0, [x19, #8]
LBB0_10:
	ldr	w8, [x20]
	str	w8, [x19]
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
