	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sgiseeq_start_xmit
_sgiseeq_start_xmit:                    ## @sgiseeq_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	%rsi, %r15
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	movq	24(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	8(%r13), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movl	(%r12), %ebx
	movq	_ETH_ZLEN@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	cmpl	%esi, %ebx
	jge	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	callq	_skb_padto
	testq	%rax, %rax
	jne	LBB0_9
## %bb.2:
	movl	(%r14), %ebx
LBB0_3:
	addl	%ebx, 4(%r15)
	movslq	(%r13), %r14
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	16(%r13), %r15
	shlq	$4, %r14
	leaq	(%r15,%r14), %rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dma_sync_desc_cpu
	movq	%r12, 8(%r15,%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	4(%r12), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edx
	callq	_dma_map_single
	movl	%eax, 4(%r15,%r14)
	movq	_HPCDMA_BCNT@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_HPCDMA_XIU@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HPCDMA_EOXP@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HPCDMA_XIE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HPCDMA_EOX@GOTPCREL(%rip), %r12
	orl	(%r12), %ebx
	movl	%ebx, (%r15,%r14)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_dma_sync_desc_dev
	movl	(%r13), %eax
	movl	4(%r13), %edi
	cmpl	%eax, %edi
	je	LBB0_5
## %bb.4:
	movq	16(%r13), %r15
	movl	%eax, %edi
	callq	_PREV_TX
	movq	%rax, %rbx
	shlq	$4, %rbx
	leaq	(%r15,%rbx), %r14
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_dma_sync_desc_cpu
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, (%r15,%rbx)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dma_sync_desc_dev
	movl	(%r13), %edi
LBB0_5:
	callq	_NEXT_TX
	movl	%eax, (%r13)
	movq	_HPC3_ETXCTRL_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	testl	%eax, (%rdx)
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_kick_tx
LBB0_7:
	movq	%r13, %rdi
	callq	_TX_BUFFS_AVAIL
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_netif_stop_queue
LBB0_9:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	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	_ETH_ZLEN,4,2                   ## @ETH_ZLEN
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_HPCDMA_BCNT,4,2                ## @HPCDMA_BCNT
	.comm	_HPCDMA_XIU,4,2                 ## @HPCDMA_XIU
	.comm	_HPCDMA_EOXP,4,2                ## @HPCDMA_EOXP
	.comm	_HPCDMA_XIE,4,2                 ## @HPCDMA_XIE
	.comm	_HPCDMA_EOX,4,2                 ## @HPCDMA_EOX
	.comm	_HPC3_ETXCTRL_ACTIVE,4,2        ## @HPC3_ETXCTRL_ACTIVE
	.no_dead_strip	_sgiseeq_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sgiseeq_start_xmit
_sgiseeq_start_xmit:                    ; @sgiseeq_start_xmit
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x23, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
	ldr	x22, [x0, #24]
	add	x20, x0, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w24, [x23]
Lloh0:
	adrp	x25, _ETH_ZLEN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ETH_ZLEN@GOTPAGEOFF]
	ldr	w1, [x25]
	cmp	w24, w1
	b.ge	LBB0_3
; %bb.1:
	mov	x0, x23
	bl	_skb_padto
	cbnz	x0, LBB0_9
; %bb.2:
	ldr	w24, [x25]
LBB0_3:
	ldr	w8, [x19, #4]
	add	w8, w8, w24
	str	w8, [x19, #4]
	ldrsw	x8, [x21]
	ldr	x9, [x21, #16]
	add	x25, x9, x8, lsl #4
	mov	x0, x19
	mov	x1, x25
	bl	_dma_sync_desc_cpu
	str	x23, [x25, #8]
	ldr	w0, [x19]
	ldr	w1, [x23, #4]
Lloh2:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x2, x24
	bl	_dma_map_single
	str	w0, [x25, #4]
Lloh5:
	adrp	x8, _HPCDMA_BCNT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HPCDMA_BCNT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w8, w8, w24
Lloh8:
	adrp	x9, _HPCDMA_XIU@GOTPAGE
Lloh9:
	ldr	x9, [x9, _HPCDMA_XIU@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _HPCDMA_EOXP@GOTPAGE
Lloh12:
	ldr	x10, [x10, _HPCDMA_EOXP@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh13:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _HPCDMA_XIE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _HPCDMA_XIE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x24, _HPCDMA_EOX@GOTPAGE
Lloh18:
	ldr	x24, [x24, _HPCDMA_EOX@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w8, w8, w9
	str	w8, [x25]
	mov	x0, x19
	mov	x1, x25
	bl	_dma_sync_desc_dev
	ldp	w8, w0, [x21]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	x23, [x21, #16]
	mov	x0, x8
	bl	_PREV_TX
	add	x23, x23, x0, lsl #4
	mov	x0, x19
	mov	x1, x23
	bl	_dma_sync_desc_cpu
	ldr	w8, [x24]
	ldr	w9, [x23]
	bic	w8, w9, w8
	str	w8, [x23]
	mov	x0, x19
	mov	x1, x23
	bl	_dma_sync_desc_dev
	ldr	w0, [x21]
LBB0_5:
	bl	_NEXT_TX
	str	w0, [x21]
	ldr	w8, [x22]
Lloh19:
	adrp	x9, _HPC3_ETXCTRL_ACTIVE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _HPC3_ETXCTRL_ACTIVE@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_kick_tx
LBB0_7:
	mov	x0, x21
	bl	_TX_BUFFS_AVAIL
	cbnz	w0, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_9:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh22:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ZLEN,4,2                   ; @ETH_ZLEN
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_HPCDMA_BCNT,4,2                ; @HPCDMA_BCNT
	.comm	_HPCDMA_XIU,4,2                 ; @HPCDMA_XIU
	.comm	_HPCDMA_EOXP,4,2                ; @HPCDMA_EOXP
	.comm	_HPCDMA_XIE,4,2                 ; @HPCDMA_XIE
	.comm	_HPCDMA_EOX,4,2                 ; @HPCDMA_EOX
	.comm	_HPC3_ETXCTRL_ACTIVE,4,2        ; @HPC3_ETXCTRL_ACTIVE
	.no_dead_strip	_sgiseeq_start_xmit
.subsections_via_symbols
