	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_GetVtxDescv                 ## -- Begin function GX_GetVtxDescv
	.p2align	4, 0x90
_GX_GetVtxDescv:                        ## @GX_GetVtxDescv
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_GX_MAX_VTXDESC_LISTSIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.1:
	cmpq	$4, %rcx
	jae	LBB0_34
LBB0_2:
	xorl	%edx, %edx
LBB0_3:
	movq	%rdx, %r8
	notq	%r8
	addq	%rcx, %r8
	movq	%rcx, %rsi
	andq	$3, %rsi
	je	LBB0_6
## %bb.4:
	movq	_GX_VA_NULL@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %eax
	movl	%eax, 4(%rbx,%rdx,8)
	movl	$0, (%rbx,%rdx,8)
	incq	%rdx
	decq	%rsi
	jne	LBB0_5
LBB0_6:
	cmpq	$3, %r8
	jb	LBB0_9
## %bb.7:
	movq	_GX_VA_NULL@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %esi
	movl	%esi, 4(%rbx,%rdx,8)
	movl	$0, (%rbx,%rdx,8)
	movl	(%rax), %esi
	movl	%esi, 12(%rbx,%rdx,8)
	movl	$0, 8(%rbx,%rdx,8)
	movl	(%rax), %esi
	movl	%esi, 20(%rbx,%rdx,8)
	movl	$0, 16(%rbx,%rdx,8)
	movl	(%rax), %esi
	movl	%esi, 28(%rbx,%rdx,8)
	movl	$0, 24(%rbx,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_8
LBB0_9:
	movq	___gx@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movl	(%rcx), %edi
	movl	%edi, %eax
	andl	$1, %eax
	jne	LBB0_11
## %bb.10:
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_11:
	movq	_GX_VA_PTNMTXIDX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 4(%rbx)
	movl	%eax, (%rbx)
	movl	$1, %r14d
LBB0_12:
	movl	%edi, %eax
	andl	$2, %eax
	je	LBB0_14
## %bb.13:
	movq	_GX_VA_TEX0MTXIDX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rcx
	movl	(%rcx), %edi
LBB0_14:
	movl	%edi, %eax
	andl	$4, %eax
	je	LBB0_16
## %bb.15:
	movq	_GX_VA_TEX1MTXIDX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$2, %esi
	movl	$1, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rcx
	movl	(%rcx), %edi
LBB0_16:
	movl	%edi, %eax
	andl	$8, %eax
	je	LBB0_18
## %bb.17:
	movq	_GX_VA_TEX2MTXIDX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$3, %esi
	movl	$1, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rcx
	movl	(%rcx), %edi
LBB0_18:
	movl	%edi, %eax
	andl	$16, %eax
	je	LBB0_20
## %bb.19:
	movq	_GX_VA_TEX3MTXIDX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$4, %esi
	movl	$1, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rcx
	movl	(%rcx), %edi
LBB0_20:
	movl	%edi, %eax
	andl	$32, %eax
	je	LBB0_22
## %bb.21:
	movq	_GX_VA_TEX4MTXIDX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$5, %esi
	movl	$1, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rcx
	movl	(%rcx), %edi
LBB0_22:
	movl	%edi, %eax
	andl	$64, %eax
	je	LBB0_24
## %bb.23:
	movq	_GX_VA_TEX5MTXIDX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$6, %esi
	movl	$1, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rcx
	movl	(%rcx), %edi
LBB0_24:
	movl	%edi, %eax
	andl	$128, %eax
	je	LBB0_26
## %bb.25:
	movq	_GX_VA_TEX6MTXIDX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$7, %esi
	movl	$1, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rcx
	movl	(%rcx), %edi
LBB0_26:
	movl	%edi, %eax
	andl	$256, %eax                      ## imm = 0x100
	je	LBB0_28
## %bb.27:
	movq	_GX_VA_TEX7MTXIDX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$8, %esi
	movl	$1, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rcx
	movl	(%rcx), %edi
LBB0_28:
	movl	%edi, %eax
	andl	$1536, %eax                     ## imm = 0x600
	je	LBB0_30
## %bb.29:
	movq	_GX_VA_POS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$9, %esi
	movl	$2, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rcx
	movl	(%rcx), %edi
LBB0_30:
	andl	$6144, %edi                     ## imm = 0x1800
	je	LBB0_43
## %bb.31:
	movl	4(%rcx), %eax
	cmpl	$1, %eax
	je	LBB0_41
## %bb.32:
	cmpl	$2, %eax
	jne	LBB0_43
## %bb.33:
	movq	_GX_VA_NBT@GOTPCREL(%rip), %rax
	jmp	LBB0_42
LBB0_34:
	leaq	-1(%rcx), %rax
	leaq	4(%rbx), %r8
	movl	$8, %edx
	mulq	%rdx
	seto	%sil
	leaq	(%rbx,%rax), %rdi
	addq	$4, %rdi
	xorl	%edx, %edx
	cmpq	%r8, %rdi
	jb	LBB0_3
## %bb.35:
	testb	%sil, %sil
	jne	LBB0_3
## %bb.36:
	addq	%rbx, %rax
	cmpq	%rbx, %rax
	jb	LBB0_3
## %bb.37:
	testb	%sil, %sil
	jne	LBB0_3
## %bb.38:
	movq	_GX_VA_NULL@GOTPCREL(%rip), %rax
	leaq	4(%rax), %rdx
	cmpq	%rdx, %rbx
	jae	LBB0_64
## %bb.39:
	leaq	(%rbx,%rcx,8), %rdx
	cmpq	_GX_VA_NULL@GOTPCREL(%rip), %rdx
	ja	LBB0_2
LBB0_64:
	movq	%rcx, %rdx
	andq	$-4, %rdx
	leaq	-4(%rdx), %rsi
	movq	%rsi, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rsi, %rsi
	je	LBB0_70
## %bb.65:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_66:                                ## =>This Inner Loop Header: Depth=1
	movd	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	pxor	%xmm1, %xmm1
	punpckldq	%xmm0, %xmm1            ## xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
	movdqu	%xmm1, (%rbx,%rsi,8)
	movdqu	%xmm1, 16(%rbx,%rsi,8)
	movd	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	pxor	%xmm1, %xmm1
	punpckldq	%xmm0, %xmm1            ## xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
	movdqu	%xmm1, 32(%rbx,%rsi,8)
	movdqu	%xmm1, 48(%rbx,%rsi,8)
	addq	$8, %rsi
	addq	$-2, %rdi
	jne	LBB0_66
## %bb.67:
	testb	$1, %r8b
	je	LBB0_69
LBB0_68:
	leaq	(,%rsi,8), %rdi
	orq	$16, %rdi
	movd	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	pxor	%xmm1, %xmm1
	punpckldq	%xmm0, %xmm1            ## xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
	movdqu	%xmm1, (%rbx,%rsi,8)
	movdqu	%xmm1, (%rbx,%rdi)
LBB0_69:
	cmpq	%rdx, %rcx
	jne	LBB0_3
	jmp	LBB0_9
LBB0_41:
	movq	_GX_VA_NRM@GOTPCREL(%rip), %rax
LBB0_42:
	movl	(%rax), %eax
	movl	%eax, 4(%rbx,%r14,8)
	movl	$11, %esi
	movl	$2, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
LBB0_43:
	movq	(%r15), %rcx
	movl	(%rcx), %edi
	movl	%edi, %eax
	andl	$24576, %eax                    ## imm = 0x6000
	je	LBB0_45
## %bb.44:
	movq	_GX_VA_CLR0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$13, %esi
	movl	$2, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rcx
	movl	(%rcx), %edi
LBB0_45:
	andl	$98304, %edi                    ## imm = 0x18000
	je	LBB0_47
## %bb.46:
	movq	_GX_VA_CLR1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx,%r14,8)
	movl	$15, %esi
	movl	$2, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rcx
LBB0_47:
	movl	8(%rcx), %edi
	movl	%edi, %eax
	andl	$3, %eax
	je	LBB0_49
## %bb.48:
	movq	_GX_VA_TEX0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
LBB0_49:
	movl	%edi, %eax
	andl	$12, %eax
	je	LBB0_51
## %bb.50:
	movq	_GX_VA_TEX1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$2, %esi
	movl	$2, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rax
	movl	8(%rax), %edi
LBB0_51:
	movl	%edi, %eax
	andl	$48, %eax
	je	LBB0_53
## %bb.52:
	movq	_GX_VA_TEX2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$4, %esi
	movl	$2, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rax
	movl	8(%rax), %edi
LBB0_53:
	movl	%edi, %eax
	andl	$192, %eax
	je	LBB0_55
## %bb.54:
	movq	_GX_VA_TEX3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$6, %esi
	movl	$2, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rax
	movl	8(%rax), %edi
LBB0_55:
	movl	%edi, %eax
	andl	$768, %eax                      ## imm = 0x300
	je	LBB0_57
## %bb.56:
	movq	_GX_VA_TEX4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$8, %esi
	movl	$2, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rax
	movl	8(%rax), %edi
LBB0_57:
	movl	%edi, %eax
	andl	$3072, %eax                     ## imm = 0xC00
	je	LBB0_59
## %bb.58:
	movq	_GX_VA_TEX5@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$10, %esi
	movl	$2, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rax
	movl	8(%rax), %edi
LBB0_59:
	movl	%edi, %eax
	andl	$12288, %eax                    ## imm = 0x3000
	je	LBB0_61
## %bb.60:
	movq	_GX_VA_TEX6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx,%r14,8)
	movl	%eax, %edi
	movl	$12, %esi
	movl	$2, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
	incq	%r14
	movq	(%r15), %rax
	movl	8(%rax), %edi
LBB0_61:
	andl	$49152, %edi                    ## imm = 0xC000
	je	LBB0_63
## %bb.62:
	movq	_GX_VA_TEX7@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx,%r14,8)
	movl	$14, %esi
	movl	$2, %edx
	callq	__SHIFTR
	movl	%eax, (%rbx,%r14,8)
LBB0_63:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_70:
	xorl	%esi, %esi
	testb	$1, %r8b
	jne	LBB0_68
	jmp	LBB0_69
	.cfi_endproc
                                        ## -- End function
	.comm	_GX_MAX_VTXDESC_LISTSIZE,8,3    ## @GX_MAX_VTXDESC_LISTSIZE
	.comm	_GX_VA_NULL,4,2                 ## @GX_VA_NULL
	.comm	___gx,8,3                       ## @__gx
	.comm	_GX_VA_PTNMTXIDX,4,2            ## @GX_VA_PTNMTXIDX
	.comm	_GX_VA_TEX0MTXIDX,4,2           ## @GX_VA_TEX0MTXIDX
	.comm	_GX_VA_TEX1MTXIDX,4,2           ## @GX_VA_TEX1MTXIDX
	.comm	_GX_VA_TEX2MTXIDX,4,2           ## @GX_VA_TEX2MTXIDX
	.comm	_GX_VA_TEX3MTXIDX,4,2           ## @GX_VA_TEX3MTXIDX
	.comm	_GX_VA_TEX4MTXIDX,4,2           ## @GX_VA_TEX4MTXIDX
	.comm	_GX_VA_TEX5MTXIDX,4,2           ## @GX_VA_TEX5MTXIDX
	.comm	_GX_VA_TEX6MTXIDX,4,2           ## @GX_VA_TEX6MTXIDX
	.comm	_GX_VA_TEX7MTXIDX,4,2           ## @GX_VA_TEX7MTXIDX
	.comm	_GX_VA_POS,4,2                  ## @GX_VA_POS
	.comm	_GX_VA_NRM,4,2                  ## @GX_VA_NRM
	.comm	_GX_VA_NBT,4,2                  ## @GX_VA_NBT
	.comm	_GX_VA_CLR0,4,2                 ## @GX_VA_CLR0
	.comm	_GX_VA_CLR1,4,2                 ## @GX_VA_CLR1
	.comm	_GX_VA_TEX0,4,2                 ## @GX_VA_TEX0
	.comm	_GX_VA_TEX1,4,2                 ## @GX_VA_TEX1
	.comm	_GX_VA_TEX2,4,2                 ## @GX_VA_TEX2
	.comm	_GX_VA_TEX3,4,2                 ## @GX_VA_TEX3
	.comm	_GX_VA_TEX4,4,2                 ## @GX_VA_TEX4
	.comm	_GX_VA_TEX5,4,2                 ## @GX_VA_TEX5
	.comm	_GX_VA_TEX6,4,2                 ## @GX_VA_TEX6
	.comm	_GX_VA_TEX7,4,2                 ## @GX_VA_TEX7
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_GetVtxDescv                 ; -- Begin function GX_GetVtxDescv
	.p2align	2
_GX_GetVtxDescv:                        ; @GX_GetVtxDescv
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _GX_MAX_VTXDESC_LISTSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GX_MAX_VTXDESC_LISTSIZE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	cbz	x9, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _GX_VA_NULL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GX_VA_NULL@GOTPAGEOFF]
	cmp	x9, #16
	b.hs	LBB0_29
LBB0_2:
	mov	x10, #0
LBB0_3:
	sub	x9, x9, x10
	add	x10, x19, x10, lsl #3
	add	x10, x10, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	stp	wzr, w11, [x10, #-4]
	add	x10, x10, #8
	subs	x9, x9, #1
	b.ne	LBB0_4
LBB0_5:
Lloh5:
	adrp	x21, ___gx@GOTPAGE
Lloh6:
	ldr	x21, [x21, ___gx@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w9, [x8]
	tbnz	w9, #0, LBB0_7
; %bb.6:
	mov	x20, #0
	tbnz	w9, #1, LBB0_8
	b	LBB0_9
LBB0_7:
	and	w10, w9, #0x1
Lloh7:
	adrp	x11, _GX_VA_PTNMTXIDX@GOTPAGE
Lloh8:
	ldr	x11, [x11, _GX_VA_PTNMTXIDX@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x11]
	stp	w10, w11, [x19]
	mov	w20, #1
	tbz	w9, #1, LBB0_9
LBB0_8:
	and	w0, w9, #0x2
Lloh10:
	adrp	x8, _GX_VA_TEX0MTXIDX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GX_VA_TEX0MTXIDX@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #1
	mov	w2, #1
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w9, [x8]
LBB0_9:
	tbnz	w9, #2, LBB0_22
; %bb.10:
	tbnz	w9, #3, LBB0_23
LBB0_11:
	tbnz	w9, #4, LBB0_24
LBB0_12:
	tbnz	w9, #5, LBB0_25
LBB0_13:
	tbnz	w9, #6, LBB0_26
LBB0_14:
	tbnz	w9, #7, LBB0_27
LBB0_15:
	tbnz	w9, #8, LBB0_28
LBB0_16:
	ands	w0, w9, #0x600
	b.eq	LBB0_18
LBB0_17:
Lloh13:
	adrp	x8, _GX_VA_POS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GX_VA_POS@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #9
	mov	w2, #2
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w9, [x8]
LBB0_18:
	ands	w0, w9, #0x1800
	b.eq	LBB0_40
; %bb.19:
	ldr	w8, [x8, #4]
	cmp	w8, #1
	b.eq	LBB0_38
; %bb.20:
	cmp	w8, #2
	b.ne	LBB0_40
; %bb.21:
Lloh16:
	adrp	x8, _GX_VA_NBT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GX_VA_NBT@GOTPAGEOFF]
	b	LBB0_39
LBB0_22:
	and	w0, w9, #0x4
Lloh18:
	adrp	x8, _GX_VA_TEX1MTXIDX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GX_VA_TEX1MTXIDX@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #2
	mov	w2, #1
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w9, [x8]
	tbz	w9, #3, LBB0_11
LBB0_23:
	and	w0, w9, #0x8
Lloh21:
	adrp	x8, _GX_VA_TEX2MTXIDX@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GX_VA_TEX2MTXIDX@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #3
	mov	w2, #1
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w9, [x8]
	tbz	w9, #4, LBB0_12
LBB0_24:
	and	w0, w9, #0x10
Lloh24:
	adrp	x8, _GX_VA_TEX3MTXIDX@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GX_VA_TEX3MTXIDX@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #4
	mov	w2, #1
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w9, [x8]
	tbz	w9, #5, LBB0_13
LBB0_25:
	and	w0, w9, #0x20
Lloh27:
	adrp	x8, _GX_VA_TEX4MTXIDX@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GX_VA_TEX4MTXIDX@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #5
	mov	w2, #1
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w9, [x8]
	tbz	w9, #6, LBB0_14
LBB0_26:
	and	w0, w9, #0x40
Lloh30:
	adrp	x8, _GX_VA_TEX5MTXIDX@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GX_VA_TEX5MTXIDX@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #6
	mov	w2, #1
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w9, [x8]
	tbz	w9, #7, LBB0_15
LBB0_27:
	and	w0, w9, #0x80
Lloh33:
	adrp	x8, _GX_VA_TEX6MTXIDX@GOTPAGE
Lloh34:
	ldr	x8, [x8, _GX_VA_TEX6MTXIDX@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #7
	mov	w2, #1
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w9, [x8]
	tbz	w9, #8, LBB0_16
LBB0_28:
	and	w0, w9, #0x100
Lloh36:
	adrp	x8, _GX_VA_TEX7MTXIDX@GOTPAGE
Lloh37:
	ldr	x8, [x8, _GX_VA_TEX7MTXIDX@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #8
	mov	w2, #1
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w9, [x8]
	ands	w0, w9, #0x600
	b.ne	LBB0_17
	b	LBB0_18
LBB0_29:
	mov	x10, #0
	sub	x12, x9, #1
	add	x13, x19, #4
	cmp	xzr, x12, lsr #61
	cset	w11, ne
	lsl	x12, x12, #3
	add	x14, x13, x12
	cmp	x14, x13
	b.lo	LBB0_3
; %bb.30:
	tbnz	w11, #0, LBB0_3
; %bb.31:
	add	x12, x19, x12
	cmp	x12, x19
	b.lo	LBB0_3
; %bb.32:
	tbnz	w11, #0, LBB0_3
; %bb.33:
	add	x10, x8, #4
	cmp	x19, x10
	b.hs	LBB0_35
; %bb.34:
	add	x10, x19, x9, lsl #3
	cmp	x10, x8
	b.hi	LBB0_2
LBB0_35:
	and	x10, x9, #0xfffffffffffffff0
	add	x12, x19, #64
	movi.2d	v0, #0000000000000000
	mov	x11, x10
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ld1r.4s	{ v1 }, [x8]
	sub	x13, x12, #64
	st2.4s	{ v0, v1 }, [x13]
	sub	x13, x12, #32
	st2.4s	{ v0, v1 }, [x13]
	add	x13, x12, #128
	st2.4s	{ v0, v1 }, [x12], #32
	st2.4s	{ v0, v1 }, [x12]
	mov	x12, x13
	subs	x11, x11, #16
	b.ne	LBB0_36
; %bb.37:
	cmp	x9, x10
	b.eq	LBB0_5
	b	LBB0_3
LBB0_38:
Lloh39:
	adrp	x8, _GX_VA_NRM@GOTPAGE
Lloh40:
	ldr	x8, [x8, _GX_VA_NRM@GOTPAGEOFF]
LBB0_39:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #11
	mov	w2, #2
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
LBB0_40:
	ldr	x8, [x21]
	ldr	w9, [x8]
	ands	w0, w9, #0x6000
	b.eq	LBB0_42
; %bb.41:
Lloh41:
	adrp	x8, _GX_VA_CLR0@GOTPAGE
Lloh42:
	ldr	x8, [x8, _GX_VA_CLR0@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #13
	mov	w2, #2
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w9, [x8]
LBB0_42:
	ands	w0, w9, #0x18000
	b.eq	LBB0_44
; %bb.43:
Lloh44:
	adrp	x8, _GX_VA_CLR1@GOTPAGE
Lloh45:
	ldr	x8, [x8, _GX_VA_CLR1@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #15
	mov	w2, #2
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
LBB0_44:
	ldr	w8, [x8, #8]
	ands	w9, w8, #0x3
	b.eq	LBB0_46
; %bb.45:
Lloh47:
	adrp	x10, _GX_VA_TEX0@GOTPAGE
Lloh48:
	ldr	x10, [x10, _GX_VA_TEX0@GOTPAGEOFF]
Lloh49:
	ldr	w10, [x10]
	add	x11, x19, x20, lsl #3
	stp	w9, w10, [x11]
	add	x20, x20, #1
LBB0_46:
	ands	w0, w8, #0xc
	b.eq	LBB0_48
; %bb.47:
Lloh50:
	adrp	x8, _GX_VA_TEX1@GOTPAGE
Lloh51:
	ldr	x8, [x8, _GX_VA_TEX1@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #2
	mov	w2, #2
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w8, [x8, #8]
LBB0_48:
	ands	w0, w8, #0x30
	b.eq	LBB0_50
; %bb.49:
Lloh53:
	adrp	x8, _GX_VA_TEX2@GOTPAGE
Lloh54:
	ldr	x8, [x8, _GX_VA_TEX2@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #4
	mov	w2, #2
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w8, [x8, #8]
LBB0_50:
	ands	w0, w8, #0xc0
	b.eq	LBB0_52
; %bb.51:
Lloh56:
	adrp	x8, _GX_VA_TEX3@GOTPAGE
Lloh57:
	ldr	x8, [x8, _GX_VA_TEX3@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #6
	mov	w2, #2
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w8, [x8, #8]
LBB0_52:
	ands	w0, w8, #0x300
	b.eq	LBB0_54
; %bb.53:
Lloh59:
	adrp	x8, _GX_VA_TEX4@GOTPAGE
Lloh60:
	ldr	x8, [x8, _GX_VA_TEX4@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #8
	mov	w2, #2
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w8, [x8, #8]
LBB0_54:
	ands	w0, w8, #0xc00
	b.eq	LBB0_56
; %bb.55:
Lloh62:
	adrp	x8, _GX_VA_TEX5@GOTPAGE
Lloh63:
	ldr	x8, [x8, _GX_VA_TEX5@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #10
	mov	w2, #2
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w8, [x8, #8]
LBB0_56:
	ands	w0, w8, #0x3000
	b.eq	LBB0_58
; %bb.57:
Lloh65:
	adrp	x8, _GX_VA_TEX6@GOTPAGE
Lloh66:
	ldr	x8, [x8, _GX_VA_TEX6@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	add	x22, x19, x20, lsl #3
	str	w8, [x22, #4]
	mov	w1, #12
	mov	w2, #2
	bl	__SHIFTR
	str	w0, [x22]
	add	x20, x20, #1
	ldr	x8, [x21]
	ldr	w8, [x8, #8]
LBB0_58:
	ands	w0, w8, #0xc000
	b.eq	LBB0_60
; %bb.59:
Lloh68:
	adrp	x8, _GX_VA_TEX7@GOTPAGE
Lloh69:
	ldr	x8, [x8, _GX_VA_TEX7@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	add	x19, x19, x20, lsl #3
	str	w8, [x19, #4]
	mov	w1, #14
	mov	w2, #2
	bl	__SHIFTR
	str	w0, [x19]
LBB0_60:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.comm	_GX_MAX_VTXDESC_LISTSIZE,8,3    ; @GX_MAX_VTXDESC_LISTSIZE
	.comm	_GX_VA_NULL,4,2                 ; @GX_VA_NULL
	.comm	___gx,8,3                       ; @__gx
	.comm	_GX_VA_PTNMTXIDX,4,2            ; @GX_VA_PTNMTXIDX
	.comm	_GX_VA_TEX0MTXIDX,4,2           ; @GX_VA_TEX0MTXIDX
	.comm	_GX_VA_TEX1MTXIDX,4,2           ; @GX_VA_TEX1MTXIDX
	.comm	_GX_VA_TEX2MTXIDX,4,2           ; @GX_VA_TEX2MTXIDX
	.comm	_GX_VA_TEX3MTXIDX,4,2           ; @GX_VA_TEX3MTXIDX
	.comm	_GX_VA_TEX4MTXIDX,4,2           ; @GX_VA_TEX4MTXIDX
	.comm	_GX_VA_TEX5MTXIDX,4,2           ; @GX_VA_TEX5MTXIDX
	.comm	_GX_VA_TEX6MTXIDX,4,2           ; @GX_VA_TEX6MTXIDX
	.comm	_GX_VA_TEX7MTXIDX,4,2           ; @GX_VA_TEX7MTXIDX
	.comm	_GX_VA_POS,4,2                  ; @GX_VA_POS
	.comm	_GX_VA_NRM,4,2                  ; @GX_VA_NRM
	.comm	_GX_VA_NBT,4,2                  ; @GX_VA_NBT
	.comm	_GX_VA_CLR0,4,2                 ; @GX_VA_CLR0
	.comm	_GX_VA_CLR1,4,2                 ; @GX_VA_CLR1
	.comm	_GX_VA_TEX0,4,2                 ; @GX_VA_TEX0
	.comm	_GX_VA_TEX1,4,2                 ; @GX_VA_TEX1
	.comm	_GX_VA_TEX2,4,2                 ; @GX_VA_TEX2
	.comm	_GX_VA_TEX3,4,2                 ; @GX_VA_TEX3
	.comm	_GX_VA_TEX4,4,2                 ; @GX_VA_TEX4
	.comm	_GX_VA_TEX5,4,2                 ; @GX_VA_TEX5
	.comm	_GX_VA_TEX6,4,2                 ; @GX_VA_TEX6
	.comm	_GX_VA_TEX7,4,2                 ; @GX_VA_TEX7
.subsections_via_symbols
