	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_uap_recv_packet        ## -- Begin function mwifiex_uap_recv_packet
	.p2align	4, 0x90
_mwifiex_uap_recv_packet:               ## @mwifiex_uap_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	%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
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	16(%rdi), %r13
	movq	32(%rsi), %r14
	movl	4(%r14), %esi
	callq	_mwifiex_get_sta_entry
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movl	(%r12), %ecx
	addl	%ecx, 4(%rax)
	incl	(%rax)
LBB0_4:
	movl	(%r14), %edi
	callq	_is_multicast_ether_addr
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_mwifiex_get_sta_entry
	testq	%rax, %rax
	je	LBB0_14
LBB0_6:
	movq	%r12, %rdi
	callq	_skb_headroom
	movq	_MWIFIEX_MIN_DATA_HEADER_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	%rsi, %rax
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	jge	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	callq	_skb_realloc_headroom
	jmp	LBB0_9
LBB0_1:
	movl	$-1, %ebx
	jmp	LBB0_21
LBB0_8:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_skb_copy
LBB0_9:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	%r13, %rdi
	callq	_MWIFIEX_SKB_TXCB
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	8(%r15), %eax
	movl	%eax, 8(%rbx)
	movl	4(%r15), %eax
	movl	%eax, 4(%rbx)
	movq	_MWIFIEX_BUF_FLAG_BRIDGED_PKT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	%r13, %rdi
	callq	___net_timestamp
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_mwifiex_wmm_add_buf_txqueue
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	leaq	12(%r13), %rdi
	callq	_atomic_inc
	leaq	8(%r13), %rbx
	movq	%rbx, %rdi
	callq	_atomic_inc
	movq	%rbx, %rdi
	callq	_atomic_read
	movq	_MWIFIEX_BRIDGED_PKTS_THR_HIGH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_13
## %bb.11:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_mwifiex_dbg
	movq	%r15, %rdi
	callq	_mwifiex_uap_cleanup_tx_queues
	jmp	LBB0_13
LBB0_12:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_mwifiex_dbg
LBB0_13:
	movq	%r13, %rdi
	callq	_mwifiex_queue_main_work
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_mwifiex_get_sta_entry
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_21
LBB0_14:
	movl	(%r15), %esi
	movl	%esi, 24(%r12)
	movq	%r12, %rdi
	callq	_eth_type_trans
	movl	%eax, 20(%r12)
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	(%r13), %rax
	movq	_MWIFIEX_USB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.15:
	movq	_MWIFIEX_PCIE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
LBB0_16:
	movq	8(%r12), %rax
	movq	_MWIFIEX_RX_DATA_BUF_SIZE@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	jle	LBB0_18
## %bb.17:
	addq	(%r12), %rax
	movq	%rax, 8(%r12)
LBB0_18:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_in_interrupt
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	callq	_netif_rx
	jmp	LBB0_21
LBB0_20:
	callq	_netif_rx_ni
LBB0_21:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_MWIFIEX_MIN_DATA_HEADER_LEN,8,3 ## @MWIFIEX_MIN_DATA_HEADER_LEN
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_MWIFIEX_BUF_FLAG_BRIDGED_PKT,4,2 ## @MWIFIEX_BUF_FLAG_BRIDGED_PKT
	.comm	_MWIFIEX_BRIDGED_PKTS_THR_HIGH,8,3 ## @MWIFIEX_BRIDGED_PKTS_THR_HIGH
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Tx: Bridge packet limit reached. Drop packet!\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to allocate skb_uap"

	.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_uap_recv_packet        ; -- Begin function mwifiex_uap_recv_packet
	.p2align	2
_mwifiex_uap_recv_packet:               ; @mwifiex_uap_recv_packet
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x1, LBB0_7
; %bb.1:
	mov	x19, x1
	mov	x21, x0
	ldr	x20, [x0, #16]
	ldr	x24, [x1, #32]
	ldr	w1, [x24, #4]
	bl	_mwifiex_get_sta_entry
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	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_3:
	ldr	w0, [x24]
	bl	_is_multicast_ether_addr
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x24]
	mov	x0, x21
	bl	_mwifiex_get_sta_entry
	cbz	x0, LBB0_14
LBB0_5:
	mov	x0, x19
	bl	_skb_headroom
Lloh3:
	adrp	x8, _MWIFIEX_MIN_DATA_HEADER_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MWIFIEX_MIN_DATA_HEADER_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	cmp	x0, x1
	b.ge	LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_skb_realloc_headroom
	b	LBB0_9
LBB0_7:
	mov	w0, #-1
	b	LBB0_21
LBB0_8:
Lloh6:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skb_copy
LBB0_9:
	mov	x22, x0
	bl	_likely
	cbz	x0, LBB0_12
; %bb.10:
	mov	x0, x22
	bl	_MWIFIEX_SKB_TXCB
	mov	x23, x0
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldur	d0, [x21, #4]
	stur	d0, [x23, #4]
Lloh9:
	adrp	x8, _MWIFIEX_BUF_FLAG_BRIDGED_PKT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MWIFIEX_BUF_FLAG_BRIDGED_PKT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x23]
	orr	w8, w9, w8
	str	w8, [x23]
	mov	x0, x22
	bl	___net_timestamp
	mov	x0, x21
	mov	x1, x22
	bl	_mwifiex_wmm_add_buf_txqueue
	add	x0, x20, #12
	bl	_atomic_inc
	add	x22, x20, #8
	mov	x0, x22
	bl	_atomic_inc
	mov	x0, x22
	bl	_atomic_read
Lloh12:
	adrp	x8, _MWIFIEX_BRIDGED_PKTS_THR_HIGH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MWIFIEX_BRIDGED_PKTS_THR_HIGH@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_13
; %bb.11:
Lloh15:
	adrp	x8, _ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_mwifiex_dbg
	mov	x0, x21
	bl	_mwifiex_uap_cleanup_tx_queues
	b	LBB0_13
LBB0_12:
Lloh20:
	adrp	x8, _ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x2, l_.str.1@PAGE
Lloh24:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_mwifiex_dbg
LBB0_13:
	mov	x0, x20
	bl	_mwifiex_queue_main_work
	ldr	w1, [x24]
	mov	x0, x21
	bl	_mwifiex_get_sta_entry
	cbnz	x0, LBB0_20
LBB0_14:
	ldr	w1, [x21]
	str	w1, [x19, #24]
	mov	x0, x19
	bl	_eth_type_trans
Lloh25:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #16]
	ldr	x8, [x20]
Lloh28:
	adrp	x9, _MWIFIEX_USB@GOTPAGE
Lloh29:
	ldr	x9, [x9, _MWIFIEX_USB@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
Lloh31:
	adrp	x10, _MWIFIEX_PCIE@GOTPAGE
Lloh32:
	ldr	x10, [x10, _MWIFIEX_PCIE@GOTPAGEOFF]
Lloh33:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_17
; %bb.15:
	ldr	x8, [x19, #8]
Lloh34:
	adrp	x9, _MWIFIEX_RX_DATA_BUF_SIZE@GOTPAGE
Lloh35:
	ldr	x9, [x9, _MWIFIEX_RX_DATA_BUF_SIZE@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	subs	x8, x8, x9
	b.le	LBB0_17
; %bb.16:
	ldr	x9, [x19]
	add	x8, x8, x9
	str	x8, [x19, #8]
LBB0_17:
	bl	_in_interrupt
	cbz	x0, LBB0_19
; %bb.18:
	mov	x0, x19
	bl	_netif_rx
	b	LBB0_20
LBB0_19:
	mov	x0, x19
	bl	_netif_rx_ni
LBB0_20:
	mov	w0, #0
LBB0_21:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_MWIFIEX_MIN_DATA_HEADER_LEN,8,3 ; @MWIFIEX_MIN_DATA_HEADER_LEN
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_MWIFIEX_BUF_FLAG_BRIDGED_PKT,4,2 ; @MWIFIEX_BUF_FLAG_BRIDGED_PKT
	.comm	_MWIFIEX_BRIDGED_PKTS_THR_HIGH,8,3 ; @MWIFIEX_BRIDGED_PKTS_THR_HIGH
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Tx: Bridge packet limit reached. Drop packet!\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to allocate skb_uap"

	.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
