	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user                           ## -- Begin function user
	.p2align	4, 0x90
_user:                                  ## @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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, -40(%rbp)
	movq	%rsi, -48(%rbp)
	movb	$0, -33(%rbp)
	testl	%edi, %edi
	je	LBB0_4
## %bb.1:
	cmpl	$1, %edi
	jg	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdx
	leaq	-40(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_another
	movl	-40(%rbp), %edi
LBB0_3:
	addl	$-5, %edi
	movq	-48(%rbp), %rsi
	cmpl	$-4, %edi
	ja	LBB0_5
LBB0_4:
	movq	(%rsi), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_UPRINTF
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_21:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	8(%rsi), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_command
	movl	%eax, %r14d
	movq	_CONTINUE@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	cmpl	%r12d, %eax
	jne	LBB0_10
## %bb.6:
	cmpl	$2, -40(%rbp)
	jg	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	callq	_getpass
	testq	%rax, %rax
	leaq	-33(%rbp), %rbx
	cmovneq	%rax, %rbx
	jmp	LBB0_9
LBB0_8:
	movq	-48(%rbp), %rax
	movq	16(%rax), %rbx
LBB0_9:
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	callq	_command
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_memset
	movl	(%r15), %r12d
LBB0_10:
	movl	%r14d, %ebx
	cmpl	%r12d, %r14d
	jne	LBB0_15
## %bb.11:
	cmpl	$3, -40(%rbp)
	jg	LBB0_13
## %bb.12:
	leaq	L_.str.5(%rip), %rdi
	callq	_getpass
	testq	%rax, %rax
	leaq	-33(%rbp), %r15
	cmovneq	%rax, %r15
	jmp	LBB0_14
LBB0_13:
	movq	-48(%rbp), %rax
	movq	24(%rax), %r15
LBB0_14:
	leaq	L_.str.6(%rip), %rdi
	movq	%r15, %rsi
	callq	_command
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_strlen
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_memset
LBB0_15:
	movq	_COMPLETE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_16
## %bb.17:
	cmpl	%r12d, %r14d
	je	LBB0_20
## %bb.18:
	cmpl	$4, -40(%rbp)
	jne	LBB0_20
## %bb.19:
	movq	-48(%rbp), %rax
	movq	24(%rax), %rbx
	leaq	L_.str.6(%rip), %rdi
	movq	%rbx, %rsi
	callq	_command
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_memset
LBB0_20:
	movq	_connected@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	xorl	%eax, %eax
	callq	_getremoteinfo
	jmp	LBB0_21
LBB0_16:
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdi
	callq	_fputs
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"username"

L_.str.1:                               ## @.str.1
	.asciz	"usage: %s username [password [account]]\n"

	.comm	_code,4,2                       ## @code
L_.str.2:                               ## @.str.2
	.asciz	"USER %s"

	.comm	_CONTINUE,4,2                   ## @CONTINUE
L_.str.3:                               ## @.str.3
	.asciz	"Password: "

L_.str.4:                               ## @.str.4
	.asciz	"PASS %s"

L_.str.5:                               ## @.str.5
	.asciz	"Account: "

L_.str.6:                               ## @.str.6
	.asciz	"ACCT %s"

	.comm	_COMPLETE,4,2                   ## @COMPLETE
L_.str.7:                               ## @.str.7
	.asciz	"Login failed.\n"

	.comm	_ttyout,4,2                     ## @ttyout
	.comm	_connected,4,2                  ## @connected
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user                           ; -- Begin function user
	.p2align	2
_user:                                  ; @user
	.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
	str	w0, [sp, #28]
	str	x1, [sp, #16]
	strb	wzr, [sp, #15]
	cbz	w0, LBB0_4
; %bb.1:
	cmp	w0, #1
	b.gt	LBB0_3
; %bb.2:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #28
	add	x1, sp, #16
	bl	_another
	ldr	w0, [sp, #28]
LBB0_3:
	sub	w8, w0, #5
	ldr	x1, [sp, #16]
	cmn	w8, #4
	b.hi	LBB0_6
LBB0_4:
	ldr	x1, [x1]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_UPRINTF
Lloh4:
	adrp	x8, _code@GOTPAGE
Lloh5:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh6:
	str	w9, [x8]
LBB0_5:
	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
LBB0_6:
	ldr	x1, [x1, #8]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_command
Lloh9:
	adrp	x21, _CONTINUE@GOTPAGE
Lloh10:
	ldr	x21, [x21, _CONTINUE@GOTPAGEOFF]
	ldr	w22, [x21]
	cmp	w0, w22
	b.ne	LBB0_9
; %bb.7:
	ldr	w8, [sp, #28]
	cmp	w8, #2
	b.gt	LBB0_10
; %bb.8:
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_getpass
	add	x8, sp, #15
	cmp	x0, #0
	csel	x20, x8, x0, eq
	b	LBB0_11
LBB0_9:
	mov	x19, x0
	b	LBB0_12
LBB0_10:
	ldr	x8, [sp, #16]
	ldr	x20, [x8, #16]
LBB0_11:
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	bl	_command
	mov	x19, x0
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	w1, #0
	bl	_memset
	ldr	w22, [x21]
LBB0_12:
	mov	x21, x19
	cmp	w19, w22
	b.ne	LBB0_17
; %bb.13:
	ldr	w8, [sp, #28]
	cmp	w8, #3
	b.gt	LBB0_15
; %bb.14:
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_getpass
	add	x8, sp, #15
	cmp	x0, #0
	csel	x20, x8, x0, eq
	b	LBB0_16
LBB0_15:
	ldr	x8, [sp, #16]
	ldr	x20, [x8, #24]
LBB0_16:
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x20
	bl	_command
	mov	x21, x0
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	w1, #0
	bl	_memset
LBB0_17:
Lloh19:
	adrp	x8, _COMPLETE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _COMPLETE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_21
; %bb.18:
	ldr	w8, [sp, #28]
	cmp	w19, w22
	ccmp	w8, #4, #0, ne
	b.ne	LBB0_20
; %bb.19:
	ldr	x8, [sp, #16]
	ldr	x19, [x8, #24]
Lloh22:
	adrp	x0, l_.str.6@PAGE
Lloh23:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x19
	bl	_command
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_memset
LBB0_20:
Lloh24:
	adrp	x8, _connected@GOTPAGE
Lloh25:
	ldr	x8, [x8, _connected@GOTPAGEOFF]
	mov	w9, #-1
Lloh26:
	str	w9, [x8]
	bl	_getremoteinfo
	b	LBB0_5
LBB0_21:
Lloh27:
	adrp	x8, _ttyout@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x0, l_.str.7@PAGE
Lloh31:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_fputs
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"username"

l_.str.1:                               ; @.str.1
	.asciz	"usage: %s username [password [account]]\n"

	.comm	_code,4,2                       ; @code
l_.str.2:                               ; @.str.2
	.asciz	"USER %s"

	.comm	_CONTINUE,4,2                   ; @CONTINUE
l_.str.3:                               ; @.str.3
	.asciz	"Password: "

l_.str.4:                               ; @.str.4
	.asciz	"PASS %s"

l_.str.5:                               ; @.str.5
	.asciz	"Account: "

l_.str.6:                               ; @.str.6
	.asciz	"ACCT %s"

	.comm	_COMPLETE,4,2                   ; @COMPLETE
l_.str.7:                               ; @.str.7
	.asciz	"Login failed.\n"

	.comm	_ttyout,4,2                     ; @ttyout
	.comm	_connected,4,2                  ; @connected
.subsections_via_symbols
