	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_p2p_notify_rx_mgmt_p2p_probereq ## -- Begin function brcmf_p2p_notify_rx_mgmt_p2p_probereq
	.p2align	4, 0x90
_brcmf_p2p_notify_rx_mgmt_p2p_probereq: ## @brcmf_p2p_notify_rx_mgmt_p2p_probereq
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	(%rdi), %r15
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%rsi), %ecx
	movl	24(%rsi), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_brcmf_dbg
	cmpl	$3, (%r12)
	ja	LBB0_2
## %bb.1:
	movq	_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_8
LBB0_2:
	movl	(%r14), %edi
	callq	_be16_to_cpu
	movl	%eax, -48(%rbp)
	leaq	-56(%rbp), %rdi
	callq	*(%rbx)
	movq	_BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %r13
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	20(%rbx), %edi
	movl	16(%r12), %esi
	callq	_ether_addr_equal
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	-44(%rbp), %edx
	movl	%edx, 16(%rbx)
	addq	$12, %rbx
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movq	%rbx, %rdi
	callq	_complete
LBB0_5:
	cmpq	$0, 8(%r12)
	je	LBB0_14
## %bb.6:
	movq	_BRCMF_P2P_STATUS_GO_NEG_PHASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
LBB0_8:
	xorl	%eax, %eax
	callq	_brcmf_dbg
LBB0_14:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	(%r15), %edx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movq	_IEEE80211_STYPE_PROBE_REQ@GOTPCREL(%rip), %rax
	movq	_IEEE80211_FCTL_STYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	andl	(%rax), %edi
	sarl	$4, %edi
	movl	(%r15), %ebx
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_14
## %bb.10:
	addq	$4, %r14
	movl	(%r12), %ebx
	addl	$-4, %ebx
	movl	-44(%rbp), %edi
	movq	-56(%rbp), %rax
	movq	_BRCMU_CHAN_BAND_2G@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.12:
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %esi
	callq	_ieee80211_channel_to_frequency
	movl	%eax, %r13d
	addq	$4, %r15
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	callq	_cfg80211_rx_mgmt
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %ecx
	movl	-48(%rbp), %r8d
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edx
	movl	%r13d, %r9d
	xorl	%eax, %eax
	callq	_brcmf_dbg
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_INFO,4,2                       ## @INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter: event %d reason %d\n"

	.comm	_SCAN,4,2                       ## @SCAN
L_.str.1:                               ## @.str.1
	.asciz	"Event data to small. Ignore\n"

	.comm	_BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL,4,2 ## @BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL
L_.str.2:                               ## @.str.2
	.asciz	"PROBE REQUEST: Peer found, channel=%d\n"

	.comm	_BRCMF_P2P_STATUS_GO_NEG_PHASE,4,2 ## @BRCMF_P2P_STATUS_GO_NEG_PHASE
L_.str.3:                               ## @.str.3
	.asciz	"Filtering P2P probe_req in GO-NEG phase\n"

L_.str.4:                               ## @.str.4
	.asciz	"vif->mgmt_rx_reg %04x\n"

	.comm	_IEEE80211_STYPE_PROBE_REQ,4,2  ## @IEEE80211_STYPE_PROBE_REQ
	.comm	_IEEE80211_FCTL_STYPE,4,2       ## @IEEE80211_FCTL_STYPE
	.comm	_BRCMU_CHAN_BAND_2G,8,3         ## @BRCMU_CHAN_BAND_2G
	.comm	_NL80211_BAND_2GHZ,4,2          ## @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,4,2          ## @NL80211_BAND_5GHZ
L_.str.5:                               ## @.str.5
	.asciz	"mgmt_frame_len (%d) , e->datalen (%d), chanspec (%04x), freq (%d)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_p2p_notify_rx_mgmt_p2p_probereq ; -- Begin function brcmf_p2p_notify_rx_mgmt_p2p_probereq
	.p2align	2
_brcmf_p2p_notify_rx_mgmt_p2p_probereq: ; @brcmf_p2p_notify_rx_mgmt_p2p_probereq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x19, x1
	ldp	x24, x8, [x0]
	ldr	x25, [x8]
Lloh0:
	adrp	x23, _INFO@GOTPAGE
Lloh1:
	ldr	x23, [x23, _INFO@GOTPAGEOFF]
	ldr	w0, [x23]
	ldp	w9, w8, [x1, #20]
	stp	x8, x9, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
	ldr	w8, [x19]
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _SCAN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SCAN@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_2:
	ldr	w0, [x20]
	bl	_be16_to_cpu
	str	w0, [sp, #40]
	mov	x21, x25
	ldr	x8, [x21], #8
	add	x0, sp, #32
	blr	x8
Lloh9:
	adrp	x8, _BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x25, #20]
	ldr	w1, [x19, #16]
	bl	_ether_addr_equal
	cbz	x0, LBB0_5
; %bb.4:
	add	x22, x25, #12
	ldr	w8, [sp, #44]
	str	w8, [x25, #16]
	ldr	w0, [x23]
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_brcmf_dbg
	mov	x0, x22
	bl	_complete
LBB0_5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_11
; %bb.6:
Lloh14:
	adrp	x8, _BRCMF_P2P_STATUS_GO_NEG_PHASE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BRCMF_P2P_STATUS_GO_NEG_PHASE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	mov	x8, x0
	ldr	w0, [x23]
	cbz	x8, LBB0_8
; %bb.7:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_8:
	ldr	w8, [x24]
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_brcmf_dbg
Lloh21:
	adrp	x8, _IEEE80211_STYPE_PROBE_REQ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IEEE80211_STYPE_PROBE_REQ@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _IEEE80211_FCTL_STYPE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IEEE80211_FCTL_STYPE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	and	w8, w9, w8
	asr	w0, w8, #4
	ldr	w21, [x24]
	bl	_BIT
	tst	w0, w21
	b.eq	LBB0_11
; %bb.9:
	add	x20, x20, #4
	ldr	w8, [x19]
	sub	w21, w8, #4
	ldr	w0, [sp, #44]
	ldr	x8, [sp, #32]
Lloh27:
	adrp	x9, _BRCMU_CHAN_BAND_2G@GOTPAGE
Lloh28:
	ldr	x9, [x9, _BRCMU_CHAN_BAND_2G@GOTPAGEOFF]
Lloh29:
	adrp	x10, _NL80211_BAND_2GHZ@GOTPAGE
Lloh30:
	ldr	x10, [x10, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
Lloh32:
	adrp	x11, _NL80211_BAND_5GHZ@GOTPAGE
Lloh33:
	ldr	x11, [x11, _NL80211_BAND_5GHZ@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
	bl	_ieee80211_channel_to_frequency
	mov	x22, x0
	add	x0, x24, #4
	mov	x1, x22
	mov	w2, #0
	mov	x3, x20
	mov	x4, x21
	mov	w5, #0
	bl	_cfg80211_rx_mgmt
	ldr	w0, [x23]
	ldr	w8, [x19]
	ldr	w9, [sp, #40]
	stp	x9, x22, [sp, #16]
	stp	x21, x8, [sp]
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_10:
	bl	_brcmf_dbg
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_INFO,4,2                       ; @INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter: event %d reason %d\n"

	.comm	_SCAN,4,2                       ; @SCAN
l_.str.1:                               ; @.str.1
	.asciz	"Event data to small. Ignore\n"

	.comm	_BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL,4,2 ; @BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL
l_.str.2:                               ; @.str.2
	.asciz	"PROBE REQUEST: Peer found, channel=%d\n"

	.comm	_BRCMF_P2P_STATUS_GO_NEG_PHASE,4,2 ; @BRCMF_P2P_STATUS_GO_NEG_PHASE
l_.str.3:                               ; @.str.3
	.asciz	"Filtering P2P probe_req in GO-NEG phase\n"

l_.str.4:                               ; @.str.4
	.asciz	"vif->mgmt_rx_reg %04x\n"

	.comm	_IEEE80211_STYPE_PROBE_REQ,4,2  ; @IEEE80211_STYPE_PROBE_REQ
	.comm	_IEEE80211_FCTL_STYPE,4,2       ; @IEEE80211_FCTL_STYPE
	.comm	_BRCMU_CHAN_BAND_2G,8,3         ; @BRCMU_CHAN_BAND_2G
	.comm	_NL80211_BAND_2GHZ,4,2          ; @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,4,2          ; @NL80211_BAND_5GHZ
l_.str.5:                               ; @.str.5
	.asciz	"mgmt_frame_len (%d) , e->datalen (%d), chanspec (%04x), freq (%d)\n"

.subsections_via_symbols
