	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setalarm                       ## -- Begin function setalarm
	.p2align	4, 0x90
_setalarm:                              ## @setalarm
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_STRautologout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adrof
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	(%rax), %rdi
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	callq	_short2str
	movl	%eax, %edi
	callq	_atoi
	imull	$60, %eax, %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_auto_logout@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_alm_fun@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	%eax, %r15d
LBB0_5:
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.6:
	callq	_short2str
	movl	%eax, %edi
	callq	_atoi
	imull	$60, %eax, %eax
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.8:
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.9:
	cmpl	%eax, %r15d
	jbe	LBB0_12
LBB0_10:
	movq	_auto_lock@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_alm_fun@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	%eax, %r15d
	jmp	LBB0_12
LBB0_11:
	movl	%r15d, %ecx
	subl	%eax, %ecx
	testl	%r15d, %r15d
	cmovnel	%ecx, %r15d
LBB0_12:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_sched_next
	cmpl	$-1, %eax
	je	LBB0_16
## %bb.13:
	movl	%eax, %ebx
	leaq	-28(%rbp), %rdi
	callq	_time
	subl	-28(%rbp), %ebx
	cmovgl	%ebx, %r14d
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.14:
	cmpl	%r15d, %r14d
	jae	LBB0_16
LBB0_15:
	incl	%r14d
	movq	_sched_run@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_alm_fun@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, %r15d
LBB0_16:
	movq	_alrmcatch_disabled@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movl	%r15d, %edi
	callq	_alarm
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRautologout,4,2              ## @STRautologout
	.comm	_auto_logout,4,2                ## @auto_logout
	.comm	_alm_fun,4,2                    ## @alm_fun
	.comm	_auto_lock,4,2                  ## @auto_lock
	.comm	_sched_run,4,2                  ## @sched_run
	.comm	_alrmcatch_disabled,8,3         ## @alrmcatch_disabled
	.comm	_CLK_TCK,4,2                    ## @CLK_TCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setalarm                       ; -- Begin function setalarm
	.p2align	2
_setalarm:                              ; @setalarm
	.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
Lloh0:
	adrp	x8, _STRautologout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRautologout@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_adrof
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x0, [x8]
	cbz	x0, LBB0_11
; %bb.3:
	bl	_short2str
	bl	_atoi
	mov	w8, #60
	mul	w19, w0, w8
	cbz	w19, LBB0_12
; %bb.4:
Lloh3:
	adrp	x8, _auto_logout@GOTPAGE
Lloh4:
	ldr	x8, [x8, _auto_logout@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _alm_fun@GOTPAGE
Lloh7:
	ldr	x9, [x9, _alm_fun@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	b	LBB0_12
LBB0_5:
	mov	w19, #0
LBB0_6:
	bl	_sched_next
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.7:
	mov	x20, x0
	add	x0, sp, #12
	bl	_time
	ldr	w8, [sp, #12]
	subs	w8, w20, w8
	csel	w8, w8, wzr, gt
	cbz	w19, LBB0_9
; %bb.8:
	cmp	w8, w19
	b.hs	LBB0_10
LBB0_9:
	add	w19, w8, #1
Lloh9:
	adrp	x8, _sched_run@GOTPAGE
Lloh10:
	ldr	x8, [x8, _sched_run@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _alm_fun@GOTPAGE
Lloh13:
	ldr	x9, [x9, _alm_fun@GOTPAGEOFF]
Lloh14:
	str	w8, [x9]
LBB0_10:
Lloh15:
	adrp	x8, _alrmcatch_disabled@GOTPAGE
Lloh16:
	ldr	x8, [x8, _alrmcatch_disabled@GOTPAGEOFF]
Lloh17:
	str	xzr, [x8]
	mov	x0, x19
	bl	_alarm
	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
LBB0_11:
	mov	w19, #0
LBB0_12:
	ldr	x8, [x21]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_6
; %bb.13:
	bl	_short2str
	bl	_atoi
	mov	w8, #60
	mul	w8, w0, w8
	cbz	w8, LBB0_6
; %bb.14:
	cbz	w20, LBB0_18
; %bb.15:
	cbz	w19, LBB0_17
; %bb.16:
	cmp	w19, w8
	b.ls	LBB0_6
LBB0_17:
Lloh18:
	adrp	x9, _auto_lock@GOTPAGE
Lloh19:
	ldr	x9, [x9, _auto_lock@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _alm_fun@GOTPAGE
Lloh22:
	ldr	x10, [x10, _alm_fun@GOTPAGEOFF]
Lloh23:
	str	w9, [x10]
	mov	x19, x8
	b	LBB0_6
LBB0_18:
	sub	w8, w19, w8
	cmp	w19, #0
	csel	w19, wzr, w8, eq
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_STRautologout,4,2              ; @STRautologout
	.comm	_auto_logout,4,2                ; @auto_logout
	.comm	_alm_fun,4,2                    ; @alm_fun
	.comm	_auto_lock,4,2                  ; @auto_lock
	.comm	_sched_run,4,2                  ; @sched_run
	.comm	_alrmcatch_disabled,8,3         ; @alrmcatch_disabled
	.comm	_CLK_TCK,4,2                    ; @CLK_TCK
.subsections_via_symbols
