	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_login                          ## -- Begin function login
	.p2align	4, 0x90
_login:                                 ## @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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-160(%rbp), %rsi
	leaq	-152(%rbp), %rdx
	leaq	-144(%rbp), %rcx
	callq	_ruserpass
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	-144(%rbp), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	xorl	%r14d, %r14d
	jmp	LBB0_26
LBB0_3:
	movl	$0, %eax
LBB0_5:
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	-152(%rbp), %r15
	je	LBB0_7
## %bb.6:
	movq	-160(%rbp), %r13
	testq	%r13, %r13
	jne	LBB0_8
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str(%rip), %r14
	movq	%rbx, %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-128(%rbp), %r13
	movq	%r13, %rdi
	movl	$79, %esi
	callq	_fgets
	movq	%r13, %rdi
	callq	_strlen
	cltq
	movb	$0, -1(%rax,%r13)
	cmpb	$0, -128(%rbp)
	cmoveq	%r14, %r13
LBB0_8:
	leaq	L_.str.3(%rip), %rdi
	movq	%r13, %rsi
	callq	_command
	movl	%eax, %ebx
	movq	_CONTINUE@GOTPCREL(%rip), %r14
	movl	(%r14), %r13d
	cmpl	%r13d, %eax
	jne	LBB0_13
## %bb.9:
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.10:
	testq	%r15, %r15
	jne	LBB0_12
LBB0_11:
	leaq	L_.str.4(%rip), %rdi
	callq	_getpass
	movq	%rax, %r15
LBB0_12:
	leaq	L_.str.5(%rip), %rdi
	movq	%r15, %rsi
	callq	_command
	movl	%eax, %ebx
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movl	(%r14), %r13d
LBB0_13:
	movl	%ebx, %eax
	cmpl	%r13d, %ebx
	jne	LBB0_15
## %bb.14:
	leaq	L_.str.6(%rip), %rdi
	callq	_getpass
	leaq	L_.str.7(%rip), %rdi
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%rax, %rsi
	callq	_command
LBB0_15:
	movq	_COMPLETE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_16
## %bb.17:
	cmpl	%r13d, %ebx
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	je	LBB0_20
## %bb.18:
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.19:
	leaq	L_.str.7(%rip), %rdi
	callq	_command
LBB0_20:
	movq	_proxy@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	$1, %r14d
	jne	LBB0_26
## %bb.21:
	movq	_macnum@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_26
## %bb.22:
	xorl	%ebx, %ebx
	movq	_macros@GOTPCREL(%rip), %r13
	leaq	L_.str.9(%rip), %r12
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_24 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_24
	jmp	LBB0_26
LBB0_16:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_fprintf
	xorl	%r14d, %r14d
	jmp	LBB0_26
LBB0_25:
	movq	_line@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcpy
	xorl	%eax, %eax
	callq	_makeargv
	movq	_margc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_margv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_domacro
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.27:
	movl	%r14d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_code,4,2                       ## @code
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"none"

L_.str.1:                               ## @.str.1
	.asciz	"Name (%s:%s): "

	.comm	_stdout,4,2                     ## @stdout
	.comm	_stdin,4,2                      ## @stdin
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:"

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

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

	.comm	_proxy,8,3                      ## @proxy
	.comm	_macnum,4,2                     ## @macnum
L_.str.9:                               ## @.str.9
	.asciz	"init"

	.comm	_macros,8,3                     ## @macros
	.comm	_line,4,2                       ## @line
L_.str.10:                              ## @.str.10
	.asciz	"$init"

	.comm	_margc,4,2                      ## @margc
	.comm	_margv,4,2                      ## @margv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_login                          ; -- Begin function login
	.p2align	2
_login:                                 ; @login
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	add	x1, sp, #32
	add	x2, sp, #24
	add	x3, sp, #16
	bl	_ruserpass
	tbnz	w0, #31, LBB0_9
; %bb.1:
	mov	x21, x0
	ldp	x8, x20, [sp, #16]
	cmp	w0, #0
	csel	x19, xzr, x8, eq
Lloh3:
	adrp	x23, _stdin@GOTPAGE
Lloh4:
	ldr	x23, [x23, _stdin@GOTPAGEOFF]
	cbz	w0, LBB0_3
; %bb.2:
	ldr	x1, [sp, #32]
	cbnz	x1, LBB0_4
LBB0_3:
Lloh5:
	adrp	x24, l_.str@PAGE
Lloh6:
	add	x24, x24, l_.str@PAGEOFF
	str	x24, [sp]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_printf
Lloh9:
	adrp	x8, _stdout@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_fflush
	ldr	w2, [x23]
	add	x22, sp, #40
	add	x0, sp, #40
	mov	w1, #79
	bl	_fgets
	add	x0, sp, #40
	bl	_strlen
	add	x8, x22, w0, sxtw
	sturb	wzr, [x8, #-1]
	ldrb	w8, [sp, #40]
	cmp	w8, #0
	csel	x1, x24, x22, eq
LBB0_4:
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_command
Lloh14:
	adrp	x25, _CONTINUE@GOTPAGE
Lloh15:
	ldr	x25, [x25, _CONTINUE@GOTPAGEOFF]
	ldr	w24, [x25]
	cmp	w0, w24
	b.ne	LBB0_10
; %bb.5:
	cbz	w21, LBB0_7
; %bb.6:
	cbnz	x20, LBB0_8
LBB0_7:
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_getpass
	mov	x20, x0
LBB0_8:
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x20
	bl	_command
	mov	x22, x0
	ldr	w0, [x23]
	bl	_fflush
	ldr	w24, [x25]
	b	LBB0_11
LBB0_9:
	mov	w0, #0
Lloh20:
	adrp	x8, _code@GOTPAGE
Lloh21:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh22:
	str	w9, [x8]
	b	LBB0_24
LBB0_10:
	mov	x22, x0
LBB0_11:
	mov	x0, x22
	cmp	w22, w24
	b.ne	LBB0_13
; %bb.12:
Lloh23:
	adrp	x0, l_.str.6@PAGE
Lloh24:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_getpass
	mov	x19, x0
Lloh25:
	adrp	x0, l_.str.7@PAGE
Lloh26:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x19
	bl	_command
LBB0_13:
Lloh27:
	adrp	x8, _COMPLETE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _COMPLETE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_21
; %bb.14:
	cmp	w22, w24
	ccmp	x19, #0, #4, ne
	b.eq	LBB0_16
; %bb.15:
Lloh30:
	adrp	x0, l_.str.7@PAGE
Lloh31:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x19
	bl	_command
LBB0_16:
Lloh32:
	adrp	x8, _proxy@GOTPAGE
Lloh33:
	ldr	x8, [x8, _proxy@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	mov	w0, #1
	cbnz	x8, LBB0_24
; %bb.17:
Lloh35:
	adrp	x20, _macnum@GOTPAGE
Lloh36:
	ldr	x20, [x20, _macnum@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.18:
	mov	x21, #0
Lloh37:
	adrp	x22, _macros@GOTPAGE
Lloh38:
	ldr	x22, [x22, _macros@GOTPAGEOFF]
Lloh39:
	adrp	x19, l_.str.9@PAGE
Lloh40:
	add	x19, x19, l_.str.9@PAGEOFF
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w1, [x8, x21, lsl #2]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_19
	b	LBB0_23
LBB0_21:
Lloh41:
	adrp	x8, _stderr@GOTPAGE
Lloh42:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x1, l_.str.8@PAGE
Lloh45:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_fprintf
	mov	w0, #0
	b	LBB0_24
LBB0_22:
Lloh46:
	adrp	x8, _line@GOTPAGE
Lloh47:
	ldr	x8, [x8, _line@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
Lloh49:
	adrp	x1, l_.str.10@PAGE
Lloh50:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_strcpy
	bl	_makeargv
Lloh51:
	adrp	x8, _margc@GOTPAGE
Lloh52:
	ldr	x8, [x8, _margc@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
Lloh54:
	adrp	x8, _margv@GOTPAGE
Lloh55:
	ldr	x8, [x8, _margv@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	bl	_domacro
LBB0_23:
	mov	w0, #1
LBB0_24:
	ldur	x8, [x29, #-72]
Lloh57:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh58:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_code,4,2                       ; @code
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"none"

l_.str.1:                               ; @.str.1
	.asciz	"Name (%s:%s): "

	.comm	_stdout,4,2                     ; @stdout
	.comm	_stdin,4,2                      ; @stdin
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:"

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

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

	.comm	_proxy,8,3                      ; @proxy
	.comm	_macnum,4,2                     ; @macnum
l_.str.9:                               ; @.str.9
	.asciz	"init"

	.comm	_macros,8,3                     ; @macros
	.comm	_line,4,2                       ; @line
l_.str.10:                              ; @.str.10
	.asciz	"$init"

	.comm	_margc,4,2                      ; @margc
	.comm	_margv,4,2                      ; @margv
.subsections_via_symbols
