	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fec_enet_copybreak
_fec_enet_copybreak:                    ## @fec_enet_copybreak
	.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
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_netdev_priv
	xorl	%r14d, %r14d
	cmpq	%r13, (%rax)
	jl	LBB0_6
## %bb.1:
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_netdev_alloc_skb
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %rbx
	movq	16(%r12), %r14
	movl	(%r15), %edi
	callq	_fec32_to_cpu
	movq	_FEC_ENET_RX_FRSIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	subq	8(%r12), %rdx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dma_sync_single_for_cpu
	movl	(%rbx), %edi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rax
	movl	(%rax), %esi
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_3
## %bb.4:
	movq	%r13, %rdx
	callq	_swap_buffer2
	jmp	LBB0_5
LBB0_3:
	movq	%r13, %rdx
	callq	_memcpy
LBB0_5:
	movq	%rbx, (%r14)
	movl	$1, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FEC_ENET_RX_FRSIZE,8,3         ## @FEC_ENET_RX_FRSIZE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.no_dead_strip	_fec_enet_copybreak
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fec_enet_copybreak
_fec_enet_copybreak:                    ; @fec_enet_copybreak
	.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	x21, x4
	mov	x20, x3
	mov	x24, x2
	mov	x19, x1
	mov	x22, x0
	bl	_netdev_priv
	ldr	x8, [x0]
	cmp	x8, x20
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_7
LBB0_2:
	mov	x23, x0
	mov	x0, x22
	mov	x1, x20
	bl	_netdev_alloc_skb
	cbz	x0, LBB0_7
; %bb.3:
	mov	x22, x0
	ldr	x25, [x23, #16]
	ldr	w0, [x24]
	bl	_fec32_to_cpu
	mov	x1, x0
Lloh0:
	adrp	x8, _FEC_ENET_RX_FRSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FEC_ENET_RX_FRSIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x23, #8]
	sub	x2, x8, x9
Lloh3:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x25
	bl	_dma_sync_single_for_cpu
	ldr	w0, [x22]
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	x2, x20
	cbz	w21, LBB0_5
; %bb.4:
	bl	_swap_buffer2
	b	LBB0_6
LBB0_5:
	bl	_memcpy
LBB0_6:
	str	x22, [x19]
	mov	w0, #1
LBB0_7:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FEC_ENET_RX_FRSIZE,8,3         ; @FEC_ENET_RX_FRSIZE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.no_dead_strip	_fec_enet_copybreak
.subsections_via_symbols
