	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function multi_user
_multi_user:                            ## @multi_user
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_requested_transition@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	xorl	%eax, %eax
	callq	_getsecuritylevel
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	$1, %edi
	callq	_setsecuritylevel
LBB0_2:
	movq	_sessions@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rbx
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%rbx)
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_session_has_no_tty
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_start_getty
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, (%rbx)
	xorl	%edi, %edi
	callq	_time
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_add_session
	jmp	LBB0_9
LBB0_7:
	movq	_clean_ttys@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	jmp	LBB0_11
LBB0_10:
	movq	(%r14), %rax
LBB0_11:
	testq	%rax, %rax
	jne	LBB0_14
## %bb.12:
	movl	$-1, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_waitpid
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.13:
	movl	%eax, %edi
	callq	_collect_child
	jmp	LBB0_10
LBB0_14:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_requested_transition,8,3       ## @requested_transition
	.comm	_sessions,8,3                   ## @sessions
	.comm	_clean_ttys,8,3                 ## @clean_ttys
	.no_dead_strip	_multi_user
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function multi_user
_multi_user:                            ; @multi_user
	.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
Lloh0:
	adrp	x20, _requested_transition@GOTPAGE
Lloh1:
	ldr	x20, [x20, _requested_transition@GOTPAGEOFF]
	str	xzr, [x20]
	bl	_getsecuritylevel
	cbnz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_setsecuritylevel
LBB0_2:
Lloh2:
	adrp	x8, _sessions@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sessions@GOTPAGEOFF]
Lloh4:
	ldr	x19, [x8]
	cbnz	x19, LBB0_6
LBB0_3:
	ldr	x0, [x20]
	cbz	x0, LBB0_12
LBB0_4:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_3
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cbnz	w8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_session_has_no_tty
	cbnz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_start_getty
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w0, [x19]
	mov	x0, #0
	bl	_time
	str	w0, [x19, #4]
	mov	x0, x19
	bl	_add_session
	b	LBB0_5
LBB0_10:
Lloh5:
	adrp	x8, _clean_ttys@GOTPAGE
Lloh6:
	ldr	x8, [x8, _clean_ttys@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	str	x0, [x20]
	cbnz	x0, LBB0_4
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x20]
	cbnz	x0, LBB0_4
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #-1
	mov	x1, #0
	mov	w2, #0
	bl	_waitpid
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	bl	_collect_child
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_requested_transition,8,3       ; @requested_transition
	.comm	_sessions,8,3                   ; @sessions
	.comm	_clean_ttys,8,3                 ; @clean_ttys
	.no_dead_strip	_multi_user
.subsections_via_symbols
