	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PreprocessCart
_PreprocessCart:                        ## @PreprocessCart
	.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	(%rdi), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.1:
	movq	%rdi, %r14
	movl	4(%rdi), %ebx
	shll	$10, %ebx
	movl	%ebx, %edi
	callq	_Util_malloc
	movq	%rax, %r15
	movq	8(%r14), %rdi
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.2:
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	xorl	%r13d, %r13d
	xorl	%r10d, %r10d
	xorl	%r11d, %r11d
	xorl	%r12d, %r12d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %esi
	shrl	$2, %esi
	andl	$32, %esi
	movl	%ecx, %eax
	shrl	$4, %eax
	movl	%eax, %ebx
	andl	$16, %ebx
	orl	%esi, %ebx
	movl	%ecx, %edx
	shrl	$6, %edx
	andl	$8, %edx
	orl	%ebx, %edx
	movl	%ecx, %esi
	shrl	$10, %esi
	movl	%esi, %ebx
	andl	$1, %ebx
	orl	%edx, %ebx
	movl	%esi, %edx
	andl	$2, %edx
	orl	%ebx, %edx
	movl	%r13d, %ebx
	andl	$4096, %ebx                     ## imm = 0x1000
	andl	$4, %esi
	orl	%edx, %esi
	andl	$512, %eax                      ## imm = 0x200
	movl	%ecx, %edx
	shrl	$3, %edx
	andl	$2048, %edx                     ## imm = 0x800
	orl	%eax, %edx
	movl	%ecx, %eax
	shrl	$5, %eax
	andl	$1024, %eax                     ## imm = 0x400
	orl	%edx, %eax
	movl	%ecx, %edx
	andl	$65536, %edx                    ## imm = 0x10000
	orl	%ebx, %edx
	movl	%r9d, %ebx
	andl	$192, %ebx
	orl	%ebx, %edx
	movl	%r10d, %ebx
	andl	$32768, %ebx                    ## imm = 0x8000
	orl	%ebx, %edx
	movl	%r13d, %ebx
	andl	$16384, %ebx                    ## imm = 0x4000
	orl	%ebx, %edx
	movl	%r11d, %ebx
	andl	$8192, %ebx                     ## imm = 0x2000
	orl	%ebx, %edx
	movl	%r12d, %ebx
	andl	$256, %ebx                      ## imm = 0x100
	orl	%ebx, %edx
	orl	%esi, %edx
	orl	%eax, %edx
	movl	(%rdi,%rdx,4), %esi
	movl	%esi, %eax
	andl	$1, %eax
	movl	%esi, %edx
	andl	$2, %edx
	shll	$2, %edx
	leal	(%rdx,%rax,2), %eax
	movl	%esi, %edx
	andl	$4, %edx
	shll	$5, %edx
	orl	%eax, %edx
	movl	%esi, %eax
	andl	$8, %eax
	leal	(%rdx,%rax,8), %eax
	movl	%esi, %edx
	shrl	$4, %edx
	andl	$1, %edx
	orl	%eax, %edx
	movl	%esi, %eax
	shrl	$3, %eax
	movl	%eax, %ebx
	andl	$4, %ebx
	orl	%edx, %ebx
	shrl	%esi
	andl	$32, %esi
	orl	%ebx, %esi
	andl	$16, %eax
	orl	%esi, %eax
	movl	%eax, (%r15,%rcx,4)
	incq	%rcx
	addl	$4, %r12d
	addl	$256, %r11d                     ## imm = 0x100
	addl	$4096, %r10d                    ## imm = 0x1000
	addl	$1024, %r13d                    ## imm = 0x400
	addl	$64, %r9d
	cmpq	%rcx, %r8
	jne	LBB0_3
LBB0_4:
	callq	_free
	movq	%r15, 8(%r14)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_PreprocessCart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PreprocessCart
_PreprocessCart:                        ; @PreprocessCart
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w8, [x0]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #4]
	lsl	w21, w8, #10
	mov	x0, x21
	bl	_Util_malloc
	mov	x20, x0
	ldr	x0, [x19, #8]
	cbz	w21, LBB0_4
; %bb.2:
	mov	w8, #0
	mov	w9, #0
	mov	w10, #0
	mov	w11, #0
	mov	w12, #0
	mov	x13, #0
	lsl	x14, x21, #2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	and	w15, w8, #0xc0
	and	w16, w9, #0x1000
	and	w17, w10, #0x8000
	and	w1, w9, #0x4000
	and	w2, w11, #0x2000
	and	w3, w13, #0x100
	lsr	w4, w12, #2
	and	w4, w4, #0x20
	lsr	w5, w12, #4
	and	w6, w5, #0x10
	lsr	w7, w12, #6
	and	w7, w7, #0x8
	lsr	w21, w12, #10
	ubfx	w22, w12, #10, #1
	and	w23, w21, #0x2
	and	w21, w21, #0x4
	and	w5, w5, #0x200
	lsr	w24, w12, #3
	and	w24, w24, #0x800
	lsr	w25, w12, #5
	and	w25, w25, #0x400
	and	w26, w12, #0x10000
	orr	w16, w16, w26
	orr	w15, w16, w15
	orr	w15, w15, w17
	orr	w15, w15, w1
	orr	w15, w15, w2
	orr	w15, w15, w3
	orr	w15, w15, w4
	orr	w15, w15, w6
	orr	w15, w15, w7
	orr	w15, w15, w22
	orr	w15, w15, w23
	orr	w15, w15, w21
	orr	w15, w15, w5
	orr	w15, w15, w24
	orr	w15, w15, w25
	ldr	w15, [x0, w15, uxtw #2]
	lsr	w16, w15, #3
	lsr	w17, w15, #2
	lsl	w1, w15, #2
	and	w1, w1, #0x8
	bfi	w1, w15, #1, #1
	bfi	w1, w17, #7, #1
	bfi	w1, w16, #6, #1
	bfxil	w1, w15, #4, #1
	and	w17, w16, #0x4
	orr	w17, w1, w17
	lsr	w15, w15, #1
	and	w15, w15, #0x20
	orr	w15, w17, w15
	and	w16, w16, #0x10
	orr	w15, w15, w16
	str	w15, [x20, x13]
	add	x13, x13, #4
	add	w12, w12, #1
	add	w11, w11, #256
	add	w10, w10, #1, lsl #12           ; =4096
	add	w9, w9, #1024
	add	w8, w8, #64
	cmp	x14, x13
	b.ne	LBB0_3
LBB0_4:
	bl	_free
	str	x20, [x19, #8]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_PreprocessCart
.subsections_via_symbols
