	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function smsc911x_tx_update_txcounters
LCPI0_0:
	.space	16,255
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_smsc911x_tx_update_txcounters:         ## @smsc911x_tx_update_txcounters
	.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	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_smsc911x_tx_get_txstatus
	testl	%eax, %eax
	je	LBB0_15
## %bb.1:
	movl	%eax, %ebx
	leaq	16(%r14), %r13
	leaq	8(%r14), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rdx
	callq	_SMSC_WARN
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_smsc911x_tx_get_txstatus
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	andl	$-2147483648, %edi              ## imm = 0x80000000
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_TX_STS_ES_@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	28(%r14)
	jmp	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	24(%r14)
	movl	%ebx, %eax
	shrl	$16, %eax
	addl	%eax, (%r14)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_TX_STS_EXCESS_COL_@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, (%r13)
	movl	$1, %eax
	movq	%r15, %rcx
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %eax
	shrl	$3, %eax
	andl	$15, %eax
	movq	%r13, %rcx
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	%rax, (%rcx)
	movq	_TX_STS_LOST_CARRIER_@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	4(%r14)
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TX_STS_LATE_COL_@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movdqu	(%r15), %xmm0
	psubq	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, (%r15)
	jmp	LBB0_14
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hw,4,2                         ## @hw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Packet tag reserved bit is high"

	.comm	_TX_STS_ES_,4,2                 ## @TX_STS_ES_
	.comm	_TX_STS_EXCESS_COL_,4,2         ## @TX_STS_EXCESS_COL_
	.comm	_TX_STS_LOST_CARRIER_,4,2       ## @TX_STS_LOST_CARRIER_
	.comm	_TX_STS_LATE_COL_,4,2           ## @TX_STS_LATE_COL_
	.no_dead_strip	_smsc911x_tx_update_txcounters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc911x_tx_update_txcounters
_smsc911x_tx_update_txcounters:         ; @smsc911x_tx_update_txcounters
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	bl	_smsc911x_tx_get_txstatus
	cbz	w0, LBB0_15
; %bb.1:
	mov	x22, x0
	add	x23, x19, #16
Lloh0:
	adrp	x25, _TX_STS_EXCESS_COL_@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TX_STS_EXCESS_COL_@GOTPAGEOFF]
	add	x26, x19, #8
Lloh2:
	adrp	x27, _TX_STS_LOST_CARRIER_@GOTPAGE
Lloh3:
	ldr	x27, [x27, _TX_STS_LOST_CARRIER_@GOTPAGEOFF]
Lloh4:
	adrp	x28, _TX_STS_LATE_COL_@GOTPAGE
Lloh5:
	ldr	x28, [x28, _TX_STS_LATE_COL_@GOTPAGEOFF]
	mov	w8, #1
	dup.2d	v0, x8
	str	q0, [sp]                        ; 16-byte Folded Spill
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
Lloh8:
	adrp	x24, _hw@GOTPAGE
Lloh9:
	ldr	x24, [x24, _hw@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x24]
	mov	x0, x20
	mov	x2, x21
	bl	_SMSC_WARN
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_smsc911x_tx_get_txstatus
	mov	x22, x0
	cbz	w0, LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	and	w0, w22, #0x80000000
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh10:
	adrp	x8, _TX_STS_ES_@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TX_STS_ES_@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	and	w0, w8, w22
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #28]
	add	w8, w8, #1
	str	w8, [x19, #28]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
	ldr	w8, [x19]
	add	w8, w8, w22, lsr #16
	str	w8, [x19]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
	and	w0, w8, w22
	bl	_unlikely
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	add	x8, x8, #16
	str	x8, [x23]
	mov	x8, x26
	mov	w9, #1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ubfx	w9, w22, #3, #4
	mov	x8, x23
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x8]
	add	x9, x10, x9
	str	x9, [x8]
	ldr	w8, [x27]
	and	w0, w8, w22
	bl	_unlikely
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28]
	and	w0, w8, w22
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	q0, [x26]
	ldr	q1, [sp]                        ; 16-byte Folded Reload
	add.2d	v0, v0, v1
	str	q0, [x26]
	b	LBB0_3
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_hw,4,2                         ; @hw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Packet tag reserved bit is high"

	.comm	_TX_STS_ES_,4,2                 ; @TX_STS_ES_
	.comm	_TX_STS_EXCESS_COL_,4,2         ; @TX_STS_EXCESS_COL_
	.comm	_TX_STS_LOST_CARRIER_,4,2       ; @TX_STS_LOST_CARRIER_
	.comm	_TX_STS_LATE_COL_,4,2           ; @TX_STS_LATE_COL_
	.no_dead_strip	_smsc911x_tx_update_txcounters
.subsections_via_symbols
