	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asmparser_texld14
_asmparser_texld14:                     ## @asmparser_texld14
	.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, %r12
	testq	%r8, %r8
	je	LBB0_2
## %bb.1:
	movq	%r8, %rbx
	cmpl	$1, (%r8)
	jne	LBB0_2
## %bb.3:
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	$2, %edi
	callq	_alloc_instr
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	_BWRITERSIO_TEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
	movq	%r14, 24(%r15)
	movq	%r13, 16(%r15)
	movq	$0, 8(%r15)
	movq	8(%r12), %rax
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	*8(%rax)
	movq	8(%r12), %rax
	movq	8(%rbx), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	*(%rax)
	movq	(%r15), %rdi
	addq	$24, %rdi
	movl	$24, %esi
	callq	_ZeroMemory
	movq	_BWRITERSPR_SAMPLER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r15), %rcx
	movl	%eax, 44(%rcx)
	movl	(%r14), %eax
	movl	%eax, 40(%rcx)
	movq	_BWRITERVS_NOSWIZZLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rcx)
	movq	_BWRITERSPSM_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rcx)
	movq	$0, 24(%rcx)
	movl	4(%r12), %edi
	movq	%r15, %rsi
	callq	_add_instruction
	testl	%eax, %eax
	je	LBB0_6
## %bb.9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	16(%r12), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_asmparser_message
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
LBB0_7:
	callq	_ERR
LBB0_8:
	movq	_PARSE_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_parse_status               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Line %u: texld (PS 1.4) has a wrong number of source registers\n"

	.comm	_PARSE_ERR,4,2                  ## @PARSE_ERR
L_.str.1:                               ## @.str.1
	.asciz	"Error allocating memory for the instruction\n"

	.comm	_BWRITERSIO_TEX,4,2             ## @BWRITERSIO_TEX
	.comm	_BWRITERSPR_SAMPLER,4,2         ## @BWRITERSPR_SAMPLER
	.comm	_BWRITERVS_NOSWIZZLE,4,2        ## @BWRITERVS_NOSWIZZLE
	.comm	_BWRITERSPSM_NONE,4,2           ## @BWRITERSPSM_NONE
L_.str.2:                               ## @.str.2
	.asciz	"Out of memory\n"

	.no_dead_strip	_asmparser_texld14
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asmparser_texld14
_asmparser_texld14:                     ; @asmparser_texld14
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	cbz	x4, LBB0_5
; %bb.1:
	mov	x22, x4
	ldr	w8, [x4]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.2:
	mov	x20, x3
	mov	x23, x2
	mov	x24, x1
	mov	w0, #2
	bl	_alloc_instr
	cbz	x0, LBB0_6
; %bb.3:
	mov	x21, x0
Lloh0:
	adrp	x8, _BWRITERSIO_TEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BWRITERSIO_TEX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #32]
	stp	x23, x24, [x0, #16]
	str	xzr, [x0, #8]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	blr	x8
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x3, [x22, #8]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	blr	x8
	ldr	x8, [x21]
	add	x0, x8, #24
	mov	w1, #24
	bl	_ZeroMemory
Lloh3:
	adrp	x8, _BWRITERSPR_SAMPLER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BWRITERSPR_SAMPLER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x21]
	ldr	w10, [x20]
	stp	w10, w8, [x9, #40]
Lloh6:
	adrp	x8, _BWRITERVS_NOSWIZZLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BWRITERVS_NOSWIZZLE@GOTPAGEOFF]
Lloh8:
	adrp	x10, _BWRITERSPSM_NONE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _BWRITERSPSM_NONE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #32]
	str	xzr, [x9, #24]
	ldr	w0, [x19, #4]
	mov	x1, x21
	bl	_add_instruction
	cbz	w0, LBB0_7
; %bb.4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w2, [x19, #16]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_asmparser_message
	b	LBB0_9
LBB0_6:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_8:
	bl	_ERR
LBB0_9:
Lloh18:
	adrp	x8, _PARSE_ERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PARSE_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_set_parse_status
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Line %u: texld (PS 1.4) has a wrong number of source registers\n"

	.comm	_PARSE_ERR,4,2                  ; @PARSE_ERR
l_.str.1:                               ; @.str.1
	.asciz	"Error allocating memory for the instruction\n"

	.comm	_BWRITERSIO_TEX,4,2             ; @BWRITERSIO_TEX
	.comm	_BWRITERSPR_SAMPLER,4,2         ; @BWRITERSPR_SAMPLER
	.comm	_BWRITERVS_NOSWIZZLE,4,2        ; @BWRITERVS_NOSWIZZLE
	.comm	_BWRITERSPSM_NONE,4,2           ; @BWRITERSPSM_NONE
l_.str.2:                               ; @.str.2
	.asciz	"Out of memory\n"

	.no_dead_strip	_asmparser_texld14
.subsections_via_symbols
