	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function floor1_look
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_1:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
LCPI0_2:
	.quad	16                              ## 0x10
	.quad	16                              ## 0x10
LCPI0_3:
	.quad	24                              ## 0x18
	.quad	24                              ## 0x18
LCPI0_4:
	.quad	32                              ## 0x20
	.quad	32                              ## 0x20
LCPI0_5:
	.quad	40                              ## 0x28
	.quad	40                              ## 0x28
LCPI0_6:
	.quad	48                              ## 0x30
	.quad	48                              ## 0x30
LCPI0_7:
	.quad	56                              ## 0x38
	.quad	56                              ## 0x38
LCPI0_8:
	.quad	4                               ## 0x4
	.quad	4                               ## 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_floor1_look:                           ## @floor1_look
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_VIF_POSIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$2, %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	$1, %edi
	movl	$48, %esi
	callq	__ogg_calloc
	movq	%rax, %r15
	movq	%r12, 40(%rax)
	movq	(%r12), %r8
	movl	4(%r8), %eax
	movl	%eax, (%r15)
	movl	8(%r12), %r10d
	testl	%r10d, %r10d
	jle	LBB0_1
## %bb.4:
	movq	16(%r12), %rax
	movq	32(%r12), %rcx
	leaq	-1(%r10), %rdi
	movl	%r10d, %r9d
	andl	$3, %r9d
	cmpq	$3, %rdi
	jae	LBB0_6
## %bb.5:
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_1:
	movl	$2, 4(%r15)
	xorl	%ebx, %ebx
	movl	$2, %esi
	jmp	LBB0_2
LBB0_6:
	andl	$-4, %r10d
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rdi,8), %rdx
	movq	8(%rax,%rdi,8), %rsi
	addl	(%rcx,%rdx,8), %ebx
	addl	(%rcx,%rsi,8), %ebx
	movq	16(%rax,%rdi,8), %rdx
	addl	(%rcx,%rdx,8), %ebx
	movq	24(%rax,%rdi,8), %rdx
	addl	(%rcx,%rdx,8), %ebx
	addq	$4, %rdi
	cmpq	%rdi, %r10
	jne	LBB0_7
LBB0_8:
	testq	%r9, %r9
	je	LBB0_11
## %bb.9:
	leaq	(%rax,%rdi,8), %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rsi,8), %rdx
	addl	(%rcx,%rdx,8), %ebx
	incq	%rsi
	cmpq	%rsi, %r9
	jne	LBB0_10
LBB0_11:
	leal	2(%rbx), %esi
	movl	%esi, 4(%r15)
	cmpl	$-2, %ebx
	jle	LBB0_12
LBB0_2:
	cmpl	$2, %esi
	movl	$1, %r14d
	cmovgel	%esi, %r14d
	cmpl	$4, %r14d
	jae	LBB0_13
## %bb.3:
	xorl	%ecx, %ecx
	jmp	LBB0_21
LBB0_13:
	movl	%r14d, %ecx
	andl	$2147483644, %ecx               ## imm = 0x7FFFFFFC
	leaq	-4(%rcx), %rax
	movq	%rax, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %edx
	andl	$3, %edx
	movq	%r8, %xmm8
	cmpq	$12, %rax
	jae	LBB0_15
## %bb.14:
	movdqa	LCPI0_0(%rip), %xmm5            ## xmm5 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_12:
	movq	_icomp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	$8, %edx
	callq	_qsort
	jmp	LBB0_33
LBB0_15:
	movabsq	$9223372036854775806, %rax      ## imm = 0x7FFFFFFFFFFFFFFE
	addq	$-2, %rax
	andq	%rax, %rdi
	movdqa	LCPI0_0(%rip), %xmm5            ## xmm5 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%eax, %eax
	pshufd	$68, %xmm8, %xmm2               ## xmm2 = xmm8[0,1,0,1]
	movdqa	LCPI0_1(%rip), %xmm9            ## xmm9 = [8,8]
	movdqa	LCPI0_2(%rip), %xmm4            ## xmm4 = [16,16]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [24,24]
	movdqa	LCPI0_4(%rip), %xmm11           ## xmm11 = [32,32]
	movdqa	LCPI0_5(%rip), %xmm12           ## xmm12 = [40,40]
	movdqa	LCPI0_6(%rip), %xmm1            ## xmm1 = [48,48]
	movdqa	LCPI0_7(%rip), %xmm3            ## xmm3 = [56,56]
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm5, %xmm0
	psllq	$2, %xmm0
	paddq	%xmm2, %xmm0
	movdqa	%xmm0, %xmm6
	paddq	%xmm9, %xmm6
	movdqa	%xmm0, (%r13,%rax,8)
	movdqa	%xmm6, 16(%r13,%rax,8)
	movdqa	%xmm0, %xmm6
	paddq	%xmm4, %xmm6
	movdqa	%xmm0, %xmm7
	paddq	%xmm10, %xmm7
	movdqa	%xmm6, 32(%r13,%rax,8)
	movdqa	%xmm7, 48(%r13,%rax,8)
	movdqa	%xmm0, %xmm6
	paddq	%xmm11, %xmm6
	movdqa	%xmm0, %xmm7
	paddq	%xmm12, %xmm7
	movdqa	%xmm6, 64(%r13,%rax,8)
	movdqa	%xmm7, 80(%r13,%rax,8)
	movdqa	%xmm0, %xmm6
	paddq	%xmm1, %xmm6
	paddq	%xmm3, %xmm0
	movdqa	%xmm6, 96(%r13,%rax,8)
	movdqa	%xmm0, 112(%r13,%rax,8)
	addq	$16, %rax
	paddq	%xmm4, %xmm5
	addq	$-4, %rdi
	jne	LBB0_16
LBB0_17:
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.18:
	leaq	16(,%rax,8), %rax
	addq	%r13, %rax
	shlq	$5, %rdx
	xorl	%edi, %edi
	pshufd	$68, %xmm8, %xmm1               ## xmm1 = xmm8[0,1,0,1]
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [8,8]
	movdqa	LCPI0_8(%rip), %xmm3            ## xmm3 = [4,4]
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm5, %xmm0
	psllq	$2, %xmm0
	paddq	%xmm1, %xmm0
	movdqa	%xmm0, -16(%rax,%rdi)
	paddq	%xmm2, %xmm0
	movdqa	%xmm0, (%rax,%rdi)
	paddq	%xmm3, %xmm5
	addq	$32, %rdi
	cmpq	%rdi, %rdx
	jne	LBB0_19
LBB0_20:
	cmpq	%r14, %rcx
	je	LBB0_23
LBB0_21:
	leaq	(%r8,%rcx,4), %rax
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, (%r13,%rcx,8)
	incq	%rcx
	addq	$4, %rax
	cmpq	%rcx, %r14
	jne	LBB0_22
LBB0_23:
	movq	_icomp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	$8, %edx
	callq	_qsort
	movq	(%r12), %rax
	movq	8(%r15), %rcx
	cmpl	$4, %r14d
	jae	LBB0_25
## %bb.24:
	xorl	%edx, %edx
	jmp	LBB0_32
LBB0_25:
	movl	%r14d, %edx
	andl	$2147483644, %edx               ## imm = 0x7FFFFFFC
	movq	%rax, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	leaq	-4(%rdx), %rsi
	movq	%rsi, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rsi, %rsi
	je	LBB0_26
## %bb.27:
	movq	%r8, %rdi
	movabsq	$9223372036854775806, %rsi      ## imm = 0x7FFFFFFFFFFFFFFE
	andq	%rsi, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movdqa	(%r13,%rsi,8), %xmm1
	movdqa	16(%r13,%rsi,8), %xmm2
	psubq	%xmm0, %xmm1
	psubq	%xmm0, %xmm2
	psrlq	$2, %xmm1
	psrlq	$2, %xmm2
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	pshufd	$232, %xmm2, %xmm2              ## xmm2 = xmm2[0,2,2,3]
	punpcklqdq	%xmm2, %xmm1            ## xmm1 = xmm1[0],xmm2[0]
	movdqu	%xmm1, (%rcx,%rsi,4)
	movdqa	32(%r13,%rsi,8), %xmm1
	movdqa	48(%r13,%rsi,8), %xmm2
	psubq	%xmm0, %xmm1
	psubq	%xmm0, %xmm2
	psrlq	$2, %xmm1
	psrlq	$2, %xmm2
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	pshufd	$232, %xmm2, %xmm2              ## xmm2 = xmm2[0,2,2,3]
	punpcklqdq	%xmm2, %xmm1            ## xmm1 = xmm1[0],xmm2[0]
	movdqu	%xmm1, 16(%rcx,%rsi,4)
	addq	$8, %rsi
	addq	$-2, %rdi
	jne	LBB0_28
## %bb.29:
	testb	$1, %r8b
	je	LBB0_31
LBB0_30:
	movdqa	(%r13,%rsi,8), %xmm1
	movdqa	16(%r13,%rsi,8), %xmm2
	psubq	%xmm0, %xmm1
	psubq	%xmm0, %xmm2
	psrlq	$2, %xmm1
	psrlq	$2, %xmm2
	pshufd	$232, %xmm1, %xmm0              ## xmm0 = xmm1[0,2,2,3]
	pshufd	$232, %xmm2, %xmm1              ## xmm1 = xmm2[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, (%rcx,%rsi,4)
LBB0_31:
	cmpq	%r14, %rdx
	je	LBB0_33
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rdx,8), %rsi
	subq	%rax, %rsi
	shrq	$2, %rsi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %r14
	jne	LBB0_32
LBB0_33:
	movl	24(%r12), %eax
	decl	%eax
	cmpl	$3, %eax
	ja	LBB0_35
## %bb.34:
	cltq
	leaq	L_switch.table.floor1_look(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 16(%r15)
LBB0_35:
	testl	%ebx, %ebx
	jle	LBB0_50
## %bb.36:
	movq	(%r12), %r11
	movq	24(%r15), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	32(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$2, %ebx
	xorl	%ecx, %ecx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_49:                                ##   in Loop: Header=BB0_37 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, (%rax,%rcx,4)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%r9d, (%rax,%rcx,4)
	incq	%rcx
	incq	%rbx
	cmpq	-72(%rbp), %rcx                 ## 8-byte Folded Reload
	je	LBB0_50
LBB0_37:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_38 Depth 2
	movl	(%r15), %r12d
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	8(%r11,%rcx,4), %esi
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movabsq	$9223372036854775806, %rax      ## imm = 0x7FFFFFFFFFFFFFFE
	andq	%rax, %rbx
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movl	$1, %r9d
	xorl	%edx, %edx
	xorl	%r10d, %r10d
	xorl	%r14d, %r14d
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_38 Depth=2
	leaq	2(%rdi), %rdx
	cmpq	-104(%rbp), %rdx                ## 8-byte Folded Reload
	je	LBB0_47
LBB0_38:                                ##   Parent Loop BB0_37 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, %r8d
	movq	%rdx, %rdi
	movq	%r11, %rbx
	movl	(%r11,%rdx,4), %edx
	cmpl	%r10d, %edx
	setg	%al
	movl	%esi, %r14d
	cmpl	%esi, %edx
	setl	%cl
	setg	%r11b
	movl	%edi, %r13d
	movl	%edx, %r15d
	testb	%cl, %al
	jne	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=2
	movl	%r8d, %r13d
	movl	%r10d, %r15d
LBB0_40:                                ##   in Loop: Header=BB0_38 Depth=2
	cmpl	%r12d, %edx
	setl	%al
	movl	%edi, %r8d
	testb	%r11b, %al
	jne	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_38 Depth=2
	movl	%r9d, %r8d
	movl	%r12d, %edx
LBB0_42:                                ##   in Loop: Header=BB0_38 Depth=2
	movq	%rbx, %r11
	movl	4(%rbx,%rdi,4), %r12d
	cmpl	%r15d, %r12d
	setg	%cl
	leal	1(%rdi), %r9d
	movl	%r14d, %esi
	cmpl	%r14d, %r12d
	setl	%bl
	setg	%al
	movl	%r9d, %r14d
	movl	%r12d, %r10d
	testb	%bl, %cl
	jne	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_38 Depth=2
	movl	%r13d, %r14d
	movl	%r15d, %r10d
LBB0_44:                                ##   in Loop: Header=BB0_38 Depth=2
	cmpl	%edx, %r12d
	setl	%cl
	testb	%al, %cl
	jne	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_38 Depth=2
	movl	%r8d, %r9d
	movl	%edx, %r12d
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_37 Depth=1
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	testb	$1, %bl
	je	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_37 Depth=1
	movl	8(%r11,%rdi,4), %eax
	cmpl	%esi, %eax
	movl	%r14d, %ecx
	cmovll	%edx, %ecx
	cmovlel	%r9d, %edx
	cmpl	%r10d, %eax
	cmovgl	%ecx, %r14d
	cmpl	%r12d, %eax
	cmovgel	%r9d, %edx
	movl	%edx, %r9d
	jmp	LBB0_49
LBB0_50:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_52
## %bb.51:
	movq	%r15, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	xorl	%esi, %esi
	testb	$1, %r8b
	jne	LBB0_30
	jmp	LBB0_31
LBB0_52:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VIF_POSIT,4,2                  ## @VIF_POSIT
	.comm	_icomp,4,2                      ## @icomp
	.no_dead_strip	_floor1_look
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.floor1_look
L_switch.table.floor1_look:
	.long	256                             ## 0x100
	.long	128                             ## 0x80
	.long	86                              ## 0x56
	.long	64                              ## 0x40

.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 floor1_look
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_floor1_look:                           ; @floor1_look
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x20, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _VIF_POSIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VIF_POSIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #2
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
	mov	w0, #1
	mov	w1, #48
	bl	__ogg_calloc
	mov	x19, x0
	str	x20, [x0, #40]
	ldr	x8, [x20]
	ldr	w9, [x8, #4]
	str	w9, [x0]
	ldr	w10, [x20, #8]
	cmp	w10, #0
	b.le	LBB0_3
; %bb.1:
	ldr	x9, [x20, #32]
	ldr	x11, [x20, #16]
	cmp	w10, #4
	b.hs	LBB0_4
; %bb.2:
	mov	x12, #0
	mov	w22, #0
	b	LBB0_7
LBB0_3:
	mov	w22, #0
	mov	w1, #2
	str	w1, [x19, #4]
	b	LBB0_10
LBB0_4:
	mov	w15, #0
	mov	w16, #0
	mov	w14, #0
	mov	w13, #0
	and	x12, x10, #0xfffffffc
	add	x17, x11, #16
	mov	x0, x12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x1, x2, [x17, #-16]
	ldp	x3, x4, [x17], #32
	ldr	x1, [x9, x1, lsl #3]
	ldr	x2, [x9, x2, lsl #3]
	ldr	x3, [x9, x3, lsl #3]
	ldr	x4, [x9, x4, lsl #3]
	add	w15, w15, w1
	add	w16, w16, w2
	add	w14, w14, w3
	add	w13, w13, w4
	subs	x0, x0, #4
	b.ne	LBB0_5
; %bb.6:
	add	w15, w16, w15
	add	w14, w14, w15
	add	w22, w13, w14
	cmp	x12, x10
	b.eq	LBB0_9
LBB0_7:
	add	x11, x11, x12, lsl #3
	sub	x10, x10, x12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11], #8
	ldr	x12, [x9, x12, lsl #3]
	add	w22, w22, w12
	subs	x10, x10, #1
	b.ne	LBB0_8
LBB0_9:
	add	w1, w22, #2
	str	w1, [x19, #4]
	cmn	w22, #2
	b.le	LBB0_24
LBB0_10:
	cmp	w1, #1
	csinc	w23, w1, wzr, gt
	cmp	w23, #8
	b.hs	LBB0_12
; %bb.11:
	mov	x9, #0
	b	LBB0_15
LBB0_12:
	and	x9, x23, #0x7ffffff8
Lloh8:
	adrp	x10, lCPI0_0@PAGE
Lloh9:
	ldr	q0, [x10, lCPI0_0@PAGEOFF]
	add	x10, x21, #32
	mov	w11, #24
	dup.2d	v1, x11
	mov	w11, #16
	dup.2d	v2, x11
	dup.2d	v3, x8
	mov	w11, #8
	dup.2d	v4, x11
	mov	x11, x9
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	shl.2d	v5, v0, #2
	add.2d	v5, v3, v5
	add.2d	v6, v5, v4
	add.2d	v7, v5, v2
	add.2d	v16, v5, v1
	stp	q5, q6, [x10, #-32]
	stp	q7, q16, [x10], #64
	add.2d	v0, v0, v4
	subs	x11, x11, #8
	b.ne	LBB0_13
; %bb.14:
	cmp	x9, x23
	b.eq	LBB0_17
LBB0_15:
	add	x10, x21, x9, lsl #3
	sub	x11, x23, x9
	add	x8, x8, x9, lsl #2
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	str	x8, [x10], #8
	add	x8, x8, #4
	subs	x11, x11, #1
	b.ne	LBB0_16
LBB0_17:
Lloh10:
	adrp	x8, _icomp@GOTPAGE
Lloh11:
	ldr	x8, [x8, _icomp@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w2, #8
	bl	_qsort
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	cmp	w23, #8
	b.hs	LBB0_19
; %bb.18:
	mov	x10, #0
	b	LBB0_22
LBB0_19:
	and	x10, x23, #0x7ffffff8
	dup.2d	v0, x8
	add	x11, x9, #16
	add	x12, x21, #32
	mov	x13, x10
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x12, #-32]
	ldp	q3, q4, [x12], #64
	sub.2d	v1, v1, v0
	sub.2d	v2, v2, v0
	sub.2d	v3, v3, v0
	sub.2d	v4, v4, v0
	shrn.2s	v1, v1, #2
	shrn.2s	v2, v2, #2
	shrn.2s	v3, v3, #2
	shrn.2s	v4, v4, #2
	stp	d1, d2, [x11, #-16]
	stp	d3, d4, [x11], #32
	subs	x13, x13, #8
	b.ne	LBB0_20
; %bb.21:
	cmp	x10, x23
	b.eq	LBB0_25
LBB0_22:
	add	x9, x9, x10, lsl #2
	sub	x11, x23, x10
	add	x10, x21, x10, lsl #3
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10], #8
	sub	x12, x12, x8
	lsr	x12, x12, #2
	str	w12, [x9], #4
	subs	x11, x11, #1
	b.ne	LBB0_23
	b	LBB0_25
LBB0_24:
Lloh13:
	adrp	x8, _icomp@GOTPAGE
Lloh14:
	ldr	x8, [x8, _icomp@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w2, #8
	bl	_qsort
LBB0_25:
	ldr	w8, [x20, #24]
	sub	w8, w8, #1
	cmp	w8, #3
	b.hi	LBB0_27
; %bb.26:
Lloh16:
	adrp	x9, l_switch.table.floor1_look@PAGE
Lloh17:
	add	x9, x9, l_switch.table.floor1_look@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	str	w8, [x19, #16]
LBB0_27:
	cmp	w22, #1
	b.lt	LBB0_32
; %bb.28:
	mov	x8, #0
	ldr	x9, [x20]
	mov	w10, w22
	mov	w11, #2
	ldp	x12, x13, [x19, #24]
LBB0_29:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_30 Depth 2
	mov	x15, #0
	mov	w16, #0
	mov	w14, #0
	ldr	w17, [x19]
	add	x0, x9, x8, lsl #2
	ldr	w1, [x0, #8]
	mov	w0, #1
LBB0_30:                                ;   Parent Loop BB0_29 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w2, [x9, x15, lsl #2]
	cmp	w2, w16
	cset	w3, gt
	cmp	w2, w1
	cset	w4, lt
	cset	w5, gt
	tst	w3, w4
	csel	w14, w15, w14, ne
	csel	w16, w2, w16, ne
	cmp	w2, w17
	cset	w3, lt
	tst	w3, w5
	csel	w0, w15, w0, ne
	csel	w17, w2, w17, ne
	add	x15, x15, #1
	cmp	x11, x15
	b.ne	LBB0_30
; %bb.31:                               ;   in Loop: Header=BB0_29 Depth=1
	lsl	x15, x8, #2
	str	w14, [x12, x15]
	str	w0, [x13, x15]
	add	x8, x8, #1
	add	x11, x11, #1
	cmp	x8, x10
	b.ne	LBB0_29
LBB0_32:
	ldur	x8, [x29, #-56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.33:
	mov	x0, x19
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_VIF_POSIT,4,2                  ; @VIF_POSIT
	.comm	_icomp,4,2                      ; @icomp
	.no_dead_strip	_floor1_look
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.floor1_look
l_switch.table.floor1_look:
	.long	256                             ; 0x100
	.long	128                             ; 0x80
	.long	86                              ; 0x56
	.long	64                              ; 0x40

.subsections_via_symbols
