	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cp_start_xmit
_cp_start_xmit:                         ## @cp_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	leaq	24(%rax), %r13
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	%r14, %rdi
	callq	_TX_BUFFS_AVAIL
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_skb_shinfo
	movslq	(%rax), %rax
	incq	%rax
	cmpq	%rax, %rbx
	jle	LBB0_1
## %bb.3:
	movl	(%r14), %ecx
	movq	_CP_TX_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	xorl	%edx, %edx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	cmpl	%eax, %ecx
	jne	LBB0_5
## %bb.4:
	movq	_RingEnd@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_5:
	movl	%edx, -76(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_skb_shinfo
	movl	4(%rax), %ebx
	movq	_MSSMask@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	jle	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_netdev_WARN_ONCE
LBB0_34:
	movq	%r15, %r13
	jmp	LBB0_35
LBB0_1:
	movq	%r12, %rdi
	callq	_netif_stop_queue
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_netdev_err
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	movq	%r15, %rdi
	callq	_cp_tx_vlan_tag
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_DescOwn@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.8:
	movq	_MSSShift@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movq	_LargeSend@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	orl	%ebx, %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_15
LBB0_9:
	movq	(%r15), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	jne	LBB0_15
## %bb.10:
	movq	%r15, %rdi
	callq	_ip_hdr
	movq	(%rax), %rax
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:
	movq	_TCPCS@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_12:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_33
## %bb.13:
	movq	_UDPCS@GOTPCREL(%rip), %rax
LBB0_14:
	movq	_IPCS@GOTPCREL(%rip), %rcx
	movl	(%rax), %eax
	orl	(%rcx), %eax
	orl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
LBB0_15:
	movq	%r15, %rdi
	callq	_skb_shinfo
	cmpl	$0, (%rax)
	je	LBB0_16
## %bb.18:
	movq	%r15, %rdi
	callq	_skb_headlen
	movl	%eax, %edx
	movq	48(%r14), %rdi
	movl	12(%r15), %esi
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%edx, -128(%rbp)                ## 4-byte Spill
	callq	_dma_map_single
	movl	%eax, %ebx
	movq	48(%r14), %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	movq	%r15, %r13
	jne	LBB0_35
## %bb.19:
	movl	%ebx, -124(%rbp)                ## 4-byte Spill
	movq	40(%r14), %rax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r13, (%rax,%r15,8)
	movq	%r13, %rdi
	callq	_skb_shinfo
	cmpl	$0, (%rax)
	movl	%r15d, %eax
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	jle	LBB0_29
## %bb.20:
	movq	%r13, %rdi
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
                                        ## kill: def $r15d killed $r15d killed $r15 def $r15
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_21 Depth=1
	orl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	orl	%eax, %r13d
	orl	%r13d, %ebx
	movl	%ebx, %r15d
	movq	32(%r14), %rbx
	movl	-64(%rbp), %r13d                ## 4-byte Reload
	leaq	(,%r13,2), %r14
	addq	%r13, %r14
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 16(%rbx,%r14,8)
	movl	-132(%rbp), %edi                ## 4-byte Reload
	callq	_cpu_to_le64
	movq	%rax, 8(%rbx,%r14,8)
	xorl	%eax, %eax
	callq	_wmb
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movq	%rax, (%rbx,%r14,8)
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_wmb
	movq	8(%r14), %rax
	movl	%r15d, (%rax,%r13,4)
	movq	40(%r14), %rax
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, (%rax,%r13,8)
	incq	%r12
	movq	%r15, %rdi
	callq	_skb_shinfo
	movslq	(%rax), %rax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	addq	$4, %rbx
	cmpq	%rax, %r12
	movq	%r15, %rdi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jge	LBB0_28
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	callq	_skb_shinfo
	movq	8(%rax), %r12
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	addq	%rbx, %r12
	movl	%r15d, %edi
	callq	_NEXT_TX
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_skb_frag_size
	movl	%eax, %r13d
	movq	48(%r14), %rbx
	movq	%r12, %rdi
	callq	_skb_frag_address
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_dma_map_single
	movl	%eax, %ebx
	movq	48(%r14), %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	%ebx, -132(%rbp)                ## 4-byte Spill
	movq	_CP_TX_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	movl	$0, %ebx
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	cmpl	%r15d, %eax
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_RingEnd@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_25:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_skb_shinfo
	movl	(%rax), %ecx
	decl	%ecx
	movl	$0, %eax
	movq	-144(%rbp), %r12                ## 8-byte Reload
	cmpq	%rcx, %r12
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_LastFrag@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_27
LBB0_16:
	movq	32(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	48(%r14), %rdi
	movq	%r15, %r13
	movl	8(%r15), %r15d
	movl	12(%r13), %esi
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edx
	callq	_dma_map_single
	movl	%eax, %ebx
	movq	48(%r14), %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_35
## %bb.17:
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rax,2), %r12
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	%r15d, -72(%rbp)                ## 4-byte Spill
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%rcx, 16(%r15,%r12,8)
	movl	%ebx, %edi
	callq	_cpu_to_le64
	movq	%rax, 8(%r15,%r12,8)
	xorl	%eax, %eax
	callq	_wmb
	movq	_FirstFrag@GOTPCREL(%rip), %rax
	movq	_LastFrag@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	orl	-76(%rbp), %ebx                 ## 4-byte Folded Reload
	orl	-72(%rbp), %ebx                 ## 4-byte Folded Reload
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movq	%rax, (%r15,%r12,8)
	movq	-112(%rbp), %r12                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_wmb
	movq	40(%r14), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, (%rax,%rcx,8)
	movq	8(%r14), %rax
	movl	%ebx, (%rax,%rcx,4)
	movq	%rcx, %rbx
	movq	_tx_queued@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%r14), %rdx
	movl	8(%r13), %r9d
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_netif_dbg
	movq	%rbx, %rdi
	movq	%r13, %r15
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_30
LBB0_22:
	movq	%r14, %rdi
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r15d, %ecx
	callq	_unwind_tx_frag_mapping
LBB0_35:
	movq	%r13, %rdi
	callq	_dev_kfree_skb_any
	movq	16(%r14), %rax
	incl	(%rax)
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
LBB0_32:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_TxPoll@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NormalTxPoll@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_cpw8
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %rax
	movq	%rcx, %r15
LBB0_29:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movslq	%r15d, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %r14
	leaq	(%rcx,%rcx,2), %r15
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 16(%r14,%r15,8)
	movl	-124(%rbp), %edi                ## 4-byte Reload
	callq	_cpu_to_le64
	movq	%rax, 8(%r14,%r15,8)
	xorl	%eax, %eax
	callq	_wmb
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	orl	-76(%rbp), %r13d                ## 4-byte Folded Reload
	orl	-128(%rbp), %r13d               ## 4-byte Folded Reload
	movq	_FirstFrag@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movl	%r13d, %edi
	callq	_cpu_to_le32
	movq	%rax, (%r14,%r15,8)
	movq	-104(%rbp), %r15                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_wmb
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%r13d, (%rax,%rcx,4)
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	_tx_queued@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%r14), %rdx
	movl	8(%r15), %eax
	movl	%eax, (%rsp)
	leaq	L_.str.4(%rip), %rcx
	movq	%r14, %rdi
	movq	-56(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, %r9d
	xorl	%eax, %eax
	callq	_netif_dbg
	movl	%r13d, %edi
LBB0_30:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_NEXT_TX
	movl	%eax, (%r14)
	movl	8(%r15), %esi
	movq	%r12, %rdi
	callq	_netdev_sent_queue
	movq	%r14, %rdi
	callq	_TX_BUFFS_AVAIL
	movq	_MAX_SKB_FRAGS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	incq	%rcx
	cmpq	%rcx, %rax
	jg	LBB0_32
## %bb.31:
	movq	%r12, %rdi
	callq	_netif_stop_queue
	jmp	LBB0_32
LBB0_33:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_WARN_ONCE
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BUG! Tx Ring full when queue awake!\n"

	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_CP_TX_RING_SIZE,4,2            ## @CP_TX_RING_SIZE
	.comm	_RingEnd,4,2                    ## @RingEnd
	.comm	_MSSMask,4,2                    ## @MSSMask
L_.str.1:                               ## @.str.1
	.asciz	"Net bug: GSO size %d too large for 8139CP\n"

	.comm	_DescOwn,4,2                    ## @DescOwn
	.comm	_LargeSend,4,2                  ## @LargeSend
	.comm	_MSSShift,4,2                   ## @MSSShift
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_IPCS,4,2                       ## @IPCS
	.comm	_TCPCS,4,2                      ## @TCPCS
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_UDPCS,4,2                      ## @UDPCS
L_.str.2:                               ## @.str.2
	.asciz	"Net bug: asked to checksum invalid Legacy IP packet\n"

	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_FirstFrag,4,2                  ## @FirstFrag
	.comm	_LastFrag,4,2                   ## @LastFrag
	.comm	_tx_queued,4,2                  ## @tx_queued
L_.str.3:                               ## @.str.3
	.asciz	"tx queued, slot %d, skblen %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"tx queued, slots %d-%d, skblen %d\n"

	.comm	_MAX_SKB_FRAGS,8,3              ## @MAX_SKB_FRAGS
	.comm	_TxPoll,4,2                     ## @TxPoll
	.comm	_NormalTxPoll,4,2               ## @NormalTxPoll
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_cp_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cp_start_xmit
_cp_start_xmit:                         ; @cp_start_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x22, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	add	x19, x0, #24
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x20
	bl	_TX_BUFFS_AVAIL
	mov	x23, x0
	mov	x0, x22
	bl	_skb_shinfo
	ldrsw	x8, [x0]
	add	x8, x8, #1
	cmp	x23, x8
	b.le	LBB0_3
; %bb.1:
	ldr	w27, [x20]
Lloh0:
	adrp	x8, _CP_TX_RING_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CP_TX_RING_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #1
Lloh3:
	adrp	x9, _RingEnd@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RingEnd@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w27, w8
	csel	w24, w9, wzr, eq
	mov	x0, x22
	bl	_skb_shinfo
	ldr	w25, [x0, #4]
Lloh6:
	adrp	x8, _MSSMask@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSSMask@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w25, w8
	b.le	LBB0_4
; %bb.2:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x25
	bl	_netdev_WARN_ONCE
	b	LBB0_26
LBB0_3:
	mov	x0, x21
	bl	_netif_stop_queue
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_netdev_err
Lloh13:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_28
LBB0_4:
	mov	x0, x22
	bl	_cp_tx_vlan_tag
	bl	_cpu_to_le32
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
Lloh15:
	adrp	x8, _DescOwn@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DescOwn@GOTPAGEOFF]
Lloh17:
	ldr	w28, [x8]
	cbz	w25, LBB0_6
; %bb.5:
Lloh18:
	adrp	x8, _LargeSend@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LargeSend@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _MSSShift@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MSSShift@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	lsl	w9, w25, w9
	orr	w8, w8, w28
	orr	w28, w8, w9
	b	LBB0_12
LBB0_6:
	ldr	x8, [x22]
Lloh24:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh25:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.7:
	mov	x0, x22
	bl	_ip_hdr
	ldr	x8, [x0]
Lloh27:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
Lloh30:
	adrp	x8, _TCPCS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TCPCS@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh32:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh33:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.10:
Lloh35:
	adrp	x8, _UDPCS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _UDPCS@GOTPAGEOFF]
LBB0_11:
Lloh37:
	adrp	x9, _IPCS@GOTPAGE
Lloh38:
	ldr	x9, [x9, _IPCS@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	ldr	w8, [x8]
	orr	w8, w8, w9
	orr	w28, w8, w28
LBB0_12:
	mov	x0, x22
	bl	_skb_shinfo
	ldr	w8, [x0]
	cbz	w8, LBB0_20
; %bb.13:
	mov	x0, x22
	bl	_skb_headlen
	mov	x23, x0
	ldr	x0, [x20, #48]
	ldr	w1, [x22, #12]
Lloh40:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh42:
	ldr	w3, [x8]
	mov	x2, x23
	bl	_dma_map_single
	mov	x25, x0
	ldr	x0, [x20, #48]
	mov	x1, x25
	bl	_dma_mapping_error
	cbnz	x0, LBB0_26
; %bb.14:
	stp	w25, w23, [sp, #28]             ; 8-byte Folded Spill
	ldr	x8, [x20, #40]
	str	x22, [x8, x27, lsl #3]
	mov	x0, x22
	bl	_skb_shinfo
	ldr	w8, [x0]
	mov	x26, x27
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.15:
	str	w28, [sp, #36]                  ; 4-byte Folded Spill
	str	w24, [sp, #12]                  ; 4-byte Folded Spill
	mov	x23, #0
	mov	x24, #0
	str	x27, [sp, #16]                  ; 8-byte Folded Spill
	mov	x26, x27
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x25, x8, x23
	mov	x0, x26
	bl	_NEXT_TX
	mov	x26, x0
	mov	x0, x25
	bl	_skb_frag_size
	mov	x28, x0
	ldr	x27, [x20, #48]
	mov	x0, x25
	bl	_skb_frag_address
	mov	x1, x0
Lloh43:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh45:
	ldr	w3, [x8]
	mov	x0, x27
	mov	x2, x28
	bl	_dma_map_single
	mov	x25, x0
	ldr	x0, [x20, #48]
	mov	x1, x25
	bl	_dma_mapping_error
	cbnz	x0, LBB0_24
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
Lloh46:
	adrp	x8, _CP_TX_RING_SIZE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _CP_TX_RING_SIZE@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	sub	w8, w8, #1
Lloh49:
	adrp	x9, _RingEnd@GOTPAGE
Lloh50:
	ldr	x9, [x9, _RingEnd@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	cmp	w8, w26
	csel	w27, w9, wzr, eq
	mov	x0, x22
	bl	_skb_shinfo
	ldr	w8, [x0]
	sub	w8, w8, #1
Lloh52:
	adrp	x9, _LastFrag@GOTPAGE
Lloh53:
	ldr	x9, [x9, _LastFrag@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	cmp	x24, x8
	csel	w8, w9, wzr, eq
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	orr	w9, w28, w9
	orr	w9, w9, w27
	orr	w27, w9, w8
	ldr	x8, [x20, #32]
	and	x9, x26, #0xffffffff
	mov	w10, #24
	madd	x28, x9, x10, x8
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	str	x8, [x28, #16]
	mov	x0, x25
	bl	_cpu_to_le64
	str	x0, [x28, #8]
	bl	_wmb
	mov	x0, x27
	bl	_cpu_to_le32
	str	x0, [x28]
	bl	_wmb
	ldr	x8, [x20, #8]
	str	w27, [x8, w26, uxtw #2]
	ldr	x8, [x20, #40]
	str	x22, [x8, w26, uxtw #3]
	add	x24, x24, #1
	mov	x0, x22
	bl	_skb_shinfo
	ldrsw	x8, [x0]
	add	x23, x23, #4
	cmp	x24, x8
	b.lt	LBB0_16
; %bb.18:
	ldr	x27, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w24, [sp, #12]                  ; 4-byte Folded Reload
	ldr	w28, [sp, #36]                  ; 4-byte Folded Reload
LBB0_19:
	mov	x8, x27
	sxtw	x23, w8
	ldr	x8, [x20, #32]
	mov	w9, #24
	madd	x25, x23, x9, x8
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	str	x8, [x25, #16]
	ldr	w0, [sp, #28]                   ; 4-byte Folded Reload
	bl	_cpu_to_le64
	str	x0, [x25, #8]
	bl	_wmb
	orr	w8, w28, w24
	ldr	w9, [sp, #32]                   ; 4-byte Folded Reload
	orr	w8, w8, w9
Lloh55:
	adrp	x9, _FirstFrag@GOTPAGE
Lloh56:
	ldr	x9, [x9, _FirstFrag@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w24, w8, w9
	mov	x0, x24
	bl	_cpu_to_le32
	str	x0, [x25]
	bl	_wmb
	ldp	x8, x2, [x20, #8]
	str	w24, [x8, x23, lsl #2]
Lloh58:
	adrp	x8, _tx_queued@GOTPAGE
Lloh59:
	ldr	x8, [x8, _tx_queued@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	ldr	w8, [x22, #8]
	str	x8, [sp]
Lloh61:
	adrp	x3, l_.str.4@PAGE
Lloh62:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x4, x27
	mov	x5, x26
	bl	_netif_dbg
	mov	x27, x26
	b	LBB0_22
LBB0_20:
	ldr	x23, [x20, #32]
	ldr	x0, [x20, #48]
	ldp	w25, w1, [x22, #8]
Lloh63:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh64:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh65:
	ldr	w3, [x8]
	mov	x2, x25
	bl	_dma_map_single
	mov	x26, x0
	ldr	x0, [x20, #48]
	mov	x1, x26
	bl	_dma_mapping_error
	cbnz	x0, LBB0_26
; %bb.21:
	mov	w8, #24
	madd	x23, x27, x8, x23
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	str	x8, [x23, #16]
	mov	x0, x26
	bl	_cpu_to_le64
	str	x0, [x23, #8]
	bl	_wmb
Lloh66:
	adrp	x8, _FirstFrag@GOTPAGE
Lloh67:
	ldr	x8, [x8, _FirstFrag@GOTPAGEOFF]
Lloh68:
	adrp	x9, _LastFrag@GOTPAGE
Lloh69:
	ldr	x9, [x9, _LastFrag@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
Lloh71:
	ldr	w9, [x9]
	orr	w10, w28, w24
	orr	w10, w10, w25
	orr	w8, w10, w8
	orr	w24, w8, w9
	mov	x0, x24
	bl	_cpu_to_le32
	str	x0, [x23]
	bl	_wmb
	ldr	x8, [x20, #40]
	str	x22, [x8, x27, lsl #3]
	ldp	x8, x2, [x20, #8]
	str	w24, [x8, x27, lsl #2]
Lloh72:
	adrp	x8, _tx_queued@GOTPAGE
Lloh73:
	ldr	x8, [x8, _tx_queued@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	ldr	w5, [x22, #8]
Lloh75:
	adrp	x3, l_.str.3@PAGE
Lloh76:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x4, x27
	bl	_netif_dbg
LBB0_22:
	mov	x0, x27
	bl	_NEXT_TX
	str	w0, [x20]
	ldr	w1, [x22, #8]
	mov	x0, x21
	bl	_netdev_sent_queue
	mov	x0, x20
	bl	_TX_BUFFS_AVAIL
Lloh77:
	adrp	x8, _MAX_SKB_FRAGS@GOTPAGE
Lloh78:
	ldr	x8, [x8, _MAX_SKB_FRAGS@GOTPAGEOFF]
Lloh79:
	ldr	x8, [x8]
	add	x8, x8, #1
	cmp	x0, x8
	b.gt	LBB0_27
; %bb.23:
	mov	x0, x21
	bl	_netif_stop_queue
	b	LBB0_27
LBB0_24:
	mov	x0, x20
	mov	x1, x22
	ldr	x2, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x26
	bl	_unwind_tx_frag_mapping
	b	LBB0_26
LBB0_25:
Lloh80:
	adrp	x1, l_.str.2@PAGE
Lloh81:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_WARN_ONCE
LBB0_26:
	mov	x0, x22
	bl	_dev_kfree_skb_any
	ldr	x8, [x20, #16]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_27:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh82:
	adrp	x8, _TxPoll@GOTPAGE
Lloh83:
	ldr	x8, [x8, _TxPoll@GOTPAGEOFF]
Lloh84:
	ldr	w0, [x8]
Lloh85:
	adrp	x8, _NormalTxPoll@GOTPAGE
Lloh86:
	ldr	x8, [x8, _NormalTxPoll@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
	bl	_cpw8
Lloh88:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh89:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_28:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh70
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BUG! Tx Ring full when queue awake!\n"

	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_CP_TX_RING_SIZE,4,2            ; @CP_TX_RING_SIZE
	.comm	_RingEnd,4,2                    ; @RingEnd
	.comm	_MSSMask,4,2                    ; @MSSMask
l_.str.1:                               ; @.str.1
	.asciz	"Net bug: GSO size %d too large for 8139CP\n"

	.comm	_DescOwn,4,2                    ; @DescOwn
	.comm	_LargeSend,4,2                  ; @LargeSend
	.comm	_MSSShift,4,2                   ; @MSSShift
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_IPCS,4,2                       ; @IPCS
	.comm	_TCPCS,4,2                      ; @TCPCS
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_UDPCS,4,2                      ; @UDPCS
l_.str.2:                               ; @.str.2
	.asciz	"Net bug: asked to checksum invalid Legacy IP packet\n"

	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_FirstFrag,4,2                  ; @FirstFrag
	.comm	_LastFrag,4,2                   ; @LastFrag
	.comm	_tx_queued,4,2                  ; @tx_queued
l_.str.3:                               ; @.str.3
	.asciz	"tx queued, slot %d, skblen %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"tx queued, slots %d-%d, skblen %d\n"

	.comm	_MAX_SKB_FRAGS,8,3              ; @MAX_SKB_FRAGS
	.comm	_TxPoll,4,2                     ; @TxPoll
	.comm	_NormalTxPoll,4,2               ; @NormalTxPoll
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_cp_start_xmit
.subsections_via_symbols
