	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carl9170_ampdu_check
_carl9170_ampdu_check:                  ## @carl9170_ampdu_check
	.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	_AR9170_RX_STATUS_MPDU@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	movq	_AR9170_RX_STATUS_MPDU_SINGLE@GOTPCREL(%rip), %rax
	movl	$1, %r14d
	cmpl	(%rax), %edx
	je	LBB0_7
## %bb.1:
	movq	_RX_FLAG_AMPDU_DETAILS@GOTPCREL(%rip), %rax
	movq	_RX_FLAG_AMPDU_LAST_KNOWN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	orl	%edx, (%rcx)
	movl	(%rdi), %eax
	movl	%eax, 4(%rcx)
	movl	(%rsi), %ebx
	movl	%ebx, %edi
	callq	_ieee80211_is_data_qos
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%ebx, %edi
	callq	_ieee80211_is_data_present
	testq	%rax, %rax
	jne	LBB0_7
LBB0_3:
	movl	%ebx, %edi
	callq	_ieee80211_is_ack
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movl	%ebx, %edi
	callq	_ieee80211_is_back
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	movl	%ebx, %edi
	callq	_ieee80211_is_back_req
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movl	%ebx, %edi
	callq	_ieee80211_is_action
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR9170_RX_STATUS_MPDU,4,2      ## @AR9170_RX_STATUS_MPDU
	.comm	_AR9170_RX_STATUS_MPDU_SINGLE,4,2 ## @AR9170_RX_STATUS_MPDU_SINGLE
	.comm	_RX_FLAG_AMPDU_DETAILS,4,2      ## @RX_FLAG_AMPDU_DETAILS
	.comm	_RX_FLAG_AMPDU_LAST_KNOWN,4,2   ## @RX_FLAG_AMPDU_LAST_KNOWN
	.no_dead_strip	_carl9170_ampdu_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carl9170_ampdu_check
_carl9170_ampdu_check:                  ; @carl9170_ampdu_check
	.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
Lloh0:
	adrp	x8, _AR9170_RX_STATUS_MPDU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR9170_RX_STATUS_MPDU@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w2
Lloh3:
	adrp	x9, _AR9170_RX_STATUS_MPDU_SINGLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AR9170_RX_STATUS_MPDU_SINGLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.1:
Lloh6:
	adrp	x8, _RX_FLAG_AMPDU_DETAILS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RX_FLAG_AMPDU_DETAILS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _RX_FLAG_AMPDU_LAST_KNOWN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RX_FLAG_AMPDU_LAST_KNOWN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x3]
	orr	w8, w8, w9
	ldr	w9, [x0]
	stp	w8, w9, [x3]
	ldr	w19, [x1]
	mov	x0, x19
	bl	_ieee80211_is_data_qos
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_ieee80211_is_data_present
	cbnz	x0, LBB0_6
LBB0_3:
	mov	x0, x19
	bl	_ieee80211_is_ack
	cbnz	x0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_ieee80211_is_back
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_ieee80211_is_back_req
	cbz	x0, LBB0_8
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x19
	bl	_ieee80211_is_action
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AR9170_RX_STATUS_MPDU,4,2      ; @AR9170_RX_STATUS_MPDU
	.comm	_AR9170_RX_STATUS_MPDU_SINGLE,4,2 ; @AR9170_RX_STATUS_MPDU_SINGLE
	.comm	_RX_FLAG_AMPDU_DETAILS,4,2      ; @RX_FLAG_AMPDU_DETAILS
	.comm	_RX_FLAG_AMPDU_LAST_KNOWN,4,2   ; @RX_FLAG_AMPDU_LAST_KNOWN
	.no_dead_strip	_carl9170_ampdu_check
.subsections_via_symbols
