	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan743x_tx_open
_lan743x_tx_open:                       ## @lan743x_tx_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, %r13
	movq	40(%rdi), %r15
	callq	_lan743x_tx_ring_init
	testl	%eax, %eax
	jne	LBB0_16
## %bb.1:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_FCT_TX_CTL@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movl	8(%r13), %edi
	callq	_FCT_TX_CTL_RESET_
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movl	(%r12), %ebx
	movl	8(%r13), %edi
	callq	_FCT_TX_CTL_RESET_
	movl	$100, (%rsp)
	movq	%r15, %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	(%r12), %ebx
	movl	8(%r13), %edi
	callq	_FCT_TX_CTL_EN_
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movq	_DMAC_CMD@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movl	8(%r13), %edi
	callq	_DMAC_CMD_TX_SWR_
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movl	(%r14), %ebx
	movl	8(%r13), %edi
	callq	_DMAC_CMD_TX_SWR_
	movl	$100, (%rsp)
	movq	%r15, %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	8(%r13), %edi
	callq	_TX_BASE_ADDRH
	movl	%eax, %ebx
	movl	36(%r13), %edi
	callq	_DMA_ADDR_HIGH32
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movl	8(%r13), %edi
	callq	_TX_BASE_ADDRL
	movl	%eax, %ebx
	movl	36(%r13), %edi
	callq	_DMA_ADDR_LOW32
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movl	8(%r13), %edi
	callq	_TX_CFG_B
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_lan743x_csr_read
	movq	_TX_CFG_B_TX_RING_LEN_MASK_@GOTPCREL(%rip), %rcx
	movl	(%r13), %ebx
	xorl	%eax, %ebx
	andl	(%rcx), %ebx
	xorl	%eax, %ebx
	movq	_LAN743X_CSR_FLAG_IS_A0@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	andl	4(%r15), %eax
	movl	$0, %eax
	jne	LBB0_3
## %bb.2:
	movq	_TX_CFG_B_TDMABL_512_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	orl	%eax, %ebx
	movl	8(%r13), %edi
	callq	_TX_CFG_B
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_lan743x_csr_write
	movq	_TX_CFG_A_TX_TMR_HPWB_SEL_IOC_@GOTPCREL(%rip), %rax
	movq	_TX_CFG_A_TX_HP_WB_EN_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	orl	(%rax), %r12d
	movl	(%r14), %eax
	testl	%eax, 4(%r15)
	jne	LBB0_5
## %bb.4:
	movq	_TX_CFG_A_TX_HP_WB_ON_INT_TMR_@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movl	$16, %edi
	callq	_TX_CFG_A_TX_PF_THRES_SET_
	movl	%eax, %ebx
	movl	$4, %edi
	callq	_TX_CFG_A_TX_PF_PRI_THRES_SET_
	movl	%eax, %r14d
	orl	%ebx, %r14d
	movl	$7, %edi
	callq	_TX_CFG_A_TX_HP_WB_THRES_SET_
	orl	%r14d, %eax
	orl	%eax, %r12d
LBB0_5:
	movl	8(%r13), %edi
	callq	_TX_CFG_A
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_lan743x_csr_write
	movl	8(%r13), %edi
	callq	_TX_HEAD_WRITEBACK_ADDRH
	movl	%eax, %ebx
	movl	32(%r13), %edi
	callq	_DMA_ADDR_HIGH32
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movl	8(%r13), %edi
	callq	_TX_HEAD_WRITEBACK_ADDRL
	movl	%eax, %ebx
	movl	32(%r13), %edi
	callq	_DMA_ADDR_LOW32
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movl	8(%r13), %edi
	callq	_TX_HEAD
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_lan743x_csr_read
	movq	%rax, 24(%r13)
	movq	$0, 16(%r13)
	movl	8(%r13), %edi
	callq	_TX_TAIL
	movl	16(%r13), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_lan743x_csr_write
	movl	8(%r13), %edi
	callq	_INT_BIT_DMA_TX_
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_lan743x_intr_get_vector_flags
	movl	%eax, 4(%r13)
	movl	(%r15), %edi
	leaq	12(%r13), %rbx
	movq	_lan743x_tx_napi_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	decl	%ecx
	movq	%rbx, %rsi
	callq	_netif_tx_napi_add
	movq	%rbx, %rdi
	callq	_napi_enable
	movq	_LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_CLEAR@GOTPCREL(%rip), %rcx
	movl	4(%r13), %eax
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	je	LBB0_7
## %bb.6:
	movq	_TX_CFG_C_TX_TOP_INT_EN_AUTO_CLR_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_7:
	movq	_LAN743X_VECTOR_FLAG_SOURCE_STATUS_AUTO_CLEAR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	andl	%eax, %ebx
	je	LBB0_9
## %bb.8:
	movq	_TX_CFG_C_TX_DMA_INT_STS_AUTO_CLR_@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
LBB0_9:
	movq	_LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%eax, %edx
	je	LBB0_11
## %bb.10:
	movq	_TX_CFG_C_TX_INT_STS_R2C_MODE_MASK_@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_11:
	movl	8(%r13), %edi
	orl	%ecx, %ebx
	movq	_LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_13
## %bb.12:
	movq	_TX_CFG_C_TX_INT_EN_R2C_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_13:
	orl	%eax, %edx
	orl	%edx, %ebx
	callq	_TX_CFG_C
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_lan743x_csr_write
	movq	_LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r13)
	jne	LBB0_15
## %bb.14:
	movq	_INT_EN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	8(%r13), %edi
	callq	_INT_BIT_DMA_TX_
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
LBB0_15:
	movq	_DMAC_INT_EN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	8(%r13), %edi
	callq	_DMAC_INT_BIT_TX_IOC_
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movq	_DMAC_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	8(%r13), %edi
	callq	_DMAC_CMD_START_T_
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lan743x_csr_write
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FCT_TX_CTL,4,2                 ## @FCT_TX_CTL
	.comm	_DMAC_CMD,4,2                   ## @DMAC_CMD
	.comm	_TX_CFG_B_TX_RING_LEN_MASK_,4,2 ## @TX_CFG_B_TX_RING_LEN_MASK_
	.comm	_LAN743X_CSR_FLAG_IS_A0,4,2     ## @LAN743X_CSR_FLAG_IS_A0
	.comm	_TX_CFG_B_TDMABL_512_,4,2       ## @TX_CFG_B_TDMABL_512_
	.comm	_TX_CFG_A_TX_TMR_HPWB_SEL_IOC_,4,2 ## @TX_CFG_A_TX_TMR_HPWB_SEL_IOC_
	.comm	_TX_CFG_A_TX_HP_WB_EN_,4,2      ## @TX_CFG_A_TX_HP_WB_EN_
	.comm	_TX_CFG_A_TX_HP_WB_ON_INT_TMR_,4,2 ## @TX_CFG_A_TX_HP_WB_ON_INT_TMR_
	.comm	_lan743x_tx_napi_poll,4,2       ## @lan743x_tx_napi_poll
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_CLEAR,4,2 ## @LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_CLEAR
	.comm	_TX_CFG_C_TX_TOP_INT_EN_AUTO_CLR_,4,2 ## @TX_CFG_C_TX_TOP_INT_EN_AUTO_CLR_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_STATUS_AUTO_CLEAR,4,2 ## @LAN743X_VECTOR_FLAG_SOURCE_STATUS_AUTO_CLEAR
	.comm	_TX_CFG_C_TX_DMA_INT_STS_AUTO_CLR_,4,2 ## @TX_CFG_C_TX_DMA_INT_STS_AUTO_CLR_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C,4,2 ## @LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C
	.comm	_TX_CFG_C_TX_INT_STS_R2C_MODE_MASK_,4,2 ## @TX_CFG_C_TX_INT_STS_R2C_MODE_MASK_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C,4,2 ## @LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C
	.comm	_TX_CFG_C_TX_INT_EN_R2C_,4,2    ## @TX_CFG_C_TX_INT_EN_R2C_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_SET,4,2 ## @LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_SET
	.comm	_INT_EN_SET,4,2                 ## @INT_EN_SET
	.comm	_DMAC_INT_EN_SET,4,2            ## @DMAC_INT_EN_SET
	.no_dead_strip	_lan743x_tx_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lan743x_tx_open
_lan743x_tx_open:                       ; @lan743x_tx_open
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x0
	ldr	x20, [x0, #40]
	bl	_lan743x_tx_ring_init
	mov	x19, x0
	cbnz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x23, _FCT_TX_CTL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _FCT_TX_CTL@GOTPAGEOFF]
	ldr	w22, [x23]
	ldr	w0, [x21, #8]
	bl	_FCT_TX_CTL_RESET_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_lan743x_csr_write
	ldr	w22, [x23]
	ldr	w0, [x21, #8]
	bl	_FCT_TX_CTL_RESET_
	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	w22, [x23]
	ldr	w0, [x21, #8]
	bl	_FCT_TX_CTL_EN_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_lan743x_csr_write
Lloh2:
	adrp	x23, _DMAC_CMD@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DMAC_CMD@GOTPAGEOFF]
	ldr	w22, [x23]
	ldr	w0, [x21, #8]
	bl	_DMAC_CMD_TX_SWR_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_lan743x_csr_write
	ldr	w22, [x23]
	ldr	w0, [x21, #8]
	bl	_DMAC_CMD_TX_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, [x21, #8]
	bl	_TX_BASE_ADDRH
	mov	x22, x0
	ldr	w0, [x21, #36]
	bl	_DMA_ADDR_HIGH32
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_lan743x_csr_write
	ldr	w0, [x21, #8]
	bl	_TX_BASE_ADDRL
	mov	x22, x0
	ldr	w0, [x21, #36]
	bl	_DMA_ADDR_LOW32
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_lan743x_csr_write
	ldr	w0, [x21, #8]
	bl	_TX_CFG_B
	mov	x1, x0
	mov	x0, x20
	bl	_lan743x_csr_read
Lloh4:
	adrp	x8, _TX_CFG_B_TX_RING_LEN_MASK_@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TX_CFG_B_TX_RING_LEN_MASK_@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w9, w0, w8
	ldr	w10, [x21]
	and	w8, w10, w8
	orr	w8, w9, w8
	ldr	w9, [x20, #4]
Lloh7:
	adrp	x24, _LAN743X_CSR_FLAG_IS_A0@GOTPAGE
Lloh8:
	ldr	x24, [x24, _LAN743X_CSR_FLAG_IS_A0@GOTPAGEOFF]
Lloh9:
	adrp	x10, _TX_CFG_B_TDMABL_512_@GOTPAGE
Lloh10:
	ldr	x10, [x10, _TX_CFG_B_TDMABL_512_@GOTPAGEOFF]
	ldr	w11, [x24]
Lloh11:
	ldr	w10, [x10]
	tst	w11, w9
	csel	w9, w10, wzr, eq
	orr	w22, w8, w9
	ldr	w0, [x21, #8]
	bl	_TX_CFG_B
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_lan743x_csr_write
Lloh12:
	adrp	x8, _TX_CFG_A_TX_TMR_HPWB_SEL_IOC_@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TX_CFG_A_TX_TMR_HPWB_SEL_IOC_@GOTPAGEOFF]
Lloh14:
	adrp	x9, _TX_CFG_A_TX_HP_WB_EN_@GOTPAGE
Lloh15:
	ldr	x9, [x9, _TX_CFG_A_TX_HP_WB_EN_@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	ldr	w9, [x9]
	orr	w22, w9, w8
	ldr	w8, [x20, #4]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
Lloh18:
	adrp	x8, _TX_CFG_A_TX_HP_WB_ON_INT_TMR_@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TX_CFG_A_TX_HP_WB_ON_INT_TMR_@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	orr	w22, w8, w22
	mov	w0, #16
	bl	_TX_CFG_A_TX_PF_THRES_SET_
	orr	w22, w22, w0
	mov	w0, #4
	bl	_TX_CFG_A_TX_PF_PRI_THRES_SET_
	orr	w22, w22, w0
	mov	w0, #7
	bl	_TX_CFG_A_TX_HP_WB_THRES_SET_
	orr	w22, w22, w0
LBB0_3:
	ldr	w0, [x21, #8]
	bl	_TX_CFG_A
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_lan743x_csr_write
	ldr	w0, [x21, #8]
	bl	_TX_HEAD_WRITEBACK_ADDRH
	mov	x22, x0
	ldr	w0, [x21, #32]
	bl	_DMA_ADDR_HIGH32
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_lan743x_csr_write
	ldr	w0, [x21, #8]
	bl	_TX_HEAD_WRITEBACK_ADDRL
	mov	x22, x0
	ldr	w0, [x21, #32]
	bl	_DMA_ADDR_LOW32
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_lan743x_csr_write
	ldr	w0, [x21, #8]
	bl	_TX_HEAD
	mov	x1, x0
	mov	x0, x20
	bl	_lan743x_csr_read
	stp	xzr, x0, [x21, #16]
	ldr	w0, [x21, #8]
	bl	_TX_TAIL
	mov	x1, x0
	ldr	w2, [x21, #16]
	mov	x0, x20
	bl	_lan743x_csr_write
	ldr	w0, [x21, #8]
	bl	_INT_BIT_DMA_TX_
	mov	x1, x0
	mov	x0, x20
	bl	_lan743x_intr_get_vector_flags
	str	w0, [x21, #4]
	ldr	w0, [x20]
	add	x22, x21, #12
Lloh21:
	adrp	x8, _lan743x_tx_napi_poll@GOTPAGE
Lloh22:
	ldr	x8, [x8, _lan743x_tx_napi_poll@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	ldr	w8, [x21]
	sub	w3, w8, #1
	mov	x1, x22
	bl	_netif_tx_napi_add
	mov	x0, x22
	bl	_napi_enable
Lloh24:
	adrp	x8, _LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_CLEAR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_CLEAR@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _TX_CFG_C_TX_TOP_INT_EN_AUTO_CLR_@GOTPAGE
Lloh28:
	ldr	x9, [x9, _TX_CFG_C_TX_TOP_INT_EN_AUTO_CLR_@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	ldp	w10, w0, [x21, #4]
	tst	w8, w10
	csel	w8, wzr, w9, eq
Lloh30:
	adrp	x9, _LAN743X_VECTOR_FLAG_SOURCE_STATUS_AUTO_CLEAR@GOTPAGE
Lloh31:
	ldr	x9, [x9, _LAN743X_VECTOR_FLAG_SOURCE_STATUS_AUTO_CLEAR@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w10
Lloh33:
	adrp	x9, _TX_CFG_C_TX_DMA_INT_STS_AUTO_CLR_@GOTPAGE
Lloh34:
	ldr	x9, [x9, _TX_CFG_C_TX_DMA_INT_STS_AUTO_CLR_@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
Lloh36:
	adrp	x9, _LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C@GOTPAGE
Lloh37:
	ldr	x9, [x9, _LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w10
Lloh39:
	adrp	x9, _TX_CFG_C_TX_INT_STS_R2C_MODE_MASK_@GOTPAGE
Lloh40:
	ldr	x9, [x9, _TX_CFG_C_TX_INT_STS_R2C_MODE_MASK_@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh42:
	adrp	x9, _LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C@GOTPAGE
Lloh43:
	ldr	x9, [x9, _LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	tst	w9, w10
Lloh45:
	adrp	x9, _TX_CFG_C_TX_INT_EN_R2C_@GOTPAGE
Lloh46:
	ldr	x9, [x9, _TX_CFG_C_TX_INT_EN_R2C_@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	csel	w9, wzr, w9, eq
	orr	w22, w8, w9
	bl	_TX_CFG_C
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_lan743x_csr_write
	ldr	w8, [x21, #4]
Lloh48:
	adrp	x9, _LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_SET@GOTPAGE
Lloh49:
	ldr	x9, [x9, _LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_SET@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.4:
Lloh51:
	adrp	x8, _INT_EN_SET@GOTPAGE
Lloh52:
	ldr	x8, [x8, _INT_EN_SET@GOTPAGEOFF]
Lloh53:
	ldr	w22, [x8]
	ldr	w0, [x21, #8]
	bl	_INT_BIT_DMA_TX_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_lan743x_csr_write
LBB0_5:
Lloh54:
	adrp	x8, _DMAC_INT_EN_SET@GOTPAGE
Lloh55:
	ldr	x8, [x8, _DMAC_INT_EN_SET@GOTPAGEOFF]
Lloh56:
	ldr	w22, [x8]
	ldr	w0, [x21, #8]
	bl	_DMAC_INT_BIT_TX_IOC_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_lan743x_csr_write
	ldr	w22, [x23]
	ldr	w0, [x21, #8]
	bl	_DMAC_CMD_START_T_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_lan743x_csr_write
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_FCT_TX_CTL,4,2                 ; @FCT_TX_CTL
	.comm	_DMAC_CMD,4,2                   ; @DMAC_CMD
	.comm	_TX_CFG_B_TX_RING_LEN_MASK_,4,2 ; @TX_CFG_B_TX_RING_LEN_MASK_
	.comm	_LAN743X_CSR_FLAG_IS_A0,4,2     ; @LAN743X_CSR_FLAG_IS_A0
	.comm	_TX_CFG_B_TDMABL_512_,4,2       ; @TX_CFG_B_TDMABL_512_
	.comm	_TX_CFG_A_TX_TMR_HPWB_SEL_IOC_,4,2 ; @TX_CFG_A_TX_TMR_HPWB_SEL_IOC_
	.comm	_TX_CFG_A_TX_HP_WB_EN_,4,2      ; @TX_CFG_A_TX_HP_WB_EN_
	.comm	_TX_CFG_A_TX_HP_WB_ON_INT_TMR_,4,2 ; @TX_CFG_A_TX_HP_WB_ON_INT_TMR_
	.comm	_lan743x_tx_napi_poll,4,2       ; @lan743x_tx_napi_poll
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_CLEAR,4,2 ; @LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_CLEAR
	.comm	_TX_CFG_C_TX_TOP_INT_EN_AUTO_CLR_,4,2 ; @TX_CFG_C_TX_TOP_INT_EN_AUTO_CLR_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_STATUS_AUTO_CLEAR,4,2 ; @LAN743X_VECTOR_FLAG_SOURCE_STATUS_AUTO_CLEAR
	.comm	_TX_CFG_C_TX_DMA_INT_STS_AUTO_CLR_,4,2 ; @TX_CFG_C_TX_DMA_INT_STS_AUTO_CLR_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C,4,2 ; @LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C
	.comm	_TX_CFG_C_TX_INT_STS_R2C_MODE_MASK_,4,2 ; @TX_CFG_C_TX_INT_STS_R2C_MODE_MASK_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C,4,2 ; @LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C
	.comm	_TX_CFG_C_TX_INT_EN_R2C_,4,2    ; @TX_CFG_C_TX_INT_EN_R2C_
	.comm	_LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_SET,4,2 ; @LAN743X_VECTOR_FLAG_SOURCE_ENABLE_AUTO_SET
	.comm	_INT_EN_SET,4,2                 ; @INT_EN_SET
	.comm	_DMAC_INT_EN_SET,4,2            ; @DMAC_INT_EN_SET
	.no_dead_strip	_lan743x_tx_open
.subsections_via_symbols
