	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CompleteBoxes
_CompleteBoxes:                         ## @CompleteBoxes
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movl	%esi, %r13d
	movq	(%rdi), %r8
	movl	%esi, %ebx
	movq	(%r8,%rbx,8), %rsi
	movl	%edx, %r15d
	shlq	$4, %r15
	movq	(%rsi,%r15), %r11
	movq	_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r11
	jne	LBB0_19
## %bb.1:
	movq	_FLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leal	-1(%rdx), %r14d
	leal	-1(%r13), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%r8,%rax,8), %r10
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	shlq	$4, %r14
	movq	(%r10,%r14), %r9
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	cmpq	%rcx, %r9
	sete	%bl
	movq	(%r10,%r15), %rax
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	cmpq	%rcx, %rax
	sete	%dl
	addl	%ebx, %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leal	1(%rdi), %r12d
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	shlq	$4, %r12
	xorl	%ebx, %ebx
	cmpq	%rcx, (%r10,%r12)
	sete	%bl
	addl	%edx, %ebx
	xorl	%edx, %edx
	cmpq	%rcx, (%rsi,%r14)
	sete	%dl
	addl	%ebx, %edx
	xorl	%ebx, %ebx
	cmpq	%rcx, %r11
	sete	%bl
	addl	%edx, %ebx
	xorl	%edx, %edx
	cmpq	%rcx, (%rsi,%r12)
	sete	%dl
	addl	%ebx, %edx
	leal	1(%r13), %edi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	(%r8,%rdi,8), %rdi
	xorl	%ebx, %ebx
	cmpq	%rcx, (%rdi,%r14)
	sete	%bl
	addl	%edx, %ebx
	xorl	%edx, %edx
	cmpq	%rcx, (%rdi,%r15)
	sete	%dl
	addl	%ebx, %edx
	xorl	%ebx, %ebx
	cmpq	%rcx, (%rdi,%r12)
	sete	%bl
	addl	%edx, %ebx
	cmpl	8(%rsi,%r15), %ebx
	jne	LBB0_19
## %bb.2:
	cmpq	%rcx, %r9
	jne	LBB0_3
## %bb.4:
	cmpq	%rcx, %rax
	jne	LBB0_5
LBB0_6:
	cmpq	%rcx, (%r10,%r12)
	je	LBB0_8
LBB0_7:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_CompleteBox
	movq	(%rbx), %r8
	movq	_FLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_8:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%r8,%rax,8), %rdx
	cmpq	%rcx, (%rdx,%r14)
	jne	LBB0_9
## %bb.10:
	cmpq	%rcx, (%rdx,%r15)
	jne	LBB0_11
LBB0_12:
	cmpq	%rcx, (%rdx,%r12)
	je	LBB0_14
LBB0_13:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_CompleteBox
	movq	(%rbx), %r8
	movq	_FLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_14:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	(%r8,%rdx,8), %rax
	cmpq	%rcx, (%rax,%r14)
	jne	LBB0_15
## %bb.16:
	cmpq	%rcx, (%rax,%r15)
	jne	LBB0_17
LBB0_18:
	cmpq	%rcx, (%rax,%r12)
	jne	LBB0_20
LBB0_19:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_CompleteBox
	movq	(%rbx), %r8
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%r8,%rax,8), %r10
	movq	(%r10,%r15), %rax
	movq	_FLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_6
LBB0_5:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_CompleteBox
	movq	(%rbx), %r8
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%r8,%rax,8), %r10
	movq	_FLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%r10,%r12)
	jne	LBB0_7
	jmp	LBB0_8
LBB0_9:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_CompleteBox
	movq	(%rbx), %r8
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%r8,%rax,8), %rdx
	movq	_FLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rdx,%r15)
	je	LBB0_12
LBB0_11:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_CompleteBox
	movq	(%rbx), %r8
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%r8,%rax,8), %rdx
	movq	_FLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rdx,%r12)
	jne	LBB0_13
	jmp	LBB0_14
LBB0_15:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_CompleteBox
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	movq	_FLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rax,%r15)
	je	LBB0_18
LBB0_17:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_CompleteBox
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	movq	_FLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rax,%r12)
	je	LBB0_19
LBB0_20:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CompleteBox                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COMPLETE,8,3                   ## @COMPLETE
	.comm	_FLAG,8,3                       ## @FLAG
	.no_dead_strip	_CompleteBoxes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CompleteBoxes
_CompleteBoxes:                         ; @CompleteBoxes
	.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
	ldr	x8, [x0]
	ldr	x12, [x8, w1, uxtw #3]
	mov	w9, w2
	lsl	x27, x9, #4
	ldr	x14, [x12, x27]
Lloh0:
	adrp	x9, _COMPLETE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _COMPLETE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x14, x9
	b.ne	LBB0_19
; %bb.1:
	mov	x20, x2
	mov	x24, x1
Lloh3:
	adrp	x9, _FLAG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FLAG@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sub	w23, w2, #1
	sub	w25, w1, #1
	ldr	x10, [x8, w25, uxtw #3]
	lsl	x26, x23, #4
	ldr	x13, [x10, x26]
	ldr	x11, [x10, x27]
	cmp	x11, x9
	cset	w15, eq
	cmp	x13, x9
	cinc	w15, w15, eq
	add	w17, w2, #1
	lsl	x28, x17, #4
	ldr	x16, [x10, x28]
	cmp	x16, x9
	cinc	w15, w15, eq
	ldr	x16, [x12, x26]
	cmp	x16, x9
	cinc	w15, w15, eq
	cmp	x14, x9
	cinc	w14, w15, eq
	ldr	x15, [x12, x28]
	cmp	x15, x9
	cinc	w14, w14, eq
	add	w22, w1, #1
	ldr	x15, [x8, w22, uxtw #3]
	ldr	x16, [x15, x26]
	cmp	x16, x9
	cinc	w14, w14, eq
	ldr	x16, [x15, x27]
	cmp	x16, x9
	ldr	x15, [x15, x28]
	cinc	w14, w14, eq
	cmp	x15, x9
	cinc	w14, w14, eq
	add	x12, x12, x27
	ldr	w12, [x12, #8]
	cmp	w14, w12
	b.ne	LBB0_19
; %bb.2:
	mov	x19, x0
	cmp	x13, x9
	str	x17, [sp, #8]                   ; 8-byte Folded Spill
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x25
	mov	x2, x23
	bl	_CompleteBox
	ldr	x8, [x19]
	ldr	x10, [x8, x25, lsl #3]
	ldr	x11, [x10, x27]
Lloh6:
	adrp	x9, _FLAG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FLAG@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
LBB0_4:
	mov	w21, w24
	cmp	x11, x9
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x25
	mov	x2, x20
	bl	_CompleteBox
	ldr	x8, [x19]
	ldr	x10, [x8, x25, lsl #3]
Lloh9:
	adrp	x9, _FLAG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FLAG@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
LBB0_6:
	ldr	x10, [x10, x28]
	cmp	x10, x9
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x25
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_CompleteBox
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _FLAG@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FLAG@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
LBB0_8:
	ldr	x10, [x8, x21, lsl #3]
	ldr	x11, [x10, x26]
	cmp	x11, x9
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	bl	_CompleteBox
	ldr	x8, [x19]
	ldr	x10, [x8, x21, lsl #3]
Lloh15:
	adrp	x9, _FLAG@GOTPAGE
Lloh16:
	ldr	x9, [x9, _FLAG@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
LBB0_10:
	ldr	x11, [x10, x27]
	cmp	x11, x9
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	bl	_CompleteBox
	ldr	x8, [x19]
	ldr	x10, [x8, x21, lsl #3]
Lloh18:
	adrp	x9, _FLAG@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FLAG@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
LBB0_12:
	ldr	x10, [x10, x28]
	cmp	x10, x9
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x19
	mov	x1, x24
	mov	x2, x21
	bl	_CompleteBox
	ldr	x8, [x19]
Lloh21:
	adrp	x9, _FLAG@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FLAG@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
LBB0_14:
	ldr	x8, [x8, x22, lsl #3]
	ldr	x10, [x8, x26]
	cmp	x10, x9
	b.eq	LBB0_16
; %bb.15:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_CompleteBox
	ldr	x8, [x19]
	ldr	x8, [x8, x22, lsl #3]
Lloh24:
	adrp	x9, _FLAG@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FLAG@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
LBB0_16:
	ldr	x10, [x8, x27]
	cmp	x10, x9
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_CompleteBox
	ldr	x8, [x19]
	ldr	x8, [x8, x22, lsl #3]
Lloh27:
	adrp	x9, _FLAG@GOTPAGE
Lloh28:
	ldr	x9, [x9, _FLAG@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
LBB0_18:
	ldr	x8, [x8, x28]
	cmp	x8, x9
	b.ne	LBB0_20
LBB0_19:
	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_20:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	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
	b	_CompleteBox
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_COMPLETE,8,3                   ; @COMPLETE
	.comm	_FLAG,8,3                       ; @FLAG
	.no_dead_strip	_CompleteBoxes
.subsections_via_symbols
