	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_p2p_notify_listen_complete ## -- Begin function brcmf_p2p_notify_listen_complete
	.p2align	4, 0x90
_brcmf_p2p_notify_listen_complete:      ## @brcmf_p2p_notify_listen_complete
	.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	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_brcmf_dbg
	movq	_BRCMF_P2P_STATUS_DISCOVER_LISTEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r15), %rbx
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_brcmf_dbg
	leaq	8(%r15), %rdi
	callq	_complete
LBB0_3:
	movq	(%r14), %rdi
	movl	4(%r15), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdx
	callq	_cfg80211_remain_on_channel_expired
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRACE,4,2                      ## @TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter\n"

	.comm	_BRCMF_P2P_STATUS_DISCOVER_LISTEN,4,2 ## @BRCMF_P2P_STATUS_DISCOVER_LISTEN
	.comm	_BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN,4,2 ## @BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN
	.comm	_BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME,4,2 ## @BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME
	.comm	_INFO,4,2                       ## @INFO
L_.str.1:                               ## @.str.1
	.asciz	"Listen DONE, wake up wait_next_af\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_p2p_notify_listen_complete ; -- Begin function brcmf_p2p_notify_listen_complete
	.p2align	2
_brcmf_p2p_notify_listen_complete:      ; @brcmf_p2p_notify_listen_complete
	.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, x0
	ldr	x8, [x0, #8]
	ldr	x19, [x8]
Lloh0:
	adrp	x8, _TRACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRACE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
Lloh5:
	adrp	x8, _BRCMF_P2P_STATUS_DISCOVER_LISTEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BRCMF_P2P_STATUS_DISCOVER_LISTEN@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x21, x19, #12
	mov	x1, x21
	bl	_test_and_clear_bit
	cbz	x0, LBB0_4
; %bb.1:
Lloh8:
	adrp	x8, _BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_and_clear_bit
	cbz	x0, LBB0_3
; %bb.2:
Lloh11:
	adrp	x8, _BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_clear_bit
Lloh14:
	adrp	x8, _INFO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_brcmf_dbg
	add	x0, x19, #8
	bl	_complete
LBB0_3:
	ldr	x0, [x20]
	ldr	w1, [x19, #4]
Lloh19:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	mov	x2, x19
	bl	_cfg80211_remain_on_channel_expired
LBB0_4:
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_TRACE,4,2                      ; @TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter\n"

	.comm	_BRCMF_P2P_STATUS_DISCOVER_LISTEN,4,2 ; @BRCMF_P2P_STATUS_DISCOVER_LISTEN
	.comm	_BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN,4,2 ; @BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN
	.comm	_BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME,4,2 ; @BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME
	.comm	_INFO,4,2                       ; @INFO
l_.str.1:                               ; @.str.1
	.asciz	"Listen DONE, wake up wait_next_af\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
