	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pio_tx_write_fragment
_pio_tx_write_fragment:                 ## @pio_tx_write_fragment
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_skb_shinfo
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setne	%dil
	callq	_B43legacy_WARN_ON
	movl	8(%r14), %r13d
	movq	(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r12
	movq	%rbx, %rdi
	callq	_IEEE80211_SKB_CB
	movl	%eax, %r15d
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_generate_cookie
	leaq	-48(%rbp), %rsi
	movl	%r13d, %edi
	movq	%r12, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r15d, %r8d
	movl	%eax, %r9d
	callq	_b43legacy_generate_txhdr
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_tx_start
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addl	(%rbx), %ecx
	cmpq	$1, (%r14)
	adcl	$-1, %ecx
	movq	8(%rbx), %rdx
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_tx_data
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_tx_complete
LBB0_2:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pio_tx_write_fragment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pio_tx_write_fragment
_pio_tx_write_fragment:                 ; @pio_tx_write_fragment
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_skb_shinfo
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, ne
	bl	_B43legacy_WARN_ON
	ldr	w23, [x20, #8]
	ldp	x25, x24, [x19]
	mov	x0, x19
	bl	_IEEE80211_SKB_CB
	mov	x26, x0
	mov	x0, x20
	mov	x1, x22
	bl	_generate_cookie
	mov	x5, x0
	add	x1, sp, #8
	mov	x0, x23
	mov	x2, x24
	mov	x3, x25
	mov	x4, x26
	bl	_b43legacy_generate_txhdr
	mov	x22, x0
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_tx_start
	ldr	w8, [x19]
	ldr	x9, [x20]
	cmp	x9, #0
	cset	w9, ne
	add	w8, w8, w21
	sub	w3, w8, w9
	ldr	x2, [x19, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_tx_data
	mov	x0, x20
	mov	x1, x19
	bl	_tx_complete
LBB0_2:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pio_tx_write_fragment
.subsections_via_symbols
