	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_SetVtxDescv                 ## -- Begin function GX_SetVtxDescv
	.p2align	4, 0x90
_GX_SetVtxDescv:                        ## @GX_SetVtxDescv
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_GX_MAX_VTXDESC_LISTSIZE@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.2:
	movq	%rdi, %r15
	addq	$8, %r15
	xorl	%ebx, %ebx
	movq	_GX_VA_NULL@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%r15), %rdi
	cmpq	(%r12), %rdi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %esi
	callq	___SETVCDATTR
	incq	%rbx
	addq	$16, %r15
	cmpq	(%r14), %rbx
	jb	LBB0_3
LBB0_5:
	movq	___gx@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orl	$8, (%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_6:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GX_MAX_VTXDESC_LISTSIZE,8,3    ## @GX_MAX_VTXDESC_LISTSIZE
	.comm	_GX_VA_NULL,8,3                 ## @GX_VA_NULL
	.comm	___gx,8,3                       ## @__gx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_SetVtxDescv                 ; -- Begin function GX_SetVtxDescv
	.p2align	2
_GX_SetVtxDescv:                        ; @GX_SetVtxDescv
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_6
; %bb.1:
	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
Lloh0:
	adrp	x19, _GX_MAX_VTXDESC_LISTSIZE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _GX_MAX_VTXDESC_LISTSIZE@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.2:
	mov	x20, #0
	add	x21, x0, #8
Lloh2:
	adrp	x22, _GX_VA_NULL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _GX_VA_NULL@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x0, [x21, #-8]
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x21], #16
	bl	___SETVCDATTR
	add	x20, x20, #1
	ldr	x8, [x19]
	cmp	x20, x8
	b.lo	LBB0_3
LBB0_5:
Lloh4:
	adrp	x8, ___gx@GOTPAGE
Lloh5:
	ldr	x8, [x8, ___gx@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	w9, [x8]
	orr	w9, w9, #0x8
	str	w9, [x8]
	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
LBB0_6:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GX_MAX_VTXDESC_LISTSIZE,8,3    ; @GX_MAX_VTXDESC_LISTSIZE
	.comm	_GX_VA_NULL,8,3                 ; @GX_VA_NULL
	.comm	___gx,8,3                       ; @__gx
.subsections_via_symbols
