	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_debugfs_log_txstat   ## -- Begin function b43legacy_debugfs_log_txstat
	.p2align	4, 0x90
_b43legacy_debugfs_log_txstat:          ## @b43legacy_debugfs_log_txstat
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_irqs_disabled
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_B43legacy_WARN_ON
	leaq	4(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movl	(%rbx), %eax
	incl	%eax
	movq	_B43legacy_NR_LOGGED_TXSTATUS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	cmovel	%r12d, %eax
	movl	%eax, (%rbx)
	movslq	%eax, %rdi
	shlq	$2, %rdi
	addq	8(%rbx), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43legacy_NR_LOGGED_TXSTATUS,4,2 ## @B43legacy_NR_LOGGED_TXSTATUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_debugfs_log_txstat   ; -- Begin function b43legacy_debugfs_log_txstat
	.p2align	2
_b43legacy_debugfs_log_txstat:          ; @b43legacy_debugfs_log_txstat
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x21, [x0]
	cbz	x21, LBB0_2
; %bb.1:
	mov	x19, x1
	bl	_irqs_disabled
	cmp	w0, #0
	cset	w0, eq
	bl	_B43legacy_WARN_ON
	add	x20, x21, #4
	mov	x0, x20
	bl	_spin_lock
	ldr	w8, [x21]
	add	w9, w8, #1
Lloh0:
	adrp	x10, _B43legacy_NR_LOGGED_TXSTATUS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _B43legacy_NR_LOGGED_TXSTATUS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w9, w10
	csinc	w8, wzr, w8, eq
	str	w8, [x21]
	ldr	x9, [x21, #8]
	add	x0, x9, w8, sxtw #2
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_B43legacy_NR_LOGGED_TXSTATUS,4,2 ; @B43legacy_NR_LOGGED_TXSTATUS
.subsections_via_symbols
