	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan743x_rx_open
_lan743x_rx_open:                       ## @lan743x_rx_open
	.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	%rdi, %r12
	movq	40(%rdi), %r14
	movq	$0, 32(%rdi)
	callq	_lan743x_rx_ring_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_19
## %bb.1:
	movl	4(%r14), %edi
	leaq	16(%r12), %r13
	movq	_lan743x_rx_napi_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	decl	%ecx
	movq	%r13, %rsi
	callq	_netif_napi_add
	movq	_DMAC_CMD@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movl	20(%r12), %edi
	callq	_DMAC_CMD_RX_SWR_
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movl	(%r15), %ebx
	movl	20(%r12), %edi
	callq	_DMAC_CMD_RX_SWR_
	movl	$100, (%rsp)
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	movl	$1000, %r8d                     ## imm = 0x3E8
	movl	$20000, %r9d                    ## imm = 0x4E20
	callq	_lan743x_csr_wait_for_bit
	movl	20(%r12), %edi
	callq	_RX_BASE_ADDRH
	movl	%eax, %ebx
	movl	28(%r12), %edi
	callq	_DMA_ADDR_HIGH32
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movl	20(%r12), %edi
	callq	_RX_BASE_ADDRL
	movl	%eax, %ebx
	movl	28(%r12), %edi
	callq	_DMA_ADDR_LOW32
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movl	20(%r12), %edi
	callq	_RX_HEAD_WRITEBACK_ADDRH
	movl	%eax, %ebx
	movl	24(%r12), %edi
	callq	_DMA_ADDR_HIGH32
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movl	20(%r12), %edi
	callq	_RX_HEAD_WRITEBACK_ADDRL
	movl	%eax, %ebx
	movl	24(%r12), %edi
	callq	_DMA_ADDR_LOW32
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movq	_RX_CFG_A_RX_HP_WB_EN_@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_LAN743X_CSR_FLAG_IS_A0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_3
## %bb.2:
	movq	_RX_CFG_A_RX_WB_ON_INT_TMR_@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	$7, %edi
	callq	_RX_CFG_A_RX_WB_THRES_SET_
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, %r13d
	movl	$16, %edi
	callq	_RX_CFG_A_RX_PF_THRES_SET_
	movl	%eax, %r15d
	movl	$4, %edi
	callq	_RX_CFG_A_RX_PF_PRI_THRES_SET_
	orl	%r13d, %r15d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	orl	%eax, %r15d
	orl	%r15d, %ebx
	movq	_DMAC_CMD@GOTPCREL(%rip), %r15
LBB0_3:
	movl	20(%r12), %edi
	callq	_RX_CFG_A
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_lan743x_csr_write
	movl	20(%r12), %edi
	callq	_RX_CFG_B
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_lan743x_csr_read
	movq	_RX_CFG_B_RX_PAD_MASK_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movq	_RX_HEAD_PADDING@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_4
## %bb.5:
	movq	_RX_CFG_B_RX_PAD_0_@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_RX_CFG_B_RX_PAD_2_@GOTPCREL(%rip), %rax
LBB0_6:
	movq	_LAN743X_CSR_FLAG_IS_A0@GOTPCREL(%rip), %rdx
	orl	(%rax), %ecx
	movq	_RX_CFG_B_RX_RING_LEN_MASK_@GOTPCREL(%rip), %rax
	movl	(%r12), %ebx
	xorl	%ecx, %ebx
	andl	(%rax), %ebx
	xorl	%ecx, %ebx
	movq	_RX_CFG_B_TS_ALL_RX_@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%rdx), %ecx
	xorl	%eax, %eax
	andl	(%r14), %ecx
	jne	LBB0_8
## %bb.7:
	movq	_RX_CFG_B_RDMABL_512_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	orl	%eax, %ebx
	movl	20(%r12), %edi
	callq	_RX_CFG_B
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_lan743x_csr_write
	movl	20(%r12), %edi
	callq	_INT_BIT_DMA_RX_
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_lan743x_intr_get_vector_flags
	movl	%eax, 4(%r12)
	movq	_LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_CLEAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	je	LBB0_10
## %bb.9:
	movq	_RX_CFG_C_RX_TOP_INT_EN_AUTO_CLR_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_10:
	movq	_LAN743X_VECTOR_FLAG_SOURCE_STATUS_AUTO_CLEAR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	andl	%eax, %ebx
	je	LBB0_12
## %bb.11:
	movq	_RX_CFG_C_RX_DMA_INT_STS_AUTO_CLR_@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
LBB0_12:
	movq	_LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%eax, %edx
	je	LBB0_14
## %bb.13:
	movq	_RX_CFG_C_RX_INT_STS_R2C_MODE_MASK_@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_14:
	orl	%ecx, %ebx
	movq	_LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_16
## %bb.15:
	movq	_RX_CFG_C_RX_INT_EN_R2C_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_16:
	orl	%eax, %edx
	orl	%edx, %ebx
	movl	20(%r12), %edi
	callq	_RX_CFG_C
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_lan743x_csr_write
	movl	(%r12), %eax
	movl	20(%r12), %edi
	decl	%eax
	movl	%eax, 8(%r12)
	callq	_RX_TAIL
	movl	8(%r12), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_lan743x_csr_write
	movl	20(%r12), %edi
	callq	_RX_HEAD
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_lan743x_csr_read
	movl	%eax, 12(%r12)
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_netif_napi_del
	movq	%r12, %rdi
	callq	_lan743x_rx_ring_cleanup
	jmp	LBB0_19
LBB0_18:
	movq	%r13, %rdi
	callq	_napi_enable
	movq	_INT_EN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	20(%r12), %edi
	callq	_INT_BIT_DMA_RX_
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movq	_DMAC_INT_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	20(%r12), %edi
	callq	_DMAC_INT_BIT_RXFRM_
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movq	_DMAC_INT_EN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	20(%r12), %edi
	callq	_DMAC_INT_BIT_RXFRM_
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movl	(%r15), %ebx
	movl	20(%r12), %edi
	callq	_DMAC_CMD_START_R_
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movq	_FCT_RX_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rax, %r15
	movl	20(%r12), %edi
	callq	_FCT_RX_CTL_RESET_
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movl	(%r15), %r15d
	movl	20(%r12), %edi
	callq	_FCT_RX_CTL_RESET_
	movl	$100, (%rsp)
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	movl	$1000, %r8d                     ## imm = 0x3E8
	movl	$20000, %r9d                    ## imm = 0x4E20
	callq	_lan743x_csr_wait_for_bit
	movl	20(%r12), %edi
	callq	_FCT_FLOW
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_FCT_FLOW_CTL_REQ_EN_@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$42, %edi
	callq	_FCT_FLOW_CTL_ON_THRESHOLD_SET_
	movl	%eax, %r13d
	movl	$10, %edi
	callq	_FCT_FLOW_CTL_OFF_THRESHOLD_SET_
	orl	%eax, %r13d
	orl	%r15d, %r13d
	movq	%r14, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	callq	_lan743x_csr_write
	movq	_FCT_RX_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	20(%r12), %edi
	callq	_FCT_RX_CTL_EN_
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
LBB0_19:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lan743x_rx_napi_poll,4,2       ## @lan743x_rx_napi_poll
	.comm	_DMAC_CMD,4,2                   ## @DMAC_CMD
	.comm	_RX_CFG_A_RX_HP_WB_EN_,4,2      ## @RX_CFG_A_RX_HP_WB_EN_
	.comm	_LAN743X_CSR_FLAG_IS_A0,4,2     ## @LAN743X_CSR_FLAG_IS_A0
	.comm	_RX_CFG_A_RX_WB_ON_INT_TMR_,4,2 ## @RX_CFG_A_RX_WB_ON_INT_TMR_
	.comm	_RX_CFG_B_RX_PAD_MASK_,4,2      ## @RX_CFG_B_RX_PAD_MASK_
	.comm	_RX_HEAD_PADDING,4,2            ## @RX_HEAD_PADDING
	.comm	_RX_CFG_B_RX_PAD_0_,4,2         ## @RX_CFG_B_RX_PAD_0_
	.comm	_RX_CFG_B_RX_PAD_2_,4,2         ## @RX_CFG_B_RX_PAD_2_
	.comm	_RX_CFG_B_RX_RING_LEN_MASK_,4,2 ## @RX_CFG_B_RX_RING_LEN_MASK_
	.comm	_RX_CFG_B_TS_ALL_RX_,4,2        ## @RX_CFG_B_TS_ALL_RX_
	.comm	_RX_CFG_B_RDMABL_512_,4,2       ## @RX_CFG_B_RDMABL_512_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_CLEAR,4,2 ## @LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_CLEAR
	.comm	_RX_CFG_C_RX_TOP_INT_EN_AUTO_CLR_,4,2 ## @RX_CFG_C_RX_TOP_INT_EN_AUTO_CLR_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_STATUS_AUTO_CLEAR,4,2 ## @LAN743X_VECTOR_FLAG_SOURCE_STATUS_AUTO_CLEAR
	.comm	_RX_CFG_C_RX_DMA_INT_STS_AUTO_CLR_,4,2 ## @RX_CFG_C_RX_DMA_INT_STS_AUTO_CLR_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C,4,2 ## @LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C
	.comm	_RX_CFG_C_RX_INT_STS_R2C_MODE_MASK_,4,2 ## @RX_CFG_C_RX_INT_STS_R2C_MODE_MASK_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C,4,2 ## @LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C
	.comm	_RX_CFG_C_RX_INT_EN_R2C_,4,2    ## @RX_CFG_C_RX_INT_EN_R2C_
	.comm	_EIO,4,2                        ## @EIO
	.comm	_INT_EN_SET,4,2                 ## @INT_EN_SET
	.comm	_DMAC_INT_STS,4,2               ## @DMAC_INT_STS
	.comm	_DMAC_INT_EN_SET,4,2            ## @DMAC_INT_EN_SET
	.comm	_FCT_RX_CTL,4,2                 ## @FCT_RX_CTL
	.comm	_FCT_FLOW_CTL_REQ_EN_,4,2       ## @FCT_FLOW_CTL_REQ_EN_
	.no_dead_strip	_lan743x_rx_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lan743x_rx_open
_lan743x_rx_open:                       ; @lan743x_rx_open
	.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, x0
	ldr	x20, [x0, #40]
	str	xzr, [x0, #32]
	bl	_lan743x_rx_ring_init
	mov	x22, x0
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	w0, [x20, #4]
	add	x21, x19, #16
Lloh0:
	adrp	x8, _lan743x_rx_napi_poll@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lan743x_rx_napi_poll@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	ldr	w8, [x19]
	sub	w3, w8, #1
	mov	x1, x21
	bl	_netif_napi_add
Lloh3:
	adrp	x25, _DMAC_CMD@GOTPAGE
Lloh4:
	ldr	x25, [x25, _DMAC_CMD@GOTPAGEOFF]
	ldr	w22, [x25]
	ldr	w0, [x19, #20]
	bl	_DMAC_CMD_RX_SWR_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_lan743x_csr_write
	ldr	w22, [x25]
	ldr	w0, [x19, #20]
	bl	_DMAC_CMD_RX_SWR_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #1000
	mov	w5, #20000
	mov	w6, #100
	bl	_lan743x_csr_wait_for_bit
	ldr	w0, [x19, #20]
	bl	_RX_BASE_ADDRH
	mov	x22, x0
	ldr	w0, [x19, #28]
	bl	_DMA_ADDR_HIGH32
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_lan743x_csr_write
	ldr	w0, [x19, #20]
	bl	_RX_BASE_ADDRL
	mov	x22, x0
	ldr	w0, [x19, #28]
	bl	_DMA_ADDR_LOW32
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_lan743x_csr_write
	ldr	w0, [x19, #20]
	bl	_RX_HEAD_WRITEBACK_ADDRH
	mov	x22, x0
	ldr	w0, [x19, #24]
	bl	_DMA_ADDR_HIGH32
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_lan743x_csr_write
	ldr	w0, [x19, #20]
	bl	_RX_HEAD_WRITEBACK_ADDRL
	mov	x22, x0
	ldr	w0, [x19, #24]
	bl	_DMA_ADDR_LOW32
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_lan743x_csr_write
Lloh5:
	adrp	x8, _RX_CFG_A_RX_HP_WB_EN_@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RX_CFG_A_RX_HP_WB_EN_@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	ldr	w8, [x20]
Lloh8:
	adrp	x26, _LAN743X_CSR_FLAG_IS_A0@GOTPAGE
Lloh9:
	ldr	x26, [x26, _LAN743X_CSR_FLAG_IS_A0@GOTPAGEOFF]
	ldr	w9, [x26]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
Lloh10:
	adrp	x8, _RX_CFG_A_RX_WB_ON_INT_TMR_@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RX_CFG_A_RX_WB_ON_INT_TMR_@GOTPAGEOFF]
Lloh12:
	ldr	w27, [x8]
	mov	w0, #7
	bl	_RX_CFG_A_RX_WB_THRES_SET_
	mov	x23, x0
	mov	w0, #16
	bl	_RX_CFG_A_RX_PF_THRES_SET_
	mov	x24, x0
	mov	w0, #4
	bl	_RX_CFG_A_RX_PF_PRI_THRES_SET_
	orr	w8, w27, w22
	orr	w8, w8, w23
	orr	w8, w8, w24
	orr	w22, w8, w0
LBB0_3:
	ldr	w0, [x19, #20]
	bl	_RX_CFG_A
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_lan743x_csr_write
	ldr	w0, [x19, #20]
	bl	_RX_CFG_B
	mov	x1, x0
	mov	x0, x20
	bl	_lan743x_csr_read
Lloh13:
	adrp	x8, _RX_CFG_B_RX_PAD_MASK_@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RX_CFG_B_RX_PAD_MASK_@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _RX_HEAD_PADDING@GOTPAGE
Lloh17:
	ldr	x9, [x9, _RX_HEAD_PADDING@GOTPAGEOFF]
	bic	w8, w0, w8
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _RX_CFG_B_RX_PAD_0_@GOTPAGE
Lloh20:
	ldr	x10, [x10, _RX_CFG_B_RX_PAD_0_@GOTPAGEOFF]
Lloh21:
	adrp	x11, _RX_CFG_B_RX_PAD_2_@GOTPAGE
Lloh22:
	ldr	x11, [x11, _RX_CFG_B_RX_PAD_2_@GOTPAGEOFF]
	cmp	w9, #0
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _RX_CFG_B_RX_RING_LEN_MASK_@GOTPAGE
Lloh24:
	ldr	x9, [x9, _RX_CFG_B_RX_RING_LEN_MASK_@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	bic	w8, w8, w9
	ldr	w10, [x19]
	and	w9, w10, w9
Lloh26:
	adrp	x10, _RX_CFG_B_TS_ALL_RX_@GOTPAGE
Lloh27:
	ldr	x10, [x10, _RX_CFG_B_TS_ALL_RX_@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh28:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [x20]
Lloh29:
	adrp	x10, _RX_CFG_B_RDMABL_512_@GOTPAGE
Lloh30:
	ldr	x10, [x10, _RX_CFG_B_RDMABL_512_@GOTPAGEOFF]
	ldr	w11, [x26]
Lloh31:
	ldr	w10, [x10]
	tst	w11, w9
	csel	w9, w10, wzr, eq
	orr	w22, w8, w9
	ldr	w0, [x19, #20]
	bl	_RX_CFG_B
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_lan743x_csr_write
	ldr	w0, [x19, #20]
	bl	_INT_BIT_DMA_RX_
	mov	x1, x0
	mov	x0, x20
	bl	_lan743x_intr_get_vector_flags
	str	w0, [x19, #4]
Lloh32:
	adrp	x8, _LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_CLEAR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_CLEAR@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _RX_CFG_C_RX_TOP_INT_EN_AUTO_CLR_@GOTPAGE
Lloh36:
	ldr	x9, [x9, _RX_CFG_C_RX_TOP_INT_EN_AUTO_CLR_@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
Lloh38:
	adrp	x9, _LAN743X_VECTOR_FLAG_SOURCE_STATUS_AUTO_CLEAR@GOTPAGE
Lloh39:
	ldr	x9, [x9, _LAN743X_VECTOR_FLAG_SOURCE_STATUS_AUTO_CLEAR@GOTPAGEOFF]
Lloh40:
	adrp	x10, _RX_CFG_C_RX_DMA_INT_STS_AUTO_CLR_@GOTPAGE
Lloh41:
	ldr	x10, [x10, _RX_CFG_C_RX_DMA_INT_STS_AUTO_CLR_@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
Lloh43:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
Lloh44:
	adrp	x10, _LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C@GOTPAGE
Lloh45:
	ldr	x10, [x10, _LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh46:
	ldr	w9, [x10]
Lloh47:
	adrp	x10, _RX_CFG_C_RX_INT_STS_R2C_MODE_MASK_@GOTPAGE
Lloh48:
	ldr	x10, [x10, _RX_CFG_C_RX_INT_STS_R2C_MODE_MASK_@GOTPAGEOFF]
Lloh49:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh50:
	adrp	x9, _LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C@GOTPAGE
Lloh51:
	ldr	x9, [x9, _LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C@GOTPAGEOFF]
Lloh52:
	adrp	x10, _RX_CFG_C_RX_INT_EN_R2C_@GOTPAGE
Lloh53:
	ldr	x10, [x10, _RX_CFG_C_RX_INT_EN_R2C_@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
Lloh55:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w22, w8, w9
	ldr	w0, [x19, #20]
	bl	_RX_CFG_C
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_lan743x_csr_write
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19, #8]
	ldr	w0, [x19, #20]
	bl	_RX_TAIL
	mov	x1, x0
	ldr	w2, [x19, #8]
	mov	x0, x20
	bl	_lan743x_csr_write
	ldr	w0, [x19, #20]
	bl	_RX_HEAD
	mov	x1, x0
	mov	x0, x20
	bl	_lan743x_csr_read
	str	w0, [x19, #12]
	cbz	w0, LBB0_5
; %bb.4:
Lloh56:
	adrp	x8, _EIO@GOTPAGE
Lloh57:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	neg	w22, w8
	mov	x0, x21
	bl	_netif_napi_del
	mov	x0, x19
	bl	_lan743x_rx_ring_cleanup
	b	LBB0_6
LBB0_5:
	mov	x0, x21
	bl	_napi_enable
Lloh59:
	adrp	x8, _INT_EN_SET@GOTPAGE
Lloh60:
	ldr	x8, [x8, _INT_EN_SET@GOTPAGEOFF]
Lloh61:
	ldr	w21, [x8]
	ldr	w0, [x19, #20]
	bl	_INT_BIT_DMA_RX_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_lan743x_csr_write
Lloh62:
	adrp	x8, _DMAC_INT_STS@GOTPAGE
Lloh63:
	ldr	x8, [x8, _DMAC_INT_STS@GOTPAGEOFF]
Lloh64:
	ldr	w21, [x8]
	ldr	w0, [x19, #20]
	bl	_DMAC_INT_BIT_RXFRM_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_lan743x_csr_write
Lloh65:
	adrp	x8, _DMAC_INT_EN_SET@GOTPAGE
Lloh66:
	ldr	x8, [x8, _DMAC_INT_EN_SET@GOTPAGEOFF]
Lloh67:
	ldr	w21, [x8]
	ldr	w0, [x19, #20]
	bl	_DMAC_INT_BIT_RXFRM_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_lan743x_csr_write
	ldr	w21, [x25]
	ldr	w0, [x19, #20]
	bl	_DMAC_CMD_START_R_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_lan743x_csr_write
Lloh68:
	adrp	x22, _FCT_RX_CTL@GOTPAGE
Lloh69:
	ldr	x22, [x22, _FCT_RX_CTL@GOTPAGEOFF]
	ldr	w21, [x22]
	ldr	w0, [x19, #20]
	bl	_FCT_RX_CTL_RESET_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_lan743x_csr_write
	ldr	w21, [x22]
	ldr	w0, [x19, #20]
	bl	_FCT_RX_CTL_RESET_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1000
	mov	w5, #20000
	mov	w6, #100
	bl	_lan743x_csr_wait_for_bit
	ldr	w0, [x19, #20]
	bl	_FCT_FLOW
	mov	x21, x0
Lloh70:
	adrp	x8, _FCT_FLOW_CTL_REQ_EN_@GOTPAGE
Lloh71:
	ldr	x8, [x8, _FCT_FLOW_CTL_REQ_EN_@GOTPAGEOFF]
Lloh72:
	ldr	w23, [x8]
	mov	w0, #42
	bl	_FCT_FLOW_CTL_ON_THRESHOLD_SET_
	orr	w23, w0, w23
	mov	w0, #10
	bl	_FCT_FLOW_CTL_OFF_THRESHOLD_SET_
	orr	w2, w23, w0
	mov	x0, x20
	mov	x1, x21
	bl	_lan743x_csr_write
	ldr	w21, [x22]
	ldr	w0, [x19, #20]
	bl	_FCT_RX_CTL_EN_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_lan743x_csr_write
	mov	w22, #0
LBB0_6:
	mov	x0, x22
	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
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh54
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh42
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_lan743x_rx_napi_poll,4,2       ; @lan743x_rx_napi_poll
	.comm	_DMAC_CMD,4,2                   ; @DMAC_CMD
	.comm	_RX_CFG_A_RX_HP_WB_EN_,4,2      ; @RX_CFG_A_RX_HP_WB_EN_
	.comm	_LAN743X_CSR_FLAG_IS_A0,4,2     ; @LAN743X_CSR_FLAG_IS_A0
	.comm	_RX_CFG_A_RX_WB_ON_INT_TMR_,4,2 ; @RX_CFG_A_RX_WB_ON_INT_TMR_
	.comm	_RX_CFG_B_RX_PAD_MASK_,4,2      ; @RX_CFG_B_RX_PAD_MASK_
	.comm	_RX_HEAD_PADDING,4,2            ; @RX_HEAD_PADDING
	.comm	_RX_CFG_B_RX_PAD_0_,4,2         ; @RX_CFG_B_RX_PAD_0_
	.comm	_RX_CFG_B_RX_PAD_2_,4,2         ; @RX_CFG_B_RX_PAD_2_
	.comm	_RX_CFG_B_RX_RING_LEN_MASK_,4,2 ; @RX_CFG_B_RX_RING_LEN_MASK_
	.comm	_RX_CFG_B_TS_ALL_RX_,4,2        ; @RX_CFG_B_TS_ALL_RX_
	.comm	_RX_CFG_B_RDMABL_512_,4,2       ; @RX_CFG_B_RDMABL_512_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_CLEAR,4,2 ; @LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_CLEAR
	.comm	_RX_CFG_C_RX_TOP_INT_EN_AUTO_CLR_,4,2 ; @RX_CFG_C_RX_TOP_INT_EN_AUTO_CLR_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_STATUS_AUTO_CLEAR,4,2 ; @LAN743X_VECTOR_FLAG_SOURCE_STATUS_AUTO_CLEAR
	.comm	_RX_CFG_C_RX_DMA_INT_STS_AUTO_CLR_,4,2 ; @RX_CFG_C_RX_DMA_INT_STS_AUTO_CLR_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C,4,2 ; @LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C
	.comm	_RX_CFG_C_RX_INT_STS_R2C_MODE_MASK_,4,2 ; @RX_CFG_C_RX_INT_STS_R2C_MODE_MASK_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C,4,2 ; @LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C
	.comm	_RX_CFG_C_RX_INT_EN_R2C_,4,2    ; @RX_CFG_C_RX_INT_EN_R2C_
	.comm	_EIO,4,2                        ; @EIO
	.comm	_INT_EN_SET,4,2                 ; @INT_EN_SET
	.comm	_DMAC_INT_STS,4,2               ; @DMAC_INT_STS
	.comm	_DMAC_INT_EN_SET,4,2            ; @DMAC_INT_EN_SET
	.comm	_FCT_RX_CTL,4,2                 ; @FCT_RX_CTL
	.comm	_FCT_FLOW_CTL_REQ_EN_,4,2       ; @FCT_FLOW_CTL_REQ_EN_
	.no_dead_strip	_lan743x_rx_open
.subsections_via_symbols
