	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_mac_tdls_peer_update
_ath10k_mac_tdls_peer_update:           ## @ath10k_mac_tdls_peer_update
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	$0, -68(%rbp)
	movl	$0, -56(%rbp)
	movl	$0, -40(%rbp)
	callq	_lockdep_assert_held
	movl	%r14d, -64(%rbp)
	movl	%r12d, -72(%rbp)
	movl	12(%rbx), %esi
	xorl	%edi, %edi
	callq	_ether_addr_copy
	movl	8(%rbx), %eax
	movl	%eax, -48(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -52(%rbp)
	movq	_WMI_TDLS_PEER_STATE_CONNECTED@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_3
## %bb.1:
	cmpl	$0, (%rbx)
	jne	LBB0_3
## %bb.2:
	movl	$1, -56(%rbp)
LBB0_3:
	leaq	-72(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r15, %rdi
	callq	_ath10k_wmi_tdls_peer_update
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	-68(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	callq	_ath10k_warn
LBB0_5:
	movl	%ebx, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_TDLS_PEER_STATE_CONNECTED,4,2 ## @WMI_TDLS_PEER_STATE_CONNECTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to update tdls peer %pM on vdev %i: %i\n"

	.no_dead_strip	_ath10k_mac_tdls_peer_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_mac_tdls_peer_update
_ath10k_mac_tdls_peer_update:           ; @ath10k_mac_tdls_peer_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #36]
	str	wzr, [sp, #16]
	str	wzr, [sp, #8]
	bl	_lockdep_assert_held
	str	w19, [sp, #40]
	str	w22, [sp, #32]
	ldr	w1, [x21, #12]
	mov	w0, #0
	bl	_ether_addr_copy
	ldur	d0, [x21, #4]
	stur	d0, [sp, #20]
Lloh0:
	adrp	x8, _WMI_TDLS_PEER_STATE_CONNECTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_TDLS_PEER_STATE_CONNECTED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x21]
	cbnz	w8, LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [sp, #16]
LBB0_3:
	add	x1, sp, #32
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x20
	bl	_ath10k_wmi_tdls_peer_update
	mov	x21, x0
	cbz	w0, LBB0_5
; %bb.4:
	ldr	w2, [sp, #36]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	mov	x4, x21
	bl	_ath10k_warn
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_TDLS_PEER_STATE_CONNECTED,4,2 ; @WMI_TDLS_PEER_STATE_CONNECTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to update tdls peer %pM on vdev %i: %i\n"

	.no_dead_strip	_ath10k_mac_tdls_peer_update
.subsections_via_symbols
