	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_prep_station                ## -- Begin function il_prep_station
	.p2align	4, 0x90
_il_prep_station:                       ## @il_prep_station
	.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	%rcx, %rbx
	movq	%rdi, %r14
	movq	_IL_INVALID_STATION@GOTPCREL(%rip), %r15
	testl	%edx, %edx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movq	_IL_AP_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_12
LBB0_2:
	movq	(%r15), %r12
	movq	%rsi, %rdi
	callq	_is_broadcast_ether_addr
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	24(%r14), %rax
	movq	(%rax), %r12
	jmp	LBB0_12
LBB0_5:
	movq	_IL_STA_ID@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	cmpl	32(%r14), %r13d
	jge	LBB0_12
## %bb.6:
	movq	16(%r14), %rax
	movq	%r13, %rcx
	shlq	$4, %rcx
	leaq	(%rcx,%rcx,2), %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r14), %rax
	cmpl	$0, (%rax,%rbx)
	cmoveq	%rcx, %r12
	incq	%r13
	movslq	32(%r14), %rcx
	addq	$48, %rbx
	cmpq	%rcx, %r13
	jge	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	32(%rax,%rbx), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_ether_addr_equal
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rcx
	cmpq	(%r15), %r12
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rcx
	jmp	LBB0_11
LBB0_8:
	movq	%r13, %r12
LBB0_12:
	xorl	%edi, %edi
	cmpq	(%r15), %r12
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_23
## %bb.13:
	movq	16(%r14), %r15
	leaq	(%r12,%r12,2), %r13
	shlq	$4, %r13
	movl	(%r15,%r13), %ecx
	movq	_IL_STA_UCODE_INPROGRESS@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_15
## %bb.14:
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_D_INFO
	jmp	LBB0_23
LBB0_15:
	movq	_IL_STA_DRIVER_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %eax
	je	LBB0_19
## %bb.16:
	movq	_IL_STA_UCODE_ACTIVE@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_19
## %bb.17:
	movl	32(%r15,%r13), %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ether_addr_equal
	testq	%rax, %rax
	je	LBB0_18
## %bb.24:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_D_ASSOC
	jmp	LBB0_23
LBB0_18:
	movq	16(%r14), %r15
	movq	_IL_STA_DRIVER_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_19:
	movl	%eax, (%r15,%r13)
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_D_ASSOC
	incl	8(%r14)
	leaq	(%r15,%r13), %rdi
	addq	$8, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	32(%r15,%r13), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_memcpy
	movq	$0, 40(%r15,%r13)
	movq	%r12, 24(%r15,%r13)
	movq	$0, 16(%r15,%r13)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_il_set_ht_add_station
	movq	(%r14), %rax
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.21:
	movq	_RATE_6M_PLCP@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_20:
	movq	_RATE_1M_PLCP@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %edi
	movq	_RATE_MCS_ANT_AB_MSK@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_cpu_to_le16
	movl	%eax, 8(%r15,%r13)
LBB0_23:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IL_INVALID_STATION,8,3         ## @IL_INVALID_STATION
	.comm	_IL_AP_ID,8,3                   ## @IL_AP_ID
	.comm	_IL_STA_ID,4,2                  ## @IL_STA_ID
	.comm	_IL_STA_UCODE_INPROGRESS,4,2    ## @IL_STA_UCODE_INPROGRESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"STA %d already in process of being added.\n"

	.comm	_IL_STA_DRIVER_ACTIVE,4,2       ## @IL_STA_DRIVER_ACTIVE
	.comm	_IL_STA_UCODE_ACTIVE,4,2        ## @IL_STA_UCODE_ACTIVE
L_.str.1:                               ## @.str.1
	.asciz	"STA %d (%pM) already added, not adding again.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Add STA to driver ID %d: %pM\n"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_RATE_6M_PLCP,4,2               ## @RATE_6M_PLCP
	.comm	_RATE_1M_PLCP,4,2               ## @RATE_1M_PLCP
	.comm	_RATE_MCS_ANT_AB_MSK,4,2        ## @RATE_MCS_ANT_AB_MSK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_prep_station                ; -- Begin function il_prep_station
	.p2align	2
_il_prep_station:                       ; @il_prep_station
	.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	x21, x3
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _IL_INVALID_STATION@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IL_INVALID_STATION@GOTPAGEOFF]
	cbz	w2, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _IL_AP_ID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IL_AP_ID@GOTPAGEOFF]
Lloh4:
	ldr	x19, [x8]
	b	LBB0_9
LBB0_2:
	ldr	x19, [x23]
	mov	x0, x22
	bl	_is_broadcast_ether_addr
	cbz	x0, LBB0_4
; %bb.3:
	add	x8, x20, #24
	ldr	x19, [x8]
	b	LBB0_9
LBB0_4:
Lloh5:
	adrp	x8, _IL_STA_ID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IL_STA_ID@GOTPAGEOFF]
Lloh7:
	ldrsw	x24, [x8]
	ldr	w8, [x20, #32]
	cmp	w24, w8
	b.ge	LBB0_9
; %bb.5:
	ldr	x8, [x20, #16]
	add	x9, x24, x24, lsl #1
	lsl	x25, x9, #4
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x25
	ldr	w0, [x8, #32]
	mov	x1, x22
	bl	_ether_addr_equal
	cbnz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #16]
	ldr	w9, [x8, x25]
	ldr	x10, [x23]
	cmp	x19, x10
	ccmp	w9, #0, #0, eq
	csel	x19, x24, x19, eq
	add	x24, x24, #1
	ldrsw	x9, [x20, #32]
	add	x25, x25, #48
	cmp	x24, x9
	b.lt	LBB0_6
	b	LBB0_9
LBB0_8:
	mov	x19, x24
LBB0_9:
	ldr	x8, [x23]
	cmp	x19, x8
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_18
; %bb.10:
	ldr	x8, [x20, #16]
	mov	w9, #48
	mul	x9, x19, x9
	ldr	w10, [x8, x9]
Lloh8:
	adrp	x9, _IL_STA_UCODE_INPROGRESS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IL_STA_UCODE_INPROGRESS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w10
	b.eq	LBB0_12
; %bb.11:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_D_INFO
	b	LBB0_18
LBB0_12:
Lloh13:
	adrp	x23, _IL_STA_DRIVER_ACTIVE@GOTPAGE
Lloh14:
	ldr	x23, [x23, _IL_STA_DRIVER_ACTIVE@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w10
	b.eq	LBB0_17
; %bb.13:
Lloh15:
	adrp	x11, _IL_STA_UCODE_ACTIVE@GOTPAGE
Lloh16:
	ldr	x11, [x11, _IL_STA_UCODE_ACTIVE@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_17
; %bb.14:
	mov	w9, #48
	madd	x8, x19, x9, x8
	ldr	w0, [x8, #32]
	mov	x1, x22
	bl	_ether_addr_equal
	cbz	x0, LBB0_16
; %bb.15:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x22
	bl	_D_ASSOC
	b	LBB0_18
LBB0_16:
	ldr	x8, [x20, #16]
	ldr	w9, [x23]
LBB0_17:
	mov	w10, #48
	madd	x23, x19, x10, x8
	str	w9, [x23]
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	mov	x2, x22
	bl	_D_ASSOC
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	add	x0, x23, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x23, #32]
Lloh22:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_memcpy
	str	xzr, [x23, #40]
	stp	xzr, x19, [x23, #16]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_il_set_ht_add_station
	ldr	x8, [x20]
Lloh25:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh26:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
Lloh28:
	adrp	x10, _RATE_6M_PLCP@GOTPAGE
Lloh29:
	ldr	x10, [x10, _RATE_6M_PLCP@GOTPAGEOFF]
Lloh30:
	adrp	x11, _RATE_1M_PLCP@GOTPAGE
Lloh31:
	ldr	x11, [x11, _RATE_1M_PLCP@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _RATE_MCS_ANT_AB_MSK@GOTPAGE
Lloh33:
	ldr	x9, [x9, _RATE_MCS_ANT_AB_MSK@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_cpu_to_le16
	str	w0, [x23, #8]
LBB0_18:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_IL_INVALID_STATION,8,3         ; @IL_INVALID_STATION
	.comm	_IL_AP_ID,8,3                   ; @IL_AP_ID
	.comm	_IL_STA_ID,4,2                  ; @IL_STA_ID
	.comm	_IL_STA_UCODE_INPROGRESS,4,2    ; @IL_STA_UCODE_INPROGRESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"STA %d already in process of being added.\n"

	.comm	_IL_STA_DRIVER_ACTIVE,4,2       ; @IL_STA_DRIVER_ACTIVE
	.comm	_IL_STA_UCODE_ACTIVE,4,2        ; @IL_STA_UCODE_ACTIVE
l_.str.1:                               ; @.str.1
	.asciz	"STA %d (%pM) already added, not adding again.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Add STA to driver ID %d: %pM\n"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_RATE_6M_PLCP,4,2               ; @RATE_6M_PLCP
	.comm	_RATE_1M_PLCP,4,2               ; @RATE_1M_PLCP
	.comm	_RATE_MCS_ANT_AB_MSK,4,2        ; @RATE_MCS_ANT_AB_MSK
.subsections_via_symbols
