	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %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, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$1, %edi
	jg	LBB0_2
## %bb.1:
	movq	_line@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcat
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	(%rbx), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movslq	%eax, %rdi
	addq	%rbx, %rdi
	callq	_gets
	xorl	%eax, %eax
	callq	_makeargv
	movq	_margc@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_margv@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_2:
	cmpl	$5, %ebx
	jl	LBB0_4
## %bb.3:
	movq	(%r14), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	jmp	LBB0_21
LBB0_4:
	movq	8(%r14), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_command
	movq	_CONTINUE@GOTPCREL(%rip), %r12
	movl	(%r12), %r13d
	cmpl	%r13d, %eax
	jne	LBB0_5
## %bb.6:
	cmpl	$3, %ebx
	jge	LBB0_7
## %bb.8:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_getpass
	movq	%rax, %rsi
	movq	%rax, 16(%r14)
	incl	%ebx
	jmp	LBB0_9
LBB0_5:
	movl	%eax, %r15d
	cmpl	%r13d, %r15d
	je	LBB0_12
LBB0_11:
	movl	%r15d, %eax
	jmp	LBB0_16
LBB0_7:
	movq	16(%r14), %rsi
LBB0_9:
	leaq	L_.str.5(%rip), %rdi
	callq	_command
	movl	%eax, %r15d
	movl	(%r12), %r13d
	cmpl	%r13d, %r15d
	jne	LBB0_11
LBB0_12:
	cmpl	$4, %ebx
	jge	LBB0_13
## %bb.14:
	leaq	-128(%rbp), %r12
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$79, %esi
	callq	_fgets
	movq	%r12, %rdi
	callq	_strlen
	cltq
	movb	$0, -1(%rax,%r12)
	movq	%r12, 24(%r14)
	incl	%ebx
	jmp	LBB0_15
LBB0_13:
	movq	24(%r14), %r12
	movl	$4, %ebx
LBB0_15:
	leaq	L_.str.7(%rip), %rdi
	movq	%r12, %rsi
	callq	_command
LBB0_16:
	movq	_COMPLETE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.18:
	cmpl	%r13d, %r15d
	je	LBB0_21
## %bb.19:
	cmpl	$4, %ebx
	jne	LBB0_21
## %bb.20:
	movq	24(%r14), %rsi
	leaq	L_.str.7(%rip), %rdi
	callq	_command
	jmp	LBB0_21
LBB0_17:
	movq	_stdout@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_fprintf
	movl	(%rbx), %edi
	callq	_fflush
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_line,8,3                       ## @line
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

L_.str.1:                               ## @.str.1
	.asciz	"(username) "

	.comm	_stdout,4,2                     ## @stdout
	.comm	_margc,4,2                      ## @margc
	.comm	_margv,8,3                      ## @margv
L_.str.2:                               ## @.str.2
	.asciz	"usage: %s username [password] [account]\n"

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

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

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

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

	.comm	_stdin,4,2                      ## @stdin
L_.str.7:                               ## @.str.7
	.asciz	"ACCT %s"

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

.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, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	cmp	w0, #1
	b.gt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x19, _line@GOTPAGE
Lloh4:
	ldr	x19, [x19, _line@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcat
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
Lloh9:
	adrp	x8, _stdout@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_fflush
	ldr	x19, [x19]
	mov	x0, x19
	bl	_strlen
	add	x0, x19, w0, sxtw
	bl	_gets
	bl	_makeargv
Lloh12:
	adrp	x8, _margc@GOTPAGE
Lloh13:
	ldr	x8, [x8, _margc@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
Lloh15:
	adrp	x8, _margv@GOTPAGE
Lloh16:
	ldr	x8, [x8, _margv@GOTPAGEOFF]
Lloh17:
	ldr	x19, [x8]
LBB0_2:
	cmp	w20, #5
	b.lt	LBB0_4
; %bb.3:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
Lloh20:
	adrp	x8, _stdout@GOTPAGE
Lloh21:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_fflush
Lloh23:
	adrp	x8, _code@GOTPAGE
Lloh24:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh25:
	str	w9, [x8]
	b	LBB0_19
LBB0_4:
	ldr	x1, [x19, #8]
Lloh26:
	adrp	x0, l_.str.3@PAGE
Lloh27:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_command
Lloh28:
	adrp	x22, _CONTINUE@GOTPAGE
Lloh29:
	ldr	x22, [x22, _CONTINUE@GOTPAGEOFF]
	ldr	w23, [x22]
	cmp	w0, w23
	b.ne	LBB0_7
; %bb.5:
	cmp	w20, #3
	b.ge	LBB0_9
; %bb.6:
Lloh30:
	adrp	x0, l_.str.4@PAGE
Lloh31:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_getpass
	mov	x1, x0
	str	x0, [x19, #16]
	add	w20, w20, #1
	b	LBB0_10
LBB0_7:
	mov	x21, x0
	cmp	w21, w23
	b.eq	LBB0_11
LBB0_8:
	mov	x0, x21
	b	LBB0_15
LBB0_9:
	ldr	x1, [x19, #16]
LBB0_10:
Lloh32:
	adrp	x0, l_.str.5@PAGE
Lloh33:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_command
	mov	x21, x0
	ldr	w23, [x22]
	cmp	w21, w23
	b.ne	LBB0_8
LBB0_11:
	cmp	w20, #4
	b.ge	LBB0_13
; %bb.12:
	add	x22, sp, #8
Lloh34:
	adrp	x0, l_.str.6@PAGE
Lloh35:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
Lloh36:
	adrp	x24, _stdout@GOTPAGE
Lloh37:
	ldr	x24, [x24, _stdout@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_fflush
	ldr	w0, [x24]
	bl	_fflush
Lloh38:
	adrp	x8, _stdin@GOTPAGE
Lloh39:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	w1, #79
	bl	_fgets
	add	x0, sp, #8
	bl	_strlen
	add	x8, x22, w0, sxtw
	sturb	wzr, [x8, #-1]
	str	x22, [x19, #24]
	add	w20, w20, #1
	b	LBB0_14
LBB0_13:
	ldr	x22, [x19, #24]
	mov	w20, #4
LBB0_14:
Lloh41:
	adrp	x0, l_.str.7@PAGE
Lloh42:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x22
	bl	_command
LBB0_15:
Lloh43:
	adrp	x8, _COMPLETE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _COMPLETE@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_18
; %bb.16:
	cmp	w21, w23
	ccmp	w20, #4, #0, ne
	b.ne	LBB0_19
; %bb.17:
	ldr	x1, [x19, #24]
Lloh46:
	adrp	x0, l_.str.7@PAGE
Lloh47:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_command
	b	LBB0_19
LBB0_18:
Lloh48:
	adrp	x19, _stdout@GOTPAGE
Lloh49:
	ldr	x19, [x19, _stdout@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh50:
	adrp	x1, l_.str.8@PAGE
Lloh51:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
	bl	_fflush
LBB0_19:
	ldur	x8, [x29, #-56]
Lloh52:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh53:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh54:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_line,8,3                       ; @line
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

l_.str.1:                               ; @.str.1
	.asciz	"(username) "

	.comm	_stdout,4,2                     ; @stdout
	.comm	_margc,4,2                      ; @margc
	.comm	_margv,8,3                      ; @margv
l_.str.2:                               ; @.str.2
	.asciz	"usage: %s username [password] [account]\n"

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

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

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

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

	.comm	_stdin,4,2                      ; @stdin
l_.str.7:                               ; @.str.7
	.asciz	"ACCT %s"

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

.subsections_via_symbols
