	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dnet_start_xmit
_dnet_start_xmit:                       ## @dnet_start_xmit
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	movq	_TX_STATUS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rax, %rdi
	callq	_dnet_readl
	movl	(%rbx), %esi
	movl	16(%rbx), %edx
	movq	8(%rbx), %rcx
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	%rbx, %rdi
	callq	_dnet_print_skb
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_dnet_readl
	movq	8(%rbx), %r15
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	movl	%r15d, %r12d
	andl	$3, %r12d
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addl	%r12d, %eax
	addl	$3, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, %r14d
	shrl	$2, %r14d
	movq	_DNET_FIFO_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_TX_FIFO_WCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_dnet_readl
	subq	%rax, %rbx
	cmpq	%r14, %rbx
	jle	LBB0_5
## %bb.1:
	shlq	$16, %r12
	orq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	cmpl	$4, -52(%rbp)                   ## 4-byte Folded Reload
	jb	LBB0_4
## %bb.2:
	movq	%r14, %rax
	andq	$-4, %r15
	cmpl	$2, %eax
	movl	$1, %r14d
	cmovael	%eax, %r14d
	xorl	%ebx, %ebx
	movq	_TX_DATA_FIFO@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %esi
	movl	(%r12), %edx
	movq	%r13, %rdi
	callq	_dnet_writel
	incq	%rbx
	cmpl	%ebx, %r14d
	jne	LBB0_3
LBB0_4:
	movq	_TX_LEN_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_dnet_writel
LBB0_5:
	movq	_TX_FIFO_WCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_dnet_readl
	movq	_DNET_FIFO_TX_DATA_AF_TH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_7
## %bb.6:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_stop_queue
	movq	_INTR_SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_dnet_readl
	movq	_INTR_ENB@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_dnet_readl
	movq	_DNET_INTR_ENB_TX_FIFOAE@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movl	(%rbx), %edx
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_dnet_writel
LBB0_7:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_tx_timestamp
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_STATUS,4,2                  ## @TX_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"start_xmit: len %u head %p data %p\n"

	.comm	_DNET_FIFO_SIZE,4,2             ## @DNET_FIFO_SIZE
	.comm	_TX_FIFO_WCNT,4,2               ## @TX_FIFO_WCNT
	.comm	_TX_DATA_FIFO,4,2               ## @TX_DATA_FIFO
	.comm	_TX_LEN_FIFO,4,2                ## @TX_LEN_FIFO
	.comm	_DNET_FIFO_TX_DATA_AF_TH,8,3    ## @DNET_FIFO_TX_DATA_AF_TH
	.comm	_INTR_SRC,4,2                   ## @INTR_SRC
	.comm	_INTR_ENB,4,2                   ## @INTR_ENB
	.comm	_DNET_INTR_ENB_TX_FIFOAE,8,3    ## @DNET_INTR_ENB_TX_FIFOAE
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_dnet_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dnet_start_xmit
_dnet_start_xmit:                       ; @dnet_start_xmit
	.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	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x22, _TX_STATUS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TX_STATUS@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_dnet_readl
	ldr	w1, [x19]
	ldr	w2, [x19, #16]
	ldr	x3, [x19, #8]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	mov	x0, x19
	bl	_dnet_print_skb
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w1, [x22]
	mov	x0, x20
	bl	_dnet_readl
	ldr	x24, [x19, #8]
	ldr	w22, [x19]
	and	x26, x24, #0x3
	add	w8, w22, w26
	add	w27, w8, #3
	lsr	w25, w27, #2
Lloh4:
	adrp	x8, _DNET_FIFO_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DNET_FIFO_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	w28, [x8]
Lloh7:
	adrp	x23, _TX_FIFO_WCNT@GOTPAGE
Lloh8:
	ldr	x23, [x23, _TX_FIFO_WCNT@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_dnet_readl
	sub	x8, x28, x0
	cmp	x8, x25
	b.le	LBB0_5
; %bb.1:
	orr	x22, x22, x26, lsl #16
	cmp	w27, #4
	b.lo	LBB0_4
; %bb.2:
	and	x24, x24, #0xfffffffffffffffc
	cmp	w25, #1
	csinc	w25, w25, wzr, hi
Lloh9:
	adrp	x26, _TX_DATA_FIFO@GOTPAGE
Lloh10:
	ldr	x26, [x26, _TX_DATA_FIFO@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24], #4
	ldr	w2, [x26]
	mov	x0, x20
	bl	_dnet_writel
	subs	w25, w25, #1
	b.ne	LBB0_3
LBB0_4:
Lloh11:
	adrp	x8, _TX_LEN_FIFO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TX_LEN_FIFO@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	bl	_dnet_writel
LBB0_5:
	ldr	w1, [x23]
	mov	x0, x20
	bl	_dnet_readl
Lloh14:
	adrp	x8, _DNET_FIFO_TX_DATA_AF_TH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DNET_FIFO_TX_DATA_AF_TH@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_7
; %bb.6:
	mov	x0, x21
	bl	_netif_stop_queue
Lloh17:
	adrp	x8, _INTR_SRC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _INTR_SRC@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_dnet_readl
Lloh20:
	adrp	x21, _INTR_ENB@GOTPAGE
Lloh21:
	ldr	x21, [x21, _INTR_ENB@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_dnet_readl
Lloh22:
	adrp	x8, _DNET_INTR_ENB_TX_FIFOAE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DNET_INTR_ENB_TX_FIFOAE@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	orr	x1, x8, x0
	ldr	w2, [x21]
	mov	x0, x20
	bl	_dnet_writel
LBB0_7:
	mov	x0, x19
	bl	_skb_tx_timestamp
	mov	x0, x19
	bl	_dev_kfree_skb
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh25:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	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	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_STATUS,4,2                  ; @TX_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"start_xmit: len %u head %p data %p\n"

	.comm	_DNET_FIFO_SIZE,4,2             ; @DNET_FIFO_SIZE
	.comm	_TX_FIFO_WCNT,4,2               ; @TX_FIFO_WCNT
	.comm	_TX_DATA_FIFO,4,2               ; @TX_DATA_FIFO
	.comm	_TX_LEN_FIFO,4,2                ; @TX_LEN_FIFO
	.comm	_DNET_FIFO_TX_DATA_AF_TH,8,3    ; @DNET_FIFO_TX_DATA_AF_TH
	.comm	_INTR_SRC,4,2                   ; @INTR_SRC
	.comm	_INTR_ENB,4,2                   ; @INTR_ENB
	.comm	_DNET_INTR_ENB_TX_FIFOAE,8,3    ; @DNET_INTR_ENB_TX_FIFOAE
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_dnet_start_xmit
.subsections_via_symbols
