	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_parse_qos
_ieee80211_parse_qos:                   ## @ieee80211_parse_qos
	.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	%rdi, %r15
	movq	8(%rdi), %rdi
	movq	8(%rdi), %rbx
	callq	_IEEE80211_SKB_RXCB
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_ieee80211_is_data_qos
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_ieee80211_get_qos_ctl
	movl	(%rax), %ecx
	movq	_IEEE80211_QOS_CTL_TID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	movq	_IEEE80211_QOS_CTL_A_MSDU_PRESENT@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_3
## %bb.2:
	movq	_IEEE80211_RX_AMSDU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r14)
LBB0_3:
	movl	%eax, (%r15)
	movl	%eax, 4(%r15)
	xorl	%ecx, %ecx
	cmpl	$8, %eax
	cmovll	%eax, %ecx
	jmp	LBB0_7
LBB0_4:
	movq	_IEEE80211_NUM_TIDS@GOTPCREL(%rip), %r12
	movl	(%r12), %r14d
	movl	(%rbx), %edi
	callq	_ieee80211_is_mgmt
	xorl	%ecx, %ecx
	movl	$0, %edx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%r12), %edx
LBB0_6:
	movl	%r14d, (%r15)
	movl	%edx, 4(%r15)
LBB0_7:
	movq	8(%r15), %rax
	movl	%ecx, (%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_QOS_CTL_TID_MASK,4,2 ## @IEEE80211_QOS_CTL_TID_MASK
	.comm	_IEEE80211_QOS_CTL_A_MSDU_PRESENT,4,2 ## @IEEE80211_QOS_CTL_A_MSDU_PRESENT
	.comm	_IEEE80211_RX_AMSDU,4,2         ## @IEEE80211_RX_AMSDU
	.comm	_IEEE80211_NUM_TIDS,4,2         ## @IEEE80211_NUM_TIDS
	.no_dead_strip	_ieee80211_parse_qos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_parse_qos
_ieee80211_parse_qos:                   ; @ieee80211_parse_qos
	.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, x0
	ldr	x0, [x0, #8]
	ldr	x21, [x0, #8]
	bl	_IEEE80211_SKB_RXCB
	mov	x20, x0
	ldr	w0, [x21]
	bl	_ieee80211_is_data_qos
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x21
	bl	_ieee80211_get_qos_ctl
	ldr	w9, [x0]
Lloh0:
	adrp	x8, _IEEE80211_QOS_CTL_TID_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_QOS_CTL_TID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w9
Lloh3:
	adrp	x10, _IEEE80211_QOS_CTL_A_MSDU_PRESENT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IEEE80211_QOS_CTL_A_MSDU_PRESENT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, _IEEE80211_RX_AMSDU@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_RX_AMSDU@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldr	w10, [x20]
	orr	w9, w10, w9
	str	w9, [x20]
LBB0_3:
	stp	w8, w8, [x19]
	cmp	w8, #7
	csel	w8, wzr, w8, gt
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x20, _IEEE80211_NUM_TIDS@GOTPAGE
Lloh10:
	ldr	x20, [x20, _IEEE80211_NUM_TIDS@GOTPAGEOFF]
	ldr	w22, [x20]
	ldr	w0, [x21]
	bl	_ieee80211_is_mgmt
	mov	w8, #0
	ldr	w9, [x20]
	cmp	x0, #0
	csel	w9, wzr, w9, eq
	stp	w22, w9, [x19]
LBB0_5:
	ldr	x9, [x19, #8]
	str	w8, [x9]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_QOS_CTL_TID_MASK,4,2 ; @IEEE80211_QOS_CTL_TID_MASK
	.comm	_IEEE80211_QOS_CTL_A_MSDU_PRESENT,4,2 ; @IEEE80211_QOS_CTL_A_MSDU_PRESENT
	.comm	_IEEE80211_RX_AMSDU,4,2         ; @IEEE80211_RX_AMSDU
	.comm	_IEEE80211_NUM_TIDS,4,2         ; @IEEE80211_NUM_TIDS
	.no_dead_strip	_ieee80211_parse_qos
.subsections_via_symbols
