	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function au1000_update_tx_stats
_au1000_update_tx_stats:                ## @au1000_update_tx_stats
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TX_FRAME_ABORTED@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_8
## %bb.1:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rax), %rcx
	jne	LBB0_5
LBB0_3:
	movq	_TX_JAB_TIMEOUT@GOTPCREL(%rip), %rax
	movq	_TX_UNDERRUN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%esi, %ecx
	je	LBB0_8
## %bb.4:
	incl	16(%rdi)
	addq	$12, %rdi
	jmp	LBB0_7
LBB0_5:
	incl	16(%rdi)
	incl	12(%rdi)
	movq	_TX_NO_CARRIER@GOTPCREL(%rip), %rax
	movq	_TX_LOSS_CARRIER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%esi, %ecx
	je	LBB0_8
## %bb.6:
	addq	$8, %rdi
LBB0_7:
	incl	(%rdi)
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_FRAME_ABORTED,4,2           ## @TX_FRAME_ABORTED
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_TX_JAB_TIMEOUT,4,2             ## @TX_JAB_TIMEOUT
	.comm	_TX_UNDERRUN,4,2                ## @TX_UNDERRUN
	.comm	_TX_NO_CARRIER,4,2              ## @TX_NO_CARRIER
	.comm	_TX_LOSS_CARRIER,4,2            ## @TX_LOSS_CARRIER
	.no_dead_strip	_au1000_update_tx_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function au1000_update_tx_stats
_au1000_update_tx_stats:                ; @au1000_update_tx_stats
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TX_FRAME_ABORTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TX_FRAME_ABORTED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_8
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _TX_JAB_TIMEOUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TX_JAB_TIMEOUT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _TX_UNDERRUN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TX_UNDERRUN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w1
	b.eq	LBB0_8
; %bb.4:
	ldr	w8, [x0, #16]
	add	w8, w8, #1
	str	w8, [x0, #16]
	add	x8, x0, #12
	b	LBB0_7
LBB0_5:
	ldur	d0, [x0, #12]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	stur	d0, [x0, #12]
Lloh12:
	adrp	x8, _TX_NO_CARRIER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TX_NO_CARRIER@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _TX_LOSS_CARRIER@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TX_LOSS_CARRIER@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w1
	b.eq	LBB0_8
; %bb.6:
	add	x8, x0, #8
LBB0_7:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_8:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_FRAME_ABORTED,4,2           ; @TX_FRAME_ABORTED
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_TX_JAB_TIMEOUT,4,2             ; @TX_JAB_TIMEOUT
	.comm	_TX_UNDERRUN,4,2                ; @TX_UNDERRUN
	.comm	_TX_NO_CARRIER,4,2              ; @TX_NO_CARRIER
	.comm	_TX_LOSS_CARRIER,4,2            ; @TX_LOSS_CARRIER
	.no_dead_strip	_au1000_update_tx_stats
.subsections_via_symbols
