	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ef4_rx_packet__check_len
_ef4_rx_packet__check_len:              ## @ef4_rx_packet__check_len
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movl	(%rsi), %r13d
	movq	8(%r15), %rax
	subl	(%rax), %r13d
	movl	%edx, %r12d
	xorl	%edi, %edi
	cmpl	%edx, %r13d
	setae	%dil
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movq	_EF4_RX_PKT_DISCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
	cmpl	%r12d, (%rbx)
	jge	LBB0_6
## %bb.2:
	movq	%r15, %rdi
	callq	_EF4_WORKAROUND_8071
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_rx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r15), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_ef4_rx_queue_index
	movq	8(%r15), %rcx
	movl	(%rcx), %ebx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %r8d
	movl	%r12d, %r9d
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r13
	callq	_netif_err
	addq	$16, %rsp
LBB0_5:
	movq	_RESET_TYPE_RX_RECOVERY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ef4_schedule_reset
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_rx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_ef4_rx_queue_index
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %r8d
	movl	%r12d, %r9d
	xorl	%eax, %eax
	pushq	%r13
	callq	_netif_err
	addq	$16, %rsp
LBB0_8:
	movq	%r14, %rdi
	callq	_ef4_rx_queue_channel
	incl	(%rax)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EF4_RX_PKT_DISCARD,4,2         ## @EF4_RX_PKT_DISCARD
	.comm	_rx_err,4,2                     ## @rx_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" RX queue %d seriously overlength RX event (0x%x > 0x%x+0x%x). Leaking\n"

	.comm	_RESET_TYPE_RX_RECOVERY,4,2     ## @RESET_TYPE_RX_RECOVERY
L_.str.1:                               ## @.str.1
	.asciz	" RX queue %d overlength RX event (0x%x > 0x%x)\n"

	.no_dead_strip	_ef4_rx_packet__check_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ef4_rx_packet__check_len
_ef4_rx_packet__check_len:              ; @ef4_rx_packet__check_len
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x20, [x0]
	ldr	w8, [x1]
	ldr	x9, [x20, #8]
	ldr	w9, [x9]
	sub	w22, w8, w9
	cmp	w22, w2
	cset	w0, hs
	bl	_likely
	cbnz	x0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x8, _EF4_RX_PKT_DISCARD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EF4_RX_PKT_DISCARD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w10, w9, [x23]
	orr	w8, w9, w8
	str	w8, [x23, #4]
	cmp	w10, w21
	b.ge	LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_EF4_WORKAROUND_8071
	cbz	x0, LBB0_6
; %bb.3:
	bl	_net_ratelimit
	cbz	x0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _rx_err@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rx_err@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	ldr	w24, [x20]
	mov	x0, x19
	bl	_ef4_rx_queue_index
	mov	x4, x0
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	mov	x5, x21
	mov	x6, x22
	bl	_netif_err
LBB0_5:
Lloh8:
	adrp	x8, _RESET_TYPE_RX_RECOVERY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RESET_TYPE_RX_RECOVERY@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ef4_schedule_reset
	b	LBB0_8
LBB0_6:
	bl	_net_ratelimit
	cbz	x0, LBB0_8
; %bb.7:
Lloh11:
	adrp	x8, _rx_err@GOTPAGE
Lloh12:
	ldr	x8, [x8, _rx_err@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
	ldr	w24, [x20]
	mov	x0, x19
	bl	_ef4_rx_queue_index
	mov	x4, x0
Lloh14:
	adrp	x3, l_.str.1@PAGE
Lloh15:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	mov	x5, x21
	mov	x6, x22
	bl	_netif_err
LBB0_8:
	mov	x0, x19
	bl	_ef4_rx_queue_channel
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
LBB0_9:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EF4_RX_PKT_DISCARD,4,2         ; @EF4_RX_PKT_DISCARD
	.comm	_rx_err,4,2                     ; @rx_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" RX queue %d seriously overlength RX event (0x%x > 0x%x+0x%x). Leaking\n"

	.comm	_RESET_TYPE_RX_RECOVERY,4,2     ; @RESET_TYPE_RX_RECOVERY
l_.str.1:                               ; @.str.1
	.asciz	" RX queue %d overlength RX event (0x%x > 0x%x)\n"

	.no_dead_strip	_ef4_rx_packet__check_len
.subsections_via_symbols
