	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwl8k_encapsulate_tx_frame
_mwl8k_encapsulate_tx_frame:            ## @mwl8k_encapsulate_tx_frame
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	movq	%rsi, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r12
	movl	(%rbx), %edi
	callq	_ieee80211_is_data
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movl	(%rax), %edx
	movl	4(%rax), %eax
	leal	-128(%rax), %esi
	cmpl	$2, %esi
	jb	LBB0_8
## %bb.3:
	cmpl	$130, %eax
	je	LBB0_9
## %bb.4:
	cmpl	$131, %eax
	jne	LBB0_10
## %bb.5:
	movl	$8, %ecx
	jmp	LBB0_10
LBB0_7:
	xorl	%edx, %edx
LBB0_10:
	movq	%r14, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mwl8k_add_dma_header           ## TAILCALL
LBB0_8:
	movl	$4, %ecx
	jmp	LBB0_10
LBB0_9:
	movl	$12, %ecx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mwl8k_encapsulate_tx_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwl8k_encapsulate_tx_frame
_mwl8k_encapsulate_tx_frame:            ; @mwl8k_encapsulate_tx_frame
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x20, x0
	ldr	x22, [x1]
	mov	x0, x1
	bl	_IEEE80211_SKB_CB
	mov	x21, x0
	ldr	w0, [x22]
	bl	_ieee80211_is_data
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.2:
	ldp	w2, w8, [x8]
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_7
; %bb.3:
	cmp	w8, #130
	b.eq	LBB0_8
; %bb.4:
	cmp	w8, #131
	b.ne	LBB0_9
; %bb.5:
	mov	w3, #8
	b	LBB0_10
LBB0_6:
	mov	w3, #0
	mov	w2, #0
	b	LBB0_10
LBB0_7:
	mov	w3, #4
	b	LBB0_10
LBB0_8:
	mov	w3, #12
	b	LBB0_10
LBB0_9:
	mov	w3, #0
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mwl8k_add_dma_header
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mwl8k_encapsulate_tx_frame
.subsections_via_symbols
