	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function interactive_interrupt
_interactive_interrupt:                 ## @interactive_interrupt
	.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, %rbx
	xorl	%eax, %eax
	callq	_getsecs
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_puts
	movq	_fail_timeout@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	cmpl	$-2, %ecx
	je	LBB0_9
## %bb.1:
	cmpl	$-1, %ecx
	jne	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_4:
	leaq	L_.str.1(%rip), %r14
	movl	%r15d, %eax
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edx
	movl	%eax, %r13d
	cmpl	%eax, %edx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, %esi
	subl	%r13d, %esi
	addl	%ecx, %esi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_ischar
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_getsecs
	movl	%eax, %edx
	subl	%r15d, %edx
	movl	(%r12), %ecx
	cmpl	%ecx, %edx
	jl	LBB0_5
	jmp	LBB0_10
LBB0_9:
	movl	$1, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fail_timeout,4,2               ## @fail_timeout
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"press any key to interrupt reboot in %d seconds\r"

	.no_dead_strip	_interactive_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function interactive_interrupt
_interactive_interrupt:                 ; @interactive_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	bl	_getsecs
	mov	x19, x0
	mov	x0, x20
	bl	_puts
Lloh0:
	adrp	x21, _fail_timeout@GOTPAGE
Lloh1:
	ldr	x21, [x21, _fail_timeout@GOTPAGEOFF]
	ldr	w8, [x21]
	cmn	w8, #2
	b.eq	LBB0_8
; %bb.1:
	cmn	w8, #1
	b.eq	LBB0_7
; %bb.2:
	mov	w22, #0
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
	mov	x0, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x22
	mov	x22, x0
	cmp	w9, w0
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w9, w19, w22
	add	w8, w9, w8
	str	x8, [sp]
	mov	x0, x20
	bl	_printf
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_ischar
	cbnz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_getsecs
	ldr	w8, [x21]
	sub	w9, w0, w19
	cmp	w9, w8
	b.lt	LBB0_3
LBB0_7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_fail_timeout,4,2               ; @fail_timeout
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"press any key to interrupt reboot in %d seconds\r"

	.no_dead_strip	_interactive_interrupt
.subsections_via_symbols
