	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function debug_stats_txq_post
_debug_stats_txq_post:                  ## @debug_stats_txq_post
	.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	%edx, %r14d
	movq	%rdi, %rbx
	movl	(%rsi), %edi
	callq	_le64_to_cpu
	movq	_IONIC_TXQ_DESC_NSGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_IONIC_TXQ_DESC_NSGE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addl	%r14d, 8(%rbx)
	movq	_IONIC_MAX_NUM_SG_CNTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	-1(%rcx), %edx
	cmpl	%ecx, %eax
	cmovll	%eax, %edx
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movslq	%edx, %rcx
	incl	(%rax,%rcx,4)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IONIC_TXQ_DESC_NSGE_SHIFT,4,2  ## @IONIC_TXQ_DESC_NSGE_SHIFT
	.comm	_IONIC_TXQ_DESC_NSGE_MASK,4,2   ## @IONIC_TXQ_DESC_NSGE_MASK
	.comm	_IONIC_MAX_NUM_SG_CNTR,4,2      ## @IONIC_MAX_NUM_SG_CNTR
	.no_dead_strip	_debug_stats_txq_post
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function debug_stats_txq_post
_debug_stats_txq_post:                  ; @debug_stats_txq_post
	.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	x19, x2
	mov	x20, x0
	ldr	w0, [x1]
	bl	_le64_to_cpu
Lloh0:
	adrp	x8, _IONIC_TXQ_DESC_NSGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IONIC_TXQ_DESC_NSGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	asr	w8, w0, w8
Lloh3:
	adrp	x9, _IONIC_TXQ_DESC_NSGE_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IONIC_TXQ_DESC_NSGE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w8, w9
	ldr	w9, [x20, #8]
	add	w9, w9, w19
	str	w9, [x20, #8]
Lloh6:
	adrp	x9, _IONIC_MAX_NUM_SG_CNTR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IONIC_MAX_NUM_SG_CNTR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sub	w10, w9, #1
	cmp	w8, w9
	csel	w8, w8, w10, lt
	ldr	x9, [x20]
	ldr	x9, [x9]
	sbfiz	x8, x8, #2, #32
	ldr	w10, [x9, x8]
	add	w10, w10, #1
	str	w10, [x9, x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IONIC_TXQ_DESC_NSGE_SHIFT,4,2  ; @IONIC_TXQ_DESC_NSGE_SHIFT
	.comm	_IONIC_TXQ_DESC_NSGE_MASK,4,2   ; @IONIC_TXQ_DESC_NSGE_MASK
	.comm	_IONIC_MAX_NUM_SG_CNTR,4,2      ; @IONIC_MAX_NUM_SG_CNTR
	.no_dead_strip	_debug_stats_txq_post
.subsections_via_symbols
