	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_sta_state
_ath9k_sta_state:                       ## @ath9k_sta_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	%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	%r8d, %ebx
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax), %edi
	callq	_ath9k_hw_common
	movq	_IEEE80211_STA_NOTEXIST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_IEEE80211_STA_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%r15d, %edx
	jne	LBB0_3
## %bb.1:
	cmpl	%ebx, %ecx
	jne	LBB0_3
## %bb.2:
	movq	%rax, %r13
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_ath9k_sta_add
	movq	%r13, %rdi
	movl	%eax, %r13d
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_6
LBB0_3:
	xorl	%r13d, %r13d
	cmpl	%r15d, %ecx
	jne	LBB0_7
## %bb.4:
	cmpl	%ebx, %edx
	jne	LBB0_7
## %bb.5:
	movq	%rax, %r13
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_ath9k_sta_remove
	movq	%r13, %rdi
	movl	%eax, %r13d
	leaq	L_.str.1(%rip), %rdx
LBB0_6:
	movq	_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	callq	_ath_dbg
LBB0_7:
	xorl	%eax, %eax
	callq	_ath9k_is_chanctx_enabled
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.9:
	movq	_IEEE80211_STA_ASSOC@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_12
## %bb.10:
	movq	_IEEE80211_STA_AUTHORIZED@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_12
## %bb.11:
	movq	_ATH_CHANCTX_EVENT_AUTHORIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_ath_chanctx_event
LBB0_12:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_STA_NOTEXIST,4,2     ## @IEEE80211_STA_NOTEXIST
	.comm	_IEEE80211_STA_NONE,4,2         ## @IEEE80211_STA_NONE
	.comm	_CONFIG,4,2                     ## @CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Add station: %pM\n"

L_.str.1:                               ## @.str.1
	.asciz	"Remove station: %pM\n"

	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_IEEE80211_STA_ASSOC,4,2        ## @IEEE80211_STA_ASSOC
	.comm	_IEEE80211_STA_AUTHORIZED,4,2   ## @IEEE80211_STA_AUTHORIZED
	.comm	_ATH_CHANCTX_EVENT_AUTHORIZED,4,2 ## @ATH_CHANCTX_EVENT_AUTHORIZED
	.no_dead_strip	_ath9k_sta_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_sta_state
_ath9k_sta_state:                       ; @ath9k_sta_state
	.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, x4
	mov	x22, x3
	mov	x24, x2
	mov	x19, x1
	mov	x23, x0
	ldr	x20, [x0]
	ldr	w0, [x20]
	bl	_ath9k_hw_common
	mov	x25, x0
Lloh0:
	adrp	x8, _IEEE80211_STA_NOTEXIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_STA_NOTEXIST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IEEE80211_STA_NONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_STA_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w22
	ccmp	w9, w21, #0, eq
	b.eq	LBB0_3
; %bb.1:
	cmp	w9, w22
	ccmp	w8, w21, #0, eq
	b.eq	LBB0_4
; %bb.2:
	mov	w23, #0
	bl	_ath9k_is_chanctx_enabled
	cbnz	x0, LBB0_6
	b	LBB0_8
LBB0_3:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x24
	bl	_ath9k_sta_add
	mov	x23, x0
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x24
	bl	_ath9k_sta_remove
	mov	x23, x0
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_5:
Lloh10:
	adrp	x8, _CONFIG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CONFIG@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w3, [x24]
	mov	x0, x25
	bl	_ath_dbg
	bl	_ath9k_is_chanctx_enabled
	cbz	x0, LBB0_8
LBB0_6:
	ldr	x8, [x19]
Lloh13:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh14:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
Lloh16:
	adrp	x10, _IEEE80211_STA_ASSOC@GOTPAGE
Lloh17:
	ldr	x10, [x10, _IEEE80211_STA_ASSOC@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
Lloh19:
	adrp	x11, _IEEE80211_STA_AUTHORIZED@GOTPAGE
Lloh20:
	ldr	x11, [x11, _IEEE80211_STA_AUTHORIZED@GOTPAGEOFF]
Lloh21:
	ldr	w11, [x11]
	cmp	x8, x9
	ccmp	w10, w22, #0, eq
	ccmp	w11, w21, #0, eq
	b.ne	LBB0_8
; %bb.7:
Lloh22:
	adrp	x8, _ATH_CHANCTX_EVENT_AUTHORIZED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ATH_CHANCTX_EVENT_AUTHORIZED@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_ath_chanctx_event
LBB0_8:
	mov	x0, x23
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_STA_NOTEXIST,4,2     ; @IEEE80211_STA_NOTEXIST
	.comm	_IEEE80211_STA_NONE,4,2         ; @IEEE80211_STA_NONE
	.comm	_CONFIG,4,2                     ; @CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Add station: %pM\n"

l_.str.1:                               ; @.str.1
	.asciz	"Remove station: %pM\n"

	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_IEEE80211_STA_ASSOC,4,2        ; @IEEE80211_STA_ASSOC
	.comm	_IEEE80211_STA_AUTHORIZED,4,2   ; @IEEE80211_STA_AUTHORIZED
	.comm	_ATH_CHANCTX_EVENT_AUTHORIZED,4,2 ; @ATH_CHANCTX_EVENT_AUTHORIZED
	.no_dead_strip	_ath9k_sta_state
.subsections_via_symbols
