	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_screensaver_timeout
_set_screensaver_timeout:               ## @set_screensaver_timeout
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, -12(%rbp)
	cmpb	$0, (%rbx)
	je	LBB0_4
## %bb.3:
	testl	%eax, %eax
	jg	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	callq	_revert
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	jmp	LBB0_5
LBB0_1:
	movl	$0, -12(%rbp)
LBB0_5:
	movq	_CONS_BLANKTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	xorl	%edi, %edi
	callq	_ioctl
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_revert
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"off"

L_.str.1:                               ## @.str.1
	.asciz	"argument must be a positive number"

	.comm	_CONS_BLANKTIME,4,2             ## @CONS_BLANKTIME
L_.str.2:                               ## @.str.2
	.asciz	"setting screensaver period"

	.no_dead_strip	_set_screensaver_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_screensaver_timeout
_set_screensaver_timeout:               ; @set_screensaver_timeout
	.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	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_atoi
	str	w0, [sp, #12]
	ldrb	w8, [x19]
	cmp	w8, #0
	ccmp	w0, #0, #4, ne
	b.gt	LBB0_4
; %bb.2:
	bl	_revert
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
	b	LBB0_4
LBB0_3:
	str	wzr, [sp, #12]
LBB0_4:
Lloh4:
	adrp	x8, _CONS_BLANKTIME@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CONS_BLANKTIME@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	w0, #0
	bl	_ioctl
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.5:
	bl	_revert
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"off"

l_.str.1:                               ; @.str.1
	.asciz	"argument must be a positive number"

	.comm	_CONS_BLANKTIME,4,2             ; @CONS_BLANKTIME
l_.str.2:                               ; @.str.2
	.asciz	"setting screensaver period"

	.no_dead_strip	_set_screensaver_timeout
.subsections_via_symbols
