	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_htc_remove_station
_ath9k_htc_remove_station:              ## @ath9k_htc_remove_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	16(%rdi), %edi
	callq	_ath9k_hw_common
	movq	%rax, %r14
	movq	(%r12), %r12
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	jmp	LBB0_3
LBB0_2:
	movq	(%r12), %rax
	shlq	$2, %rax
	addq	(%r15), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_WMI_NODE_REMOVE_CMDID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-36(%rbp), %rsi
	callq	_WMI_CMD_BUF
	movq	_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movq	(%rbx), %rcx
	movl	-36(%rbp), %r8d
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_6
LBB0_5:
	movq	(%r12), %rcx
	movl	-36(%rbp), %r8d
	leaq	L_.str.2(%rip), %rdx
LBB0_6:
	movq	%r14, %rdi
	callq	_ath_dbg
	movb	-36(%rbp), %cl
	movl	$-2, %eax
	roll	%cl, %eax
	andl	%eax, 8(%r15)
	decl	12(%r15)
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_NODE_REMOVE_CMDID,4,2      ## @WMI_NODE_REMOVE_CMDID
	.comm	_CONFIG,4,2                     ## @CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Removed a station entry for: %pM (idx: %d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"Removed a station entry for VIF %d (idx: %d)\n"

	.no_dead_strip	_ath9k_htc_remove_station
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_htc_remove_station
_ath9k_htc_remove_station:              ; @ath9k_htc_remove_station
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_ath9k_hw_common
	mov	x20, x0
	ldr	x22, [x22]
	cbz	x21, LBB0_2
; %bb.1:
	ldr	x8, [x21, #8]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x8, x8, x9, lsl #2
LBB0_3:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh0:
	adrp	x8, _WMI_NODE_REMOVE_CMDID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_NODE_REMOVE_CMDID@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #12
	bl	_WMI_CMD_BUF
Lloh3:
	adrp	x8, _CONFIG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CONFIG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	cbz	x21, LBB0_5
; %bb.4:
	ldr	x3, [x21]
	ldr	w4, [sp, #12]
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
	ldr	x3, [x22]
	ldr	w4, [sp, #12]
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_6:
	mov	x0, x20
	bl	_ath_dbg
	ldr	w8, [sp, #12]
	mov	w9, #1
	lsl	w8, w9, w8
	mvn	w8, w8
	ldr	d0, [x19, #8]
	movi.2d	v1, #0xffffffffffffffff
	movi.2d	v2, #0xffffffffffffffff
	mov.s	v2[0], w8
	and.8b	v2, v0, v2
	add.2s	v0, v0, v1
	mov.s	v2[1], v0[1]
	str	d2, [x19, #8]
	mov	w0, #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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_NODE_REMOVE_CMDID,4,2      ; @WMI_NODE_REMOVE_CMDID
	.comm	_CONFIG,4,2                     ; @CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Removed a station entry for: %pM (idx: %d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"Removed a station entry for VIF %d (idx: %d)\n"

	.no_dead_strip	_ath9k_htc_remove_station
.subsections_via_symbols
