	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_p2p_gon_req_collision
_brcmf_p2p_gon_req_collision:           ## @brcmf_p2p_gon_req_collision
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_TRACE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_brcmf_dbg
	movq	_BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %r12
	movq	%r12, %rsi
	callq	_test_bit
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	cmpl	$0, 24(%rbx)
	je	LBB0_8
## %bb.2:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_brcmf_dbg
	movq	16(%rbx), %rax
	movq	_P2PAPI_BSSCFG_DEVICE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_memcmp
	movq	_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testq	%rax, %rax
	jns	LBB0_7
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	callq	_brcmf_dbg
	movl	$1, (%rbx)
	movq	_BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_complete
LBB0_5:
	movq	_BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_brcmf_p2p_stop_wait_next_action_frame
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.3(%rip), %rsi
	callq	_brcmf_dbg
	movl	$1, %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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_WAITING_NEXT_ACT_FRAME,4,2 ## @BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME
L_.str.1:                               ## @.str.1
	.asciz	"GO Negotiation Request COLLISION !!!\n"

	.comm	_P2PAPI_BSSCFG_DEVICE,8,3       ## @P2PAPI_BSSCFG_DEVICE
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_INFO,4,2                       ## @INFO
L_.str.2:                               ## @.str.2
	.asciz	"Block transmit gon req !!!\n"

	.comm	_BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL,4,2 ## @BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL
L_.str.3:                               ## @.str.3
	.asciz	"Drop received gon req !!!\n"

	.no_dead_strip	_brcmf_p2p_gon_req_collision
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_p2p_gon_req_collision
_brcmf_p2p_gon_req_collision:           ; @brcmf_p2p_gon_req_collision
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x20, x0
	ldr	x19, [x0, #32]
Lloh0:
	adrp	x24, _TRACE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TRACE@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
Lloh4:
	adrp	x23, _BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME@GOTPAGE
Lloh5:
	ldr	x23, [x23, _BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME@GOTPAGEOFF]
	ldr	w0, [x23]
	add	x21, x20, #4
	mov	x1, x21
	bl	_test_bit
	cbz	w0, LBB0_9
; %bb.1:
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_7
; %bb.2:
	ldr	w0, [x24]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_brcmf_dbg
	ldr	x8, [x20, #16]
Lloh8:
	adrp	x9, _P2PAPI_BSSCFG_DEVICE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _P2PAPI_BSSCFG_DEVICE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8]
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_memcmp
	mov	x8, x0
Lloh14:
	adrp	x9, _INFO@GOTPAGE
Lloh15:
	ldr	x9, [x9, _INFO@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x9]
	tbz	x8, #63, LBB0_8
; %bb.3:
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_brcmf_dbg
	mov	w8, #1
	str	w8, [x20]
Lloh19:
	adrp	x8, _BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_and_clear_bit
	cbz	x0, LBB0_5
; %bb.4:
	add	x0, x20, #8
	bl	_complete
LBB0_5:
	ldr	w0, [x23]
	mov	x1, x21
	bl	_test_and_clear_bit
	cbz	x0, LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_brcmf_p2p_stop_wait_next_action_frame
LBB0_7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_brcmf_dbg
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_TRACE,4,2                      ; @TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter\n"

	.comm	_BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME,4,2 ; @BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME
l_.str.1:                               ; @.str.1
	.asciz	"GO Negotiation Request COLLISION !!!\n"

	.comm	_P2PAPI_BSSCFG_DEVICE,8,3       ; @P2PAPI_BSSCFG_DEVICE
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_INFO,4,2                       ; @INFO
l_.str.2:                               ; @.str.2
	.asciz	"Block transmit gon req !!!\n"

	.comm	_BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL,4,2 ; @BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL
l_.str.3:                               ; @.str.3
	.asciz	"Drop received gon req !!!\n"

	.no_dead_strip	_brcmf_p2p_gon_req_collision
.subsections_via_symbols
