	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_11n_dispatch_amsdu_pkt
_mwifiex_11n_dispatch_amsdu_pkt:        ## @mwifiex_11n_dispatch_amsdu_pkt
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %r15
	movl	8(%r15), %edi
	callq	_le16_to_cpu
	movq	_PKT_TYPE_AMSDU@GOTPCREL(%rip), %rcx
	movl	$-1, %edx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.1:
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	callq	___skb_queue_head_init
	movl	4(%r15), %edi
	callq	_le16_to_cpu
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_skb_pull
	movl	(%r15), %edi
	callq	_le16_to_cpu
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_skb_trim
	movl	16(%rbx), %ecx
	movl	20(%rbx), %edx
	movq	$0, (%rsp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_ieee80211_amsdu_to_8023s
	movq	%r12, %rdi
	callq	_skb_queue_empty
	testl	%eax, %eax
	je	LBB0_2
LBB0_12:
	xorl	%edx, %edx
LBB0_13:
	movl	%edx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-48(%rbp), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_skb_queue_empty
	testl	%eax, %eax
	jne	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	___skb_dequeue
	movq	%rax, %r13
	movq	8(%rax), %r15
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_ISSUPP_TDLS_ENABLED
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %edi
	callq	_ntohs
	movq	_ETH_P_TDLS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mwifiex_process_tdls_action_frame
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	movq	_MWIFIEX_BSS_ROLE_UAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_mwifiex_uap_recv_packet
	cmpl	$-1, %eax
	jne	LBB0_11
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_mwifiex_recv_packet
	cmpl	$-1, %eax
	jne	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rdi
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_mwifiex_dbg
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_PKT_TYPE_AMSDU,8,3             ## @PKT_TYPE_AMSDU
	.comm	_ETH_P_TDLS,8,3                 ## @ETH_P_TDLS
	.comm	_MWIFIEX_BSS_ROLE_UAP,8,3       ## @MWIFIEX_BSS_ROLE_UAP
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Rx of A-MSDU failed"

	.no_dead_strip	_mwifiex_11n_dispatch_amsdu_pkt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_11n_dispatch_amsdu_pkt
_mwifiex_11n_dispatch_amsdu_pkt:        ; @mwifiex_11n_dispatch_amsdu_pkt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #8]
	ldr	w0, [x21, #8]
	bl	_le16_to_cpu
Lloh0:
	adrp	x8, _PKT_TYPE_AMSDU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PKT_TYPE_AMSDU@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	add	x0, sp, #8
	bl	___skb_queue_head_init
	ldr	w0, [x21, #4]
	bl	_le16_to_cpu
	mov	x1, x0
	mov	x0, x19
	bl	_skb_pull
	ldr	w0, [x21]
	bl	_le16_to_cpu
	mov	x1, x0
	mov	x0, x19
	bl	_skb_trim
	ldp	w3, w2, [x20, #16]
	add	x1, sp, #8
	mov	x0, x19
	mov	w4, #0
	mov	x5, #0
	mov	x6, #0
	bl	_ieee80211_amsdu_to_8023s
	add	x0, sp, #8
	bl	_skb_queue_empty
	cbz	w0, LBB0_5
LBB0_2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
Lloh3:
	adrp	x24, _MWIFIEX_BSS_ROLE_UAP@GOTPAGE
Lloh4:
	ldr	x24, [x24, _MWIFIEX_BSS_ROLE_UAP@GOTPAGEOFF]
Lloh5:
	adrp	x25, _ERROR@GOTPAGE
Lloh6:
	ldr	x25, [x25, _ERROR@GOTPAGEOFF]
Lloh7:
	adrp	x21, l_.str@PAGE
Lloh8:
	add	x21, x21, l_.str@PAGEOFF
Lloh9:
	adrp	x26, _ETH_P_TDLS@GOTPAGE
Lloh10:
	ldr	x26, [x26, _ETH_P_TDLS@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #8
	bl	_skb_queue_empty
	cbnz	w0, LBB0_2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	___skb_dequeue
	mov	x22, x0
	ldr	x23, [x0, #8]
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_ISSUPP_TDLS_ENABLED
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x23]
	bl	_ntohs
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [x19]
	mov	x0, x20
	mov	x1, x23
	bl	_mwifiex_process_tdls_action_frame
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x20]
	ldr	x9, [x24]
	mov	x0, x20
	mov	x1, x22
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	bl	_mwifiex_uap_recv_packet
	cmn	w0, #1
	b.ne	LBB0_6
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_mwifiex_recv_packet
	cmn	w0, #1
	b.ne	LBB0_6
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x20, #8]
	ldr	w1, [x25]
	mov	x2, x21
	bl	_mwifiex_dbg
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PKT_TYPE_AMSDU,8,3             ; @PKT_TYPE_AMSDU
	.comm	_ETH_P_TDLS,8,3                 ; @ETH_P_TDLS
	.comm	_MWIFIEX_BSS_ROLE_UAP,8,3       ; @MWIFIEX_BSS_ROLE_UAP
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Rx of A-MSDU failed"

	.no_dead_strip	_mwifiex_11n_dispatch_amsdu_pkt
.subsections_via_symbols
