	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function memcache_write_res
_memcache_write_res:                    ## @memcache_write_res
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_REQ_WAITING@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_1
## %bb.5:
	movq	_get_hits@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	$2, %edx
	popq	%rbp
	jmp	_return_one_key_int             ## TAILCALL
LBB0_1:
	movq	_REQ_RUNNING@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_2
## %bb.6:
	movq	_get_hits@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	$3, %edx
	popq	%rbp
	jmp	_return_one_key_int             ## TAILCALL
LBB0_2:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_3
## %bb.7:
	movq	_get_hits@GOTPCREL(%rip), %rax
	incl	(%rax)
	xorl	%edx, %edx
	popq	%rbp
	jmp	_return_one_key_int             ## TAILCALL
LBB0_3:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_4
## %bb.8:
	movq	_get_hits@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	$1, %edx
	popq	%rbp
	jmp	_return_one_key_int             ## TAILCALL
LBB0_4:
	movq	_get_missed@GOTPCREL(%rip), %rax
	incl	(%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REQ_WAITING,4,2                ## @REQ_WAITING
	.comm	_get_hits,4,2                   ## @get_hits
	.comm	_REQ_RUNNING,4,2                ## @REQ_RUNNING
	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_get_missed,4,2                 ## @get_missed
	.no_dead_strip	_memcache_write_res
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function memcache_write_res
_memcache_write_res:                    ; @memcache_write_res
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _REQ_WAITING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REQ_WAITING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _get_hits@GOTPAGE
Lloh4:
	ldr	x8, [x8, _get_hits@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	w2, #2
	b	_return_one_key_int
LBB0_2:
Lloh5:
	adrp	x8, _REQ_RUNNING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REQ_RUNNING@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _get_hits@GOTPAGE
Lloh9:
	ldr	x8, [x8, _get_hits@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	w2, #3
	b	_return_one_key_int
LBB0_4:
Lloh10:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_6
; %bb.5:
Lloh13:
	adrp	x8, _get_hits@GOTPAGE
Lloh14:
	ldr	x8, [x8, _get_hits@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	w2, #0
	b	_return_one_key_int
LBB0_6:
Lloh15:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_8
; %bb.7:
Lloh18:
	adrp	x8, _get_hits@GOTPAGE
Lloh19:
	ldr	x8, [x8, _get_hits@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	w2, #1
	b	_return_one_key_int
LBB0_8:
Lloh20:
	adrp	x8, _get_missed@GOTPAGE
Lloh21:
	ldr	x8, [x8, _get_missed@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_REQ_WAITING,4,2                ; @REQ_WAITING
	.comm	_get_hits,4,2                   ; @get_hits
	.comm	_REQ_RUNNING,4,2                ; @REQ_RUNNING
	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_get_missed,4,2                 ; @get_missed
	.no_dead_strip	_memcache_write_res
.subsections_via_symbols
