	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_val_get_mem                    ## -- Begin function val_get_mem
	.p2align	4, 0x90
_val_get_mem:                           ## @val_get_mem
	.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	(%rdi), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movl	8(%rbx), %edi
	callq	_key_cache_get_mem
	movq	%rax, %r14
	movl	4(%rbx), %edi
	callq	_val_neg_get_mem
	addq	%r14, %rax
	movslq	(%rbx), %rcx
	shlq	$4, %rcx
	addq	%rcx, %rax
	addq	$12, %rax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_val_get_mem                    ; -- Begin function val_get_mem
	.p2align	2
_val_get_mem:                           ; @val_get_mem
	.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
	ldr	x8, [x0]
	ldr	x20, [x8, w1, sxtw #3]
	cbz	x20, LBB0_2
; %bb.1:
	ldr	w0, [x20, #8]
	bl	_key_cache_get_mem
	mov	x19, x0
	ldr	w0, [x20, #4]
	bl	_val_neg_get_mem
	add	x8, x19, x0
	ldrsw	x9, [x20]
	add	x8, x8, x9, lsl #4
	add	x0, x8, #12
	b	LBB0_3
LBB0_2:
	mov	x0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
