	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_ralist_add             ## -- Begin function mwifiex_ralist_add
	.p2align	4, 0x90
_mwifiex_ralist_add:                    ## @mwifiex_ralist_add
	.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, -48(%rbp)                 ## 8-byte Spill
	movq	_MAX_NUM_TID@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_16
## %bb.1:
	movq	%rdi, %r12
	movq	16(%rdi), %rbx
	leaq	8(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %r13
	movq	(%r12), %rsi
	addq	%r14, %rsi
	movq	%r13, %rdi
	callq	_list_add_tail
	incq	%r15
	movq	_MAX_NUM_TID@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %r14
	cmpq	%rax, %r15
	jge	LBB0_16
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_mwifiex_wmm_allocate_ralist_node
	movq	%rax, %r13
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	testq	%r13, %r13
	je	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 24(%r13)
	movl	$0, (%r13)
	movq	_BA_SETUP_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r13)
	movl	$0, 4(%r13)
	movq	%r12, %rdi
	callq	_mwifiex_queuing_ra_based
	testl	%eax, %eax
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_lock_bh
	movq	%r12, %rbx
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_mwifiex_get_sta_entry
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r12), %eax
	movl	%eax, 36(%r13)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_mwifiex_is_sta_11n_enabled
	movq	%rax, 24(%r13)
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %eax
	movl	%eax, 32(%r13)
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_bh
	movq	24(%r13), %r8
	movq	%rbx, %r12
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_mwifiex_get_tdls_link_status
	movl	%eax, %edi
	callq	_mwifiex_is_tdls_link_setup
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, (%r13)
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_mwifiex_tdls_peer_11n_enabled
	jmp	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_IS_11N_ENABLED
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r8
	movq	%rax, 24(%r13)
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	cmpq	$0, 24(%r13)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 16(%r13)
	xorl	%eax, %eax
	callq	_mwifiex_get_random_ba_threshold
	movl	%eax, 12(%r13)
	jmp	LBB0_15
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NUM_TID,4,2                ## @MAX_NUM_TID
	.comm	_INFO,4,2                       ## @INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"info: created ra_list %p\n"

	.comm	_BA_SETUP_NONE,4,2              ## @BA_SETUP_NONE
	.comm	_DATA,4,2                       ## @DATA
L_.str.1:                               ## @.str.1
	.asciz	"data: ralist %p: is_11n_enabled=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_ralist_add             ; -- Begin function mwifiex_ralist_add
	.p2align	2
_mwifiex_ralist_add:                    ; @mwifiex_ralist_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x27, _MAX_NUM_TID@GOTPAGE
Lloh1:
	ldr	x27, [x27, _MAX_NUM_TID@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x28, #0
	mov	x24, #0
	ldr	x21, [x0, #16]
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
	add	x23, x0, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x25, #8
	ldr	x8, [x20]
	add	x1, x8, x28
	bl	_list_add_tail
	add	x24, x24, #1
	ldrsw	x8, [x27]
	add	x28, x28, #4
	cmp	x24, x8
	b.ge	LBB0_16
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_mwifiex_wmm_allocate_ralist_node
	mov	x25, x0
Lloh4:
	adrp	x8, _INFO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x22
	mov	x3, x25
	bl	_mwifiex_dbg
	cbz	x25, LBB0_16
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x25, #24]
	str	xzr, [x25]
Lloh7:
	adrp	x8, _BA_SETUP_NONE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BA_SETUP_NONE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x25, #40]
	mov	x0, x20
	bl	_mwifiex_queuing_ra_based
	cbz	w0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_spin_lock_bh
	mov	x0, x20
	mov	x1, x19
	bl	_mwifiex_get_sta_entry
	mov	x26, x0
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x26, #4]
	str	w8, [x25, #36]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x26
	bl	_mwifiex_is_sta_11n_enabled
	str	x0, [x25, #24]
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x26]
	str	w8, [x25, #32]
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_spin_unlock_bh
	ldr	x0, [x25, #24]
	b	LBB0_14
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_mwifiex_get_tdls_link_status
	bl	_mwifiex_is_tdls_link_setup
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #1
	str	w8, [x25]
	mov	x0, x20
	mov	x1, x19
	bl	_mwifiex_tdls_peer_11n_enabled
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_IS_11N_ENABLED
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x0, [x25, #24]
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh10:
	adrp	x8, _DATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	str	x0, [sp]
	mov	x0, x21
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x25
	bl	_mwifiex_dbg
	ldr	x8, [x25, #24]
	cbz	x8, LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x25, #16]
	bl	_mwifiex_get_random_ba_threshold
	str	w0, [x25, #12]
	b	LBB0_2
LBB0_16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NUM_TID,4,2                ; @MAX_NUM_TID
	.comm	_INFO,4,2                       ; @INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"info: created ra_list %p\n"

	.comm	_BA_SETUP_NONE,4,2              ; @BA_SETUP_NONE
	.comm	_DATA,4,2                       ; @DATA
l_.str.1:                               ; @.str.1
	.asciz	"data: ralist %p: is_11n_enabled=%d\n"

.subsections_via_symbols
