	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sta_info_move_state            ## -- Begin function sta_info_move_state
	.p2align	4, 0x90
_sta_info_move_state:                   ## @sta_info_move_state
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_might_sleep
	movl	(%r15), %eax
	cmpl	%r14d, %eax
	je	LBB0_35
## %bb.1:
	leal	-128(%r14), %r12d
	cmpl	$3, %r12d
	ja	LBB0_36
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%r12,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_3:
	cmpl	$130, %eax
	je	LBB0_8
	jmp	LBB0_4
LBB0_36:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%r14d, %edx
	callq	_WARN
	jmp	LBB0_4
LBB0_5:
	cmpl	$128, %eax
	je	LBB0_8
LBB0_6:
	cmpl	$131, %eax
	jne	LBB0_4
LBB0_8:
	movq	8(%r15), %rdi
	movl	20(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %ecx
	callq	_sta_dbg
	movq	_WLAN_STA_INSERTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_test_sta_flag
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	16(%r15), %edi
	movq	8(%r15), %rsi
	movl	(%r15), %ecx
	movq	%r15, %rdx
	movl	%r14d, %r8d
	callq	_drv_sta_state
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_35
LBB0_10:
	cmpl	$3, %r12d
	ja	LBB0_34
## %bb.11:
	leaq	LJTI0_1(%rip), %rax
	movslq	(%rax,%r12,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_12:
	cmpl	$130, (%r15)
	jne	LBB0_34
## %bb.13:
	movq	_WLAN_STA_AUTH@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_7:
	addl	$-129, %eax
	cmpl	$2, %eax
	jb	LBB0_8
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_35
LBB0_27:
	cmpl	$131, (%r15)
	jne	LBB0_34
## %bb.28:
	movq	8(%r15), %rax
	movl	12(%rax), %ecx
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_29
LBB0_31:
	movq	(%rax), %rdi
	callq	_atomic_inc
	jmp	LBB0_32
LBB0_15:
	movl	(%r15), %eax
	cmpl	$131, %eax
	je	LBB0_18
## %bb.16:
	cmpl	$128, %eax
	jne	LBB0_34
## %bb.17:
	movq	_WLAN_STA_AUTH@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_19:
	movl	(%r15), %eax
	cmpl	$129, %eax
	je	LBB0_22
## %bb.20:
	cmpl	$130, %eax
	jne	LBB0_34
## %bb.21:
	movq	_WLAN_STA_ASSOC@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_18:
	movq	_WLAN_STA_ASSOC@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_22:
	movq	8(%r15), %rax
	movl	12(%rax), %ecx
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_23
LBB0_25:
	movq	(%rax), %rdi
	callq	_atomic_dec
	jmp	LBB0_26
LBB0_29:
	movq	_NL80211_IFTYPE_AP_VLAN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_32
## %bb.30:
	cmpl	$0, 8(%rax)
	je	LBB0_31
LBB0_32:
	movq	_WLAN_STA_AUTHORIZED@GOTPCREL(%rip), %rax
LBB0_33:
	movl	(%rax), %edi
	leaq	4(%r15), %rsi
	callq	_set_bit
	jmp	LBB0_34
LBB0_23:
	movq	_NL80211_IFTYPE_AP_VLAN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_26
## %bb.24:
	cmpl	$0, 8(%rax)
	je	LBB0_25
LBB0_26:
	movq	_WLAN_STA_AUTHORIZED@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %edi
	leaq	4(%r15), %rsi
	callq	_clear_bit
LBB0_34:
	movl	%r14d, (%r15)
	xorl	%ebx, %ebx
LBB0_35:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_7
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_27, LBB0_27-LJTI0_1
.set L0_1_set_15, LBB0_15-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
LJTI0_1:
	.long	L0_1_set_12
	.long	L0_1_set_27
	.long	L0_1_set_15
	.long	L0_1_set_19
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid state %d"

L_.str.1:                               ## @.str.1
	.asciz	"moving STA %pM to state %d\n"

	.comm	_WLAN_STA_INSERTED,4,2          ## @WLAN_STA_INSERTED
	.comm	_WLAN_STA_AUTH,4,2              ## @WLAN_STA_AUTH
	.comm	_WLAN_STA_ASSOC,4,2             ## @WLAN_STA_ASSOC
	.comm	_NL80211_IFTYPE_AP,4,2          ## @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_AP_VLAN,4,2     ## @NL80211_IFTYPE_AP_VLAN
	.comm	_WLAN_STA_AUTHORIZED,4,2        ## @WLAN_STA_AUTHORIZED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sta_info_move_state            ; -- Begin function sta_info_move_state
	.p2align	2
_sta_info_move_state:                   ; @sta_info_move_state
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_might_sleep
	ldr	w8, [x20]
	cmp	w8, w19
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_37
LBB0_2:
	sub	w21, w19, #128
	cmp	w21, #3
	b.hi	LBB0_5
; %bb.3:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x21]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	cmp	w8, #130
	b.eq	LBB0_8
	b	LBB0_15
LBB0_5:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_WARN
	b	LBB0_15
LBB0_6:
	cmp	w8, #128
	b.eq	LBB0_8
LBB0_7:
	cmp	w8, #131
	b.ne	LBB0_15
LBB0_8:
	ldr	x0, [x20, #8]
	ldr	w2, [x20, #20]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x3, x19
	bl	_sta_dbg
Lloh6:
	adrp	x8, _WLAN_STA_INSERTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WLAN_STA_INSERTED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_test_sta_flag
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w0, [x20, #16]
	ldr	x1, [x20, #8]
	ldr	w3, [x20]
	mov	x2, x20
	mov	x4, x19
	bl	_drv_sta_state
	cbnz	w0, LBB0_37
LBB0_10:
	cmp	w21, #3
	b.hi	LBB0_36
; %bb.11:
Lloh9:
	adrp	x8, lJTI0_1@PAGE
Lloh10:
	add	x8, x8, lJTI0_1@PAGEOFF
	adr	x9, LBB0_12
	ldrb	w10, [x8, x21]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_12:
	ldr	w8, [x20]
	cmp	w8, #130
	b.ne	LBB0_36
; %bb.13:
Lloh11:
	adrp	x8, _WLAN_STA_AUTH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WLAN_STA_AUTH@GOTPAGEOFF]
	b	LBB0_35
LBB0_14:
	sub	w8, w8, #129
	cmp	w8, #2
	b.lo	LBB0_8
LBB0_15:
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_37
LBB0_16:
	ldr	w8, [x20]
	cmp	w8, #131
	b.ne	LBB0_36
; %bb.17:
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #12]
Lloh16:
	adrp	x10, _NL80211_IFTYPE_AP@GOTPAGE
Lloh17:
	ldr	x10, [x10, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_28
LBB0_18:
	ldr	x0, [x8]
	bl	_atomic_inc
	b	LBB0_30
LBB0_19:
	ldr	w8, [x20]
	cmp	w8, #131
	b.eq	LBB0_25
; %bb.20:
	cmp	w8, #128
	b.ne	LBB0_36
; %bb.21:
Lloh19:
	adrp	x8, _WLAN_STA_AUTH@GOTPAGE
Lloh20:
	ldr	x8, [x8, _WLAN_STA_AUTH@GOTPAGEOFF]
	b	LBB0_31
LBB0_22:
	ldr	w8, [x20]
	cmp	w8, #129
	b.eq	LBB0_26
; %bb.23:
	cmp	w8, #130
	b.ne	LBB0_36
; %bb.24:
Lloh21:
	adrp	x8, _WLAN_STA_ASSOC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WLAN_STA_ASSOC@GOTPAGEOFF]
	b	LBB0_31
LBB0_25:
Lloh23:
	adrp	x8, _WLAN_STA_ASSOC@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WLAN_STA_ASSOC@GOTPAGEOFF]
	b	LBB0_35
LBB0_26:
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #12]
Lloh25:
	adrp	x10, _NL80211_IFTYPE_AP@GOTPAGE
Lloh26:
	ldr	x10, [x10, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_32
LBB0_27:
	ldr	x0, [x8]
	bl	_atomic_dec
	b	LBB0_34
LBB0_28:
Lloh28:
	adrp	x10, _NL80211_IFTYPE_AP_VLAN@GOTPAGE
Lloh29:
	ldr	x10, [x10, _NL80211_IFTYPE_AP_VLAN@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_30
; %bb.29:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_18
LBB0_30:
Lloh31:
	adrp	x8, _WLAN_STA_AUTHORIZED@GOTPAGE
Lloh32:
	ldr	x8, [x8, _WLAN_STA_AUTHORIZED@GOTPAGEOFF]
LBB0_31:
	ldr	w0, [x8]
	add	x1, x20, #4
	bl	_set_bit
	b	LBB0_36
LBB0_32:
Lloh33:
	adrp	x10, _NL80211_IFTYPE_AP_VLAN@GOTPAGE
Lloh34:
	ldr	x10, [x10, _NL80211_IFTYPE_AP_VLAN@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_34
; %bb.33:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_27
LBB0_34:
Lloh36:
	adrp	x8, _WLAN_STA_AUTHORIZED@GOTPAGE
Lloh37:
	ldr	x8, [x8, _WLAN_STA_AUTHORIZED@GOTPAGEOFF]
LBB0_35:
	ldr	w0, [x8]
	add	x1, x20, #4
	bl	_clear_bit
LBB0_36:
	mov	w0, #0
	str	w19, [x20]
LBB0_37:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
lJTI0_1:
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_19-LBB0_12)>>2
	.byte	(LBB0_22-LBB0_12)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid state %d"

l_.str.1:                               ; @.str.1
	.asciz	"moving STA %pM to state %d\n"

	.comm	_WLAN_STA_INSERTED,4,2          ; @WLAN_STA_INSERTED
	.comm	_WLAN_STA_AUTH,4,2              ; @WLAN_STA_AUTH
	.comm	_WLAN_STA_ASSOC,4,2             ; @WLAN_STA_ASSOC
	.comm	_NL80211_IFTYPE_AP,4,2          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_AP_VLAN,4,2     ; @NL80211_IFTYPE_AP_VLAN
	.comm	_WLAN_STA_AUTHORIZED,4,2        ; @WLAN_STA_AUTHORIZED
.subsections_via_symbols
