	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p2p_process_presence_resp
_p2p_process_presence_resp:             ## @p2p_process_presence_resp
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_p2p_dbg
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_p2p_parse
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.5:
	movq	(%r15), %rdx
	movq	8(%rdx), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:
	movl	(%rdx), %edi
	movq	(%rax), %rdx
	movl	-56(%rbp), %r8d
	movq	%r14, %rsi
	callq	*%rbx
	movq	-40(%rbp), %rax
LBB0_7:
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_p2p_dbg
	jmp	LBB0_10
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_p2p_dbg
	jmp	LBB0_11
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_p2p_dbg
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_p2p_dbg
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rdx
	movl	-56(%rbp), %ecx
	leaq	L_.str.5(%rip), %rsi
	callq	_wpa_hexdump
LBB0_10:
	leaq	-56(%rbp), %rdi
	callq	_p2p_parse_free
LBB0_11:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Received P2P Action - P2P Presence Response"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to parse P2P Presence Response"

L_.str.2:                               ## @.str.2
	.asciz	"No Status or NoA attribute in P2P Presence Response"

L_.str.3:                               ## @.str.3
	.asciz	"P2P Presence Request was rejected: status %u"

L_.str.4:                               ## @.str.4
	.asciz	"P2P Presence Request was accepted"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.5:                               ## @.str.5
	.asciz	"P2P: P2P Presence Response - NoA"

	.no_dead_strip	_p2p_process_presence_resp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p2p_process_presence_resp
_p2p_process_presence_resp:             ; @p2p_process_presence_resp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x21, x4
	mov	x22, x3
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_p2p_dbg
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x21
	bl	_p2p_parse
	tbnz	x0, #63, LBB0_3
; %bb.1:
	ldp	x3, x8, [sp, #16]
	cmp	x8, #0
	ccmp	x3, #0, #4, ne
	b.ne	LBB0_4
; %bb.2:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_3:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_p2p_dbg
	b	LBB0_11
LBB0_4:
	ldr	x10, [x19]
	ldr	x9, [x10, #8]
	cbz	x9, LBB0_6
; %bb.5:
	ldr	w0, [x10]
	ldr	x2, [x8]
	ldr	w4, [sp, #8]
	mov	x1, x20
	blr	x9
	ldr	x8, [sp, #24]
LBB0_6:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.7:
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_p2p_dbg
	b	LBB0_10
LBB0_9:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_p2p_dbg
Lloh10:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	x2, [sp, #16]
	ldr	w3, [sp, #8]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_hexdump
LBB0_10:
	add	x0, sp, #8
	bl	_p2p_parse_free
LBB0_11:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Received P2P Action - P2P Presence Response"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to parse P2P Presence Response"

l_.str.2:                               ; @.str.2
	.asciz	"No Status or NoA attribute in P2P Presence Response"

l_.str.3:                               ; @.str.3
	.asciz	"P2P Presence Request was rejected: status %u"

l_.str.4:                               ; @.str.4
	.asciz	"P2P Presence Request was accepted"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.5:                               ; @.str.5
	.asciz	"P2P: P2P Presence Response - NoA"

	.no_dead_strip	_p2p_process_presence_resp
.subsections_via_symbols
