	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p2p_prov_disc_cb
_p2p_prov_disc_cb:                      ## @p2p_prov_disc_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
	subq	$112, %rsp
	.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.7:
	movq	24(%r14), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.8:
	cmpl	$0, 24(%rax)
	jne	LBB0_17
## %bb.9:
	movq	(%rax), %rax
	movq	_P2P_SC_SUCCESS_DEFERRED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
LBB0_17:
	cmpq	$0, 16(%r14)
	jne	LBB0_18
## %bb.19:
	movq	_P2P_NO_PENDING_ACTION@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_1:
	movq	_P2P_NO_PENDING_ACTION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	cmpq	$0, 16(%r14)
	movq	(%r14), %rax
	je	LBB0_24
## %bb.2:
	movq	_P2P_SEARCH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_P2P_LISTEN_ONLY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.5:
	movq	_P2P_IDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.6:
	movq	_P2P_PENDING_PD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$300000, %edx                   ## imm = 0x493E0
	jmp	LBB0_23
LBB0_18:
	movq	_P2P_PENDING_PD@GOTPCREL(%rip), %rax
LBB0_20:
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	(%r14), %rax
	movq	_P2P_SEARCH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.21:
	movq	_P2P_PD_DURING_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_p2p_set_state
LBB0_22:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$200000, %edx                   ## imm = 0x30D40
LBB0_23:
	addq	$112, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_p2p_set_timeout                ## TAILCALL
LBB0_24:
	movq	_P2P_IDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.25:
	addq	$112, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_26:
	movq	%r14, %rdi
	addq	$112, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_p2p_continue_find              ## TAILCALL
LBB0_4:
	movq	_P2P_PENDING_PD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$50000, %edx                    ## imm = 0xC350
	jmp	LBB0_23
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_p2p_dbg
	cmpq	$0, 40(%r14)
	je	LBB0_12
## %bb.11:
	movq	$0, 40(%r14)
	movq	32(%r14), %rax
	movl	(%rax), %edi
	callq	*16(%rax)
LBB0_12:
	movq	_P2P_NO_PENDING_ACTION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	32(%r14), %rcx
	movq	8(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movl	(%rcx), %edi
	movq	24(%r14), %rdx
	movq	(%rdx), %rsi
	movl	20(%rdx), %ecx
	movl	16(%rdx), %r8d
	movl	12(%rdx), %ebx
	movl	8(%rdx), %edx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%rsp)
	movl	%edx, 8(%rsp)
	movl	%ebx, (%rsp)
	movl	$0, 104(%rsp)
	movq	$0, 96(%rsp)
	movl	$0, 88(%rsp)
	movl	$0, 80(%rsp)
	movl	$0, 56(%rsp)
	movl	$0, 48(%rsp)
	movl	$0, 40(%rsp)
	movq	$0, 32(%rsp)
	movl	$0, 24(%rsp)
	movl	$0, 16(%rsp)
	movl	%ecx, %edx
	xorl	%r9d, %r9d
	callq	*%rax
LBB0_14:
	cmpq	$0, 16(%r14)
	je	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	callq	_p2p_reset_pending_pd
LBB0_16:
	movq	%r14, %rdi
	addq	$112, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_p2ps_prov_free                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Provision Discovery Request TX callback: success=%d"

	.comm	_P2P_NO_PENDING_ACTION,8,3      ## @P2P_NO_PENDING_ACTION
	.comm	_P2P_SEARCH,8,3                 ## @P2P_SEARCH
	.comm	_P2P_LISTEN_ONLY,8,3            ## @P2P_LISTEN_ONLY
	.comm	_P2P_PENDING_PD,8,3             ## @P2P_PENDING_PD
	.comm	_P2P_IDLE,8,3                   ## @P2P_IDLE
	.comm	_P2P_SC_SUCCESS_DEFERRED,8,3    ## @P2P_SC_SUCCESS_DEFERRED
L_.str.1:                               ## @.str.1
	.asciz	"P2PS PD completion on Follow-on PD Request ACK"

	.comm	_P2P_PD_DURING_FIND,4,2         ## @P2P_PD_DURING_FIND
	.no_dead_strip	_p2p_prov_disc_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p2p_prov_disc_cb
_p2p_prov_disc_cb:                      ; @p2p_prov_disc_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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_8
; %bb.1:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w9, [x8, #24]
	cbnz	w9, LBB0_4
; %bb.3:
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _P2P_SC_SUCCESS_DEFERRED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _P2P_SC_SUCCESS_DEFERRED@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
LBB0_4:
Lloh5:
	adrp	x8, _P2P_NO_PENDING_ACTION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _P2P_NO_PENDING_ACTION@GOTPAGEOFF]
	ldr	x9, [x19, #16]
Lloh7:
	adrp	x10, _P2P_PENDING_PD@GOTPAGE
Lloh8:
	ldr	x10, [x10, _P2P_PENDING_PD@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	x8, [x8]
	str	x8, [x19, #8]
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _P2P_SEARCH@GOTPAGE
Lloh10:
	ldr	x9, [x9, _P2P_SEARCH@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _P2P_PD_DURING_FIND@GOTPAGE
Lloh13:
	ldr	x8, [x8, _P2P_PD_DURING_FIND@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_p2p_set_state
LBB0_6:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #3392
	movk	w2, #3, lsl #16
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_p2p_set_timeout
LBB0_8:
Lloh15:
	adrp	x8, _P2P_NO_PENDING_ACTION@GOTPAGE
Lloh16:
	ldr	x8, [x8, _P2P_NO_PENDING_ACTION@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	ldr	x9, [x19, #16]
	ldr	x8, [x19]
	cbz	x9, LBB0_11
; %bb.9:
Lloh18:
	adrp	x9, _P2P_SEARCH@GOTPAGE
Lloh19:
	ldr	x9, [x9, _P2P_SEARCH@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
Lloh21:
	adrp	x10, _P2P_LISTEN_ONLY@GOTPAGE
Lloh22:
	ldr	x10, [x10, _P2P_LISTEN_ONLY@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_13
; %bb.10:
Lloh24:
	adrp	x8, _P2P_PENDING_PD@GOTPAGE
Lloh25:
	ldr	x8, [x8, _P2P_PENDING_PD@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #50000
	b	LBB0_7
LBB0_11:
Lloh27:
	adrp	x9, _P2P_IDLE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _P2P_IDLE@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_13:
Lloh30:
	adrp	x9, _P2P_IDLE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _P2P_IDLE@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:
Lloh33:
	adrp	x8, _P2P_PENDING_PD@GOTPAGE
Lloh34:
	ldr	x8, [x8, _P2P_PENDING_PD@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #37856
	movk	w2, #4, lsl #16
	b	LBB0_7
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_p2p_continue_find
LBB0_16:
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_p2p_dbg
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_18
; %bb.17:
	str	xzr, [x19, #40]
	ldr	x8, [x19, #32]
	ldr	x9, [x8, #16]
	ldr	w0, [x8]
	blr	x9
LBB0_18:
Lloh38:
	adrp	x8, _P2P_NO_PENDING_ACTION@GOTPAGE
Lloh39:
	ldr	x8, [x8, _P2P_NO_PENDING_ACTION@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	ldr	x9, [x19, #32]
	ldr	x8, [x9, #8]
	cbz	x8, LBB0_20
; %bb.19:
	ldr	w0, [x9]
	ldr	x9, [x19, #24]
	ldr	x1, [x9]
	ldp	w4, w2, [x9, #16]
	ldp	w7, w6, [x9, #8]
	str	wzr, [sp, #64]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #32]
	str	wzr, [sp, #24]
	str	xzr, [sp, #16]
	str	q0, [sp]
	mov	x3, x2
	mov	x5, #0
	blr	x8
LBB0_20:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_22
; %bb.21:
	mov	x0, x19
	bl	_p2p_reset_pending_pd
LBB0_22:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_p2ps_prov_free
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Provision Discovery Request TX callback: success=%d"

	.comm	_P2P_NO_PENDING_ACTION,8,3      ; @P2P_NO_PENDING_ACTION
	.comm	_P2P_SEARCH,8,3                 ; @P2P_SEARCH
	.comm	_P2P_LISTEN_ONLY,8,3            ; @P2P_LISTEN_ONLY
	.comm	_P2P_PENDING_PD,8,3             ; @P2P_PENDING_PD
	.comm	_P2P_IDLE,8,3                   ; @P2P_IDLE
	.comm	_P2P_SC_SUCCESS_DEFERRED,8,3    ; @P2P_SC_SUCCESS_DEFERRED
l_.str.1:                               ; @.str.1
	.asciz	"P2PS PD completion on Follow-on PD Request ACK"

	.comm	_P2P_PD_DURING_FIND,4,2         ; @P2P_PD_DURING_FIND
	.no_dead_strip	_p2p_prov_disc_cb
.subsections_via_symbols
