	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lance_start_xmit               ## -- Begin function lance_start_xmit
	.p2align	4, 0x90
_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	$24, %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, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_TX_BUFFS_AVAIL@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %r13
	movq	16(%rbx), %r12
	movq	%r14, %rdi
	callq	_netif_stop_queue
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	(%r15), %ebx
	movq	_ETH_ZLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%ecx, %ebx
	cmovgl	%ebx, %ecx
	movl	4(%r13), %edx
	andl	(%r13), %edx
	movq	%r15, %rdi
	movslq	%edx, %r15
	negl	%ecx
	orl	$61440, %ecx                    ## imm = 0xF000
	movq	(%r12), %rdx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %r14
	shlq	$4, %r14
	movl	%ecx, (%rdx,%r14)
	movq	(%r12), %rcx
	movq	$0, 8(%rcx,%r14)
	movl	(%rax), %edx
	cmpl	%edx, %ebx
	jge	LBB0_4
## %bb.3:
	movq	8(%r12), %rax
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax,%r15,8), %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_4:
	movq	8(%r12), %rax
	movq	(%rax,%r15,8), %rsi
	movq	%rdi, %r15
	movl	%ebx, %edx
	callq	_skb_copy_from_linear_data
	movq	_LE_T1_POK@GOTPCREL(%rip), %rax
	movq	_LE_T1_OWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	(%r12), %rax
	movl	%ecx, 4(%rax,%r14)
	movl	(%r13), %eax
	incl	%eax
	andl	4(%r13), %eax
	movl	%eax, (%r13)
	incl	_lance_start_xmit.outs(%rip)
	movq	_LE_C0_INEA@GOTPCREL(%rip), %rax
	movq	_LE_C0_TDMD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r13, %rdi
	callq	_WRITERDP
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, (%r14)
	movq	%r15, %rdi
	callq	_dev_kfree_skb
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	addq	$12, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_TX_BUFFS_AVAIL@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_netif_start_queue
	jmp	LBB0_7
LBB0_1:
	movq	_NETDEV_TX_LOCKED@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movl	$1, 8(%r13)
LBB0_7:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_lance_start_xmit.outs,4,2 ## @lance_start_xmit.outs
	.comm	_TX_BUFFS_AVAIL,8,3             ## @TX_BUFFS_AVAIL
	.comm	_NETDEV_TX_LOCKED,4,2           ## @NETDEV_TX_LOCKED
	.comm	_ETH_ZLEN,4,2                   ## @ETH_ZLEN
	.comm	_LE_T1_POK,4,2                  ## @LE_T1_POK
	.comm	_LE_T1_OWN,4,2                  ## @LE_T1_OWN
	.comm	_LE_C0_INEA,4,2                 ## @LE_C0_INEA
	.comm	_LE_C0_TDMD,4,2                 ## @LE_C0_TDMD
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lance_start_xmit               ; -- Begin function lance_start_xmit
	.p2align	2
_lance_start_xmit:                      ; @lance_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	x21, x0
	mov	x0, x1
	bl	_netdev_priv
Lloh0:
	adrp	x23, _TX_BUFFS_AVAIL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TX_BUFFS_AVAIL@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	x24, [x0, #16]
	mov	x0, x19
	bl	_netif_stop_queue
	ldr	w22, [x21]
Lloh2:
	adrp	x8, _ETH_ZLEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH_ZLEN@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w22, w9
	csel	w9, w22, w9, gt
	ldp	w10, w11, [x20]
	and	w10, w11, w10
	neg	w9, w9
	orr	w9, w9, #0xf000
	ldr	x11, [x24]
	sbfiz	x12, x10, #4, #32
	str	w9, [x11, x12]
	sxtw	x25, w10
	ldr	x9, [x24]
	add	x9, x9, x12
	str	xzr, [x9, #8]
	ldr	w2, [x8]
	cmp	w22, w2
	b.ge	LBB0_3
; %bb.2:
	ldr	x8, [x24, #8]
	ldr	x0, [x8, x25, lsl #3]
	mov	w1, #0
	bl	_memset
LBB0_3:
	ldr	x8, [x24, #8]
	ldr	x1, [x8, x25, lsl #3]
	mov	x0, x21
	mov	x2, x22
	bl	_skb_copy_from_linear_data
Lloh4:
	adrp	x8, _LE_T1_POK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LE_T1_POK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _LE_T1_OWN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _LE_T1_OWN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x24]
	add	x9, x9, x25, lsl #4
	str	w8, [x9, #4]
	ldp	w8, w9, [x20]
	add	w8, w8, #1
	and	w8, w8, w9
	str	w8, [x20]
	adrp	x8, _lance_start_xmit.outs@PAGE
	ldr	w9, [x8, _lance_start_xmit.outs@PAGEOFF]
	add	w9, w9, #1
Lloh10:
	adrp	x10, _LE_C0_INEA@GOTPAGE
Lloh11:
	ldr	x10, [x10, _LE_C0_INEA@GOTPAGEOFF]
	str	w9, [x8, _lance_start_xmit.outs@PAGEOFF]
Lloh12:
	ldr	w8, [x10]
Lloh13:
	adrp	x9, _LE_C0_TDMD@GOTPAGE
Lloh14:
	ldr	x9, [x9, _LE_C0_TDMD@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x20
	bl	_WRITERDP
Lloh16:
	adrp	x8, _jiffies@GOTPAGE
Lloh17:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x21
	bl	_dev_kfree_skb
	add	x21, x20, #12
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x23]
	cbz	x8, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_netif_start_queue
	b	LBB0_7
LBB0_5:
Lloh19:
	adrp	x8, _NETDEV_TX_LOCKED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NETDEV_TX_LOCKED@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	mov	w8, #1
	str	w8, [x20, #8]
LBB0_7:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
Lloh21:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_8:
	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	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_lance_start_xmit.outs,4,2 ; @lance_start_xmit.outs
	.comm	_TX_BUFFS_AVAIL,8,3             ; @TX_BUFFS_AVAIL
	.comm	_NETDEV_TX_LOCKED,4,2           ; @NETDEV_TX_LOCKED
	.comm	_ETH_ZLEN,4,2                   ; @ETH_ZLEN
	.comm	_LE_T1_POK,4,2                  ; @LE_T1_POK
	.comm	_LE_T1_OWN,4,2                  ; @LE_T1_OWN
	.comm	_LE_C0_INEA,4,2                 ; @LE_C0_INEA
	.comm	_LE_C0_TDMD,4,2                 ; @LE_C0_TDMD
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
.subsections_via_symbols
