	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carl9170_tx_accounting
_carl9170_tx_accounting:                ## @carl9170_tx_accounting
	.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, %rbx
	movq	%rdi, %r15
	addq	$32, %rdi
	callq	_atomic_inc
	movq	%rbx, %rdi
	callq	_skb_get_queue_mapping
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movq	24(%r15), %rax
	movslq	%ebx, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	incq	(%rax,%rcx,8)
	incl	16(%rax,%rcx,8)
	movq	%r15, %rdi
	callq	_is_mem_full
	movq	16(%r15), %rdi
	cmpl	$0, (%rdi)
	jle	LBB0_6
## %bb.1:
	movl	%eax, %r14d
	movl	$2, %r12d
	xorl	%ebx, %ebx
	movq	_jiffies@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %esi
	callq	_ieee80211_stop_queue
	movl	(%r13), %eax
	movq	8(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	16(%r15), %rdi
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%rdi), %rax
	addq	$6, %r12
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r14d, %r14d
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r15), %rax
	movq	-8(%rax,%r12,4), %rcx
	cmpq	(%rax,%r12,4), %rcx
	jge	LBB0_4
	jmp	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_carl9170_tx_accounting
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carl9170_tx_accounting
_carl9170_tx_accounting:                ; @carl9170_tx_accounting
	.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
	mov	x19, x0
	add	x0, x0, #32
	bl	_atomic_inc
	mov	x0, x20
	bl	_skb_get_queue_mapping
	mov	x20, x0
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	x8, [x19, #24]
	mov	w9, #24
	smaddl	x8, w20, w9, x8
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
	ldr	w9, [x8, #16]
	add	w9, w9, #1
	str	w9, [x8, #16]
	mov	x0, x19
	bl	_is_mem_full
	mov	x20, x0
	ldr	x0, [x19, #16]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x22, #0
	mov	x21, #0
Lloh0:
	adrp	x23, _jiffies@GOTPAGE
Lloh1:
	ldr	x23, [x23, _jiffies@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x21
	bl	_ieee80211_stop_queue
	ldr	w8, [x23]
	ldp	x9, x0, [x19, #8]
	str	w8, [x9, x21, lsl #2]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x0]
	add	x22, x22, #24
	cmp	x21, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	w20, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #24]
	add	x8, x8, x22
	ldp	x9, x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_2
	b	LBB0_3
LBB0_6:
	mov	x0, x19
	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	_spin_unlock_bh
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_carl9170_tx_accounting
.subsections_via_symbols
