	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_del_rx_reorder_entry
_mwifiex_del_rx_reorder_entry:          ## @mwifiex_del_rx_reorder_entry
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	addq	$4, %rdi
	callq	_spin_lock_bh
	movq	(%r14), %rdi
	movl	$1, (%rdi)
	movq	16(%rdi), %r15
	addq	$4, %rdi
	callq	_spin_unlock_bh
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	movq	(%r14), %rax
	movl	8(%rax), %edi
	callq	_flush_workqueue
LBB0_3:
	movl	4(%rbx), %eax
	addl	(%rbx), %eax
	movq	_MAX_TID_VALUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	decl	%edx
	andl	%eax, %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mwifiex_11n_dispatch_pkt_until_start_win
	leaq	24(%rbx), %rdi
	callq	_del_timer_sync
	movl	$0, 20(%rbx)
	leaq	8(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	leaq	16(%rbx), %rdi
	callq	_list_del
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movq	8(%rbx), %rdi
	callq	_kfree
	movq	%rbx, %rdi
	callq	_kfree
	movq	(%r14), %rdi
	addq	$4, %rdi
	callq	_spin_lock_bh
	movq	(%r14), %rdi
	movl	$0, (%rdi)
	addq	$4, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
LBB0_4:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_TID_VALUE,4,2              ## @MAX_TID_VALUE
	.no_dead_strip	_mwifiex_del_rx_reorder_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_del_rx_reorder_entry
_mwifiex_del_rx_reorder_entry:          ; @mwifiex_del_rx_reorder_entry
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_4
; %bb.1:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	add	x0, x8, #4
	bl	_spin_lock_bh
	ldr	x8, [x19]
	mov	w9, #1
	str	w9, [x8]
	ldr	x21, [x8, #16]
	add	x0, x8, #4
	bl	_spin_unlock_bh
	cbz	x21, LBB0_3
; %bb.2:
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
	bl	_flush_workqueue
LBB0_3:
	ldp	w8, w9, [x20]
Lloh0:
	adrp	x10, _MAX_TID_VALUE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MAX_TID_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	sub	w10, w10, #1
	add	w8, w9, w8
	and	w2, w10, w8
	mov	x0, x19
	mov	x1, x20
	bl	_mwifiex_11n_dispatch_pkt_until_start_win
	add	x0, x20, #24
	bl	_del_timer_sync
	str	wzr, [x20, #20]
	add	x21, x19, #8
	mov	x0, x21
	bl	_spin_lock_bh
	add	x0, x20, #16
	bl	_list_del
	mov	x0, x21
	bl	_spin_unlock_bh
	ldr	x0, [x20, #8]
	bl	_kfree
	mov	x0, x20
	bl	_kfree
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_spin_lock_bh
	ldr	x0, [x19]
	str	wzr, [x0], #4
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock_bh
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_TID_VALUE,4,2              ; @MAX_TID_VALUE
	.no_dead_strip	_mwifiex_del_rx_reorder_entry
.subsections_via_symbols
