	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_sta_reorder_release
_ieee80211_sta_reorder_release:         ## @ieee80211_sta_reorder_release
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	48(%rsi), %rdi
	callq	_lockdep_assert_held
	movl	(%r12), %edi
	movl	32(%r12), %esi
	callq	_ieee80211_sn_sub
	movl	4(%r12), %ecx
	cltd
	idivl	%ecx
	movl	%edx, %ebx
	movq	24(%r12), %rsi
	movslq	%edx, %rax
	cmpq	$0, (%rsi,%rax,8)
	je	LBB0_10
## %bb.1:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movq	%r14, %rcx
	callq	_ieee80211_release_reorder_frame
	movl	(%r12), %edi
	movl	32(%r12), %esi
	callq	_ieee80211_sn_sub
	cltd
	idivl	4(%r12)
	movl	%edx, %ebx
	movq	24(%r12), %rax
	movslq	%edx, %rcx
	cmpq	$0, (%rax,%rcx,8)
	jne	LBB0_2
LBB0_3:
	cmpq	$0, 40(%r12)
	je	LBB0_20
## %bb.4:
	movl	(%r12), %edi
	movl	32(%r12), %esi
	callq	_ieee80211_sn_sub
	movl	4(%r12), %esi
	cltd
	idivl	%esi
	movl	%edx, %r13d
	leal	-1(%r13), %eax
	cltd
	idivl	%esi
	cmpl	%edx, %r13d
	je	LBB0_9
## %bb.5:
	movl	%edx, %ecx
	movq	24(%r12), %rdi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r13d, %rax
	cmpq	$0, (%rdi,%rax,8)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%r13d
	movl	%r13d, %eax
	cltd
	idivl	%esi
	movl	%edx, %r13d
	cmpl	%ecx, %edx
	jne	LBB0_6
## %bb.8:
	movl	%ecx, %r13d
LBB0_9:
	movq	16(%r12), %rax
	addq	$8, %r12
	movslq	%r13d, %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_HT_RX_REORDER_BUF_TIMEOUT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rcx), %rsi
	incq	%rsi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
LBB0_10:
	cmpq	$0, 40(%r12)
	je	LBB0_3
## %bb.11:
	leal	1(%rbx), %eax
	cltd
	idivl	%ecx
	cmpl	%ebx, %edx
	je	LBB0_3
## %bb.12:
	movl	%edx, %r13d
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movslq	%r13d, %rax
	cmpq	$0, (%rsi,%rax,8)
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	testl	%r14d, %r14d
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	16(%r12), %rcx
	movq	_HT_RX_REORDER_BUF_TIMEOUT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	addq	(%rcx,%rax,8), %rsi
	callq	_time_after
	testl	%eax, %eax
	je	LBB0_9
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_ht_dbg_ratelimited
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_ieee80211_release_reorder_frame
	addl	(%r12), %r14d
	movq	_IEEE80211_SN_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	movl	%r14d, (%r12)
	movl	4(%r12), %ecx
	xorl	%r14d, %r14d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_13 Depth=1
	incl	%r14d
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	incl	%r13d
	movl	%r13d, %eax
	cltd
	idivl	%ecx
	cmpl	%ebx, %edx
	je	LBB0_3
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%edx, %r13d
	movq	24(%r12), %rsi
	jmp	LBB0_13
LBB0_20:
	addq	$8, %r12
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_del_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_HT_RX_REORDER_BUF_TIMEOUT,8,3  ## @HT_RX_REORDER_BUF_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"release an RX reorder frame due to timeout on earlier frames\n"

	.comm	_IEEE80211_SN_MASK,4,2          ## @IEEE80211_SN_MASK
	.no_dead_strip	_ieee80211_sta_reorder_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_sta_reorder_release
_ieee80211_sta_reorder_release:         ; @ieee80211_sta_reorder_release
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	add	x0, x1, #48
	bl	_lockdep_assert_held
	ldr	w0, [x19]
	ldr	w1, [x19, #32]
	bl	_ieee80211_sn_sub
	ldr	w8, [x19, #4]
	sdiv	w9, w0, w8
	msub	w23, w9, w8, w0
	ldr	x9, [x19, #24]
	ldr	x10, [x9, w23, sxtw #3]
	cbz	x10, LBB0_9
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	mov	x3, x20
	bl	_ieee80211_release_reorder_frame
	ldr	w0, [x19]
	ldr	w1, [x19, #32]
	bl	_ieee80211_sn_sub
	ldr	w8, [x19, #4]
	sdiv	w9, w0, w8
	msub	w23, w9, w8, w0
	ldr	x8, [x19, #24]
	ldr	x8, [x8, w23, sxtw #3]
	cbnz	x8, LBB0_1
LBB0_2:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_18
; %bb.3:
	ldr	w0, [x19]
	ldr	w1, [x19, #32]
	bl	_ieee80211_sn_sub
	ldr	w8, [x19, #4]
	sdiv	w9, w0, w8
	msub	w22, w9, w8, w0
	sub	w9, w22, #1
	sdiv	w10, w9, w8
	msub	w9, w10, w8, w9
	cmp	w22, w9
	b.eq	LBB0_8
; %bb.4:
	ldr	x10, [x19, #24]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10, w22, sxtw #3]
	cbnz	x11, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w11, w22, #1
	sdiv	w12, w11, w8
	msub	w22, w12, w8, w11
	cmp	w22, w9
	b.ne	LBB0_5
; %bb.7:
	mov	x22, x9
LBB0_8:
	ldr	x8, [x19, #16]
	ldr	x8, [x8, w22, sxtw #3]
Lloh0:
	adrp	x9, _HT_RX_REORDER_BUF_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HT_RX_REORDER_BUF_TIMEOUT@GOTPAGEOFF]
	add	x0, x19, #8
Lloh2:
	ldr	x9, [x9]
	add	x8, x8, x9
	add	x1, x8, #1
	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
	b	_mod_timer
LBB0_9:
	ldr	x10, [x19, #40]
	cbz	x10, LBB0_2
; %bb.10:
	add	w10, w23, #1
	sdiv	w11, w10, w8
	msub	w22, w11, w8, w10
	cmp	w22, w23
	b.eq	LBB0_2
; %bb.11:
	mov	w27, #1
Lloh3:
	adrp	x25, _IEEE80211_SN_MASK@GOTPAGE
Lloh4:
	ldr	x25, [x25, _IEEE80211_SN_MASK@GOTPAGEOFF]
Lloh5:
	adrp	x26, _jiffies@GOTPAGE
Lloh6:
	ldr	x26, [x26, _jiffies@GOTPAGEOFF]
Lloh7:
	adrp	x24, l_.str@PAGE
Lloh8:
	add	x24, x24, l_.str@PAGEOFF
Lloh9:
	adrp	x28, _HT_RX_REORDER_BUF_TIMEOUT@GOTPAGE
Lloh10:
	ldr	x28, [x28, _HT_RX_REORDER_BUF_TIMEOUT@GOTPAGEOFF]
	ldr	x9, [x9, w22, sxtw #3]
	cbz	x9, LBB0_15
LBB0_12:
	cbz	w27, LBB0_14
; %bb.13:
	sxtw	x8, w22
	ldr	w0, [x26]
	ldr	x9, [x19, #16]
	ldr	x8, [x9, x8, lsl #3]
	ldr	x9, [x28]
	add	x1, x9, x8
	bl	_time_after
	cbz	w0, LBB0_8
LBB0_14:
	mov	x0, x21
	mov	x1, x24
	bl	_ht_dbg_ratelimited
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	mov	x3, x20
	bl	_ieee80211_release_reorder_frame
	ldr	w9, [x25]
	ldp	w10, w8, [x19]
	add	w10, w10, w27
	and	w9, w10, w9
	str	w9, [x19]
	mov	w27, #0
	b	LBB0_16
LBB0_15:
	add	w27, w27, #1
LBB0_16:
	add	w9, w22, #1
	sdiv	w10, w9, w8
	msub	w22, w10, w8, w9
	cmp	w22, w23
	b.eq	LBB0_2
; %bb.17:
	ldr	x9, [x19, #24]
	ldr	x9, [x9, w22, sxtw #3]
	cbnz	x9, LBB0_12
	b	LBB0_15
LBB0_18:
	add	x0, x19, #8
	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
	b	_del_timer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_HT_RX_REORDER_BUF_TIMEOUT,8,3  ; @HT_RX_REORDER_BUF_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"release an RX reorder frame due to timeout on earlier frames\n"

	.comm	_IEEE80211_SN_MASK,4,2          ; @IEEE80211_SN_MASK
	.no_dead_strip	_ieee80211_sta_reorder_release
.subsections_via_symbols
