	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_pio_handle_txstatus        ## -- Begin function b43_pio_handle_txstatus
	.p2align	4, 0x90
_b43_pio_handle_txstatus:               ## @b43_pio_handle_txstatus
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	$0, -40(%rbp)
	movl	(%rsi), %esi
	leaq	-40(%rbp), %rdx
	callq	_parse_cookie
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	xorl	%edi, %edi
	cmpq	$0, -40(%rbp)
	sete	%dil
	callq	_B43_WARN_ON
	movq	-40(%rbp), %rax
	movq	8(%rax), %rdi
	callq	_IEEE80211_SKB_CB
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_b43_fill_txstatus_report
	movq	-40(%rbp), %rax
	movq	8(%rax), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_b43_txhdr_size
	addl	%eax, %ebx
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_roundup
	subl	%eax, (%r12)
	incl	4(%r12)
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	-40(%rbp), %rax
	movq	8(%rax), %rsi
	callq	_ieee80211_tx_status
	movq	-40(%rbp), %rdi
	movq	$0, 8(%rdi)
	movq	%r12, %rsi
	addq	$16, %rsi
	callq	_list_add
	cmpl	$0, 8(%r12)
	je	LBB0_3
## %bb.2:
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	12(%r12), %esi
	callq	_ieee80211_wake_queue
	movl	$0, 8(%r12)
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_pio_handle_txstatus        ; -- Begin function b43_pio_handle_txstatus
	.p2align	2
_b43_pio_handle_txstatus:               ; @b43_pio_handle_txstatus
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	w1, [x1]
	add	x2, sp, #8
	bl	_parse_cookie
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_B43_WARN_ON
	ldr	x8, [sp, #8]
	ldr	x0, [x8, #8]
	bl	_IEEE80211_SKB_CB
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_b43_fill_txstatus_report
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #8]
	ldr	w21, [x8]
	mov	x0, x19
	bl	_b43_txhdr_size
	add	w0, w0, w21
	mov	w1, #4
	bl	_roundup
	ldr	d0, [x20]
	movi.2s	v1, #1
	movi.2s	v2, #1
	mov.s	v2[0], w0
	sub.2s	v2, v0, v2
	add.2s	v0, v0, v1
	mov.s	v2[1], v0[1]
	str	d2, [x20]
	ldr	x8, [x19]
	ldr	w0, [x8]
	ldr	x8, [sp, #8]
	ldr	x1, [x8, #8]
	bl	_ieee80211_tx_status
	ldr	x0, [sp, #8]
	str	xzr, [x0, #8]
	add	x1, x20, #16
	bl	_list_add
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	x8, [x19]
	ldr	w0, [x8]
	ldr	w1, [x20, #12]
	bl	_ieee80211_wake_queue
	str	wzr, [x20, #8]
LBB0_3:
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
