	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function loginlist
_loginlist:                             ## @loginlist
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_kflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_2:
	xorl	%eax, %eax
	callq	_setutxent
	xorl	%eax, %eax
	callq	_getutxent
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	%rax, %rbx
	movq	_USER_PROCESS@GOTPCREL(%rip), %r15
	jmp	LBB0_4
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_enter_person
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_enter_where
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_getutxent
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%rbx), %edi
	callq	_find_person
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%rbx), %edi
	callq	_getpwnam
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_hide
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_8
LBB0_11:
	xorl	%eax, %eax
	callq	_endutxent
	movq	_db@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.12:
	movq	_lflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.13:
	movq	_R_FIRST@GOTPCREL(%rip), %rax
	leaq	-64(%rbp), %r14
	leaq	-48(%rbp), %r12
	leaq	-56(%rbp), %rbx
	movq	_R_NEXT@GOTPCREL(%rip), %r15
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_err
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	-48(%rbp), %esi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_memmove
	movq	-56(%rbp), %rdi
	callq	_enter_lastlog
	movq	(%r13), %rdi
	movq	%r15, %rax
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %ecx
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	*(%rdi)
	cmpl	$-1, %eax
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$1, %eax
	jne	LBB0_18
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kflag,8,3                      ## @kflag
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't list logins without reading utmp"

	.comm	_USER_PROCESS,8,3               ## @USER_PROCESS
	.comm	_db,8,3                         ## @db
	.comm	_lflag,8,3                      ## @lflag
	.comm	_R_FIRST,4,2                    ## @R_FIRST
L_.str.1:                               ## @.str.1
	.asciz	"db seq"

	.comm	_R_NEXT,4,2                     ## @R_NEXT
	.no_dead_strip	_loginlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function loginlist
_loginlist:                             ; @loginlist
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _kflag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kflag@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	bl	_setutxent
	bl	_getutxent
	cbz	x0, LBB0_11
; %bb.3:
	mov	x19, x0
Lloh5:
	adrp	x21, _USER_PROCESS@GOTPAGE
Lloh6:
	ldr	x21, [x21, _USER_PROCESS@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_enter_person
	mov	x1, x0
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_enter_where
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_getutxent
	mov	x19, x0
	cbz	x0, LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x19, #8]
	bl	_find_person
	mov	x1, x0
	cbnz	x0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x19, #8]
	bl	_getpwnam
	cbz	x0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x20, x0
	bl	_hide
	cbnz	x0, LBB0_6
	b	LBB0_4
LBB0_11:
	bl	_endutxent
Lloh7:
	adrp	x20, _db@GOTPAGE
Lloh8:
	ldr	x20, [x20, _db@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh9:
	adrp	x8, _lflag@GOTPAGE
Lloh10:
	ldr	x8, [x8, _lflag@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_17
; %bb.12:
Lloh12:
	adrp	x8, _R_FIRST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _R_FIRST@GOTPAGEOFF]
Lloh14:
	adrp	x19, l_.str.1@PAGE
Lloh15:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh16:
	adrp	x21, _R_NEXT@GOTPAGE
Lloh17:
	ldr	x21, [x21, _R_NEXT@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w0, #1
	mov	x1, x19
	bl	_err
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w1, [sp, #24]
	add	x0, sp, #8
	mov	w2, #8
	bl	_memmove
	ldr	x0, [sp, #8]
	bl	_enter_lastlog
	ldr	x0, [x20]
	mov	x8, x21
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x8]
	ldr	x8, [x0]
	add	x1, sp, #16
	add	x2, sp, #24
	blr	x8
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	cmp	w0, #1
	b.ne	LBB0_14
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_kflag,8,3                      ; @kflag
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't list logins without reading utmp"

	.comm	_USER_PROCESS,8,3               ; @USER_PROCESS
	.comm	_db,8,3                         ; @db
	.comm	_lflag,8,3                      ; @lflag
	.comm	_R_FIRST,4,2                    ; @R_FIRST
l_.str.1:                               ; @.str.1
	.asciz	"db seq"

	.comm	_R_NEXT,4,2                     ; @R_NEXT
	.no_dead_strip	_loginlist
.subsections_via_symbols
