	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fe_start_xmit
_fe_start_xmit:                         ## @fe_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, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movl	(%rbx), %r13d
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_fe_skb_padto
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_tx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_netif_warn
LBB0_7:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	movq	%rbx, %rdi
	callq	_fe_cal_txd_req
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_fe_empty_txd
	xorl	%edi, %edi
	cmpl	%r12d, %eax
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_netif_stop_queue
	movq	_tx_queued@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_netif_err
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	movq	%r15, %rcx
	callq	_fe_tx_map_dma
	testq	%rax, %rax
	js	LBB0_5
## %bb.6:
	incl	4(%r14)
	addl	%r13d, (%r14)
	jmp	LBB0_7
LBB0_5:
	incl	8(%r14)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_tx_err,4,2                     ## @tx_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx padding failed!\n"

	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_tx_queued,4,2                  ## @tx_queued
L_.str.1:                               ## @.str.1
	.asciz	"Tx Ring full when queue awake!\n"

	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.no_dead_strip	_fe_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fe_start_xmit
_fe_start_xmit:                         ; @fe_start_xmit
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	w23, [x21]
	mov	x0, x21
	mov	x1, x20
	bl	_fe_skb_padto
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _tx_err@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tx_err@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_netif_warn
LBB0_2:
Lloh5:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	mov	x0, x21
	bl	_fe_cal_txd_req
	mov	x22, x0
	mov	x0, x20
	bl	_fe_empty_txd
	cmp	w0, w22
	cset	w0, le
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_netif_stop_queue
Lloh7:
	adrp	x8, _tx_queued@GOTPAGE
Lloh8:
	ldr	x8, [x8, _tx_queued@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x3, l_.str.1@PAGE
Lloh11:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_netif_err
Lloh12:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	mov	x3, x20
	bl	_fe_tx_map_dma
	tbnz	x0, #63, LBB0_8
; %bb.7:
	ldr	d0, [x19]
	movi.2s	v1, #1
	mov.s	v1[0], w23
	add.2s	v0, v0, v1
	str	d0, [x19]
	b	LBB0_2
LBB0_8:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	b	LBB0_2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_tx_err,4,2                     ; @tx_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx padding failed!\n"

	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_tx_queued,4,2                  ; @tx_queued
l_.str.1:                               ; @.str.1
	.asciz	"Tx Ring full when queue awake!\n"

	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.no_dead_strip	_fe_start_xmit
.subsections_via_symbols
