	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ztest_deadman_thread
_ztest_deadman_thread:                  ## @ztest_deadman_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_ztest_spa@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	xorl	%r13d, %r13d
	movq	_zfs_deadman_synctime_ms@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %ebx
	subl	4(%r14), %ebx
	movl	(%r12), %edi
	callq	_MSEC2NSEC
	addl	%eax, %ebx
	movl	%ebx, %edi
	callq	_NSEC2MSEC
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_poll
	movq	%r15, %rdi
	callq	_spa_suspended
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_vdev_deadman
	movslq	(%r12), %rax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$38, %rax
	addl	%ecx, %eax
	addl	%eax, %r13d
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	callq	_printf
	jmp	LBB0_1
LBB0_3:
	movslq	(%r12), %rax
	imulq	$274877907, %rax, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$38, %rdx
	addl	%eax, %edx
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_fatal
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ztest_spa,8,3                  ## @ztest_spa
	.comm	_zfs_deadman_synctime_ms,4,2    ## @zfs_deadman_synctime_ms
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"aborting test after %llu seconds because pool has transitioned to a suspended state."

L_.str.1:                               ## @.str.1
	.asciz	"ztest has been running for %lld seconds\n"

	.no_dead_strip	_ztest_deadman_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ztest_deadman_thread
_ztest_deadman_thread:                  ; @ztest_deadman_thread
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	mov	w20, #0
Lloh0:
	adrp	x8, _ztest_spa@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ztest_spa@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
Lloh3:
	adrp	x23, _zfs_deadman_synctime_ms@GOTPAGE
Lloh4:
	ldr	x23, [x23, _zfs_deadman_synctime_ms@GOTPAGEOFF]
	mov	w24, #19923
	movk	w24, #4194, lsl #16
Lloh5:
	adrp	x22, l_.str.1@PAGE
Lloh6:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w8, w9, [x19]
	sub	w25, w8, w9
	ldr	w0, [x23]
	bl	_MSEC2NSEC
	add	w0, w25, w0
	bl	_NSEC2MSEC
	mov	x2, x0
	mov	x0, #0
	mov	w1, #0
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_poll
	mov	x0, x21
	bl	_spa_suspended
	cbnz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x21]
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_vdev_deadman
	ldrsw	x8, [x23]
	mul	x8, x8, x24
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	add	w20, w8, w20
	mov	x0, x22
	mov	x1, x20
	bl	_printf
	b	LBB0_1
LBB0_4:
	ldrsw	x8, [x23]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w2, w8, w9
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_fatal
	mov	x0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ztest_spa,8,3                  ; @ztest_spa
	.comm	_zfs_deadman_synctime_ms,4,2    ; @zfs_deadman_synctime_ms
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"aborting test after %llu seconds because pool has transitioned to a suspended state."

l_.str.1:                               ; @.str.1
	.asciz	"ztest has been running for %lld seconds\n"

	.no_dead_strip	_ztest_deadman_thread
.subsections_via_symbols
