	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_change_station
_ath6kl_change_station:                 ## @ath6kl_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, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_ath6kl_priv
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_AP_NETWORK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	_CFG80211_STA_AP_MLME_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_cfg80211_check_station_change
	testl	%eax, %eax
	jne	LBB0_2
## %bb.4:
	movl	(%r12), %r12d
	movq	_NL80211_STA_FLAG_AUTHORIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	(%r15), %edi
	movl	8(%rbx), %esi
	testl	%r12d, %eax
	je	LBB0_7
## %bb.5:
	movq	_WMI_AP_MLME_AUTHORIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_WMI_AP_MLME_UNAUTHORIZE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath6kl_wmi_ap_set_mlme         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AP_NETWORK,8,3                 ## @AP_NETWORK
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_CFG80211_STA_AP_MLME_CLIENT,4,2 ## @CFG80211_STA_AP_MLME_CLIENT
	.comm	_NL80211_STA_FLAG_AUTHORIZED,4,2 ## @NL80211_STA_FLAG_AUTHORIZED
	.comm	_WMI_AP_MLME_AUTHORIZE,4,2      ## @WMI_AP_MLME_AUTHORIZE
	.comm	_WMI_AP_MLME_UNAUTHORIZE,4,2    ## @WMI_AP_MLME_UNAUTHORIZE
	.no_dead_strip	_ath6kl_change_station
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_change_station
_ath6kl_change_station:                 ; @ath6kl_change_station
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x19, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x1
	bl	_ath6kl_priv
	mov	x20, x0
	mov	x0, x22
	bl	_netdev_priv
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AP_NETWORK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AP_NETWORK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x22, x0
Lloh3:
	adrp	x8, _CFG80211_STA_AP_MLME_CLIENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CFG80211_STA_AP_MLME_CLIENT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x23
	mov	x1, x21
	bl	_cfg80211_check_station_change
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	w21, [x21]
Lloh6:
	adrp	x8, _NL80211_STA_FLAG_AUTHORIZED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NL80211_STA_FLAG_AUTHORIZED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_BIT
	mov	x8, x0
	ldr	w0, [x20]
	ldr	w1, [x22, #8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.3:
Lloh9:
	adrp	x8, _WMI_AP_MLME_AUTHORIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WMI_AP_MLME_AUTHORIZE@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh11:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh14:
	adrp	x8, _WMI_AP_MLME_UNAUTHORIZE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WMI_AP_MLME_UNAUTHORIZE@GOTPAGEOFF]
LBB0_7:
	ldr	w2, [x8]
	mov	x3, x19
	mov	w4, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ath6kl_wmi_ap_set_mlme
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_AP_NETWORK,8,3                 ; @AP_NETWORK
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_CFG80211_STA_AP_MLME_CLIENT,4,2 ; @CFG80211_STA_AP_MLME_CLIENT
	.comm	_NL80211_STA_FLAG_AUTHORIZED,4,2 ; @NL80211_STA_FLAG_AUTHORIZED
	.comm	_WMI_AP_MLME_AUTHORIZE,4,2      ; @WMI_AP_MLME_AUTHORIZE
	.comm	_WMI_AP_MLME_UNAUTHORIZE,4,2    ; @WMI_AP_MLME_UNAUTHORIZE
	.no_dead_strip	_ath6kl_change_station
.subsections_via_symbols
