	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_wmi_handle_tdls_peer_event
_ath10k_wmi_handle_tdls_peer_event:     ## @ath10k_wmi_handle_tdls_peer_event
	.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	%rdi, %r13
	movl	(%rsi), %edx
	cmpl	$15, %edx
	ja	LBB0_1
## %bb.9:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_err                     ## TAILCALL
LBB0_1:
	movq	8(%rsi), %r14
	movl	12(%r14), %edi
	callq	___le32_to_cpu
	movl	%eax, %r15d
	movl	8(%r14), %edi
	callq	___le32_to_cpu
	movl	%eax, %r12d
	movl	4(%r14), %edi
	callq	___le32_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_spin_lock_bh
	movl	(%r14), %edx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_ath10k_peer_find
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_spin_unlock_bh
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	cmpl	$131, %r12d
	jne	LBB0_8
## %bb.4:
	movq	_WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_ath10k_get_arvif
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	cmovbl	%ebx, %r12d
	movl	(%rax), %edi
	movl	(%r14), %esi
	movq	_NL80211_TDLS_TEARDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r12d, %ecx
	callq	_ieee80211_tdls_oper_request
	movq	_ATH10K_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	leaq	L_.str.3(%rip), %rdx
	movq	%r13, %rdi
	movl	%r15d, %r8d
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_dbg                     ## TAILCALL
LBB0_2:
	movl	(%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	jmp	LBB0_6
LBB0_8:
	movq	_ATH10K_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r13, %rdi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_dbg                     ## TAILCALL
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movl	%r15d, %edx
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_warn                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"received tdls peer event with invalid size (%d bytes)\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to find peer entry for %pM\n"

	.comm	_WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE,4,2 ## @WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE
	.comm	_WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED,4,2 ## @WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED
L_.str.2:                               ## @.str.2
	.asciz	"received tdls peer event for invalid vdev id %u\n"

	.comm	_NL80211_TDLS_TEARDOWN,4,2      ## @NL80211_TDLS_TEARDOWN
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ATH10K_DBG_WMI,4,2             ## @ATH10K_DBG_WMI
L_.str.3:                               ## @.str.3
	.asciz	"received tdls teardown event for peer %pM reason %u\n"

L_.str.4:                               ## @.str.4
	.asciz	"received unknown tdls peer event %u\n"

	.no_dead_strip	_ath10k_wmi_handle_tdls_peer_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_wmi_handle_tdls_peer_event
_ath10k_wmi_handle_tdls_peer_event:     ; @ath10k_wmi_handle_tdls_peer_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	ldr	w2, [x1]
	cmp	w2, #15
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	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
	add	sp, sp, #80
	b	_ath10k_err
LBB0_2:
	ldr	x24, [x1, #8]
	ldr	w0, [x24, #12]
	bl	___le32_to_cpu
	mov	x21, x0
	ldr	w0, [x24, #8]
	bl	___le32_to_cpu
	mov	x22, x0
	ldr	w0, [x24, #4]
	bl	___le32_to_cpu
	mov	x20, x0
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x21
	bl	_ath10k_peer_find
	mov	x23, x0
	mov	x0, x19
	bl	_spin_unlock_bh
	cbz	x23, LBB0_6
; %bb.3:
	cmp	w22, #131
	b.ne	LBB0_7
; %bb.4:
Lloh2:
	adrp	x8, _WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE@GOTPAGEOFF]
Lloh4:
	ldr	w22, [x8]
Lloh5:
	adrp	x8, _WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED@GOTPAGEOFF]
Lloh7:
	ldr	w23, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_ath10k_get_arvif
	cbz	x0, LBB0_8
; %bb.5:
	sub	w8, w20, #128
	cmp	w8, #3
	csel	w3, w22, w23, lo
	ldr	w0, [x0]
	ldr	w1, [x24]
Lloh8:
	adrp	x8, _NL80211_TDLS_TEARDOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NL80211_TDLS_TEARDOWN@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	bl	_ieee80211_tdls_oper_request
Lloh14:
	adrp	x8, _ATH10K_DBG_WMI@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ATH10K_DBG_WMI@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w3, [x24]
	str	x20, [sp]
Lloh17:
	adrp	x2, l_.str.3@PAGE
Lloh18:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_ath10k_dbg
	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
	add	sp, sp, #80
	ret
LBB0_6:
	ldr	w2, [x24]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	b	LBB0_9
LBB0_7:
Lloh21:
	adrp	x8, _ATH10K_DBG_WMI@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ATH10K_DBG_WMI@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x2, l_.str.4@PAGE
Lloh25:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x3, x22
	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
	add	sp, sp, #80
	b	_ath10k_dbg
LBB0_8:
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x21
LBB0_9:
	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
	add	sp, sp, #80
	b	_ath10k_warn
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"received tdls peer event with invalid size (%d bytes)\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to find peer entry for %pM\n"

	.comm	_WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE,4,2 ; @WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE
	.comm	_WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED,4,2 ; @WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED
l_.str.2:                               ; @.str.2
	.asciz	"received tdls peer event for invalid vdev id %u\n"

	.comm	_NL80211_TDLS_TEARDOWN,4,2      ; @NL80211_TDLS_TEARDOWN
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ATH10K_DBG_WMI,4,2             ; @ATH10K_DBG_WMI
l_.str.3:                               ; @.str.3
	.asciz	"received tdls teardown event for peer %pM reason %u\n"

l_.str.4:                               ; @.str.4
	.asciz	"received unknown tdls peer event %u\n"

	.no_dead_strip	_ath10k_wmi_handle_tdls_peer_event
.subsections_via_symbols
