	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_alive
_is_alive:                              ## @is_alive
	.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
	movq	_fdc_busy@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_command_status@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jg	LBB0_3
## %bb.2:
	movq	_fd_timeout@GOTPCREL(%rip), %rdi
	callq	_timer_pending
	testl	%eax, %eax
	je	LBB0_4
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_DPRINT                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fdc_busy,4,2                   ## @fdc_busy
	.comm	_command_status,4,2             ## @command_status
	.comm	_fd_timeout,4,2                 ## @fd_timeout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"timeout handler died: %s\n"

	.no_dead_strip	_is_alive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_alive
_is_alive:                              ; @is_alive
	.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	x1, _fdc_busy@GOTPAGE
Lloh1:
	ldr	x1, [x1, _fdc_busy@GOTPAGEOFF]
	mov	w0, #0
	bl	_test_bit
Lloh2:
	adrp	x8, _command_status@GOTPAGE
Lloh3:
	ldr	x8, [x8, _command_status@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	x0, #0
	ccmp	w8, #1, #0, ne
	b.gt	LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, _fd_timeout@GOTPAGE
Lloh6:
	ldr	x0, [x0, _fd_timeout@GOTPAGEOFF]
	bl	_timer_pending
	cbz	w0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DPRINT
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_fdc_busy,4,2                   ; @fdc_busy
	.comm	_command_status,4,2             ; @command_status
	.comm	_fd_timeout,4,2                 ; @fd_timeout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"timeout handler died: %s\n"

	.no_dead_strip	_is_alive
.subsections_via_symbols
