	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function end_login
_end_login:                             ## @end_login
	.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
	xorl	%edi, %edi
	callq	_seteuid
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_fatal
LBB0_2:
	movq	_logged_in@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.3:
	movq	_ttyline@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rdx
	movq	%rdx, %rsi
	callq	_ftpd_logwtmp
LBB0_4:
	movq	_pw@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	$0, (%rbx)
	movq	_guest@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_dochroot@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to seteuid"

	.comm	_logged_in,8,3                  ## @logged_in
	.comm	_ttyline,4,2                    ## @ttyline
L_.str.1:                               ## @.str.1
	.space	1

	.comm	_pw,8,3                         ## @pw
	.comm	_guest,8,3                      ## @guest
	.comm	_dochroot,8,3                   ## @dochroot
	.no_dead_strip	_end_login
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function end_login
_end_login:                             ; @end_login
	.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	w0, #0
	bl	_seteuid
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal
LBB0_2:
Lloh2:
	adrp	x19, _logged_in@GOTPAGE
Lloh3:
	ldr	x19, [x19, _logged_in@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _ttyline@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ttyline@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x1
	bl	_ftpd_logwtmp
LBB0_4:
Lloh9:
	adrp	x8, _pw@GOTPAGE
Lloh10:
	ldr	x8, [x8, _pw@GOTPAGEOFF]
Lloh11:
	str	xzr, [x8]
	str	xzr, [x19]
Lloh12:
	adrp	x8, _guest@GOTPAGE
Lloh13:
	ldr	x8, [x8, _guest@GOTPAGEOFF]
Lloh14:
	str	xzr, [x8]
Lloh15:
	adrp	x8, _dochroot@GOTPAGE
Lloh16:
	ldr	x8, [x8, _dochroot@GOTPAGEOFF]
Lloh17:
	str	xzr, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to seteuid"

	.comm	_logged_in,8,3                  ; @logged_in
	.comm	_ttyline,4,2                    ; @ttyline
l_.str.1:                               ; @.str.1
	.space	1

	.comm	_pw,8,3                         ; @pw
	.comm	_guest,8,3                      ; @guest
	.comm	_dochroot,8,3                   ; @dochroot
	.no_dead_strip	_end_login
.subsections_via_symbols
