	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ztest_remap_blocks             ## -- Begin function ztest_remap_blocks
	.p2align	4, 0x90
_ztest_remap_blocks:                    ## @ztest_remap_blocks
	.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, %rbx
	movq	_RW_READER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ztest_name_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_rw_enter
	movl	(%rbx), %edi
	callq	_dmu_objset_remap_indirects
	movq	_ENOSPC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	cmovnel	%eax, %edi
	callq	_ASSERT0
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rw_exit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ztest_name_lock,4,2            ## @ztest_name_lock
	.comm	_RW_READER,4,2                  ## @RW_READER
	.comm	_ENOSPC,4,2                     ## @ENOSPC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ztest_remap_blocks             ; -- Begin function ztest_remap_blocks
	.p2align	2
_ztest_remap_blocks:                    ; @ztest_remap_blocks
	.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	x19, x0
Lloh0:
	adrp	x8, _RW_READER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RW_READER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x20, _ztest_name_lock@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ztest_name_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_rw_enter
	ldr	w0, [x19]
	bl	_dmu_objset_remap_indirects
Lloh5:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	csel	w0, wzr, w0, eq
	bl	_ASSERT0
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rw_exit
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ztest_name_lock,4,2            ; @ztest_name_lock
	.comm	_RW_READER,4,2                  ; @RW_READER
	.comm	_ENOSPC,4,2                     ; @ENOSPC
.subsections_via_symbols
