	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function new_node
_new_node:                              ## @new_node
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_1
## %bb.2:
	leal	(%rax,%rax), %ecx
	testl	%eax, %eax
	movl	$256, %r14d                     ## imm = 0x100
	cmovgl	%ecx, %r14d
	movq	8(%rbx), %rdi
	leal	(,%r14,8), %esi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, 8(%rbx)
	movl	%r14d, (%rbx)
	movl	4(%rbx), %ecx
	jmp	LBB0_5
LBB0_1:
	movq	8(%rbx), %rax
LBB0_5:
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rcx
	movl	$-1, (%rcx)
	movslq	4(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	$-2, 4(%rax)
	movl	$1, %eax
	jmp	LBB0_6
LBB0_3:
	movl	$-1, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_new_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function new_node
_new_node:                              ; @new_node
	.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
	mov	x19, x0
	ldp	w9, w8, [x0]
	cmp	w9, w8
	b.ne	LBB0_3
; %bb.1:
	lsl	w8, w9, #1
	mov	w10, #256
	cmp	w9, #0
	csel	w20, w8, w10, gt
	ldr	x0, [x19, #8]
	lsl	w1, w20, #3
	bl	_realloc
	cbz	x0, LBB0_5
; %bb.2:
	str	x0, [x19, #8]
	str	w20, [x19]
	ldr	w8, [x19, #4]
	b	LBB0_4
LBB0_3:
	ldr	x0, [x19, #8]
LBB0_4:
	ldr	x8, [x0, w8, sxtw #3]
	mov	w9, #-1
	str	w9, [x8]
	ldrsw	x8, [x19, #4]
	ldr	x8, [x0, x8, lsl #3]
	mov	w9, #-2
	str	w9, [x8, #4]
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_new_node
.subsections_via_symbols
