	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dologout                       ## -- Begin function dologout
	.p2align	4, 0x90
_dologout:                              ## @dologout
	.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
	movl	%edi, %ebx
	movq	_logged_in@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_dowtmp@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	callq	_seteuid
	movq	_wtmpid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ftpd_logwtmp
LBB0_3:
	movl	%ebx, %edi
	callq	__exit
	.cfi_endproc
                                        ## -- End function
	.comm	_logged_in,8,3                  ## @logged_in
	.comm	_dowtmp,8,3                     ## @dowtmp
	.comm	_wtmpid,4,2                     ## @wtmpid
	.comm	_LOGIN_SETALL,4,2               ## @LOGIN_SETALL
	.comm	_LOGIN_SETENV,4,2               ## @LOGIN_SETENV
	.comm	_LOGIN_SETGROUP,4,2             ## @LOGIN_SETGROUP
	.comm	_LOGIN_SETLOGIN,4,2             ## @LOGIN_SETLOGIN
	.comm	_LOGIN_SETPATH,4,2              ## @LOGIN_SETPATH
	.comm	_LOGIN_SETUSER,4,2              ## @LOGIN_SETUSER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dologout                       ; -- Begin function dologout
	.p2align	2
_dologout:                              ; @dologout
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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	x8, _logged_in@GOTPAGE
Lloh1:
	ldr	x8, [x8, _logged_in@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _dowtmp@GOTPAGE
Lloh4:
	ldr	x9, [x9, _dowtmp@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	bl	_seteuid
Lloh6:
	adrp	x8, _wtmpid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _wtmpid@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, #0
	mov	x2, #0
	bl	_ftpd_logwtmp
LBB0_2:
	mov	x0, x19
	bl	__exit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_logged_in,8,3                  ; @logged_in
	.comm	_dowtmp,8,3                     ; @dowtmp
	.comm	_wtmpid,4,2                     ; @wtmpid
	.comm	_LOGIN_SETALL,4,2               ; @LOGIN_SETALL
	.comm	_LOGIN_SETENV,4,2               ; @LOGIN_SETENV
	.comm	_LOGIN_SETGROUP,4,2             ; @LOGIN_SETGROUP
	.comm	_LOGIN_SETLOGIN,4,2             ; @LOGIN_SETLOGIN
	.comm	_LOGIN_SETPATH,4,2              ; @LOGIN_SETPATH
	.comm	_LOGIN_SETUSER,4,2              ; @LOGIN_SETUSER
.subsections_via_symbols
