	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wil_cfg80211_change_station
_wil_cfg80211_change_station:           ## @wil_cfg80211_change_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_ndev_to_vif
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r12, %rbx
	callq	_wiphy_to_wil
	movq	%rax, %r12
	movl	(%rbx), %ecx
	movl	4(%rbx), %r8d
	movl	(%r14), %r9d
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_wil_dbg_misc
	movq	_disable_ap_sme@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ebx
	movq	_NL80211_STA_FLAG_AUTHORIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_14
## %bb.2:
	movl	(%r14), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_wil_find_cid
	testl	%eax, %eax
	js	LBB0_8
## %bb.3:
	movl	%eax, %r15d
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_11
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	movq	(%rdi,%rbx,8), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_5
	jmp	LBB0_11
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_wil_dbg_misc
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_12
LBB0_9:
	movq	8(%r12), %r14
	testq	%r14, %r14
	je	LBB0_11
## %bb.10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %r13d
	movq	_NL80211_STA_FLAG_AUTHORIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	xorl	%r8d, %r8d
	testl	%r13d, %eax
	setne	%r8b
	movl	%r8d, (%r14,%rbx,4)
	leaq	L_.str.4(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_wil_dbg_misc
	jmp	LBB0_14
LBB0_11:
	leaq	L_.str.3(%rip), %rsi
LBB0_12:
	movq	%r12, %rdi
	callq	_wil_err
	movq	_ENOLINK@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
LBB0_13:
	subl	(%rax), %r13d
LBB0_14:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"change station %pM mask 0x%x set 0x%x mid %d\n"

	.comm	_disable_ap_sme,4,2             ## @disable_ap_sme
L_.str.1:                               ## @.str.1
	.asciz	"not supported with AP SME enabled\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NL80211_STA_FLAG_AUTHORIZED,4,2 ## @NL80211_STA_FLAG_AUTHORIZED
L_.str.2:                               ## @.str.2
	.asciz	"station not found\n"

	.comm	_ENOLINK,4,2                    ## @ENOLINK
L_.str.3:                               ## @.str.3
	.asciz	"ring data not found\n"

L_.str.4:                               ## @.str.4
	.asciz	"cid %d ring %d authorize %d\n"

	.no_dead_strip	_wil_cfg80211_change_station
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wil_cfg80211_change_station
_wil_cfg80211_change_station:           ; @wil_cfg80211_change_station
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x3
	mov	x21, x2
	mov	x19, x0
	mov	x0, x1
	bl	_ndev_to_vif
	mov	x22, x0
	mov	x0, x19
	bl	_wiphy_to_wil
	mov	x19, x0
	ldp	w8, w9, [x20]
	ldr	w10, [x22]
	stp	x9, x10, [sp, #16]
	stp	x21, x8, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wil_dbg_misc
Lloh2:
	adrp	x8, _disable_ap_sme@GOTPAGE
Lloh3:
	ldr	x8, [x8, _disable_ap_sme@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbz	w8, LBB0_7
; %bb.1:
	ldr	w24, [x20]
Lloh5:
	adrp	x23, _NL80211_STA_FLAG_AUTHORIZED@GOTPAGE
Lloh6:
	ldr	x23, [x23, _NL80211_STA_FLAG_AUTHORIZED@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_BIT
	tst	w0, w24
	b.eq	LBB0_11
; %bb.2:
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x21
	bl	_wil_find_cid
	tbnz	w0, #31, LBB0_8
; %bb.3:
	mov	x21, x0
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.4:
	mov	x22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	ldr	x8, [x0, x22, lsl #3]
	ldr	w8, [x8]
	cmp	w8, w21
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_5
	b	LBB0_12
LBB0_7:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_wil_dbg_misc
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_14
LBB0_8:
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_9:
	ldr	x24, [x19, #8]
	cbz	x24, LBB0_12
; %bb.10:
	ldr	w20, [x20, #4]
	ldr	w0, [x23]
	bl	_BIT
	tst	w0, w20
	cset	w8, ne
	str	w8, [x24, x22, lsl #2]
	stp	x22, x8, [sp, #8]
	str	x21, [sp]
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_wil_dbg_misc
LBB0_11:
	mov	w0, #0
	b	LBB0_15
LBB0_12:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_13:
	mov	x0, x19
	bl	_wil_err
Lloh17:
	adrp	x8, _ENOLINK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOLINK@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"change station %pM mask 0x%x set 0x%x mid %d\n"

	.comm	_disable_ap_sme,4,2             ; @disable_ap_sme
l_.str.1:                               ; @.str.1
	.asciz	"not supported with AP SME enabled\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NL80211_STA_FLAG_AUTHORIZED,4,2 ; @NL80211_STA_FLAG_AUTHORIZED
l_.str.2:                               ; @.str.2
	.asciz	"station not found\n"

	.comm	_ENOLINK,4,2                    ; @ENOLINK
l_.str.3:                               ; @.str.3
	.asciz	"ring data not found\n"

l_.str.4:                               ; @.str.4
	.asciz	"cid %d ring %d authorize %d\n"

	.no_dead_strip	_wil_cfg80211_change_station
.subsections_via_symbols
