	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_11n_dispatch_pkt_until_start_win
_mwifiex_11n_dispatch_pkt_until_start_win: ## @mwifiex_11n_dispatch_pkt_until_start_win
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-48(%rbp), %rdi
	callq	___skb_queue_head_init
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movl	(%rbx), %eax
	cmpl	%r14d, %eax
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	jge	LBB0_2
## %bb.1:
	subl	%eax, %r14d
	movl	4(%rbx), %esi
	movl	%r14d, %edi
	callq	_min
	jmp	LBB0_3
LBB0_2:
	movl	4(%rbx), %eax
LBB0_3:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_8
## %bb.4:
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	xorl	%r12d, %r12d
	leaq	-48(%rbp), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	cmpq	%r12, %r14
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r12,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	___skb_queue_tail
	movq	8(%rbx), %rax
	movq	$0, (%rax,%r12,8)
	jmp	LBB0_7
LBB0_8:
	movl	4(%rbx), %edx
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	subl	%eax, %edx
	testl	%edx, %edx
	movl	-56(%rbp), %r10d                ## 4-byte Reload
	jle	LBB0_15
## %bb.9:
	movslq	%eax, %r9
	movl	%edx, %r8d
	cmpl	$1, %edx
	jne	LBB0_11
## %bb.10:
	xorl	%edx, %edx
	jmp	LBB0_13
LBB0_11:
	movl	%r8d, %esi
	andl	$-2, %esi
	leaq	(,%r9,8), %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rcx
	leaq	(%rcx,%rdi), %rax
	movq	(%rax,%rdx,8), %rax
	movq	%rax, (%rcx,%rdx,8)
	movq	8(%rbx), %rax
	addq	%rdi, %rax
	movq	$0, (%rax,%rdx,8)
	movq	8(%rbx), %rax
	leaq	(%rax,%rdi), %rcx
	addq	$8, %rcx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rcx, 8(%rax,%rdx,8)
	movq	8(%rbx), %rax
	addq	%rdi, %rax
	movq	$0, 8(%rax,%rdx,8)
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_12
LBB0_13:
	testb	$1, %r8b
	je	LBB0_15
## %bb.14:
	movq	8(%rbx), %rax
	addq	%rdx, %r9
	movq	(%rax,%r9,8), %rcx
	movq	%rcx, (%rax,%rdx,8)
	movq	8(%rbx), %rax
	movq	$0, (%rax,%r9,8)
LBB0_15:
	movl	%r10d, (%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	leaq	-48(%rbp), %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	leaq	-48(%rbp), %rbx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_mwifiex_11n_dispatch_pkt
	movq	%rbx, %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	jne	LBB0_17
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mwifiex_11n_dispatch_pkt_until_start_win
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_11n_dispatch_pkt_until_start_win
_mwifiex_11n_dispatch_pkt_until_start_win: ; @mwifiex_11n_dispatch_pkt_until_start_win
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, sp, #8
	bl	___skb_queue_head_init
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	w8, [x21]
	cmp	w8, w20
	b.ge	LBB0_2
; %bb.1:
	sub	w0, w20, w8
	ldr	w1, [x21, #4]
	bl	_min
	mov	x22, x0
	cmp	w22, #1
	b.ge	LBB0_3
	b	LBB0_7
LBB0_2:
	ldr	w22, [x21, #4]
	cmp	w22, #1
	b.lt	LBB0_7
LBB0_3:
	mov	x23, #0
	mov	w8, w22
	lsl	x24, x8, #3
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #8
	cmp	x24, x23
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x1, [x8, x23]
	cbz	x1, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	bl	___skb_queue_tail
	ldr	x8, [x21, #8]
	str	xzr, [x8, x23]
	b	LBB0_4
LBB0_7:
	ldr	w8, [x21, #4]
	sub	w10, w8, w22
	cmp	w10, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x8, #0
	sbfiz	x9, x22, #3, #32
	lsl	x10, x10, #3
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x21, #8]
	add	x12, x11, x9
	ldr	x12, [x12, x8]
	str	x12, [x11, x8]
	ldr	x11, [x21, #8]
	add	x11, x11, x9
	str	xzr, [x11, x8]
	add	x8, x8, #8
	cmp	x10, x8
	b.ne	LBB0_9
LBB0_10:
	str	w20, [x21]
	mov	x0, x19
	bl	_spin_unlock_bh
	add	x0, sp, #8
	bl	___skb_dequeue
	cbz	x0, LBB0_13
; %bb.11:
	mov	x1, x0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_mwifiex_11n_dispatch_pkt
	add	x0, sp, #8
	bl	___skb_dequeue
	mov	x1, x0
	cbnz	x0, LBB0_12
LBB0_13:
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mwifiex_11n_dispatch_pkt_until_start_win
.subsections_via_symbols
