	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_process_tx_pause_event ## -- Begin function mwifiex_process_tx_pause_event
	.p2align	4, 0x90
_mwifiex_process_tx_pause_event:        ## @mwifiex_process_tx_pause_event
	.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	%rdi, %r15
	cmpl	$0, 8(%rdi)
	je	LBB0_11
## %bb.1:
	movl	(%rsi), %r8d
	addl	$-4, %r8d
	cmpl	$8, %r8d
	jl	LBB0_10
## %bb.2:
	movq	8(%rsi), %r12
	addq	$4, %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_mwifiex_process_uap_tx_pause
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	subl	%r14d, %r8d
	leaq	(%r12,%r13,4), %r12
	addq	$32, %r12
	cmpl	$7, %r8d
	jle	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	4(%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, %ebx
	movl	(%r12), %edi
	callq	_le16_to_cpu
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movslq	%eax, %r13
	leaq	8(%r13), %r14
	movl	%r8d, %ecx
	cmpq	%rcx, %r14
	ja	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_TLV_TYPE_TX_PAUSE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_GET_BSS_ROLE
	movq	_MWIFIEX_BSS_ROLE_STA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_mwifiex_process_sta_tx_pause
	jmp	LBB0_8
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edi
	movl	4(%r15), %ecx
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mwifiex_dbg                    ## TAILCALL
LBB0_12:
	movl	(%r15), %edi
	movq	_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.1(%rip), %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mwifiex_dbg                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx_pause event while disconnected; bss_role=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"wrong tlv: tlvLen=%d, tlvBufLeft=%d\n"

	.comm	_TLV_TYPE_TX_PAUSE,4,2          ## @TLV_TYPE_TX_PAUSE
	.comm	_MWIFIEX_BSS_ROLE_STA,8,3       ## @MWIFIEX_BSS_ROLE_STA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_process_tx_pause_event ; -- Begin function mwifiex_process_tx_pause_event
	.p2align	2
_mwifiex_process_tx_pause_event:        ; @mwifiex_process_tx_pause_event
	.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, x0
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_9
; %bb.1:
	ldr	w8, [x1]
	sub	w23, w8, #4
	cmp	w23, #8
	b.lt	LBB0_11
; %bb.2:
	ldr	x8, [x1, #8]
	add	x20, x8, #4
Lloh0:
	adrp	x24, _TLV_TYPE_TX_PAUSE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TLV_TYPE_TX_PAUSE@GOTPAGEOFF]
Lloh2:
	adrp	x25, _MWIFIEX_BSS_ROLE_STA@GOTPAGE
Lloh3:
	ldr	x25, [x25, _MWIFIEX_BSS_ROLE_STA@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_mwifiex_process_uap_tx_pause
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	w23, w23, w26
	add	x8, x20, x21, lsl #2
	add	x20, x8, #32
	cmp	w23, #7
	b.le	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #4]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	w0, [x20]
	bl	_le16_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	add	x26, x21, #8
	cmp	x26, w23, uxtw
	b.hi	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24]
	cmp	w22, w8
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_GET_BSS_ROLE
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_mwifiex_process_sta_tx_pause
	b	LBB0_4
LBB0_9:
Lloh4:
	adrp	x8, _ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldp	w0, w3, [x19]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	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
	b	_mwifiex_dbg
LBB0_10:
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	str	x23, [sp]
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x21
	bl	_mwifiex_dbg
LBB0_11:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx_pause event while disconnected; bss_role=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"wrong tlv: tlvLen=%d, tlvBufLeft=%d\n"

	.comm	_TLV_TYPE_TX_PAUSE,4,2          ; @TLV_TYPE_TX_PAUSE
	.comm	_MWIFIEX_BSS_ROLE_STA,8,3       ; @MWIFIEX_BSS_ROLE_STA
.subsections_via_symbols
