	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_hdrq_full
_handle_hdrq_full:                      ## @handle_hdrq_full
	.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
	movq	_ipath_stats@GOTPCREL(%rip), %rax
	incl	(%rax)
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rbx
	callq	_ipath_get_hdrqtail
	cmpq	%rax, %rbx
	setne	%al
	cmpq	$2, (%r14)
	jb	LBB0_16
## %bb.3:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$1, %ebx
	movq	_IPATH_NODMA_RTAIL@GOTPCREL(%rip), %r13
	jmp	LBB0_4
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, 8(%r15)
	incl	20(%r15)
	xorl	%eax, %eax
	callq	_wmb
	addq	$16, %r15
	movq	%r15, %rdi
	callq	_wake_up_interruptible
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	(%r14), %rbx
	jae	LBB0_15
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	(%rax,%rbx,8), %r15
	testq	%r15, %r15
	je	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, 24(%r15)
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %eax
	testl	%eax, 8(%r14)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_ur_rcvhdrtail@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_ipath_read_ureg32
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_ipath_get_rcvhdrtail
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r12
	cmpq	8(%r15), %rax
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_ur_rcvhdrhead@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_ipath_read_ureg32
	leaq	1(%r12), %rcx
	cmpq	%rcx, %rax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, %rax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	16(%r14), %r12
	je	LBB0_13
	jmp	LBB0_14
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_15:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_16:
	movzbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ipath_stats,4,2                ## @ipath_stats
	.comm	_IPATH_NODMA_RTAIL,4,2          ## @IPATH_NODMA_RTAIL
	.comm	_ur_rcvhdrtail,4,2              ## @ur_rcvhdrtail
	.comm	_ur_rcvhdrhead,4,2              ## @ur_rcvhdrhead
	.no_dead_strip	_handle_hdrq_full
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_hdrq_full
_handle_hdrq_full:                      ; @handle_hdrq_full
	.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
Lloh0:
	adrp	x8, _ipath_stats@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ipath_stats@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	x8, [x0]
	cbz	x8, LBB0_14
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	x0, [x8]
	ldr	x20, [x0]
	bl	_ipath_get_hdrqtail
	cmp	x20, x0
	cset	w20, ne
	ldr	x8, [x19]
	cmp	x8, #2
	b.lo	LBB0_15
; %bb.2:
	mov	w21, #1
Lloh2:
	adrp	x24, _IPATH_NODMA_RTAIL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IPATH_NODMA_RTAIL@GOTPAGEOFF]
Lloh4:
	adrp	x25, _ur_rcvhdrhead@GOTPAGE
Lloh5:
	ldr	x25, [x25, _ur_rcvhdrhead@GOTPAGEOFF]
Lloh6:
	adrp	x26, _ur_rcvhdrtail@GOTPAGE
Lloh7:
	ldr	x26, [x26, _ur_rcvhdrtail@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	x23, [x22, #8]
	ldr	w8, [x22, #20]
	add	w8, w8, #1
	str	w8, [x22, #20]
	bl	_wmb
	add	x0, x22, #16
	bl	_wake_up_interruptible
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	ldr	x8, [x19]
	cmp	x21, x8
	b.hs	LBB0_15
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x22, [x8, x21, lsl #3]
	cbz	x22, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x22, #24]
	cbz	w8, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19, #8]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x26]
	mov	x0, x19
	mov	x2, x21
	bl	_ipath_read_ureg32
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_ipath_get_rcvhdrtail
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	ldr	x8, [x22, #8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x21
	bl	_ipath_read_ureg32
	add	x8, x23, #1
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x0, LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #16]
	cmp	x23, x8
	b.eq	LBB0_3
	b	LBB0_4
LBB0_14:
	mov	w20, #0
LBB0_15:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ipath_stats,4,2                ; @ipath_stats
	.comm	_IPATH_NODMA_RTAIL,4,2          ; @IPATH_NODMA_RTAIL
	.comm	_ur_rcvhdrtail,4,2              ; @ur_rcvhdrtail
	.comm	_ur_rcvhdrhead,4,2              ; @ur_rcvhdrhead
	.no_dead_strip	_handle_hdrq_full
.subsections_via_symbols
