	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_record_declaration             ## -- Begin function record_declaration
	.p2align	4, 0x90
_record_declaration:                    ## @record_declaration
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_FALSE@GOTPCREL(%rip), %r15
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	movq	%r9, %r14
	movq	%rcx, %r13
	movq	%rdi, %rbx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	testq	%r8, %r8
	setne	%al
	sete	%cl
	leaq	8(,%rax,8), %r12
	movl	(%rdi,%rcx,4), %eax
	shlq	$2, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.2:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	$8, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	movl	%eax, %ecx
	addq	$48, %r15
	cmpq	%rcx, %r13
	jae	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r12), %rcx
	cmpq	%r14, -8(%rcx,%r15)
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rcx,%r15), %rdx
	andq	16(%rbp), %rdx
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_WARN
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rbx,%rax), %eax
	jmp	LBB0_3
LBB0_7:
	movq	(%rbx,%r12), %rdi
	leal	(%rax,%rax,2), %esi
	shll	$4, %esi
	addl	$48, %esi
	callq	_d3dcompiler_realloc
	testq	%rax, %rax
	movq	_FALSE@GOTPCREL(%rip), %r15
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_11
## %bb.8:
	movq	%rax, (%rbx,%r12)
	jmp	LBB0_10
LBB0_9:
	movl	$48, %edi
	callq	_d3dcompiler_alloc
	movq	%rax, (%rbx,%r12)
	testq	%rax, %rax
	je	LBB0_12
LBB0_10:
	movq	24(%rbp), %r8
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rbx,%rcx), %edx
	leaq	(%rdx,%rdx,2), %rsi
	shlq	$4, %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, 40(%rax,%rsi)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, 32(%rax,%rsi)
	movq	%r14, (%rax,%rsi)
	movq	%r13, 24(%rax,%rsi)
	movq	16(%rbp), %rdi
	movq	%rdi, 8(%rax,%rsi)
	movq	%r8, 16(%rax,%rsi)
	leal	1(%rdx), %eax
	movl	%eax, (%rbx,%rcx)
	movq	_TRUE@GOTPCREL(%rip), %r15
	jmp	LBB0_14
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str(%rip), %rdi
LBB0_13:
	callq	_ERR
LBB0_14:
	movq	(%r15), %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error allocating declarations array\n"

L_.str.1:                               ## @.str.1
	.asciz	"Declaration of register %u already exists, writemask match 0x%x\n"

L_.str.2:                               ## @.str.2
	.asciz	"Error reallocating declarations array\n"

	.comm	_TRUE,8,3                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_record_declaration             ; -- Begin function record_declaration
	.p2align	2
_record_declaration:                    ; @record_declaration
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_14
; %bb.1:
	mov	x19, x7
	mov	x20, x6
	mov	x23, x5
	mov	x21, x3
	mov	x24, x2
	mov	x25, x1
	mov	x22, x0
	mov	w8, #16
	mov	w9, #8
	cmp	x4, #0
	csel	x28, x9, x8, eq
	cset	w8, eq
	lsl	x27, x8, #2
	ldr	w8, [x0, x27]
	cbz	w8, LBB0_9
; %bb.2:
	stp	x21, x19, [sp]                  ; 16-byte Folded Spill
	mov	x19, #0
	mov	x21, #0
Lloh0:
	adrp	x26, l_.str.1@PAGE
Lloh1:
	add	x26, x26, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	add	x19, x19, #48
	cmp	x21, w8, uxtw
	b.hs	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22, x28]
	ldr	x10, [x9, x19]
	cmp	x10, x23
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, x19
	ldr	x9, [x9, #8]
	ands	x2, x9, x20
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	mov	x1, x23
	bl	_WARN
	ldr	w8, [x22, x27]
	b	LBB0_3
LBB0_7:
	ldr	x0, [x22, x28]
	mov	w9, #48
	orr	w10, wzr, #0x30
	madd	w1, w8, w9, w10
	bl	_d3dcompiler_realloc
	ldp	x21, x19, [sp]                  ; 16-byte Folded Reload
	cbz	x0, LBB0_11
; %bb.8:
	str	x0, [x22, x28]
	b	LBB0_10
LBB0_9:
	mov	w0, #48
	bl	_d3dcompiler_alloc
	str	x0, [x22, x28]
	cbz	x0, LBB0_12
LBB0_10:
	ldr	w8, [x22, x27]
	mov	w9, #48
	madd	x9, x8, x9, x0
	stp	x24, x25, [x9, #32]
	stp	x23, x20, [x9]
	stp	x19, x21, [x9, #16]
	add	w8, w8, #1
	str	w8, [x22, x27]
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
LBB0_13:
	bl	_ERR
LBB0_14:
Lloh8:
	adrp	x8, _FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_15:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error allocating declarations array\n"

l_.str.1:                               ; @.str.1
	.asciz	"Declaration of register %u already exists, writemask match 0x%x\n"

l_.str.2:                               ; @.str.2
	.asciz	"Error reallocating declarations array\n"

	.comm	_TRUE,8,3                       ; @TRUE
.subsections_via_symbols
