	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_dev_disc_req_cb            ## -- Begin function p2p_dev_disc_req_cb
	.p2align	4, 0x90
_p2p_dev_disc_req_cb:                   ## @p2p_dev_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, %ebx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_p2p_dbg
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_p2p_dbg                        ## TAILCALL
LBB0_1:
	movq	_P2P_CONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_p2p_set_state
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$100000, %edx                   ## imm = 0x186A0
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_p2p_set_timeout                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Device Discoverability Request TX callback: success=%d"

	.comm	_P2P_CONNECT,4,2                ## @P2P_CONNECT
L_.str.1:                               ## @.str.1
	.asciz	"GO acknowledged Device Discoverability Request - wait for response"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_dev_disc_req_cb            ; -- Begin function p2p_dev_disc_req_cb
	.p2align	2
_p2p_dev_disc_req_cb:                   ; @p2p_dev_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
	cbz	w20, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	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
LBB0_2:
Lloh4:
	adrp	x8, _P2P_CONNECT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _P2P_CONNECT@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_p2p_set_state
	mov	x0, x19
	mov	w1, #0
	mov	w2, #34464
	movk	w2, #1, lsl #16
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_p2p_set_timeout
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Device Discoverability Request TX callback: success=%d"

	.comm	_P2P_CONNECT,4,2                ; @P2P_CONNECT
l_.str.1:                               ; @.str.1
	.asciz	"GO acknowledged Device Discoverability Request - wait for response"

.subsections_via_symbols
