	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpc52xx_fec_start_xmit
_mpc52xx_fec_start_xmit:                ## @mpc52xx_fec_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	_bcom_queue_full
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_net_ratelimit
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_6
LBB0_3:
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movl	4(%rbx), %edi
	callq	_bcom_prepare_next_buffer
	movq	%rax, %r12
	movl	(%r15), %edx
	movq	_BCOM_FEC_TX_BD_TFD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%edx, %eax
	movq	_BCOM_FEC_TX_BD_TC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r12)
	movl	(%r14), %edi
	movl	4(%r15), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_map_single
	movl	%eax, 4(%r12)
	movl	4(%rbx), %edi
	movq	%r15, %rsi
	callq	_bcom_submit_next_buffer
	movl	4(%rbx), %edi
	callq	_bcom_queue_full
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_netif_stop_queue
LBB0_5:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rbx
LBB0_6:
	movl	(%rbx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"transmit queue overrun\n"

	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_BCOM_FEC_TX_BD_TFD,4,2         ## @BCOM_FEC_TX_BD_TFD
	.comm	_BCOM_FEC_TX_BD_TC,4,2          ## @BCOM_FEC_TX_BD_TC
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_mpc52xx_fec_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpc52xx_fec_start_xmit
_mpc52xx_fec_start_xmit:                ; @mpc52xx_fec_start_xmit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_bcom_queue_full
	cbz	x0, LBB0_4
; %bb.1:
	bl	_net_ratelimit
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_3:
Lloh2:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh4:
	adrp	x8, _jiffies@GOTPAGE
Lloh5:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	ldr	w0, [x20, #4]
	bl	_bcom_prepare_next_buffer
	mov	x22, x0
Lloh7:
	adrp	x8, _BCOM_FEC_TX_BD_TFD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BCOM_FEC_TX_BD_TFD@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldp	w2, w1, [x21]
	orr	w8, w8, w2
Lloh10:
	adrp	x9, _BCOM_FEC_TX_BD_TC@GOTPAGE
Lloh11:
	ldr	x9, [x9, _BCOM_FEC_TX_BD_TC@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x0]
	ldr	w0, [x19]
Lloh13:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	bl	_dma_map_single
	str	w0, [x22, #4]
	ldr	w0, [x20, #4]
	mov	x1, x21
	bl	_bcom_submit_next_buffer
	ldr	w0, [x20, #4]
	bl	_bcom_queue_full
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_6:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh16:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"transmit queue overrun\n"

	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_BCOM_FEC_TX_BD_TFD,4,2         ; @BCOM_FEC_TX_BD_TFD
	.comm	_BCOM_FEC_TX_BD_TC,4,2          ; @BCOM_FEC_TX_BD_TC
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_mpc52xx_fec_start_xmit
.subsections_via_symbols
