	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_p2p_stop_wait_next_action_frame
_brcmf_p2p_stop_wait_next_action_frame: ## @brcmf_p2p_stop_wait_next_action_frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	_P2PAPI_BSSCFG_PRIMARY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %r14
	movq	_BRCMF_P2P_STATUS_SENDING_ACT_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_BRCMF_P2P_STATUS_ACTION_TX_COMPLETED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_BRCMF_P2P_STATUS_ACTION_TX_NOACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_brcmf_dbg
	cmpq	$0, 8(%rbx)
	jne	LBB0_7
	jmp	LBB0_4
LBB0_5:
	movq	_BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_brcmf_dbg
LBB0_7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	movl	$1, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_brcmf_notify_escan_complete    ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P2PAPI_BSSCFG_PRIMARY,8,3      ## @P2PAPI_BSSCFG_PRIMARY
	.comm	_BRCMF_P2P_STATUS_SENDING_ACT_FRAME,4,2 ## @BRCMF_P2P_STATUS_SENDING_ACT_FRAME
	.comm	_BRCMF_P2P_STATUS_ACTION_TX_COMPLETED,4,2 ## @BRCMF_P2P_STATUS_ACTION_TX_COMPLETED
	.comm	_BRCMF_P2P_STATUS_ACTION_TX_NOACK,4,2 ## @BRCMF_P2P_STATUS_ACTION_TX_NOACK
	.comm	_TRACE,4,2                      ## @TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*** Wake UP ** abort actframe iovar\n"

	.comm	_BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN,4,2 ## @BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN
L_.str.1:                               ## @.str.1
	.asciz	"*** Wake UP ** abort listen for next af frame\n"

	.no_dead_strip	_brcmf_p2p_stop_wait_next_action_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_p2p_stop_wait_next_action_frame
_brcmf_p2p_stop_wait_next_action_frame: ; @brcmf_p2p_stop_wait_next_action_frame
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _P2PAPI_BSSCFG_PRIMARY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _P2PAPI_BSSCFG_PRIMARY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x20, [x8]
Lloh3:
	adrp	x8, _BRCMF_P2P_STATUS_SENDING_ACT_FRAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BRCMF_P2P_STATUS_SENDING_ACT_FRAME@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _BRCMF_P2P_STATUS_ACTION_TX_COMPLETED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BRCMF_P2P_STATUS_ACTION_TX_COMPLETED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbnz	x0, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _BRCMF_P2P_STATUS_ACTION_TX_NOACK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BRCMF_P2P_STATUS_ACTION_TX_NOACK@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_4
LBB0_3:
Lloh12:
	adrp	x8, _TRACE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRACE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_6
	b	LBB0_7
LBB0_4:
Lloh17:
	adrp	x8, _BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_7
; %bb.5:
Lloh20:
	adrp	x8, _TRACE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TRACE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_brcmf_dbg
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	mov	w3, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_brcmf_notify_escan_complete
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_P2PAPI_BSSCFG_PRIMARY,8,3      ; @P2PAPI_BSSCFG_PRIMARY
	.comm	_BRCMF_P2P_STATUS_SENDING_ACT_FRAME,4,2 ; @BRCMF_P2P_STATUS_SENDING_ACT_FRAME
	.comm	_BRCMF_P2P_STATUS_ACTION_TX_COMPLETED,4,2 ; @BRCMF_P2P_STATUS_ACTION_TX_COMPLETED
	.comm	_BRCMF_P2P_STATUS_ACTION_TX_NOACK,4,2 ; @BRCMF_P2P_STATUS_ACTION_TX_NOACK
	.comm	_TRACE,4,2                      ; @TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*** Wake UP ** abort actframe iovar\n"

	.comm	_BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN,4,2 ; @BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN
l_.str.1:                               ; @.str.1
	.asciz	"*** Wake UP ** abort listen for next af frame\n"

	.no_dead_strip	_brcmf_p2p_stop_wait_next_action_frame
.subsections_via_symbols
