	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function change_section
_change_section:                        ## @change_section
	.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
	movl	(%rsi), %eax
	cmpl	%edx, %eax
	je	LBB0_21
## %bb.1:
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	16(%rdi), %r12
	movq	16(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.2:
	cmpq	%rbx, %rcx
	je	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rcx, %rdx
	movq	%rsi, %rcx
	cmpq	%rbx, %rsi
	jne	LBB0_7
	jmp	LBB0_5
LBB0_3:
	xorl	%edx, %edx
LBB0_5:
	leaq	8(%rdx), %rcx
	testq	%rdx, %rdx
	cmoveq	%r12, %rcx
	movq	8(%rbx), %rsi
	movq	%rsi, (%rcx)
	cmpq	%rbx, 8(%r15)
	jne	LBB0_8
## %bb.6:
	movq	%rdx, 8(%r15)
LBB0_8:
	cmpl	$128, %eax
	je	LBB0_12
## %bb.9:
	cmpl	$130, %eax
	je	LBB0_13
## %bb.10:
	cmpl	$129, %eax
	jne	LBB0_14
## %bb.11:
	decl	24(%r15)
	jmp	LBB0_15
LBB0_12:
	decl	4(%r15)
	jmp	LBB0_15
LBB0_13:
	decl	(%r15)
	jmp	LBB0_15
LBB0_14:
	xorl	%edi, %edi
	callq	_log_assert
LBB0_15:
	movq	$0, 8(%rbx)
	movq	8(%r15), %rax
	leaq	8(%rax), %rcx
	testq	%rax, %rax
	cmoveq	%r12, %rcx
	movq	%rbx, (%rcx)
	movq	%rbx, 8(%r15)
	cmpl	$130, %r14d
	je	LBB0_18
## %bb.16:
	cmpl	$128, %r14d
	jne	LBB0_19
## %bb.17:
	incl	4(%r15)
	jmp	LBB0_20
LBB0_18:
	incl	(%r15)
	jmp	LBB0_20
LBB0_19:
	xorl	%edi, %edi
	callq	_log_assert
LBB0_20:
	movl	%r14d, (%rbx)
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_change_section
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function change_section
_change_section:                        ; @change_section
	.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
	ldr	w8, [x1]
	cmp	w8, w2
	b.eq	LBB0_21
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x22, x0
	ldr	x9, [x22, #16]!
	cbz	x9, LBB0_8
; %bb.2:
	cmp	x9, x20
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9, #8]
	cbz	x11, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x10, x9
	mov	x9, x11
	cmp	x11, x20
	b.ne	LBB0_3
	b	LBB0_6
LBB0_5:
	mov	x10, #0
LBB0_6:
	ldr	x9, [x20, #8]
	add	x11, x10, #8
	cmp	x10, #0
	csel	x11, x22, x11, eq
	str	x9, [x11]
	ldr	x9, [x21, #8]
	cmp	x9, x20
	b.ne	LBB0_8
; %bb.7:
	str	x10, [x21, #8]
LBB0_8:
	cmp	w8, #128
	b.eq	LBB0_12
; %bb.9:
	cmp	w8, #130
	b.eq	LBB0_13
; %bb.10:
	cmp	w8, #129
	b.ne	LBB0_14
; %bb.11:
	ldr	w8, [x21, #24]
	sub	w8, w8, #1
	str	w8, [x21, #24]
	b	LBB0_15
LBB0_12:
	ldr	w8, [x21, #4]
	sub	w8, w8, #1
	str	w8, [x21, #4]
	b	LBB0_15
LBB0_13:
	ldr	w8, [x21]
	sub	w8, w8, #1
	str	w8, [x21]
	b	LBB0_15
LBB0_14:
	mov	w0, #0
	bl	_log_assert
LBB0_15:
	str	xzr, [x20, #8]
	ldr	x8, [x21, #8]
	add	x9, x8, #8
	cmp	x8, #0
	csel	x8, x22, x9, eq
	str	x20, [x8]
	str	x20, [x21, #8]
	cmp	w19, #130
	b.eq	LBB0_18
; %bb.16:
	cmp	w19, #128
	b.ne	LBB0_19
; %bb.17:
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
	b	LBB0_20
LBB0_18:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	b	LBB0_20
LBB0_19:
	mov	w0, #0
	bl	_log_assert
LBB0_20:
	str	w19, [x20]
LBB0_21:
	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	_change_section
.subsections_via_symbols
