	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_timeout
_set_timeout:                           ## @set_timeout
	.cfi_startproc
## %bb.0:
	testl	%edi, %edi
	jle	LBB0_6
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_bzero
	movq	_sigalrm_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	leaq	-40(%rbp), %rdi
	callq	_sigfillset
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_sigaction
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_log_err
LBB0_3:
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_bzero
	movl	$1, -28(%rbp)
	movl	%ebx, -32(%rbp)
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_log_debugx
	movq	_ITIMER_REAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_setitimer
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_log_err
LBB0_5:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	jmp	_log_debugx                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"session timeout disabled"

	.comm	_sigalrm_handler,4,2            ## @sigalrm_handler
	.comm	_SIGALRM,4,2                    ## @SIGALRM
L_.str.1:                               ## @.str.1
	.asciz	"sigaction"

L_.str.2:                               ## @.str.2
	.asciz	"setting session timeout to %d seconds"

	.comm	_ITIMER_REAL,4,2                ## @ITIMER_REAL
L_.str.3:                               ## @.str.3
	.asciz	"setitimer"

	.no_dead_strip	_set_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_timeout
_set_timeout:                           ; @set_timeout
	.cfi_startproc
; %bb.0:
	cmp	w0, #0
	b.le	LBB0_6
; %bb.1:
	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	x20, sp, #32
	add	x0, sp, #32
	mov	w1, #16
	bl	_bzero
Lloh0:
	adrp	x8, _sigalrm_handler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sigalrm_handler@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #44]
	add	x0, x20, #8
	bl	_sigfillset
Lloh3:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, sp, #32
	mov	x2, #0
	bl	_sigaction
	cbz	w0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_log_err
LBB0_3:
	add	x0, sp, #16
	mov	w1, #16
	bl	_bzero
	mov	w8, #1
	stp	w19, w8, [sp, #16]
	str	x19, [sp]
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_log_debugx
Lloh10:
	adrp	x8, _ITIMER_REAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ITIMER_REAL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	add	x1, sp, #16
	mov	x2, #0
	bl	_setitimer
	cbz	w0, LBB0_5
; %bb.4:
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_log_err
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	b	_log_debugx
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"session timeout disabled"

	.comm	_sigalrm_handler,4,2            ; @sigalrm_handler
	.comm	_SIGALRM,4,2                    ; @SIGALRM
l_.str.1:                               ; @.str.1
	.asciz	"sigaction"

l_.str.2:                               ; @.str.2
	.asciz	"setting session timeout to %d seconds"

	.comm	_ITIMER_REAL,4,2                ; @ITIMER_REAL
l_.str.3:                               ; @.str.3
	.asciz	"setitimer"

	.no_dead_strip	_set_timeout
.subsections_via_symbols
