	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, %ebx
	movq	%rdx, %r12
	movl	%esi, %r13d
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_fprintf
LBB0_2:
	movq	%r14, %r15
	negq	%r15
	cmovsq	%r14, %r15
	shrq	$63, %r14
	xorl	%r13d, %r14d
	cmpl	$1, %r14d
	jne	LBB0_3
## %bb.4:
	movq	_cmd_decr@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_cmd_incr@GOTPCREL(%rip), %rax
LBB0_5:
	incl	(%rax)
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_get_hash
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_get_entry
	movl	%eax, %r12d
	movl	$2, %edi
	callq	_ADD_OPER
	cmpl	$-1, %r12d
	je	LBB0_6
## %bb.7:
	movl	%r12d, %edi
	callq	_get_entry_ptr
	movl	(%rax), %esi
	testl	%esi, %esi
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jle	LBB0_8
## %bb.9:
	movq	8(%rax), %rdi
	movl	$1, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movsbq	-1(%rdi,%rax), %r8
	leal	-48(%r8), %ebx
	leaq	(%rcx,%rcx,4), %rdx
	leaq	(%r8,%rdx,2), %rdx
	addq	$-48, %rdx
	cmpb	$10, %bl
	cmovbq	%rdx, %rcx
	jae	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	1(%rax), %r8
	cmpq	%rsi, %rax
	movq	%r8, %rax
	jb	LBB0_10
LBB0_12:
	xorl	%eax, %eax
	cmpb	$10, %bl
	cmovbq	%rdx, %rax
	jmp	LBB0_13
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	$11, %edx
	jmp	LBB0_14
LBB0_8:
	movq	8(%rax), %rdi
	xorl	%eax, %eax
LBB0_13:
	leaq	(%rax,%r15), %rcx
	xorl	%ebx, %ebx
	subq	%r15, %rax
	cmovaeq	%rax, %rbx
	cmpl	$1, %r14d
	cmovneq	%rcx, %rbx
	incl	%esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_zzfree
	movl	%r12d, %edi
	callq	_del_entry_used
	movl	%r12d, %edi
	callq	_add_entry_used
	leaq	L_.str.2(%rip), %rsi
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_sprintf
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r13d
	leal	1(%r13), %r12d
	movl	%r12d, %edi
	callq	_zzmalloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, 8(%rax)
	movl	%r13d, (%rax)
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_write_out
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	$2, %edx
LBB0_14:
	callq	_write_out
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"memcache_incr: op=%d, key='%s', val=%lld\n"

	.comm	_cmd_decr,4,2                   ## @cmd_decr
	.comm	_cmd_incr,4,2                   ## @cmd_incr
L_.str.1:                               ## @.str.1
	.asciz	"NOT_FOUND\r\n"

L_.str.2:                               ## @.str.2
	.asciz	"%llu"

L_.str.3:                               ## @.str.3
	.asciz	"\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, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x23, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _verbosity@GOTPAGE
Lloh4:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	mov	x3, x21
	mov	x4, x23
	bl	_fprintf
LBB0_2:
	cmp	x23, #0
	cneg	x24, x23, mi
	lsr	x8, x23, #63
Lloh11:
	adrp	x9, _cmd_incr@GOTPAGE
Lloh12:
	ldr	x9, [x9, _cmd_incr@GOTPAGEOFF]
Lloh13:
	adrp	x10, _cmd_decr@GOTPAGE
Lloh14:
	ldr	x10, [x10, _cmd_decr@GOTPAGEOFF]
	eor	w22, w8, w22
	cmp	w22, #1
	csel	x8, x10, x9, eq
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_get_hash
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_get_entry
	mov	x21, x0
	mov	w0, #2
	bl	_ADD_OPER
	cmn	w21, #1
	b.eq	LBB0_7
; %bb.3:
	mov	x0, x21
	bl	_get_entry_ptr
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, #0
	b.le	LBB0_8
; %bb.4:
	mov	x9, #0
	mov	x10, #0
	ldr	x0, [x20, #8]
	mov	w11, #10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	x13, [x0, x9]
	sub	w12, w13, #48
	and	w12, w12, #0xff
	madd	x13, x10, x11, x13
	sub	x13, x13, #48
	cmp	w12, #10
	csel	x10, x13, x10, lo
	add	x9, x9, #1
	cmp	w12, #9
	ccmp	x9, x8, #2, ls
	b.lo	LBB0_5
; %bb.6:
	cmp	w12, #10
	csel	x9, x13, xzr, lo
	b	LBB0_9
LBB0_7:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #11
	b	LBB0_10
LBB0_8:
	mov	x9, #0
	ldr	x0, [x20, #8]
LBB0_9:
	add	x10, x9, x24
	subs	x9, x9, x24
	csel	x9, xzr, x9, lo
	cmp	w22, #1
	csel	x22, x9, x10, eq
	add	w1, w8, #1
	bl	_zzfree
	mov	x0, x21
	bl	_del_entry_used
	mov	x0, x21
	bl	_add_entry_used
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #10
	mov	x2, x22
	bl	_sprintf
	add	x0, sp, #10
	bl	_strlen
	mov	x21, x0
	add	w22, w0, #1
	mov	x0, x22
	bl	_zzmalloc
	mov	x23, x0
	add	x1, sp, #10
	mov	x2, x22
	bl	_memcpy
	str	x23, [x20, #8]
	str	w21, [x20]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_write_out
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #2
LBB0_10:
	bl	_write_out
	ldr	x8, [sp, #40]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"memcache_incr: op=%d, key='%s', val=%lld\n"

	.comm	_cmd_decr,4,2                   ; @cmd_decr
	.comm	_cmd_incr,4,2                   ; @cmd_incr
l_.str.1:                               ; @.str.1
	.asciz	"NOT_FOUND\r\n"

l_.str.2:                               ; @.str.2
	.asciz	"%llu"

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

.subsections_via_symbols
