	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_SetVtxAttrFmtv              ## -- Begin function GX_SetVtxAttrFmtv
	.p2align	4, 0x90
_GX_SetVtxAttrFmtv:                     ## @GX_SetVtxAttrFmtv
	.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	%edi, %r14d
	movq	_GX_MAX_VTXATTRFMT_LISTSIZE@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_4
## %bb.1:
	movq	%rsi, %rbx
	addq	$16, %rbx
	xorl	%r12d, %r12d
	movq	_GX_VA_NULL@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-16(%rbx), %rsi
	cmpq	(%r13), %rsi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edx
	movl	-8(%rbx), %r8d
	movl	-4(%rbx), %ecx
	movl	%r14d, %edi
	callq	___SETVCDFMT
	incq	%r12
	addq	$24, %rbx
	cmpq	(%r15), %r12
	jb	LBB0_2
LBB0_4:
	movl	$1, %eax
	movl	%r14d, %ecx
	shll	%cl, %eax
	movq	___gx@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orl	%eax, (%rcx)
	orb	$16, 4(%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GX_MAX_VTXATTRFMT_LISTSIZE,8,3 ## @GX_MAX_VTXATTRFMT_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_SetVtxAttrFmtv              ; -- Begin function GX_SetVtxAttrFmtv
	.p2align	2
_GX_SetVtxAttrFmtv:                     ; @GX_SetVtxAttrFmtv
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _GX_MAX_VTXATTRFMT_LISTSIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GX_MAX_VTXATTRFMT_LISTSIZE@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x21, #0
	add	x22, x1, #16
Lloh2:
	adrp	x23, _GX_VA_NULL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _GX_VA_NULL@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x1, [x22, #-16]
	ldr	x8, [x23]
	cmp	x1, x8
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w3, w2, [x22, #-4]
	ldur	w4, [x22, #-8]
	mov	x0, x19
	bl	___SETVCDFMT
	add	x21, x21, #1
	ldr	x8, [x20]
	add	x22, x22, #24
	cmp	x21, x8
	b.lo	LBB0_2
LBB0_4:
	mov	w8, #1
	lsl	w8, w8, w19
Lloh4:
	adrp	x9, ___gx@GOTPAGE
Lloh5:
	ldr	x9, [x9, ___gx@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ldr	d0, [x9]
	movi.2s	v1, #16
	mov.s	v1[0], w8
	orr.8b	v0, v0, v1
	str	d0, [x9]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GX_MAX_VTXATTRFMT_LISTSIZE,8,3 ; @GX_MAX_VTXATTRFMT_LISTSIZE
	.comm	_GX_VA_NULL,8,3                 ; @GX_VA_NULL
	.comm	___gx,8,3                       ; @__gx
.subsections_via_symbols
