	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_recv_packet            ## -- Begin function mwifiex_recv_packet
	.p2align	4, 0x90
_mwifiex_recv_packet:                   ## @mwifiex_recv_packet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %eax
	addl	%eax, 16(%rdi)
	incl	12(%rdi)
	callq	_GET_BSS_ROLE
	movq	_MWIFIEX_BSS_ROLE_UAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	32(%rbx), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mwifiex_get_sta_entry
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movl	(%rbx), %ecx
	addl	%ecx, 4(%rax)
	incl	(%rax)
LBB0_5:
	movl	8(%r14), %esi
	movl	%esi, 24(%rbx)
	movq	%rbx, %rdi
	callq	_eth_type_trans
	movl	%eax, 20(%rbx)
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_MWIFIEX_USB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	movq	_MWIFIEX_PCIE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
LBB0_7:
	movq	8(%rbx), %rax
	movq	_MWIFIEX_RX_DATA_BUF_SIZE@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	jle	LBB0_9
## %bb.8:
	addq	(%rbx), %rax
	movq	%rax, 8(%rbx)
LBB0_9:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_in_interrupt
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	callq	_netif_rx
	jmp	LBB0_12
LBB0_1:
	movl	$-1, %r14d
	jmp	LBB0_12
LBB0_11:
	callq	_netif_rx_ni
LBB0_12:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_BSS_ROLE_UAP,8,3       ## @MWIFIEX_BSS_ROLE_UAP
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_CHECKSUM_NONE,4,2              ## @CHECKSUM_NONE
	.comm	_MWIFIEX_USB,8,3                ## @MWIFIEX_USB
	.comm	_MWIFIEX_PCIE,8,3               ## @MWIFIEX_PCIE
	.comm	_MWIFIEX_RX_DATA_BUF_SIZE,8,3   ## @MWIFIEX_RX_DATA_BUF_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_recv_packet            ; -- Begin function mwifiex_recv_packet
	.p2align	2
_mwifiex_recv_packet:                   ; @mwifiex_recv_packet
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x1, LBB0_9
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x1]
	ldp	w10, w9, [x0, #12]
	add	w8, w9, w8
	add	w9, w10, #1
	stp	w9, w8, [x0, #12]
	bl	_GET_BSS_ROLE
Lloh0:
	adrp	x8, _MWIFIEX_BSS_ROLE_UAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MWIFIEX_BSS_ROLE_UAP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x19, #32]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mwifiex_get_sta_entry
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	ldr	w8, [x19]
	ldp	w10, w9, [x0]
	add	w8, w9, w8
	add	w9, w10, #1
	stp	w9, w8, [x0]
LBB0_4:
	ldr	w1, [x20, #8]
	str	w1, [x19, #24]
	mov	x0, x19
	bl	_eth_type_trans
Lloh6:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #16]
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _MWIFIEX_USB@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MWIFIEX_USB@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _MWIFIEX_PCIE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _MWIFIEX_PCIE@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_7
; %bb.5:
	ldr	x8, [x19, #8]
Lloh15:
	adrp	x9, _MWIFIEX_RX_DATA_BUF_SIZE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MWIFIEX_RX_DATA_BUF_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	subs	x8, x8, x9
	b.le	LBB0_7
; %bb.6:
	ldr	x9, [x19]
	add	x8, x8, x9
	str	x8, [x19, #8]
LBB0_7:
	bl	_in_interrupt
	cbz	x0, LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_netif_rx
	b	LBB0_11
LBB0_9:
	mov	w0, #-1
	b	LBB0_12
LBB0_10:
	mov	x0, x19
	bl	_netif_rx_ni
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_BSS_ROLE_UAP,8,3       ; @MWIFIEX_BSS_ROLE_UAP
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_CHECKSUM_NONE,4,2              ; @CHECKSUM_NONE
	.comm	_MWIFIEX_USB,8,3                ; @MWIFIEX_USB
	.comm	_MWIFIEX_PCIE,8,3               ; @MWIFIEX_PCIE
	.comm	_MWIFIEX_RX_DATA_BUF_SIZE,8,3   ; @MWIFIEX_RX_DATA_BUF_SIZE
.subsections_via_symbols
