	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_process_mgmt_packet    ## -- Begin function mwifiex_process_mgmt_packet
	.p2align	4, 0x90
_mwifiex_process_mgmt_packet:           ## @mwifiex_process_mgmt_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
	movl	$-1, %r14d
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r15
	cmpl	$0, 20(%rdi)
	je	LBB0_3
## %bb.2:
	movq	8(%r15), %rax
	movq	_NL80211_IFTYPE_UNSPECIFIED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_3:
	movl	16(%r15), %edi
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_mwifiex_dbg
	jmp	LBB0_7
LBB0_4:
	movq	%rsi, %rbx
	movq	(%rsi), %r12
	movl	12(%r12), %edi
	callq	_le16_to_cpu
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skb_pull
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_skb_pull
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	8(%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, %r13d
	movq	(%rbx), %r12
	movl	(%r12), %edi
	callq	_ieee80211_is_mgmt
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_mwifiex_parse_mgmt_packet
	testq	%rax, %rax
	jne	LBB0_7
LBB0_6:
	leaq	8(%r15), %r12
	movl	(%rbx), %edi
	addl	$4, %edi
	addl	$-4, %r13d
	movl	%edi, %esi
	movl	%r13d, %edx
	callq	_memmove
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	movl	%r13d, %edi
	callq	_cpu_to_le16
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 8(%rcx)
	movl	(%r15), %r15d
	movl	(%rcx), %esi
	movl	4(%rcx), %edi
	callq	_CAL_RSSI
	movq	(%rbx), %rcx
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	movl	%r13d, %r8d
	xorl	%r9d, %r9d
	callq	_cfg80211_rx_mgmt
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_UNSPECIFIED,8,3 ## @NL80211_IFTYPE_UNSPECIFIED
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"do not receive mgmt frames on uninitialized intf"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_process_mgmt_packet    ; -- Begin function mwifiex_process_mgmt_packet
	.p2align	2
_mwifiex_process_mgmt_packet:           ; @mwifiex_process_mgmt_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_4
; %bb.1:
	mov	x21, x0
	ldr	w8, [x0, #20]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x20, x21
	ldr	x8, [x20, #8]!
Lloh0:
	adrp	x9, _NL80211_IFTYPE_UNSPECIFIED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_UNSPECIFIED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_3:
	ldr	w0, [x21, #16]
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	bl	_mwifiex_dbg
LBB0_4:
	mov	w0, #-1
LBB0_5:
	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
LBB0_6:
	mov	x19, x1
	ldr	x22, [x1]
	ldr	w0, [x22, #12]
	bl	_le16_to_cpu
	mov	x1, x0
	mov	x0, x19
	bl	_skb_pull
	mov	x0, x19
	mov	w1, #4
	bl	_skb_pull
	ldr	w0, [x22, #8]
	bl	_le16_to_cpu
	mov	x23, x0
	ldr	x24, [x19]
	ldr	w0, [x24]
	bl	_ieee80211_is_mgmt
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	bl	_mwifiex_parse_mgmt_packet
	cbnz	x0, LBB0_4
LBB0_8:
	ldr	w8, [x19]
	add	w0, w8, #4
	sub	w23, w23, #4
	mov	x1, x0
	mov	x2, x23
	bl	_memmove
Lloh8:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	sub	w23, w23, w8
	mov	x0, x23
	bl	_cpu_to_le16
	str	w0, [x22, #8]
	ldr	w21, [x21]
	ldp	w1, w0, [x22]
	bl	_CAL_RSSI
	mov	x2, x0
	ldr	x3, [x19]
	mov	x0, x20
	mov	x1, x21
	mov	x4, x23
	mov	w5, #0
	bl	_cfg80211_rx_mgmt
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_UNSPECIFIED,8,3 ; @NL80211_IFTYPE_UNSPECIFIED
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"do not receive mgmt frames on uninitialized intf"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
.subsections_via_symbols
