	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmemcached_delete_current      ## -- Begin function pmemcached_delete_current
	.p2align	4, 0x90
_pmemcached_delete_current:             ## @pmemcached_delete_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_current_cache@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpl	$-1, 12(%rax)
	je	LBB0_1
## %bb.2:
	movl	20(%rax), %esi
	movl	24(%rax), %edi
	callq	_on_value_change
	movq	(%r14), %rax
	movl	16(%rax), %ebx
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_pmct_set@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	movl	$-1, %r8d
	callq	_pmemcached_store_current
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_4:
	movl	8(%rax), %edi
	callq	_del_entry
LBB0_5:
	movq	(%r14), %rdi
	callq	_cache_reload
	xorl	%eax, %eax
	callq	_get_double_time_since_epoch
	cmpl	%eax, %ebx
	setge	%al
	movq	_DELAY_INFINITY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
	addl	%eax, %eax
	decl	%eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_cache,8,3              ## @current_cache
	.comm	_pmct_set,4,2                   ## @pmct_set
	.comm	_DELAY_INFINITY,4,2             ## @DELAY_INFINITY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmemcached_delete_current      ; -- Begin function pmemcached_delete_current
	.p2align	2
_pmemcached_delete_current:             ; @pmemcached_delete_current
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _current_cache@GOTPAGE
Lloh1:
	ldr	x19, [x19, _current_cache@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w9, [x8, #12]
	cmn	w9, #1
	b.eq	LBB0_3
; %bb.1:
	ldp	w1, w0, [x8, #20]
	bl	_on_value_change
	ldr	x8, [x19]
	ldr	w20, [x8, #16]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.2:
Lloh2:
	adrp	x8, _pmct_set@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pmct_set@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #-1
	mov	w3, #0
	mov	w4, #-1
	bl	_pmemcached_store_current
	b	LBB0_5
LBB0_3:
	mov	w0, #-1
	b	LBB0_6
LBB0_4:
	ldr	w0, [x8, #8]
	bl	_del_entry
LBB0_5:
	ldr	x0, [x19]
	bl	_cache_reload
	bl	_get_double_time_since_epoch
Lloh5:
	adrp	x8, _DELAY_INFINITY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DELAY_INFINITY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w20, w8
	ccmp	w20, w0, #0, ne
	mov	w8, #1
	cneg	w0, w8, lt
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_current_cache,8,3              ; @current_cache
	.comm	_pmct_set,4,2                   ; @pmct_set
	.comm	_DELAY_INFINITY,4,2             ; @DELAY_INFINITY
.subsections_via_symbols
