	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_decap_amsdu          ## -- Begin function ieee80211_decap_amsdu
	.p2align	4, 0x90
_ieee80211_decap_amsdu:                 ## @ieee80211_decap_amsdu
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movq	%rsi, %rdi
	movl	$4, %esi
	callq	_m_adj
	incl	16(%r15)
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ieee80211_decap1
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r13
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %esi
	cmpl	%esi, (%r13)
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_m_split
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	*(%r15)
	movl	-44(%rbp), %edi
	movl	$4, %esi
	callq	_roundup2
	subl	-44(%rbp), %eax
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_m_adj
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ieee80211_decap1
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_2
LBB0_6:
	movq	_IEEE80211_MSG_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %r8
	leaq	L_.str.2(%rip), %r9
	movq	%r15, %rdi
	callq	_IEEE80211_DISCARD_MAC
	incl	12(%r15)
	jmp	LBB0_7
LBB0_4:
	movq	_IEEE80211_MSG_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %r8
	leaq	L_.str.3(%rip), %r9
	movq	%r15, %rdi
	callq	_IEEE80211_DISCARD_MAC
	incl	8(%r15)
	movq	%r13, %rdi
	callq	_m_freem
LBB0_7:
	xorl	%r13d, %r13d
LBB0_8:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MSG_ANY,4,2          ## @IEEE80211_MSG_ANY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"a-msdu"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

L_.str.2:                               ## @.str.2
	.asciz	"decap failed"

	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
L_.str.3:                               ## @.str.3
	.asciz	"unable to split encapsulated frames"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_decap_amsdu          ; -- Begin function ieee80211_decap_amsdu
	.p2align	2
_ieee80211_decap_amsdu:                 ; @ieee80211_decap_amsdu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x0
	ldr	x19, [x0, #8]
	mov	x0, x1
	mov	w1, #4
	bl	_m_adj
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	add	x1, sp, #12
	mov	x0, x21
	bl	_ieee80211_decap1
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x23, _M_NOWAIT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _M_NOWAIT@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	ldr	w1, [sp, #12]
	cmp	w8, w1
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w2, [x23]
	mov	x0, x21
	bl	_m_split
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x0
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	blr	x8
	ldr	w0, [sp, #12]
	mov	w1, #4
	bl	_roundup2
	ldr	w8, [sp, #12]
	sub	w1, w0, w8
	mov	x0, x22
	bl	_m_adj
	add	x1, sp, #12
	mov	x0, x22
	bl	_ieee80211_decap1
	mov	x21, x0
	cbnz	x0, LBB0_2
LBB0_5:
Lloh2:
	adrp	x8, _IEEE80211_MSG_ANY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IEEE80211_MSG_ANY@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x20]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
Lloh7:
	adrp	x4, l_.str.1@PAGE
Lloh8:
	add	x4, x4, l_.str.1@PAGEOFF
Lloh9:
	adrp	x5, l_.str.2@PAGE
Lloh10:
	add	x5, x5, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_IEEE80211_DISCARD_MAC
	mov	x21, #0
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _IEEE80211_MSG_ANY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IEEE80211_MSG_ANY@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x20]
Lloh14:
	adrp	x3, l_.str@PAGE
Lloh15:
	add	x3, x3, l_.str@PAGEOFF
Lloh16:
	adrp	x4, l_.str.1@PAGE
Lloh17:
	add	x4, x4, l_.str.1@PAGEOFF
Lloh18:
	adrp	x5, l_.str.3@PAGE
Lloh19:
	add	x5, x5, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_IEEE80211_DISCARD_MAC
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	mov	x0, x21
	bl	_m_freem
	mov	x21, #0
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MSG_ANY,4,2          ; @IEEE80211_MSG_ANY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"a-msdu"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

l_.str.2:                               ; @.str.2
	.asciz	"decap failed"

	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
l_.str.3:                               ; @.str.3
	.asciz	"unable to split encapsulated frames"

.subsections_via_symbols
