	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CiRpcAccepted                  ## -- Begin function CiRpcAccepted
	.p2align	4, 0x90
_CiRpcAccepted:                         ## @CiRpcAccepted
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SHA1_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	testq	%rbx, %rbx
	je	LBB0_32
## %bb.1:
	testq	%r12, %r12
	je	LBB0_32
## %bb.2:
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	movl	$8, %edx
	xorl	%ecx, %ecx
	callq	_RecvAll
	testl	%eax, %eax
	je	LBB0_32
## %bb.3:
	movq	-64(%rbp), %rdi
	callq	_Endian32
	movq	%rax, %rcx
	movq	%rax, -64(%rbp)
	movq	_CLIENT_RPC_MODE_NOTIFY@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_CiNotifyMain
	jmp	LBB0_32
LBB0_5:
	movq	_CLIENT_RPC_MODE_SHORTCUT@GOTPCREL(%rip), %rdx
	movl	(%r14), %eax
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.6:
	movq	_CLIENT_RPC_MODE_SHORTCUT_DISCONNECT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.24:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_RecvAll
	testl	%eax, %eax
	je	LBB0_32
## %bb.25:
	movq	8(%rbx), %rsi
	movl	(%r14), %edx
	movq	%r15, %rdi
	callq	_Cmp
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
	cmpq	$0, 24(%rbx)
	je	LBB0_27
## %bb.26:
	movq	(%r12), %rax
	xorl	%ecx, %ecx
	cmpl	$127, (%rax)
	cmoveq	%rcx, %r15
LBB0_27:
	movl	16(%rbx), %edi
	callq	_Lock
	cmpl	$0, 20(%rbx)
	jne	LBB0_29
## %bb.28:
	movq	(%r12), %rax
	cmpl	$127, (%rax)
	movl	$2, %eax
	cmovneq	%rax, %r15
LBB0_29:
	movl	16(%rbx), %edi
	callq	_Unlock
	movq	%r15, %rdi
	callq	_Endian32
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	movl	$8, %edx
	xorl	%ecx, %ecx
	callq	_SendAll
	testl	%eax, %eax
	je	LBB0_32
## %bb.30:
	cmpq	$0, -56(%rbp)
	jne	LBB0_32
## %bb.31:
	movq	_CiRpcDispatch@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_StartRpcServer
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_RpcServer
	movq	%rbx, %rdi
	callq	_EndRpc
	jmp	LBB0_32
LBB0_7:
	movq	%rsp, %r13
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	(%r14), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_RecvAll
	testl	%eax, %eax
	je	LBB0_23
## %bb.8:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	_MAX_ACCOUNT_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	incl	%r13d
	leaq	(,%r13,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movl	32(%rbx), %edi
	callq	_LockList
	movl	32(%rbx), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_9
## %bb.10:
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	shll	$2, %r13d
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	8(%r13), %edi
	callq	_Unlock
	incq	%r12
	movl	32(%rbx), %edi
	callq	_LIST_NUM
	cmpq	%rax, %r12
	jge	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	32(%rbx), %edi
	movq	%r12, %rsi
	callq	_LIST_DATA
	movq	%rax, %r13
	movl	8(%rax), %edi
	callq	_Lock
	movq	(%r13), %rdi
	movl	(%r14), %edx
	movq	%r15, %rsi
	callq	_Cmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r13), %rax
	movq	(%rax), %rdx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_UniStrCpy
	movl	$1, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
LBB0_14:
	movl	32(%rbx), %edi
	callq	_UnlockList
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_15
## %bb.16:
	leaq	-56(%rbp), %rdi
	movl	$8, %esi
	callq	_Zero
	movq	-56(%rbp), %rdi
	movl	$8, %esi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_UniStrCpy
	movq	-64(%rbp), %rax
	movq	_CLIENT_RPC_MODE_SHORTCUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.17:
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_CtConnect
	jmp	LBB0_19
LBB0_9:
	movl	32(%rbx), %edi
	callq	_UnlockList
	movq	-72(%rbp), %r13                 ## 8-byte Reload
LBB0_15:
	movq	_ERR_ACCOUNT_NOT_FOUND@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	jmp	LBB0_22
LBB0_18:
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_CtDisconnect
LBB0_19:
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rbx
LBB0_21:
	movq	(%rbx), %rdi
LBB0_22:
	callq	_Endian32
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	xorl	%ecx, %ecx
	callq	_SendAll
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	xorl	%ecx, %ecx
	callq	_RecvAll
	movq	-104(%rbp), %rsp                ## 8-byte Reload
LBB0_23:
	movq	%r13, %rsp
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_34
## %bb.33:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA1_SIZE,4,2                  ## @SHA1_SIZE
	.comm	_CLIENT_RPC_MODE_NOTIFY,8,3     ## @CLIENT_RPC_MODE_NOTIFY
	.comm	_CLIENT_RPC_MODE_SHORTCUT,8,3   ## @CLIENT_RPC_MODE_SHORTCUT
	.comm	_CLIENT_RPC_MODE_SHORTCUT_DISCONNECT,8,3 ## @CLIENT_RPC_MODE_SHORTCUT_DISCONNECT
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
	.comm	_MAX_ACCOUNT_NAME_LEN,4,2       ## @MAX_ACCOUNT_NAME_LEN
	.comm	_ERR_ACCOUNT_NOT_FOUND,8,3      ## @ERR_ACCOUNT_NOT_FOUND
	.comm	_CiRpcDispatch,4,2              ## @CiRpcDispatch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CiRpcAccepted                  ; -- Begin function CiRpcAccepted
	.p2align	2
_CiRpcAccepted:                         ; @CiRpcAccepted
	.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
	sub	sp, sp, #48
	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, #-88]
Lloh3:
	adrp	x27, _SHA1_SIZE@GOTPAGE
Lloh4:
	ldr	x27, [x27, _SHA1_SIZE@GOTPAGEOFF]
	ldr	w8, [x27]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
	cbz	x0, LBB0_29
; %bb.1:
	cbz	x19, LBB0_29
; %bb.2:
	sub	x1, x29, #96
	mov	x0, x19
	mov	w2, #8
	mov	w3, #0
	bl	_RecvAll
	cbz	w0, LBB0_29
; %bb.3:
	ldur	x0, [x29, #-96]
	bl	_Endian32
	stur	x0, [x29, #-96]
Lloh7:
	adrp	x8, _CLIENT_RPC_MODE_NOTIFY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CLIENT_RPC_MODE_NOTIFY@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_CiNotifyMain
	b	LBB0_29
LBB0_5:
Lloh10:
	adrp	x28, _CLIENT_RPC_MODE_SHORTCUT@GOTPAGE
Lloh11:
	ldr	x28, [x28, _CLIENT_RPC_MODE_SHORTCUT@GOTPAGEOFF]
	ldr	x8, [x28]
Lloh12:
	adrp	x9, _CLIENT_RPC_MODE_SHORTCUT_DISCONNECT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CLIENT_RPC_MODE_SHORTCUT_DISCONNECT@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	w2, [x27]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_12
; %bb.6:
	mov	x23, sp
	lsl	x8, x2, #3
	mov	x9, x8
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	w2, [x27]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_RecvAll
	cbz	w0, LBB0_28
; %bb.7:
	mov	x25, sp
Lloh17:
	adrp	x8, _MAX_ACCOUNT_NAME_LEN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MAX_ACCOUNT_NAME_LEN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	add	w24, w8, #1
	lsl	x8, x24, #2
	mov	x9, x8
Lloh20:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh21:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	w0, [x20, #32]
	bl	_LockList
	ldr	w0, [x20, #32]
	bl	_LIST_NUM
	cmp	x0, #0
	b.le	LBB0_23
; %bb.8:
	stp	x25, x23, [x29, #-120]          ; 16-byte Folded Spill
	mov	w26, #0
	mov	x23, #0
	lsl	w24, w24, #2
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x25, #8]
	bl	_Unlock
	add	x23, x23, #1
	ldr	w0, [x20, #32]
	bl	_LIST_NUM
	cmp	x23, x0
	b.ge	LBB0_20
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #32]
	mov	x1, x23
	bl	_LIST_DATA
	mov	x25, x0
	ldr	w0, [x0, #8]
	bl	_Lock
	ldr	x0, [x25]
	ldr	w2, [x27]
	mov	x1, x21
	bl	_Cmp
	cbnz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x25, #16]
	ldr	x2, [x8]
	mov	x0, x22
	mov	x1, x24
	bl	_UniStrCpy
	mov	w26, #1
	b	LBB0_9
LBB0_12:
	mov	x0, x19
	mov	x1, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	w3, #0
	bl	_RecvAll
	cbz	w0, LBB0_29
; %bb.13:
	ldr	x1, [x20, #8]
	ldr	w2, [x27]
	mov	x0, x21
	bl	_Cmp
	cmp	x0, #0
	cset	w21, ne
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_15
; %bb.14:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #127
	csel	x21, xzr, x21, eq
LBB0_15:
	ldr	w0, [x20, #16]
	bl	_Lock
	ldr	w8, [x20, #20]
	cbnz	w8, LBB0_17
; %bb.16:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #127
	mov	w8, #2
	csel	x21, x21, x8, eq
LBB0_17:
	ldr	w0, [x20, #16]
	bl	_Unlock
	mov	x0, x21
	bl	_Endian32
	stur	x0, [x29, #-104]
	sub	x1, x29, #104
	mov	x0, x19
	mov	w2, #8
	mov	w3, #0
	bl	_SendAll
	cbz	w0, LBB0_29
; %bb.18:
	ldur	x8, [x29, #-104]
	cbnz	x8, LBB0_29
; %bb.19:
Lloh22:
	adrp	x8, _CiRpcDispatch@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CiRpcDispatch@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_StartRpcServer
	mov	x19, x0
	bl	_RpcServer
	mov	x0, x19
	bl	_EndRpc
	b	LBB0_29
LBB0_20:
	ldr	w0, [x20, #32]
	bl	_UnlockList
	ldp	x25, x23, [x29, #-120]          ; 16-byte Folded Reload
	cbz	w26, LBB0_24
; %bb.21:
	sub	x0, x29, #104
	mov	w1, #8
	bl	_Zero
	ldur	x0, [x29, #-104]
	mov	w1, #8
	mov	x2, x22
	bl	_UniStrCpy
	ldur	x8, [x29, #-96]
	ldr	x9, [x28]
	sub	x1, x29, #104
	mov	x0, x20
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.22:
	bl	_CtConnect
	b	LBB0_26
LBB0_23:
	ldr	w0, [x20, #32]
	bl	_UnlockList
LBB0_24:
Lloh25:
	adrp	x8, _ERR_ACCOUNT_NOT_FOUND@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERR_ACCOUNT_NOT_FOUND@GOTPAGEOFF]
	b	LBB0_27
LBB0_25:
	mov	w2, #0
	bl	_CtDisconnect
LBB0_26:
Lloh27:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x20, x8, eq
LBB0_27:
	ldr	x0, [x8]
	bl	_Endian32
	stur	x0, [x29, #-104]
	sub	x1, x29, #104
	mov	x0, x19
	mov	w2, #8
	mov	w3, #0
	bl	_SendAll
	sub	x1, x29, #104
	mov	x0, x19
	mov	w2, #8
	mov	w3, #0
	bl	_RecvAll
	mov	sp, x25
LBB0_28:
	mov	sp, x23
LBB0_29:
	ldur	x8, [x29, #-88]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	sub	sp, x29, #80
	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
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA1_SIZE,4,2                  ; @SHA1_SIZE
	.comm	_CLIENT_RPC_MODE_NOTIFY,8,3     ; @CLIENT_RPC_MODE_NOTIFY
	.comm	_CLIENT_RPC_MODE_SHORTCUT,8,3   ; @CLIENT_RPC_MODE_SHORTCUT
	.comm	_CLIENT_RPC_MODE_SHORTCUT_DISCONNECT,8,3 ; @CLIENT_RPC_MODE_SHORTCUT_DISCONNECT
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
	.comm	_MAX_ACCOUNT_NAME_LEN,4,2       ; @MAX_ACCOUNT_NAME_LEN
	.comm	_ERR_ACCOUNT_NOT_FOUND,8,3      ; @ERR_ACCOUNT_NOT_FOUND
	.comm	_CiRpcDispatch,4,2              ; @CiRpcDispatch
.subsections_via_symbols
