	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function de_start_xmit
_de_start_xmit:                         ## @de_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	_FirstFrag@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_LastFrag@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	4(%r12), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irq
	movq	%r12, %rdi
	callq	_TX_BUFFS_AVAIL
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	(%r12), %r13d
	movl	16(%r12), %edi
	movq	%rax, %rbx
	movq	24(%r12), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r14d
	movl	4(%rax), %esi
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edx
	callq	_pci_map_single
	movq	_DE_TX_RING_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leal	-1(%rbx), %ecx
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	cmpl	%esi, %ecx
	movq	_TxSwInt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	$0, %ecx
	cmovel	%esi, %ecx
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	decl	%eax
	cmovel	%esi, %ecx
	orl	-52(%rbp), %r15d                ## 4-byte Folded Reload
	decl	%edx
	movl	$0, %eax
	cmpl	%edx, %r13d
	jne	LBB0_4
## %bb.3:
	movq	_RingEnd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	orl	%r14d, %r15d
	orl	%ecx, %r15d
	orl	%eax, %r15d
	movl	%r15d, %edi
	callq	_cpu_to_le32
	leaq	(,%r13,2), %rbx
	addq	%r13, %rbx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, 16(%r14,%rbx,8)
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r14,%rbx,8)
	movq	8(%r12), %rax
	movq	%r13, %rcx
	shlq	$4, %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, 8(%rax,%rcx)
	movl	%r15d, (%rax,%rcx)
	xorl	%eax, %eax
	callq	_wmb
	movq	_DescOwn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, (%r14,%rbx,8)
	xorl	%eax, %eax
	callq	_wmb
	movl	%r13d, %edi
	callq	_NEXT_TX
	movl	%eax, (%r12)
	movq	_tx_queued@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r9d
	leaq	L_.str(%rip), %rcx
	movq	%r12, %rdi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%r13d, %r8d
	callq	_netif_dbg
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_netif_stop_queue
LBB0_6:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irq
	movq	_TxPoll@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NormalTxPoll@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dw32
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	%r14, %rdi
	callq	_netif_stop_queue
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FirstFrag,4,2                  ## @FirstFrag
	.comm	_LastFrag,4,2                   ## @LastFrag
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_DE_TX_RING_SIZE,4,2            ## @DE_TX_RING_SIZE
	.comm	_RingEnd,4,2                    ## @RingEnd
	.comm	_TxSwInt,4,2                    ## @TxSwInt
	.comm	_DescOwn,4,2                    ## @DescOwn
	.comm	_tx_queued,4,2                  ## @tx_queued
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx queued, slot %d, skblen %d\n"

	.comm	_TxPoll,4,2                     ## @TxPoll
	.comm	_NormalTxPoll,4,2               ## @NormalTxPoll
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_de_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function de_start_xmit
_de_start_xmit:                         ; @de_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	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x22, x0
Lloh0:
	adrp	x8, _FirstFrag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FirstFrag@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _LastFrag@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LastFrag@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	add	x20, x0, #4
	mov	x0, x20
	bl	_spin_lock_irq
	mov	x0, x22
	bl	_TX_BUFFS_AVAIL
	cbz	w0, LBB0_4
; %bb.1:
	orr	w27, w24, w23
	sub	w26, w0, #1
	ldr	w23, [x22]
	ldr	x28, [x22, #24]
	ldr	w0, [x22, #16]
	ldp	w24, w1, [x21]
Lloh6:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x2, x24
	bl	_pci_map_single
	mov	x25, x0
Lloh9:
	adrp	x8, _DE_TX_RING_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DE_TX_RING_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	sub	w9, w8, #1
Lloh12:
	adrp	x10, _RingEnd@GOTPAGE
Lloh13:
	ldr	x10, [x10, _RingEnd@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	cmp	w23, w9
	csel	w9, w10, wzr, eq
	cmp	w8, #0
	cinc	w8, w8, lt
	cmp	w26, w8, asr #1
Lloh15:
	adrp	x8, _TxSwInt@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TxSwInt@GOTPAGEOFF]
	ccmp	w26, #0, #4, ne
Lloh17:
	ldr	w8, [x8]
	csel	w8, w8, wzr, eq
	orr	w10, w27, w24
	orr	w9, w10, w9
	orr	w0, w9, w8
	bl	_cpu_to_le32
	mov	w8, #24
	madd	x24, x23, x8, x28
	str	x0, [x24, #16]
	mov	x0, x25
	bl	_cpu_to_le32
	str	x0, [x24, #8]
	ldr	x8, [x22, #8]
	add	x8, x8, x23, lsl #4
	str	x21, [x8, #8]
	str	w25, [x8]
	bl	_wmb
Lloh18:
	adrp	x8, _DescOwn@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DescOwn@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	x0, [x24]
	bl	_wmb
	mov	x0, x23
	bl	_NEXT_TX
	str	w0, [x22]
Lloh21:
	adrp	x8, _tx_queued@GOTPAGE
Lloh22:
	ldr	x8, [x8, _tx_queued@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w5, [x21]
Lloh24:
	adrp	x3, l_.str@PAGE
Lloh25:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x19
	mov	x4, x23
	bl	_netif_dbg
	cbnz	w26, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_3:
	mov	x0, x20
	bl	_spin_unlock_irq
Lloh26:
	adrp	x8, _TxPoll@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TxPoll@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x8, _NormalTxPoll@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NormalTxPoll@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_dw32
Lloh32:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_netif_stop_queue
	mov	x0, x20
	bl	_spin_unlock_irq
Lloh34:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh35:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
LBB0_5:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_FirstFrag,4,2                  ; @FirstFrag
	.comm	_LastFrag,4,2                   ; @LastFrag
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_DE_TX_RING_SIZE,4,2            ; @DE_TX_RING_SIZE
	.comm	_RingEnd,4,2                    ; @RingEnd
	.comm	_TxSwInt,4,2                    ; @TxSwInt
	.comm	_DescOwn,4,2                    ; @DescOwn
	.comm	_tx_queued,4,2                  ; @tx_queued
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx queued, slot %d, skblen %d\n"

	.comm	_TxPoll,4,2                     ; @TxPoll
	.comm	_NormalTxPoll,4,2               ; @NormalTxPoll
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_de_start_xmit
.subsections_via_symbols
