	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_platform_heartbeat             ## -- Begin function platform_heartbeat
	.p2align	4, 0x90
_platform_heartbeat:                    ## @platform_heartbeat
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	_platform_heartbeat.t(%rip), %eax
	leal	-1(%rax), %ecx
	movl	%ecx, _platform_heartbeat.t(%rip)
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	popq	%rbp
	retq
LBB0_1:
	movl	$59, _platform_heartbeat.t(%rip)
	cmpl	$0, _platform_heartbeat.i(%rip)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rsi
	cmoveq	%rax, %rsi
	movl	$7, %edi
	callq	_led_print
	xorb	$1, _platform_heartbeat.i(%rip)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_platform_heartbeat.i,4,2 ## @platform_heartbeat.i
.zerofill __DATA,__bss,_platform_heartbeat.t,4,2 ## @platform_heartbeat.t
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

L_.str.1:                               ## @.str.1
	.asciz	" "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_platform_heartbeat             ; -- Begin function platform_heartbeat
	.p2align	2
_platform_heartbeat:                    ; @platform_heartbeat
	.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
	adrp	x8, _platform_heartbeat.t@PAGE
	ldr	w9, [x8, _platform_heartbeat.t@PAGEOFF]
	sub	w10, w9, #1
	str	w10, [x8, _platform_heartbeat.t@PAGEOFF]
	cmp	w9, #0
	b.gt	LBB0_2
; %bb.1:
	mov	w9, #59
	str	w9, [x8, _platform_heartbeat.t@PAGEOFF]
	adrp	x19, _platform_heartbeat.i@PAGE
	ldr	w8, [x19, _platform_heartbeat.i@PAGEOFF]
Lloh0:
	adrp	x9, l_.str@PAGE
Lloh1:
	add	x9, x9, l_.str@PAGEOFF
Lloh2:
	adrp	x10, l_.str.1@PAGE
Lloh3:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, #0
	csel	x1, x10, x9, eq
	mov	w0, #7
	bl	_led_print
	ldr	w8, [x19, _platform_heartbeat.i@PAGEOFF]
	eor	w8, w8, #0x1
	str	w8, [x19, _platform_heartbeat.i@PAGEOFF]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_platform_heartbeat.i,4,2 ; @platform_heartbeat.i
.zerofill __DATA,__bss,_platform_heartbeat.t,4,2 ; @platform_heartbeat.t
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

l_.str.1:                               ; @.str.1
	.asciz	" "

.subsections_via_symbols
