	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function firmware_is_alive
_firmware_is_alive:                     ## @firmware_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_HYDRA_HEAR_BEAT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-40(%rbp), %rdx
	callq	_read_register
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	$20, %edi
	callq	_msleep
	movl	(%r15), %esi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_read_register
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	-32(%rbp), %rax
	xorl	%r14d, %r14d
	cmpq	-40(%rbp), %rax
	setne	%r14b
LBB0_3:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HYDRA_HEAR_BEAT,4,2            ## @HYDRA_HEAR_BEAT
	.no_dead_strip	_firmware_is_alive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function firmware_is_alive
_firmware_is_alive:                     ; @firmware_is_alive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _HYDRA_HEAR_BEAT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _HYDRA_HEAR_BEAT@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #8
	bl	_read_register
	cbnz	x0, LBB0_2
; %bb.1:
	mov	w0, #20
	bl	_msleep
	ldr	w1, [x20]
	mov	x2, sp
	mov	x0, x19
	bl	_read_register
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	ldp	x8, x9, [sp]
	cmp	x8, x9
	cset	w0, ne
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HYDRA_HEAR_BEAT,4,2            ; @HYDRA_HEAR_BEAT
	.no_dead_strip	_firmware_is_alive
.subsections_via_symbols
