	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_probe_req_rx               ## -- Begin function p2p_probe_req_rx
	.p2align	4, 0x90
_p2p_probe_req_rx:                      ## @p2p_probe_req_rx
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %rbx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	%r8, %rdx
	movq	%r9, %rcx
	callq	_p2p_add_dev_from_probe_req
	cmpl	$0, 24(%rbp)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_p2p_dbg
	movq	_P2P_PREQ_PROCESSED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_17
LBB0_2:
	movl	16(%rbp), %eax
	movl	%eax, (%rsp)
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	%r14, %r9
	callq	_p2p_reply_probe
	movl	%eax, %r14d
	movq	_P2P_PREQ_PROCESSED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_4
## %bb.3:
	movq	_P2P_PREQ_NOT_PROCESSED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_17
LBB0_4:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	_P2P_CONNECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_6
## %bb.5:
	movq	_P2P_CONNECT_LISTEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
LBB0_6:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movl	4(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_os_memcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	movq	16(%rbx), %rax
	movq	_P2P_DEV_WAIT_GO_NEG_CONFIRM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_9
LBB0_10:
	movq	(%rbx), %rax
	movq	_P2P_INVITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.11:
	movq	_P2P_INVITE_LISTEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
LBB0_12:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:
	movq	_P2P_DEV_WAIT_INV_REQ_ACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_17
## %bb.14:
	movl	4(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_os_memcmp
	testq	%rax, %rax
	jne	LBB0_17
## %bb.15:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_p2p_dbg
	movq	_p2p_invite_start@GOTPCREL(%rip), %r15
	jmp	LBB0_16
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_p2p_dbg
	movq	_p2p_go_neg_start@GOTPCREL(%rip), %r15
LBB0_16:
	movl	(%r15), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	movl	(%r15), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	callq	_eloop_register_timeout
LBB0_17:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Probe Response is offloaded, do not reply Probe Request"

	.comm	_P2P_PREQ_PROCESSED,4,2         ## @P2P_PREQ_PROCESSED
	.comm	_P2P_PREQ_NOT_PROCESSED,4,2     ## @P2P_PREQ_NOT_PROCESSED
	.comm	_P2P_CONNECT,8,3                ## @P2P_CONNECT
	.comm	_P2P_CONNECT_LISTEN,8,3         ## @P2P_CONNECT_LISTEN
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_P2P_DEV_WAIT_GO_NEG_CONFIRM,4,2 ## @P2P_DEV_WAIT_GO_NEG_CONFIRM
L_.str.1:                               ## @.str.1
	.asciz	"Found GO Negotiation peer - try to start GO negotiation from timeout"

	.comm	_p2p_go_neg_start,4,2           ## @p2p_go_neg_start
	.comm	_P2P_INVITE,8,3                 ## @P2P_INVITE
	.comm	_P2P_INVITE_LISTEN,8,3          ## @P2P_INVITE_LISTEN
	.comm	_P2P_DEV_WAIT_INV_REQ_ACK,4,2   ## @P2P_DEV_WAIT_INV_REQ_ACK
L_.str.2:                               ## @.str.2
	.asciz	"Found Invite peer - try to start Invite from timeout"

	.comm	_p2p_invite_start,4,2           ## @p2p_invite_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_probe_req_rx               ; -- Begin function p2p_probe_req_rx
	.p2align	2
_p2p_probe_req_rx:                      ; @p2p_probe_req_rx
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x26, x7
	mov	x19, x6
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x21, x1
	mov	x20, x0
	mov	x2, x4
	mov	x3, x5
	bl	_p2p_add_dev_from_probe_req
	cbz	w26, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_p2p_dbg
Lloh2:
	adrp	x8, _P2P_PREQ_PROCESSED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _P2P_PREQ_PROCESSED@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	b	LBB0_14
LBB0_2:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x25
	mov	x3, x24
	mov	x4, x23
	mov	x5, x22
	mov	x6, x19
	bl	_p2p_reply_probe
	mov	x19, x0
Lloh5:
	adrp	x8, _P2P_PREQ_PROCESSED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _P2P_PREQ_PROCESSED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _P2P_PREQ_NOT_PROCESSED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _P2P_PREQ_NOT_PROCESSED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_14
; %bb.3:
	ldr	x8, [x20]
Lloh11:
	adrp	x9, _P2P_CONNECT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _P2P_CONNECT@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	adrp	x10, _P2P_CONNECT_LISTEN@GOTPAGE
Lloh15:
	ldr	x10, [x10, _P2P_CONNECT_LISTEN@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_7
; %bb.4:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	w1, [x8, #4]
Lloh17:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_os_memcmp
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _P2P_DEV_WAIT_GO_NEG_CONFIRM@GOTPAGE
Lloh21:
	ldr	x9, [x9, _P2P_DEV_WAIT_GO_NEG_CONFIRM@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
LBB0_7:
	ldr	x8, [x20]
Lloh23:
	adrp	x9, _P2P_INVITE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _P2P_INVITE@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
Lloh26:
	adrp	x10, _P2P_INVITE_LISTEN@GOTPAGE
Lloh27:
	ldr	x10, [x10, _P2P_INVITE_LISTEN@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_14
; %bb.8:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_14
; %bb.9:
	ldr	w9, [x8]
Lloh29:
	adrp	x10, _P2P_DEV_WAIT_INV_REQ_ACK@GOTPAGE
Lloh30:
	ldr	x10, [x10, _P2P_DEV_WAIT_INV_REQ_ACK@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_14
; %bb.10:
	ldr	w1, [x8, #4]
Lloh32:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_os_memcmp
	cbnz	x0, LBB0_14
; %bb.11:
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_p2p_dbg
Lloh37:
	adrp	x21, _p2p_invite_start@GOTPAGE
Lloh38:
	ldr	x21, [x21, _p2p_invite_start@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh39:
	adrp	x1, l_.str.1@PAGE
Lloh40:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_p2p_dbg
Lloh41:
	adrp	x21, _p2p_go_neg_start@GOTPAGE
Lloh42:
	ldr	x21, [x21, _p2p_go_neg_start@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x21]
	mov	x1, x20
	mov	x2, #0
	bl	_eloop_cancel_timeout
	ldr	w2, [x21]
	mov	w0, #0
	mov	w1, #0
	mov	x3, x20
	mov	x4, #0
	bl	_eloop_register_timeout
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Probe Response is offloaded, do not reply Probe Request"

	.comm	_P2P_PREQ_PROCESSED,4,2         ; @P2P_PREQ_PROCESSED
	.comm	_P2P_PREQ_NOT_PROCESSED,4,2     ; @P2P_PREQ_NOT_PROCESSED
	.comm	_P2P_CONNECT,8,3                ; @P2P_CONNECT
	.comm	_P2P_CONNECT_LISTEN,8,3         ; @P2P_CONNECT_LISTEN
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_P2P_DEV_WAIT_GO_NEG_CONFIRM,4,2 ; @P2P_DEV_WAIT_GO_NEG_CONFIRM
l_.str.1:                               ; @.str.1
	.asciz	"Found GO Negotiation peer - try to start GO negotiation from timeout"

	.comm	_p2p_go_neg_start,4,2           ; @p2p_go_neg_start
	.comm	_P2P_INVITE,8,3                 ; @P2P_INVITE
	.comm	_P2P_INVITE_LISTEN,8,3          ; @P2P_INVITE_LISTEN
	.comm	_P2P_DEV_WAIT_INV_REQ_ACK,4,2   ; @P2P_DEV_WAIT_INV_REQ_ACK
l_.str.2:                               ; @.str.2
	.asciz	"Found Invite peer - try to start Invite from timeout"

	.comm	_p2p_invite_start,4,2           ; @p2p_invite_start
.subsections_via_symbols
