	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CiGetSessionStatus             ## -- Begin function CiGetSessionStatus
	.p2align	4, 0x90
_CiGetSessionStatus:                    ## @CiGetSessionStatus
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.2:
	movq	%rdi, %r15
	movl	12(%r14), %edi
	callq	_Lock
	movl	$1, (%r15)
	movq	(%r14), %rax
	movq	%rax, 8(%r15)
	movl	212(%r15), %edi
	movq	136(%r14), %rax
	movl	(%rax), %edx
	movl	$4, %esi
	callq	_UniStrCpy
	movq	(%r14), %rax
	movq	_CLIENT_STATUS_ESTABLISHED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.3:
	movq	32(%r14), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.4:
	movl	8(%rax), %edi
	callq	_Lock
	movl	$1, 16(%r15)
	movl	208(%r15), %edi
	movq	32(%r14), %rax
	movl	56(%rax), %edx
	movl	$4, %esi
	callq	_StrCpy
	movq	32(%r14), %rax
	movl	52(%rax), %ecx
	movl	%ecx, 204(%r15)
	movl	48(%rax), %ecx
	movl	%ecx, 200(%r15)
	movl	44(%rax), %edi
	callq	_CloneX
	movq	%rax, 192(%r15)
	movq	32(%r14), %rax
	movl	40(%rax), %edi
	callq	_CloneX
	movq	%rax, 184(%r15)
	movl	132(%r14), %edi
	callq	_TickToTime
	movq	%rax, 176(%r15)
	movl	128(%r14), %eax
	movl	%eax, 168(%r15)
	movq	120(%r14), %rax
	movq	%rax, 152(%r15)
	movl	116(%r14), %eax
	movl	%eax, 164(%r15)
	movl	112(%r14), %eax
	movl	%eax, 160(%r15)
	movq	32(%r14), %rax
	movq	(%rax), %rcx
	movq	_CONNECTION_TCP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_13
## %bb.5:
	movq	32(%rax), %rax
	movl	(%rax), %edi
	callq	_LockList
	movq	32(%r14), %rax
	movq	32(%rax), %rax
	movl	(%rax), %edi
	callq	_LIST_NUM
	movq	%rax, 24(%r15)
	cmpq	$0, 152(%r15)
	je	LBB0_12
## %bb.6:
	testq	%rax, %rax
	jle	LBB0_12
## %bb.7:
	xorl	%ebx, %ebx
	movq	_TCP_SERVER_TO_CLIENT@GOTPCREL(%rip), %r12
	jmp	LBB0_8
LBB0_20:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	144(%r15)
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	cmpq	24(%r15), %rbx
	jge	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rax
	movq	32(%rax), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movl	(%r12), %ecx
	testl	%ecx, (%rax)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incl	148(%r15)
	jmp	LBB0_11
LBB0_12:
	movq	32(%r14), %rax
	movq	32(%rax), %rax
	movl	(%rax), %edi
	callq	_UnlockList
LBB0_13:
	movq	104(%r14), %rax
	movq	%rax, 136(%r15)
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	132(%r15), %edi
	movq	32(%r14), %rax
	movl	24(%rax), %edx
	movl	$4, %esi
	callq	_StrCpy
LBB0_15:
	movl	100(%r14), %eax
	movl	%eax, 128(%r15)
	movl	96(%r14), %eax
	movl	%eax, 124(%r15)
	movl	120(%r15), %edi
	movl	92(%r14), %edx
	movl	$4, %esi
	callq	_StrCpy
	movl	88(%r14), %eax
	movl	%eax, 116(%r15)
	movl	84(%r14), %eax
	movl	%eax, 112(%r15)
	movq	104(%r15), %rdi
	movl	80(%r14), %esi
	movq	_SHA1_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_Copy
	leaq	100(%r15), %rdi
	movl	76(%r14), %esi
	movl	$4, %edx
	callq	_Copy
	cmpl	$0, 8(%r14)
	je	LBB0_16
## %bb.17:
	leaq	72(%r14), %rax
	leaq	68(%r14), %rcx
	leaq	64(%r14), %rdx
	leaq	60(%r14), %rsi
	jmp	LBB0_18
LBB0_16:
	leaq	68(%r14), %rax
	leaq	72(%r14), %rcx
	leaq	60(%r14), %rdx
	leaq	64(%r14), %rsi
LBB0_18:
	movl	(%rsi), %esi
	movl	(%rdx), %edx
	movl	(%rcx), %ecx
	movl	(%rax), %eax
	movl	%eax, 96(%r15)
	movl	%ecx, 92(%r15)
	movl	%edx, 88(%r15)
	movl	%esi, 84(%r15)
	movl	80(%r15), %edi
	movl	56(%r14), %edx
	movl	$4, %esi
	callq	_StrCpy
	movl	76(%r15), %edi
	movq	32(%r14), %rax
	movl	20(%rax), %edx
	movl	$4, %esi
	callq	_StrCpy
	movl	72(%r15), %edi
	movq	32(%r14), %rax
	movl	16(%rax), %edx
	movl	$4, %esi
	callq	_StrCpy
	movq	32(%r14), %rax
	movl	12(%rax), %eax
	movl	%eax, 68(%r15)
	movl	48(%r14), %edi
	callq	_Lock
	leaq	64(%r15), %rdi
	movl	52(%r14), %esi
	movl	$4, %edx
	callq	_Copy
	movl	48(%r14), %edi
	callq	_Unlock
	movl	44(%r14), %eax
	movl	%eax, 60(%r15)
	movl	40(%r14), %eax
	movl	%eax, 56(%r15)
	movq	32(%r14), %rax
	movl	8(%rax), %edi
	callq	_Unlock
LBB0_19:
	movl	24(%r14), %edi
	callq	_TickToTime
	movq	%rax, 48(%r15)
	movl	20(%r14), %edi
	callq	_TickToTime
	movq	%rax, 40(%r15)
	movl	16(%r14), %eax
	movl	%eax, 32(%r15)
	movl	12(%r14), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Unlock                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CLIENT_STATUS_ESTABLISHED,8,3  ## @CLIENT_STATUS_ESTABLISHED
	.comm	_CONNECTION_TCP,8,3             ## @CONNECTION_TCP
	.comm	_TCP_SERVER_TO_CLIENT,4,2       ## @TCP_SERVER_TO_CLIENT
	.comm	_SHA1_SIZE,4,2                  ## @SHA1_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CiGetSessionStatus             ; -- Begin function CiGetSessionStatus
	.p2align	2
_CiGetSessionStatus:                    ; @CiGetSessionStatus
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_8
; %bb.2:
	mov	x20, x0
	ldr	w0, [x19, #12]
	bl	_Lock
	mov	w8, #1
	str	w8, [x20]
	ldr	x8, [x19]
	str	x8, [x20, #8]
	ldr	w0, [x20, #212]
	ldr	x8, [x19, #136]
	ldr	w2, [x8]
	mov	w1, #4
	bl	_UniStrCpy
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _CLIENT_STATUS_ESTABLISHED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CLIENT_STATUS_ESTABLISHED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.3:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_20
; %bb.4:
	ldr	w0, [x8, #8]
	bl	_Lock
	mov	w8, #1
	str	w8, [x20, #16]
	ldr	w0, [x20, #208]
	ldr	x8, [x19, #32]
	ldr	w2, [x8, #56]
	mov	w1, #4
	bl	_StrCpy
	ldr	x8, [x19, #32]
	ldr	d0, [x8, #48]
	str	d0, [x20, #200]
	ldr	w0, [x8, #44]
	bl	_CloneX
	str	x0, [x20, #192]
	ldr	x8, [x19, #32]
	ldr	w0, [x8, #40]
	bl	_CloneX
	str	x0, [x20, #184]
	ldr	w0, [x19, #132]
	bl	_TickToTime
	str	x0, [x20, #176]
	ldr	w8, [x19, #128]
	str	w8, [x20, #168]
	ldr	x8, [x19, #120]
	str	x8, [x20, #152]
	ldr	d0, [x19, #112]
	str	d0, [x20, #160]
	ldr	x8, [x19, #32]
	ldr	x9, [x8]
Lloh3:
	adrp	x10, _CONNECTION_TCP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CONNECTION_TCP@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_14
; %bb.5:
	ldr	x8, [x8, #32]
	ldr	w0, [x8]
	bl	_LockList
	ldr	x8, [x19, #32]
	ldr	x8, [x8, #32]
	ldr	w0, [x8]
	bl	_LIST_NUM
	str	x0, [x20, #24]
	ldr	x8, [x20, #152]
	cbz	x8, LBB0_13
; %bb.6:
	cmp	x0, #1
	b.lt	LBB0_13
; %bb.7:
	mov	x21, #0
Lloh6:
	adrp	x22, _TCP_SERVER_TO_CLIENT@GOTPAGE
Lloh7:
	ldr	x22, [x22, _TCP_SERVER_TO_CLIENT@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x20, #144]
	add	w8, w8, #1
	str	w8, [x20, #144]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x21, x21, #1
	ldr	x8, [x20, #24]
	cmp	x21, x8
	b.ge	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	ldr	x8, [x8, #32]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_LIST_DATA
	ldr	w8, [x0]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x20, #148]
	add	w8, w8, #1
	str	w8, [x20, #148]
	b	LBB0_10
LBB0_13:
	ldr	x8, [x19, #32]
	ldr	x8, [x8, #32]
	ldr	w0, [x8]
	bl	_UnlockList
LBB0_14:
	ldr	x8, [x19, #104]
	str	x8, [x20, #136]
	cbz	x8, LBB0_16
; %bb.15:
	ldr	w0, [x20, #132]
	ldr	x8, [x19, #32]
	ldr	w2, [x8, #24]
	mov	w1, #4
	bl	_StrCpy
LBB0_16:
	ldr	d0, [x19, #96]
	stur	d0, [x20, #124]
	ldr	w0, [x20, #120]
	ldr	w2, [x19, #92]
	mov	w1, #4
	bl	_StrCpy
	ldur	d0, [x19, #84]
	str	d0, [x20, #112]
	ldr	x0, [x20, #104]
	ldr	w1, [x19, #80]
Lloh8:
	adrp	x8, _SHA1_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SHA1_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_Copy
	add	x0, x20, #100
	ldr	w1, [x19, #76]
	mov	w2, #4
	bl	_Copy
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_18
; %bb.17:
	add	x8, x19, #72
	add	x9, x19, #68
	add	x10, x19, #64
	add	x11, x19, #60
	b	LBB0_19
LBB0_18:
	add	x8, x19, #68
	add	x9, x19, #72
	add	x10, x19, #60
	add	x11, x19, #64
LBB0_19:
	ldr	w11, [x11]
	ldr	w10, [x10]
	ldr	w9, [x9]
	ldr	w8, [x8]
	stp	w9, w8, [x20, #92]
	stp	w11, w10, [x20, #84]
	ldr	w0, [x20, #80]
	ldr	w2, [x19, #56]
	mov	w1, #4
	bl	_StrCpy
	ldr	w0, [x20, #76]
	ldr	x8, [x19, #32]
	ldr	w2, [x8, #20]
	mov	w1, #4
	bl	_StrCpy
	ldr	w0, [x20, #72]
	ldr	x8, [x19, #32]
	ldr	w2, [x8, #16]
	mov	w1, #4
	bl	_StrCpy
	ldr	x8, [x19, #32]
	ldr	w8, [x8, #12]
	str	w8, [x20, #68]
	ldr	w0, [x19, #48]
	bl	_Lock
	add	x0, x20, #64
	ldr	w1, [x19, #52]
	mov	w2, #4
	bl	_Copy
	ldr	w0, [x19, #48]
	bl	_Unlock
	ldr	d0, [x19, #40]
	str	d0, [x20, #56]
	ldr	x8, [x19, #32]
	ldr	w0, [x8, #8]
	bl	_Unlock
LBB0_20:
	ldr	w0, [x19, #24]
	bl	_TickToTime
	str	x0, [x20, #48]
	ldr	w0, [x19, #20]
	bl	_TickToTime
	str	x0, [x20, #40]
	ldp	w0, w8, [x19, #12]
	str	w8, [x20, #32]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CLIENT_STATUS_ESTABLISHED,8,3  ; @CLIENT_STATUS_ESTABLISHED
	.comm	_CONNECTION_TCP,8,3             ; @CONNECTION_TCP
	.comm	_TCP_SERVER_TO_CLIENT,4,2       ; @TCP_SERVER_TO_CLIENT
	.comm	_SHA1_SIZE,4,2                  ; @SHA1_SIZE
.subsections_via_symbols
