	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_deactivate_station         ## -- Begin function iwl_deactivate_station
	.p2align	4, 0x90
_iwl_deactivate_station:                ## @iwl_deactivate_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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_iwl_is_ready
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_IWL_DEBUG_ASSOC
	movq	_IWL_INVALID_STATION@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%rbx, (%rax)
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_2
## %bb.8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IWL_DEBUG_INFO                 ## TAILCALL
LBB0_2:
	leaq	8(%r14), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_bh
	movq	16(%r14), %rax
	movq	_IWL_STA_DRIVER_ACTIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edi, %edi
	andl	(%rax,%rbx,4), %ecx
	sete	%dil
	callq	_WARN_ON_ONCE
	movq	_IWL_MAX_TID_COUNT@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	je	LBB0_5
## %bb.3:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	addq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	incq	%r15
	addq	$4, %r12
	cmpq	(%r13), %r15
	jb	LBB0_4
LBB0_5:
	movq	_IWL_STA_DRIVER_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	16(%r14), %rcx
	andl	(%rcx,%rbx,4), %eax
	movl	%eax, (%rcx,%rbx,4)
	movq	_IWL_STA_UCODE_INPROGRESS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	%edx, (%rcx,%rbx,4)
	movq	(%r14), %rax
	leaq	-1(%rax), %rcx
	movq	%rcx, (%r14)
	xorl	%edi, %edi
	testq	%rax, %rax
	setle	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	$0, (%r14)
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to remove station %pM, device not ready.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Deactivating STA: %pM (%d)\n"

	.comm	_IWL_INVALID_STATION,8,3        ## @IWL_INVALID_STATION
	.comm	_IWL_STA_DRIVER_ACTIVE,4,2      ## @IWL_STA_DRIVER_ACTIVE
	.comm	_IWL_MAX_TID_COUNT,8,3          ## @IWL_MAX_TID_COUNT
	.comm	_IWL_STA_UCODE_INPROGRESS,4,2   ## @IWL_STA_UCODE_INPROGRESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_deactivate_station         ; -- Begin function iwl_deactivate_station
	.p2align	2
_iwl_deactivate_station:                ; @iwl_deactivate_station
	.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, x2
	mov	x20, x1
	mov	x19, x0
	bl	_iwl_is_ready
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_IWL_DEBUG_ASSOC
Lloh2:
	adrp	x8, _IWL_INVALID_STATION@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IWL_INVALID_STATION@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x20
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_4
; %bb.2:
	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
LBB0_3:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	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
	b	_IWL_DEBUG_INFO
LBB0_4:
	add	x21, x19, #8
	mov	x0, x21
	bl	_spin_lock_bh
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x20, lsl #2]
Lloh7:
	adrp	x22, _IWL_STA_DRIVER_ACTIVE@GOTPAGE
Lloh8:
	ldr	x22, [x22, _IWL_STA_DRIVER_ACTIVE@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	cset	w0, eq
	bl	_WARN_ON_ONCE
Lloh9:
	adrp	x23, _IWL_MAX_TID_COUNT@GOTPAGE
Lloh10:
	ldr	x23, [x23, _IWL_MAX_TID_COUNT@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x24, #0
	mov	x25, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x20, lsl #3]
	add	x0, x8, x24
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x25, x25, #1
	ldr	x8, [x23]
	add	x24, x24, #4
	cmp	x25, x8
	b.lo	LBB0_6
LBB0_7:
	ldr	w8, [x22]
	ldr	x9, [x19, #16]
	lsl	x10, x20, #2
	ldr	w11, [x9, x10]
	bic	w8, w11, w8
	str	w8, [x9, x10]
Lloh11:
	adrp	x11, _IWL_STA_UCODE_INPROGRESS@GOTPAGE
Lloh12:
	ldr	x11, [x11, _IWL_STA_UCODE_INPROGRESS@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	bic	w8, w8, w11
	str	w8, [x9, x10]
	ldr	x8, [x19]
	subs	x8, x8, #1
	str	x8, [x19]
	cset	w0, lt
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_9
; %bb.8:
	str	xzr, [x19]
LBB0_9:
	mov	x0, x21
	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
	b	_spin_unlock_bh
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to remove station %pM, device not ready.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Deactivating STA: %pM (%d)\n"

	.comm	_IWL_INVALID_STATION,8,3        ; @IWL_INVALID_STATION
	.comm	_IWL_STA_DRIVER_ACTIVE,4,2      ; @IWL_STA_DRIVER_ACTIVE
	.comm	_IWL_MAX_TID_COUNT,8,3          ; @IWL_MAX_TID_COUNT
	.comm	_IWL_STA_UCODE_INPROGRESS,4,2   ; @IWL_STA_UCODE_INPROGRESS
.subsections_via_symbols
