	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_process_rx
_mwifiex_process_rx:                    ## @mwifiex_process_rx
	.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	%rdi, %r13
	leaq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	cmpl	$0, (%r13)
	jne	LBB0_17
## %bb.1:
	cmpq	$0, 48(%r13)
	jne	LBB0_17
## %bb.2:
	movl	$1, (%r13)
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	leaq	44(%r13), %r15
	movq	%r15, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_16
## %bb.3:
	movq	%rax, %rbx
	leaq	40(%r13), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_mwifiex_handle_rx_packet
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_skb_dequeue
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_16
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_atomic_dec
	cmpl	$0, 4(%r13)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %rax
	movq	_MWIFIEX_USB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_atomic_read
	movq	_LOW_RX_PENDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	32(%r13), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$0, 4(%r13)
	movq	%r13, %rdi
	callq	_mwifiex_queue_main_work
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_MWIFIEX_SKB_RXCB
	movq	(%rax), %rax
	movq	_MWIFIEX_TYPE_AGGR_DATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r13), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	*%rax
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_15
LBB0_16:
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movl	$0, (%r13)
LBB0_17:
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_USB,8,3                ## @MWIFIEX_USB
	.comm	_LOW_RX_PENDING,8,3             ## @LOW_RX_PENDING
	.comm	_MWIFIEX_TYPE_AGGR_DATA,8,3     ## @MWIFIEX_TYPE_AGGR_DATA
	.no_dead_strip	_mwifiex_process_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_process_rx
_mwifiex_process_rx:                    ; @mwifiex_process_rx
	.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	x20, x0
	add	x19, x0, #16
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	w8, [x20]
	cbnz	w8, LBB0_17
; %bb.1:
	ldr	x8, [x20, #48]
	cbnz	x8, LBB0_17
; %bb.2:
	mov	w8, #1
	mov	x21, x20
	str	w8, [x21], #44
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	x0, x21
	bl	_skb_dequeue
	cbz	x0, LBB0_16
; %bb.3:
	mov	x23, x0
	add	x22, x20, #40
Lloh0:
	adrp	x24, _MWIFIEX_USB@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MWIFIEX_USB@GOTPAGEOFF]
Lloh2:
	adrp	x25, _LOW_RX_PENDING@GOTPAGE
Lloh3:
	ldr	x25, [x25, _LOW_RX_PENDING@GOTPAGEOFF]
Lloh4:
	adrp	x26, _MWIFIEX_TYPE_AGGR_DATA@GOTPAGE
Lloh5:
	ldr	x26, [x26, _MWIFIEX_TYPE_AGGR_DATA@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_mwifiex_handle_rx_packet
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_skb_dequeue
	mov	x23, x0
	cbz	x0, LBB0_16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_atomic_dec
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_12
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_atomic_read
	ldr	x8, [x25]
	cmp	x0, x8
	b.ge	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	blr	x8
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	str	wzr, [x20, #4]
	mov	x0, x20
	bl	_mwifiex_queue_main_work
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_MWIFIEX_SKB_RXCB
	ldr	x8, [x0]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x23
	blr	x8
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_dev_kfree_skb_any
	b	LBB0_5
LBB0_16:
	mov	x0, x19
	bl	_spin_lock_bh
	str	wzr, [x20]
LBB0_17:
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_USB,8,3                ; @MWIFIEX_USB
	.comm	_LOW_RX_PENDING,8,3             ; @LOW_RX_PENDING
	.comm	_MWIFIEX_TYPE_AGGR_DATA,8,3     ; @MWIFIEX_TYPE_AGGR_DATA
	.no_dead_strip	_mwifiex_process_rx
.subsections_via_symbols
