	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_cmn_rx_accept            ## -- Begin function ath9k_cmn_rx_accept
	.p2align	4, 0x90
_ath9k_cmn_rx_accept:                   ## @ath9k_cmn_rx_accept
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	4(%rsi), %edi
	movl	8(%rsi), %r14d
	callq	_is_multicast_ether_addr
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rdi
	movq	_ATH9K_RXKEYIX_INVALID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_2
## %bb.1:
	xorl	%r13d, %r13d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_10
LBB0_2:
	movl	4(%r15), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movl	%r14d, %edi
	callq	_ieee80211_is_data
	movb	$1, %r13b
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movl	%r14d, %edi
	callq	_ieee80211_has_protected
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_ATH9K_RXERR_DECRYPT@GOTPCREL(%rip), %rax
	movq	_ATH9K_RXERR_CRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_ATH9K_RXERR_MIC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_ATH9K_RXERR_KEYMISS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%ecx, 8(%rbx)
	sete	%al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_9
LBB0_7:
	xorl	%r13d, %r13d
LBB0_8:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_9:
	movq	_ATH9K_RXKEYIX_INVALID@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rbx), %rdi
	cmpq	(%rax), %rdi
	je	LBB0_12
## %bb.11:
	movl	(%r15), %esi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_13
LBB0_12:
	movq	_ATH9K_RXERR_KEYMISS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%rbx)
LBB0_13:
	xorl	%r15d, %r15d
	testb	%r13b, %r13b
	je	LBB0_18
## %bb.14:
	movl	%r14d, %edi
	callq	_ieee80211_is_ctl
	testl	%eax, %eax
	jne	LBB0_18
## %bb.15:
	movl	%r14d, %edi
	callq	_ieee80211_has_morefrags
	testl	%eax, %eax
	jne	LBB0_18
## %bb.16:
	movl	(%r12), %edi
	callq	_le16_to_cpu
	movq	_IEEE80211_SCTL_FRAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_18
## %bb.17:
	movq	_ATH9K_RXERR_MIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r15d, %r15d
	testl	%eax, 8(%rbx)
	setne	%r15b
LBB0_18:
	movl	8(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_28
## %bb.19:
	movq	_ATH9K_RXERR_CRC@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_21
## %bb.20:
	movq	_RX_FLAG_FAILED_FCS_CRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	orl	%ecx, (%rsi)
	xorl	%r15d, %r15d
LBB0_21:
	movq	_ATH9K_RXERR_DECRYPT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ecx
	testl	%edx, %ecx
	je	LBB0_23
LBB0_22:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	$1, (%rcx)
	movl	(%rsi), %ecx
	xorl	%r15d, %r15d
	jmp	LBB0_24
LBB0_23:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_35
LBB0_24:
	movq	_ATH9K_RXERR_MIC@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_ATH9K_RXERR_KEYMISS@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	cmpq	$0, (%rdx)
	je	LBB0_27
## %bb.25:
	movq	_FIF_FCSFAIL@GOTPCREL(%rip), %rdx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, (%rdx)
	je	LBB0_27
## %bb.26:
	orl	(%rax), %ecx
LBB0_27:
	notl	%ecx
	xorl	%eax, %eax
	testl	%ecx, 8(%rbx)
	jne	LBB0_34
LBB0_28:
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_30
## %bb.29:
	movq	_RX_FLAG_MMIC_STRIPPED@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_30:
	movl	$1, %eax
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_34
## %bb.31:
	testl	%r15d, %r15d
	je	LBB0_34
## %bb.32:
	movq	_RX_FLAG_MMIC_ERROR@GOTPCREL(%rip), %rax
LBB0_33:
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	movl	$1, %eax
LBB0_34:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	movq	_ATH9K_RXERR_KEYMISS@GOTPCREL(%rip), %rdi
	testl	%edx, (%rdi)
	jne	LBB0_22
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH9K_RXKEYIX_INVALID,8,3      ## @ATH9K_RXKEYIX_INVALID
	.comm	_ATH9K_RXERR_DECRYPT,4,2        ## @ATH9K_RXERR_DECRYPT
	.comm	_ATH9K_RXERR_CRC,4,2            ## @ATH9K_RXERR_CRC
	.comm	_ATH9K_RXERR_MIC,4,2            ## @ATH9K_RXERR_MIC
	.comm	_ATH9K_RXERR_KEYMISS,4,2        ## @ATH9K_RXERR_KEYMISS
	.comm	_IEEE80211_SCTL_FRAG,4,2        ## @IEEE80211_SCTL_FRAG
	.comm	_RX_FLAG_FAILED_FCS_CRC,4,2     ## @RX_FLAG_FAILED_FCS_CRC
	.comm	_FIF_FCSFAIL,4,2                ## @FIF_FCSFAIL
	.comm	_RX_FLAG_MMIC_STRIPPED,4,2      ## @RX_FLAG_MMIC_STRIPPED
	.comm	_RX_FLAG_MMIC_ERROR,4,2         ## @RX_FLAG_MMIC_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_cmn_rx_accept            ; -- Begin function ath9k_cmn_rx_accept
	.p2align	2
_ath9k_cmn_rx_accept:                   ; @ath9k_cmn_rx_accept
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x5
	mov	x23, x4
	mov	x21, x3
	mov	x19, x2
	mov	x24, x1
	mov	x26, x0
	ldr	x27, [x0, #8]
	ldp	w0, w25, [x1, #4]
	bl	_is_multicast_ether_addr
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	ldr	x0, [x21]
Lloh0:
	adrp	x22, _ATH9K_RXKEYIX_INVALID@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ATH9K_RXKEYIX_INVALID@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	str	w20, [sp, #8]                   ; 4-byte Folded Spill
	b.eq	LBB0_5
; %bb.1:
	ldr	w1, [x26, #4]
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x25
	bl	_ieee80211_is_data
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x25
	bl	_ieee80211_has_protected
	cbz	x0, LBB0_6
; %bb.4:
Lloh2:
	adrp	x8, _ATH9K_RXERR_DECRYPT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATH9K_RXERR_DECRYPT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _ATH9K_RXERR_CRC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ATH9K_RXERR_CRC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _ATH9K_RXERR_MIC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ATH9K_RXERR_MIC@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh11:
	adrp	x9, _ATH9K_RXERR_KEYMISS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ATH9K_RXERR_KEYMISS@GOTPAGEOFF]
	ldr	w10, [x21, #8]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w10
	cset	w28, eq
	b	LBB0_7
LBB0_5:
	mov	w20, #0
	mov	w28, #0
	b	LBB0_8
LBB0_6:
	mov	w28, #0
LBB0_7:
	mov	w20, #1
LBB0_8:
	ldr	x0, [x21]
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_11
; %bb.9:
	ldr	w1, [x26]
	bl	_test_bit
	cbz	x0, LBB0_11
; %bb.10:
	cbz	w20, LBB0_15
	b	LBB0_12
LBB0_11:
Lloh14:
	adrp	x8, _ATH9K_RXERR_KEYMISS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ATH9K_RXERR_KEYMISS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x21, #8]
	bic	w8, w9, w8
	str	w8, [x21, #8]
	cbz	w20, LBB0_15
LBB0_12:
	mov	x0, x25
	bl	_ieee80211_is_ctl
	cbnz	w0, LBB0_15
; %bb.13:
	mov	x0, x25
	bl	_ieee80211_has_morefrags
	cbnz	w0, LBB0_15
; %bb.14:
	ldr	w0, [x24]
	bl	_le16_to_cpu
Lloh17:
	adrp	x8, _IEEE80211_SCTL_FRAG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IEEE80211_SCTL_FRAG@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_27
LBB0_15:
	mov	w8, #0
	ldr	w10, [x21, #8]
	cbz	w10, LBB0_28
LBB0_16:
Lloh20:
	adrp	x9, _ATH9K_RXERR_CRC@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ATH9K_RXERR_CRC@GOTPAGEOFF]
	ldr	w11, [x9]
	tst	w11, w10
	b.eq	LBB0_18
; %bb.17:
	mov	w8, #0
Lloh22:
	adrp	x11, _RX_FLAG_FAILED_FCS_CRC@GOTPAGE
Lloh23:
	ldr	x11, [x11, _RX_FLAG_FAILED_FCS_CRC@GOTPAGEOFF]
Lloh24:
	ldr	w11, [x11]
	ldr	w12, [x19]
	orr	w11, w12, w11
	str	w11, [x19]
LBB0_18:
Lloh25:
	adrp	x12, _ATH9K_RXERR_DECRYPT@GOTPAGE
Lloh26:
	ldr	x12, [x12, _ATH9K_RXERR_DECRYPT@GOTPAGEOFF]
	ldr	w11, [x12]
	tst	w11, w10
	b.eq	LBB0_20
LBB0_19:
	mov	w8, #0
	mov	w10, #1
	str	w10, [x23]
	ldr	w11, [x12]
	b	LBB0_21
LBB0_20:
	ldr	w13, [sp, #12]                  ; 4-byte Folded Reload
	cbz	w13, LBB0_26
LBB0_21:
Lloh27:
	adrp	x10, _ATH9K_RXERR_MIC@GOTPAGE
Lloh28:
	ldr	x10, [x10, _ATH9K_RXERR_MIC@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	orr	w10, w10, w11
Lloh30:
	adrp	x11, _ATH9K_RXERR_KEYMISS@GOTPAGE
Lloh31:
	ldr	x11, [x11, _ATH9K_RXERR_KEYMISS@GOTPAGEOFF]
Lloh32:
	ldr	w11, [x11]
	orr	w10, w10, w11
	ldr	x11, [x27]
	cbz	x11, LBB0_24
; %bb.22:
Lloh33:
	adrp	x11, _FIF_FCSFAIL@GOTPAGE
Lloh34:
	ldr	x11, [x11, _FIF_FCSFAIL@GOTPAGEOFF]
Lloh35:
	ldr	w11, [x11]
	ldr	w12, [sp, #8]                   ; 4-byte Folded Reload
	tst	w11, w12
	b.eq	LBB0_24
; %bb.23:
	ldr	w9, [x9]
	orr	w10, w9, w10
LBB0_24:
	ldr	w9, [x21, #8]
	bics	wzr, w9, w10
	b.eq	LBB0_28
; %bb.25:
	mov	w0, #0
	b	LBB0_34
LBB0_26:
Lloh36:
	adrp	x13, _ATH9K_RXERR_KEYMISS@GOTPAGE
Lloh37:
	ldr	x13, [x13, _ATH9K_RXERR_KEYMISS@GOTPAGEOFF]
Lloh38:
	ldr	w13, [x13]
	tst	w13, w10
	b.ne	LBB0_19
	b	LBB0_21
LBB0_27:
	ldr	w8, [x21, #8]
Lloh39:
	adrp	x9, _ATH9K_RXERR_MIC@GOTPAGE
Lloh40:
	ldr	x9, [x9, _ATH9K_RXERR_MIC@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	ldr	w10, [x21, #8]
	cbnz	w10, LBB0_16
LBB0_28:
	tbz	w28, #0, LBB0_30
; %bb.29:
Lloh42:
	adrp	x8, _RX_FLAG_MMIC_STRIPPED@GOTPAGE
Lloh43:
	ldr	x8, [x8, _RX_FLAG_MMIC_STRIPPED@GOTPAGEOFF]
	b	LBB0_33
LBB0_30:
	mov	w0, #1
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w9, LBB0_34
; %bb.31:
	cbz	w8, LBB0_34
; %bb.32:
Lloh44:
	adrp	x8, _RX_FLAG_MMIC_ERROR@GOTPAGE
Lloh45:
	ldr	x8, [x8, _RX_FLAG_MMIC_ERROR@GOTPAGEOFF]
LBB0_33:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	mov	w0, #1
LBB0_34:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH9K_RXKEYIX_INVALID,8,3      ; @ATH9K_RXKEYIX_INVALID
	.comm	_ATH9K_RXERR_DECRYPT,4,2        ; @ATH9K_RXERR_DECRYPT
	.comm	_ATH9K_RXERR_CRC,4,2            ; @ATH9K_RXERR_CRC
	.comm	_ATH9K_RXERR_MIC,4,2            ; @ATH9K_RXERR_MIC
	.comm	_ATH9K_RXERR_KEYMISS,4,2        ; @ATH9K_RXERR_KEYMISS
	.comm	_IEEE80211_SCTL_FRAG,4,2        ; @IEEE80211_SCTL_FRAG
	.comm	_RX_FLAG_FAILED_FCS_CRC,4,2     ; @RX_FLAG_FAILED_FCS_CRC
	.comm	_FIF_FCSFAIL,4,2                ; @FIF_FCSFAIL
	.comm	_RX_FLAG_MMIC_STRIPPED,4,2      ; @RX_FLAG_MMIC_STRIPPED
	.comm	_RX_FLAG_MMIC_ERROR,4,2         ; @RX_FLAG_MMIC_ERROR
.subsections_via_symbols
