	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_mbx_dequeue_rx
_fm10k_mbx_dequeue_rx:                  ## @fm10k_mbx_dequeue_rx
	.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	%rsi, %r14
	movq	%rdi, %r15
	leaq	16(%rsi), %r12
	movq	%r12, %rdi
	callq	_fm10k_fifo_empty
	xorl	%ebx, %ebx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_fm10k_fifo_head_drop
	incq	%rbx
	movq	%r12, %rdi
	callq	_fm10k_fifo_empty
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r14), %rsi
	addq	32(%r14), %rsi
	movl	8(%r14), %ecx
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_fm10k_tlv_msg_parse
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	4(%r14)
	jmp	LBB0_4
LBB0_5:
	movq	32(%r14), %rdi
	movq	24(%r14), %rsi
	addq	%rdi, %rsi
	movl	(%r14), %edx
	shll	$2, %edx
	callq	_memmove
	movq	16(%r14), %rax
	subq	%rax, 24(%r14)
	movq	$0, 16(%r14)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fm10k_mbx_dequeue_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_mbx_dequeue_rx
_fm10k_mbx_dequeue_rx:                  ; @fm10k_mbx_dequeue_rx
	.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	x19, x1
	mov	x21, x0
	add	x22, x1, #16
	mov	x0, x22
	bl	_fm10k_fifo_empty
	mov	x20, #0
	cbz	w0, LBB0_3
LBB0_1:
	ldp	x8, x0, [x19, #24]
	add	x1, x8, x0
	ldr	w8, [x19]
	lsl	w2, w8, #2
	bl	_memmove
	ldp	x8, x9, [x19, #16]
	sub	x8, x9, x8
	stp	xzr, x8, [x19, #16]
	mov	x0, x20
	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
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_fm10k_fifo_head_drop
	add	x20, x20, #1
	mov	x0, x22
	bl	_fm10k_fifo_empty
	cbnz	w0, LBB0_1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	ldr	x9, [x19, #16]
	add	x1, x9, x8
	ldr	w3, [x19, #8]
	mov	x0, x21
	mov	x2, x19
	bl	_fm10k_tlv_msg_parse
	tbz	w0, #31, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fm10k_mbx_dequeue_rx
.subsections_via_symbols
