	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_set_ba_params          ## -- Begin function mwifiex_set_ba_params
	.p2align	4, 0x90
_mwifiex_set_ba_params:                 ## @mwifiex_set_ba_params
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_MWIFIEX_DEFAULT_BLOCK_ACK_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	callq	_GET_BSS_ROLE
	movq	_MWIFIEX_BSS_ROLE_UAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_MWIFIEX_STA_AMPDU_DEF_RXWINSIZE@GOTPCREL(%rip), %rax
	cmoveq	_MWIFIEX_UAP_AMPDU_DEF_RXWINSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MWIFIEX_STA_AMPDU_DEF_TXWINSIZE@GOTPCREL(%rip), %rcx
	cmoveq	_MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rbx)
	movl	%eax, 8(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_DEFAULT_BLOCK_ACK_TIMEOUT,4,2 ## @MWIFIEX_DEFAULT_BLOCK_ACK_TIMEOUT
	.comm	_MWIFIEX_BSS_ROLE_UAP,8,3       ## @MWIFIEX_BSS_ROLE_UAP
	.comm	_MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE,4,2 ## @MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE
	.comm	_MWIFIEX_UAP_AMPDU_DEF_RXWINSIZE,4,2 ## @MWIFIEX_UAP_AMPDU_DEF_RXWINSIZE
	.comm	_MWIFIEX_STA_AMPDU_DEF_TXWINSIZE,4,2 ## @MWIFIEX_STA_AMPDU_DEF_TXWINSIZE
	.comm	_MWIFIEX_STA_AMPDU_DEF_RXWINSIZE,4,2 ## @MWIFIEX_STA_AMPDU_DEF_RXWINSIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_set_ba_params          ; -- Begin function mwifiex_set_ba_params
	.p2align	2
_mwifiex_set_ba_params:                 ; @mwifiex_set_ba_params
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _MWIFIEX_DEFAULT_BLOCK_ACK_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MWIFIEX_DEFAULT_BLOCK_ACK_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	bl	_GET_BSS_ROLE
Lloh3:
	adrp	x8, _MWIFIEX_BSS_ROLE_UAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MWIFIEX_BSS_ROLE_UAP@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _MWIFIEX_UAP_AMPDU_DEF_RXWINSIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MWIFIEX_UAP_AMPDU_DEF_RXWINSIZE@GOTPAGEOFF]
Lloh8:
	adrp	x10, _MWIFIEX_STA_AMPDU_DEF_RXWINSIZE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MWIFIEX_STA_AMPDU_DEF_RXWINSIZE@GOTPAGEOFF]
	cmp	x0, x8
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE@GOTPAGEOFF]
Lloh12:
	adrp	x10, _MWIFIEX_STA_AMPDU_DEF_TXWINSIZE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _MWIFIEX_STA_AMPDU_DEF_TXWINSIZE@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	stp	w8, w9, [x19, #8]
	movi.2s	v0, #1
	str	d0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_DEFAULT_BLOCK_ACK_TIMEOUT,4,2 ; @MWIFIEX_DEFAULT_BLOCK_ACK_TIMEOUT
	.comm	_MWIFIEX_BSS_ROLE_UAP,8,3       ; @MWIFIEX_BSS_ROLE_UAP
	.comm	_MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE,4,2 ; @MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE
	.comm	_MWIFIEX_UAP_AMPDU_DEF_RXWINSIZE,4,2 ; @MWIFIEX_UAP_AMPDU_DEF_RXWINSIZE
	.comm	_MWIFIEX_STA_AMPDU_DEF_TXWINSIZE,4,2 ; @MWIFIEX_STA_AMPDU_DEF_TXWINSIZE
	.comm	_MWIFIEX_STA_AMPDU_DEF_RXWINSIZE,4,2 ; @MWIFIEX_STA_AMPDU_DEF_RXWINSIZE
.subsections_via_symbols
