	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memcache_delete                ## -- Begin function memcache_delete
	.p2align	4, 0x90
_memcache_delete:                       ## @memcache_delete
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_delete_queries@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%rdi, %r14
	movq	_binlog_disabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.18:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_not_found                      ## TAILCALL
LBB0_1:
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	_cache_features_mask@GOTPCREL(%rip), %r12
	movq	_CACHE_FEATURE_LONG_QUERIES@GOTPCREL(%rip), %r13
	cmpl	$13, %edx
	jl	LBB0_9
## %bb.2:
	movl	(%r13), %eax
	andl	(%r12), %eax
	je	LBB0_9
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	$13, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_9
## %bb.4:
	leaq	13(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-52(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$3, %eax
	jne	LBB0_9
## %bb.5:
	movq	_cache_id@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	-52(%rbp), %eax
	jne	LBB0_9
## %bb.6:
	movq	_delete_remote_server_queries@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %esi
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	callq	_cache_do_delete_remote_disk
	testl	%eax, %eax
	jle	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$9, %edx
	callq	_write_out
	jmp	LBB0_17
LBB0_8:
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %ecx
	leaq	L_.str.3(%rip), %rsi
	movl	$2, %edi
	movl	%eax, %r8d
	callq	_vkprintf
	movq	_cache_features_mask@GOTPCREL(%rip), %r12
LBB0_9:
	cmpl	$11, %ebx
	jl	LBB0_16
## %bb.10:
	movl	(%r13), %eax
	andl	(%r12), %eax
	je	LBB0_16
## %bb.11:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	$11, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_16
## %bb.12:
	addq	$11, %r15
	leaq	L_.str.5(%rip), %rsi
	leaq	-52(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	leaq	-56(%rbp), %r9
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$4, %eax
	jne	LBB0_16
## %bb.13:
	movq	_cache_id@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	-52(%rbp), %eax
	jne	LBB0_16
## %bb.14:
	movq	_delete_remote_disk_queries@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %esi
	movl	-56(%rbp), %edx
	callq	_cache_do_delete_remote_disk
	testl	%eax, %eax
	jle	LBB0_16
## %bb.15:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$9, %edx
	callq	_write_out
	xorl	%r12d, %r12d
	jmp	LBB0_17
LBB0_16:
	movq	%r14, %rdi
	callq	_not_found
	movl	%eax, %r12d
LBB0_17:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_delete_queries,4,2             ## @delete_queries
	.comm	_binlog_disabled,8,3            ## @binlog_disabled
	.comm	_cache_features_mask,4,2        ## @cache_features_mask
	.comm	_CACHE_FEATURE_LONG_QUERIES,4,2 ## @CACHE_FEATURE_LONG_QUERIES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"remote_server"

L_.str.1:                               ## @.str.1
	.asciz	"%d,%d,%d"

	.comm	_cache_id,4,2                   ## @cache_id
	.comm	_delete_remote_server_queries,4,2 ## @delete_remote_server_queries
L_.str.2:                               ## @.str.2
	.asciz	"DELETED\r\n"

L_.str.3:                               ## @.str.3
	.asciz	"cache_do_delete_remote_disk (node_id:%d, server_id:%d) retuned %d.\n"

L_.str.4:                               ## @.str.4
	.asciz	"remote_disk"

L_.str.5:                               ## @.str.5
	.asciz	"%d,%d,%d,%d"

	.comm	_delete_remote_disk_queries,4,2 ## @delete_remote_disk_queries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memcache_delete                ; -- Begin function memcache_delete
	.p2align	2
_memcache_delete:                       ; @memcache_delete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _delete_queries@GOTPAGE
Lloh1:
	ldr	x8, [x8, _delete_queries@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh2:
	adrp	x8, _binlog_disabled@GOTPAGE
Lloh3:
	ldr	x8, [x8, _binlog_disabled@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	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
	add	sp, sp, #96
	b	_not_found
LBB0_2:
	mov	x21, x2
	mov	x20, x1
Lloh5:
	adrp	x22, _cache_features_mask@GOTPAGE
Lloh6:
	ldr	x22, [x22, _cache_features_mask@GOTPAGEOFF]
Lloh7:
	adrp	x23, _CACHE_FEATURE_LONG_QUERIES@GOTPAGE
Lloh8:
	ldr	x23, [x23, _CACHE_FEATURE_LONG_QUERIES@GOTPAGEOFF]
	cmp	w2, #13
	b.lt	LBB0_9
; %bb.3:
	ldr	w8, [x22]
	ldr	w9, [x23]
	and	w8, w9, w8
	cbz	w8, LBB0_9
; %bb.4:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #13
	bl	_memcmp
	cbnz	w0, LBB0_9
; %bb.5:
	add	x0, x20, #13
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #28
	add	x3, sp, #24
	add	x4, sp, #20
	bl	_sscanf
	cmp	w0, #3
	b.ne	LBB0_9
; %bb.6:
Lloh13:
	adrp	x8, _cache_id@GOTPAGE
Lloh14:
	ldr	x8, [x8, _cache_id@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [sp, #28]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.7:
Lloh16:
	adrp	x8, _delete_remote_server_queries@GOTPAGE
Lloh17:
	ldr	x8, [x8, _delete_remote_server_queries@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldp	w1, w0, [sp, #20]
	mov	w2, #0
	bl	_cache_do_delete_remote_disk
	cmp	w0, #1
	b.ge	LBB0_15
; %bb.8:
	mov	x4, x0
	ldp	w3, w2, [sp, #20]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
LBB0_9:
	cmp	w21, #11
	b.lt	LBB0_16
; %bb.10:
	ldr	w8, [x22]
	ldr	w9, [x23]
	and	w8, w9, w8
	cbz	w8, LBB0_16
; %bb.11:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	w2, #11
	bl	_memcmp
	cbnz	w0, LBB0_16
; %bb.12:
	add	x0, x20, #11
	add	x8, sp, #16
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	str	x8, [sp]
	add	x2, sp, #28
	add	x3, sp, #24
	add	x4, sp, #20
	bl	_sscanf
	cmp	w0, #4
	b.ne	LBB0_16
; %bb.13:
Lloh24:
	adrp	x8, _cache_id@GOTPAGE
Lloh25:
	ldr	x8, [x8, _cache_id@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [sp, #28]
	cmp	w8, w9
	b.ne	LBB0_16
; %bb.14:
Lloh27:
	adrp	x8, _delete_remote_disk_queries@GOTPAGE
Lloh28:
	ldr	x8, [x8, _delete_remote_disk_queries@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldp	w1, w0, [sp, #20]
	ldr	w2, [sp, #16]
	bl	_cache_do_delete_remote_disk
	cmp	w0, #1
	b.lt	LBB0_16
LBB0_15:
Lloh29:
	adrp	x1, l_.str.2@PAGE
Lloh30:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #9
	bl	_write_out
	mov	w0, #0
	b	LBB0_17
LBB0_16:
	mov	x0, x19
	bl	_not_found
LBB0_17:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_delete_queries,4,2             ; @delete_queries
	.comm	_binlog_disabled,8,3            ; @binlog_disabled
	.comm	_cache_features_mask,4,2        ; @cache_features_mask
	.comm	_CACHE_FEATURE_LONG_QUERIES,4,2 ; @CACHE_FEATURE_LONG_QUERIES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"remote_server"

l_.str.1:                               ; @.str.1
	.asciz	"%d,%d,%d"

	.comm	_cache_id,4,2                   ; @cache_id
	.comm	_delete_remote_server_queries,4,2 ; @delete_remote_server_queries
l_.str.2:                               ; @.str.2
	.asciz	"DELETED\r\n"

l_.str.3:                               ; @.str.3
	.asciz	"cache_do_delete_remote_disk (node_id:%d, server_id:%d) retuned %d.\n"

l_.str.4:                               ; @.str.4
	.asciz	"remote_disk"

l_.str.5:                               ; @.str.5
	.asciz	"%d,%d,%d,%d"

	.comm	_delete_remote_disk_queries,4,2 ; @delete_remote_disk_queries
.subsections_via_symbols
