	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function frame_need_space
_frame_need_space:                      ## @frame_need_space
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movslq	(%rdi), %rbx
	cmpl	%esi, %ebx
	jg	LBB0_20
## %bb.1:
	movq	%rdi, %r14
	incl	%esi
	movl	%esi, (%rdi)
	movq	16(%rdi), %rdi
	movl	$2, %edx
	callq	_xcrealloc
	movq	%rax, 16(%r14)
	movq	8(%r14), %rdi
	movl	(%r14), %esi
	movl	$4, %edx
	callq	_xcrealloc
	movq	%rax, 8(%r14)
	movslq	(%r14), %r15
	cmpl	%r15d, %ebx
	jge	LBB0_20
## %bb.2:
	movq	16(%r14), %r14
	movq	%r15, %r11
	subq	%rbx, %r11
	cmpq	$4, %r11
	jae	LBB0_3
LBB0_14:
	movl	%r15d, %edi
	subl	%ebx, %edi
	movq	%rbx, %rsi
	notq	%rsi
	addq	%r15, %rsi
	andq	$3, %rdi
	je	LBB0_17
## %bb.15:
	movq	_DW_CFA_unreferenced@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rdx
	movq	%rdx, (%r14,%rbx,8)
	movq	$0, (%rax,%rbx,8)
	incq	%rbx
	decq	%rdi
	jne	LBB0_16
LBB0_17:
	cmpq	$3, %rsi
	jb	LBB0_20
## %bb.18:
	movq	_DW_CFA_unreferenced@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rdx
	movq	%rdx, (%r14,%rbx,8)
	movq	$0, (%rax,%rbx,8)
	movq	(%rcx), %rdx
	movq	%rdx, 8(%r14,%rbx,8)
	movq	$0, 8(%rax,%rbx,8)
	movq	(%rcx), %rdx
	movq	%rdx, 16(%r14,%rbx,8)
	movq	$0, 16(%rax,%rbx,8)
	movq	(%rcx), %rdx
	movq	%rdx, 24(%r14,%rbx,8)
	movq	$0, 24(%rax,%rbx,8)
	addq	$4, %rbx
	cmpq	%rbx, %r15
	jne	LBB0_19
	jmp	LBB0_20
LBB0_3:
	leaq	(%r14,%rbx,8), %rcx
	leaq	(%r14,%r15,8), %rdx
	leaq	(%rax,%r15,8), %r13
	cmpq	%rcx, %r13
	seta	%r9b
	leaq	(%rax,%rbx,8), %rsi
	cmpq	%rdx, %rsi
	setb	%r12b
	movq	_DW_CFA_unreferenced@GOTPCREL(%rip), %r8
	leaq	8(%r8), %rdi
	cmpq	%rdi, %rcx
	setb	%cl
	cmpq	%r8, %rdx
	seta	%r10b
	cmpq	%rdi, %rsi
	setb	%dl
	cmpq	%r8, %r13
	seta	%dil
	testb	%r12b, %r9b
	jne	LBB0_14
## %bb.4:
	andb	%r10b, %cl
	jne	LBB0_14
## %bb.5:
	andb	%dil, %dl
	jne	LBB0_14
## %bb.6:
	movq	%r11, %r9
	andq	$-4, %r9
	leaq	-4(%r9), %rcx
	movq	%rcx, %r10
	shrq	$2, %r10
	incq	%r10
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.8:
	movq	%r10, %rsi
	andq	$-2, %rsi
	movq	(%r8), %xmm0                    ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	leaq	(%rax,%rbx,8), %rcx
	addq	$48, %rcx
	leaq	(%r14,%rbx,8), %rdx
	addq	$48, %rdx
	xorl	%edi, %edi
	xorps	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -48(%rdx,%rdi,8)
	movdqu	%xmm0, -32(%rdx,%rdi,8)
	movups	%xmm1, -48(%rcx,%rdi,8)
	movups	%xmm1, -32(%rcx,%rdi,8)
	movdqu	%xmm0, -16(%rdx,%rdi,8)
	movdqu	%xmm0, (%rdx,%rdi,8)
	movups	%xmm1, -16(%rcx,%rdi,8)
	movups	%xmm1, (%rcx,%rdi,8)
	addq	$8, %rdi
	addq	$-2, %rsi
	jne	LBB0_9
## %bb.10:
	testb	$1, %r10b
	je	LBB0_12
LBB0_11:
	addq	%rbx, %rdi
	movq	(%r8), %xmm0                    ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqu	%xmm0, (%r14,%rdi,8)
	movdqu	%xmm0, 16(%r14,%rdi,8)
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, (%rax,%rdi,8)
	movdqu	%xmm0, 16(%rax,%rdi,8)
LBB0_12:
	cmpq	%r9, %r11
	jne	LBB0_13
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	addq	%r9, %rbx
	jmp	LBB0_14
LBB0_7:
	xorl	%edi, %edi
	testb	$1, %r10b
	jne	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_DW_CFA_unreferenced,8,3        ## @DW_CFA_unreferenced
	.no_dead_strip	_frame_need_space
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function frame_need_space
_frame_need_space:                      ; @frame_need_space
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldrsw	x20, [x0]
	cmp	w20, w1
	b.gt	LBB0_11
; %bb.1:
	mov	x19, x0
	add	w1, w1, #1
	str	w1, [x0]
	ldr	x0, [x0, #16]
	mov	w2, #2
	bl	_xcrealloc
	str	x0, [x19, #16]
	ldr	x0, [x19, #8]
	ldr	w1, [x19]
	mov	w2, #4
	bl	_xcrealloc
	str	x0, [x19, #8]
	ldrsw	x9, [x19]
	cmp	w20, w9
	b.ge	LBB0_11
; %bb.2:
	ldr	x10, [x19, #16]
	sub	x11, x9, x20
Lloh0:
	adrp	x8, _DW_CFA_unreferenced@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DW_CFA_unreferenced@GOTPAGEOFF]
	cmp	x11, #8
	b.lo	LBB0_9
; %bb.3:
	lsl	x13, x20, #3
	lsl	x12, x9, #3
	add	x14, x8, #8
	add	x15, x0, x13
	add	x16, x10, x12
	add	x17, x0, x12
	add	x1, x10, x13
	cmp	x1, x14
	ccmp	x16, x8, #0, lo
	cset	w12, hi
	cmp	x15, x14
	ccmp	x17, x8, #0, lo
	cset	w14, hi
	cmp	x15, x16
	ccmp	x17, x1, #0, lo
	b.hi	LBB0_9
; %bb.4:
	tbnz	w12, #0, LBB0_9
; %bb.5:
	tbnz	w14, #0, LBB0_9
; %bb.6:
	and	x12, x11, #0xfffffffffffffff8
	ld1r.2d	{ v0 }, [x8]
	add	x20, x12, x20
	add	x14, x13, #32
	add	x13, x0, x14
	add	x14, x10, x14
	movi.2d	v1, #0000000000000000
	mov	x15, x12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d2, [x8]
	dup.2d	v2, v2[0]
	stp	q0, q0, [x14, #-32]
	stp	q0, q2, [x14], #64
	stp	q1, q1, [x13, #-32]
	stp	q1, q1, [x13], #64
	subs	x15, x15, #8
	b.ne	LBB0_7
; %bb.8:
	cmp	x11, x12
	b.eq	LBB0_11
LBB0_9:
	lsl	x11, x20, #3
	add	x10, x10, x11
	add	x11, x0, x11
	sub	x9, x9, x20
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x8]
	str	x12, [x10], #8
	str	xzr, [x11], #8
	subs	x9, x9, #1
	b.ne	LBB0_10
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DW_CFA_unreferenced,8,3        ; @DW_CFA_unreferenced
	.no_dead_strip	_frame_need_space
.subsections_via_symbols
