	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsm                            ## -- Begin function fsm
	.p2align	4, 0x90
_fsm:                                   ## @fsm
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$1, %edi
	movl	$32, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, 24(%rax)
	movq	$-1, (%rax)
	movl	8(%r14), %edi
	callq	_strdup
	movl	%eax, 20(%r15)
	movl	4(%r14), %eax
	movl	%eax, 16(%r15)
	movl	(%r14), %eax
	movq	_SESS_INITIALLOGIN@GOTPCREL(%rip), %rcx
	movq	_SESS_INITIALLOGIN1@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%eax, 12(%r15)
	movl	%edx, 8(%r15)
	movl	$149, %r14d
	leaq	LJTI0_0(%rip), %rbx
	leaq	L_switch.table.fsm(%rip), %r13
	leaq	LJTI0_1(%rip), %r12
	movl	$149, %ecx
	jmp	LBB0_3
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_doLogin
	xorl	%ecx, %ecx
	cmpl	$131, %eax
	sete	%cl
	leal	(%rcx,%rcx,2), %ecx
	addl	$143, %ecx
	cmpl	$130, %eax
	cmovel	%r14d, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-143(%rcx), %eax
	cmpl	$6, %eax
	ja	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%rbx,%rax,4), %rax
	addq	%rbx, %rax
	jmpq	*%rax
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_inLogout
	addl	$-134, %eax
	movl	$143, %ecx
	cmpl	$8, %eax
	jae	LBB0_3
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	cltq
	leaq	l_switch.table.fsm.2(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
	jmp	LBB0_3
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_startLogout
	addl	$-135, %eax
	movl	$143, %ecx
	cmpl	$4, %eax
	jae	LBB0_3
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	cltq
	movl	(%r13,%rax,4), %ecx
	jmp	LBB0_3
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_supervise
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$12, %eax
	ja	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r12,%rax,4), %rax
	addq	%r12, %rax
	movl	$149, %ecx
	jmpq	*%rax
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$143, %ecx
	jmp	LBB0_3
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_startSession
	xorl	%ecx, %ecx
	cmpl	$132, %eax
	sete	%cl
	leal	143(,%rcx,4), %ecx
	cmpl	$133, %eax
	cmovel	%r14d, %ecx
	jmp	LBB0_3
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_tcpConnect
	xorl	%ecx, %ecx
	cmpl	$142, %eax
	sete	%cl
	leal	(%rcx,%rcx,4), %ecx
	addl	$143, %ecx
	jmp	LBB0_3
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$145, %ecx
	jmp	LBB0_3
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$144, %ecx
	jmp	LBB0_3
LBB0_17:
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_syslog
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	$-1, %eax
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_15
	.long	L0_0_set_13
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
.set L0_1_set_10, LBB0_10-LJTI0_1
.set L0_1_set_3, LBB0_3-LJTI0_1
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_11, LBB0_11-LJTI0_1
LJTI0_1:
	.long	L0_1_set_10
	.long	L0_1_set_3
	.long	L0_1_set_12
	.long	L0_1_set_12
	.long	L0_1_set_12
	.long	L0_1_set_12
	.long	L0_1_set_12
	.long	L0_1_set_12
	.long	L0_1_set_12
	.long	L0_1_set_12
	.long	L0_1_set_12
	.long	L0_1_set_12
	.long	L0_1_set_11
	.end_data_region
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no memory!\n"

	.comm	_SESS_INITIALLOGIN,4,2          ## @SESS_INITIALLOGIN
	.comm	_SESS_INITIALLOGIN1,4,2         ## @SESS_INITIALLOGIN1
	.comm	_LOG_INFO,4,2                   ## @LOG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"terminated"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.fsm
L_switch.table.fsm:
	.long	143                             ## 0x8f
	.long	143                             ## 0x8f
	.long	145                             ## 0x91
	.long	149                             ## 0x95

	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.fsm.2
l_switch.table.fsm.2:
	.long	149                             ## 0x95
	.long	143                             ## 0x8f
	.long	143                             ## 0x8f
	.long	143                             ## 0x8f
	.long	143                             ## 0x8f
	.long	144                             ## 0x90
	.long	143                             ## 0x8f
	.long	145                             ## 0x91

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsm                            ; -- Begin function fsm
	.p2align	2
_fsm:                                   ; @fsm
	.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
	mov	x20, x0
	mov	w0, #1
	mov	w1, #32
	bl	_calloc
	cbz	x0, LBB0_17
; %bb.1:
	mov	x19, x0
	str	x20, [x0, #24]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x0]
	ldr	w0, [x20, #8]
	bl	_strdup
	str	w0, [x19, #20]
Lloh0:
	adrp	x8, _SESS_INITIALLOGIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SESS_INITIALLOGIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SESS_INITIALLOGIN1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SESS_INITIALLOGIN1@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	mov	w21, #149
Lloh6:
	adrp	x22, lJTI0_0@PAGE
Lloh7:
	add	x22, x22, lJTI0_0@PAGEOFF
Lloh8:
	adrp	x23, l_switch.table.fsm.2@PAGE
Lloh9:
	add	x23, x23, l_switch.table.fsm.2@PAGEOFF
	ldr	d0, [x20]
Lloh10:
	adrp	x20, l_switch.table.fsm@PAGE
Lloh11:
	add	x20, x20, l_switch.table.fsm@PAGEOFF
Lloh12:
	adrp	x24, lJTI0_1@PAGE
Lloh13:
	add	x24, x24, lJTI0_1@PAGEOFF
	mov	w25, #143
	stur	d0, [x19, #12]
	str	w8, [x19, #8]
	mov	w26, #146
	mov	w27, #147
	mov	w28, #148
	mov	w8, #149
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_doLogin
	cmp	w0, #131
	csel	w8, w26, w25, eq
	cmp	w0, #130
	csel	w8, w21, w8, eq
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w9, w8, #143
	cmp	w9, #6
	b.hi	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x8, LBB0_2
	ldrb	w10, [x22, x9]
	add	x8, x8, x10, lsl #2
	br	x8
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_inLogout
	sub	w9, w0, #134
	mov	w8, #143
	cmp	w9, #8
	b.hs	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23, w9, sxtw #2]
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_startLogout
	sub	w9, w0, #135
	mov	w8, #143
	cmp	w9, #4
	b.hs	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20, w9, sxtw #2]
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_supervise
	sub	w9, w0, #128
	cmp	w9, #12
	b.hi	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #149
	adr	x10, LBB0_3
	ldrb	w11, [x24, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #143
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_startSession
	cmp	w0, #132
	csel	w8, w27, w25, eq
	cmp	w0, #133
	csel	w8, w21, w8, eq
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_tcpConnect
	cmp	w0, #142
	csel	w8, w28, w25, eq
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #145
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #144
	b	LBB0_3
LBB0_16:
Lloh14:
	adrp	x8, _LOG_INFO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LOG_INFO@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_syslog
	mov	w0, #0
	b	LBB0_18
LBB0_17:
Lloh19:
	adrp	x8, _stderr@GOTPAGE
Lloh20:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #-1
LBB0_18:
	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
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no memory!\n"

	.comm	_SESS_INITIALLOGIN,4,2          ; @SESS_INITIALLOGIN
	.comm	_SESS_INITIALLOGIN1,4,2         ; @SESS_INITIALLOGIN1
	.comm	_LOG_INFO,4,2                   ; @LOG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"terminated"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.fsm
l_switch.table.fsm:
	.long	143                             ; 0x8f
	.long	143                             ; 0x8f
	.long	145                             ; 0x91
	.long	149                             ; 0x95

	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.fsm.2
l_switch.table.fsm.2:
	.long	149                             ; 0x95
	.long	143                             ; 0x8f
	.long	143                             ; 0x8f
	.long	143                             ; 0x8f
	.long	143                             ; 0x8f
	.long	144                             ; 0x90
	.long	143                             ; 0x8f
	.long	145                             ; 0x91

.subsections_via_symbols
