	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_tdls_update_cs_state
_iwl_mvm_tdls_update_cs_state:          ## @iwl_mvm_tdls_update_cs_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	cmpl	%esi, %edi
	je	LBB0_5
## %bb.1:
	movl	%esi, %ebx
	callq	_iwl_mvm_tdls_cs_state_str
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_iwl_mvm_tdls_cs_state_str
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_IWL_DEBUG_TDLS
	movl	%ebx, (%r14)
	movq	_IWL_MVM_TDLS_SW_REQ_SENT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_iwl_mvm_get_systime
	movl	%eax, 8(%r14)
LBB0_3:
	movq	_IWL_MVM_TDLS_SW_IDLE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_IWL_MVM_INVALID_STA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TDLS channel switch state: %s -> %s\n"

	.comm	_IWL_MVM_TDLS_SW_REQ_SENT,4,2   ## @IWL_MVM_TDLS_SW_REQ_SENT
	.comm	_IWL_MVM_TDLS_SW_IDLE,4,2       ## @IWL_MVM_TDLS_SW_IDLE
	.comm	_IWL_MVM_INVALID_STA,4,2        ## @IWL_MVM_INVALID_STA
	.no_dead_strip	_iwl_mvm_tdls_update_cs_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_tdls_update_cs_state
_iwl_mvm_tdls_update_cs_state:          ; @iwl_mvm_tdls_update_cs_state
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	ldr	w0, [x0]
	cmp	w0, w1
	b.eq	LBB0_5
; %bb.1:
	mov	x20, x1
	bl	_iwl_mvm_tdls_cs_state_str
	mov	x21, x0
	mov	x0, x20
	bl	_iwl_mvm_tdls_cs_state_str
	mov	x3, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_IWL_DEBUG_TDLS
	str	w20, [x19]
Lloh2:
	adrp	x8, _IWL_MVM_TDLS_SW_REQ_SENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IWL_MVM_TDLS_SW_REQ_SENT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_iwl_mvm_get_systime
	str	w0, [x19, #8]
LBB0_3:
Lloh5:
	adrp	x8, _IWL_MVM_TDLS_SW_IDLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IWL_MVM_TDLS_SW_IDLE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _IWL_MVM_INVALID_STA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IWL_MVM_INVALID_STA@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #4]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TDLS channel switch state: %s -> %s\n"

	.comm	_IWL_MVM_TDLS_SW_REQ_SENT,4,2   ; @IWL_MVM_TDLS_SW_REQ_SENT
	.comm	_IWL_MVM_TDLS_SW_IDLE,4,2       ; @IWL_MVM_TDLS_SW_IDLE
	.comm	_IWL_MVM_INVALID_STA,4,2        ; @IWL_MVM_INVALID_STA
	.no_dead_strip	_iwl_mvm_tdls_update_cs_state
.subsections_via_symbols
