	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libzfs_add_handle              ## -- Begin function libzfs_add_handle
	.p2align	4, 0x90
_libzfs_add_handle:                     ## @libzfs_add_handle
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edx
	movl	4(%rdi), %ecx
	cmpl	%ecx, %edx
	jne	LBB0_1
## %bb.2:
	leal	(%rdx,%rdx), %eax
	testl	%edx, %edx
	movl	$64, %ecx
	cmovnel	%eax, %ecx
	movslq	%ecx, %r15
	movl	(%r14), %edi
	movq	8(%rbx), %rsi
	shll	$3, %edx
	leaq	(,%r15,8), %rcx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_zfs_realloc
	movq	%rax, 8(%rbx)
	movl	%r15d, (%rbx)
	movl	4(%rbx), %ecx
	jmp	LBB0_3
LBB0_1:
	movq	8(%rbx), %rax
LBB0_3:
	leal	1(%rcx), %edx
	movl	%edx, 4(%rbx)
	movslq	%ecx, %rcx
	movq	%r14, (%rax,%rcx,8)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libzfs_add_handle              ; -- Begin function libzfs_add_handle
	.p2align	2
_libzfs_add_handle:                     ; @libzfs_add_handle
	.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
	mov	x19, x1
	mov	x20, x0
	ldp	w9, w8, [x0]
	cmp	w9, w8
	b.ne	LBB0_2
; %bb.1:
	lsl	w8, w9, #1
	mov	w10, #64
	cmp	w9, #0
	csel	w21, w10, w8, eq
	ldr	w0, [x19]
	ldr	x1, [x20, #8]
	lsl	w2, w9, #3
	sbfiz	x3, x21, #3, #32
	bl	_zfs_realloc
	str	x0, [x20, #8]
	str	w21, [x20]
	ldr	w8, [x20, #4]
	b	LBB0_3
LBB0_2:
	ldr	x0, [x20, #8]
LBB0_3:
	add	w9, w8, #1
	str	w9, [x20, #4]
	str	x19, [x0, w8, sxtw #3]
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
