	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpc52xx_fec_tx_interrupt
_mpc52xx_fec_tx_interrupt:              ## @mpc52xx_fec_tx_interrupt
	.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	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_spin_lock
	movl	4(%r12), %edi
	callq	_bcom_buffer_done
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	-48(%rbp), %r15
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r12), %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_bcom_retrieve_buffer
	movq	%rax, %rbx
	movl	(%r14), %edi
	movq	-48(%rbp), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movl	(%r13), %ecx
	callq	_dma_unmap_single
	movq	%rbx, %rdi
	callq	_dev_kfree_skb_irq
	movl	4(%r12), %edi
	callq	_bcom_buffer_done
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movq	%r14, %rdi
	callq	_netif_wake_queue
	movq	%r12, %rdi
	callq	_spin_unlock
	movq	_IRQ_HANDLED@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	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_mpc52xx_fec_tx_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpc52xx_fec_tx_interrupt
_mpc52xx_fec_tx_interrupt:              ; @mpc52xx_fec_tx_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	bl	_spin_lock
	ldr	w0, [x20, #4]
	bl	_bcom_buffer_done
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x22, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DMA_TO_DEVICE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #4]
	add	x2, sp, #8
	mov	x1, #0
	bl	_bcom_retrieve_buffer
	mov	x21, x0
	ldr	w0, [x19]
	ldr	x8, [sp, #8]
	ldr	w1, [x8]
	ldr	w2, [x21]
	ldr	w3, [x22]
	bl	_dma_unmap_single
	mov	x0, x21
	bl	_dev_kfree_skb_irq
	ldr	w0, [x20, #4]
	bl	_bcom_buffer_done
	cbnz	x0, LBB0_2
LBB0_3:
	mov	x0, x19
	bl	_netif_wake_queue
	mov	x0, x20
	bl	_spin_unlock
Lloh2:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_mpc52xx_fec_tx_interrupt
.subsections_via_symbols
