	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setac_locked
_setac_locked:                          ## @setac_locked
	.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	_ptrmoved@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_fp@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	callq	_fileno
	leaq	-16(%rbp), %rsi
	movl	%eax, %edi
	callq	_fstat
	testq	%rax, %rax
	js	LBB0_4
## %bb.2:
	movq	-16(%rbp), %rax
	cmpq	%rax, _setac_locked.lastctime(%rip)
	jne	LBB0_3
## %bb.6:
	movq	(%rbx), %rdi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_fseek                          ## TAILCALL
LBB0_3:
	movq	%rax, _setac_locked.lastctime(%rip)
LBB0_4:
	movq	(%rbx), %rdi
	callq	_fclose
	movq	$0, (%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_setac_locked.lastctime,8,3 ## @setac_locked.lastctime
	.comm	_ptrmoved,4,2                   ## @ptrmoved
	.comm	_fp,8,3                         ## @fp
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_setac_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setac_locked
_setac_locked:                          ; @setac_locked
	.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
Lloh0:
	adrp	x8, _ptrmoved@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ptrmoved@GOTPAGEOFF]
	mov	w9, #1
Lloh2:
	str	w9, [x8]
Lloh3:
	adrp	x19, _fp@GOTPAGE
Lloh4:
	ldr	x19, [x19, _fp@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_6
; %bb.1:
	bl	_fileno
	add	x1, sp, #8
	bl	_fstat
	tbnz	x0, #63, LBB0_5
; %bb.2:
	adrp	x8, _setac_locked.lastctime@PAGE
	ldr	x10, [x8, _setac_locked.lastctime@PAGEOFF]
	ldr	x9, [sp, #8]
	cmp	x10, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x0, [x19]
Lloh5:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_fseek
LBB0_4:
	str	x9, [x8, _setac_locked.lastctime@PAGEOFF]
LBB0_5:
	ldr	x0, [x19]
	bl	_fclose
	str	xzr, [x19]
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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_setac_locked.lastctime,8,3 ; @setac_locked.lastctime
	.comm	_ptrmoved,4,2                   ; @ptrmoved
	.comm	_fp,8,3                         ; @fp
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_setac_locked
.subsections_via_symbols
