	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rrset_cache_lookup             ## -- Begin function rrset_cache_lookup
	.p2align	4, 0x90
_rrset_cache_lookup:                    ## @rrset_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movl	%r8d, %ebx
	movq	%rdi, %r12
	leaq	-104(%rbp), %r13
	movq	%r13, -88(%rbp)
	movq	$0, -96(%rbp)
	leaq	-80(%rbp), %r14
	movq	%rsi, -48(%rbp)
	movq	%rdx, -80(%rbp)
	movl	%ecx, %edi
	callq	_htons
	movq	%rax, -56(%rbp)
	movl	%ebx, %edi
	callq	_htons
	movq	%rax, -64(%rbp)
	movl	%r15d, -72(%rbp)
	movq	%r14, %rdi
	callq	_rrset_key_hash
	movl	%eax, -104(%rbp)
	movq	%r12, %rdi
	movl	%eax, %esi
	movq	%r13, %rdx
	movl	24(%rbp), %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	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_rrset_cache_lookup             ; -- Begin function rrset_cache_lookup
	.p2align	2
_rrset_cache_lookup:                    ; @rrset_cache_lookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x7
	mov	x19, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x0
	mov	x8, sp
	stp	xzr, x8, [sp, #8]
	str	x1, [sp, #56]
	str	x2, [sp, #24]
	add	x24, x8, #24
	mov	x0, x3
	bl	_htons
	str	x0, [sp, #48]
	mov	x0, x22
	bl	_htons
	str	x0, [sp, #40]
	str	w21, [sp, #32]
	mov	x0, x24
	bl	_rrset_key_hash
	mov	x1, x0
	str	w0, [sp]
	mov	x2, sp
	mov	x0, x23
	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, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
