	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_in_progress                ## -- Begin function p2p_in_progress
	.p2align	4, 0x90
_p2p_in_progress:                       ## @p2p_in_progress
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	(%rdi), %rcx
	movq	_P2P_SEARCH@GOTPCREL(%rip), %rdx
	movl	$2, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_4
## %bb.3:
	movq	_P2P_IDLE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	setne	%al
	movq	_P2P_PROVISIONING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
LBB0_4:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P2P_SEARCH,8,3                 ## @P2P_SEARCH
	.comm	_P2P_IDLE,8,3                   ## @P2P_IDLE
	.comm	_P2P_PROVISIONING,8,3           ## @P2P_PROVISIONING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_in_progress                ; -- Begin function p2p_in_progress
	.p2align	2
_p2p_in_progress:                       ; @p2p_in_progress
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _P2P_SEARCH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _P2P_SEARCH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #2
	ret
LBB0_3:
Lloh3:
	adrp	x9, _P2P_IDLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _P2P_IDLE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh6:
	adrp	x9, _P2P_PROVISIONING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _P2P_PROVISIONING@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, ne
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_P2P_SEARCH,8,3                 ; @P2P_SEARCH
	.comm	_P2P_IDLE,8,3                   ; @P2P_IDLE
	.comm	_P2P_PROVISIONING,8,3           ; @P2P_PROVISIONING
.subsections_via_symbols
