	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_rx_packet                  ## -- Begin function efx_rx_packet
	.p2align	4, 0x90
_efx_rx_packet:                         ## @efx_rx_packet
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	callq	_efx_rx_queue_channel
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	incl	4(%r14)
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_efx_rx_buffer
	movq	%rbx, %rcx
	movq	%rax, %rbx
	orl	%r13d, (%rax)
	cmpl	$1, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_3
## %bb.1:
	movq	_EFX_RX_PKT_PREFIX_LEN@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	jne	LBB0_10
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_efx_rx_packet__check_len
	jmp	LBB0_10
LBB0_3:
	movq	_EFX_RX_MAX_FRAGS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%ecx, (%rax)
	setb	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	imull	(%r15), %eax
	xorl	%edi, %edi
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	setae	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	movl	(%r15), %eax
	imull	-64(%rbp), %eax                 ## 4-byte Folded Reload
	xorl	%edi, %edi
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	setb	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	cmpl	$0, 20(%r15)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_10
LBB0_7:
	movl	$1, %edi
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_9
## %bb.8:
	movq	_EFX_RX_PKT_DISCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	testl	%eax, (%rbx)
	sete	%dil
LBB0_9:
	callq	_WARN_ON
	movq	_EFX_RX_PKT_DISCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_10:
	movl	%r13d, -76(%rbp)                ## 4-byte Spill
	movq	_rx_status@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	16(%r15), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_efx_rx_queue_index
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%r12), %r10d
	decl	%r10d
	andl	(%r14), %r10d
	movq	%rbx, %r13
	movl	(%rbx), %ecx
	movq	_EFX_RX_PKT_CSUMMED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.1(%rip), %r11
	cmoveq	%rdx, %r11
	movq	_EFX_RX_PKT_DISCARD@GOTPCREL(%rip), %rsi
	andl	(%rsi), %ecx
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	leaq	L_.str.3(%rip), %rbx
	cmoveq	%rdx, %rbx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %r8d
	movl	%r12d, %r9d
	pushq	%rbx
	movq	%r13, %rbx
	pushq	%r11
	pushq	%r14
	pushq	%r10
	callq	_netif_vdbg
	addq	$32, %rsp
	movq	_EFX_RX_PKT_DISCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%r13), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_11
## %bb.19:
	movq	%rbx, %r14
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_efx_rx_flush_packet
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_efx_discard_rx_packet          ## TAILCALL
LBB0_11:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	cmpl	$1, %r12d
	jne	LBB0_14
## %bb.12:
	movq	_EFX_RX_PKT_PREFIX_LEN@GOTPCREL(%rip), %rax
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	jne	LBB0_14
## %bb.13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 4(%rbx)
LBB0_14:
	movl	4(%rbx), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_efx_sync_rx_buffer
	movq	%rbx, %rdi
	callq	_efx_rx_buf_va
	movl	%eax, %edi
	callq	_prefetch
	movl	8(%r15), %eax
	addl	%eax, 8(%rbx)
	subl	%eax, 4(%rbx)
	cmpl	$2, %r12d
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	jb	LBB0_18
## %bb.15:
	leal	-1(%r12), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_efx_rx_buf_next
	movq	%rax, %r13
	movl	%r12d, %ebx
	addl	$-2, %ebx
	je	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_efx_sync_rx_buffer
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_efx_rx_buf_next
	movq	%rax, %r13
	decl	%ebx
	jne	LBB0_16
LBB0_17:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	imull	(%r15), %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	subl	%eax, %edx
	movl	%edx, 4(%r13)
	movq	%r15, %rdi
	movq	%r13, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_efx_sync_rx_buffer
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
LBB0_18:
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_efx_rx_buffer
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	%r12d, %edx
	callq	_efx_recycle_rx_pages
	movq	%rbx, %rdi
	callq	_efx_rx_flush_packet
	movl	%r12d, (%rbx)
	movl	%r13d, 4(%rbx)
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFX_RX_PKT_PREFIX_LEN,4,2      ## @EFX_RX_PKT_PREFIX_LEN
	.comm	_EFX_RX_MAX_FRAGS,4,2           ## @EFX_RX_MAX_FRAGS
	.comm	_EFX_RX_PKT_DISCARD,4,2         ## @EFX_RX_PKT_DISCARD
	.comm	_rx_status,4,2                  ## @rx_status
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RX queue %d received ids %x-%x len %d %s%s\n"

	.comm	_EFX_RX_PKT_CSUMMED,4,2         ## @EFX_RX_PKT_CSUMMED
L_.str.1:                               ## @.str.1
	.asciz	" [SUMMED]"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	" [DISCARD]"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_rx_packet                  ; -- Begin function efx_rx_packet
	.p2align	2
_efx_rx_packet:                         ; @efx_rx_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x26, x4
	mov	x27, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x24, [x0, #8]
	bl	_efx_rx_queue_channel
	mov	x21, x0
	ldr	w8, [x22, #4]
	add	w8, w8, #1
	str	w8, [x22, #4]
	mov	x0, x22
	mov	x1, x20
	bl	_efx_rx_buffer
	mov	x25, x0
	ldr	w8, [x0]
	orr	w8, w8, w26
	str	w8, [x0]
Lloh0:
	adrp	x28, _EFX_RX_PKT_DISCARD@GOTPAGE
Lloh1:
	ldr	x28, [x28, _EFX_RX_PKT_DISCARD@GOTPAGEOFF]
	subs	w23, w19, #1
	str	x21, [sp, #24]                  ; 8-byte Folded Spill
	b.ne	LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _EFX_RX_PKT_PREFIX_LEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EFX_RX_PKT_PREFIX_LEN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w26
	b.ne	LBB0_11
; %bb.2:
	mov	x0, x22
	mov	x1, x25
	mov	x2, x27
	bl	_efx_rx_packet__check_len
	b	LBB0_11
LBB0_3:
Lloh5:
	adrp	x8, _EFX_RX_MAX_FRAGS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EFX_RX_MAX_FRAGS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w19
	cset	w0, lo
	bl	_unlikely
	cbnz	x0, LBB0_7
; %bb.4:
	ldr	w8, [x24]
	mul	w8, w8, w23
	cmp	w8, w27
	cset	w0, hs
	bl	_unlikely
	cbnz	x0, LBB0_7
; %bb.5:
	ldr	w8, [x24]
	mul	w8, w8, w19
	cmp	w8, w27
	cset	w0, lo
	bl	_unlikely
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x24, #20]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_11
LBB0_7:
	cbz	w27, LBB0_9
; %bb.8:
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	ldr	w8, [x25]
	ldr	w9, [x28]
	tst	w9, w8
	cset	w0, eq
LBB0_10:
	bl	_WARN_ON
	ldr	w8, [x28]
	ldr	w9, [x25]
	orr	w8, w9, w8
	str	w8, [x25]
LBB0_11:
	str	w26, [sp, #20]                  ; 4-byte Folded Spill
Lloh8:
	adrp	x8, _rx_status@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rx_status@GOTPAGEOFF]
	mov	x21, x23
	mov	x23, x27
Lloh10:
	ldr	w27, [x8]
	mov	x26, x28
	ldr	w28, [x24, #16]
	mov	x0, x22
	bl	_efx_rx_queue_index
	mov	x4, x0
	ldr	w8, [x22]
	add	w9, w21, w20
	and	w6, w8, w9
	ldr	w8, [x25]
Lloh11:
	adrp	x9, _EFX_RX_PKT_CSUMMED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _EFX_RX_PKT_CSUMMED@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, l_.str.1@PAGE
Lloh15:
	add	x10, x10, l_.str.1@PAGEOFF
Lloh16:
	adrp	x11, l_.str.2@PAGE
Lloh17:
	add	x11, x11, l_.str.2@PAGEOFF
	tst	w9, w8
	csel	x9, x11, x10, eq
	ldr	w10, [x26]
Lloh18:
	adrp	x12, l_.str.3@PAGE
Lloh19:
	add	x12, x12, l_.str.3@PAGEOFF
	tst	w10, w8
	csel	x8, x11, x12, eq
	stp	x9, x8, [sp]
Lloh20:
	adrp	x3, l_.str@PAGE
Lloh21:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x24
	mov	x1, x27
	mov	x27, x23
	mov	x2, x28
	mov	x5, x20
	mov	x7, x23
	bl	_netif_vdbg
	ldr	w8, [x25]
	ldr	w9, [x26]
	and	w0, w9, w8
	bl	_unlikely
	cbz	x0, LBB0_13
; %bb.12:
	ldr	x20, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x20
	bl	_efx_rx_flush_packet
	mov	x0, x20
	mov	x1, x25
	mov	x2, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_efx_discard_rx_packet
LBB0_13:
	mov	x28, x21
	cmp	w19, #1
	b.ne	LBB0_16
; %bb.14:
Lloh22:
	adrp	x8, _EFX_RX_PKT_PREFIX_LEN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EFX_RX_PKT_PREFIX_LEN@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	tst	w8, w9
	b.ne	LBB0_16
; %bb.15:
	str	w27, [x25, #4]
LBB0_16:
	ldr	w2, [x25, #4]
	mov	x0, x24
	mov	x1, x25
	bl	_efx_sync_rx_buffer
	mov	x0, x25
	bl	_efx_rx_buf_va
	bl	_prefetch
	ldr	w8, [x24, #8]
	ldp	w10, w9, [x25, #4]
	add	w9, w9, w8
	sub	w8, w10, w8
	stp	w8, w9, [x25, #4]
	cmp	w19, #2
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	b.lo	LBB0_20
; %bb.17:
	mov	x0, x22
	mov	x1, x25
	bl	_efx_rx_buf_next
	mov	x25, x0
	subs	w23, w19, #2
	b.eq	LBB0_19
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x24]
	mov	x0, x24
	mov	x1, x25
	bl	_efx_sync_rx_buffer
	mov	x0, x22
	mov	x1, x25
	bl	_efx_rx_buf_next
	mov	x25, x0
	subs	w23, w23, #1
	b.ne	LBB0_18
LBB0_19:
	ldr	w8, [x24]
	msub	w2, w8, w28, w27
	str	w2, [x25, #4]
	mov	x0, x24
	mov	x1, x25
	bl	_efx_sync_rx_buffer
LBB0_20:
	mov	x0, x22
	mov	x1, x20
	bl	_efx_rx_buffer
	mov	x1, x0
	mov	x0, x21
	mov	x2, x19
	bl	_efx_recycle_rx_pages
	mov	x0, x21
	bl	_efx_rx_flush_packet
	stp	w19, w20, [x21]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_EFX_RX_PKT_PREFIX_LEN,4,2      ; @EFX_RX_PKT_PREFIX_LEN
	.comm	_EFX_RX_MAX_FRAGS,4,2           ; @EFX_RX_MAX_FRAGS
	.comm	_EFX_RX_PKT_DISCARD,4,2         ; @EFX_RX_PKT_DISCARD
	.comm	_rx_status,4,2                  ; @rx_status
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RX queue %d received ids %x-%x len %d %s%s\n"

	.comm	_EFX_RX_PKT_CSUMMED,4,2         ; @EFX_RX_PKT_CSUMMED
l_.str.1:                               ; @.str.1
	.asciz	" [SUMMED]"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	" [DISCARD]"

.subsections_via_symbols
