	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_usb_rx_complete
_mwifiex_usb_rx_complete:               ## @mwifiex_usb_rx_complete
	.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	8(%rdi), %r13
	movq	16(%r13), %r14
	testq	%r14, %r14
	je	LBB0_27
## %bb.1:
	movq	8(%r14), %r15
	testq	%r15, %r15
	je	LBB0_27
## %bb.2:
	movq	%rdi, %rbx
	movq	8(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r12d
	movq	(%r15), %rax
	xorl	%ecx, %ecx
	cmpq	(%r13), %rax
	sete	%cl
	leaq	(%r15,%rcx,4), %rdi
	addq	$8, %rdi
	callq	_atomic_dec
	movl	4(%rbx), %ecx
	testl	%r12d, %r12d
	je	LBB0_18
## %bb.3:
	testl	%ecx, %ecx
	jne	LBB0_6
## %bb.4:
	movq	_MWIFIEX_SURPRISE_REMOVED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r14), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movl	4(%rbx), %ecx
LBB0_6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	jmp	LBB0_7
LBB0_27:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_18:
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.19:
	movq	_MWIFIEX_IS_SUSPENDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r14), %r12
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %ecx
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	_MWIFIEX_SURPRISE_REMOVED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_set_bit
LBB0_21:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_kfree_skb_any              ## TAILCALL
LBB0_9:
	movl	%r12d, %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	subl	(%rbx), %esi
	jge	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_skb_trim
	jmp	LBB0_12
LBB0_11:
	movq	%rbx, %rdi
	callq	_skb_put
LBB0_12:
	movq	(%r13), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mwifiex_usb_recv
	movl	%eax, %ebx
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	movl	%r12d, %ecx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_16
## %bb.13:
	movq	%r14, %rdi
	callq	_mwifiex_queue_main_work
	movq	(%r15), %rax
	cmpq	(%r13), %rax
	jne	LBB0_14
	jmp	LBB0_26
LBB0_16:
	cmpl	$-1, %ebx
	jne	LBB0_7
## %bb.17:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
LBB0_7:
	movq	(%r15), %rax
	cmpq	(%r13), %rax
	je	LBB0_14
## %bb.8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_kfree_skb_any
LBB0_14:
	movq	(%r15), %rax
	cmpq	(%r13), %rax
	jne	LBB0_15
## %bb.22:
	movq	_MWIFIEX_RX_CMD_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jne	LBB0_24
	jmp	LBB0_28
LBB0_15:
	movq	_MWIFIEX_RX_DATA_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	je	LBB0_28
LBB0_24:
	movq	%r14, %rdi
	callq	_atomic_read
	movq	_HIGH_RX_PENDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_28
## %bb.25:
	movq	$0, 8(%r13)
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	%r13, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mwifiex_usb_submit_rx_urb      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mwifiex adapter or card structure is not valid\n"

	.comm	_MWIFIEX_SURPRISE_REMOVED,4,2   ## @MWIFIEX_SURPRISE_REMOVED
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"URB status is failed: %d\n"

	.comm	_INFO,4,2                       ## @INFO
L_.str.2:                               ## @.str.2
	.asciz	"info: recv_length=%d, status=%d\n"

	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
L_.str.3:                               ## @.str.3
	.asciz	"received data processing failed!\n"

	.comm	_MWIFIEX_IS_SUSPENDED,4,2       ## @MWIFIEX_IS_SUSPENDED
	.comm	_FATAL,4,2                      ## @FATAL
L_.str.4:                               ## @.str.4
	.asciz	"Card is removed: %d\n"

	.comm	_MWIFIEX_RX_CMD_BUF_SIZE,4,2    ## @MWIFIEX_RX_CMD_BUF_SIZE
	.comm	_MWIFIEX_RX_DATA_BUF_SIZE,4,2   ## @MWIFIEX_RX_DATA_BUF_SIZE
	.comm	_HIGH_RX_PENDING,8,3            ## @HIGH_RX_PENDING
	.no_dead_strip	_mwifiex_usb_rx_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_usb_rx_complete
_mwifiex_usb_rx_complete:               ; @mwifiex_usb_rx_complete
	.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
	ldr	x20, [x0, #8]
	ldr	x19, [x20, #16]
	cbz	x19, LBB0_8
; %bb.1:
	ldr	x24, [x19, #8]
	cbz	x24, LBB0_8
; %bb.2:
	mov	x22, x0
	mov	x8, x24
	ldr	x9, [x8], #12
	ldr	w23, [x0]
	ldp	x10, x21, [x20]
	add	x11, x24, #8
	cmp	x9, x10
	csel	x0, x8, x11, eq
	bl	_atomic_dec
	ldr	w8, [x22, #4]
	cbz	w23, LBB0_9
; %bb.3:
	cbnz	w8, LBB0_6
; %bb.4:
Lloh0:
	adrp	x8, _MWIFIEX_SURPRISE_REMOVED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MWIFIEX_SURPRISE_REMOVED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_test_bit
	cbz	x0, LBB0_13
; %bb.5:
	ldr	w8, [x22, #4]
LBB0_6:
Lloh3:
	adrp	x9, _ERROR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_mwifiex_dbg
	b	LBB0_19
LBB0_8:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	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
	b	_pr_err
LBB0_9:
	cbz	w8, LBB0_19
; %bb.10:
Lloh10:
	adrp	x8, _MWIFIEX_IS_SUSPENDED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MWIFIEX_IS_SUSPENDED@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	add	x20, x19, #4
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_12
; %bb.11:
Lloh13:
	adrp	x8, _FATAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w8, [x22, #4]
	str	x8, [sp]
Lloh16:
	adrp	x2, l_.str.4@PAGE
Lloh17:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
Lloh18:
	adrp	x8, _MWIFIEX_SURPRISE_REMOVED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MWIFIEX_SURPRISE_REMOVED@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
LBB0_12:
	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
	add	sp, sp, #80
	b	_dev_kfree_skb_any
LBB0_13:
	ldr	w8, [x21]
	mov	x0, x21
	subs	w1, w23, w8
	b.ge	LBB0_15
; %bb.14:
	mov	x1, x23
	bl	_skb_trim
	b	LBB0_16
LBB0_15:
	bl	_skb_put
LBB0_16:
	ldr	x2, [x20]
	mov	x0, x19
	mov	x1, x21
	bl	_mwifiex_usb_recv
	mov	x22, x0
Lloh21:
	adrp	x8, _INFO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	stp	x23, x22, [sp]
Lloh24:
	adrp	x2, l_.str.2@PAGE
Lloh25:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
Lloh26:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmn	w22, w8
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x19
	bl	_mwifiex_queue_main_work
	ldr	x8, [x24]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_21
	b	LBB0_24
LBB0_18:
	cmn	w22, #1
	b.eq	LBB0_26
LBB0_19:
	ldr	x8, [x24]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_21
; %bb.20:
	mov	x0, x21
	bl	_dev_kfree_skb_any
LBB0_21:
	ldr	x8, [x24]
Lloh29:
	adrp	x9, _MWIFIEX_RX_CMD_BUF_SIZE@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MWIFIEX_RX_CMD_BUF_SIZE@GOTPAGEOFF]
	ldr	x10, [x20]
Lloh31:
	adrp	x11, _MWIFIEX_RX_DATA_BUF_SIZE@GOTPAGE
Lloh32:
	ldr	x11, [x11, _MWIFIEX_RX_DATA_BUF_SIZE@GOTPAGEOFF]
	cmp	x8, x10
	csel	x8, x9, x11, eq
	ldr	w21, [x8]
	b.eq	LBB0_25
; %bb.22:
	mov	x0, x19
	bl	_atomic_read
Lloh33:
	adrp	x8, _HIGH_RX_PENDING@GOTPAGE
Lloh34:
	ldr	x8, [x8, _HIGH_RX_PENDING@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_25
; %bb.23:
	str	xzr, [x20, #8]
LBB0_24:
	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
LBB0_25:
	mov	x0, x20
	mov	x1, 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
	add	sp, sp, #80
	b	_mwifiex_usb_submit_rx_urb
LBB0_26:
Lloh36:
	adrp	x8, _ERROR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
Lloh39:
	adrp	x2, l_.str.3@PAGE
Lloh40:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mwifiex adapter or card structure is not valid\n"

	.comm	_MWIFIEX_SURPRISE_REMOVED,4,2   ; @MWIFIEX_SURPRISE_REMOVED
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"URB status is failed: %d\n"

	.comm	_INFO,4,2                       ; @INFO
l_.str.2:                               ; @.str.2
	.asciz	"info: recv_length=%d, status=%d\n"

	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
l_.str.3:                               ; @.str.3
	.asciz	"received data processing failed!\n"

	.comm	_MWIFIEX_IS_SUSPENDED,4,2       ; @MWIFIEX_IS_SUSPENDED
	.comm	_FATAL,4,2                      ; @FATAL
l_.str.4:                               ; @.str.4
	.asciz	"Card is removed: %d\n"

	.comm	_MWIFIEX_RX_CMD_BUF_SIZE,4,2    ; @MWIFIEX_RX_CMD_BUF_SIZE
	.comm	_MWIFIEX_RX_DATA_BUF_SIZE,4,2   ; @MWIFIEX_RX_DATA_BUF_SIZE
	.comm	_HIGH_RX_PENDING,8,3            ; @HIGH_RX_PENDING
	.no_dead_strip	_mwifiex_usb_rx_complete
.subsections_via_symbols
