	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdrqempty                      ## -- Begin function hdrqempty
	.p2align	4, 0x90
_hdrqempty:                             ## @hdrqempty
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	movl	4(%rdi), %edi
	movq	_RCV_HDR_HEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_read_uctxt_csr
	movl	%eax, %r14d
	movq	_RCV_HDR_HEAD_HEAD_SMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_RCV_HDR_HEAD_HEAD_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_get_rcvhdrtail
	jmp	LBB0_3
LBB0_2:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movq	_RCV_HDR_TAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_read_uctxt_csr
LBB0_3:
	andl	%r14d, %r12d
	movl	%r15d, %ecx
	sarl	%cl, %r12d
	xorl	%ecx, %ecx
	cmpl	%eax, %r12d
	sete	%cl
	movl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RCV_HDR_HEAD,4,2               ## @RCV_HDR_HEAD
	.comm	_RCV_HDR_HEAD_HEAD_SMASK,4,2    ## @RCV_HDR_HEAD_HEAD_SMASK
	.comm	_RCV_HDR_HEAD_HEAD_SHIFT,4,2    ## @RCV_HDR_HEAD_HEAD_SHIFT
	.comm	_RCV_HDR_TAIL,4,2               ## @RCV_HDR_TAIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdrqempty                      ; -- Begin function hdrqempty
	.p2align	2
_hdrqempty:                             ; @hdrqempty
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldr	w0, [x0, #4]
	ldr	w1, [x20]
Lloh0:
	adrp	x8, _RCV_HDR_HEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RCV_HDR_HEAD@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_read_uctxt_csr
	mov	x19, x0
Lloh3:
	adrp	x8, _RCV_HDR_HEAD_HEAD_SMASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RCV_HDR_HEAD_HEAD_SMASK@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x8, _RCV_HDR_HEAD_HEAD_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RCV_HDR_HEAD_HEAD_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_get_rcvhdrtail
	b	LBB0_3
LBB0_2:
	ldp	w1, w0, [x20]
Lloh9:
	adrp	x8, _RCV_HDR_TAIL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RCV_HDR_TAIL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_read_uctxt_csr
LBB0_3:
	and	w8, w21, w19
	asr	w8, w8, w22
	cmp	w8, w0
	cset	w0, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RCV_HDR_HEAD,4,2               ; @RCV_HDR_HEAD
	.comm	_RCV_HDR_HEAD_HEAD_SMASK,4,2    ; @RCV_HDR_HEAD_HEAD_SMASK
	.comm	_RCV_HDR_HEAD_HEAD_SHIFT,4,2    ; @RCV_HDR_HEAD_HEAD_SHIFT
	.comm	_RCV_HDR_TAIL,4,2               ; @RCV_HDR_TAIL
.subsections_via_symbols
