	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsm_Open                       ## -- Begin function fsm_Open
	.p2align	4, 0x90
_fsm_Open:                              ## @fsm_Open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	movq	%rbx, %rdi
	movl	$128, %esi
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_NewState                       ## TAILCALL
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_ST_STARTING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_NewState
	movq	48(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	40(%rbx), %rax
	movq	8(%rax), %rcx
	movl	(%rax), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
LBB0_3:
	movl	4(%rbx), %ecx
	movq	_OPEN_PASSIVE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	movl	$129, %esi
	jmp	LBB0_5
LBB0_6:
	testl	%ecx, %ecx
	jle	LBB0_10
## %bb.7:
	cmpl	$1, %ecx
	je	LBB0_9
## %bb.8:
	movq	_LogPHASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	32(%rbx), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_log_Printf
LBB0_9:
	movq	%rbx, %rdi
	movl	$129, %esi
	callq	_NewState
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_timer_Stop
	movq	_SECTICKS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	4(%rbx), %eax
	movl	%eax, 8(%rbx)
	movq	_FsmOpenNow@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	%rbx, 16(%rbx)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_timer_Start                    ## TAILCALL
LBB0_10:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_FsmOpenNow                     ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_2
	.long	L0_0_set_11
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_ST_STARTING,4,2                ## @ST_STARTING
	.comm	_OPEN_PASSIVE,4,2               ## @OPEN_PASSIVE
	.comm	_LogPHASE,4,2                   ## @LogPHASE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Entering STOPPED state for %d seconds\n"

	.comm	_SECTICKS,4,2                   ## @SECTICKS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsm_Open                       ; -- Begin function fsm_Open
	.p2align	2
_fsm_Open:                              ; @fsm_Open
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	mov	w1, #128
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_NewState
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh2:
	adrp	x8, _ST_STARTING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ST_STARTING@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_NewState
	ldr	x8, [x19, #48]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #40]
	ldr	x2, [x8, #8]
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
LBB0_6:
	ldr	w3, [x19, #4]
Lloh5:
	adrp	x8, _OPEN_PASSIVE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OPEN_PASSIVE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w3, w8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	mov	w1, #129
	b	LBB0_3
LBB0_8:
	cmp	w3, #1
	b.lt	LBB0_12
; %bb.9:
	b.eq	LBB0_11
; %bb.10:
Lloh8:
	adrp	x8, _LogPHASE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LogPHASE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x8, [x19, #32]
	ldr	w2, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
LBB0_11:
	mov	x0, x19
	mov	w1, #129
	bl	_NewState
	add	x20, x19, #8
	mov	x0, x20
	bl	_timer_Stop
	ldr	w8, [x19, #4]
Lloh13:
	adrp	x9, _SECTICKS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SECTICKS@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	mul	w8, w9, w8
	str	w8, [x19, #8]
Lloh16:
	adrp	x8, _FsmOpenNow@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FsmOpenNow@GOTPAGEOFF]
	stp	x19, x8, [x19, #16]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_timer_Start
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_FsmOpenNow
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_ST_STARTING,4,2                ; @ST_STARTING
	.comm	_OPEN_PASSIVE,4,2               ; @OPEN_PASSIVE
	.comm	_LogPHASE,4,2                   ; @LogPHASE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Entering STOPPED state for %d seconds\n"

	.comm	_SECTICKS,4,2                   ; @SECTICKS
.subsections_via_symbols
