	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qe_start_xmit
_qe_start_xmit:                         ## @qe_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, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	24(%rax), %r14
	movq	32(%rax), %rbx
	leaq	4(%rax), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irq
	movq	%r15, %rdi
	callq	_qe_tx_reclaim
	movl	(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	(%r15), %rdx
	movq	(%rbx), %rax
	movq	_TX_RING_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rsi
	decq	%rsi
	andq	%rdx, %rsi
	movq	%rdx, %rbx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rsi,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_tx_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_qebuf_offset
	movq	%rax, %r13
	addq	%r14, %r13
	movq	_TXD_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%r15), %rcx
	movq	(%rcx), %rcx
	movq	%rbx, %r14
	shlq	$4, %r14
	movl	%eax, (%rcx,%r14)
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_skb_copy_from_linear_data
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movq	%r13, 8(%rax,%r14)
	movq	_TXD_OWN@GOTPCREL(%rip), %rcx
	movq	_TXD_SOP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_TXD_EOP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_TXD_LENGTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%ebx, %ecx
	orl	%edx, %ecx
	movl	%ecx, (%rax,%r14)
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_NEXT_TX
	movl	%eax, (%r15)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_CREG_CTRL_TWAKEUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CREG_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r15), %rsi
	callq	_sbus_writel
	incl	4(%r14)
	addl	%ebx, (%r14)
	movq	%r15, %rdi
	callq	_TX_BUFFS_AVAIL
	testq	%rax, %rax
	jg	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_netif_stop_queue
	movq	_CREG_TIMASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r15), %rsi
	xorl	%edi, %edi
	callq	_sbus_writel
LBB0_2:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irq
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_kfree_skb
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_RING_SIZE,4,2               ## @TX_RING_SIZE
	.comm	_tx_buf,4,2                     ## @tx_buf
	.comm	_TXD_UPDATE,4,2                 ## @TXD_UPDATE
	.comm	_TXD_OWN,4,2                    ## @TXD_OWN
	.comm	_TXD_SOP,4,2                    ## @TXD_SOP
	.comm	_TXD_EOP,4,2                    ## @TXD_EOP
	.comm	_TXD_LENGTH,4,2                 ## @TXD_LENGTH
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_CREG_CTRL_TWAKEUP,4,2          ## @CREG_CTRL_TWAKEUP
	.comm	_CREG_CTRL,8,3                  ## @CREG_CTRL
	.comm	_CREG_TIMASK,8,3                ## @CREG_TIMASK
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_qe_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qe_start_xmit
_qe_start_xmit:                         ; @qe_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	x22, x0
	ldp	x26, x25, [x0, #24]
	add	x20, x0, #4
	mov	x0, x20
	bl	_spin_lock_irq
	mov	x0, x22
	bl	_qe_tx_reclaim
	ldr	w23, [x19]
	ldrsw	x24, [x22]
	ldr	x8, [x25]
Lloh0:
	adrp	x9, _TX_RING_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TX_RING_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w9, w9, #1
	and	w1, w9, w24
	ldr	x25, [x8, w1, sxtw #3]
Lloh3:
	adrp	x8, _tx_buf@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tx_buf@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_qebuf_offset
	add	x26, x0, x26
Lloh6:
	adrp	x8, _TXD_UPDATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TXD_UPDATE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x9, [x22, #16]
	ldr	x9, [x9]
	lsl	x27, x24, #4
	str	w8, [x9, x27]
	mov	x0, x19
	mov	x1, x25
	mov	x2, x23
	bl	_skb_copy_from_linear_data
	ldr	x8, [x22, #16]
	ldr	x8, [x8]
	add	x8, x8, x27
	str	x26, [x8, #8]
Lloh9:
	adrp	x9, _TXD_OWN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TXD_OWN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _TXD_SOP@GOTPAGE
Lloh13:
	ldr	x10, [x10, _TXD_SOP@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh15:
	adrp	x10, _TXD_EOP@GOTPAGE
Lloh16:
	ldr	x10, [x10, _TXD_EOP@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh18:
	adrp	x10, _TXD_LENGTH@GOTPAGE
Lloh19:
	ldr	x10, [x10, _TXD_LENGTH@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	and	w10, w10, w23
	orr	w9, w9, w10
	str	w9, [x8]
	mov	x0, x24
	bl	_NEXT_TX
	str	w0, [x22]
Lloh21:
	adrp	x8, _jiffies@GOTPAGE
Lloh22:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x21, #8]
Lloh24:
	adrp	x8, _CREG_CTRL_TWAKEUP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CREG_CTRL_TWAKEUP@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	x8, [x22, #8]
Lloh27:
	adrp	x9, _CREG_CTRL@GOTPAGE
Lloh28:
	ldr	x9, [x9, _CREG_CTRL@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_sbus_writel
	ldr	d0, [x21]
	movi.2s	v1, #1
	mov.s	v1[0], w23
	add.2s	v0, v0, v1
	str	d0, [x21]
	mov	x0, x22
	bl	_TX_BUFFS_AVAIL
	cmp	x0, #0
	b.gt	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_netif_stop_queue
	ldr	x8, [x22, #8]
Lloh30:
	adrp	x9, _CREG_TIMASK@GOTPAGE
Lloh31:
	ldr	x9, [x9, _CREG_TIMASK@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_sbus_writel
LBB0_2:
	mov	x0, x20
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_dev_kfree_skb
Lloh33:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh35:
	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	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_RING_SIZE,4,2               ; @TX_RING_SIZE
	.comm	_tx_buf,4,2                     ; @tx_buf
	.comm	_TXD_UPDATE,4,2                 ; @TXD_UPDATE
	.comm	_TXD_OWN,4,2                    ; @TXD_OWN
	.comm	_TXD_SOP,4,2                    ; @TXD_SOP
	.comm	_TXD_EOP,4,2                    ; @TXD_EOP
	.comm	_TXD_LENGTH,4,2                 ; @TXD_LENGTH
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_CREG_CTRL_TWAKEUP,4,2          ; @CREG_CTRL_TWAKEUP
	.comm	_CREG_CTRL,8,3                  ; @CREG_CTRL
	.comm	_CREG_TIMASK,8,3                ; @CREG_TIMASK
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_qe_start_xmit
.subsections_via_symbols
