	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pass                           ## -- Begin function pass
	.p2align	4, 0x90
_pass:                                  ## @pass
	.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	%rbx
	subq	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_logged_in@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_askpasswd@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.1:
	testq	%rcx, %rcx
	jne	LBB0_5
## %bb.2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_15
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movl	$230, %edi
	jmp	LBB0_4
LBB0_5:
	testq	%rdx, %rdx
	jne	LBB0_7
## %bb.6:
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.9:
	movq	$0, (%rax)
	movq	_guest@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_10
LBB0_13:
	movl	$230, %edi
	movq	%rbx, %rsi
	callq	_do_login
	testl	%eax, %eax
	je	LBB0_22
## %bb.14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_15
## %bb.25:
	xorl	%eax, %eax
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_end_login                      ## TAILCALL
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_15
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	movl	$503, %edi                      ## imm = 0x1F7
LBB0_4:
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reply                          ## TAILCALL
LBB0_10:
	movq	_pw@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:
	movq	_auth_level@GOTPCREL(%rip), %rcx
	movq	_AUTH_OTP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_12
LBB0_16:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_memset
LBB0_17:
	movq	_his_addr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%rdi), %ebx
	callq	_socket_get_address
	leaq	-288(%rbp), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$256, %ecx                      ## imm = 0x100
	callq	_inet_ntop
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:
	leaq	L_.str.2(%rip), %rsi
	leaq	-288(%rbp), %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_strlcpy
LBB0_19:
	leaq	L_.str.3(%rip), %rsi
	movl	$530, %edi                      ## imm = 0x212
	callq	_reply
	movq	_logging@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.20:
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_remotehost@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_curname@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.4(%rip), %rsi
	leaq	-288(%rbp), %rcx
	xorl	%eax, %eax
	callq	_syslog
LBB0_21:
	movq	$0, (%r15)
	movq	_login_attempts@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	cmpl	$5, %ecx
	jge	LBB0_24
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_15
## %bb.23:
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_unix_verify_user
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_memset
	testl	%r14d, %r14d
	jne	LBB0_17
	jmp	LBB0_13
LBB0_15:
	callq	___stack_chk_fail
LBB0_24:
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_remotehost@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rsi
	leaq	-288(%rbp), %rcx
	xorl	%eax, %eax
	callq	_syslog
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_logged_in,8,3                  ## @logged_in
	.comm	_askpasswd,8,3                  ## @askpasswd
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Password not necessary"

L_.str.1:                               ## @.str.1
	.asciz	"Login with USER first."

	.comm	_guest,4,2                      ## @guest
	.comm	_pw,8,3                         ## @pw
	.comm	_auth_level,4,2                 ## @auth_level
	.comm	_AUTH_OTP,4,2                   ## @AUTH_OTP
	.comm	_his_addr,8,3                   ## @his_addr
L_.str.2:                               ## @.str.2
	.asciz	"unknown address"

L_.str.3:                               ## @.str.3
	.asciz	"Login incorrect."

	.comm	_logging,8,3                    ## @logging
	.comm	_LOG_NOTICE,4,2                 ## @LOG_NOTICE
L_.str.4:                               ## @.str.4
	.asciz	"FTP LOGIN FAILED FROM %s(%s), %s"

	.comm	_remotehost,4,2                 ## @remotehost
	.comm	_curname,4,2                    ## @curname
	.comm	_login_attempts,4,2             ## @login_attempts
L_.str.5:                               ## @.str.5
	.asciz	"repeated login failures from %s(%s)"

	.comm	_otp_ctx,4,2                    ## @otp_ctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pass                           ; -- Begin function pass
	.p2align	2
_pass:                                  ; @pass
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _logged_in@GOTPAGE
Lloh4:
	ldr	x8, [x8, _logged_in@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
Lloh6:
	adrp	x8, _askpasswd@GOTPAGE
Lloh7:
	ldr	x8, [x8, _askpasswd@GOTPAGEOFF]
	ldr	x10, [x8]
	cmp	x9, #0
	ccmp	x10, #0, #0, ne
	b.eq	LBB0_4
; %bb.1:
	cmp	x9, #0
	ccmp	x10, #0, #4, eq
	b.ne	LBB0_7
; %bb.2:
	ldur	x8, [x29, #-40]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.3:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #503
	b	LBB0_6
LBB0_4:
	ldur	x8, [x29, #-40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.5:
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #230
LBB0_6:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	b	_reply
LBB0_7:
	mov	x19, x0
	str	xzr, [x8]
Lloh18:
	adrp	x8, _guest@GOTPAGE
Lloh19:
	ldr	x8, [x8, _guest@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cbz	w8, LBB0_11
LBB0_8:
	mov	w0, #230
	mov	x1, x19
	bl	_do_login
	cbz	w0, LBB0_19
; %bb.9:
	ldur	x8, [x29, #-40]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.10:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	b	_end_login
LBB0_11:
Lloh24:
	adrp	x21, _pw@GOTPAGE
Lloh25:
	ldr	x21, [x21, _pw@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_13
; %bb.12:
Lloh26:
	adrp	x9, _auth_level@GOTPAGE
Lloh27:
	ldr	x9, [x9, _auth_level@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
Lloh29:
	adrp	x10, _AUTH_OTP@GOTPAGE
Lloh30:
	ldr	x10, [x10, _AUTH_OTP@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_21
LBB0_13:
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_memset
LBB0_14:
Lloh32:
	adrp	x8, _his_addr@GOTPAGE
Lloh33:
	ldr	x8, [x8, _his_addr@GOTPAGEOFF]
Lloh34:
	ldr	x0, [x8]
	ldr	w19, [x0]
	bl	_socket_get_address
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #256
	bl	_inet_ntop
	cbnz	x0, LBB0_16
; %bb.15:
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	mov	w2, #256
	bl	_strlcpy
LBB0_16:
Lloh37:
	adrp	x1, l_.str.3@PAGE
Lloh38:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #530
	bl	_reply
Lloh39:
	adrp	x8, _logging@GOTPAGE
Lloh40:
	ldr	x8, [x8, _logging@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cbz	x8, LBB0_18
; %bb.17:
Lloh42:
	adrp	x8, _LOG_NOTICE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _LOG_NOTICE@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
Lloh45:
	adrp	x8, _remotehost@GOTPAGE
Lloh46:
	ldr	x8, [x8, _remotehost@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
Lloh48:
	adrp	x8, _curname@GOTPAGE
Lloh49:
	ldr	x8, [x8, _curname@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh51:
	adrp	x1, l_.str.4@PAGE
Lloh52:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x3, sp, #8
	bl	_syslog
LBB0_18:
	str	xzr, [x21]
Lloh53:
	adrp	x8, _login_attempts@GOTPAGE
Lloh54:
	ldr	x8, [x8, _login_attempts@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w10, w9, #1
	str	w10, [x8]
	cmp	w9, #5
	b.ge	LBB0_23
LBB0_19:
	ldur	x8, [x29, #-40]
Lloh55:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh56:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.20:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_21:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_unix_verify_user
	mov	x20, x0
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_memset
	cbnz	w20, LBB0_14
	b	LBB0_8
LBB0_22:
	bl	___stack_chk_fail
LBB0_23:
Lloh58:
	adrp	x8, _LOG_NOTICE@GOTPAGE
Lloh59:
	ldr	x8, [x8, _LOG_NOTICE@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
Lloh61:
	adrp	x8, _remotehost@GOTPAGE
Lloh62:
	ldr	x8, [x8, _remotehost@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
Lloh64:
	adrp	x1, l_.str.5@PAGE
Lloh65:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x3, sp, #8
	bl	_syslog
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.comm	_logged_in,8,3                  ; @logged_in
	.comm	_askpasswd,8,3                  ; @askpasswd
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Password not necessary"

l_.str.1:                               ; @.str.1
	.asciz	"Login with USER first."

	.comm	_guest,4,2                      ; @guest
	.comm	_pw,8,3                         ; @pw
	.comm	_auth_level,4,2                 ; @auth_level
	.comm	_AUTH_OTP,4,2                   ; @AUTH_OTP
	.comm	_his_addr,8,3                   ; @his_addr
l_.str.2:                               ; @.str.2
	.asciz	"unknown address"

l_.str.3:                               ; @.str.3
	.asciz	"Login incorrect."

	.comm	_logging,8,3                    ; @logging
	.comm	_LOG_NOTICE,4,2                 ; @LOG_NOTICE
l_.str.4:                               ; @.str.4
	.asciz	"FTP LOGIN FAILED FROM %s(%s), %s"

	.comm	_remotehost,4,2                 ; @remotehost
	.comm	_curname,4,2                    ; @curname
	.comm	_login_attempts,4,2             ; @login_attempts
l_.str.5:                               ; @.str.5
	.asciz	"repeated login failures from %s(%s)"

	.comm	_otp_ctx,4,2                    ; @otp_ctx
.subsections_via_symbols
