	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_invitation_req_cb          ## -- Begin function p2p_invitation_req_cb
	.p2align	4, 0x90
_p2p_invitation_req_cb:                 ## @p2p_invitation_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	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.3:
	movq	_P2P_DEV_WAIT_INV_REQ_ACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, (%rax)
	movl	$500000, %r14d                  ## imm = 0x7A120
	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:
	movl	$100000, %r14d                  ## imm = 0x186A0
LBB0_4:
	movq	_P2P_INVITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_p2p_set_state
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_p2p_set_timeout                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invitation Request TX callback: success=%d"

L_.str.1:                               ## @.str.1
	.asciz	"No pending Invite"

	.comm	_P2P_DEV_WAIT_INV_REQ_ACK,4,2   ## @P2P_DEV_WAIT_INV_REQ_ACK
	.comm	_P2P_INVITE,4,2                 ## @P2P_INVITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_invitation_req_cb          ; -- Begin function p2p_invitation_req_cb
	.p2align	2
_p2p_invitation_req_cb:                 ; @p2p_invitation_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]
	cbz	x8, LBB0_3
; %bb.1:
	cbz	w20, LBB0_4
; %bb.2:
Lloh2:
	adrp	x9, _P2P_DEV_WAIT_INV_REQ_ACK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _P2P_DEV_WAIT_INV_REQ_ACK@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	ldr	w10, [x8]
	bic	w9, w10, w9
	str	w9, [x8]
	mov	w20, #41248
	movk	w20, #7, lsl #16
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	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_4:
	mov	w20, #34464
	movk	w20, #1, lsl #16
LBB0_5:
Lloh7:
	adrp	x8, _P2P_INVITE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _P2P_INVITE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_p2p_set_state
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invitation Request TX callback: success=%d"

l_.str.1:                               ; @.str.1
	.asciz	"No pending Invite"

	.comm	_P2P_DEV_WAIT_INV_REQ_ACK,4,2   ; @P2P_DEV_WAIT_INV_REQ_ACK
	.comm	_P2P_INVITE,4,2                 ; @P2P_INVITE
.subsections_via_symbols
