	.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, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_WaitAioArrClear
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_memcache_try_get
	cmpl	$-2, %eax
	jne	LBB0_10
## %bb.1:
	movl	(%r12), %eax
	movq	_C_INTIMEOUT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_11
## %bb.3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	callq	_fprintf
	jmp	LBB0_11
LBB0_10:
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	jmp	LBB0_11
LBB0_4:
	cmpl	$8193, 16(%r12)                 ## imm = 0x2001
	jl	LBB0_6
## %bb.5:
	movq	_C_WANTWR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r12)
	movq	8(%r12), %rax
	movq	%r12, %rdi
	callq	*(%rax)
LBB0_6:
	movq	_WaitAioArrPos@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_assert
	cmpl	$0, (%r15)
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	movq	_WaitAioArr@GOTPCREL(%rip), %r13
	movq	_aio_metafile_query_type@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_assert
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	movq	%r12, %rsi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movq	%r14, %rdx
	callq	_conn_schedule_aio
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	movq	%r12, %rdi
	callq	_set_connection_timeout
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	_C_INTIMEOUT,4,2                ## @C_INTIMEOUT
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"memcache_get: IN TIMEOUT (%p)\n"

	.comm	_C_WANTWR,4,2                   ## @C_WANTWR
	.comm	_WaitAioArrPos,4,2              ## @WaitAioArrPos
	.comm	_WaitAioArr,8,3                 ## @WaitAioArr
	.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:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_WaitAioArrClear
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_memcache_try_get
	cmn	w0, #2
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _C_INTIMEOUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _C_INTIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _verbosity@GOTPAGE
Lloh4:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_11
; %bb.3:
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, x19
	bl	_fprintf
	b	LBB0_11
LBB0_4:
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	b	LBB0_11
LBB0_5:
	ldr	w9, [x19, #16]
	cmp	w9, #2, lsl #12                 ; =8192
	b.le	LBB0_7
; %bb.6:
Lloh11:
	adrp	x9, _C_WANTWR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _C_WANTWR@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
LBB0_7:
Lloh14:
	adrp	x21, _WaitAioArrPos@GOTPAGE
Lloh15:
	ldr	x21, [x21, _WaitAioArrPos@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_assert
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x22, #0
Lloh16:
	adrp	x23, _WaitAioArr@GOTPAGE
Lloh17:
	ldr	x23, [x23, _WaitAioArr@GOTPAGEOFF]
Lloh18:
	adrp	x20, _aio_metafile_query_type@GOTPAGE
Lloh19:
	ldr	x20, [x20, _aio_metafile_query_type@GOTPAGEOFF]
	mov	x24, #7378697629483820646
	movk	x24, #16358, lsl #48
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	lsl	x25, x22, #2
	ldr	w0, [x8, x25]
	bl	_assert
	ldr	x8, [x23]
	ldr	w0, [x8, x25]
	fmov	d0, x24
	mov	x1, x19
	mov	x2, x20
	bl	_conn_schedule_aio
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_9
LBB0_10:
	fmov	d0, #0.50000000
	mov	x0, x19
	bl	_set_connection_timeout
LBB0_11:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_C_INTIMEOUT,4,2                ; @C_INTIMEOUT
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"memcache_get: IN TIMEOUT (%p)\n"

	.comm	_C_WANTWR,4,2                   ; @C_WANTWR
	.comm	_WaitAioArrPos,4,2              ; @WaitAioArrPos
	.comm	_WaitAioArr,8,3                 ; @WaitAioArr
	.comm	_aio_metafile_query_type,4,2    ; @aio_metafile_query_type
.subsections_via_symbols
