	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_mem
_parse_mem:                             ## @parse_mem
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	%rsi, %rdi
	je	LBB0_40
## %bb.1:
	movl	(%rdi), %ecx
	movl	%ecx, %eax
	andl	$7, %eax
	incl	%eax
	movl	%eax, (%rdx)
	leaq	4(%rdi), %rax
	cmpq	%rsi, %rax
	je	LBB0_40
## %bb.2:
	movl	(%rdi), %edi
	movl	%edi, %r10d
	shrl	$3, %r10d
	andl	$3, %r10d
	movl	%edi, %r11d
	shrl	$5, %r11d
	andl	$3, %r11d
	sete	%bl
	testb	$-128, %dil
	sete	%r8b
	orb	%bl, %r8b
	andl	$7, %ecx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	12(,%rcx,4), %r9
	xorl	%ecx, %ecx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edi, %edi
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	shll	$8, %r14d
	movq	8(%rdx), %rbx
	movl	%r14d, (%rbx,%rcx)
	shll	$8, %edi
	movl	%edi, 4(%rbx,%rcx)
	shll	$8, %r15d
	movl	%r15d, 8(%rbx,%rcx)
	addq	$12, %rcx
	cmpq	%rcx, %r9
	je	LBB0_41
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r10d, %r10d
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %rax
	je	LBB0_40
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	4(%rax), %rdi
	movl	(%rax), %r14d
	cmpl	$1, %r10d
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %rdi
	je	LBB0_40
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%rax), %edi
	shll	$8, %edi
	addl	%edi, %r14d
	leaq	8(%rax), %rdi
	cmpl	$2, %r10d
	jne	LBB0_13
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rdi, %rax
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %rdi
	je	LBB0_40
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%rax), %edi
	shll	$16, %edi
	addl	%edi, %r14d
	addq	$12, %rax
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r15d, %r15d
	testl	%r11d, %r11d
	je	LBB0_3
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %rax
	je	LBB0_40
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	4(%rax), %rbx
	movl	(%rax), %edi
	cmpl	$1, %r11d
	je	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %rbx
	je	LBB0_40
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%rax), %ebx
	shll	$8, %ebx
	addl	%ebx, %edi
	leaq	8(%rax), %rbx
	cmpl	$2, %r11d
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %rbx
	je	LBB0_40
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%rax), %ebx
	shll	$16, %ebx
	addl	%ebx, %edi
	addq	$12, %rax
	movq	%rax, %rbx
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	testb	%r8b, %r8b
	je	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %rbx
	je	LBB0_40
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	4(%rbx), %rax
	movl	(%rbx), %r15d
	cmpl	$1, %r11d
	je	LBB0_4
## %bb.26:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %rax
	je	LBB0_40
## %bb.27:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%rbx), %eax
	shll	$8, %eax
	addl	%eax, %r15d
	leaq	8(%rbx), %rax
	cmpl	$2, %r11d
	je	LBB0_4
## %bb.28:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %rax
	je	LBB0_40
## %bb.29:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%rbx), %eax
	shll	$16, %eax
	addl	%eax, %r15d
	addq	$12, %rbx
	jmp	LBB0_23
LBB0_40:
	xorl	%eax, %eax
LBB0_41:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_parse_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_mem
_parse_mem:                             ; @parse_mem
	.cfi_startproc
; %bb.0:
	cmp	x0, x1
	b.eq	LBB0_29
; %bb.1:
	ldr	w14, [x0]
	and	w8, w14, #0x7
	add	w8, w8, #1
	str	w8, [x2]
	ldr	w11, [x0], #4
	cmp	x0, x1
	b.eq	LBB0_29
; %bb.2:
	mov	x8, #0
	ubfx	w9, w11, #3, #2
	ubfx	w10, w11, #5, #2
	sub	w12, w9, #1
	sub	w13, w10, #1
	tst	w11, #0x80
	add	x11, x12, #1
	add	x12, x13, #1
	ccmp	w10, #0, #4, ne
	cset	w13, eq
	and	x14, x14, #0x7
	mov	w15, #12
	orr	x16, xzr, #0xc
	madd	x14, x14, x15, x16
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w16, #0
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w17, #0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	lsl	w15, w15, #8
	ldr	x3, [x2, #8]
	add	x3, x3, x8
	lsl	w16, w16, #8
	stp	w15, w16, [x3]
	lsl	w15, w17, #8
	str	w15, [x3, #8]
	add	x8, x8, #12
	cmp	x14, x8
	b.eq	LBB0_30
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w9, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x0, x1
	b.eq	LBB0_29
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x16, x0, x11, lsl #2
	mov	x17, x0
	ldr	w15, [x17], #4
	cmp	w9, #1
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x17, x1
	b.eq	LBB0_29
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w17, [x0, #4]
	add	w15, w15, w17, lsl #8
	cmp	w9, #2
	b.ne	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x16
	cbnz	w10, LBB0_15
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w15, #0
	cbnz	w10, LBB0_15
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x17, x0, #8
	cmp	x17, x1
	b.eq	LBB0_29
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w17, [x17]
	add	w15, w15, w17, lsl #16
	mov	x0, x16
	cbz	w10, LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x0, x1
	b.eq	LBB0_29
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x17, x0
	ldr	w16, [x17], #4
	cmp	w10, #1
	b.eq	LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	x17, x1
	b.eq	LBB0_29
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w17, [x0, #4]
	add	w16, w16, w17, lsl #8
	cmp	w10, #2
	b.eq	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x17, x0, #8
	cmp	x17, x1
	b.eq	LBB0_29
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w17, [x17]
	add	w16, w16, w17, lsl #16
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x0, x12, lsl #2
	tbnz	w13, #0, LBB0_4
; %bb.22:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	x0, x1
	b.eq	LBB0_29
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x3, x0, x12, lsl #2
	ldr	w17, [x0], #4
	cmp	w10, #1
	b.eq	LBB0_28
; %bb.24:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	x0, x1
	b.eq	LBB0_29
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w4, [x0], #4
	add	w17, w17, w4, lsl #8
	cmp	w10, #2
	b.eq	LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	x0, x1
	b.eq	LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x0]
	add	w17, w17, w0, lsl #16
LBB0_28:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x3
	b	LBB0_5
LBB0_29:
	mov	x0, #0
	ret
LBB0_30:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_parse_mem
.subsections_via_symbols
