	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_tdls_check_action
_iwl_mvm_tdls_check_action:             ## @iwl_mvm_tdls_check_action
	.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	%ecx, %r10d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r11d
	movq	%rdi, %r13
	xorl	%ebx, %ebx
	cmpl	$131, (%rdi)
	movl	$0, %r9d
	jne	LBB0_3
LBB0_1:
	movq	_TDLS_MOVE_CH@GOTPCREL(%rip), %rax
	cmpl	%r11d, (%rax)
	jne	LBB0_27
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	$131, %ecx
	jmp	LBB0_24
LBB0_3:
	movl	%r8d, %r14d
	movq	8(%r13), %rax
	movq	_IWL_MVM_INVALID_STA@GOTPCREL(%rip), %rcx
	movl	$0, %r9d
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.4:
	movq	32(%r13), %rcx
	movl	(%rcx,%rax,4), %r15d
	leaq	24(%r13), %rdi
	movl	%r10d, %r12d
	movl	%r11d, -44(%rbp)                ## 4-byte Spill
	callq	_lockdep_is_held
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_rcu_dereference_protected
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	movl	-44(%rbp), %r11d                ## 4-byte Reload
	movl	%r12d, %r10d
	movl	$0, %r9d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movl	(%r15), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ether_addr_equal
	movl	-44(%rbp), %r11d                ## 4-byte Reload
	movl	%r12d, %r10d
	movl	%eax, %r9d
LBB0_6:
	movl	(%r13), %ecx
	leal	-128(%rcx), %edx
	cmpl	$4, %edx
	ja	LBB0_26
## %bb.7:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_8:
	movl	$129, %ecx
	testl	%r9d, %r9d
	je	LBB0_23
## %bb.9:
	movq	_TDLS_SEND_CHAN_SW_RESP_AND_MOVE_CH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	xorl	%r11d, %edx
	orl	%r10d, %edx
	je	LBB0_24
## %bb.10:
	movq	_TDLS_SEND_CHAN_SW_REQ@GOTPCREL(%rip), %rdx
	cmpl	%r11d, (%rdx)
	je	LBB0_24
## %bb.11:
	xorl	%ebx, %ebx
	cmpl	%r14d, 16(%r13)
	jl	LBB0_27
## %bb.12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_14:
	movq	_TDLS_SEND_CHAN_SW_REQ@GOTPCREL(%rip), %rcx
	cmpl	%r11d, (%rcx)
	jne	LBB0_20
## %bb.15:
	movl	$130, %ecx
	testl	%r9d, %r9d
	je	LBB0_23
## %bb.16:
	testl	%r10d, %r10d
	jne	LBB0_24
	jmp	LBB0_26
LBB0_18:
	movq	_TDLS_MOVE_CH@GOTPCREL(%rip), %rdx
	movl	$132, %ecx
	cmpl	%r11d, (%rdx)
	jne	LBB0_24
## %bb.19:
	movl	$0, %ebx
	testl	%r9d, %r9d
	jne	LBB0_27
	jmp	LBB0_24
LBB0_23:
	xorl	%r9d, %r9d
	jmp	LBB0_24
LBB0_20:
	movq	_TDLS_MOVE_CH@GOTPCREL(%rip), %rax
	movl	$0, %ebx
	cmpl	%r11d, (%rax)
	jne	LBB0_27
## %bb.21:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	$130, %ecx
LBB0_24:
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_26
## %bb.25:
	negl	%ebx
	movl	%r10d, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movl	%r11d, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_IWL_DEBUG_TDLS
	jmp	LBB0_27
LBB0_26:
	xorl	%ebx, %ebx
LBB0_27:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_24
	.long	L0_0_set_8
	.long	L0_0_set_14
	.long	L0_0_set_1
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_IWL_MVM_INVALID_STA,8,3        ## @IWL_MVM_INVALID_STA
	.comm	_TDLS_MOVE_CH,4,2               ## @TDLS_MOVE_CH
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_TDLS_SEND_CHAN_SW_RESP_AND_MOVE_CH,4,2 ## @TDLS_SEND_CHAN_SW_RESP_AND_MOVE_CH
	.comm	_TDLS_SEND_CHAN_SW_REQ,4,2      ## @TDLS_SEND_CHAN_SW_REQ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid TDLS action %d state %d peer %pM same_peer %d initiator %d\n"

	.no_dead_strip	_iwl_mvm_tdls_check_action
.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_check_action
_iwl_mvm_tdls_check_action:             ; @iwl_mvm_tdls_check_action
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w8, [x0]
	cmp	w8, #131
	b.ne	LBB0_4
; %bb.1:
	mov	w5, #0
LBB0_2:
Lloh0:
	adrp	x8, _TDLS_MOVE_CH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TDLS_MOVE_CH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_25
; %bb.3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	mov	w3, #131
Lloh5:
	ldr	w8, [x8]
	cbnz	w8, LBB0_21
	b	LBB0_25
LBB0_4:
	mov	x23, x4
	ldr	x8, [x22, #8]
Lloh6:
	adrp	x9, _IWL_MVM_INVALID_STA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IWL_MVM_INVALID_STA@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.5:
	ldr	x9, [x22, #32]
	ldr	w24, [x9, x8, lsl #2]
	add	x0, x22, #24
	bl	_lockdep_is_held
	mov	x1, x0
	mov	x0, x24
	bl	_rcu_dereference_protected
	mov	x24, x0
	bl	_IS_ERR_OR_NULL
	cbz	w0, LBB0_13
LBB0_6:
	mov	w5, #0
LBB0_7:
	ldr	w3, [x22]
	sub	w9, w3, #128
	cmp	w9, #4
	b.hi	LBB0_25
; %bb.8:
Lloh9:
	adrp	x8, _EBUSY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh11:
	adrp	x10, lJTI0_0@PAGE
Lloh12:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_9:
	cbz	w5, LBB0_11
; %bb.10:
Lloh13:
	adrp	x8, _TDLS_SEND_CHAN_SW_RESP_AND_MOVE_CH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TDLS_SEND_CHAN_SW_RESP_AND_MOVE_CH@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w8, w21
	ccmp	w19, #0, #0, eq
Lloh16:
	adrp	x8, _TDLS_SEND_CHAN_SW_REQ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TDLS_SEND_CHAN_SW_REQ@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ccmp	w8, w21, #4, ne
	b.ne	LBB0_24
LBB0_11:
Lloh19:
	adrp	x8, _EBUSY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_12:
	mov	w3, #129
	ldr	w8, [x8]
	cbnz	w8, LBB0_21
	b	LBB0_25
LBB0_13:
	ldr	w1, [x24]
	mov	x0, x20
	bl	_ether_addr_equal
	mov	x5, x0
	b	LBB0_7
LBB0_14:
Lloh21:
	adrp	x8, _TDLS_SEND_CHAN_SW_REQ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TDLS_SEND_CHAN_SW_REQ@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_22
; %bb.15:
	cbz	w5, LBB0_17
; %bb.16:
	cbz	w19, LBB0_25
LBB0_17:
Lloh24:
	adrp	x8, _EBUSY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	mov	w3, #130
Lloh26:
	ldr	w8, [x8]
	cbnz	w8, LBB0_21
	b	LBB0_25
LBB0_18:
Lloh27:
	adrp	x8, _TDLS_MOVE_CH@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TDLS_MOVE_CH@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmp	w8, w21
	ccmp	w5, #0, #4, eq
	b.ne	LBB0_25
; %bb.19:
Lloh30:
	adrp	x8, _EBUSY@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	mov	w3, #132
LBB0_20:
	ldr	w8, [x8]
	cbz	w8, LBB0_25
LBB0_21:
	neg	w23, w8
Lloh32:
	adrp	x1, l_.str@PAGE
Lloh33:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x21
	mov	x4, x20
	mov	x6, x19
	bl	_IWL_DEBUG_TDLS
	b	LBB0_26
LBB0_22:
Lloh34:
	adrp	x8, _TDLS_MOVE_CH@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TDLS_MOVE_CH@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_25
; %bb.23:
Lloh37:
	adrp	x8, _EINVAL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	mov	w3, #130
Lloh39:
	ldr	w8, [x8]
	cbnz	w8, LBB0_21
	b	LBB0_25
LBB0_24:
	ldr	w8, [x22, #16]
	cmp	w8, w23
	b.ge	LBB0_27
LBB0_25:
	mov	w23, #0
LBB0_26:
	mov	x0, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_27:
Lloh40:
	adrp	x8, _EINVAL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_20-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
                                        ; -- End function
	.comm	_IWL_MVM_INVALID_STA,8,3        ; @IWL_MVM_INVALID_STA
	.comm	_TDLS_MOVE_CH,4,2               ; @TDLS_MOVE_CH
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_TDLS_SEND_CHAN_SW_RESP_AND_MOVE_CH,4,2 ; @TDLS_SEND_CHAN_SW_RESP_AND_MOVE_CH
	.comm	_TDLS_SEND_CHAN_SW_REQ,4,2      ; @TDLS_SEND_CHAN_SW_REQ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid TDLS action %d state %d peer %pM same_peer %d initiator %d\n"

	.no_dead_strip	_iwl_mvm_tdls_check_action
.subsections_via_symbols
