	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmemcached_incr_current        ## -- Begin function pmemcached_incr_current
	.p2align	4, 0x90
_pmemcached_incr_current:               ## @pmemcached_incr_current
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_current_cache@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpl	$-1, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movl	32(%rax), %esi
	movl	36(%rax), %edi
	callq	_on_value_change
	movq	(%r15), %rcx
	movl	(%rcx), %eax
	movl	$4294967294, %edx               ## imm = 0xFFFFFFFE
	cmpq	%rdx, %rax
	jne	LBB0_3
## %bb.5:
	movq	24(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	addq	%r14, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_1:
	movl	$-1, %ebx
	jmp	LBB0_15
LBB0_3:
	testl	%eax, %eax
	jle	LBB0_4
## %bb.8:
	movq	8(%rcx), %r8
	movl	$1, %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movsbq	-1(%r8,%rdx), %rbx
	leal	-48(%rbx), %edi
	cmpb	$10, %dil
	leaq	(%rsi,%rsi,4), %rcx
	leaq	-48(%rbx,%rcx,2), %rbx
	cmovbq	%rbx, %rsi
	cmpq	%rax, %rdx
	jae	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rdx
	cmpb	$10, %dil
	jb	LBB0_9
LBB0_11:
	xorl	%edx, %edx
	cmpb	$10, %dil
	cmovbq	%rbx, %rdx
	jmp	LBB0_12
LBB0_7:
	movq	_pmct_set@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$-2, %edx
	xorl	%ecx, %ecx
	movl	$-1, %r8d
	callq	_pmemcached_store_current
	movq	(%r15), %rax
	movq	24(%rax), %rax
	movq	%r14, (%rax)
	jmp	LBB0_15
LBB0_4:
	xorl	%edx, %edx
LBB0_12:
	addq	%r14, %rdx
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sprintf
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$4, (%rax)
	jl	LBB0_14
## %bb.13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	-64(%rbp), %rdx
	callq	_fprintf
LBB0_14:
	movq	_pmct_set@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movl	16(%rax), %r8d
	movl	20(%rax), %ecx
	leaq	-64(%rbp), %rsi
	movl	%ebx, %edx
	callq	_pmemcached_store_current
	movl	%eax, %ebx
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_current_cache,8,3              ## @current_cache
	.comm	_pmct_set,4,2                   ## @pmct_set
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%llu"

	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"new value is %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmemcached_incr_current        ; -- Begin function pmemcached_incr_current
	.p2align	2
_pmemcached_incr_current:               ; @pmemcached_incr_current
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x20, _current_cache@GOTPAGE
Lloh4:
	ldr	x20, [x20, _current_cache@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w9, [x8]
	cmn	w9, #1
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
	ldp	w1, w0, [x8, #32]
	bl	_on_value_change
	ldr	x11, [x20]
	ldr	w8, [x11]
	cmn	w8, #2
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x11, #24]
	cbz	x8, LBB0_10
; %bb.3:
	mov	w0, #0
	ldr	x9, [x8]
	add	x9, x9, x19
	str	x9, [x8]
	b	LBB0_15
LBB0_4:
	mov	w0, #-1
	b	LBB0_15
LBB0_5:
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.6:
	mov	x9, #0
	mov	x10, #0
	ldr	x11, [x11, #8]
	mov	w12, #10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	x14, [x11, x9]
	sub	w13, w14, #48
	and	w13, w13, #0xff
	madd	x14, x10, x12, x14
	sub	x14, x14, #48
	cmp	w13, #10
	csel	x10, x14, x10, lo
	add	x9, x9, #1
	cmp	x9, x8
	b.hs	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w13, #10
	b.lo	LBB0_7
LBB0_9:
	cmp	w13, #10
	csel	x8, x14, xzr, lo
	b	LBB0_12
LBB0_10:
Lloh5:
	adrp	x8, _pmct_set@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pmct_set@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, #0
	mov	w2, #-2
	mov	w3, #0
	mov	w4, #-1
	bl	_pmemcached_store_current
	mov	w0, #0
	ldr	x8, [x20]
	ldr	x8, [x8, #24]
	str	x19, [x8]
	b	LBB0_15
LBB0_11:
	mov	x8, #0
LBB0_12:
	add	x2, x8, x19
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #10
	bl	_sprintf
	add	x0, sp, #10
	bl	_strlen
	mov	x19, x0
Lloh10:
	adrp	x8, _verbosity@GOTPAGE
Lloh11:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, #4
	b.lt	LBB0_14
; %bb.13:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #10
	bl	_fprintf
LBB0_14:
Lloh18:
	adrp	x8, _pmct_set@GOTPAGE
Lloh19:
	ldr	x8, [x8, _pmct_set@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldp	w4, w3, [x8, #16]
	add	x1, sp, #10
	mov	x2, x19
	bl	_pmemcached_store_current
LBB0_15:
	ldur	x8, [x29, #-24]
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_17
; %bb.16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_current_cache,8,3              ; @current_cache
	.comm	_pmct_set,4,2                   ; @pmct_set
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%llu"

	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"new value is %s\n"

.subsections_via_symbols
