	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function memcache_get
LCPI0_0:
	.quad	0x3fe6666666666666              ## double 0.69999999999999996
LCPI0_1:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_memcache_get
	.p2align	4, 0x90
_memcache_get:                          ## @memcache_get
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_verbosity@GOTPCREL(%rip), %r12
	cmpl	$2, (%r12)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_2:
	movq	_WaitAio@GOTPCREL(%rip), %r13
	movq	$0, (%r13)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_memcache_try_get
	cmpl	$-2, %eax
	jne	LBB0_11
## %bb.3:
	movl	(%r14), %eax
	movq	_C_INTIMEOUT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.4:
	cmpl	$2, (%r12)
	jl	LBB0_11
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_11
LBB0_6:
	cmpl	$8193, 16(%r14)                 ## imm = 0x2001
	jl	LBB0_8
## %bb.7:
	movq	_C_WANTWR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	movq	8(%r14), %rax
	movq	%r14, %rdi
	callq	*(%rax)
LBB0_8:
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.10:
	movq	_aio_metafile_query_type@GOTPCREL(%rip), %rdx
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movq	%r14, %rsi
	callq	_conn_schedule_aio
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	movq	%r14, %rdi
	callq	_set_connection_timeout
	jmp	LBB0_11
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"memcache_get: key='%s'\n"

	.comm	_WaitAio,8,3                    ## @WaitAio
	.comm	_C_INTIMEOUT,4,2                ## @C_INTIMEOUT
L_.str.1:                               ## @.str.1
	.asciz	"memcache_get: IN TIMEOUT (%p)\n"

	.comm	_C_WANTWR,4,2                   ## @C_WANTWR
L_.str.2:                               ## @.str.2
	.asciz	"WaitAio=0 - no memory to load user metafile, query dropped.\n"

	.comm	_aio_metafile_query_type,4,2    ## @aio_metafile_query_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memcache_get                   ; -- Begin function memcache_get
	.p2align	2
_memcache_get:                          ; @memcache_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _verbosity@GOTPAGE
Lloh1:
	ldr	x22, [x22, _verbosity@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
Lloh7:
	adrp	x23, _WaitAio@GOTPAGE
Lloh8:
	ldr	x23, [x23, _WaitAio@GOTPAGEOFF]
	str	xzr, [x23]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_memcache_try_get
	cmn	w0, #2
	b.ne	LBB0_12
; %bb.3:
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _C_INTIMEOUT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _C_INTIMEOUT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	ldr	w8, [x22]
	cmp	w8, #2
	b.lt	LBB0_12
; %bb.5:
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	str	x19, [sp]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_6:
	ldr	w9, [x19, #16]
	cmp	w9, #2, lsl #12                 ; =8192
	b.le	LBB0_8
; %bb.7:
Lloh17:
	adrp	x9, _C_WANTWR@GOTPAGE
Lloh18:
	ldr	x9, [x9, _C_WANTWR@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
LBB0_8:
	ldr	x0, [x23]
	cbz	x0, LBB0_10
; %bb.9:
Lloh20:
	adrp	x2, _aio_metafile_query_type@GOTPAGE
Lloh21:
	ldr	x2, [x2, _aio_metafile_query_type@GOTPAGEOFF]
	mov	x8, #7378697629483820646
	movk	x8, #16358, lsl #48
	fmov	d0, x8
	mov	x1, x19
	bl	_conn_schedule_aio
	fmov	d0, #0.50000000
	mov	x0, x19
	bl	_set_connection_timeout
	b	LBB0_12
LBB0_10:
Lloh22:
	adrp	x8, _stderr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_11:
	bl	_fprintf
LBB0_12:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"memcache_get: key='%s'\n"

	.comm	_WaitAio,8,3                    ; @WaitAio
	.comm	_C_INTIMEOUT,4,2                ; @C_INTIMEOUT
l_.str.1:                               ; @.str.1
	.asciz	"memcache_get: IN TIMEOUT (%p)\n"

	.comm	_C_WANTWR,4,2                   ; @C_WANTWR
l_.str.2:                               ; @.str.2
	.asciz	"WaitAio=0 - no memory to load user metafile, query dropped.\n"

	.comm	_aio_metafile_query_type,4,2    ; @aio_metafile_query_type
.subsections_via_symbols
