	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spider_net_kick_tx_dma
_spider_net_kick_tx_dma:                ## @spider_net_kick_tx_dma
	.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, %r15
	movq	_SPIDER_NET_GDTDMACCNTR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_spider_net_read_reg
	movq	_SPIDER_NET_TX_DMA_EN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.1:
	movq	16(%r15), %rbx
	movl	12(%rbx), %edi
	callq	_spider_net_get_descr_status
	movq	_SPIDER_NET_DESCR_CARDOWNED@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	je	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	8(%r15), %rbx
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rbx
	movl	12(%rbx), %edi
	callq	_spider_net_get_descr_status
	cmpq	(%r12), %rax
	jne	LBB0_5
LBB0_3:
	movq	_SPIDER_NET_GDTDCHA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	%r15, %rdi
	callq	_spider_net_write_reg
	movl	(%r14), %esi
	movq	_SPIDER_NET_DMA_TX_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_spider_net_write_reg
LBB0_4:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_SPIDER_NET_TX_TIMER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SPIDER_NET_GDTDMACCNTR,4,2     ## @SPIDER_NET_GDTDMACCNTR
	.comm	_SPIDER_NET_TX_DMA_EN,4,2       ## @SPIDER_NET_TX_DMA_EN
	.comm	_SPIDER_NET_DESCR_CARDOWNED,8,3 ## @SPIDER_NET_DESCR_CARDOWNED
	.comm	_SPIDER_NET_GDTDCHA,4,2         ## @SPIDER_NET_GDTDCHA
	.comm	_SPIDER_NET_DMA_TX_VALUE,4,2    ## @SPIDER_NET_DMA_TX_VALUE
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_SPIDER_NET_TX_TIMER,8,3        ## @SPIDER_NET_TX_TIMER
	.no_dead_strip	_spider_net_kick_tx_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spider_net_kick_tx_dma
_spider_net_kick_tx_dma:                ; @spider_net_kick_tx_dma
	.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
Lloh0:
	adrp	x20, _SPIDER_NET_GDTDMACCNTR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SPIDER_NET_GDTDMACCNTR@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_spider_net_read_reg
Lloh2:
	adrp	x8, _SPIDER_NET_TX_DMA_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SPIDER_NET_TX_DMA_EN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_6
; %bb.1:
	ldr	x21, [x19, #16]
	ldr	w0, [x21, #12]
	bl	_spider_net_get_descr_status
Lloh5:
	adrp	x22, _SPIDER_NET_DESCR_CARDOWNED@GOTPAGE
Lloh6:
	ldr	x22, [x22, _SPIDER_NET_DESCR_CARDOWNED@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
	cmp	x21, x8
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x21, [x21]
	ldr	w0, [x21, #12]
	bl	_spider_net_get_descr_status
	b	LBB0_2
LBB0_5:
Lloh7:
	adrp	x8, _SPIDER_NET_GDTDCHA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SPIDER_NET_GDTDCHA@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w2, [x21, #8]
	mov	x0, x19
	bl	_spider_net_write_reg
	ldr	w1, [x20]
Lloh10:
	adrp	x8, _SPIDER_NET_DMA_TX_VALUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SPIDER_NET_DMA_TX_VALUE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_spider_net_write_reg
LBB0_6:
Lloh13:
	adrp	x8, _jiffies@GOTPAGE
Lloh14:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
Lloh16:
	adrp	x9, _SPIDER_NET_TX_TIMER@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SPIDER_NET_TX_TIMER@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, 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
	b	_mod_timer
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SPIDER_NET_GDTDMACCNTR,4,2     ; @SPIDER_NET_GDTDMACCNTR
	.comm	_SPIDER_NET_TX_DMA_EN,4,2       ; @SPIDER_NET_TX_DMA_EN
	.comm	_SPIDER_NET_DESCR_CARDOWNED,8,3 ; @SPIDER_NET_DESCR_CARDOWNED
	.comm	_SPIDER_NET_GDTDCHA,4,2         ; @SPIDER_NET_GDTDCHA
	.comm	_SPIDER_NET_DMA_TX_VALUE,4,2    ; @SPIDER_NET_DMA_TX_VALUE
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_SPIDER_NET_TX_TIMER,8,3        ; @SPIDER_NET_TX_TIMER
	.no_dead_strip	_spider_net_kick_tx_dma
.subsections_via_symbols
