	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_change_value                   ## -- Begin function change_value
	.p2align	4, 0x90
_change_value:                          ## @change_value
	.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	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	(%rdi), %esi
	testl	%esi, %esi
	js	LBB0_2
## %bb.1:
	movl	4(%r15), %edi
	shll	$2, %esi
	callq	_zzfree
	movl	(%r15), %eax
	movq	_items_memory@GOTPCREL(%rip), %rcx
	shll	$2, %eax
	subl	%eax, (%rcx)
	jmp	LBB0_3
LBB0_2:
	movq	%r15, %rdi
	callq	_NODE_TYPE
	movq	_NODE_TYPE_MINUS@GOTPCREL(%rip), %rcx
	movq	_NODE_TYPE_UNSURE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	orl	(%rcx), %edx
	xorl	%edi, %edi
	cmpl	%edx, %eax
	sete	%dil
	callq	_assert
	movq	_NODE_TYPE_PLUS@GOTPCREL(%rip), %rax
	movl	(%r12), %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_change_node_type
LBB0_3:
	movl	%ebx, (%r15)
	shll	$2, %ebx
	movl	%ebx, %edi
	callq	_zzmalloc
	movl	%eax, 4(%r15)
	movl	%eax, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movq	_items_memory@GOTPCREL(%rip), %rax
	addl	%ebx, (%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_items_memory,4,2               ## @items_memory
	.comm	_NODE_TYPE_MINUS,4,2            ## @NODE_TYPE_MINUS
	.comm	_NODE_TYPE_UNSURE,4,2           ## @NODE_TYPE_UNSURE
	.comm	_NODE_TYPE_PLUS,4,2             ## @NODE_TYPE_PLUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_change_value                   ; -- Begin function change_value
	.p2align	2
_change_value:                          ; @change_value
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x22, _items_memory@GOTPAGE
Lloh1:
	ldr	x22, [x22, _items_memory@GOTPAGEOFF]
	tbnz	w8, #31, LBB0_2
; %bb.1:
	ldr	w0, [x20, #4]
	lsl	w1, w8, #2
	bl	_zzfree
	ldr	w8, [x20]
	ldr	w9, [x22]
	sub	w8, w9, w8, lsl #2
	str	w8, [x22]
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_NODE_TYPE
Lloh2:
	adrp	x8, _NODE_TYPE_MINUS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NODE_TYPE_MINUS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x23, _NODE_TYPE_UNSURE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _NODE_TYPE_UNSURE@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w9, w8
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
Lloh7:
	adrp	x8, _NODE_TYPE_PLUS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NODE_TYPE_PLUS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x23]
	orr	w1, w9, w8
	mov	x0, x20
	bl	_change_node_type
LBB0_3:
	str	w21, [x20]
	lsl	w21, w21, #2
	mov	x0, x21
	bl	_zzmalloc
	str	w0, [x20, #4]
	mov	x1, x19
	mov	x2, x21
	bl	_memcpy
	ldr	w8, [x22]
	add	w8, w8, w21
	str	w8, [x22]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_items_memory,4,2               ; @items_memory
	.comm	_NODE_TYPE_MINUS,4,2            ; @NODE_TYPE_MINUS
	.comm	_NODE_TYPE_UNSURE,4,2           ; @NODE_TYPE_UNSURE
	.comm	_NODE_TYPE_PLUS,4,2             ; @NODE_TYPE_PLUS
.subsections_via_symbols
