	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_apply_ampdu_details
_ath9k_apply_ampdu_details:             ## @ath9k_apply_ampdu_details
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 8(%rsi)
	je	LBB0_5
## %bb.1:
	movq	_RX_FLAG_AMPDU_DETAILS@GOTPCREL(%rip), %rcx
	movq	_RX_FLAG_AMPDU_LAST_KNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	movl	%eax, (%rdx)
	movl	(%rdi), %r8d
	movl	%r8d, 4(%rdx)
	cmpl	$0, 4(%rsi)
	jne	LBB0_3
## %bb.2:
	movq	_RX_FLAG_AMPDU_IS_LAST@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdx)
	incl	%r8d
	movl	%r8d, (%rdi)
LBB0_3:
	movq	_ATH9K_RX_DELIM_CRC_PRE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rsi)
	je	LBB0_5
## %bb.4:
	movq	_RX_FLAG_AMPDU_DELIM_CRC_ERROR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdx)
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_FLAG_AMPDU_DETAILS,4,2      ## @RX_FLAG_AMPDU_DETAILS
	.comm	_RX_FLAG_AMPDU_LAST_KNOWN,4,2   ## @RX_FLAG_AMPDU_LAST_KNOWN
	.comm	_RX_FLAG_AMPDU_IS_LAST,4,2      ## @RX_FLAG_AMPDU_IS_LAST
	.comm	_ATH9K_RX_DELIM_CRC_PRE,4,2     ## @ATH9K_RX_DELIM_CRC_PRE
	.comm	_RX_FLAG_AMPDU_DELIM_CRC_ERROR,4,2 ## @RX_FLAG_AMPDU_DELIM_CRC_ERROR
	.no_dead_strip	_ath9k_apply_ampdu_details
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_apply_ampdu_details
_ath9k_apply_ampdu_details:             ; @ath9k_apply_ampdu_details
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _RX_FLAG_AMPDU_DETAILS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RX_FLAG_AMPDU_DETAILS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RX_FLAG_AMPDU_LAST_KNOWN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RX_FLAG_AMPDU_LAST_KNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x2]
	orr	w8, w8, w9
	ldr	w9, [x0]
	stp	w8, w9, [x2]
	ldr	w10, [x1, #4]
	cbnz	w10, LBB0_3
; %bb.2:
Lloh6:
	adrp	x10, _RX_FLAG_AMPDU_IS_LAST@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RX_FLAG_AMPDU_IS_LAST@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w8, w10, w8
	str	w8, [x2]
	add	w9, w9, #1
	str	w9, [x0]
LBB0_3:
	ldr	w9, [x1]
Lloh9:
	adrp	x10, _ATH9K_RX_DELIM_CRC_PRE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ATH9K_RX_DELIM_CRC_PRE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
; %bb.4:
Lloh12:
	adrp	x9, _RX_FLAG_AMPDU_DELIM_CRC_ERROR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RX_FLAG_AMPDU_DELIM_CRC_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x2]
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_FLAG_AMPDU_DETAILS,4,2      ; @RX_FLAG_AMPDU_DETAILS
	.comm	_RX_FLAG_AMPDU_LAST_KNOWN,4,2   ; @RX_FLAG_AMPDU_LAST_KNOWN
	.comm	_RX_FLAG_AMPDU_IS_LAST,4,2      ; @RX_FLAG_AMPDU_IS_LAST
	.comm	_ATH9K_RX_DELIM_CRC_PRE,4,2     ; @ATH9K_RX_DELIM_CRC_PRE
	.comm	_RX_FLAG_AMPDU_DELIM_CRC_ERROR,4,2 ; @RX_FLAG_AMPDU_DELIM_CRC_ERROR
	.no_dead_strip	_ath9k_apply_ampdu_details
.subsections_via_symbols
