	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_alarm                      ## -- Begin function sys_alarm
	.p2align	4, 0x90
_sys_alarm:                             ## @sys_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_STRACE
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_lock
	movq	_ITIMER_REAL_@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	leaq	-24(%rbp), %rcx
	movq	%r14, %rdi
	callq	_itimer_set
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_unlock
	testl	%ebx, %ebx
	js	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	cmpl	$500000000, -20(%rbp)           ## imm = 0x1DCD6500
	setge	%bl
	addl	-24(%rbp), %ebx
	jne	LBB0_3
## %bb.2:
	movq	-24(%rbp), %rdi
	callq	_timespec_is_zero
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	%bl
LBB0_3:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"alarm(%d)"

	.comm	_current,8,3                    ## @current
	.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	_sys_alarm                      ; -- Begin function sys_alarm
	.p2align	2
_sys_alarm:                             ; @sys_alarm
	.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	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_STRACE
Lloh2:
	adrp	x8, _current@GOTPAGE
Lloh3:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x20, [x8]
	mov	x0, x20
	bl	_lock
Lloh5:
	adrp	x8, _ITIMER_REAL_@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ITIMER_REAL_@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w2, w19
	add	x3, sp, #8
	mov	x0, x20
	bl	_itimer_set
	mov	x19, x0
	mov	x0, x20
	bl	_unlock
	tbnz	w19, #31, LBB0_3
; %bb.1:
	ldp	w8, w9, [sp, #8]
	mov	w10, #25855
	movk	w10, #7629, lsl #16
	cmp	w9, w10
	cinc	w19, w8, gt
	cbnz	w19, LBB0_3
; %bb.2:
	ldr	x0, [sp, #8]
	bl	_timespec_is_zero
	cmp	w0, #0
	cset	w19, eq
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"alarm(%d)"

	.comm	_current,8,3                    ; @current
	.comm	_ITIMER_REAL_,4,2               ; @ITIMER_REAL_
.subsections_via_symbols
