	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_get_cross_connect_disallowed ## -- Begin function p2p_get_cross_connect_disallowed
	.p2align	4, 0x90
_p2p_get_cross_connect_disallowed:      ## @p2p_get_cross_connect_disallowed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-32(%rbp), %r15
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_os_memset
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_p2p_parse_p2p_ie
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	-32(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_P2P_MAN_CROSS_CONNECTION_PERMITTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r14d, %r14d
	testl	%ecx, (%rax)
	sete	%r14b
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P2P_MAN_CROSS_CONNECTION_PERMITTED,4,2 ## @P2P_MAN_CROSS_CONNECTION_PERMITTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_get_cross_connect_disallowed ; -- Begin function p2p_get_cross_connect_disallowed
	.p2align	2
_p2p_get_cross_connect_disallowed:      ; @p2p_get_cross_connect_disallowed
	.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	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_os_memset
	add	x1, sp, #8
	mov	x0, x19
	bl	_p2p_parse_p2p_ie
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_4
; %bb.1:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _P2P_MAN_CROSS_CONNECTION_PERMITTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _P2P_MAN_CROSS_CONNECTION_PERMITTED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_P2P_MAN_CROSS_CONNECTION_PERMITTED,4,2 ; @P2P_MAN_CROSS_CONNECTION_PERMITTED
.subsections_via_symbols
