	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_tx_stats
_update_tx_stats:                       ## @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
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	_TX_FRAME_ABORTED@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_7
## %bb.1:
	movq	(%rax), %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	%r14d, %ecx
	je	LBB0_7
## %bb.4:
	incl	8(%rbx)
	addq	$4, %rbx
	jmp	LBB0_6
LBB0_5:
	incl	8(%rbx)
	incl	4(%rbx)
	movq	_TX_NO_CARRIER@GOTPCREL(%rip), %rax
	movq	_TX_LOSS_CARRIER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r14d, %ecx
	je	LBB0_7
LBB0_6:
	incl	(%rbx)
LBB0_7:
	popq	%rbx
	popq	%r14
	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	_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 update_tx_stats
_update_tx_stats:                       ; @update_tx_stats
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_netdev_priv
Lloh0:
	adrp	x8, _TX_FRAME_ABORTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TX_FRAME_ABORTED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
; %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, w20
	b.eq	LBB0_7
; %bb.4:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	add	x19, x19, #4
	b	LBB0_6
LBB0_5:
	ldur	d0, [x19, #4]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	stur	d0, [x19, #4]
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, w20
	b.eq	LBB0_7
LBB0_6:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	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	_update_tx_stats
.subsections_via_symbols
