	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memcache_rpcs_execute          ## -- Begin function memcache_rpcs_execute
	.p2align	4, 0x90
_memcache_rpcs_execute:                 ## @memcache_rpcs_execute
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_RPC_INVOKE_REQ@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_1
## %bb.2:
	movl	%esi, %ebx
	movq	%rdi, %r14
	addl	$-4, %edx
	movl	%edx, %esi
	callq	_tl_fetch_init
	leaq	-40(%rbp), %rdi
	callq	_tl_fetch_query_header
	movl	-24(%rbp), %esi
	movq	%r14, %rdi
	callq	_tl_store_init_keep_error
	movl	$1, %edi
	cmpl	%ebx, -40(%rbp)
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_tl_fetch_error
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_4:
	callq	_assert
	cmpq	$0, -32(%rbp)
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_tl_fetch_set_error
LBB0_6:
	xorl	%eax, %eax
	callq	_tl_fetch_int
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	cmpl	$6, %ecx
	ja	LBB0_15
## %bb.7:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_8:
	movq	_mct_set@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_1:
	movq	_SKIP_ALL_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_21
LBB0_15:
	movq	_TL_ERROR_UNKNOWN_FUNCTION_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_tl_fetch_set_error_format
	jmp	LBB0_19
LBB0_11:
	movq	_mct_replace@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_16:
	xorl	%edi, %edi
	jmp	LBB0_17
LBB0_14:
	xorl	%eax, %eax
	callq	_tl_memcache_get
	testl	%eax, %eax
	jns	LBB0_20
	jmp	LBB0_19
LBB0_13:
	xorl	%eax, %eax
	callq	_tl_memcache_delete
	testl	%eax, %eax
	jns	LBB0_20
	jmp	LBB0_19
LBB0_12:
	movl	$1, %edi
LBB0_17:
	callq	_tl_memcache_incr
	testl	%eax, %eax
	jns	LBB0_20
	jmp	LBB0_19
LBB0_10:
	movq	_mct_add@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edi
	callq	_tl_memcache_store
	testl	%eax, %eax
	jns	LBB0_20
LBB0_19:
	movq	_TL_ERROR_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_tl_fetch_set_error
LBB0_20:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_tl_store_end
	xorl	%eax, %eax
	callq	_tl_fetch_unread
	leaq	4(%rax), %rsi
	movq	%r14, %rdi
	callq	_advance_skip_read_ptr
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_tl_fetch_unread
	addq	$4, %rax
	xorl	%edi, %edi
	cmpq	%rax, %r14
	sete	%dil
	callq	_assert
LBB0_21:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_16
	.long	L0_0_set_14
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_RPC_INVOKE_REQ,4,2             ## @RPC_INVOKE_REQ
	.comm	_SKIP_ALL_BYTES,4,2             ## @SKIP_ALL_BYTES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Memcached only support actor_id = 0"

	.comm	_mct_set,4,2                    ## @mct_set
	.comm	_mct_add,4,2                    ## @mct_add
	.comm	_mct_replace,4,2                ## @mct_replace
	.comm	_TL_ERROR_UNKNOWN_FUNCTION_ID,4,2 ## @TL_ERROR_UNKNOWN_FUNCTION_ID
L_.str.1:                               ## @.str.1
	.asciz	"Unknown function id 0x%08x"

L_.str.2:                               ## @.str.2
	.asciz	"Unknown error occured"

	.comm	_TL_ERROR_UNKNOWN,4,2           ## @TL_ERROR_UNKNOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memcache_rpcs_execute          ; -- Begin function memcache_rpcs_execute
	.p2align	2
_memcache_rpcs_execute:                 ; @memcache_rpcs_execute
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _RPC_INVOKE_REQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RPC_INVOKE_REQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	sub	w1, w2, #4
	bl	_tl_fetch_init
	add	x0, sp, #8
	bl	_tl_fetch_query_header
	ldr	w1, [sp, #24]
	mov	x0, x19
	bl	_tl_store_init_keep_error
	ldr	w8, [sp, #8]
	cmp	w8, w20
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #1
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _SKIP_ALL_BYTES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SKIP_ALL_BYTES@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_21
LBB0_4:
	bl	_tl_fetch_error
	cmp	x0, #0
	cset	w0, ne
LBB0_5:
	bl	_assert
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_7
; %bb.6:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	bl	_tl_fetch_set_error
LBB0_7:
	bl	_tl_fetch_int
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_10
; %bb.8:
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:
Lloh10:
	adrp	x8, _mct_set@GOTPAGE
Lloh11:
	ldr	x8, [x8, _mct_set@GOTPAGEOFF]
	b	LBB0_18
LBB0_10:
	mov	x2, x0
Lloh12:
	adrp	x8, _TL_ERROR_UNKNOWN_FUNCTION_ID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TL_ERROR_UNKNOWN_FUNCTION_ID@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_tl_fetch_set_error_format
	b	LBB0_19
LBB0_11:
Lloh17:
	adrp	x8, _mct_replace@GOTPAGE
Lloh18:
	ldr	x8, [x8, _mct_replace@GOTPAGEOFF]
	b	LBB0_18
LBB0_12:
	mov	w0, #0
	b	LBB0_16
LBB0_13:
	bl	_tl_memcache_get
	tbz	w0, #31, LBB0_20
	b	LBB0_19
LBB0_14:
	bl	_tl_memcache_delete
	tbz	w0, #31, LBB0_20
	b	LBB0_19
LBB0_15:
	mov	w0, #1
LBB0_16:
	bl	_tl_memcache_incr
	tbz	w0, #31, LBB0_20
	b	LBB0_19
LBB0_17:
Lloh19:
	adrp	x8, _mct_add@GOTPAGE
Lloh20:
	ldr	x8, [x8, _mct_add@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x8]
	bl	_tl_memcache_store
	tbz	w0, #31, LBB0_20
LBB0_19:
Lloh21:
	adrp	x8, _TL_ERROR_UNKNOWN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TL_ERROR_UNKNOWN@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_tl_fetch_set_error
LBB0_20:
	bl	_tl_store_end
	bl	_tl_fetch_unread
	add	x1, x0, #4
	mov	x0, x19
	bl	_advance_skip_read_ptr
	mov	x19, x0
	bl	_tl_fetch_unread
	add	x8, x0, #4
	cmp	x19, x8
	cset	w0, eq
	bl	_assert
	mov	w0, #0
LBB0_21:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_11-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_17-LBB0_9)>>2
                                        ; -- End function
	.comm	_RPC_INVOKE_REQ,4,2             ; @RPC_INVOKE_REQ
	.comm	_SKIP_ALL_BYTES,4,2             ; @SKIP_ALL_BYTES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Memcached only support actor_id = 0"

	.comm	_mct_set,4,2                    ; @mct_set
	.comm	_mct_add,4,2                    ; @mct_add
	.comm	_mct_replace,4,2                ; @mct_replace
	.comm	_TL_ERROR_UNKNOWN_FUNCTION_ID,4,2 ; @TL_ERROR_UNKNOWN_FUNCTION_ID
l_.str.1:                               ; @.str.1
	.asciz	"Unknown function id 0x%08x"

l_.str.2:                               ; @.str.2
	.asciz	"Unknown error occured"

	.comm	_TL_ERROR_UNKNOWN,4,2           ; @TL_ERROR_UNKNOWN
.subsections_via_symbols
