	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function append_decl_element
LCPI0_0:
	.space	8
	.quad	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_append_decl_element:                   ## @append_decl_element
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	movq	(%rdi), %r8
	movq	8(%rdi), %rdi
	shlq	$6, %rdi
	movl	%esi, (%rax,%rdi)
	movq	$0, 56(%rax,%rdi)
	movq	%r8, 8(%rax,%rdi)
	movq	_WINED3D_OUTPUT_SLOT_SEMANTIC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	movl	%ebx, 52(%rax,%rdi)
	movq	_WINED3D_INPUT_PER_VERTEX_DATA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	movl	%ebx, 48(%rax,%rdi)
	movq	$0, 40(%rax,%rdi)
	movq	_WINED3D_DECL_METHOD_DEFAULT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	movl	%ebx, 32(%rax,%rdi)
	movl	%edx, 16(%rax,%rdi)
	movq	%rcx, 24(%rax,%rdi)
	movl	16(%r14), %edi
	xorl	%edx, %edx
	callq	_wined3d_get_format
	movdqu	(%r14), %xmm0
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = <u,1>
	pinsrq	$0, (%rax), %xmm1
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_OUTPUT_SLOT_SEMANTIC,4,2 ## @WINED3D_OUTPUT_SLOT_SEMANTIC
	.comm	_WINED3D_INPUT_PER_VERTEX_DATA,4,2 ## @WINED3D_INPUT_PER_VERTEX_DATA
	.comm	_WINED3D_DECL_METHOD_DEFAULT,4,2 ## @WINED3D_DECL_METHOD_DEFAULT
	.no_dead_strip	_append_decl_element
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function append_decl_element
_append_decl_element:                   ; @append_decl_element
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldp	x9, x10, [x0]
	add	x8, x8, x10, lsl #6
	str	w1, [x8]
	str	xzr, [x8, #56]
	str	x9, [x8, #8]
Lloh0:
	adrp	x9, _WINED3D_OUTPUT_SLOT_SEMANTIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3D_OUTPUT_SLOT_SEMANTIC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x8, #52]
Lloh3:
	adrp	x9, _WINED3D_INPUT_PER_VERTEX_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WINED3D_INPUT_PER_VERTEX_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x8, #48]
Lloh6:
	adrp	x9, _WINED3D_DECL_METHOD_DEFAULT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WINED3D_DECL_METHOD_DEFAULT@GOTPAGEOFF]
	str	xzr, [x8, #40]
Lloh8:
	ldr	w9, [x9]
	str	w9, [x8, #32]
	str	w2, [x8, #16]
	str	x3, [x8, #24]
	ldr	w0, [x0, #16]
	mov	w2, #0
	bl	_wined3d_get_format
	ldr	q0, [x19]
	mov	w8, #1
	dup.2d	v1, x8
	ld1.d	{ v1 }[0], [x0]
	add.2d	v0, v0, v1
	str	q0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_OUTPUT_SLOT_SEMANTIC,4,2 ; @WINED3D_OUTPUT_SLOT_SEMANTIC
	.comm	_WINED3D_INPUT_PER_VERTEX_DATA,4,2 ; @WINED3D_INPUT_PER_VERTEX_DATA
	.comm	_WINED3D_DECL_METHOD_DEFAULT,4,2 ; @WINED3D_DECL_METHOD_DEFAULT
	.no_dead_strip	_append_decl_element
.subsections_via_symbols
