	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_tx_stats_update
_be_tx_stats_update:                    ## @be_tx_stats_update
	.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	%rsi, %r14
	callq	_tx_stats
	movq	%rax, %r12
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_skb_shinfo
	movq	(%rax), %rax
	testq	%rax, %rax
	movl	$1, %r13d
	cmovnel	%eax, %r13d
	xorl	%ebx, %ebx
	cmpl	$2, %r13d
	jl	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_be_gso_hdr_len
	leal	-1(%r13), %ebx
	imull	%eax, %ebx
LBB0_2:
	addq	$8, %r12
	movq	%r12, %rdi
	callq	_u64_stats_update_begin
	incl	16(%r15)
	addl	(%r14), %ebx
	addl	%ebx, 12(%r15)
	addl	%r13d, (%r15)
	cmpq	$0, 16(%r14)
	je	LBB0_5
## %bb.3:
	movq	8(%r14), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	addl	%r13d, 4(%r15)
LBB0_5:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_u64_stats_update_end           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.no_dead_strip	_be_tx_stats_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_tx_stats_update
_be_tx_stats_update:                    ; @be_tx_stats_update
	.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
	bl	_tx_stats
	mov	x19, x0
	mov	x0, x20
	bl	_skb_shinfo
	ldr	x8, [x0]
	cmp	x8, #0
	csinc	w22, w8, wzr, ne
	cmp	w22, #2
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_be_gso_hdr_len
	sub	w8, w22, #1
	mul	w23, w0, w8
	b	LBB0_3
LBB0_2:
	mov	w23, #0
LBB0_3:
	add	x21, x19, #8
	mov	x0, x21
	bl	_u64_stats_update_begin
	ldr	w8, [x20]
	add	w8, w8, w23
	ldur	d0, [x19, #12]
	movi.2s	v1, #1
	mov.s	v1[0], w8
	add.2s	v0, v1, v0
	stur	d0, [x19, #12]
	ldr	w8, [x19]
	add	w8, w8, w22
	str	w8, [x19]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [x19, #4]
	add	w8, w8, w22
	str	w8, [x19, #4]
LBB0_6:
	mov	x0, x21
	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	_u64_stats_update_end
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.no_dead_strip	_be_tx_stats_update
.subsections_via_symbols
