	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compilation_message            ## -- Begin function compilation_message
	.p2align	4, 0x90
_compilation_message:                   ## @compilation_message
	.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	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	(%rdi), %ebx
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	8(%r12), %rax
	jmp	LBB0_7
LBB0_2:
	movq	_MESSAGEBUFFER_INITIAL_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_d3dcompiler_alloc
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movl	(%rbx), %ebx
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rdi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR                            ## TAILCALL
LBB0_6:
	movl	%ebx, (%r12)
LBB0_7:
	movslq	16(%r12), %rcx
	addq	%rcx, %rax
	subl	%ecx, %ebx
	movq	%rax, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_vsnprintf
	movl	(%r12), %ebx
	testl	%eax, %eax
	js	LBB0_9
## %bb.8:
	movl	%eax, %r13d
	movslq	16(%r12), %rsi
	movl	%ebx, %eax
	subl	%esi, %eax
	cmpl	%eax, %r13d
	jl	LBB0_12
LBB0_9:
	addl	%ebx, %ebx
	movq	8(%r12), %rdi
	movl	%ebx, %esi
	callq	_d3dcompiler_realloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, 8(%r12)
	jmp	LBB0_6
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_4
LBB0_12:
	addq	8(%r12), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_TRACE
	addl	%r13d, 16(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MESSAGEBUFFER_INITIAL_SIZE,4,2 ## @MESSAGEBUFFER_INITIAL_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error allocating memory for parser messages\n"

L_.str.1:                               ## @.str.1
	.asciz	"Error reallocating memory for parser messages\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compilation_message            ; -- Begin function compilation_message
	.p2align	2
_compilation_message:                   ; @compilation_message
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w22, [x0]
	cbz	w22, LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
	b	LBB0_7
LBB0_2:
Lloh0:
	adrp	x22, _MESSAGEBUFFER_INITIAL_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MESSAGEBUFFER_INITIAL_SIZE@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_d3dcompiler_alloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w22, [x22]
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
LBB0_5:
	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
	b	_ERR
LBB0_6:
	str	w22, [x19]
LBB0_7:
	ldrsw	x8, [x19, #16]
	add	x0, x0, x8
	sub	w1, w22, w8
	mov	x2, x21
	mov	x3, x20
	bl	_vsnprintf
	ldr	w8, [x19]
	tbnz	w0, #31, LBB0_9
; %bb.8:
	mov	x22, x0
	ldrsw	x9, [x19, #16]
	sub	w10, w8, w9
	cmp	w0, w10
	b.lt	LBB0_12
LBB0_9:
	lsl	w22, w8, #1
	ldr	x0, [x19, #8]
	mov	x1, x22
	bl	_d3dcompiler_realloc
	cbz	x0, LBB0_11
; %bb.10:
	str	x0, [x19, #8]
	b	LBB0_6
LBB0_11:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_12:
	ldr	x8, [x19, #8]
	add	x1, x8, x9
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
	ldr	w8, [x19, #16]
	add	w8, w8, w22
	str	w8, [x19, #16]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MESSAGEBUFFER_INITIAL_SIZE,4,2 ; @MESSAGEBUFFER_INITIAL_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error allocating memory for parser messages\n"

l_.str.1:                               ; @.str.1
	.asciz	"Error reallocating memory for parser messages\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s"

.subsections_via_symbols
