	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_format_vertex_info
_init_format_vertex_info:               ## @init_format_vertex_info
	.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
	movq	%rdi, %r14
	movq	_format_vertex_info@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	movq	_TRUE@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$32, %r13
	cmpq	%rax, %r15
	jae	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	8(%rax,%r13), %esi
	movq	%r14, %rdi
	callq	_get_format_internal
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movq	(%r14), %rax
	movq	(%r12), %rdi
	movq	(%rdi,%r13), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	24(%rdi,%r13), %eax
	movl	%eax, 20(%rbx)
	movl	16(%rdi,%r13), %esi
	movl	%esi, (%rbx)
	movl	20(%rdi,%r13), %eax
	movl	%eax, 4(%rbx)
	movl	%esi, 16(%rbx)
	movl	12(%rdi,%r13), %ecx
	movl	%ecx, 12(%rbx)
	movl	%eax, %edi
	callq	_calculate_vertex_attribute_size
	movl	%eax, 8(%rbx)
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rdi
	jmp	LBB0_2
LBB0_7:
	movq	%rcx, %rax
	jmp	LBB0_12
LBB0_9:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movq	(%r12), %rax
	movl	8(%rax,%r13), %edi
	callq	_debug_d3dformat
	movq	(%r12), %rcx
	movl	8(%rcx,%r13), %edx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_ERR
LBB0_11:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_format_vertex_info,8,3         ## @format_vertex_info
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid attribute size for vertex format %s (%#x).\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_init_format_vertex_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_format_vertex_info
_init_format_vertex_info:               ; @init_format_vertex_info
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _format_vertex_info@GOTPAGE
Lloh1:
	ldr	x21, [x21, _format_vertex_info@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_7
; %bb.1:
	mov	x23, #0
	mov	x24, #0
Lloh2:
	adrp	x22, _FALSE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
Lloh4:
	adrp	x25, _TRUE@GOTPAGE
Lloh5:
	ldr	x25, [x25, _TRUE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	bl	_ARRAY_SIZE
	add	x23, x23, #32
	cmp	x24, w0, uxtw
	b.hs	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x8, x8, x23
	ldr	w1, [x8, #8]
	mov	x0, x19
	bl	_get_format_internal
	cbz	x0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, x0
	ldr	x8, [x19]
	ldr	x0, [x21]
	ldr	x9, [x0, x23]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x0, x23
	ldp	w0, w9, [x8, #20]
	str	w9, [x20, #20]
	ldp	w8, w1, [x8, #12]
	stp	w1, w0, [x20]
	stp	w8, w1, [x20, #12]
	bl	_calculate_vertex_attribute_size
	str	w0, [x20, #8]
	cbz	w0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x21]
	b	LBB0_2
LBB0_7:
Lloh6:
	adrp	x22, _TRUE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	mov	x22, x25
	b	LBB0_10
LBB0_9:
	ldr	x8, [x21]
	add	x8, x8, x23
	ldr	w0, [x8, #8]
	bl	_debug_d3dformat
	mov	x1, x0
	ldr	x8, [x21]
	add	x8, x8, x23
	ldr	w2, [x8, #8]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ERR
Lloh10:
	adrp	x22, _FALSE@GOTPAGE
Lloh11:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_format_vertex_info,8,3         ; @format_vertex_info
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid attribute size for vertex format %s (%#x).\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_init_format_vertex_info
.subsections_via_symbols
