	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	24(%rdi), %rbx
	addq	$20, %rdi
	movl	16(%r12), %esi
	callq	_efx_rx_buffer
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_efx_rx_buf_va
	movq	%rax, %r15
	movq	_EFX_RX_PKT_PREFIX_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_2
## %bb.1:
	movslq	(%rbx), %rax
	leaq	(%r15,%rax,4), %rdi
	callq	_le16_to_cpup
	movl	%eax, 4(%r14)
LBB0_2:
	movl	4(%rbx), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	4(%r14), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_efx_loopback_rx_packet
	movq	%r12, %rdi
	callq	_efx_channel_get_rx_queue
	movl	(%r12), %edx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_efx_free_rx_buffers
	jmp	LBB0_11
LBB0_4:
	movq	8(%rbx), %rax
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edi, %edi
	andl	(%rax), %ecx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	_EFX_RX_PKT_CSUMMED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%r14), %eax
	movl	%eax, (%r14)
	jmp	LBB0_7
LBB0_5:
	movl	(%r14), %eax
LBB0_7:
	movq	_EFX_RX_PKT_TCP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.8:
	movq	8(%r12), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
LBB0_10:
	movl	(%r12), %ecx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_efx_rx_deliver
	jmp	LBB0_11
LBB0_9:
	movl	(%r12), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rcx
	callq	_efx_rx_packet_gro
LBB0_11:
	movl	$0, (%r12)
	popq	%rbx
	popq	%r12
	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	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_EFX_RX_PKT_CSUMMED,4,2         ## @EFX_RX_PKT_CSUMMED
	.comm	_EFX_RX_PKT_TCP,4,2             ## @EFX_RX_PKT_TCP
.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:
	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, x0
	ldr	x22, [x0, #24]
	add	x0, x0, #20
	ldr	w1, [x19, #16]
	bl	_efx_rx_buffer
	mov	x20, x0
	bl	_efx_rx_buf_va
	mov	x21, x0
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _EFX_RX_PKT_PREFIX_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EFX_RX_PKT_PREFIX_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldrsw	x8, [x22]
	add	x0, x21, x8, lsl #2
	bl	_le16_to_cpup
	str	w0, [x20, #4]
LBB0_2:
	ldr	w0, [x22, #4]
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w2, [x20, #4]
	mov	x0, x22
	mov	x1, x21
	bl	_efx_loopback_rx_packet
	mov	x0, x19
	bl	_efx_channel_get_rx_queue
	ldr	w2, [x19]
	mov	x1, x20
	bl	_efx_free_rx_buffers
	b	LBB0_11
LBB0_4:
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _NETIF_F_RXCSUM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _EFX_RX_PKT_CSUMMED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EFX_RX_PKT_CSUMMED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	b	LBB0_7
LBB0_6:
	ldr	w8, [x20]
LBB0_7:
Lloh9:
	adrp	x9, _EFX_RX_PKT_TCP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EFX_RX_PKT_TCP@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_10
LBB0_9:
	ldr	w3, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_efx_rx_deliver
	b	LBB0_11
LBB0_10:
	ldr	w2, [x19]
	mov	x0, x19
	mov	x1, x20
	mov	x3, x21
	bl	_efx_rx_packet_gro
LBB0_11:
	str	wzr, [x19]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EFX_RX_PKT_PREFIX_LEN,4,2      ; @EFX_RX_PKT_PREFIX_LEN
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_EFX_RX_PKT_CSUMMED,4,2         ; @EFX_RX_PKT_CSUMMED
	.comm	_EFX_RX_PKT_TCP,4,2             ; @EFX_RX_PKT_TCP
.subsections_via_symbols
