	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_update_ampdu_txwinsize ## -- Begin function mwifiex_update_ampdu_txwinsize
	.p2align	4, 0x90
_mwifiex_update_ampdu_txwinsize:        ## @mwifiex_update_ampdu_txwinsize
	.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), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	movq	_MWIFIEX_BSS_TYPE_STA@GOTPCREL(%rip), %r13
	movq	_MWIFIEX_STA_AMPDU_DEF_TXWINSIZE@GOTPCREL(%rip), %r8
	movq	_MWIFIEX_BSS_TYPE_P2P@GOTPCREL(%rip), %r9
	movq	_MWIFIEX_BSS_TYPE_UAP@GOTPCREL(%rip), %rdi
	movq	_MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE@GOTPCREL(%rip), %r10
	movq	_MAX_NUM_TID@GOTPCREL(%rip), %r12
	jmp	LBB0_2
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rax, %rbx
	jae	LBB0_20
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	24(%r14), %rcx
	movq	(%rcx,%rbx,8), %r15
	testq	%r15, %r15
	je	LBB0_19
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rsi
	movq	16(%r15), %rcx
	movq	%rcx, %rdx
	cmpq	(%r13), %rsi
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r9), %rsi
	je	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%rdi), %rsi
	je	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%r14)
	jne	LBB0_10
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r8), %rdx
	movq	%rdx, 16(%r15)
	cmpq	(%r9), %rsi
	jne	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r8), %rdx
	movq	%rdx, 16(%r15)
	cmpq	(%rdi), %rsi
	jne	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r10), %rdx
	movq	%rdx, 16(%r15)
	cmpq	$0, 16(%r14)
	je	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, 16(%r15)
	movq	%rsi, %rdx
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdx, %rcx
	je	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 8(%r15)
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%r12)
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mwifiex_send_delba_txbastream_tbl
	incq	%rbx
	cmpq	(%r12), %rbx
	jb	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movq	_MWIFIEX_STA_AMPDU_DEF_TXWINSIZE@GOTPCREL(%rip), %r8
	movq	_MWIFIEX_BSS_TYPE_P2P@GOTPCREL(%rip), %r9
	movq	_MWIFIEX_BSS_TYPE_UAP@GOTPCREL(%rip), %rdi
	movq	_MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE@GOTPCREL(%rip), %r10
	jmp	LBB0_19
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_BSS_TYPE_STA,8,3       ## @MWIFIEX_BSS_TYPE_STA
	.comm	_MWIFIEX_STA_AMPDU_DEF_TXWINSIZE,8,3 ## @MWIFIEX_STA_AMPDU_DEF_TXWINSIZE
	.comm	_MWIFIEX_BSS_TYPE_P2P,8,3       ## @MWIFIEX_BSS_TYPE_P2P
	.comm	_MWIFIEX_BSS_TYPE_UAP,8,3       ## @MWIFIEX_BSS_TYPE_UAP
	.comm	_MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE,8,3 ## @MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE
	.comm	_MAX_NUM_TID,8,3                ## @MAX_NUM_TID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_update_ampdu_txwinsize ; -- Begin function mwifiex_update_ampdu_txwinsize
	.p2align	2
_mwifiex_update_ampdu_txwinsize:        ; @mwifiex_update_ampdu_txwinsize
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x0]
	cbz	x8, LBB0_20
; %bb.1:
	mov	x19, x0
	mov	x20, #0
Lloh0:
	adrp	x22, _MWIFIEX_BSS_TYPE_STA@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MWIFIEX_BSS_TYPE_STA@GOTPAGEOFF]
Lloh2:
	adrp	x23, _MWIFIEX_STA_AMPDU_DEF_TXWINSIZE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MWIFIEX_STA_AMPDU_DEF_TXWINSIZE@GOTPAGEOFF]
Lloh4:
	adrp	x24, _MWIFIEX_BSS_TYPE_P2P@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MWIFIEX_BSS_TYPE_P2P@GOTPAGEOFF]
Lloh6:
	adrp	x25, _MWIFIEX_BSS_TYPE_UAP@GOTPAGE
Lloh7:
	ldr	x25, [x25, _MWIFIEX_BSS_TYPE_UAP@GOTPAGEOFF]
Lloh8:
	adrp	x26, _MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE@GOTPAGE
Lloh9:
	ldr	x26, [x26, _MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE@GOTPAGEOFF]
Lloh10:
	adrp	x27, _MAX_NUM_TID@GOTPAGE
Lloh11:
	ldr	x27, [x27, _MAX_NUM_TID@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	cmp	x20, x8
	b.hs	LBB0_20
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	ldr	x9, [x19, #24]
	ldr	x21, [x9, x20, lsl #3]
	cbz	x21, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x21, #16]
	ldr	x11, [x21]
	ldr	x12, [x22]
	mov	x10, x9
	cmp	x11, x12
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x23]
	str	x10, [x21, #16]
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x24]
	cmp	x11, x12
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x23]
	str	x10, [x21, #16]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x25]
	cmp	x11, x12
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x26]
	str	x10, [x21, #16]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x19, #16]
	cbz	x11, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x19, #8]
	cbz	x11, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	str	x11, [x21, #16]
	mov	x10, x11
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x9, x10
	b.eq	LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x21, #8]
	cbz	w9, LBB0_3
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x27]
	cbz	x9, LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, #0
LBB0_18:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x20
	bl	_mwifiex_send_delba_txbastream_tbl
	add	x20, x20, #1
	ldr	x8, [x27]
	cmp	x20, x8
	b.lo	LBB0_18
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	b	LBB0_3
LBB0_20:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_BSS_TYPE_STA,8,3       ; @MWIFIEX_BSS_TYPE_STA
	.comm	_MWIFIEX_STA_AMPDU_DEF_TXWINSIZE,8,3 ; @MWIFIEX_STA_AMPDU_DEF_TXWINSIZE
	.comm	_MWIFIEX_BSS_TYPE_P2P,8,3       ; @MWIFIEX_BSS_TYPE_P2P
	.comm	_MWIFIEX_BSS_TYPE_UAP,8,3       ; @MWIFIEX_BSS_TYPE_UAP
	.comm	_MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE,8,3 ; @MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE
	.comm	_MAX_NUM_TID,8,3                ; @MAX_NUM_TID
.subsections_via_symbols
