	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lance_start_xmit
_lance_start_xmit:                      ## @lance_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, %r12
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	32(%rax), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ecx
	movq	_ETH_ZLEN@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	cmpl	%esi, %ecx
	jge	LBB0_3
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_skb_padto
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movl	(%r13), %ecx
	movq	%r15, %rax
LBB0_3:
	movq	%rax, %r13
	addl	%ecx, 4(%r12)
	addq	$16, %rax
	movq	%rax, %rdi
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%ecx, %r14d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	callq	_spin_lock_irqsave
	movslq	(%r13), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movl	%r14d, %r12d
	negl	%r12d
	movq	_btx_ring@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(,%rcx,4), %rcx
	leaq	(%rcx,%rcx,2), %r15
	movl	8(%rax,%r15), %esi
	movl	20(%r13), %edx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_lib_ptr
	movl	%r12d, (%rax)
	movq	%rbx, %r12
	movq	_btx_ring@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax,%r15), %esi
	movl	20(%r13), %edx
	movq	%r14, %rdi
	callq	_lib_ptr
	movl	$0, (%rax)
	movl	20(%r13), %edi
	movq	24(%r13), %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rax,%rbx,8), %rsi
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	4(%r12), %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_cp_to_buf
	movq	8(%r13), %rax
	movzbl	2(%rax,%rbx,4), %eax
	movq	%rbx, %r14
	movq	_LE_T1_POK@GOTPCREL(%rip), %rcx
	movq	_LE_T1_OWN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	orl	%eax, %ebx
	movq	_btx_ring@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15), %esi
	movl	20(%r13), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_lib_ptr
	movl	%ebx, (%rax)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	leal	1(%r14), %eax
	movq	_TX_RING_MOD_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%r13)
	movq	_TX_BUFFS_AVAIL@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jg	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_netif_stop_queue
LBB0_5:
	movq	_LE_C0_INEA@GOTPCREL(%rip), %rax
	movq	_LE_C0_TDMD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_writereg
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_kfree_skb
LBB0_6:
	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	_ETH_ZLEN,4,2                   ## @ETH_ZLEN
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_btx_ring,8,3                   ## @btx_ring
	.comm	_LE_T1_POK,4,2                  ## @LE_T1_POK
	.comm	_LE_T1_OWN,4,2                  ## @LE_T1_OWN
	.comm	_TX_RING_MOD_MASK,4,2           ## @TX_RING_MOD_MASK
	.comm	_TX_BUFFS_AVAIL,8,3             ## @TX_BUFFS_AVAIL
	.comm	_LE_C0_INEA,4,2                 ## @LE_C0_INEA
	.comm	_LE_C0_TDMD,4,2                 ## @LE_C0_TDMD
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_lance_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lance_start_xmit
_lance_start_xmit:                      ; @lance_start_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x22, x0
	ldr	x21, [x0, #32]
	ldr	x24, [x20, #8]
	ldr	w25, [x19]
Lloh0:
	adrp	x23, _ETH_ZLEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ETH_ZLEN@GOTPAGEOFF]
	ldr	w1, [x23]
	cmp	w25, w1
	b.ge	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_skb_padto
	cbnz	x0, LBB0_6
; %bb.2:
	ldr	w25, [x23]
LBB0_3:
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w8, [x20, #4]
	add	w8, w8, w25
	str	w8, [x20, #4]
	add	x23, x22, #16
	mov	x0, x23
	bl	_spin_lock_irqsave
	ldrsw	x26, [x22]
	neg	w27, w25
Lloh2:
	adrp	x28, _btx_ring@GOTPAGE
Lloh3:
	ldr	x28, [x28, _btx_ring@GOTPAGEOFF]
	ldr	x8, [x28]
	add	x9, x26, x26, lsl #1
	lsl	x21, x9, #2
	add	x8, x8, x21
	ldr	w1, [x8, #8]
	ldr	w2, [x22, #20]
	mov	x0, x24
	bl	_lib_ptr
	str	w27, [x0]
	ldr	x8, [x28]
	add	x8, x8, x21
	ldr	w1, [x8, #4]
	ldr	w2, [x22, #20]
	mov	x0, x24
	bl	_lib_ptr
	str	wzr, [x0]
	ldr	w0, [x22, #20]
	ldr	x8, [x22, #24]
	ldr	x1, [x8, x26, lsl #3]
	ldr	w2, [x19, #4]
	mov	x3, x25
	bl	_cp_to_buf
	ldr	x8, [x22, #8]
	add	x8, x8, x26, lsl #2
	ldrb	w8, [x8, #2]
Lloh4:
	adrp	x9, _LE_T1_POK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _LE_T1_POK@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
Lloh7:
	adrp	x10, _LE_T1_OWN@GOTPAGE
Lloh8:
	ldr	x10, [x10, _LE_T1_OWN@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	orr	w9, w10, w9
	orr	w25, w9, w8
	ldr	x8, [x28]
	ldr	w1, [x8, x21]
	ldr	w2, [x22, #20]
	mov	x0, x24
	bl	_lib_ptr
	str	w25, [x0]
	add	w8, w26, #1
Lloh10:
	adrp	x9, _TX_RING_MOD_MASK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TX_RING_MOD_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x22]
Lloh13:
	adrp	x8, _TX_BUFFS_AVAIL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TX_BUFFS_AVAIL@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x8, #0
	b.gt	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_netif_stop_queue
LBB0_5:
Lloh16:
	adrp	x8, _LE_C0_INEA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LE_C0_INEA@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _LE_C0_TDMD@GOTPAGE
Lloh20:
	ldr	x9, [x9, _LE_C0_TDMD@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_writereg
	mov	x0, x23
	bl	_spin_unlock_irqrestore
Lloh22:
	adrp	x8, _jiffies@GOTPAGE
Lloh23:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x19
	bl	_dev_kfree_skb
LBB0_6:
Lloh25:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ZLEN,4,2                   ; @ETH_ZLEN
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_btx_ring,8,3                   ; @btx_ring
	.comm	_LE_T1_POK,4,2                  ; @LE_T1_POK
	.comm	_LE_T1_OWN,4,2                  ; @LE_T1_OWN
	.comm	_TX_RING_MOD_MASK,4,2           ; @TX_RING_MOD_MASK
	.comm	_TX_BUFFS_AVAIL,8,3             ; @TX_BUFFS_AVAIL
	.comm	_LE_C0_INEA,4,2                 ; @LE_C0_INEA
	.comm	_LE_C0_TDMD,4,2                 ; @LE_C0_TDMD
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_lance_start_xmit
.subsections_via_symbols
