	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_coex_ampdu_rxwinsize   ## -- Begin function mwifiex_coex_ampdu_rxwinsize
	.p2align	4, 0x90
_mwifiex_coex_ampdu_rxwinsize:          ## @mwifiex_coex_ampdu_rxwinsize
	.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, %r14
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	movq	_MWIFIEX_BSS_COEX_COUNT@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%r13,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %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_4 Depth=1
	cmpq	$1, 8(%rbx)
	sbbq	$-1, %r15
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_GET_BSS_ROLE
	movq	_MWIFIEX_BSS_ROLE_UAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$1, (%rbx)
	sbbq	$-1, %r15
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12), %rax
	cmpq	%rax, %r15
	jae	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	cmpq	(%r14), %r13
	jb	LBB0_4
	jmp	LBB0_10
LBB0_1:
	movq	_MWIFIEX_BSS_COEX_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%r15d, %r15d
LBB0_10:
	xorl	%esi, %esi
	cmpq	%rax, %r15
	setae	%sil
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mwifiex_update_ampdu_rxwinsize ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_BSS_ROLE_STA,8,3       ## @MWIFIEX_BSS_ROLE_STA
	.comm	_MWIFIEX_BSS_ROLE_UAP,8,3       ## @MWIFIEX_BSS_ROLE_UAP
	.comm	_MWIFIEX_BSS_COEX_COUNT,8,3     ## @MWIFIEX_BSS_COEX_COUNT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_coex_ampdu_rxwinsize   ; -- Begin function mwifiex_coex_ampdu_rxwinsize
	.p2align	2
_mwifiex_coex_ampdu_rxwinsize:          ; @mwifiex_coex_ampdu_rxwinsize
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x8, [x0]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x21, #0
	mov	x22, #0
Lloh0:
	adrp	x23, _MWIFIEX_BSS_COEX_COUNT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MWIFIEX_BSS_COEX_COUNT@GOTPAGEOFF]
Lloh2:
	adrp	x24, _MWIFIEX_BSS_ROLE_STA@GOTPAGE
Lloh3:
	ldr	x24, [x24, _MWIFIEX_BSS_ROLE_STA@GOTPAGEOFF]
Lloh4:
	adrp	x25, _MWIFIEX_BSS_ROLE_UAP@GOTPAGE
Lloh5:
	ldr	x25, [x25, _MWIFIEX_BSS_ROLE_UAP@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x20, [x8, x22, lsl #3]
	cbz	x20, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_GET_BSS_ROLE
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #8]
	cmp	x8, #0
	cinc	x21, x21, ne
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_GET_BSS_ROLE
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20]
	cmp	x8, #0
	cinc	x21, x21, ne
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23]
	cmp	x21, x8
	b.hs	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldr	x9, [x19]
	cmp	x22, x9
	b.lo	LBB0_2
	b	LBB0_10
LBB0_9:
	mov	x21, #0
Lloh6:
	adrp	x8, _MWIFIEX_BSS_COEX_COUNT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MWIFIEX_BSS_COEX_COUNT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
LBB0_10:
	cmp	x21, x8
	cset	w1, hs
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_mwifiex_update_ampdu_rxwinsize
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_BSS_ROLE_STA,8,3       ; @MWIFIEX_BSS_ROLE_STA
	.comm	_MWIFIEX_BSS_ROLE_UAP,8,3       ; @MWIFIEX_BSS_ROLE_UAP
	.comm	_MWIFIEX_BSS_COEX_COUNT,8,3     ; @MWIFIEX_BSS_COEX_COUNT
.subsections_via_symbols
