	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_sta_manage_reorder_buf
_ieee80211_sta_manage_reorder_buf:      ## @ieee80211_sta_manage_reorder_buf
	.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
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	movl	%eax, %r15d
	movq	_IEEE80211_SCTL_SEQ@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	sarl	$4, %r15d
	leaq	24(%rbx), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	movl	(%rbx), %r12d
	movl	4(%rbx), %r14d
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_ieee80211_sn_less
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r13, %rdi
	callq	_dev_kfree_skb
	jmp	LBB0_11
LBB0_3:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	addl	%r12d, %r14d
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_ieee80211_sn_less
	testq	%rax, %rax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_5
## %bb.4:
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_ieee80211_sn_sub
	movl	%eax, %edi
	callq	_ieee80211_sn_inc
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_ieee80211_release_reorder_frames
LBB0_5:
	movl	8(%rbx), %esi
	movl	%r15d, %edi
	callq	_ieee80211_sn_sub
	cltd
	idivl	(%rbx)
	movq	40(%rbx), %rcx
	movslq	%edx, %rax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_kfree_skb
	jmp	LBB0_11
LBB0_7:
	movq	16(%rbx), %rdx
	cmpl	4(%rbx), %r15d
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	jne	LBB0_10
## %bb.8:
	testq	%rdx, %rdx
	jne	LBB0_10
## %bb.9:
	movl	%r15d, %edi
	callq	_ieee80211_sn_inc
	movl	%eax, 4(%rbx)
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_10:
	movq	%rsi, (%rcx,%rax,8)
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	32(%rbx), %rsi
	movl	%ecx, (%rsi,%rax,4)
	incq	%rdx
	movq	%rdx, 16(%rbx)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_ieee80211_sta_reorder_release
LBB0_11:
	movl	$1, %ebx
LBB0_12:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_SCTL_SEQ,4,2         ## @IEEE80211_SCTL_SEQ
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_ieee80211_sta_manage_reorder_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_sta_manage_reorder_buf
_ieee80211_sta_manage_reorder_buf:      ; @ieee80211_sta_manage_reorder_buf
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x3
	mov	x23, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x8, [x2]
	ldr	w0, [x8]
	bl	_le16_to_cpu
Lloh0:
	adrp	x8, _IEEE80211_SCTL_SEQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_SCTL_SEQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
	asr	w24, w8, #4
	add	x19, x20, #24
	mov	x0, x19
	bl	_spin_lock
	ldp	w25, w26, [x20]
	mov	x0, x24
	mov	x1, x26
	bl	_ieee80211_sn_less
	cbnz	x0, LBB0_4
; %bb.1:
	add	w1, w26, w25
	mov	x0, x24
	bl	_ieee80211_sn_less
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x24
	mov	x1, x25
	bl	_ieee80211_sn_sub
	bl	_ieee80211_sn_inc
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x21
	bl	_ieee80211_release_reorder_frames
LBB0_3:
	ldr	w1, [x20, #8]
	mov	x0, x24
	bl	_ieee80211_sn_sub
	ldr	w8, [x20]
	sdiv	w9, w0, w8
	msub	w9, w9, w8, w0
	ldr	x8, [x20, #40]
	ldr	x10, [x8, w9, sxtw #3]
	cbz	x10, LBB0_7
LBB0_4:
	mov	x0, x23
	bl	_dev_kfree_skb
LBB0_5:
	mov	w21, #1
LBB0_6:
	mov	x0, x19
	bl	_spin_unlock
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w11, [x20, #4]
	ldr	x10, [x20, #16]
	cmp	w24, w11
	ccmp	x10, #0, #0, eq
	b.eq	LBB0_9
; %bb.8:
	sxtw	x9, w9
	str	x23, [x8, x9, lsl #3]
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x11, [x20, #32]
	str	w8, [x11, x9, lsl #2]
	add	x8, x10, #1
	str	x8, [x20, #16]
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_ieee80211_sta_reorder_release
	b	LBB0_5
LBB0_9:
	mov	x0, x24
	bl	_ieee80211_sn_inc
	mov	w21, #0
	str	w0, [x20, #4]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_SCTL_SEQ,4,2         ; @IEEE80211_SCTL_SEQ
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_ieee80211_sta_manage_reorder_buf
.subsections_via_symbols
