	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cw1200_tx_h_wsm
_cw1200_tx_h_wsm:                       ## @cw1200_tx_h_wsm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %rdi
	callq	_skb_headroom
	cmpl	$23, %eax
	ja	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movl	(%rax), %ebx
	movq	8(%r14), %rdi
	callq	_skb_headroom
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_wiphy_err
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_2:
	movq	8(%r14), %rdi
	movl	$24, %esi
	callq	_skb_push
	movq	%rax, %rbx
	addl	$24, 16(%r14)
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	___cpu_to_le16
	movq	%rax, 16(%rbx)
	movl	$4, %edi
	callq	___cpu_to_le16
	movq	%rax, 8(%rbx)
	movl	(%r14), %edi
	callq	_wsm_queue_id_to_wsm
	movl	%eax, (%rbx)
LBB0_3:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bug: no space allocated for WSM header. headroom: %d\n"

	.no_dead_strip	_cw1200_tx_h_wsm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cw1200_tx_h_wsm
_cw1200_tx_h_wsm:                       ; @cw1200_tx_h_wsm
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x1, #8]
	bl	_skb_headroom
	cmp	w0, #23
	b.hi	LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	w20, [x8]
	ldr	x0, [x19, #8]
	bl	_skb_headroom
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_wiphy_err
	mov	x20, #0
	b	LBB0_3
LBB0_2:
	ldr	x0, [x19, #8]
	mov	w1, #24
	bl	_skb_push
	mov	x20, x0
	ldr	w8, [x19, #16]
	add	w8, w8, #24
	str	w8, [x19, #16]
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	___cpu_to_le16
	str	x0, [x20, #16]
	mov	w0, #4
	bl	___cpu_to_le16
	str	x0, [x20, #8]
	ldr	w0, [x19]
	bl	_wsm_queue_id_to_wsm
	str	w0, [x20]
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bug: no space allocated for WSM header. headroom: %d\n"

	.no_dead_strip	_cw1200_tx_h_wsm
.subsections_via_symbols
