	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwl8k_remove_dma_header
_mwl8k_remove_dma_header:               ## @mwl8k_remove_dma_header
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movl	4(%rbx), %edi
	callq	_ieee80211_hdrlen
	movl	%eax, %r13d
	cmpl	$4, %eax
	je	LBB0_6
## %bb.1:
	leaq	4(%rbx), %r12
	movl	4(%rbx), %edi
	callq	_ieee80211_is_data_qos
	movl	(%rbx), %edi
	subl	%r13d, %edi
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leal	-2(%r13), %edx
	movq	%r12, %rsi
	callq	_memmove
	movslq	(%rbx), %rax
	movl	%r15d, -2(%rax)
	cmpl	$8, %r13d
	jne	LBB0_6
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_memmove
	cmpl	$8, %r13d
	je	LBB0_5
LBB0_6:
	movl	$8, %esi
	subl	%r13d, %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skb_pull                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mwl8k_remove_dma_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwl8k_remove_dma_header
_mwl8k_remove_dma_header:               ; @mwl8k_remove_dma_header
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	ldr	x23, [x0]
	mov	x22, x23
	ldr	w0, [x22, #4]!
	bl	_ieee80211_hdrlen
	mov	x20, x0
	cmp	w0, #4
	b.eq	LBB0_5
; %bb.1:
	ldr	w0, [x23, #4]
	bl	_ieee80211_is_data_qos
	mov	x8, x0
	ldr	w9, [x23]
	sub	w0, w9, w20
	cbz	x8, LBB0_4
; %bb.2:
	sub	w2, w20, #2
	mov	x1, x22
	bl	_memmove
	ldrsw	x8, [x23]
	stur	w21, [x8, #-2]
	cmp	w20, #8
	b.ne	LBB0_5
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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x1, x22
	mov	x2, x20
	bl	_memmove
	cmp	w20, #8
	b.eq	LBB0_3
LBB0_5:
	mov	w8, #8
	sub	w1, w8, w20
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_skb_pull
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mwl8k_remove_dma_header
.subsections_via_symbols
