	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ztest_resume
_ztest_resume:                          ## @ztest_resume
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_spa_suspended
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_ztest_opts@GOTPCREL(%rip), %rax
	cmpl	$6, (%rax)
	jl	LBB0_3
## %bb.2:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_3:
	movq	_SCL_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_spa_vdev_state_enter
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_vdev_clear
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_spa_vdev_state_exit
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_zio_resume                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ztest_opts,4,2                 ## @ztest_opts
	.comm	_SCL_NONE,4,2                   ## @SCL_NONE
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"resuming from suspended state"

	.no_dead_strip	_ztest_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ztest_resume
_ztest_resume:                          ; @ztest_resume
	.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
	bl	_spa_suspended
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _ztest_opts@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ztest_opts@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #6
	b.lt	LBB0_3
; %bb.2:
Lloh3:
	adrp	x0, l_str@PAGE
Lloh4:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_3:
Lloh5:
	adrp	x8, _SCL_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SCL_NONE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_spa_vdev_state_enter
	mov	x0, x19
	mov	x1, #0
	bl	_vdev_clear
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
	bl	_spa_vdev_state_exit
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_zio_resume
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ztest_opts,4,2                 ; @ztest_opts
	.comm	_SCL_NONE,4,2                   ; @SCL_NONE
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"resuming from suspended state"

	.no_dead_strip	_ztest_resume
.subsections_via_symbols
