	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function utx_lastlogin_upgrade
_utx_lastlogin_upgrade:                 ## @utx_lastlogin_upgrade
	.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	__PATH_UTX_LASTLOGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movq	_O_CLOEXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	$420, %edx                      ## imm = 0x1A4
	callq	__open
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movl	%eax, %ebx
	leaq	-16(%rbp), %rsi
	movl	%eax, %edi
	callq	__fstat
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.2:
	testb	$3, -16(%rbp)
	je	LBB0_4
## %bb.3:
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_ftruncate
LBB0_4:
	movl	%ebx, %edi
	callq	__close
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__PATH_UTX_LASTLOGIN,4,2        ## @_PATH_UTX_LASTLOGIN
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_O_CLOEXEC,4,2                  ## @O_CLOEXEC
	.no_dead_strip	_utx_lastlogin_upgrade
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function utx_lastlogin_upgrade
_utx_lastlogin_upgrade:                 ; @utx_lastlogin_upgrade
	.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, __PATH_UTX_LASTLOGIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PATH_UTX_LASTLOGIN@GOTPAGEOFF]
Lloh2:
	adrp	x9, _O_RDWR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _O_RDWR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _O_CLOEXEC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _O_CLOEXEC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	w2, #420
	bl	__open
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	x19, x0
	add	x1, sp, #8
	bl	__fstat
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
	ldrb	w8, [sp, #8]
	tst	w8, #0x3
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	bl	_ftruncate
LBB0_4:
	mov	x0, x19
	bl	__close
LBB0_5:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	__PATH_UTX_LASTLOGIN,4,2        ; @_PATH_UTX_LASTLOGIN
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_O_CLOEXEC,4,2                  ; @O_CLOEXEC
	.no_dead_strip	_utx_lastlogin_upgrade
.subsections_via_symbols
