	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_func_parameter
_add_func_parameter:                    ## @add_func_parameter
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$28, %edi
	callq	_d3dcompiler_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	16(%r15), %eax
	movl	%eax, 24(%rbx)
	movl	(%r12), %eax
	movl	%eax, 20(%rbx)
	movups	(%r15), %xmm0
	movups	%xmm0, 4(%rbx)
	movq	_hlsl_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FALSE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rsi
	callq	_add_declaration
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_list_add_tail
	movq	_TRUE@GOTPCREL(%rip), %r15
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_ERR
	movq	_FALSE@GOTPCREL(%rip), %r15
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	callq	_free_declaration
LBB0_5:
	movl	(%r15), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Out of memory.\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_hlsl_ctx,4,2                   ## @hlsl_ctx
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_add_func_parameter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_func_parameter
_add_func_parameter:                    ; @add_func_parameter
	.cfi_startproc
; %bb.0:
	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
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	mov	w0, #28
	bl	_d3dcompiler_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w8, [x21, #16]
	str	w8, [x0, #24]
	ldr	w8, [x22]
	str	w8, [x0, #20]
	ldr	q0, [x21]
	stur	q0, [x0, #4]
Lloh0:
	adrp	x8, _hlsl_ctx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hlsl_ctx@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_add_declaration
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_list_add_tail
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ERR
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_free_declaration
LBB0_5:
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Out of memory.\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_hlsl_ctx,4,2                   ; @hlsl_ctx
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_add_func_parameter
.subsections_via_symbols
