	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function CheckMemory
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_3:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_4:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_5:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_CheckMemory
	.p2align	4, 0x90
_CheckMemory:                           ## @CheckMemory
	.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	$16000, %edi                    ## imm = 0x3E80
	callq	_ZeroMalloc
	movq	%rax, %r13
	xorl	%r14d, %r14d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%r14
	cmpq	$2000, %r14                     ## imm = 0x7D0
	je	LBB0_5
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_ZeroMalloc
	movq	%rax, (%r13,%r14,8)
	movq	%rax, %rdi
	callq	_InputToNull
	movq	(%r13,%r14,8), %rax
	movl	$12, %ecx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	movdqa	LCPI0_1(%rip), %xmm3            ## xmm3 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm4            ## xmm4 = [255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0]
	movdqa	LCPI0_3(%rip), %xmm5            ## xmm5 = [8,8,8,8]
	movdqa	LCPI0_4(%rip), %xmm6            ## xmm6 = [12,12,12,12]
	movdqa	LCPI0_5(%rip), %xmm7            ## xmm7 = [16,16,16,16]
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm0, %xmm1
	paddd	%xmm3, %xmm1
	movdqa	%xmm0, %xmm2
	pand	%xmm4, %xmm2
	pand	%xmm4, %xmm1
	movdqu	%xmm2, -48(%rax,%rcx,4)
	movdqu	%xmm1, -32(%rax,%rcx,4)
	cmpq	$1004, %rcx                     ## imm = 0x3EC
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	movdqa	%xmm0, %xmm1
	paddd	%xmm5, %xmm1
	movdqa	%xmm0, %xmm2
	paddd	%xmm6, %xmm2
	pand	%xmm4, %xmm1
	pand	%xmm4, %xmm2
	movdqu	%xmm1, -16(%rax,%rcx,4)
	movdqu	%xmm2, (%rax,%rcx,4)
	paddd	%xmm7, %xmm0
	addq	$16, %rcx
	jmp	LBB0_2
LBB0_5:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	(%r13,%r14,8), %rdi
	movl	$3000, %esi                     ## imm = 0xBB8
	callq	_ReAlloc
	movq	%rax, (%r13,%r14,8)
	movl	$232, 4000(%rax)
	movl	$232, %edi
	callq	_InputToNull
	movl	$1001, %ebx                     ## imm = 0x3E9
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13,%r14,8), %rax
	movzbl	%bl, %edi
	movl	%edi, (%rax,%rbx,4)
	callq	_InputToNull
	incq	%rbx
	cmpq	$3000, %rbx                     ## imm = 0xBB8
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	cmpq	$2000, %r14                     ## imm = 0x7D0
	jne	LBB0_6
## %bb.9:
	movl	$1, %r14d
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	pshufd	$0, %xmm8, %xmm1                ## xmm1 = xmm8[0,0,0,0]
	movdqa	%xmm5, %xmm0
	pcmpeqd	%xmm1, %xmm0
	blendvps	%xmm0, %xmm4, %xmm5
	psubd	%xmm1, %xmm5
	ptest	%xmm5, %xmm5
	cmovnel	%r15d, %r14d
	callq	_Free
	incq	%r12
	cmpq	$2000, %r12                     ## imm = 0x7D0
	je	LBB0_14
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	(%r13,%r12,8), %rdi
	movd	%r14d, %xmm8
	pshufd	$0, %xmm8, %xmm2                ## xmm2 = xmm8[0,0,0,0]
	movl	$12, %eax
	movdqa	%xmm2, %xmm3
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [0,1,2,3]
	movdqa	LCPI0_1(%rip), %xmm9            ## xmm9 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm0            ## xmm0 = [255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [8,8,8,8]
	movdqa	LCPI0_4(%rip), %xmm11           ## xmm11 = [12,12,12,12]
	movdqa	LCPI0_5(%rip), %xmm12           ## xmm12 = [16,16,16,16]
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm1, %xmm4
	paddd	%xmm9, %xmm4
	movdqu	-48(%rdi,%rax,4), %xmm6
	movdqu	-32(%rdi,%rax,4), %xmm7
	movdqa	%xmm1, %xmm5
	pand	%xmm0, %xmm5
	pcmpeqd	%xmm6, %xmm5
	pand	%xmm2, %xmm5
	pand	%xmm0, %xmm4
	pcmpeqd	%xmm7, %xmm4
	pand	%xmm3, %xmm4
	cmpq	$3004, %rax                     ## imm = 0xBBC
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movdqa	%xmm1, %xmm2
	paddd	%xmm10, %xmm2
	movdqa	%xmm1, %xmm3
	paddd	%xmm11, %xmm3
	movdqu	-16(%rdi,%rax,4), %xmm6
	movdqu	(%rdi,%rax,4), %xmm7
	pand	%xmm0, %xmm2
	pcmpeqd	%xmm6, %xmm2
	pand	%xmm0, %xmm3
	pcmpeqd	%xmm7, %xmm3
	pand	%xmm5, %xmm2
	pand	%xmm4, %xmm3
	paddd	%xmm12, %xmm1
	addq	$16, %rax
	jmp	LBB0_11
LBB0_14:
	movq	%r13, %rdi
	callq	_Free
	movl	%r14d, %eax
	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
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function CheckMemory
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_CheckMemory
	.p2align	2
_CheckMemory:                           ; @CheckMemory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	w0, #16000
	bl	_ZeroMalloc
	mov	x19, x0
	mov	x20, #0
	adrp	x22, lCPI0_0@PAGE
	ldr	q0, [x22, lCPI0_0@PAGEOFF]
	str	q0, [sp]                        ; 16-byte Folded Spill
	mov	x21, #224
	movk	x21, #225, lsl #32
	mov	x23, #226
	movk	x23, #227, lsl #32
	mov	x24, #228
	movk	x24, #229, lsl #32
	mov	x25, #230
	movk	x25, #231, lsl #32
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	mov	w0, #1000
	bl	_ZeroMalloc
	lsl	x26, x20, #3
	str	x0, [x19, x26]
	bl	_InputToNull
	movi.4s	v17, #16
	movi.2d	v16, #0x0000ff000000ff
	movi.4s	v7, #12
	movi.4s	v6, #8
	movi.4s	v5, #4
	mov	x9, #0
	ldr	x8, [x19, x26]
	ldr	q0, [sp]                        ; 16-byte Folded Reload
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add.4s	v1, v0, v5
	add.4s	v2, v0, v6
	add.4s	v3, v0, v7
	and.16b	v4, v0, v16
	and.16b	v1, v1, v16
	and.16b	v2, v2, v16
	and.16b	v3, v3, v16
	add	x10, x8, x9
	stp	q4, q1, [x10]
	stp	q2, q3, [x10, #32]
	add.4s	v0, v0, v17
	add	x9, x9, #64
	cmp	x9, #3968
	b.ne	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	str	x21, [x8, #3968]
	str	x23, [x8, #3976]
	str	x24, [x8, #3984]
	str	x25, [x8, #3992]
	add	x20, x20, #1
	cmp	x20, #2000
	b.ne	LBB0_1
; %bb.4:
	mov	x20, #0
	mov	w21, #232
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	lsl	x23, x20, #3
	ldr	x0, [x19, x23]
	mov	w1, #3000
	bl	_ReAlloc
	str	x0, [x19, x23]
	str	w21, [x0, #4000]
	mov	w0, #232
	bl	_InputToNull
	mov	w23, #1001
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, x20, lsl #3]
	and	w0, w23, #0xff
	str	w0, [x8, x23, lsl #2]
	bl	_InputToNull
	add	x23, x23, #1
	cmp	x23, #3000
	b.ne	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	cmp	x20, #2000
	b.ne	LBB0_5
; %bb.8:
	mov	x21, #0
	mov	w20, #1
	ldr	q0, [x22, lCPI0_0@PAGEOFF]
	str	q0, [sp]                        ; 16-byte Folded Spill
	movi.4s	v21, #4
	movi.4s	v22, #8
	movi.4s	v23, #12
	movi.2d	v24, #0x0000ff000000ff
	mov	w22, #182
	mov	w23, #181
	mov	w24, #180
	movi.4s	v25, #16
	mov	w25, #179
	mov	w26, #178
	mov	w27, #177
	mov	w28, #176
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x0, [x19, x21, lsl #3]
	mov	x8, #-11968
	dup.4s	v0, w20
	mov.16b	v3, v0
	mov.16b	v2, v0
	mov.16b	v1, v0
	ldr	q4, [sp]                        ; 16-byte Folded Reload
LBB0_10:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add.4s	v5, v4, v21
	add.4s	v6, v4, v22
	add.4s	v7, v4, v23
	add	x9, x0, x8
	ldr	q16, [x9, #11968]
	ldr	q17, [x9, #11984]
	ldr	q18, [x9, #12000]
	ldr	q19, [x9, #12016]
	and.16b	v20, v4, v24
	and.16b	v5, v5, v24
	and.16b	v6, v6, v24
	and.16b	v7, v7, v24
	cmeq.4s	v16, v16, v20
	cmeq.4s	v5, v17, v5
	cmeq.4s	v6, v18, v6
	cmeq.4s	v7, v19, v7
	and.16b	v0, v0, v16
	and.16b	v3, v3, v5
	and.16b	v2, v2, v6
	and.16b	v1, v1, v7
	add.4s	v4, v4, v25
	adds	x8, x8, #64
	b.ne	LBB0_10
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	dup.4s	v4, w20
	cmeq.4s	v5, v0, v4
	bit.16b	v0, v3, v5
	cmeq.4s	v3, v0, v4
	bit.16b	v0, v2, v3
	cmeq.4s	v2, v0, v4
	bit.16b	v0, v1, v2
	cmeq.4s	v0, v0, v4
	mvn.16b	v0, v0
	xtn.4h	v0, v0
	umov.h	w8, v0[0]
	umov.h	w9, v0[1]
	and	w9, w9, #0x1
	bfi	w8, w9, #1, #1
	umov.h	w9, v0[2]
	and	w9, w9, #0x1
	bfi	w8, w9, #2, #1
	umov.h	w9, v0[3]
	bfi	w8, w9, #3, #29
	tst	w8, #0xf
	cset	w8, eq
	ldr	w9, [x0, #11968]
	ldr	w10, [x0, #11972]
	ldr	w11, [x0, #11976]
	ldr	w12, [x0, #11980]
	ldr	w13, [x0, #11984]
	ldr	w14, [x0, #11988]
	ldr	w15, [x0, #11992]
	ldr	w16, [x0, #11996]
	cmp	w16, #183
	ccmp	w15, w22, #0, eq
	ccmp	w14, w23, #0, eq
	ccmp	w13, w24, #0, eq
	ccmp	w12, w25, #0, eq
	ccmp	w11, w26, #0, eq
	ccmp	w10, w27, #0, eq
	ccmp	w9, w28, #0, eq
	cset	w9, eq
	tst	w9, w8
	csel	w20, w20, wzr, ne
	bl	_Free
	movi.4s	v25, #16
	movi.2d	v24, #0x0000ff000000ff
	movi.4s	v23, #12
	movi.4s	v22, #8
	movi.4s	v21, #4
	add	x21, x21, #1
	cmp	x21, #2000
	b.ne	LBB0_9
; %bb.12:
	mov	x0, x19
	bl	_Free
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
