	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unserialize_list2_raw          ## -- Begin function unserialize_list2_raw
	.p2align	4, 0x90
_unserialize_list2_raw:                 ## @unserialize_list2_raw
	.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
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rdi), %r12d
	addq	$4, %r15
	xorl	%edi, %edi
	cmpl	%edx, %r12d
	setle	%dil
	callq	_assert
	testl	%r12d, %r12d
	jle	LBB0_13
## %bb.1:
	leal	-1(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leal	(%r14,%r14), %eax
	addl	$-2, %eax
	leal	-1(%r14,%r14), %ecx
	movslq	%ecx, %r10
	movslq	%eax, %r9
	movl	%r14d, %r13d
	xorl	%r11d, %r11d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %r15
	incl	%r11d
	cmpl	%r12d, %r11d
	je	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	movl	(%r15), %edx
	movl	4(%r15), %ecx
	testl	%r14d, %r14d
	jle	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%edx, (%rbx,%rax,8)
	je	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	incq	%rax
	cmpq	%rax, %r13
	jne	LBB0_4
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ecx, (%rbx,%r10,4)
	jge	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, (%rbx,%r10,4)
	movl	%edx, (%rbx,%r9,4)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jg	LBB0_9
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	%ecx, 4(%rbx,%rax,8)
	testl	%eax, %eax
	jle	LBB0_12
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edx
	addl	%eax, %eax
	incq	%rdx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	1(%rax), %ecx
	movslq	%ecx, %rcx
	movl	(%rbx,%rcx,4), %edi
	leal	-1(%rax), %esi
	movslq	%esi, %rsi
	movl	(%rbx,%rsi,4), %r8d
	cmpl	%r8d, %edi
	jle	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movl	%r8d, (%rbx,%rcx,4)
	movl	%edi, (%rbx,%rsi,4)
	movslq	%eax, %rcx
	movl	(%rbx,%rcx,4), %r8d
	addl	$-2, %eax
	movslq	%eax, %rdi
	movl	(%rbx,%rdi,4), %esi
	movl	%esi, (%rbx,%rcx,4)
	movl	%r8d, (%rbx,%rdi,4)
	decq	%rdx
	cmpq	$1, %rdx
	jg	LBB0_10
	jmp	LBB0_12
LBB0_13:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unserialize_list2_raw          ; -- Begin function unserialize_list2_raw
	.p2align	2
_unserialize_list2_raw:                 ; @unserialize_list2_raw
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w22, [x19], #4
	cmp	w22, w2
	cset	w0, le
	bl	_assert
	cmp	w22, #1
	b.lt	LBB0_13
; %bb.1:
	mov	w8, #0
	sxtw	x9, w20
	sub	x9, x9, #1
	lsl	x10, x9, #1
	sxtw	x11, w10
	orr	x11, x11, #0x1
	mov	w12, w20
	add	x13, x21, #4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #8
	add	w8, w8, #1
	cmp	w8, w22
	b.eq	LBB0_13
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	ldp	w16, w15, [x19]
	cmp	w20, #1
	b.lt	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x14, #0
	mov	x17, x13
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w0, [x17, #-4]
	cmp	w0, w16
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x14, x14, #1
	add	x17, x17, #8
	cmp	x12, x14
	b.ne	LBB0_5
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w14, [x21, x11, lsl #2]
	cmp	w14, w15
	b.ge	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w15, [x21, x11, lsl #2]
	str	w16, [x21, x10, lsl #2]
	mov	x14, x9
	cmp	w14, #1
	b.ge	LBB0_10
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w16, [x17]
	add	w15, w16, w15
	str	w15, [x17]
	cmp	w14, #1
	b.lt	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w16, w14
	lsl	w15, w14, #1
	add	x14, x16, #1
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w1, w15, #1
	ldr	w16, [x21, w1, sxtw #2]
	sub	w17, w15, #1
	ldr	w0, [x21, w17, sxtw #2]
	cmp	w16, w0
	b.le	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	sxtw	x1, w1
	str	w0, [x21, x1, lsl #2]
	sxtw	x17, w17
	str	w16, [x21, x17, lsl #2]
	sbfiz	x16, x15, #2, #32
	ldr	w17, [x21, x16]
	sub	w15, w15, #2
	sbfiz	x0, x15, #2, #32
	ldr	w1, [x21, x0]
	str	w1, [x21, x16]
	str	w17, [x21, x0]
	sub	x14, x14, #1
                                        ; kill: def $w15 killed $w15 killed $x15 def $x15
	cmp	x14, #1
	b.gt	LBB0_11
	b	LBB0_2
LBB0_13:
	mov	x0, x19
	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
.subsections_via_symbols
