	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msg_cache_lookup               ## -- Begin function msg_cache_lookup
	.p2align	4, 0x90
_msg_cache_lookup:                      ## @msg_cache_lookup
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	24(%rbp), %r14d
	movq	%rsi, -32(%rbp)
	movq	%rdx, -64(%rbp)
	movq	%rcx, -40(%rbp)
	movq	%r8, -48(%rbp)
	movq	$0, -56(%rbp)
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	movq	%r9, %rsi
	callq	_query_info_hash
	movl	(%rbx), %edi
	movl	%eax, %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_slabhash_lookup
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	16(%rbp), %rcx
	movq	16(%rax), %rdx
	cmpq	%rcx, (%rdx)
	jge	LBB0_4
## %bb.2:
	addq	$8, %rax
	movq	%rax, %rdi
	callq	_lock_rw_unlock
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	movq	(%rax), %rax
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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	_msg_cache_lookup               ; -- Begin function msg_cache_lookup
	.p2align	2
_msg_cache_lookup:                      ; @msg_cache_lookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x7
	mov	x19, x6
	mov	x21, x0
	stp	x3, x1, [sp, #32]
	stp	xzr, x4, [sp, #16]
	str	x2, [sp, #8]
	add	x0, sp, #8
	mov	x1, x5
	bl	_query_info_hash
	mov	x1, x0
	ldr	w0, [x21]
	add	x2, sp, #8
	mov	x3, x20
	bl	_slabhash_lookup
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	cmp	x8, x19
	b.ge	LBB0_3
; %bb.2:
	add	x0, x0, #8
	bl	_lock_rw_unlock
	mov	x0, #0
	b	LBB0_4
LBB0_3:
	ldr	x0, [x0]
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
