	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_go_disc_req_cb             ## -- Begin function p2p_go_disc_req_cb
	.p2align	4, 0x90
_p2p_go_disc_req_cb:                    ## @p2p_go_disc_req_cb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_p2p_dbg
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	callq	*8(%rax)
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	testl	%r14d, %r14d
	jne	LBB0_2
## %bb.3:
	movq	_P2P_SC_FAIL_UNABLE_TO_ACCOMMODATE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_p2p_dbg                        ## TAILCALL
LBB0_2:
	movq	_P2P_SC_SUCCESS@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	callq	_p2p_send_dev_disc_resp
	movq	$0, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GO Discoverability Request TX callback: success=%d"

L_.str.1:                               ## @.str.1
	.asciz	"No pending Device Discoverability Request"

	.comm	_P2P_SC_SUCCESS,4,2             ## @P2P_SC_SUCCESS
	.comm	_P2P_SC_FAIL_UNABLE_TO_ACCOMMODATE,4,2 ## @P2P_SC_FAIL_UNABLE_TO_ACCOMMODATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_go_disc_req_cb             ; -- Begin function p2p_go_disc_req_cb
	.p2align	2
_p2p_go_disc_req_cb:                    ; @p2p_go_disc_req_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	str	x20, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_p2p_dbg
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #8]
	ldr	w0, [x8]
	blr	x9
	ldr	x1, [x19]
	cbz	x1, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _P2P_SC_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _P2P_SC_SUCCESS@GOTPAGEOFF]
	ldp	w3, w2, [x19, #8]
Lloh4:
	adrp	x9, _P2P_SC_FAIL_UNABLE_TO_ACCOMMODATE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _P2P_SC_FAIL_UNABLE_TO_ACCOMMODATE@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	w4, [x8]
	mov	x0, x19
	bl	_p2p_send_dev_disc_resp
	str	xzr, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_p2p_dbg
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GO Discoverability Request TX callback: success=%d"

l_.str.1:                               ; @.str.1
	.asciz	"No pending Device Discoverability Request"

	.comm	_P2P_SC_SUCCESS,4,2             ; @P2P_SC_SUCCESS
	.comm	_P2P_SC_FAIL_UNABLE_TO_ACCOMMODATE,4,2 ; @P2P_SC_FAIL_UNABLE_TO_ACCOMMODATE
.subsections_via_symbols
