	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_farch_handle_rx_event
_efx_farch_handle_rx_event:             ## @efx_farch_handle_rx_event
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movl	(%rax), %edi
	callq	_READ_ONCE
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%r15), %edi
	movq	_FSF_AZ_RX_EV_JUMBO_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EFX_QWORD_FIELD
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r15), %edi
	movq	_FSF_AZ_RX_EV_SOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EFX_QWORD_FIELD
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %edi
	movq	_FSF_AZ_RX_EV_Q_LABEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EFX_QWORD_FIELD
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	setne	%dil
	callq	_WARN_ON
	movq	%r14, %rdi
	callq	_efx_channel_get_rx_queue
	movq	%rax, %rbx
	movl	(%r15), %edi
	movq	_FSF_AZ_RX_EV_DESC_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EFX_QWORD_FIELD
	movl	4(%rbx), %r13d
	addl	(%rbx), %r13d
	andl	8(%rbx), %r13d
	movq	%rax, %r12
	xorl	%edi, %edi
	cmpl	%r12d, %r13d
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_10
## %bb.2:
	xorl	%eax, %eax
	cmpl	$0, 4(%rbx)
	sete	%al
	xorl	%edi, %edi
	cmpl	%eax, -48(%rbp)                 ## 4-byte Folded Reload
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
LBB0_10:
	cmpl	%r12d, %r13d
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r14, %r15
	movq	%rcx, %r14
	callq	_efx_farch_handle_rx_bad_index
	movq	%r14, %rcx
	movq	%r15, %r14
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_22
LBB0_12:
	movl	4(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_14
## %bb.13:
	movl	8(%rbx), %esi
	andl	(%rbx), %esi
	movq	_EFX_RX_PKT_DISCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movq	%r14, %r15
	movq	%rcx, %r14
	xorl	%ecx, %ecx
	callq	_efx_rx_packet
	movq	%r14, %rcx
	movq	%r15, %r14
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	4(%rbx), %eax
	addl	%eax, (%rbx)
	movl	$0, 4(%rbx)
LBB0_14:
	cmpl	%r12d, %r13d
	jne	LBB0_22
## %bb.15:
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.16:
	movl	8(%rbx), %esi
	andl	(%rbx), %esi
	movq	_EFX_RX_PKT_DISCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_efx_rx_packet
	incl	(%rbx)
	jmp	LBB0_22
LBB0_3:
	movl	4(%rbx), %eax
	incl	%eax
LBB0_4:
	movl	%eax, 4(%rbx)
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_22
## %bb.5:
	movl	(%r15), %edi
	movq	_FSF_AZ_RX_EV_BYTE_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EFX_QWORD_FIELD
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %edi
	movq	_FSF_AZ_RX_EV_PKT_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EFX_QWORD_FIELD
	movq	%rax, %r13
	movl	(%r15), %edi
	movq	_FSF_AZ_RX_EV_HDR_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EFX_QWORD_FIELD
	movq	%rax, %r12
	movl	%r13d, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_17
## %bb.6:
	xorl	%r13d, %r13d
	cmpl	$128, %r12d
	je	LBB0_9
## %bb.7:
	cmpl	$129, %r12d
	jne	LBB0_18
## %bb.8:
	movq	_EFX_RX_PKT_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_9:
	movq	_EFX_RX_PKT_CSUMMED@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_18
LBB0_17:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_efx_farch_handle_rx_not_ok
	movl	%eax, %r13d
LBB0_18:
	movl	(%r15), %edi
	movq	_FSF_AZ_RX_EV_MCAST_PKT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EFX_QWORD_FIELD
	testl	%eax, %eax
	je	LBB0_21
## %bb.19:
	movl	(%r15), %edi
	movq	_FSF_AZ_RX_EV_MCAST_HASH_MATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EFX_QWORD_FIELD
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	incl	12(%r14)
	movq	_EFX_RX_PKT_DISCARD@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
LBB0_21:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	$2, 8(%r14)
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	andl	(%rbx), %esi
	movq	%rbx, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r13d, %r8d
	callq	_efx_rx_packet
	movl	4(%rbx), %eax
	addl	%eax, (%rbx)
	movl	$0, 4(%rbx)
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_FSF_AZ_RX_EV_JUMBO_CONT,4,2    ## @FSF_AZ_RX_EV_JUMBO_CONT
	.comm	_FSF_AZ_RX_EV_SOP,4,2           ## @FSF_AZ_RX_EV_SOP
	.comm	_FSF_AZ_RX_EV_Q_LABEL,4,2       ## @FSF_AZ_RX_EV_Q_LABEL
	.comm	_FSF_AZ_RX_EV_DESC_PTR,4,2      ## @FSF_AZ_RX_EV_DESC_PTR
	.comm	_EFX_RX_PKT_DISCARD,4,2         ## @EFX_RX_PKT_DISCARD
	.comm	_FSF_AZ_RX_EV_BYTE_CNT,4,2      ## @FSF_AZ_RX_EV_BYTE_CNT
	.comm	_FSF_AZ_RX_EV_PKT_OK,4,2        ## @FSF_AZ_RX_EV_PKT_OK
	.comm	_FSF_AZ_RX_EV_HDR_TYPE,4,2      ## @FSF_AZ_RX_EV_HDR_TYPE
	.comm	_EFX_RX_PKT_TCP,4,2             ## @EFX_RX_PKT_TCP
	.comm	_EFX_RX_PKT_CSUMMED,4,2         ## @EFX_RX_PKT_CSUMMED
	.comm	_FSF_AZ_RX_EV_MCAST_PKT,4,2     ## @FSF_AZ_RX_EV_MCAST_PKT
	.comm	_FSF_AZ_RX_EV_MCAST_HASH_MATCH,4,2 ## @FSF_AZ_RX_EV_MCAST_HASH_MATCH
	.no_dead_strip	_efx_farch_handle_rx_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_farch_handle_rx_event
_efx_farch_handle_rx_event:             ; @efx_farch_handle_rx_event
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	w0, [x8]
	bl	_READ_ONCE
	bl	_unlikely
	cbz	x0, LBB0_2
LBB0_1:
	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
LBB0_2:
	ldr	w0, [x21]
Lloh0:
	adrp	x8, _FSF_AZ_RX_EV_JUMBO_CONT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FSF_AZ_RX_EV_JUMBO_CONT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_EFX_QWORD_FIELD
	mov	x22, x0
	ldr	w0, [x21]
Lloh3:
	adrp	x8, _FSF_AZ_RX_EV_SOP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FSF_AZ_RX_EV_SOP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_EFX_QWORD_FIELD
	mov	x23, x0
	ldr	w0, [x21]
Lloh6:
	adrp	x8, _FSF_AZ_RX_EV_Q_LABEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FSF_AZ_RX_EV_Q_LABEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_EFX_QWORD_FIELD
	ldr	x8, [x19]
	cmp	x0, x8
	cset	w0, ne
	bl	_WARN_ON
	mov	x0, x19
	bl	_efx_channel_get_rx_queue
	mov	x20, x0
	ldr	w0, [x21]
Lloh9:
	adrp	x8, _FSF_AZ_RX_EV_DESC_PTR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FSF_AZ_RX_EV_DESC_PTR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_EFX_QWORD_FIELD
	mov	x24, x0
	ldp	w8, w9, [x20]
	ldr	w10, [x20, #8]
	add	w8, w9, w8
	and	w25, w8, w10
	cmp	w25, w24
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x20, #4]
	cmp	w8, #0
	cset	w8, eq
	cmp	w23, w8
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_11
LBB0_4:
	cmp	w25, w24
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x24
	bl	_efx_farch_handle_rx_bad_index
	cbz	w0, LBB0_1
LBB0_6:
	ldr	w2, [x20, #4]
	cbz	w2, LBB0_8
; %bb.7:
	ldr	w8, [x20]
	ldr	w9, [x20, #8]
	and	w1, w9, w8
Lloh12:
	adrp	x8, _EFX_RX_PKT_DISCARD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EFX_RX_PKT_DISCARD@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_efx_rx_packet
	ldp	w9, w8, [x20]
	add	w8, w9, w8
	stp	w8, wzr, [x20]
LBB0_8:
	cmp	w25, w24
	b.ne	LBB0_1
; %bb.9:
	cbz	w23, LBB0_17
; %bb.10:
	mov	w8, #1
	str	w8, [x20, #4]
	cbnz	w22, LBB0_1
	b	LBB0_12
LBB0_11:
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
	cbnz	w22, LBB0_1
LBB0_12:
	ldr	w0, [x21]
Lloh15:
	adrp	x8, _FSF_AZ_RX_EV_BYTE_CNT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FSF_AZ_RX_EV_BYTE_CNT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_EFX_QWORD_FIELD
	mov	x22, x0
	ldr	w0, [x21]
Lloh18:
	adrp	x8, _FSF_AZ_RX_EV_PKT_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FSF_AZ_RX_EV_PKT_OK@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_EFX_QWORD_FIELD
	mov	x23, x0
	ldr	w0, [x21]
Lloh21:
	adrp	x8, _FSF_AZ_RX_EV_HDR_TYPE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FSF_AZ_RX_EV_HDR_TYPE@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_EFX_QWORD_FIELD
	mov	x24, x0
	mov	x0, x23
	bl	_likely
	cbz	x0, LBB0_18
; %bb.13:
	mov	w23, #0
	cmp	w24, #128
	b.eq	LBB0_16
; %bb.14:
	cmp	w24, #129
	b.ne	LBB0_19
; %bb.15:
Lloh24:
	adrp	x8, _EFX_RX_PKT_TCP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EFX_RX_PKT_TCP@GOTPAGEOFF]
Lloh26:
	ldr	w23, [x8]
LBB0_16:
Lloh27:
	adrp	x8, _EFX_RX_PKT_CSUMMED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EFX_RX_PKT_CSUMMED@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	orr	w23, w8, w23
	b	LBB0_19
LBB0_17:
	ldr	w8, [x20]
	ldr	w9, [x20, #8]
	and	w1, w9, w8
Lloh30:
	adrp	x8, _EFX_RX_PKT_DISCARD@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EFX_RX_PKT_DISCARD@GOTPAGEOFF]
Lloh32:
	ldr	w4, [x8]
	mov	x0, x20
	mov	w2, #1
	mov	w3, #0
	bl	_efx_rx_packet
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_1
LBB0_18:
	mov	x0, x20
	mov	x1, x21
	bl	_efx_farch_handle_rx_not_ok
	mov	x23, x0
LBB0_19:
	ldr	w0, [x21]
Lloh33:
	adrp	x8, _FSF_AZ_RX_EV_MCAST_PKT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _FSF_AZ_RX_EV_MCAST_PKT@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	bl	_EFX_QWORD_FIELD
	cbz	w0, LBB0_22
; %bb.20:
	ldr	w0, [x21]
Lloh36:
	adrp	x8, _FSF_AZ_RX_EV_MCAST_HASH_MATCH@GOTPAGE
Lloh37:
	ldr	x8, [x8, _FSF_AZ_RX_EV_MCAST_HASH_MATCH@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	bl	_EFX_QWORD_FIELD
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_22
; %bb.21:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
Lloh39:
	adrp	x8, _EFX_RX_PKT_DISCARD@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EFX_RX_PKT_DISCARD@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	orr	w23, w8, w23
LBB0_22:
	ldr	w8, [x19, #8]
	add	w8, w8, #2
	str	w8, [x19, #8]
	ldp	w2, w8, [x20, #4]
	ldr	w9, [x20]
	and	w1, w8, w9
	mov	x0, x20
	mov	x3, x22
	mov	x4, x23
	bl	_efx_rx_packet
	ldp	w9, w8, [x20]
	add	w8, w9, w8
	stp	w8, wzr, [x20]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_FSF_AZ_RX_EV_JUMBO_CONT,4,2    ; @FSF_AZ_RX_EV_JUMBO_CONT
	.comm	_FSF_AZ_RX_EV_SOP,4,2           ; @FSF_AZ_RX_EV_SOP
	.comm	_FSF_AZ_RX_EV_Q_LABEL,4,2       ; @FSF_AZ_RX_EV_Q_LABEL
	.comm	_FSF_AZ_RX_EV_DESC_PTR,4,2      ; @FSF_AZ_RX_EV_DESC_PTR
	.comm	_EFX_RX_PKT_DISCARD,4,2         ; @EFX_RX_PKT_DISCARD
	.comm	_FSF_AZ_RX_EV_BYTE_CNT,4,2      ; @FSF_AZ_RX_EV_BYTE_CNT
	.comm	_FSF_AZ_RX_EV_PKT_OK,4,2        ; @FSF_AZ_RX_EV_PKT_OK
	.comm	_FSF_AZ_RX_EV_HDR_TYPE,4,2      ; @FSF_AZ_RX_EV_HDR_TYPE
	.comm	_EFX_RX_PKT_TCP,4,2             ; @EFX_RX_PKT_TCP
	.comm	_EFX_RX_PKT_CSUMMED,4,2         ; @EFX_RX_PKT_CSUMMED
	.comm	_FSF_AZ_RX_EV_MCAST_PKT,4,2     ; @FSF_AZ_RX_EV_MCAST_PKT
	.comm	_FSF_AZ_RX_EV_MCAST_HASH_MATCH,4,2 ; @FSF_AZ_RX_EV_MCAST_HASH_MATCH
	.no_dead_strip	_efx_farch_handle_rx_event
.subsections_via_symbols
