	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_p2p_notify_action_tx_complete ## -- Begin function brcmf_p2p_notify_action_tx_complete
	.p2align	4, 0x90
_brcmf_p2p_notify_action_tx_complete:   ## @brcmf_p2p_notify_action_tx_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	%rsi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BRCMF_E_ACTION_FRAME_OFF_CHAN_COMPLETE@GOTPCREL(%rip), %rax
	movq	(%rsi), %rdx
	movq	8(%rsi), %rcx
	cmpq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	callq	_brcmf_dbg
	movq	_BRCMF_P2P_STATUS_SENDING_ACT_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r14), %r15
	movq	%r15, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	(%rbx), %rax
	movq	_BRCMF_E_ACTION_FRAME_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	8(%rbx), %rax
	movq	_BRCMF_E_STATUS_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	movq	_BRCMF_P2P_STATUS_ACTION_TX_COMPLETED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	cmpl	$0, 8(%r14)
	jne	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	callq	_complete
	jmp	LBB0_5
LBB0_6:
	movq	_BRCMF_P2P_STATUS_ACTION_TX_NOACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	movq	%r14, %rdi
	callq	_brcmf_p2p_stop_wait_next_action_frame
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INFO,4,2                       ## @INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter: event %s, status=%d\n"

	.comm	_BRCMF_E_ACTION_FRAME_OFF_CHAN_COMPLETE,8,3 ## @BRCMF_E_ACTION_FRAME_OFF_CHAN_COMPLETE
L_.str.1:                               ## @.str.1
	.asciz	"ACTION_FRAME_OFF_CHAN_COMPLETE"

L_.str.2:                               ## @.str.2
	.asciz	"ACTION_FRAME_COMPLETE"

	.comm	_BRCMF_P2P_STATUS_SENDING_ACT_FRAME,4,2 ## @BRCMF_P2P_STATUS_SENDING_ACT_FRAME
	.comm	_BRCMF_E_ACTION_FRAME_COMPLETE,8,3 ## @BRCMF_E_ACTION_FRAME_COMPLETE
	.comm	_BRCMF_E_STATUS_SUCCESS,8,3     ## @BRCMF_E_STATUS_SUCCESS
	.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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_p2p_notify_action_tx_complete ; -- Begin function brcmf_p2p_notify_action_tx_complete
	.p2align	2
_brcmf_p2p_notify_action_tx_complete:   ; @brcmf_p2p_notify_action_tx_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, x1
	ldr	x8, [x0]
	ldr	x19, [x8]
Lloh0:
	adrp	x8, _INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _BRCMF_E_ACTION_FRAME_OFF_CHAN_COMPLETE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BRCMF_E_ACTION_FRAME_OFF_CHAN_COMPLETE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, l_.str.2@PAGE
Lloh7:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh8:
	adrp	x10, l_.str.1@PAGE
Lloh9:
	add	x10, x10, l_.str.1@PAGEOFF
	ldp	x11, x3, [x1]
	cmp	x11, x8
	csel	x2, x10, x9, eq
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
Lloh12:
	adrp	x8, _BRCMF_P2P_STATUS_SENDING_ACT_FRAME@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BRCMF_P2P_STATUS_SENDING_ACT_FRAME@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	add	x21, x19, #4
	mov	x1, x21
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.1:
	ldr	x8, [x20]
Lloh15:
	adrp	x9, _BRCMF_E_ACTION_FRAME_COMPLETE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _BRCMF_E_ACTION_FRAME_COMPLETE@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x20, #8]
Lloh18:
	adrp	x9, _BRCMF_E_STATUS_SUCCESS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _BRCMF_E_STATUS_SUCCESS@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
Lloh21:
	adrp	x8, _BRCMF_P2P_STATUS_ACTION_TX_COMPLETED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BRCMF_P2P_STATUS_ACTION_TX_COMPLETED@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_set_bit
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_complete
	b	LBB0_6
LBB0_5:
Lloh24:
	adrp	x8, _BRCMF_P2P_STATUS_ACTION_TX_NOACK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BRCMF_P2P_STATUS_ACTION_TX_NOACK@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_set_bit
	mov	x0, x19
	bl	_brcmf_p2p_stop_wait_next_action_frame
LBB0_6:
	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	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_INFO,4,2                       ; @INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter: event %s, status=%d\n"

	.comm	_BRCMF_E_ACTION_FRAME_OFF_CHAN_COMPLETE,8,3 ; @BRCMF_E_ACTION_FRAME_OFF_CHAN_COMPLETE
l_.str.1:                               ; @.str.1
	.asciz	"ACTION_FRAME_OFF_CHAN_COMPLETE"

l_.str.2:                               ; @.str.2
	.asciz	"ACTION_FRAME_COMPLETE"

	.comm	_BRCMF_P2P_STATUS_SENDING_ACT_FRAME,4,2 ; @BRCMF_P2P_STATUS_SENDING_ACT_FRAME
	.comm	_BRCMF_E_ACTION_FRAME_COMPLETE,8,3 ; @BRCMF_E_ACTION_FRAME_COMPLETE
	.comm	_BRCMF_E_STATUS_SUCCESS,8,3     ; @BRCMF_E_STATUS_SUCCESS
	.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
.subsections_via_symbols
