	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_wait_for_peer_delete_done
_ath10k_wait_for_peer_delete_done:      ## @ath10k_wait_for_peer_delete_done
	.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	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_WMI_SERVICE_SYNC_DELETE_CMDS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_ath10k_wait_for_peer_deleted
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_warn                    ## TAILCALL
LBB0_3:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,4), %esi
	movq	%rbx, %rdi
	callq	_wait_for_completion_timeout
	testq	%rax, %rax
	je	LBB0_4
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_SERVICE_SYNC_DELETE_CMDS,4,2 ## @WMI_SERVICE_SYNC_DELETE_CMDS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed wait for peer deleted"

	.comm	_HZ,4,2                         ## @HZ
L_.str.1:                               ## @.str.1
	.asciz	"Timeout in receiving peer delete response\n"

	.no_dead_strip	_ath10k_wait_for_peer_delete_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_wait_for_peer_delete_done
_ath10k_wait_for_peer_delete_done:      ; @ath10k_wait_for_peer_delete_done
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _WMI_SERVICE_SYNC_DELETE_CMDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_SERVICE_SYNC_DELETE_CMDS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_ath10k_wait_for_peer_deleted
	cbz	w0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_3:
	mov	x0, x19
	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
	b	_ath10k_warn
LBB0_4:
Lloh5:
	adrp	x8, _HZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	add	w1, w8, w8, lsl #2
	mov	x0, x19
	bl	_wait_for_completion_timeout
	cbz	x0, LBB0_6
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
LBB0_6:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_SERVICE_SYNC_DELETE_CMDS,4,2 ; @WMI_SERVICE_SYNC_DELETE_CMDS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed wait for peer deleted"

	.comm	_HZ,4,2                         ; @HZ
l_.str.1:                               ; @.str.1
	.asciz	"Timeout in receiving peer delete response\n"

	.no_dead_strip	_ath10k_wait_for_peer_delete_done
.subsections_via_symbols
