	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_cmn_rx_skb_postprocess   ## -- Begin function ath9k_cmn_rx_skb_postprocess
	.p2align	4, 0x90
_ath9k_cmn_rx_skb_postprocess:          ## @ath9k_cmn_rx_skb_postprocess
	.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	%r8d, %r13d
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rbx
	movq	%rsi, %rdi
	callq	_ieee80211_get_hdrlen_from_skb
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r12d
	movl	%r12d, %edi
	callq	_ieee80211_hdrlen
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %r15d
	andl	$3, %r15d
	je	LBB0_3
## %bb.1:
	leal	(%r15,%rax), %ecx
	movq	_FCS_LEN@GOTPCREL(%rip), %rdx
	addl	(%rdx), %ecx
	cmpl	%ecx, 8(%r14)
	jl	LBB0_3
## %bb.2:
	movq	(%r14), %rsi
	leal	(%rsi,%r15,4), %edi
	movl	%eax, %edx
	callq	_memmove
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_skb_pull
LBB0_3:
	testl	%r13d, %r13d
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_6
## %bb.4:
	movq	_ATH9K_RXKEYIX_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movl	%r12d, %edi
	callq	_ieee80211_has_protected
	testq	%rax, %rax
	jne	LBB0_10
LBB0_6:
	movl	%r12d, %edi
	callq	_ieee80211_has_protected
	testl	%r13d, %r13d
	jne	LBB0_11
## %bb.7:
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	$4, %eax
	cmpl	%eax, 8(%r14)
	jl	LBB0_11
## %bb.9:
	movq	(%r14), %rax
	movslq	-48(%rbp), %rcx                 ## 4-byte Folded Reload
	movl	12(%rax,%rcx,4), %edi
	sarl	$6, %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movq	_RX_FLAG_DECRYPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_11:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.12:
	movq	_RX_FLAG_DECRYPTED@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, (%rbx)
	je	LBB0_15
## %bb.13:
	movl	%r12d, %edi
	callq	_ieee80211_is_mgmt
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FCS_LEN,4,2                    ## @FCS_LEN
	.comm	_ATH9K_RXKEYIX_INVALID,4,2      ## @ATH9K_RXKEYIX_INVALID
	.comm	_RX_FLAG_DECRYPTED,4,2          ## @RX_FLAG_DECRYPTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_cmn_rx_skb_postprocess   ; -- Begin function ath9k_cmn_rx_skb_postprocess
	.p2align	2
_ath9k_cmn_rx_skb_postprocess:          ; @ath9k_cmn_rx_skb_postprocess
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x24, x4
	mov	x19, x3
	mov	x25, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x27, [x0, #8]
	ldr	x20, [x1]
	mov	x0, x1
	bl	_ieee80211_get_hdrlen_from_skb
	mov	x23, x0
	ldr	w20, [x20]
	mov	x0, x20
	bl	_ieee80211_hdrlen
	ands	w26, w0, #0x3
	b.eq	LBB0_3
; %bb.1:
	mov	x2, x0
	ldr	w8, [x22, #8]
Lloh0:
	adrp	x9, _FCS_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FCS_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w10, w26, w0
	add	w9, w10, w9
	cmp	w8, w9
	b.lt	LBB0_3
; %bb.2:
	ldr	x1, [x22]
	add	w0, w1, w26, lsl #2
	bl	_memmove
	mov	x0, x22
	mov	x1, x26
	bl	_skb_pull
LBB0_3:
Lloh3:
	adrp	x26, _RX_FLAG_DECRYPTED@GOTPAGE
Lloh4:
	ldr	x26, [x26, _RX_FLAG_DECRYPTED@GOTPAGEOFF]
	cbnz	w24, LBB0_6
; %bb.4:
	ldr	w8, [x25]
Lloh5:
	adrp	x9, _ATH9K_RXKEYIX_INVALID@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ATH9K_RXKEYIX_INVALID@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_ieee80211_has_protected
	cbnz	x0, LBB0_10
LBB0_6:
	mov	x0, x20
	bl	_ieee80211_has_protected
	cbnz	w24, LBB0_11
; %bb.7:
	cbz	x0, LBB0_11
; %bb.8:
	ldr	w8, [x22, #8]
	add	w9, w23, #4
	cmp	w8, w9
	b.lt	LBB0_11
; %bb.9:
	ldr	x8, [x22]
	add	w9, w23, #3
	ldr	w8, [x8, w9, sxtw #2]
	asr	w0, w8, #6
	ldr	w1, [x21]
	bl	_test_bit
	cbz	x0, LBB0_11
LBB0_10:
	ldr	w8, [x26]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_11:
	ldr	x8, [x27]
	cbz	x8, LBB0_15
; %bb.12:
	ldr	w8, [x19]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.13:
	mov	x0, x20
	bl	_ieee80211_is_mgmt
	cbz	x0, LBB0_15
; %bb.14:
	ldr	w8, [x26]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
LBB0_15:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FCS_LEN,4,2                    ; @FCS_LEN
	.comm	_ATH9K_RXKEYIX_INVALID,4,2      ; @ATH9K_RXKEYIX_INVALID
	.comm	_RX_FLAG_DECRYPTED,4,2          ; @RX_FLAG_DECRYPTED
.subsections_via_symbols
