	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ena_rx_skb
_ena_rx_skb:                            ## @ena_rx_skb
	.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
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rbx
	movq	16(%rdi), %r13
	leaq	(%rbx,%rbx,2), %r12
	xorl	%edi, %edi
	cmpq	$0, 8(%r13,%r12,8)
	sete	%dil
	callq	_unlikely
	movq	%r14, %rcx
	movl	32(%r14), %edi
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_rx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%rcx), %edx
	leaq	L_.str(%rip), %rcx
	callq	_netif_err
LBB0_2:
	xorl	%ebx, %ebx
LBB0_3:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%r12,8), %r14
	addq	%r13, %r14
	movq	_rx_status@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rcx, %r15
	movl	28(%rcx), %edx
	movq	8(%r14), %r9
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %r8
	callq	_netif_dbg
	movq	8(%r14), %rdi
	callq	_page_address
	movslq	(%r14), %rbx
	addq	%rax, %rbx
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_prefetch
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	(%r15), %rax
	jbe	LBB0_7
## %bb.5:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_ena_alloc_skb
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_2
## %bb.9:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	decq	-56(%rbp)                       ## 8-byte Folded Spill
	addq	$24, -48(%rbp)                  ## 8-byte Folded Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rbx
	movl	36(%r15), %r15d
	leaq	16(%r14), %rdi
	movq	_paddr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dma_unmap_addr
	movq	_ENA_PAGE_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r15d, %edi
	movq	%rbx, %r15
	movl	%eax, %esi
	callq	_dma_unmap_page
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	(%rax), %esi
	movq	8(%r14), %rdx
	movl	(%r14), %ecx
	movl	(%r12), %r9d
	movq	%rbx, %rdi
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_skb_add_rx_frag
	movl	28(%r15), %edx
	movl	32(%r15), %edi
	movq	_rx_status@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %r9
	movq	8(%rbx), %r8
	leaq	L_.str.3(%rip), %rcx
	callq	_netif_dbg
	movq	$0, 8(%r14)
	movq	8(%r15), %rax
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rcx
	movq	%r13, (%rax,%rcx,8)
	movq	(%rbx), %rdi
	movl	24(%r15), %esi
	callq	_ENA_RX_RING_IDX_NEXT
	movq	%rax, (%rbx)
	xorl	%edi, %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	subq	$1, %rbx
	setb	%dil
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-8(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r13
	leaq	(,%r13,2), %r14
	addq	%r13, %r14
	shlq	$3, %r14
	addq	16(%r15), %r14
	addq	$16, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
LBB0_7:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_ena_alloc_skb
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.8:
	movl	28(%r15), %edx
	movl	32(%r15), %edi
	movq	_rx_status@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %r9
	movq	8(%r14), %r8
	leaq	L_.str.2(%rip), %rcx
	callq	_netif_dbg
	movl	36(%r15), %ebx
	leaq	16(%r13,%r12,8), %r13
	movq	_paddr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_dma_unmap_addr
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r15, %rbx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_dma_sync_single_for_cpu
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_skb_copy_to_linear_data
	movl	36(%rbx), %r12d
	movq	_paddr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_dma_unmap_addr
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r12d, %edi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_dma_sync_single_for_device
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_skb_put
	movl	28(%rbx), %esi
	movq	%r14, %rdi
	callq	_eth_type_trans
	movl	%eax, 16(%r14)
	movq	8(%rbx), %rax
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rcx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, (%rax,%rcx,8)
	movq	(%r15), %rdi
	movl	24(%rbx), %edx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_ENA_RX_RING_IDX_ADD
	movq	%rax, (%r15)
	movq	%r14, %rbx
	jmp	LBB0_3
LBB0_12:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_rx_err,4,2                     ## @rx_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Page is NULL\n"

	.comm	_rx_status,4,2                  ## @rx_status
L_.str.1:                               ## @.str.1
	.asciz	"rx_info %p page %p\n"

	.comm	_NET_IP_ALIGN,4,2               ## @NET_IP_ALIGN
L_.str.2:                               ## @.str.2
	.asciz	"rx allocated small packet. len %d. data_len %d\n"

	.comm	_paddr,4,2                      ## @paddr
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_ENA_PAGE_SIZE,4,2              ## @ENA_PAGE_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"rx skb updated. len %d. data_len %d\n"

	.no_dead_strip	_ena_rx_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ena_rx_skb
_ena_rx_skb:                            ; @ena_rx_skb
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x3
	mov	x23, x2
	mov	x25, x1
	mov	x20, x0
	ldp	x22, x27, [x1]
	ldr	x28, [x0, #16]
	mov	w8, #24
	madd	x24, x27, x8, x28
	mov	x21, x24
	ldr	x8, [x21, #8]!
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	mov	x8, x0
	ldr	w0, [x20, #32]
	cbz	x8, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _rx_err@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rx_err@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x20, #28]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	bl	_netif_err
LBB0_2:
	mov	x21, #0
LBB0_3:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh5:
	adrp	x8, _rx_status@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rx_status@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w2, [x20, #28]
	ldr	x5, [x21]
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x4, x24
	bl	_netif_dbg
	ldr	x0, [x21]
	bl	_page_address
	ldrsw	x8, [x24]
Lloh10:
	adrp	x9, _NET_IP_ALIGN@GOTPAGE
Lloh11:
	ldr	x9, [x9, _NET_IP_ALIGN@GOTPAGEOFF]
Lloh12:
	ldrsw	x9, [x9]
	add	x26, x0, x8
	add	x0, x26, x9
	bl	_prefetch
	ldr	x8, [x20]
	mov	x0, x20
	cmp	x22, x8
	b.ls	LBB0_9
; %bb.5:
	mov	w1, #1
	bl	_ena_alloc_skb
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.6:
	sub	x26, x23, #1
Lloh13:
	adrp	x28, _ENA_PAGE_SIZE@GOTPAGE
Lloh14:
	ldr	x28, [x28, _ENA_PAGE_SIZE@GOTPAGEOFF]
	add	x23, x25, #24
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w25, [x20, #36]
	add	x0, x24, #16
Lloh15:
	adrp	x8, _paddr@GOTPAGE
Lloh16:
	ldr	x8, [x8, _paddr@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_dma_unmap_addr
	mov	x1, x0
	ldr	w2, [x28]
Lloh18:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x0, x25
	bl	_dma_unmap_page
	mov	x0, x21
	bl	_skb_shinfo
	ldr	w1, [x0]
	ldr	x2, [x24, #8]
	ldr	w3, [x24]
	ldr	w5, [x28]
	mov	x0, x21
	mov	x4, x22
	bl	_skb_add_rx_frag
Lloh21:
	adrp	x8, _rx_status@GOTPAGE
Lloh22:
	ldr	x8, [x8, _rx_status@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldp	w2, w0, [x20, #28]
	ldp	x5, x4, [x21]
Lloh24:
	adrp	x3, l_.str.3@PAGE
Lloh25:
	add	x3, x3, l_.str.3@PAGEOFF
	bl	_netif_dbg
	str	xzr, [x24, #8]
	ldr	x8, [x20, #8]
	ldr	x9, [x19]
	str	x27, [x8, x9, lsl #3]
	ldr	x0, [x19]
	ldr	w1, [x20, #24]
	bl	_ENA_RX_RING_IDX_NEXT
	str	x0, [x19]
	cmp	x26, #0
	cset	w0, eq
	bl	_likely
	cbnz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldp	x22, x27, [x23, #-8]
	ldr	x8, [x20, #16]
	mov	w9, #24
	madd	x24, x27, x9, x8
	sub	x26, x26, #1
	add	x23, x23, #16
	b	LBB0_7
LBB0_9:
	mov	w1, #0
	bl	_ena_alloc_skb
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.10:
Lloh26:
	adrp	x8, _rx_status@GOTPAGE
Lloh27:
	ldr	x8, [x8, _rx_status@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldp	w2, w0, [x20, #28]
	ldp	x5, x4, [x21]
Lloh29:
	adrp	x3, l_.str.2@PAGE
Lloh30:
	add	x3, x3, l_.str.2@PAGEOFF
	bl	_netif_dbg
	ldr	w24, [x20, #36]
	mov	w8, #24
	madd	x8, x27, x8, x28
	add	x25, x8, #16
Lloh31:
	adrp	x8, _paddr@GOTPAGE
Lloh32:
	ldr	x8, [x8, _paddr@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_dma_unmap_addr
	mov	x1, x0
Lloh34:
	adrp	x28, _DMA_FROM_DEVICE@GOTPAGE
Lloh35:
	ldr	x28, [x28, _DMA_FROM_DEVICE@GOTPAGEOFF]
	ldr	w3, [x28]
	mov	x0, x24
	mov	x2, x22
	bl	_dma_sync_single_for_cpu
	mov	x0, x21
	mov	x1, x26
	mov	x2, x22
	bl	_skb_copy_to_linear_data
	ldr	w24, [x20, #36]
Lloh36:
	adrp	x8, _paddr@GOTPAGE
Lloh37:
	ldr	x8, [x8, _paddr@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_dma_unmap_addr
	mov	x1, x0
	ldr	w3, [x28]
	mov	x0, x24
	mov	x2, x22
	bl	_dma_sync_single_for_device
	mov	x0, x21
	mov	x1, x22
	bl	_skb_put
	ldr	w1, [x20, #28]
	mov	x0, x21
	bl	_eth_type_trans
	str	w0, [x21, #16]
	ldr	x8, [x20, #8]
	ldr	x9, [x19]
	str	x27, [x8, x9, lsl #3]
	ldr	x0, [x19]
	ldr	w2, [x20, #24]
	mov	x1, x23
	bl	_ENA_RX_RING_IDX_ADD
	str	x0, [x19]
	b	LBB0_3
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_rx_err,4,2                     ; @rx_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Page is NULL\n"

	.comm	_rx_status,4,2                  ; @rx_status
l_.str.1:                               ; @.str.1
	.asciz	"rx_info %p page %p\n"

	.comm	_NET_IP_ALIGN,4,2               ; @NET_IP_ALIGN
l_.str.2:                               ; @.str.2
	.asciz	"rx allocated small packet. len %d. data_len %d\n"

	.comm	_paddr,4,2                      ; @paddr
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_ENA_PAGE_SIZE,4,2              ; @ENA_PAGE_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"rx skb updated. len %d. data_len %d\n"

	.no_dead_strip	_ena_rx_skb
.subsections_via_symbols
