	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlist_forward_decode_item      ## -- Begin function mlist_forward_decode_item
	.p2align	4, 0x90
_mlist_forward_decode_item:             ## @mlist_forward_decode_item
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	16(%rdi), %rax
	movslq	(%rdi), %rbx
	leaq	(%rbx,%rbx,4), %rcx
	leaq	(%rax,%rcx,8), %r14
	movl	(%rax,%rcx,8), %edi
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	callq	*%rdx
	cmpq	%r13, %rax
	jg	LBB0_3
## %bb.1:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	decl	%ebx
	movl	-40(%r14), %edi
	addq	$-40, %r14
	callq	*%r12
	cmpq	%r13, %rax
	jle	LBB0_2
LBB0_3:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	cmpl	(%r15), %ebx
	jge	LBB0_9
## %bb.4:
	movl	8(%r14), %r12d
	addl	4(%r14), %r12d
	sarl	%r12d
	movq	16(%r14), %rsi
	testq	%rsi, %rsi
	js	LBB0_6
## %bb.5:
	leaq	12(%r15), %rdi
	callq	_bread_seek
	movl	%r12d, 4(%r15)
	jmp	LBB0_8
LBB0_6:
	cmpl	%r12d, 4(%r15)
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jge	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_mlist_decode_pair
	cmpl	%r12d, 4(%r15)
	jl	LBB0_7
LBB0_8:
	movl	%ebx, (%r15)
LBB0_9:
	movl	8(%r14), %r13d
	movl	24(%r14), %edi
	addl	4(%r14), %r13d
	sarl	%r13d
	leaq	24(%r14), %rbx
	callq	*-72(%rbp)                      ## 8-byte Folded Reload
	cmpq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_17
## %bb.10:
	movq	%r14, %r12
LBB0_11:
	movq	%rbx, %r14
	movq	16(%r12), %rsi
	testq	%rsi, %rsi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	js	LBB0_28
## %bb.12:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	leaq	12(%rbx), %rdi
	callq	_bread_seek
	movl	%r13d, 4(%rbx)
	jmp	LBB0_13
LBB0_17:
	leaq	4(%r14), %rdx
	leaq	8(%r14), %rcx
	leaq	12(%r15), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	16(%r14), %rsi
	testq	%rsi, %rsi
	js	LBB0_26
## %bb.19:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_bread_seek
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%r13d, 4(%rbx)
LBB0_20:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	%r13d, 44(%r14)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, 72(%r14)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, 48(%r14)
	movl	(%r14), %eax
	movl	%eax, 40(%r14)
	movq	%rbx, %rdi
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_mlist_decode_node
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=1
	incl	(%rbx)
	leaq	44(%r14), %rbx
	leaq	48(%r14), %r12
	movl	48(%r14), %r13d
	movl	64(%r14), %edi
	addl	44(%r14), %r13d
	sarl	%r13d
	addq	$64, %r14
	callq	*%rcx
	movq	%rbx, %rdx
	movq	%r12, %rcx
	movq	%r14, %rbx
	movq	%r15, %r14
	cmpq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%r15, %r12
	je	LBB0_11
LBB0_22:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	(%rcx), %ebx
	movq	%rdx, %r15
	subl	(%rdx), %ebx
	xorl	%edi, %edi
	cmpl	$2, %ebx
	setge	%dil
	callq	_assert
	cmpl	$2, %ebx
	je	LBB0_30
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	leaq	40(%r14), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	callq	*%r12
	cmpq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	jle	LBB0_18
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	(%r15), %eax
	leal	-1(%r13), %ecx
	cmpl	%ecx, %eax
	je	LBB0_34
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	%eax, 44(%r14)
	movl	32(%r14), %eax
	movl	%eax, 72(%r14)
	movl	%r13d, 48(%r14)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_mlist_decode_node
	movq	%r12, %rcx
	jmp	LBB0_21
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpl	%r13d, 4(%rbx)
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jge	LBB0_20
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mlist_decode_pair
	cmpl	%r13d, 4(%rbx)
	jl	LBB0_27
	jmp	LBB0_20
LBB0_28:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpl	%r13d, 4(%rbx)
	jge	LBB0_13
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mlist_decode_pair
	cmpl	%r13d, 4(%rbx)
	jl	LBB0_29
LBB0_13:
	movl	28(%r12), %eax
	movl	%eax, (%r15)
LBB0_14:
	movq	%r14, %rbx
LBB0_15:
	movl	(%rbx), %eax
LBB0_16:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movl	(%r14), %edi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	callq	*%r12
	xorl	%edi, %edi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%rbx, %rax
	setge	%dil
	callq	_assert
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	*%r12
	cmpq	%rbx, %rax
	jge	LBB0_33
## %bb.31:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	8(%rdi), %ecx
	incl	%ecx
	movl	$-1, %eax
	cmpl	%ecx, %edx
	je	LBB0_16
## %bb.32:
	movq	%r14, %rsi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_mlist_uptree
	jmp	LBB0_14
LBB0_33:
	movl	32(%r14), %edi
	callq	*%r12
	cmpq	%rbx, %rax
	jge	LBB0_35
LBB0_34:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, 4(%rax)
	movl	28(%r14), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_35:
	leaq	32(%r14), %rbx
	movl	(%r15), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_mlist_uptree
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlist_forward_decode_item      ; -- Begin function mlist_forward_decode_item
	.p2align	2
_mlist_forward_decode_item:             ; @mlist_forward_decode_item
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x23, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldrsw	x24, [x0]
	mov	w9, #40
	madd	x21, x24, x9, x8
	ldr	w0, [x21]
	blr	x2
	cmp	x0, x22
	b.gt	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, #-40]!
	sub	w24, w24, #1
	blr	x23
	cmp	x0, x22
	b.le	LBB0_1
LBB0_2:
	ldr	w8, [x20]
	cmp	w24, w8
	b.ge	LBB0_8
; %bb.3:
	ldp	w8, w9, [x21, #4]
	add	w8, w9, w8
	asr	w25, w8, #1
	ldr	x1, [x21, #16]
	tbnz	x1, #63, LBB0_6
; %bb.4:
	add	x0, x20, #12
	bl	_bread_seek
	str	w25, [x20, #4]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_mlist_decode_pair
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, #4]
	cmp	w8, w25
	b.lt	LBB0_5
LBB0_7:
	str	w24, [x20]
LBB0_8:
	mov	x28, x21
	ldr	w8, [x28, #4]!
	mov	x25, x28
	ldr	w9, [x25, #4]!
	add	w8, w9, w8
	asr	w27, w8, #1
	mov	x26, x28
	ldr	w0, [x26, #20]!
	blr	x23
	cmp	x0, x22
	b.ne	LBB0_18
; %bb.9:
	mov	x24, x21
LBB0_10:
	ldr	x1, [x24, #16]
	tbnz	x1, #63, LBB0_13
; %bb.11:
	add	x0, x20, #12
	bl	_bread_seek
	str	w27, [x20, #4]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_mlist_decode_pair
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, #4]
	cmp	w8, w27
	b.lt	LBB0_12
LBB0_14:
	ldr	w8, [x24, #28]
LBB0_15:
	str	w8, [x19]
LBB0_16:
	ldr	w0, [x26]
LBB0_17:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_18:
	add	x8, x20, #12
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	w8, [x26]
	str	w8, [x21, #72]
	ldr	w8, [x25]
	stp	w27, w8, [x21, #44]
	ldr	w8, [x21]
	str	w8, [x21, #40]
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x20
	mov	x1, x24
	bl	_mlist_decode_node
	ldr	w8, [x20]
	add	w8, w8, #1
	ldr	w0, [x21, #64]!
	mov	x28, x21
	ldr	w9, [x28, #-20]!
	str	w8, [x20]
	mov	x25, x21
	ldr	w8, [x25, #-16]!
	add	w8, w8, w9
	asr	w27, w8, #1
	blr	x23
	mov	x26, x21
	mov	x21, x24
	cmp	x0, x22
	b.eq	LBB0_10
LBB0_21:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_28 Depth 2
	ldr	w8, [x25]
	ldr	w9, [x28]
	sub	w24, w8, w9
	cmp	w24, #1
	cset	w0, gt
	bl	_assert
	cmp	w24, #2
	b.eq	LBB0_29
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x24, x21, #40
	ldr	w0, [x26]
	blr	x23
	cmp	x0, x22
	b.le	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w8, [x28]
	sub	w9, w27, #1
	cmp	w8, w9
	b.eq	LBB0_33
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w9, [x21, #32]
	str	w9, [x21, #72]
	str	w27, [x21, #48]
	ldr	w9, [x26]
	stp	w9, w8, [x21, #40]
	b	LBB0_20
LBB0_25:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x1, [x21, #16]
	tbnz	x1, #63, LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_bread_seek
	str	w27, [x20, #4]
	b	LBB0_19
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=2
	mov	x0, x20
	mov	x1, x19
	bl	_mlist_decode_pair
LBB0_28:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x20, #4]
	cmp	w8, w27
	b.lt	LBB0_27
	b	LBB0_19
LBB0_29:
	ldr	w0, [x21]
	blr	x23
	cmp	x0, x22
	cset	w0, ge
	bl	_assert
	ldr	w0, [x26]
	blr	x23
	cmp	x0, x22
	b.ge	LBB0_32
; %bb.30:
	ldr	w2, [x25]
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	cmp	w2, w8
	b.ne	LBB0_34
; %bb.31:
	mov	w0, #-1
	b	LBB0_17
LBB0_32:
	mov	x24, x21
	ldr	w0, [x24, #32]!
	blr	x23
	cmp	x0, x22
	b.ge	LBB0_35
LBB0_33:
	str	w27, [x20, #4]
	ldr	w8, [x21, #28]
	b	LBB0_15
LBB0_34:
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_mlist_uptree
	mov	x26, x21
	b	LBB0_16
LBB0_35:
	ldr	w2, [x28]
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_mlist_uptree
	mov	x26, x24
	b	LBB0_16
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
