	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function new_pes
_new_pes:                               ## @new_pes
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rdi), %r14d
	cmpl	%r14d, 4(%rdi)
	jne	LBB0_4
## %bb.1:
	leal	(%r14,%r14), %eax
	testl	%r14d, %r14d
	movl	$32, %r14d
	cmovnel	%eax, %r14d
	movq	8(%r15), %rdi
	leal	(,%r14,4), %esi
	callq	_realloc
	movq	%rax, 8(%r15)
	movl	(%r15), %r12d
	cmpl	%r14d, %r12d
	jge	LBB0_4
## %bb.2:
	movq	%rax, %rdi
	movslq	%r12d, %rbx
	shlq	$3, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	8(%r15), %rdi
	movq	$-1, (%rdi,%rbx)
	addq	$8, %rbx
	incl	%r12d
	cmpl	%r12d, %r14d
	jne	LBB0_3
LBB0_4:
	movl	%r14d, (%r15)
	movl	4(%r15), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 4(%r15)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_new_pes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function new_pes
_new_pes:                               ; @new_pes
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldp	w20, w8, [x0]
	cmp	w8, w20
	b.ne	LBB0_4
; %bb.1:
	lsl	w8, w20, #1
	mov	w9, #32
	cmp	w20, #0
	csel	w20, w9, w8, eq
	ldr	x0, [x19, #8]
	lsl	w1, w20, #2
	bl	_realloc
	str	x0, [x19, #8]
	ldr	w21, [x19]
	cmp	w21, w20
	b.ge	LBB0_4
; %bb.2:
	sxtw	x8, w21
	lsl	x22, x8, #3
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x0, x22
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x0, [x19, #8]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x0, x22]
	add	x22, x22, #8
	add	w21, w21, #1
	cmp	w20, w21
	b.ne	LBB0_3
LBB0_4:
	ldr	w0, [x19, #4]
	add	w8, w0, #1
	stp	w20, w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_new_pes
.subsections_via_symbols
