	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function txstat_read_file
_txstat_read_file:                      ## @txstat_read_file
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	leaq	4(%rbx), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	cmpl	$0, (%rbx)
	js	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_fappend
	movl	(%rbx), %eax
	movl	%eax, %r14d
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%eax, %r14d
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %ecx
	incl	%ecx
	movl	$0, %r14d
	movq	_B43legacy_NR_LOGGED_TXSTATUS@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, %r14d
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rsi
	movslq	%r14d, %rcx
	leaq	(%rcx,%rcx,2), %rdi
	shlq	$4, %rdi
	movq	40(%rsi,%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	32(%rsi,%rdi), %ecx
	movl	28(%rsi,%rdi), %r8d
	movl	24(%rsi,%rdi), %r9d
	movl	20(%rsi,%rdi), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	16(%rsi,%rdi), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r10
	movl	12(%rsi,%rdi), %ebx
	movl	8(%rsi,%rdi), %r11d
	movl	(%rsi,%rdi), %r12d
	movl	4(%rsi,%rdi), %r15d
	leaq	L_.str.2(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	pushq	%r12
	pushq	%r15
	pushq	%r11
	pushq	%rbx
	movq	%r10, %rbx
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_fappend
	addq	$48, %rsp
	incl	%r13d
	movl	(%rbx), %eax
	jmp	LBB0_7
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_fappend
LBB0_8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Nothing transmitted, yet\n"

L_.str.1:                               ## @.str.1
	.asciz	"b43legacy TX status reports:\n\nindex | cookie | seq | phy_stat | frame_count | rts_count | supp_reason | pm_indicated | intermediate | for_ampdu | acked\n---\n"

	.comm	_B43legacy_NR_LOGGED_TXSTATUS,4,2 ## @B43legacy_NR_LOGGED_TXSTATUS
L_.str.2:                               ## @.str.2
	.asciz	"%03d | 0x%04X | 0x%04X | 0x%02X | 0x%X | 0x%X | %u | %u | %u | %u | %u\n"

	.no_dead_strip	_txstat_read_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function txstat_read_file
_txstat_read_file:                      ; @txstat_read_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	ldr	x21, [x0]
	add	x19, x21, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x21]
	tbnz	w8, #31, LBB0_5
; %bb.1:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fappend
	mov	w22, #0
	ldr	w8, [x21]
Lloh2:
	adrp	x23, _B43legacy_NR_LOGGED_TXSTATUS@GOTPAGE
Lloh3:
	ldr	x23, [x23, _B43legacy_NR_LOGGED_TXSTATUS@GOTPAGEOFF]
	mov	w24, #48
Lloh4:
	adrp	x20, l_.str.2@PAGE
Lloh5:
	add	x20, x20, l_.str.2@PAGEOFF
	mov	x25, x8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w26, w8
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w25, #1
	ldr	w10, [x23]
	cmp	w9, w10
	csinc	w25, wzr, w25, eq
	ldr	x10, [x21, #8]
	sxtw	x26, w25
	smaddl	x9, w25, w24, x10
	ldr	x9, [x9, #40]
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	madd	x8, x26, x24, x10
	ldp	w11, w10, [x8, #28]
	ldp	w13, w12, [x8, #20]
	ldp	w15, w14, [x8, #12]
	ldp	w17, w16, [x8, #4]
	ldr	w8, [x8]
	stp	x17, x8, [sp, #72]
	stp	x15, x16, [sp, #56]
	stp	x13, x14, [sp, #40]
	stp	x11, x12, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x22, [sp]
	mov	x0, x20
	bl	_fappend
	add	w22, w22, #1
	ldr	w8, [x21]
	b	LBB0_2
LBB0_5:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fappend
LBB0_6:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Nothing transmitted, yet\n"

l_.str.1:                               ; @.str.1
	.asciz	"b43legacy TX status reports:\n\nindex | cookie | seq | phy_stat | frame_count | rts_count | supp_reason | pm_indicated | intermediate | for_ampdu | acked\n---\n"

	.comm	_B43legacy_NR_LOGGED_TXSTATUS,4,2 ; @B43legacy_NR_LOGGED_TXSTATUS
l_.str.2:                               ; @.str.2
	.asciz	"%03d | 0x%04X | 0x%04X | 0x%02X | 0x%X | 0x%X | %u | %u | %u | %u | %u\n"

	.no_dead_strip	_txstat_read_file
.subsections_via_symbols
