	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sta_info_alloc                 ## -- Begin function sta_info_alloc
	.p2align	4, 0x90
_sta_info_alloc:                        ## @sta_info_alloc
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movq	(%r12), %rdi
	addq	$96, %rdi
	movl	%edx, %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r13
	leaq	88(%rax), %rdi
	callq	_spin_lock_init
	leaq	84(%r13), %rdi
	movq	_sta_unblock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rbx
	leaq	76(%r13), %r14
	leaq	80(%r13), %rdi
	movq	_ieee80211_ba_session_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	%r14, %rdi
	callq	_mutex_init
	movl	8(%r13), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_memcpy
	movq	%r12, 64(%r13)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 56(%r13)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r13)
	movq	_IEEE80211_STA_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r13)
	leaq	-48(%rbp), %rdi
	callq	_do_posix_clock_monotonic_gettime
	movl	-48(%rbp), %eax
	movl	%eax, 44(%r13)
	movq	%r13, %rdi
	addq	$40, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movl	$8, %edx
	callq	_ewma_init
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_sta_prepare_rate_control
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%r13, %rdi
	callq	_kfree
LBB0_3:
	xorl	%r13d, %r13d
	jmp	LBB0_15
LBB0_4:
	movq	_IEEE80211_NUM_TIDS@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.5:
	movq	(%r13), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%r14), %rax
	cmpq	%rax, %rdx
	jl	LBB0_6
LBB0_7:
	movq	_IEEE80211_NUM_ACS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_11
## %bb.8:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r13), %rdi
	addq	%rbx, %rdi
	callq	_skb_queue_head_init
	movq	24(%r13), %rdi
	addq	%rbx, %rdi
	callq	_skb_queue_head_init
	incq	%r12
	movslq	(%r15), %rax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jl	LBB0_9
## %bb.10:
	movl	(%r14), %eax
LBB0_11:
	testl	%eax, %eax
	jle	LBB0_14
## %bb.12:
	xorl	%ebx, %ebx
	movq	_USHRT_MAX@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_cpu_to_le16
	movq	16(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_13
LBB0_14:
	movq	_IEEE80211_SMPS_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r13)
	movl	8(%r13), %edx
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_sta_dbg
LBB0_15:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sta_unblock,4,2                ## @sta_unblock
	.comm	_ieee80211_ba_session_work,4,2  ## @ieee80211_ba_session_work
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_IEEE80211_STA_NONE,4,2         ## @IEEE80211_STA_NONE
	.comm	_IEEE80211_NUM_TIDS,4,2         ## @IEEE80211_NUM_TIDS
	.comm	_IEEE80211_NUM_ACS,4,2          ## @IEEE80211_NUM_ACS
	.comm	_USHRT_MAX,4,2                  ## @USHRT_MAX
	.comm	_IEEE80211_SMPS_OFF,4,2         ## @IEEE80211_SMPS_OFF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Allocated STA %pM\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sta_info_alloc                 ; -- Begin function sta_info_alloc
	.p2align	2
_sta_info_alloc:                        ; @sta_info_alloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x22, [x0, #8]
	ldr	x8, [x22]
	add	x0, x8, #96
	mov	x1, x2
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_14
; %bb.1:
	add	x0, x19, #88
	bl	_spin_lock_init
	add	x0, x19, #84
Lloh0:
	adrp	x8, _sta_unblock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sta_unblock@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x24, x19, #76
	add	x0, x19, #80
Lloh3:
	adrp	x8, _ieee80211_ba_session_work@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ieee80211_ba_session_work@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_INIT_WORK
	mov	x0, x24
	bl	_mutex_init
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x23
	bl	_memcpy
	stp	x20, x22, [x19, #56]
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _IEEE80211_STA_NONE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_STA_NONE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #48]
	add	x0, sp, #8
	bl	_do_posix_clock_monotonic_gettime
	ldr	w8, [sp, #8]
	str	w8, [x19, #44]
	add	x0, x19, #40
	mov	w1, #1024
	mov	w2, #8
	bl	_ewma_init
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	bl	_sta_prepare_rate_control
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
	b	LBB0_14
LBB0_3:
Lloh15:
	adrp	x21, _IEEE80211_NUM_TIDS@GOTPAGE
Lloh16:
	ldr	x21, [x21, _IEEE80211_NUM_TIDS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x9, #0
	ldr	x10, [x19]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	str	w9, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x8, [x21]
	cmp	x9, x8
	b.lt	LBB0_5
LBB0_6:
Lloh17:
	adrp	x22, _IEEE80211_NUM_ACS@GOTPAGE
Lloh18:
	ldr	x22, [x22, _IEEE80211_NUM_ACS@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.7:
	mov	x23, #0
	mov	x24, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	add	x0, x8, x23
	bl	_skb_queue_head_init
	ldr	x8, [x19, #24]
	add	x0, x8, x23
	bl	_skb_queue_head_init
	add	x24, x24, #1
	ldrsw	x8, [x22]
	add	x23, x23, #4
	cmp	x24, x8
	b.lt	LBB0_8
; %bb.9:
	ldr	w8, [x21]
LBB0_10:
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x22, #0
Lloh19:
	adrp	x23, _USHRT_MAX@GOTPAGE
Lloh20:
	ldr	x23, [x23, _USHRT_MAX@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	bl	_cpu_to_le16
	ldr	x8, [x19, #16]
	str	w0, [x8, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_12
LBB0_13:
Lloh21:
	adrp	x8, _IEEE80211_SMPS_OFF@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IEEE80211_SMPS_OFF@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	ldr	w2, [x19, #8]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_sta_dbg
LBB0_14:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_sta_unblock,4,2                ; @sta_unblock
	.comm	_ieee80211_ba_session_work,4,2  ; @ieee80211_ba_session_work
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_IEEE80211_STA_NONE,4,2         ; @IEEE80211_STA_NONE
	.comm	_IEEE80211_NUM_TIDS,4,2         ; @IEEE80211_NUM_TIDS
	.comm	_IEEE80211_NUM_ACS,4,2          ; @IEEE80211_NUM_ACS
	.comm	_USHRT_MAX,4,2                  ; @USHRT_MAX
	.comm	_IEEE80211_SMPS_OFF,4,2         ; @IEEE80211_SMPS_OFF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Allocated STA %pM\n"

.subsections_via_symbols
