	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ztest_resume_thread
_ztest_resume_thread:                   ## @ztest_resume_thread
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ztest_exiting@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_1
LBB0_9:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	_zfs_compressed_arc_enabled@GOTPCREL(%rip), %r15
	movq	_zfs_abd_scatter_enabled@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%r14)
	jne	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_spa_suspended
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_ztest_resume
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	$100, %edx
	callq	_poll
	movl	$10, %edi
	callq	_ztest_random
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$2, %edi
	callq	_ztest_random
	movq	%rax, (%r15)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$10, %edi
	callq	_ztest_random
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$2, %edi
	callq	_ztest_random
	movq	%rax, (%r12)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ztest_exiting,4,2              ## @ztest_exiting
	.comm	_zfs_compressed_arc_enabled,8,3 ## @zfs_compressed_arc_enabled
	.comm	_zfs_abd_scatter_enabled,8,3    ## @zfs_abd_scatter_enabled
	.no_dead_strip	_ztest_resume_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ztest_resume_thread
_ztest_resume_thread:                   ; @ztest_resume_thread
	.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
Lloh0:
	adrp	x20, _ztest_exiting@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ztest_exiting@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_2
LBB0_1:
	mov	x0, #0
	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
LBB0_2:
	mov	x19, x0
Lloh2:
	adrp	x21, _zfs_compressed_arc_enabled@GOTPAGE
Lloh3:
	ldr	x21, [x21, _zfs_compressed_arc_enabled@GOTPAGEOFF]
Lloh4:
	adrp	x22, _zfs_abd_scatter_enabled@GOTPAGE
Lloh5:
	ldr	x22, [x22, _zfs_abd_scatter_enabled@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	cbnz	w8, LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_spa_suspended
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_ztest_resume
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, #0
	mov	w1, #0
	mov	w2, #100
	bl	_poll
	mov	w0, #10
	bl	_ztest_random
	cbnz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #2
	bl	_ztest_random
	str	x0, [x21]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #10
	bl	_ztest_random
	cbnz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #2
	bl	_ztest_random
	str	x0, [x22]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ztest_exiting,4,2              ; @ztest_exiting
	.comm	_zfs_compressed_arc_enabled,8,3 ; @zfs_compressed_arc_enabled
	.comm	_zfs_abd_scatter_enabled,8,3    ; @zfs_abd_scatter_enabled
	.no_dead_strip	_ztest_resume_thread
.subsections_via_symbols
