	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memcache_incr                  ## -- Begin function memcache_incr
	.p2align	4, 0x90
_memcache_incr:                         ## @memcache_incr
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	cmpl	$7, %ecx
	jl	LBB0_6
## %bb.1:
	movq	%r8, %r14
	movq	%rdx, %rbx
	movl	%esi, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%rdx, %rdi
	movl	$6, %edx
	callq	_memcmp
	movq	_reverse_friends_mode@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jne	LBB0_6
## %bb.2:
	movq	_binlog_disabled@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	je	LBB0_6
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	leaq	-40(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$2, %eax
	jl	LBB0_6
## %bb.4:
	movl	-40(%rbp), %edi
	movl	-36(%rbp), %esi
	xorl	%edx, %edx
	testl	%r15d, %r15d
	cmoveq	%r14, %rdx
	notq	%r14
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	callq	_do_add_friend
	testl	%eax, %eax
	jle	LBB0_6
## %bb.5:
	movq	_stats_buff@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_sprintf
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	$11, %edx
LBB0_7:
	callq	_write_out
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"friend"

	.comm	_reverse_friends_mode,4,2       ## @reverse_friends_mode
	.comm	_binlog_disabled,4,2            ## @binlog_disabled
L_.str.1:                               ## @.str.1
	.asciz	"friend%d_%d"

	.comm	_stats_buff,8,3                 ## @stats_buff
L_.str.2:                               ## @.str.2
	.asciz	"%d\r\n"

L_.str.3:                               ## @.str.3
	.asciz	"NOT_FOUND\r\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memcache_incr                  ; -- Begin function memcache_incr
	.p2align	2
_memcache_incr:                         ; @memcache_incr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	cmp	w3, #7
	b.lt	LBB0_6
; %bb.1:
	mov	x20, x4
	mov	x22, x2
	mov	x21, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	mov	w2, #6
	bl	_memcmp
Lloh2:
	adrp	x8, _reverse_friends_mode@GOTPAGE
Lloh3:
	ldr	x8, [x8, _reverse_friends_mode@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w8, w0, w8
	cbnz	w8, LBB0_6
; %bb.2:
Lloh5:
	adrp	x8, _binlog_disabled@GOTPAGE
Lloh6:
	ldr	x8, [x8, _binlog_disabled@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, #2
	b.eq	LBB0_6
; %bb.3:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x22
	bl	_sscanf
	cmp	w0, #2
	b.lt	LBB0_6
; %bb.4:
	ldp	w1, w0, [sp, #8]
	cmp	w21, #0
	csel	x2, x20, xzr, eq
	mvn	x3, x20
	mov	w4, #0
	bl	_do_add_friend
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.5:
	mov	x2, x0
Lloh10:
	adrp	x8, _stats_buff@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stats_buff@GOTPAGEOFF]
Lloh12:
	ldr	x20, [x8]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	b	LBB0_7
LBB0_6:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #11
LBB0_7:
	bl	_write_out
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"friend"

	.comm	_reverse_friends_mode,4,2       ; @reverse_friends_mode
	.comm	_binlog_disabled,4,2            ; @binlog_disabled
l_.str.1:                               ; @.str.1
	.asciz	"friend%d_%d"

	.comm	_stats_buff,8,3                 ; @stats_buff
l_.str.2:                               ; @.str.2
	.asciz	"%d\r\n"

l_.str.3:                               ; @.str.3
	.asciz	"NOT_FOUND\r\n"

.subsections_via_symbols
