	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_login
_do_login:                              ## @do_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r13
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_checknologin
LBB0_2:
	movq	8(%r15), %rdi
	movq	_remote_host@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	leaq	L_.str(%rip), %rsi
	cmovneq	%rax, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_update_utmp
	leaq	L_.str.1(%rip), %rdi
	callq	_getgrnam
	leaq	32(%r15), %r14
	testq	%rax, %rax
	cmoveq	%r14, %rax
	movq	(%rax), %rdx
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_chown
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_warn
	testq	%r13, %r13
	jne	LBB0_6
LBB0_4:
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movq	_S_IWUSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_S_IWGRP@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_chmod
	testq	%rax, %rax
	js	LBB0_5
## %bb.7:
	testq	%r13, %r13
	je	LBB0_11
## %bb.8:
	leaq	L_.str.4(%rip), %rdi
	callq	_login_conf_get_string
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	__PATH_LIMITS_CONF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_10:
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_read_limits_conf
	jmp	LBB0_11
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_warn
	testq	%r13, %r13
	jne	LBB0_6
LBB0_11:
	movq	(%r15), %rdi
	callq	_do_osfc2_magic
	testq	%rax, %rax
	jne	LBB0_6
## %bb.12:
	movq	(%r14), %rdi
	callq	_setgid
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movl	(%r14), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
	testq	%r13, %r13
	jne	LBB0_6
LBB0_14:
	movq	(%r15), %rdi
	callq	_setuid
	testq	%rax, %rax
	je	LBB0_15
LBB0_17:
	movl	(%r15), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
	testq	%r13, %r13
	jne	LBB0_6
LBB0_18:
	movq	_NSIG@GOTPCREL(%rip), %r14
	cmpl	$2, (%r14)
	jl	LBB0_21
## %bb.19:
	movl	$1, %ebx
	movq	_SIG_DFL@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movl	%ebx, %edi
	callq	_signal
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_20
LBB0_21:
	movq	16(%r15), %rbx
	movq	%rbx, %rdi
	callq	_chdir
	testq	%rax, %rax
	jns	LBB0_24
## %bb.22:
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	16(%r15), %rdx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	leaq	L_.str.8(%rip), %rbx
	movq	%rbx, %rdi
	callq	_chdir
	testq	%rax, %rax
	jne	LBB0_40
## %bb.23:
	movl	(%r14), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_24:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	__PATH_DEFPATH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.10(%rip), %rdi
	callq	_add_env
	leaq	L_.str.11(%rip), %rdi
	callq	_login_conf_get_string
	movq	%rax, %r14
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	testq	%r14, %r14
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_41
## %bb.25:
	leaq	L_.str.12(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	callq	_strsep_copy
	cmpl	$-1, %eax
	je	LBB0_30
## %bb.26:
	leaq	L_.str.12(%rip), %r13
	leaq	-56(%rbp), %r14
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	callq	_strsep_copy
	cmpl	$-1, %eax
	je	LBB0_30
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	%rbx, %rdi
	callq	_login_read_env
	jmp	LBB0_29
LBB0_15:
	cmpq	$0, (%r15)
	je	LBB0_18
## %bb.16:
	xorl	%edi, %edi
	callq	_setuid
	testq	%rax, %rax
	jne	LBB0_18
	jmp	LBB0_17
LBB0_41:
	movq	__PATH_ETC_ENVIRONMENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_login_read_env
LBB0_30:
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	leaq	L_.str.13(%rip), %rdi
	callq	_login_conf_get_string
	movq	%rax, %r14
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	testq	%r14, %r14
	je	LBB0_36
## %bb.31:
	leaq	L_.str.12(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	callq	_strsep_copy
	cmpl	$-1, %eax
	je	LBB0_38
## %bb.32:
	leaq	L_.str.12(%rip), %r14
	leaq	-56(%rbp), %r13
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	callq	_strsep_copy
	cmpl	$-1, %eax
	je	LBB0_38
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%rbx, %rdi
	callq	_show_file
	jmp	LBB0_35
LBB0_36:
	leaq	L_.str.14(%rip), %rdi
	callq	_login_conf_get_string
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	movq	%rax, %rdi
	callq	_show_file
LBB0_38:
	xorl	%ebx, %ebx
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	sete	%bl
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	leaq	L_.str.15(%rip), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_add_env
	movq	8(%r15), %rsi
	leaq	L_.str.16(%rip), %rdi
	callq	_add_env
	movq	8(%r15), %rsi
	leaq	L_.str.17(%rip), %rdi
	callq	_add_env
	movq	24(%r15), %rsi
	leaq	L_.str.18(%rip), %rdi
	callq	_add_env
	movq	24(%r15), %rdi
	movl	%ebx, %esi
	callq	_exec_shell
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_42
## %bb.39:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %edi
	callq	_exit
LBB0_42:
	callq	___stack_chk_fail
LBB0_40:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_remote_host,8,3                ## @remote_host
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"tty"

L_.str.2:                               ## @.str.2
	.asciz	"chown %s"

	.comm	_S_IRUSR,4,2                    ## @S_IRUSR
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_S_IWGRP,4,2                    ## @S_IWGRP
L_.str.3:                               ## @.str.3
	.asciz	"chmod %s"

L_.str.4:                               ## @.str.4
	.asciz	"limits"

	.comm	__PATH_LIMITS_CONF,8,3          ## @_PATH_LIMITS_CONF
L_.str.5:                               ## @.str.5
	.asciz	"setgid(%u)"

L_.str.6:                               ## @.str.6
	.asciz	"setuid(%u)"

	.comm	_NSIG,4,2                       ## @NSIG
	.comm	_SIG_DFL,4,2                    ## @SIG_DFL
	.comm	_stderr,4,2                     ## @stderr
L_.str.7:                               ## @.str.7
	.asciz	"No home directory \"%s\"!\n"

L_.str.8:                               ## @.str.8
	.asciz	"/"

L_.str.9:                               ## @.str.9
	.asciz	"Logging in with home = \"/\".\n"

L_.str.10:                              ## @.str.10
	.asciz	"PATH"

	.comm	__PATH_DEFPATH,8,3              ## @_PATH_DEFPATH
L_.str.11:                              ## @.str.11
	.asciz	"environment"

	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	__PATH_ETC_ENVIRONMENT,8,3      ## @_PATH_ETC_ENVIRONMENT
L_.str.12:                              ## @.str.12
	.asciz	","

L_.str.13:                              ## @.str.13
	.asciz	"motd"

L_.str.14:                              ## @.str.14
	.asciz	"welcome"

L_.str.15:                              ## @.str.15
	.asciz	"HOME"

L_.str.16:                              ## @.str.16
	.asciz	"USER"

L_.str.17:                              ## @.str.17
	.asciz	"LOGNAME"

L_.str.18:                              ## @.str.18
	.asciz	"SHELL"

	.comm	_AUTH_KRB5,8,3                  ## @AUTH_KRB5
	.comm	_CLOCKS_PER_SEC,4,2             ## @CLOCKS_PER_SEC
	.comm	_CPUUNLIM,8,3                   ## @CPUUNLIM
	.comm	_C_JOBPROCS,4,2                 ## @C_JOBPROCS
	.comm	_C_PROC,4,2                     ## @C_PROC
	.comm	_L_CPU,4,2                      ## @L_CPU
	.comm	_UDBRC_INTER,8,3                ## @UDBRC_INTER
	.comm	_UDB_NULL,8,3                   ## @UDB_NULL
	.comm	_auth,8,3                       ## @auth
	.no_dead_strip	_do_login
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_login
_do_login:                              ; @do_login
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x24, [x0]
	cbz	x24, LBB0_2
; %bb.1:
	bl	_checknologin
LBB0_2:
Lloh3:
	adrp	x8, _remote_host@GOTPAGE
Lloh4:
	ldr	x8, [x8, _remote_host@GOTPAGEOFF]
	ldr	x0, [x19, #8]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, l_.str@PAGE
Lloh7:
	add	x9, x9, l_.str@PAGEOFF
	cmp	x8, #0
	csel	x1, x9, x8, eq
	mov	x2, x21
	mov	x3, x20
	bl	_update_utmp
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getgrnam
	add	x21, x19, #32
	cmp	x0, #0
	csel	x8, x21, x0, eq
	ldr	x2, [x8]
	ldr	x1, [x19]
	mov	x0, x20
	bl	_chown
	tbz	x0, #63, LBB0_4
; %bb.3:
	str	x20, [sp, #-16]!
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
	add	sp, sp, #16
	cbnz	x24, LBB0_38
LBB0_4:
Lloh12:
	adrp	x8, _S_IRUSR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _S_IRUSR@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh18:
	adrp	x9, _S_IWGRP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _S_IWGRP@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x20
	bl	_chmod
	tbnz	x0, #63, LBB0_7
; %bb.5:
	cbz	x24, LBB0_8
; %bb.6:
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_login_conf_get_string
Lloh23:
	adrp	x8, __PATH_LIMITS_CONF@GOTPAGE
Lloh24:
	ldr	x8, [x8, __PATH_LIMITS_CONF@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x0, x8, x0, eq
	mov	x1, x19
	bl	_read_limits_conf
	b	LBB0_8
LBB0_7:
	str	x20, [sp, #-16]!
Lloh26:
	adrp	x0, l_.str.3@PAGE
Lloh27:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warn
	add	sp, sp, #16
	cbnz	x24, LBB0_38
LBB0_8:
	ldr	x0, [x19]
	bl	_do_osfc2_magic
	cbnz	x0, LBB0_38
; %bb.9:
	ldr	x0, [x21]
	bl	_setgid
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x8, [x21]
	str	x8, [sp, #-16]!
Lloh28:
	adrp	x0, l_.str.5@PAGE
Lloh29:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_warn
	add	sp, sp, #16
	cbnz	x24, LBB0_38
LBB0_11:
	ldr	x0, [x19]
	bl	_setuid
	cbz	x0, LBB0_25
LBB0_12:
	ldr	x8, [x19]
	str	x8, [sp, #-16]!
Lloh30:
	adrp	x0, l_.str.6@PAGE
Lloh31:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_warn
	add	sp, sp, #16
	cbnz	x24, LBB0_38
LBB0_13:
Lloh32:
	adrp	x21, _NSIG@GOTPAGE
Lloh33:
	ldr	x21, [x21, _NSIG@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_16
; %bb.14:
	mov	w20, #1
Lloh34:
	adrp	x22, _SIG_DFL@GOTPAGE
Lloh35:
	ldr	x22, [x22, _SIG_DFL@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x20
	bl	_signal
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8
	b.lt	LBB0_15
LBB0_16:
	ldr	x20, [x19, #16]
	mov	x0, x20
	bl	_chdir
	tbz	x0, #63, LBB0_19
; %bb.17:
Lloh36:
	adrp	x20, _stderr@GOTPAGE
Lloh37:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x8, [x19, #16]
	str	x8, [sp, #-16]!
Lloh38:
	adrp	x1, l_.str.7@PAGE
Lloh39:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
Lloh40:
	adrp	x0, l_.str.8@PAGE
Lloh41:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_chdir
	cbnz	x0, LBB0_40
; %bb.18:
	ldr	w0, [x20]
Lloh42:
	adrp	x1, l_.str.9@PAGE
Lloh43:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_fprintf
Lloh44:
	adrp	x20, l_.str.8@PAGE
Lloh45:
	add	x20, x20, l_.str.8@PAGEOFF
LBB0_19:
Lloh46:
	adrp	x8, __PATH_DEFPATH@GOTPAGE
Lloh47:
	ldr	x8, [x8, __PATH_DEFPATH@GOTPAGEOFF]
Lloh48:
	ldr	x1, [x8]
Lloh49:
	adrp	x0, l_.str.10@PAGE
Lloh50:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_add_env
Lloh51:
	adrp	x0, l_.str.11@PAGE
Lloh52:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_login_conf_get_string
	mov	x25, sp
	stur	x0, [x29, #-80]
Lloh53:
	adrp	x26, _MAXPATHLEN@GOTPAGE
Lloh54:
	ldr	x26, [x26, _MAXPATHLEN@GOTPAGEOFF]
	ldr	w21, [x26]
	mov	x9, x21
Lloh55:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh56:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	cbz	x0, LBB0_27
; %bb.20:
Lloh57:
	adrp	x1, l_.str.12@PAGE
Lloh58:
	add	x1, x1, l_.str.12@PAGEOFF
	sub	x0, x29, #80
	mov	x2, x22
	mov	x3, x21
	bl	_strsep_copy
	cmn	w0, #1
	b.eq	LBB0_28
; %bb.21:
Lloh59:
	adrp	x23, l_.str.12@PAGE
Lloh60:
	add	x23, x23, l_.str.12@PAGEOFF
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	sub	x0, x29, #80
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	bl	_strsep_copy
	cmn	w0, #1
	b.eq	LBB0_28
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x22]
	cbz	w8, LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x22
	bl	_login_read_env
	b	LBB0_22
LBB0_25:
	ldr	x8, [x19]
	cbz	x8, LBB0_13
; %bb.26:
	mov	x0, #0
	bl	_setuid
	cbnz	x0, LBB0_13
	b	LBB0_12
LBB0_27:
Lloh61:
	adrp	x8, __PATH_ETC_ENVIRONMENT@GOTPAGE
Lloh62:
	ldr	x8, [x8, __PATH_ETC_ENVIRONMENT@GOTPAGEOFF]
Lloh63:
	ldr	x0, [x8]
	bl	_login_read_env
LBB0_28:
	mov	sp, x25
Lloh64:
	adrp	x0, l_.str.13@PAGE
Lloh65:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_login_conf_get_string
	mov	x25, sp
	stur	x0, [x29, #-80]
	ldr	w21, [x26]
	mov	x9, x21
Lloh66:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh67:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	cbz	x0, LBB0_34
; %bb.29:
Lloh68:
	adrp	x1, l_.str.12@PAGE
Lloh69:
	add	x1, x1, l_.str.12@PAGEOFF
	sub	x0, x29, #80
	mov	x2, x22
	mov	x3, x21
	bl	_strsep_copy
	cmn	w0, #1
	b.eq	LBB0_36
; %bb.30:
Lloh70:
	adrp	x23, l_.str.12@PAGE
Lloh71:
	add	x23, x23, l_.str.12@PAGEOFF
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	sub	x0, x29, #80
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	bl	_strsep_copy
	cmn	w0, #1
	b.eq	LBB0_36
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x22]
	cbz	w8, LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	mov	x0, x22
	bl	_show_file
	b	LBB0_31
LBB0_34:
Lloh72:
	adrp	x0, l_.str.14@PAGE
Lloh73:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_login_conf_get_string
	stur	x0, [x29, #-80]
	cbz	x0, LBB0_36
; %bb.35:
	bl	_show_file
LBB0_36:
	cmp	x24, #0
	cset	w21, eq
	mov	sp, x25
Lloh74:
	adrp	x0, l_.str.15@PAGE
Lloh75:
	add	x0, x0, l_.str.15@PAGEOFF
	mov	x1, x20
	bl	_add_env
	ldr	x1, [x19, #8]
Lloh76:
	adrp	x0, l_.str.16@PAGE
Lloh77:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_add_env
	ldr	x1, [x19, #8]
Lloh78:
	adrp	x0, l_.str.17@PAGE
Lloh79:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_add_env
	ldr	x1, [x19, #24]
Lloh80:
	adrp	x0, l_.str.18@PAGE
Lloh81:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_add_env
	ldr	x0, [x19, #24]
	mov	x1, x21
	bl	_exec_shell
	ldur	x8, [x29, #-72]
Lloh82:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh83:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh84:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.37:
	sub	sp, x29, #64
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_38:
	mov	w0, #1
	bl	_exit
LBB0_39:
	bl	___stack_chk_fail
LBB0_40:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.comm	_remote_host,8,3                ; @remote_host
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"tty"

l_.str.2:                               ; @.str.2
	.asciz	"chown %s"

	.comm	_S_IRUSR,4,2                    ; @S_IRUSR
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_S_IWGRP,4,2                    ; @S_IWGRP
l_.str.3:                               ; @.str.3
	.asciz	"chmod %s"

l_.str.4:                               ; @.str.4
	.asciz	"limits"

	.comm	__PATH_LIMITS_CONF,8,3          ; @_PATH_LIMITS_CONF
l_.str.5:                               ; @.str.5
	.asciz	"setgid(%u)"

l_.str.6:                               ; @.str.6
	.asciz	"setuid(%u)"

	.comm	_NSIG,4,2                       ; @NSIG
	.comm	_SIG_DFL,4,2                    ; @SIG_DFL
	.comm	_stderr,4,2                     ; @stderr
l_.str.7:                               ; @.str.7
	.asciz	"No home directory \"%s\"!\n"

l_.str.8:                               ; @.str.8
	.asciz	"/"

l_.str.9:                               ; @.str.9
	.asciz	"Logging in with home = \"/\".\n"

l_.str.10:                              ; @.str.10
	.asciz	"PATH"

	.comm	__PATH_DEFPATH,8,3              ; @_PATH_DEFPATH
l_.str.11:                              ; @.str.11
	.asciz	"environment"

	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	__PATH_ETC_ENVIRONMENT,8,3      ; @_PATH_ETC_ENVIRONMENT
l_.str.12:                              ; @.str.12
	.asciz	","

l_.str.13:                              ; @.str.13
	.asciz	"motd"

l_.str.14:                              ; @.str.14
	.asciz	"welcome"

l_.str.15:                              ; @.str.15
	.asciz	"HOME"

l_.str.16:                              ; @.str.16
	.asciz	"USER"

l_.str.17:                              ; @.str.17
	.asciz	"LOGNAME"

l_.str.18:                              ; @.str.18
	.asciz	"SHELL"

	.comm	_AUTH_KRB5,8,3                  ; @AUTH_KRB5
	.comm	_CLOCKS_PER_SEC,4,2             ; @CLOCKS_PER_SEC
	.comm	_CPUUNLIM,8,3                   ; @CPUUNLIM
	.comm	_C_JOBPROCS,4,2                 ; @C_JOBPROCS
	.comm	_C_PROC,4,2                     ; @C_PROC
	.comm	_L_CPU,4,2                      ; @L_CPU
	.comm	_UDBRC_INTER,8,3                ; @UDBRC_INTER
	.comm	_UDB_NULL,8,3                   ; @UDB_NULL
	.comm	_auth,8,3                       ; @auth
	.no_dead_strip	_do_login
.subsections_via_symbols
