	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc911x_rx_fastforward
_smsc911x_rx_fastforward:               ## @smsc911x_rx_fastforward
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpl	$4, %esi
	setae	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	_RX_DP_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_RX_DP_CTRL_RX_FFWD_@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_smsc911x_reg_write
	movl	$500, %ebx                      ## imm = 0x1F4
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	callq	_udelay
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_smsc911x_reg_read
	movl	%eax, %r13d
	testl	%eax, (%r12)
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	decl	%ebx
	jne	LBB0_6
## %bb.8:
	xorl	%ebx, %ebx
LBB0_9:
	xorl	%edi, %edi
	testl	%ebx, %ebx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.10:
	movq	_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%r13d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SMSC_WARN                      ## TAILCALL
LBB0_1:
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.2:
	movq	_RX_DATA_FIFO@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_smsc911x_reg_read
	decl	%ebx
	jne	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_DP_CTRL,4,2                 ## @RX_DP_CTRL
	.comm	_RX_DP_CTRL_RX_FFWD_,4,2        ## @RX_DP_CTRL_RX_FFWD_
	.comm	_hw,4,2                         ## @hw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Timed out waiting for RX FFWD to finish, RX_DP_CTRL: 0x%08X"

	.comm	_RX_DATA_FIFO,4,2               ## @RX_DATA_FIFO
	.no_dead_strip	_smsc911x_rx_fastforward
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc911x_rx_fastforward
_smsc911x_rx_fastforward:               ; @smsc911x_rx_fastforward
	.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	x20, x1
	mov	x19, x0
	cmp	w1, #3
	cset	w0, hi
	bl	_likely
	cbz	x0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x21, _RX_DP_CTRL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _RX_DP_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _RX_DP_CTRL_RX_FFWD_@GOTPAGE
Lloh3:
	ldr	x22, [x22, _RX_DP_CTRL_RX_FFWD_@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_smsc911x_reg_write
	mov	w23, #500
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x21]
	mov	x0, x19
	bl	_smsc911x_reg_read
	mov	x20, x0
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	subs	w23, w23, #1
	b.ne	LBB0_2
LBB0_4:
	cmp	w23, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.5:
Lloh4:
	adrp	x8, _hw@GOTPAGE
Lloh5:
	ldr	x8, [x8, _hw@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	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
	b	_SMSC_WARN
LBB0_6:
	cbz	w20, LBB0_9
; %bb.7:
Lloh9:
	adrp	x21, _RX_DATA_FIFO@GOTPAGE
Lloh10:
	ldr	x21, [x21, _RX_DATA_FIFO@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	sub	w20, w20, #1
	ldr	w1, [x21]
	mov	x0, x19
	bl	_smsc911x_reg_read
	cbnz	w20, LBB0_8
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_DP_CTRL,4,2                 ; @RX_DP_CTRL
	.comm	_RX_DP_CTRL_RX_FFWD_,4,2        ; @RX_DP_CTRL_RX_FFWD_
	.comm	_hw,4,2                         ; @hw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Timed out waiting for RX FFWD to finish, RX_DP_CTRL: 0x%08X"

	.comm	_RX_DATA_FIFO,4,2               ; @RX_DATA_FIFO
	.no_dead_strip	_smsc911x_rx_fastforward
.subsections_via_symbols
