	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fec_enet_start_xmit
_fec_enet_start_xmit:                   ## @fec_enet_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, %r13
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	cmpl	$0, 64(%rax)
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rbx
	addq	$12, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	16(%r15), %rcx
	movzwl	(%rcx), %r14d
	movq	_BD_ENET_TX_READY@GOTPCREL(%rip), %rax
	testw	%r14w, (%rax)
	je	LBB0_4
## %bb.3:
	movl	12(%r13), %esi
	leaq	L_.str(%rip), %rdi
	callq	_printk
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %r14
	jmp	LBB0_13
LBB0_1:
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %r14
	jmp	LBB0_14
LBB0_4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_BD_ENET_TX_STATS@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
	movq	(%r12), %rdx
	movq	8(%r12), %rsi
	movq	%rdx, 8(%rcx)
	movq	_FEC_ALIGNMENT@GOTPCREL(%rip), %rax
	testq	%rsi, (%rax)
	je	LBB0_5
## %bb.6:
	movq	%rcx, %rax
	subq	32(%r15), %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	56(%r15), %rcx
	shrq	%rax
	movq	%r13, %rbx
	movabsq	$34359738360, %r13              ## imm = 0x7FFFFFFF8
	andq	%rax, %r13
	movq	(%rcx,%r13), %rdi
	callq	_memcpy
	movq	56(%r15), %rax
	movq	(%rax,%r13), %rsi
	movq	%rbx, %r13
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%r12), %rdx
	jmp	LBB0_7
LBB0_5:
	movq	%rcx, %rbx
LBB0_7:
	movq	(%r15), %rax
	movq	48(%r15), %rcx
	movq	%r12, (%rcx,%rax,8)
	addl	%edx, 8(%r13)
	incq	%rax
	movq	_TX_RING_MOD_MASK@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	andq	%rax, %rcx
	movq	%rcx, (%r15)
	leaq	4(%r13), %rdi
	movq	_FEC_ENET_TX_FRSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_map_single
	movl	%eax, 4(%rbx)
	movq	_BD_ENET_TX_INTR@GOTPCREL(%rip), %rax
	movq	_BD_ENET_TX_LAST@GOTPCREL(%rip), %rcx
	movq	_BD_ENET_TX_TC@GOTPCREL(%rip), %rdx
	movq	_BD_ENET_TX_READY@GOTPCREL(%rip), %rsi
	orw	(%rsi), %r14w
	orw	(%rax), %r14w
	orw	(%rcx), %r14w
	orw	(%rdx), %r14w
	movw	%r14w, (%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movq	_FEC_X_DES_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	40(%r15), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_BD_ENET_TX_WRAP@GOTPCREL(%rip), %rax
	testw	%r14w, (%rax)
	je	LBB0_9
## %bb.8:
	movq	32(%r15), %rax
	jmp	LBB0_10
LBB0_9:
	addq	$16, %rbx
	movq	%rbx, %rax
LBB0_10:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpq	24(%r15), %rax
	jne	LBB0_12
## %bb.11:
	movl	$1, 8(%r15)
	movq	%r13, %rdi
	movq	%rax, %r14
	callq	_netif_stop_queue
	movq	%r14, %rax
LBB0_12:
	movq	%rax, 16(%r15)
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %r14
LBB0_13:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
LBB0_14:
	movl	(%r14), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_BD_ENET_TX_READY,2,1           ## @BD_ENET_TX_READY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: tx queue full!.\n"

	.comm	_BD_ENET_TX_STATS,2,1           ## @BD_ENET_TX_STATS
	.comm	_FEC_ALIGNMENT,8,3              ## @FEC_ALIGNMENT
	.comm	_TX_RING_MOD_MASK,4,2           ## @TX_RING_MOD_MASK
	.comm	_FEC_ENET_TX_FRSIZE,4,2         ## @FEC_ENET_TX_FRSIZE
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_BD_ENET_TX_INTR,2,1            ## @BD_ENET_TX_INTR
	.comm	_BD_ENET_TX_LAST,2,1            ## @BD_ENET_TX_LAST
	.comm	_BD_ENET_TX_TC,2,1              ## @BD_ENET_TX_TC
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_FEC_X_DES_ACTIVE,8,3           ## @FEC_X_DES_ACTIVE
	.comm	_BD_ENET_TX_WRAP,2,1            ## @BD_ENET_TX_WRAP
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_fec_enet_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fec_enet_start_xmit
_fec_enet_start_xmit:                   ; @fec_enet_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	x20, x1
	mov	x22, x0
	mov	x0, x1
	bl	_netdev_priv
	ldr	w8, [x0, #64]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x21, x0
	add	x19, x0, #12
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x23, [x21, #16]
	ldrh	w8, [x23]
Lloh0:
	adrp	x24, _BD_ENET_TX_READY@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BD_ENET_TX_READY@GOTPAGEOFF]
	ldrh	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	ldr	w1, [x20, #12]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
Lloh4:
	adrp	x20, _NETDEV_TX_BUSY@GOTPAGE
Lloh5:
	ldr	x20, [x20, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_12
LBB0_3:
Lloh6:
	adrp	x20, _NETDEV_TX_BUSY@GOTPAGE
Lloh7:
	ldr	x20, [x20, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_13
LBB0_4:
Lloh8:
	adrp	x9, _BD_ENET_TX_STATS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BD_ENET_TX_STATS@GOTPAGEOFF]
	ldrh	w9, [x9]
	eor	w9, w9, #0xffff
	and	w25, w8, w9
	ldp	x2, x1, [x22]
	str	x2, [x23, #8]
Lloh10:
	adrp	x8, _FEC_ALIGNMENT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FEC_ALIGNMENT@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	tst	x8, x1
	b.eq	LBB0_6
; %bb.5:
	ldr	x8, [x21, #32]
	sub	x8, x23, x8
	ldr	x9, [x21, #56]
	ubfx	x8, x8, #4, #32
	lsl	x26, x8, #3
	ldr	x0, [x9, x26]
	bl	_memcpy
	ldr	x8, [x21, #56]
	ldr	x1, [x8, x26]
	ldr	x2, [x22]
LBB0_6:
	ldr	x8, [x21, #48]
	ldr	x9, [x21]
	str	x22, [x8, x9, lsl #3]
	ldr	w8, [x20, #8]
	add	w8, w8, w2
	str	w8, [x20, #8]
	add	x8, x9, #1
Lloh13:
	adrp	x9, _TX_RING_MOD_MASK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _TX_RING_MOD_MASK@GOTPAGEOFF]
Lloh15:
	ldrsw	x9, [x9]
	and	x8, x8, x9
	str	x8, [x21]
	add	x0, x20, #4
Lloh16:
	adrp	x8, _FEC_ENET_TX_FRSIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FEC_ENET_TX_FRSIZE@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	bl	_dma_map_single
	str	w0, [x23, #4]
	ldrh	w8, [x24]
Lloh22:
	adrp	x9, _BD_ENET_TX_INTR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _BD_ENET_TX_INTR@GOTPAGEOFF]
	ldrh	w9, [x9]
Lloh24:
	adrp	x10, _BD_ENET_TX_LAST@GOTPAGE
Lloh25:
	ldr	x10, [x10, _BD_ENET_TX_LAST@GOTPAGEOFF]
	ldrh	w10, [x10]
Lloh26:
	adrp	x11, _BD_ENET_TX_TC@GOTPAGE
Lloh27:
	ldr	x11, [x11, _BD_ENET_TX_TC@GOTPAGEOFF]
	ldrh	w11, [x11]
	orr	w8, w8, w25
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w22, w8, w11
	strh	w22, [x23]
Lloh28:
	adrp	x8, _jiffies@GOTPAGE
Lloh29:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	w8, [x20]
	ldr	x8, [x21, #40]
Lloh31:
	adrp	x9, _FEC_X_DES_ACTIVE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _FEC_X_DES_ACTIVE@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
Lloh34:
	adrp	x8, _BD_ENET_TX_WRAP@GOTPAGE
Lloh35:
	ldr	x8, [x8, _BD_ENET_TX_WRAP@GOTPAGEOFF]
	ldrh	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_8
; %bb.7:
	ldr	x22, [x21, #32]
	b	LBB0_9
LBB0_8:
	add	x22, x23, #16
LBB0_9:
	ldr	x8, [x21, #24]
	cmp	x22, x8
	b.ne	LBB0_11
; %bb.10:
	mov	w8, #1
	str	w8, [x21, #8]
	mov	x0, x20
	bl	_netif_stop_queue
LBB0_11:
	str	x22, [x21, #16]
Lloh36:
	adrp	x20, _NETDEV_TX_OK@GOTPAGE
Lloh37:
	ldr	x20, [x20, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_12:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_13:
	ldr	w0, [x20]
	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	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_BD_ENET_TX_READY,2,1           ; @BD_ENET_TX_READY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: tx queue full!.\n"

	.comm	_BD_ENET_TX_STATS,2,1           ; @BD_ENET_TX_STATS
	.comm	_FEC_ALIGNMENT,8,3              ; @FEC_ALIGNMENT
	.comm	_TX_RING_MOD_MASK,4,2           ; @TX_RING_MOD_MASK
	.comm	_FEC_ENET_TX_FRSIZE,4,2         ; @FEC_ENET_TX_FRSIZE
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_BD_ENET_TX_INTR,2,1            ; @BD_ENET_TX_INTR
	.comm	_BD_ENET_TX_LAST,2,1            ; @BD_ENET_TX_LAST
	.comm	_BD_ENET_TX_TC,2,1              ; @BD_ENET_TX_TC
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_FEC_X_DES_ACTIVE,8,3           ; @FEC_X_DES_ACTIVE
	.comm	_BD_ENET_TX_WRAP,2,1            ; @BD_ENET_TX_WRAP
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_fec_enet_start_xmit
.subsections_via_symbols
