	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_wmi_event_tdls_peer
_ath10k_wmi_event_tdls_peer:            ## @ath10k_wmi_event_tdls_peer
	.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, %rbx
	movl	(%rsi), %edx
	movl	4(%rsi), %esi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	callq	_ath10k_wmi_tlv_parse_alloc
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_warn                    ## TAILCALL
LBB0_3:
	movq	_WMI_TLV_TAG_STRUCT_TDLS_PEER_EVENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %r13
	testq	%r13, %r13
	je	LBB0_4
## %bb.5:
	movl	8(%r13), %edi
	callq	___le32_to_cpu
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_9
## %bb.6:
	movl	(%rbx), %edi
	movl	4(%r13), %esi
	xorl	%edx, %edx
	callq	_ieee80211_find_sta_by_ifaddr
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r15
	movl	(%r13), %edi
	callq	___le32_to_cpu
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ath10k_get_arvif
	movl	(%rax), %edi
	movl	(%r15), %esi
	movq	_NL80211_TDLS_TEARDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r12), %r8d
	callq	_ieee80211_tdls_oper_request
	jmp	LBB0_9
LBB0_4:
	movq	%r14, %rdi
	callq	_kfree
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ath10k_warn
LBB0_9:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tdls peer failed to parse tlv"

	.comm	_WMI_TLV_TAG_STRUCT_TDLS_PEER_EVENT,8,3 ## @WMI_TLV_TAG_STRUCT_TDLS_PEER_EVENT
L_.str.1:                               ## @.str.1
	.asciz	"tdls peer NULL event"

L_.str.2:                               ## @.str.2
	.asciz	"did not find station from tdls peer event"

	.comm	_NL80211_TDLS_TEARDOWN,4,2      ## @NL80211_TDLS_TEARDOWN
	.comm	_WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE,4,2 ## @WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE
	.no_dead_strip	_ath10k_wmi_event_tdls_peer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_wmi_event_tdls_peer
_ath10k_wmi_event_tdls_peer:            ; @ath10k_wmi_event_tdls_peer
	.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	x20, x0
	ldp	w2, w8, [x1]
Lloh0:
	adrp	x22, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x1, x8
	bl	_ath10k_wmi_tlv_parse_alloc
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x20
	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
	b	_ath10k_warn
LBB0_3:
Lloh4:
	adrp	x8, _WMI_TLV_TAG_STRUCT_TDLS_PEER_EVENT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _WMI_TLV_TAG_STRUCT_TDLS_PEER_EVENT@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	x23, [x19, x8, lsl #3]
	cbz	x23, LBB0_7
; %bb.4:
	ldr	w0, [x23, #8]
	bl	___le32_to_cpu
	sub	w8, w0, #128
	cmp	w8, #2
	b.hi	LBB0_9
; %bb.5:
	ldr	w0, [x20]
	ldr	w1, [x23, #4]
	mov	x2, #0
	bl	_ieee80211_find_sta_by_ifaddr
	cbz	x0, LBB0_8
; %bb.6:
	mov	x21, x0
	ldr	w0, [x23]
	bl	___le32_to_cpu
	mov	x1, x0
	mov	x0, x20
	bl	_ath10k_get_arvif
	ldr	w0, [x0]
Lloh7:
	adrp	x8, _NL80211_TDLS_TEARDOWN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NL80211_TDLS_TEARDOWN@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	ldr	w4, [x22]
	bl	_ieee80211_tdls_oper_request
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	bl	_kfree
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_8:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_9:
	mov	x0, x19
	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
	b	_kfree
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tdls peer failed to parse tlv"

	.comm	_WMI_TLV_TAG_STRUCT_TDLS_PEER_EVENT,8,3 ; @WMI_TLV_TAG_STRUCT_TDLS_PEER_EVENT
l_.str.1:                               ; @.str.1
	.asciz	"tdls peer NULL event"

l_.str.2:                               ; @.str.2
	.asciz	"did not find station from tdls peer event"

	.comm	_NL80211_TDLS_TEARDOWN,4,2      ; @NL80211_TDLS_TEARDOWN
	.comm	_WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE,4,2 ; @WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE
	.no_dead_strip	_ath10k_wmi_event_tdls_peer
.subsections_via_symbols
