	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fst_start_xmit
_fst_start_xmit:                        ## @fst_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_dev_to_port
	movq	%rax, %r14
	movq	32(%rax), %r12
	movq	_DBG_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dbg
	movq	%rbx, %rdi
	callq	_netif_carrier_ok
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	(%r15), %rdx
	movq	_LEN_TX_BUFFER@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%rcx, %rdx
	jle	LBB0_5
## %bb.4:
	movq	_DBG_ASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dbg
	movq	%r15, %rdi
	callq	_dev_kfree_skb
	incl	(%rbx)
	jmp	LBB0_10
LBB0_1:
	movq	%r15, %rdi
	callq	_dev_kfree_skb
	incl	(%rbx)
	incl	4(%rbx)
	movq	_DBG_ASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rdx
	movq	(%r14), %rcx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_5:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	addq	$8, %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movl	8(%r14), %eax
	subl	16(%r14), %eax
	movq	_FST_TXQ_DEPTH@GOTPCREL(%rip), %rcx
	movl	%eax, %r13d
	sarl	$31, %r13d
	andl	(%rcx), %r13d
	addl	%eax, %r13d
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	_fst_txq_high@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jle	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_netif_stop_queue
	movl	$1, 20(%r14)
LBB0_7:
	movq	_FST_TXQ_DEPTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	decl	%eax
	cmpl	%eax, %r13d
	jne	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_dev_kfree_skb
	incl	(%rbx)
	movq	_DBG_ASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movq	(%r14), %rcx
	leaq	L_.str.3(%rip), %rsi
LBB0_2:
	xorl	%eax, %eax
	callq	_dbg
	jmp	LBB0_10
LBB0_9:
	movq	%r12, %rdi
	movq	%rcx, %rbx
	callq	_spin_lock_irqsave
	movq	8(%r14), %rax
	movq	24(%r14), %rcx
	movq	%r15, (%rcx,%rax,8)
	incq	%rax
	movslq	(%rbx), %rcx
	xorl	%edx, %edx
	cmpq	%rcx, %rax
	cmovneq	%rax, %rdx
	movq	%rdx, 8(%r14)
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	_fst_work_txq@GOTPCREL(%rip), %rdi
	callq	_fst_q_work_item
	movq	_fst_tx_task@GOTPCREL(%rip), %rdi
	callq	_tasklet_schedule
LBB0_10:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DBG_TX,4,2                     ## @DBG_TX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fst_start_xmit: length = %d\n"

	.comm	_DBG_ASS,4,2                    ## @DBG_ASS
L_.str.1:                               ## @.str.1
	.asciz	"Tried to transmit but no carrier on card %d port %d\n"

	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_LEN_TX_BUFFER,8,3              ## @LEN_TX_BUFFER
L_.str.2:                               ## @.str.2
	.asciz	"Packet too large %d vs %d\n"

	.comm	_FST_TXQ_DEPTH,4,2              ## @FST_TXQ_DEPTH
	.comm	_fst_txq_high,4,2               ## @fst_txq_high
L_.str.3:                               ## @.str.3
	.asciz	"Tx queue overflow card %d port %d\n"

	.comm	_fst_work_txq,4,2               ## @fst_work_txq
	.comm	_fst_tx_task,4,2                ## @fst_tx_task
	.no_dead_strip	_fst_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fst_start_xmit
_fst_start_xmit:                        ; @fst_start_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_dev_to_port
	mov	x20, x0
	ldr	x23, [x0, #32]
Lloh0:
	adrp	x8, _DBG_TX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBG_TX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x2, [x21]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dbg
	mov	x0, x19
	bl	_netif_carrier_ok
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x2, [x21]
Lloh5:
	adrp	x8, _LEN_TX_BUFFER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LEN_TX_BUFFER@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x2, x8
	b.le	LBB0_4
; %bb.2:
Lloh8:
	adrp	x9, _DBG_ASS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DBG_ASS@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dbg
	mov	x0, x21
	bl	_dev_kfree_skb
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_9
LBB0_3:
	mov	x0, x21
	bl	_dev_kfree_skb
	ldr	d0, [x19]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x19]
Lloh13:
	adrp	x8, _DBG_ASS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DBG_ASS@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	x2, [x23]
	ldr	x8, [x20]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dbg
	b	LBB0_9
LBB0_4:
	add	x22, x23, #8
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	w8, [x20, #8]
	ldr	w9, [x20, #16]
Lloh18:
	adrp	x24, _FST_TXQ_DEPTH@GOTPAGE
Lloh19:
	ldr	x24, [x24, _FST_TXQ_DEPTH@GOTPAGEOFF]
	ldr	w10, [x24]
	sub	w8, w8, w9
	and	w9, w10, w8, asr #31
	add	w25, w9, w8
	mov	x0, x22
	bl	_spin_unlock_irqrestore
Lloh20:
	adrp	x8, _fst_txq_high@GOTPAGE
Lloh21:
	ldr	x8, [x8, _fst_txq_high@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w25, w8
	b.le	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_netif_stop_queue
	mov	w8, #1
	str	w8, [x20, #20]
LBB0_6:
	ldr	w8, [x24]
	sub	w8, w8, #1
	cmp	w25, w8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_dev_kfree_skb
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
Lloh23:
	adrp	x8, _DBG_ASS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DBG_ASS@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldr	x2, [x23]
	ldr	x8, [x20]
	str	x8, [sp]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dbg
	b	LBB0_9
LBB0_8:
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #24]
	ldr	x9, [x20, #8]
	str	x21, [x8, x9, lsl #3]
	add	x8, x9, #1
	ldrsw	x10, [x24]
	cmp	x8, x10
	csinc	x8, xzr, x9, eq
	str	x8, [x20, #8]
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	ldr	x1, [x23]
Lloh28:
	adrp	x0, _fst_work_txq@GOTPAGE
Lloh29:
	ldr	x0, [x0, _fst_work_txq@GOTPAGEOFF]
	bl	_fst_q_work_item
Lloh30:
	adrp	x0, _fst_tx_task@GOTPAGE
Lloh31:
	ldr	x0, [x0, _fst_tx_task@GOTPAGEOFF]
	bl	_tasklet_schedule
LBB0_9:
Lloh32:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh34:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_DBG_TX,4,2                     ; @DBG_TX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fst_start_xmit: length = %d\n"

	.comm	_DBG_ASS,4,2                    ; @DBG_ASS
l_.str.1:                               ; @.str.1
	.asciz	"Tried to transmit but no carrier on card %d port %d\n"

	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_LEN_TX_BUFFER,8,3              ; @LEN_TX_BUFFER
l_.str.2:                               ; @.str.2
	.asciz	"Packet too large %d vs %d\n"

	.comm	_FST_TXQ_DEPTH,4,2              ; @FST_TXQ_DEPTH
	.comm	_fst_txq_high,4,2               ; @fst_txq_high
l_.str.3:                               ; @.str.3
	.asciz	"Tx queue overflow card %d port %d\n"

	.comm	_fst_work_txq,4,2               ; @fst_work_txq
	.comm	_fst_tx_task,4,2                ; @fst_tx_task
	.no_dead_strip	_fst_start_xmit
.subsections_via_symbols
