	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_tx_info
_update_tx_info:                        ## @update_tx_info
	.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	8(%rdi), %r14
	movq	16(%r14), %r13
	movl	%edx, %eax
	addq	%rax, (%r13)
	movl	%esi, %ebx
	movq	_F_FL0_ENABLE@GOTPCREL(%rip), %r12
	movq	_F_FL1_ENABLE@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	orl	(%r12), %eax
	testl	%esi, %eax
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_freelQs_empty
	movl	(%r15), %eax
	orl	(%r12), %eax
	notl	%eax
	andl	%eax, %ebx
LBB0_2:
	movq	_F_CMDQ0_ENABLE@GOTPCREL(%rip), %r15
	testl	%ebx, (%r15)
	je	LBB0_9
## %bb.3:
	movq	_CMDQ_STAT_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%r13), %r12
	movq	%r12, %rsi
	callq	_clear_bit
	movq	16(%r13), %rax
	addq	8(%r13), %rax
	cmpq	(%r13), %rax
	je	LBB0_6
## %bb.4:
	movq	_CMDQ_STAT_LAST_PKT_DB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_CMDQ_STAT_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_set_bit
	movl	(%r15), %edi
	movq	_A_SG_DOORBELL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	(%rax), %rsi
	callq	_writel
LBB0_6:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_tasklet_hi_schedule
LBB0_8:
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, %ebx
LBB0_9:
	xorl	%edi, %edi
	cmpq	$0, (%r14)
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	callq	_restart_tx_queues
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F_FL0_ENABLE,4,2               ## @F_FL0_ENABLE
	.comm	_F_FL1_ENABLE,4,2               ## @F_FL1_ENABLE
	.comm	_F_CMDQ0_ENABLE,4,2             ## @F_CMDQ0_ENABLE
	.comm	_CMDQ_STAT_RUNNING,4,2          ## @CMDQ_STAT_RUNNING
	.comm	_CMDQ_STAT_LAST_PKT_DB,4,2      ## @CMDQ_STAT_LAST_PKT_DB
	.comm	_A_SG_DOORBELL,8,3              ## @A_SG_DOORBELL
	.no_dead_strip	_update_tx_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_tx_info
_update_tx_info:                        ; @update_tx_info
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x21, x0
	ldr	x20, [x0, #8]
	ldr	x24, [x20, #16]
	ldr	x8, [x24]
	add	x8, x8, w2, uxtw
	str	x8, [x24]
Lloh0:
	adrp	x22, _F_FL0_ENABLE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _F_FL0_ENABLE@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x23, _F_FL1_ENABLE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _F_FL1_ENABLE@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w9, w8
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_freelQs_empty
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	bic	w19, w19, w8
LBB0_2:
Lloh4:
	adrp	x23, _F_CMDQ0_ENABLE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _F_CMDQ0_ENABLE@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w19
	b.eq	LBB0_9
; %bb.3:
Lloh6:
	adrp	x25, _CMDQ_STAT_RUNNING@GOTPAGE
Lloh7:
	ldr	x25, [x25, _CMDQ_STAT_RUNNING@GOTPAGEOFF]
	ldr	w0, [x25]
	add	x22, x24, #24
	mov	x1, x22
	bl	_clear_bit
	ldp	x9, x8, [x24, #8]
	ldr	x10, [x24]
	add	x8, x8, x9
	cmp	x8, x10
	b.eq	LBB0_6
; %bb.4:
Lloh8:
	adrp	x8, _CMDQ_STAT_LAST_PKT_DB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CMDQ_STAT_LAST_PKT_DB@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_and_set_bit
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	w0, [x25]
	mov	x1, x22
	bl	_set_bit
	ldr	w0, [x23]
	ldr	x8, [x21]
Lloh11:
	adrp	x9, _A_SG_DOORBELL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _A_SG_DOORBELL@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
LBB0_6:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_tasklet_hi_schedule
LBB0_8:
	ldr	w8, [x23]
	bic	w19, w19, w8
LBB0_9:
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x20
	bl	_restart_tx_queues
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_F_FL0_ENABLE,4,2               ; @F_FL0_ENABLE
	.comm	_F_FL1_ENABLE,4,2               ; @F_FL1_ENABLE
	.comm	_F_CMDQ0_ENABLE,4,2             ; @F_CMDQ0_ENABLE
	.comm	_CMDQ_STAT_RUNNING,4,2          ; @CMDQ_STAT_RUNNING
	.comm	_CMDQ_STAT_LAST_PKT_DB,4,2      ; @CMDQ_STAT_LAST_PKT_DB
	.comm	_A_SG_DOORBELL,8,3              ; @A_SG_DOORBELL
	.no_dead_strip	_update_tx_info
.subsections_via_symbols
