	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_tdls_cancel_channel_switch ## -- Begin function iwl_mvm_tdls_cancel_channel_switch
	.p2align	4, 0x90
_iwl_mvm_tdls_cancel_channel_switch:    ## @iwl_mvm_tdls_cancel_channel_switch
	.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, %r14
	movq	%rsi, %r13
	callq	_IWL_MAC80211_GET_MVM
	movq	%rax, %rbx
	leaq	40(%rax), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_IWL_DEBUG_TDLS
	movq	24(%rbx), %rax
	movq	_IWL_MVM_INVALID_STA@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_IWL_DEBUG_TDLS
	jmp	LBB0_7
LBB0_2:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	48(%rbx), %rcx
	movl	(%rcx,%rax,4), %r13d
	movq	%r15, %rdi
	callq	_lockdep_is_held
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_rcu_dereference_protected
	cmpq	%r14, %rax
	jne	LBB0_7
## %bb.3:
	movq	(%rbx), %rax
	cmpq	24(%rbx), %rax
	jne	LBB0_6
## %bb.4:
	movq	_IWL_MVM_TDLS_SW_IDLE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%r12), %rax
	movq	%rax, 24(%rbx)
	movq	8(%rbx), %r12
	movq	32(%rbx), %rdi
	callq	_dev_kfree_skb
	movq	$0, 32(%rbx)
	movq	%r15, %rdi
	callq	_mutex_unlock
	cmpq	%r13, %r12
	je	LBB0_8
## %bb.5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	imull	(%rax), %edi
	callq	_TU_TO_MS
	movl	%eax, %edi
	callq	_msleep
	jmp	LBB0_8
LBB0_6:
	movq	(%r12), %rax
	movq	%rax, 24(%rbx)
	movq	32(%rbx), %rdi
	callq	_dev_kfree_skb
	movq	$0, 32(%rbx)
LBB0_7:
	movq	%r15, %rdi
	callq	_mutex_unlock
LBB0_8:
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_flush_delayed_work
	movl	(%r14), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IWL_DEBUG_TDLS                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TDLS cancel channel switch with %pM\n"

	.comm	_IWL_MVM_INVALID_STA,8,3        ## @IWL_MVM_INVALID_STA
L_.str.1:                               ## @.str.1
	.asciz	"No ch switch peer - %pM\n"

	.comm	_IWL_MVM_TDLS_SW_IDLE,8,3       ## @IWL_MVM_TDLS_SW_IDLE
L_.str.2:                               ## @.str.2
	.asciz	"TDLS ending channel switch with %pM\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_tdls_cancel_channel_switch ; -- Begin function iwl_mvm_tdls_cancel_channel_switch
	.p2align	2
_iwl_mvm_tdls_cancel_channel_switch:    ; @iwl_mvm_tdls_cancel_channel_switch
	.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	x19, x2
	mov	x22, x1
	bl	_IWL_MAC80211_GET_MVM
	mov	x20, x0
	add	x21, x0, #40
	mov	x0, x21
	bl	_mutex_lock
	ldr	w2, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_IWL_DEBUG_TDLS
	ldr	x8, [x20, #24]
Lloh2:
	adrp	x24, _IWL_MVM_INVALID_STA@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IWL_MVM_INVALID_STA@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w2, [x19]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_IWL_DEBUG_TDLS
	b	LBB0_7
LBB0_2:
	ldr	x9, [x20, #48]
	ldr	w23, [x9, x8, lsl #2]
	mov	x0, x21
	bl	_lockdep_is_held
	mov	x1, x0
	mov	x0, x23
	bl	_rcu_dereference_protected
	cmp	x0, x19
	b.ne	LBB0_7
; %bb.3:
	ldr	x8, [x20]
	ldr	x9, [x20, #24]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldr	x23, [x20, #8]
Lloh6:
	adrp	x8, _IWL_MVM_TDLS_SW_IDLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IWL_MVM_TDLS_SW_IDLE@GOTPAGEOFF]
Lloh8:
	ldr	x25, [x8]
	ldr	x8, [x24]
	str	x8, [x20, #24]
	ldr	x0, [x20, #32]
	bl	_dev_kfree_skb
	str	xzr, [x20, #32]
	mov	x0, x21
	bl	_mutex_unlock
	cmp	x23, x25
	b.eq	LBB0_8
; %bb.5:
	ldp	w8, w9, [x22]
	mul	w0, w9, w8
	bl	_TU_TO_MS
	bl	_msleep
	b	LBB0_8
LBB0_6:
	ldr	x8, [x24]
	str	x8, [x20, #24]
	ldr	x0, [x20, #32]
	bl	_dev_kfree_skb
	str	xzr, [x20, #32]
LBB0_7:
	mov	x0, x21
	bl	_mutex_unlock
LBB0_8:
	add	x0, x20, #16
	bl	_flush_delayed_work
	ldr	w2, [x19]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	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_TDLS
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TDLS cancel channel switch with %pM\n"

	.comm	_IWL_MVM_INVALID_STA,8,3        ; @IWL_MVM_INVALID_STA
l_.str.1:                               ; @.str.1
	.asciz	"No ch switch peer - %pM\n"

	.comm	_IWL_MVM_TDLS_SW_IDLE,8,3       ; @IWL_MVM_TDLS_SW_IDLE
l_.str.2:                               ; @.str.2
	.asciz	"TDLS ending channel switch with %pM\n"

.subsections_via_symbols
