	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alarm                          ## -- Begin function alarm
	.p2align	4, 0x90
_alarm:                                 ## @alarm
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	leaq	-16(%rbp), %rdi
	callq	_timerclear
	movl	%ebx, -32(%rbp)
	movq	$0, -24(%rbp)
	movq	_ITIMER_REAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_setitimer
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movl	-56(%rbp), %eax
	cmpq	$1, -48(%rbp)
	sbbl	$-1, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ITIMER_REAL,4,2                ## @ITIMER_REAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alarm                          ; -- Begin function alarm
	.p2align	2
_alarm:                                 ; @alarm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	add	x8, sp, #24
	add	x0, x8, #16
	bl	_timerclear
	str	w19, [sp, #24]
	str	xzr, [sp, #32]
Lloh0:
	adrp	x8, _ITIMER_REAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ITIMER_REAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #24
	mov	x2, sp
	bl	_setitimer
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldr	x8, [sp, #8]
	cmp	x8, #0
	ldr	w8, [sp]
	cinc	w0, w8, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ITIMER_REAL,4,2                ; @ITIMER_REAL
.subsections_via_symbols
