	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p2ps_setup_p2ps_prov
_p2ps_setup_p2ps_prov:                  ## @p2ps_setup_p2ps_prov
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	xorl	%esi, %esi
	movl	$41, %edx
	callq	_os_memset
	movq	(%r15), %r14
	jmp	LBB0_4
LBB0_1:
	movl	$41, %edi
	callq	_os_zalloc
	movq	%rax, %r14
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	movq	%rbx, 32(%r14)
	movq	%r13, 24(%r14)
	movl	%r12d, 16(%r14)
	movl	12(%r14), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_os_memcpy
	movl	8(%r14), %edi
	movl	(%rbx), %edx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_os_memcpy
	movq	(%r14), %rax
	movb	$0, (%rax)
	xorl	%eax, %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	$-1, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_p2ps_setup_p2ps_prov
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p2ps_setup_p2ps_prov
_p2ps_setup_p2ps_prov:                  ; @p2ps_setup_p2ps_prov
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x25, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_2
; %bb.1:
	mov	w1, #0
	mov	w2, #41
	bl	_os_memset
	ldr	x24, [x25]
	b	LBB0_3
LBB0_2:
	mov	w0, #41
	bl	_os_zalloc
	mov	x24, x0
	str	x0, [x25]
	cbz	x0, LBB0_5
LBB0_3:
	stp	x22, x23, [x24, #24]
	str	w21, [x24, #16]
	ldr	w0, [x24, #12]
Lloh0:
	adrp	x21, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_os_memcpy
	ldr	w0, [x24, #8]
	ldr	w2, [x21]
	mov	x1, x19
	bl	_os_memcpy
	mov	w0, #0
	ldr	x8, [x24]
	strb	wzr, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #-1
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_p2ps_setup_p2ps_prov
.subsections_via_symbols
