	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r13d
	movq	%rsp, -144(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXHOSTNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	movq	_LOG_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_openlog
	movq	_PAM_SYSTEM_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	$0, -104(%rbp)
	movq	_no_timeout@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	leaq	L_.str.1(%rip), %rdx
	movl	%r13d, %r15d
	movl	%r13d, %edi
	movq	%r14, %r13
	movq	%r14, %rsi
	callq	_getopt
	cmpl	$-1, %eax
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	je	LBB0_16
## %bb.1:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %r12
	xorl	%ecx, %ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_no_timeout@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %r14d
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_getopt
	cmpl	$-1, %eax
	je	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %ebx
	movsbl	%al, %eax
	addl	$-110, %eax
	cmpl	$8, %eax
	ja	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movl	$1, %r14d
	jmpq	*%rax
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_getuid
	movq	%rax, %rdi
	callq	_getpwuid
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_atoi
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jg	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_getuid
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$1, %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_errx
	movl	%ebx, %r14d
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_12
LBB0_13:
	movl	%r14d, -76(%rbp)
	imull	$60, -68(%rbp), %r12d           ## 4-byte Folded Reload
	movq	_timeout@GOTPCREL(%rip), %rax
	movl	%r12d, (%rax)
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_14
## %bb.15:
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_16:
	movq	%r12, %r15
	movl	$0, -76(%rbp)
	imull	$60, %ebx, %r12d
	movq	_timeout@GOTPCREL(%rip), %rax
	movl	%r12d, (%rax)
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_17
LBB0_14:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_17:
	xorl	%eax, %eax
	callq	_getuid
	movq	%rax, %rdi
	callq	_setuid
	movb	$1, %bl
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_19:
	movq	_tty@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	callq	_tcgetattr
	testq	%rax, %rax
	jne	LBB0_70
## %bb.20:
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_gethostname
	xorl	%edi, %edi
	callq	_ttyname
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_22
## %bb.21:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_22:
	movq	__PATH_DEV@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	movl	%r15d, %edi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_24
## %bb.23:
	movl	(%r13), %edi
	callq	_strlen
	cltq
	addq	%rax, %rbx
LBB0_24:
	xorl	%edi, %edi
	callq	_time
	movq	%rax, -168(%rbp)
	movslq	%r12d, %rcx
	addq	%rax, %rcx
	movq	_nexttime@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	leaq	-168(%rbp), %rdi
	callq	_localtime
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_asctime
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	(%r15), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	_SIGINT@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_quit@GOTPCREL(%rip), %r15
	movq	%r15, %rsi
	callq	_signal
	movq	_SIGQUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_signal
	movq	_ECHO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_tty@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_ntty@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movq	_TCSADRAIN@GOTPCREL(%rip), %rax
	movq	_TCSASOFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	xorl	%edi, %edi
	callq	_tcsetattr
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	testb	%r13b, %r13b
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_25
## %bb.27:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdin@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_fgets
	testl	%eax, %eax
	je	LBB0_29
## %bb.28:
	cmpb	$10, (%r13)
	jne	LBB0_30
LBB0_29:
	xorl	%edi, %edi
	callq	_quit
LBB0_30:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	(%r15), %edx
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_fgets
	movl	$10, %edi
	callq	_putchar
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_71
## %bb.31:
	movb	$0, (%r13)
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_32
LBB0_25:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	leaq	L_.str(%rip), %rdi
	leaq	_main.pamc(%rip), %rdx
	leaq	-104(%rbp), %rcx
	callq	_pam_start
	movq	_PAM_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	je	LBB0_32
## %bb.26:
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_pam_strerror
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_err
LBB0_32:
	movq	_SIGQUIT@GOTPCREL(%rip), %rbx
	movl	(%r12), %edi
	movq	_hi@GOTPCREL(%rip), %r15
	movq	%r15, %rsi
	callq	_signal
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_signal
	movq	_SIGTSTP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_signal
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_bye@GOTPCREL(%rip), %rsi
	callq	_signal
	movq	_zerotime@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -132(%rbp)
	movq	_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -136(%rbp)
	movq	_no_timeout@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_34
## %bb.33:
	movq	_ITIMER_REAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-136(%rbp), %rsi
	leaq	-176(%rbp), %rdx
	callq	_setitimer
LBB0_34:
	testl	%r14d, %r14d
	je	LBB0_38
## %bb.35:
	movq	_VT_LOCKSWITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-76(%rbp), %rdx
	xorl	%edi, %edi
	callq	_ioctl
	cmpl	$-1, %eax
	jne	LBB0_37
## %bb.36:
	movq	_TCSASOFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TCSADRAIN@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_tty@GOTPCREL(%rip), %rdx
	xorl	%edi, %edi
	callq	_tcsetattr
	leaq	L_.str.10(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_37:
	movq	_vtyunlock@GOTPCREL(%rip), %rax
	movl	$2, (%rax)
LBB0_38:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_40
## %bb.39:
	movq	(%rax), %rsi
	leaq	L_.str.11(%rip), %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_41
LBB0_40:
	leaq	L_.str.12(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
LBB0_41:
	movq	_no_timeout@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	leaq	L_.str.16(%rip), %rax
	je	LBB0_43
## %bb.42:
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	cmpl	$0, -76(%rbp)
	je	LBB0_46
LBB0_45:
	leaq	L_.str.17(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_46:
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	movq	%rsi, %rcx
	addq	$19, %rcx
	leaq	L_.str.18(%rip), %rdi
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
	movq	_ntty@GOTPCREL(%rip), %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_68:                                ##   in Loop: Header=BB0_47 Depth=1
	movl	$1, %edi
	callq	_sleep
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	testb	%r13b, %r13b
	je	LBB0_48
## %bb.53:                              ##   in Loop: Header=BB0_47 Depth=1
	movl	%r13d, %r12d
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdin@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_fgets
	testl	%eax, %eax
	je	LBB0_54
## %bb.55:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	%r13, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_56
## %bb.63:                              ##   in Loop: Header=BB0_47 Depth=1
	leaq	L_str(%rip), %rdi
	callq	_puts
	leal	1(%r14), %r13d
	xorl	%eax, %eax
	callq	_getuid
	testq	%rax, %rax
	jne	LBB0_65
## %bb.64:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%r14d, %r14d
	leaq	L_.str.16(%rip), %rcx
	leaq	L_.str.22(%rip), %rax
	cmovgq	%rax, %rcx
	leaq	L_.str.21(%rip), %rsi
	movl	%r13d, %edx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	xorl	%eax, %eax
	callq	_syslog
LBB0_65:                                ##   in Loop: Header=BB0_47 Depth=1
	movl	%r13d, %r14d
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_66
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_47 Depth=1
	movq	-104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_pam_authenticate
	movq	_PAM_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	je	LBB0_57
## %bb.49:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	_PAM_AUTH_ERR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_66
## %bb.50:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	_PAM_USER_UNKNOWN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_66
## %bb.51:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	_PAM_MAXTRIES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_66
## %bb.52:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	_LOG_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movq	-104(%rbp), %rdi
	movl	%eax, %esi
	callq	_pam_strerror
	movl	%r15d, %edi
	leaq	L_.str.19(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_66
LBB0_54:                                ##   in Loop: Header=BB0_47 Depth=1
	movl	(%r15), %edi
	callq	_clearerr
	xorl	%edi, %edi
	callq	_hi
	movl	%r12d, %r13d
	.p2align	4, 0x90
LBB0_66:                                ##   in Loop: Header=BB0_47 Depth=1
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_tcgetattr
	testq	%rax, %rax
	je	LBB0_68
## %bb.67:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_68
LBB0_70:
	movl	$1, %edi
	callq	_exit
LBB0_56:
	movl	%r12d, %r13d
LBB0_57:
	xorl	%eax, %eax
	callq	_getuid
	testq	%rax, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_58
## %bb.59:
	testb	%r13b, %r13b
	jne	LBB0_61
LBB0_60:
	movq	-104(%rbp), %rdi
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	callq	_pam_end
LBB0_61:
	xorl	%edi, %edi
	callq	_quit
	movq	-144(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_62
## %bb.69:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_43:
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	cmpl	$1, %esi
	leaq	L_.str.15(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	cmpl	$0, -76(%rbp)
	jne	LBB0_45
	jmp	LBB0_46
LBB0_58:
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.23(%rip), %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_syslog
	testb	%r13b, %r13b
	je	LBB0_60
	jmp	LBB0_61
LBB0_62:
	callq	___stack_chk_fail
LBB0_71:
	leaq	L_str.24(%rip), %rdi
	callq	_puts
	movq	_TCSASOFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TCSADRAIN@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_tty@GOTPCREL(%rip), %rdx
	xorl	%edi, %edi
	callq	_tcsetattr
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.section	__DATA,__const
	.p2align	3                               ## @main.pamc
_main.pamc:
	.quad	_openpam_ttyconv
	.quad	0

	.comm	_openpam_ttyconv,4,2            ## @openpam_ttyconv
	.comm	_MAXHOSTNAMELEN,4,2             ## @MAXHOSTNAMELEN
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lock"

	.comm	_LOG_AUTH,4,2                   ## @LOG_AUTH
	.comm	_PAM_SYSTEM_ERR,4,2             ## @PAM_SYSTEM_ERR
	.comm	_TIMEOUT,4,2                    ## @TIMEOUT
	.comm	_no_timeout,4,2                 ## @no_timeout
L_.str.1:                               ## @.str.1
	.asciz	"npt:v"

	.comm	_optarg,4,2                     ## @optarg
L_.str.2:                               ## @.str.2
	.asciz	"illegal timeout value"

L_.str.3:                               ## @.str.3
	.asciz	"unknown uid %d"

	.comm	_timeout,4,2                    ## @timeout
L_.str.4:                               ## @.str.4
	.asciz	"setuid failed"

	.comm	_tty,4,2                        ## @tty
L_.str.5:                               ## @.str.5
	.asciz	"not a terminal?"

	.comm	__PATH_DEV,4,2                  ## @_PATH_DEV
	.comm	_nexttime,8,3                   ## @nexttime
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGQUIT,4,2                    ## @SIGQUIT
	.comm	_ntty,4,2                       ## @ntty
	.comm	_ECHO,4,2                       ## @ECHO
	.comm	_TCSADRAIN,4,2                  ## @TCSADRAIN
	.comm	_TCSASOFT,4,2                   ## @TCSASOFT
	.comm	_PAM_SUCCESS,4,2                ## @PAM_SUCCESS
L_.str.6:                               ## @.str.6
	.asciz	"pam_start: %s"

L_.str.7:                               ## @.str.7
	.asciz	"Key: "

	.comm	_stdin,4,2                      ## @stdin
L_.str.8:                               ## @.str.8
	.asciz	"\nAgain: "

	.comm	_SIGTSTP,4,2                    ## @SIGTSTP
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_zerotime,4,2                   ## @zerotime
	.comm	_ITIMER_REAL,4,2                ## @ITIMER_REAL
	.comm	_VT_LOCKSWITCH,4,2              ## @VT_LOCKSWITCH
L_.str.10:                              ## @.str.10
	.asciz	"locking vty"

	.comm	_vtyunlock,4,2                  ## @vtyunlock
L_.str.11:                              ## @.str.11
	.asciz	"lock: %s using %s on %s."

L_.str.12:                              ## @.str.12
	.asciz	"lock: %s on %s."

L_.str.13:                              ## @.str.13
	.asciz	" no timeout."

L_.str.14:                              ## @.str.14
	.asciz	" timeout in %d minute%s."

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

L_.str.16:                              ## @.str.16
	.space	1

L_.str.17:                              ## @.str.17
	.asciz	" vty locked."

L_.str.18:                              ## @.str.18
	.asciz	"\ntime now is %.20s%s%s"

	.comm	_PAM_AUTH_ERR,4,2               ## @PAM_AUTH_ERR
	.comm	_PAM_USER_UNKNOWN,4,2           ## @PAM_USER_UNKNOWN
	.comm	_PAM_MAXTRIES,4,2               ## @PAM_MAXTRIES
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.19:                              ## @.str.19
	.asciz	"pam_authenticate: %s"

	.comm	_LOG_NOTICE,4,2                 ## @LOG_NOTICE
L_.str.21:                              ## @.str.21
	.asciz	"%d ROOT UNLOCK FAILURE%s (%s on %s)"

L_.str.22:                              ## @.str.22
	.asciz	"S"

	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
L_.str.23:                              ## @.str.23
	.asciz	"ROOT UNLOCK ON hostname %s port %s"

L_str:                                  ## @str
	.asciz	"\007"

L_str.24:                               ## @str.24
	.asciz	"\007lock: passwords didn't match."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #112
	mov	x27, x1
	mov	x28, x0
	mov	x8, sp
	stur	x8, [x29, #-192]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXHOSTNAMELEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXHOSTNAMELEN@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x8, x8, x9
	stur	x8, [x29, #-160]                ; 8-byte Folded Spill
	mov	sp, x8
Lloh8:
	adrp	x8, _BUFSIZ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BUFSIZ@GOTPAGEOFF]
Lloh10:
	ldr	w13, [x8]
	mov	x9, x13
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x13, #15
	and	x12, x9, #0x1fffffff0
	sub	x8, x8, x12
	stp	x13, x8, [x29, #-144]           ; 16-byte Folded Spill
	mov	sp, x8
	mov	x9, x13
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x8, x8, x12
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
	mov	sp, x8
Lloh15:
	adrp	x8, _LOG_AUTH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LOG_AUTH@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	bl	_openlog
Lloh20:
	adrp	x8, _PAM_SYSTEM_ERR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PAM_SYSTEM_ERR@GOTPAGEOFF]
Lloh22:
	adrp	x9, _TIMEOUT@GOTPAGE
Lloh23:
	ldr	x9, [x9, _TIMEOUT@GOTPAGEOFF]
Lloh24:
	ldr	w23, [x8]
Lloh25:
	ldr	w22, [x9]
	stur	xzr, [x29, #-96]
Lloh26:
	adrp	x8, _no_timeout@GOTPAGE
Lloh27:
	ldr	x8, [x8, _no_timeout@GOTPAGEOFF]
Lloh28:
	str	wzr, [x8]
Lloh29:
	adrp	x2, l_.str.1@PAGE
Lloh30:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x28
	mov	x1, x27
	bl	_getopt
Lloh31:
	adrp	x9, _timeout@GOTPAGE
Lloh32:
	ldr	x9, [x9, _timeout@GOTPAGEOFF]
	cmn	w0, #1
	b.eq	LBB0_15
; %bb.1:
	stur	x24, [x29, #-168]               ; 8-byte Folded Spill
	mov	x26, #0
	mov	w25, #0
	mov	w21, #0
Lloh33:
	adrp	x19, l_.str.1@PAGE
Lloh34:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh35:
	adrp	x20, lJTI0_0@PAGE
Lloh36:
	add	x20, x20, lJTI0_0@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh37:
	adrp	x8, _no_timeout@GOTPAGE
Lloh38:
	ldr	x8, [x8, _no_timeout@GOTPAGEOFF]
	mov	w9, #1
Lloh39:
	str	w9, [x8]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x24
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
	mov	x1, x27
	mov	x2, x19
	bl	_getopt
	cmn	w0, #1
	b.eq	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, x21
	sxtb	w8, w0
	sub	w8, w8, #110
	cmp	w8, #8
	b.hi	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w21, #1
	adr	x9, LBB0_2
	ldrb	w10, [x20, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_getuid
	bl	_getpwuid
	mov	x26, x0
	cbz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w25, #1
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh40:
	adrp	x8, _optarg@GOTPAGE
Lloh41:
	ldr	x8, [x8, _optarg@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	bl	_atoi
                                        ; kill: def $w0 killed $w0 def $x0
	mov	x22, x0
	cmp	w0, #0
	b.gt	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
Lloh43:
	adrp	x1, l_.str.2@PAGE
Lloh44:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_usage
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_getuid
	str	x0, [sp, #-16]!
	mov	w25, #1
	mov	w0, #1
Lloh45:
	adrp	x1, l_.str.3@PAGE
Lloh46:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_errx
	add	sp, sp, #16
	b	LBB0_3
LBB0_13:
	stur	w21, [x29, #-124]
	mov	w8, #60
	mul	w20, w22, w8
Lloh47:
	adrp	x8, _timeout@GOTPAGE
Lloh48:
	ldr	x8, [x8, _timeout@GOTPAGEOFF]
Lloh49:
	str	w20, [x8]
	cbz	w25, LBB0_16
; %bb.14:
	mov	w25, #0
	ldur	x24, [x29, #-168]               ; 8-byte Folded Reload
	b	LBB0_20
LBB0_15:
	mov	x26, #0
	mov	w21, #0
	stur	wzr, [x29, #-124]
	mov	w8, #60
	mul	w20, w22, w8
	str	w20, [x9]
	b	LBB0_17
LBB0_16:
	ldur	x24, [x29, #-168]               ; 8-byte Folded Reload
LBB0_17:
	bl	_getuid
	bl	_setuid
	cbz	x0, LBB0_19
; %bb.18:
Lloh50:
	adrp	x1, l_.str.4@PAGE
Lloh51:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w25, #1
	mov	w0, #1
	bl	_errx
	b	LBB0_20
LBB0_19:
	mov	w25, #1
LBB0_20:
Lloh52:
	adrp	x19, _tty@GOTPAGE
Lloh53:
	ldr	x19, [x19, _tty@GOTPAGEOFF]
	mov	w0, #0
	mov	x1, x19
	bl	_tcgetattr
	cbnz	x0, LBB0_60
; %bb.21:
	ldur	x0, [x29, #-160]                ; 8-byte Folded Reload
	mov	x1, x24
	bl	_gethostname
	mov	w0, #0
	bl	_ttyname
	mov	x28, x0
	cbnz	x0, LBB0_23
; %bb.22:
Lloh54:
	adrp	x1, l_.str.5@PAGE
Lloh55:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_23:
	stur	x22, [x29, #-176]               ; 8-byte Folded Spill
Lloh56:
	adrp	x22, __PATH_DEV@GOTPAGE
Lloh57:
	ldr	x22, [x22, __PATH_DEV@GOTPAGEOFF]
	ldr	w27, [x22]
	mov	x0, x27
	bl	_strlen
	mov	x2, x0
	mov	x0, x28
	mov	x1, x27
	bl	_strncmp
	cbnz	x0, LBB0_25
; %bb.24:
	ldr	w0, [x22]
	bl	_strlen
	add	x28, x28, w0, sxtw
LBB0_25:
	stur	x28, [x29, #-168]               ; 8-byte Folded Spill
	mov	x0, #0
	bl	_time
	stur	x0, [x29, #-120]
	add	x8, x0, w20, sxtw
Lloh58:
	adrp	x9, _nexttime@GOTPAGE
Lloh59:
	ldr	x9, [x9, _nexttime@GOTPAGEOFF]
Lloh60:
	str	x8, [x9]
	sub	x0, x29, #120
	bl	_localtime
	mov	x28, x0
	bl	_asctime
	mov	x27, x0
	ldr	x8, [x28]
	stur	x8, [x29, #-184]                ; 8-byte Folded Spill
Lloh61:
	adrp	x20, _SIGINT@GOTPAGE
Lloh62:
	ldr	x20, [x20, _SIGINT@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh63:
	adrp	x28, _quit@GOTPAGE
Lloh64:
	ldr	x28, [x28, _quit@GOTPAGEOFF]
	mov	x1, x28
	bl	_signal
Lloh65:
	adrp	x22, _SIGQUIT@GOTPAGE
Lloh66:
	ldr	x22, [x22, _SIGQUIT@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x28
	bl	_signal
	ldr	w8, [x19]
Lloh67:
	adrp	x9, _ECHO@GOTPAGE
Lloh68:
	ldr	x9, [x9, _ECHO@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	bic	w8, w8, w9
Lloh70:
	adrp	x2, _ntty@GOTPAGE
Lloh71:
	ldr	x2, [x2, _ntty@GOTPAGEOFF]
Lloh72:
	adrp	x9, _TCSADRAIN@GOTPAGE
Lloh73:
	ldr	x9, [x9, _TCSADRAIN@GOTPAGEOFF]
	str	w8, [x2]
Lloh74:
	ldr	w8, [x9]
Lloh75:
	adrp	x9, _TCSASOFT@GOTPAGE
Lloh76:
	ldr	x9, [x9, _TCSASOFT@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	w0, #0
	bl	_tcsetattr
Lloh78:
	adrp	x19, _PAM_SUCCESS@GOTPAGE
Lloh79:
	ldr	x19, [x19, _PAM_SUCCESS@GOTPAGEOFF]
Lloh80:
	adrp	x24, _stdin@GOTPAGE
Lloh81:
	ldr	x24, [x24, _stdin@GOTPAGEOFF]
	tbz	w25, #0, LBB0_31
; %bb.26:
	ldur	x28, [x29, #-176]               ; 8-byte Folded Reload
Lloh82:
	adrp	x0, l_.str.7@PAGE
Lloh83:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	ldr	w2, [x24]
	ldp	x1, x19, [x29, #-144]           ; 16-byte Folded Reload
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_fgets
	cbz	w0, LBB0_28
; %bb.27:
	ldrb	w8, [x19]
	cmp	w8, #10
	b.ne	LBB0_29
LBB0_28:
	mov	w0, #0
	bl	_quit
LBB0_29:
Lloh84:
	adrp	x0, l_.str.8@PAGE
Lloh85:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	ldr	w2, [x24]
	ldp	x24, x1, [x29, #-152]           ; 16-byte Folded Reload
	mov	x0, x24
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_fgets
	mov	w0, #10
	bl	_putchar
	mov	x0, x24
	mov	x1, x19
	bl	_strcmp
	cbnz	x0, LBB0_69
; %bb.30:
	strb	wzr, [x19]
	mov	x24, x28
	ldur	x28, [x29, #-168]               ; 8-byte Folded Reload
	b	LBB0_34
LBB0_31:
	ldr	x1, [x26]
Lloh86:
	adrp	x0, l_.str@PAGE
Lloh87:
	add	x0, x0, l_.str@PAGEOFF
Lloh88:
	adrp	x2, _main.pamc@PAGE
Lloh89:
	add	x2, x2, _main.pamc@PAGEOFF
	sub	x3, x29, #96
	bl	_pam_start
	mov	x23, x0
	ldr	w8, [x19]
	cmp	w0, w8
	b.eq	LBB0_33
; %bb.32:
	mov	x0, #0
	mov	x1, x23
	bl	_pam_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh90:
	adrp	x1, l_.str.6@PAGE
Lloh91:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_err
	add	sp, sp, #16
LBB0_33:
	ldp	x24, x28, [x29, #-176]          ; 16-byte Folded Reload
LBB0_34:
	ldr	w0, [x20]
Lloh92:
	adrp	x19, _hi@GOTPAGE
Lloh93:
	ldr	x19, [x19, _hi@GOTPAGEOFF]
	mov	x1, x19
	bl	_signal
	ldr	w0, [x22]
	mov	x1, x19
	bl	_signal
Lloh94:
	adrp	x8, _SIGTSTP@GOTPAGE
Lloh95:
	ldr	x8, [x8, _SIGTSTP@GOTPAGEOFF]
Lloh96:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_signal
Lloh97:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh98:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh99:
	ldr	w0, [x8]
Lloh100:
	adrp	x1, _bye@GOTPAGE
Lloh101:
	ldr	x1, [x1, _bye@GOTPAGEOFF]
	bl	_signal
Lloh102:
	adrp	x8, _zerotime@GOTPAGE
Lloh103:
	ldr	x8, [x8, _zerotime@GOTPAGEOFF]
Lloh104:
	ldr	w8, [x8]
Lloh105:
	adrp	x9, _timeout@GOTPAGE
Lloh106:
	ldr	x9, [x9, _timeout@GOTPAGEOFF]
Lloh107:
	ldr	w9, [x9]
	stp	w9, w8, [x29, #-104]
Lloh108:
	adrp	x8, _no_timeout@GOTPAGE
Lloh109:
	ldr	x8, [x8, _no_timeout@GOTPAGEOFF]
Lloh110:
	ldr	w8, [x8]
	cbnz	w8, LBB0_36
; %bb.35:
Lloh111:
	adrp	x8, _ITIMER_REAL@GOTPAGE
Lloh112:
	ldr	x8, [x8, _ITIMER_REAL@GOTPAGEOFF]
Lloh113:
	ldr	w0, [x8]
	sub	x1, x29, #104
	sub	x2, x29, #112
	bl	_setitimer
LBB0_36:
	cbz	w21, LBB0_40
; %bb.37:
Lloh114:
	adrp	x8, _VT_LOCKSWITCH@GOTPAGE
Lloh115:
	ldr	x8, [x8, _VT_LOCKSWITCH@GOTPAGEOFF]
Lloh116:
	ldr	w1, [x8]
	sub	x2, x29, #124
	mov	w0, #0
	bl	_ioctl
	cmn	w0, #1
	b.ne	LBB0_39
; %bb.38:
Lloh117:
	adrp	x8, _TCSADRAIN@GOTPAGE
Lloh118:
	ldr	x8, [x8, _TCSADRAIN@GOTPAGEOFF]
Lloh119:
	ldr	w8, [x8]
Lloh120:
	adrp	x9, _TCSASOFT@GOTPAGE
Lloh121:
	ldr	x9, [x9, _TCSASOFT@GOTPAGEOFF]
Lloh122:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh123:
	adrp	x2, _tty@GOTPAGE
Lloh124:
	ldr	x2, [x2, _tty@GOTPAGEOFF]
	mov	w0, #0
	bl	_tcsetattr
Lloh125:
	adrp	x1, l_.str.10@PAGE
Lloh126:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_39:
Lloh127:
	adrp	x8, _vtyunlock@GOTPAGE
Lloh128:
	ldr	x8, [x8, _vtyunlock@GOTPAGEOFF]
	mov	w9, #2
Lloh129:
	str	w9, [x8]
LBB0_40:
	cbz	x26, LBB0_42
; %bb.41:
	ldr	x8, [x26]
	sub	sp, sp, #32
	ldur	x9, [x29, #-160]                ; 8-byte Folded Reload
	stp	x28, x9, [sp, #8]
	str	x8, [sp]
Lloh130:
	adrp	x0, l_.str.11@PAGE
Lloh131:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_printf
	add	sp, sp, #32
	b	LBB0_43
LBB0_42:
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	stp	x28, x8, [sp, #-16]!
Lloh132:
	adrp	x0, l_.str.12@PAGE
Lloh133:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_printf
	add	sp, sp, #16
LBB0_43:
	ldur	x28, [x29, #-136]               ; 8-byte Folded Reload
	ldur	x19, [x29, #-184]               ; 8-byte Folded Reload
Lloh134:
	adrp	x8, _no_timeout@GOTPAGE
Lloh135:
	ldr	x8, [x8, _no_timeout@GOTPAGEOFF]
Lloh136:
	ldr	w8, [x8]
Lloh137:
	adrp	x9, l_.str.16@PAGE
Lloh138:
	add	x9, x9, l_.str.16@PAGEOFF
	cbz	w8, LBB0_66
; %bb.44:
Lloh139:
	adrp	x0, l_.str.13@PAGE
Lloh140:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_printf
	ldur	w8, [x29, #-124]
	cbz	w8, LBB0_46
LBB0_45:
Lloh141:
	adrp	x0, l_.str.17@PAGE
Lloh142:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_printf
LBB0_46:
	add	x8, x27, #19
	sub	sp, sp, #32
	stp	x19, x8, [sp, #8]
	str	x27, [sp]
Lloh143:
	adrp	x0, l_.str.18@PAGE
Lloh144:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_printf
	add	sp, sp, #32
	mov	w24, #0
Lloh145:
	adrp	x27, _ntty@GOTPAGE
Lloh146:
	ldr	x27, [x27, _ntty@GOTPAGEOFF]
Lloh147:
	adrp	x20, _errno@GOTPAGE
Lloh148:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
Lloh149:
	adrp	x19, _EINTR@GOTPAGE
Lloh150:
	ldr	x19, [x19, _EINTR@GOTPAGEOFF]
Lloh151:
	adrp	x26, _PAM_USER_UNKNOWN@GOTPAGE
Lloh152:
	ldr	x26, [x26, _PAM_USER_UNKNOWN@GOTPAGEOFF]
Lloh153:
	adrp	x21, _PAM_MAXTRIES@GOTPAGE
Lloh154:
	ldr	x21, [x21, _PAM_MAXTRIES@GOTPAGEOFF]
Lloh155:
	adrp	x22, _stdin@GOTPAGE
Lloh156:
	ldr	x22, [x22, _stdin@GOTPAGEOFF]
	b	LBB0_48
LBB0_47:                                ;   in Loop: Header=BB0_48 Depth=1
	mov	w0, #1
	bl	_sleep
LBB0_48:                                ; =>This Inner Loop Header: Depth=1
	tbz	w25, #0, LBB0_54
; %bb.49:                               ;   in Loop: Header=BB0_48 Depth=1
Lloh157:
	adrp	x0, l_.str.7@PAGE
Lloh158:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	ldr	w2, [x22]
	mov	x0, x28
	ldur	x1, [x29, #-144]                ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_fgets
	cbz	w0, LBB0_57
; %bb.50:                               ;   in Loop: Header=BB0_48 Depth=1
	mov	x0, x28
	ldur	x1, [x29, #-152]                ; 8-byte Folded Reload
	bl	_strcmp
	cbz	x0, LBB0_61
; %bb.51:                               ;   in Loop: Header=BB0_48 Depth=1
Lloh159:
	adrp	x0, l_str@PAGE
Lloh160:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	add	w28, w24, #1
	bl	_getuid
	cbnz	x0, LBB0_53
; %bb.52:                               ;   in Loop: Header=BB0_48 Depth=1
Lloh161:
	adrp	x8, _LOG_NOTICE@GOTPAGE
Lloh162:
	ldr	x8, [x8, _LOG_NOTICE@GOTPAGEOFF]
Lloh163:
	ldr	w0, [x8]
	cmp	w24, #0
Lloh164:
	adrp	x8, l_.str.16@PAGE
Lloh165:
	add	x8, x8, l_.str.16@PAGEOFF
Lloh166:
	adrp	x9, l_.str.22@PAGE
Lloh167:
	add	x9, x9, l_.str.22@PAGEOFF
	csel	x8, x9, x8, gt
	sub	sp, sp, #32
	ldur	x9, [x29, #-160]                ; 8-byte Folded Reload
	str	x9, [sp, #24]
	ldur	x9, [x29, #-168]                ; 8-byte Folded Reload
	stp	x8, x9, [sp, #8]
	str	x28, [sp]
Lloh168:
	adrp	x1, l_.str.21@PAGE
Lloh169:
	add	x1, x1, l_.str.21@PAGEOFF
	bl	_syslog
	add	sp, sp, #32
LBB0_53:                                ;   in Loop: Header=BB0_48 Depth=1
	mov	x24, x28
	ldur	x28, [x29, #-136]               ; 8-byte Folded Reload
	b	LBB0_58
LBB0_54:                                ;   in Loop: Header=BB0_48 Depth=1
	ldur	x0, [x29, #-96]
	mov	w1, #0
	bl	_pam_authenticate
	mov	x23, x0
Lloh170:
	adrp	x8, _PAM_SUCCESS@GOTPAGE
Lloh171:
	ldr	x8, [x8, _PAM_SUCCESS@GOTPAGEOFF]
Lloh172:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_61
; %bb.55:                               ;   in Loop: Header=BB0_48 Depth=1
Lloh173:
	adrp	x8, _PAM_AUTH_ERR@GOTPAGE
Lloh174:
	ldr	x8, [x8, _PAM_AUTH_ERR@GOTPAGEOFF]
Lloh175:
	ldr	w8, [x8]
	ldr	w9, [x26]
	ldr	w10, [x21]
	cmp	w23, w8
	ccmp	w23, w9, #4, ne
	ccmp	w23, w10, #4, ne
	b.eq	LBB0_58
; %bb.56:                               ;   in Loop: Header=BB0_48 Depth=1
Lloh176:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh177:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh178:
	ldr	w28, [x8]
	ldur	x0, [x29, #-96]
	mov	x1, x23
	bl	_pam_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
	mov	x0, x28
	ldur	x28, [x29, #-136]               ; 8-byte Folded Reload
Lloh179:
	adrp	x1, l_.str.19@PAGE
Lloh180:
	add	x1, x1, l_.str.19@PAGEOFF
	bl	_syslog
	add	sp, sp, #16
	b	LBB0_58
LBB0_57:                                ;   in Loop: Header=BB0_48 Depth=1
	ldr	w0, [x22]
	bl	_clearerr
	mov	w0, #0
	bl	_hi
LBB0_58:                                ;   in Loop: Header=BB0_48 Depth=1
	mov	w0, #0
	mov	x1, x27
	bl	_tcgetattr
	cbz	x0, LBB0_47
; %bb.59:                               ;   in Loop: Header=BB0_48 Depth=1
	ldr	x8, [x20]
	ldr	x9, [x19]
	cmp	x8, x9
	b.eq	LBB0_47
LBB0_60:
	mov	w0, #1
	bl	_exit
LBB0_61:
	bl	_getuid
	ldur	x8, [x29, #-168]                ; 8-byte Folded Reload
	cbz	x0, LBB0_67
; %bb.62:
	tbnz	w25, #0, LBB0_64
LBB0_63:
	ldur	x0, [x29, #-96]
	mov	x1, x23
	bl	_pam_end
LBB0_64:
	mov	w0, #0
	bl	_quit
	ldur	x8, [x29, #-192]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-88]
Lloh181:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh182:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh183:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_68
; %bb.65:
	mov	w0, #0
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_66:
Lloh184:
	adrp	x8, l_.str.15@PAGE
Lloh185:
	add	x8, x8, l_.str.15@PAGEOFF
	cmp	w24, #1
	csel	x8, x9, x8, eq
	stp	x24, x8, [sp, #-16]!
Lloh186:
	adrp	x0, l_.str.14@PAGE
Lloh187:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_printf
	add	sp, sp, #16
	ldur	w8, [x29, #-124]
	cbnz	w8, LBB0_45
	b	LBB0_46
LBB0_67:
Lloh188:
	adrp	x9, _LOG_NOTICE@GOTPAGE
Lloh189:
	ldr	x9, [x9, _LOG_NOTICE@GOTPAGEOFF]
Lloh190:
	ldr	w0, [x9]
	sub	sp, sp, #16
	str	x8, [sp, #8]
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	str	x8, [sp]
Lloh191:
	adrp	x1, l_.str.23@PAGE
Lloh192:
	add	x1, x1, l_.str.23@PAGEOFF
	bl	_syslog
	add	sp, sp, #16
	tbz	w25, #0, LBB0_63
	b	LBB0_64
LBB0_68:
	bl	___stack_chk_fail
LBB0_69:
Lloh193:
	adrp	x0, l_str.24@PAGE
Lloh194:
	add	x0, x0, l_str.24@PAGEOFF
	bl	_puts
Lloh195:
	adrp	x8, _TCSADRAIN@GOTPAGE
Lloh196:
	ldr	x8, [x8, _TCSADRAIN@GOTPAGEOFF]
Lloh197:
	ldr	w8, [x8]
Lloh198:
	adrp	x9, _TCSASOFT@GOTPAGE
Lloh199:
	ldr	x9, [x9, _TCSASOFT@GOTPAGEOFF]
Lloh200:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh201:
	adrp	x2, _tty@GOTPAGE
Lloh202:
	ldr	x2, [x2, _tty@GOTPAGEOFF]
	mov	w0, #0
	bl	_tcsetattr
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotStr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGot	Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpAdd	Lloh125, Lloh126
	.loh AdrpLdrGot	Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotStr	Lloh127, Lloh128, Lloh129
	.loh AdrpAdd	Lloh130, Lloh131
	.loh AdrpAdd	Lloh132, Lloh133
	.loh AdrpAdd	Lloh137, Lloh138
	.loh AdrpLdrGotLdr	Lloh134, Lloh135, Lloh136
	.loh AdrpAdd	Lloh139, Lloh140
	.loh AdrpAdd	Lloh141, Lloh142
	.loh AdrpLdrGot	Lloh155, Lloh156
	.loh AdrpLdrGot	Lloh153, Lloh154
	.loh AdrpLdrGot	Lloh151, Lloh152
	.loh AdrpLdrGot	Lloh149, Lloh150
	.loh AdrpLdrGot	Lloh147, Lloh148
	.loh AdrpLdrGot	Lloh145, Lloh146
	.loh AdrpAdd	Lloh143, Lloh144
	.loh AdrpAdd	Lloh157, Lloh158
	.loh AdrpAdd	Lloh159, Lloh160
	.loh AdrpAdd	Lloh168, Lloh169
	.loh AdrpAdd	Lloh166, Lloh167
	.loh AdrpAdd	Lloh164, Lloh165
	.loh AdrpLdrGotLdr	Lloh161, Lloh162, Lloh163
	.loh AdrpLdrGotLdr	Lloh170, Lloh171, Lloh172
	.loh AdrpLdrGotLdr	Lloh173, Lloh174, Lloh175
	.loh AdrpAdd	Lloh179, Lloh180
	.loh AdrpLdrGotLdr	Lloh176, Lloh177, Lloh178
	.loh AdrpLdrGotLdr	Lloh181, Lloh182, Lloh183
	.loh AdrpAdd	Lloh186, Lloh187
	.loh AdrpAdd	Lloh184, Lloh185
	.loh AdrpAdd	Lloh191, Lloh192
	.loh AdrpLdrGotLdr	Lloh188, Lloh189, Lloh190
	.loh AdrpLdrGot	Lloh201, Lloh202
	.loh AdrpLdrGotLdr	Lloh198, Lloh199, Lloh200
	.loh AdrpLdrGotLdr	Lloh195, Lloh196, Lloh197
	.loh AdrpAdd	Lloh193, Lloh194
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @main.pamc
_main.pamc:
	.quad	_openpam_ttyconv
	.quad	0

	.comm	_openpam_ttyconv,4,2            ; @openpam_ttyconv
	.comm	_MAXHOSTNAMELEN,4,2             ; @MAXHOSTNAMELEN
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lock"

	.comm	_LOG_AUTH,4,2                   ; @LOG_AUTH
	.comm	_PAM_SYSTEM_ERR,4,2             ; @PAM_SYSTEM_ERR
	.comm	_TIMEOUT,4,2                    ; @TIMEOUT
	.comm	_no_timeout,4,2                 ; @no_timeout
l_.str.1:                               ; @.str.1
	.asciz	"npt:v"

	.comm	_optarg,4,2                     ; @optarg
l_.str.2:                               ; @.str.2
	.asciz	"illegal timeout value"

l_.str.3:                               ; @.str.3
	.asciz	"unknown uid %d"

	.comm	_timeout,4,2                    ; @timeout
l_.str.4:                               ; @.str.4
	.asciz	"setuid failed"

	.comm	_tty,4,2                        ; @tty
l_.str.5:                               ; @.str.5
	.asciz	"not a terminal?"

	.comm	__PATH_DEV,4,2                  ; @_PATH_DEV
	.comm	_nexttime,8,3                   ; @nexttime
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGQUIT,4,2                    ; @SIGQUIT
	.comm	_ntty,4,2                       ; @ntty
	.comm	_ECHO,4,2                       ; @ECHO
	.comm	_TCSADRAIN,4,2                  ; @TCSADRAIN
	.comm	_TCSASOFT,4,2                   ; @TCSASOFT
	.comm	_PAM_SUCCESS,4,2                ; @PAM_SUCCESS
l_.str.6:                               ; @.str.6
	.asciz	"pam_start: %s"

l_.str.7:                               ; @.str.7
	.asciz	"Key: "

	.comm	_stdin,4,2                      ; @stdin
l_.str.8:                               ; @.str.8
	.asciz	"\nAgain: "

	.comm	_SIGTSTP,4,2                    ; @SIGTSTP
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_zerotime,4,2                   ; @zerotime
	.comm	_ITIMER_REAL,4,2                ; @ITIMER_REAL
	.comm	_VT_LOCKSWITCH,4,2              ; @VT_LOCKSWITCH
l_.str.10:                              ; @.str.10
	.asciz	"locking vty"

	.comm	_vtyunlock,4,2                  ; @vtyunlock
l_.str.11:                              ; @.str.11
	.asciz	"lock: %s using %s on %s."

l_.str.12:                              ; @.str.12
	.asciz	"lock: %s on %s."

l_.str.13:                              ; @.str.13
	.asciz	" no timeout."

l_.str.14:                              ; @.str.14
	.asciz	" timeout in %d minute%s."

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

l_.str.16:                              ; @.str.16
	.space	1

l_.str.17:                              ; @.str.17
	.asciz	" vty locked."

l_.str.18:                              ; @.str.18
	.asciz	"\ntime now is %.20s%s%s"

	.comm	_PAM_AUTH_ERR,4,2               ; @PAM_AUTH_ERR
	.comm	_PAM_USER_UNKNOWN,4,2           ; @PAM_USER_UNKNOWN
	.comm	_PAM_MAXTRIES,4,2               ; @PAM_MAXTRIES
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.19:                              ; @.str.19
	.asciz	"pam_authenticate: %s"

	.comm	_LOG_NOTICE,4,2                 ; @LOG_NOTICE
l_.str.21:                              ; @.str.21
	.asciz	"%d ROOT UNLOCK FAILURE%s (%s on %s)"

l_.str.22:                              ; @.str.22
	.asciz	"S"

	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
l_.str.23:                              ; @.str.23
	.asciz	"ROOT UNLOCK ON hostname %s port %s"

l_str:                                  ; @str
	.asciz	"\007"

l_str.24:                               ; @str.24
	.asciz	"\007lock: passwords didn't match."

.subsections_via_symbols
