	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asmparser_texcrd
_asmparser_texcrd:                      ## @asmparser_texcrd
	.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, %r14
	testq	%r8, %r8
	je	LBB0_2
## %bb.1:
	movq	%r8, %rbx
	cmpl	$1, (%r8)
	jne	LBB0_2
## %bb.3:
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %edi
	callq	_alloc_instr
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	_BWRITERSIO_MOV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
	movq	%r15, 16(%r12)
	movq	%r13, 8(%r12)
	movq	$0, (%r12)
	movq	8(%r14), %rax
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	*8(%rax)
	movq	8(%r14), %rax
	movq	8(%rbx), %rcx
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	*(%rax)
	movl	4(%r14), %edi
	movq	%r12, %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(%r14), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %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	%r14, %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: Wrong number of source registers in texcrd instruction\n"

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

	.comm	_BWRITERSIO_MOV,4,2             ## @BWRITERSIO_MOV
L_.str.2:                               ## @.str.2
	.asciz	"Out of memory\n"

	.no_dead_strip	_asmparser_texcrd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asmparser_texcrd
_asmparser_texcrd:                      ; @asmparser_texcrd
	.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	x20, x4
	ldr	w8, [x4]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.2:
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	w0, #1
	bl	_alloc_instr
	cbz	x0, LBB0_6
; %bb.3:
	mov	x22, x0
Lloh0:
	adrp	x8, _BWRITERSIO_MOV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BWRITERSIO_MOV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	stp	x23, x24, [x0, #8]
	str	xzr, [x0]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	blr	x8
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x3, [x20, #8]
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	blr	x8
	ldr	w0, [x19, #4]
	mov	x1, x22
	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]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_asmparser_message
	b	LBB0_9
LBB0_6:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_8:
	bl	_ERR
LBB0_9:
Lloh9:
	adrp	x8, _PARSE_ERR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PARSE_ERR@GOTPAGEOFF]
Lloh11:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Line %u: Wrong number of source registers in texcrd instruction\n"

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

	.comm	_BWRITERSIO_MOV,4,2             ; @BWRITERSIO_MOV
l_.str.2:                               ; @.str.2
	.asciz	"Out of memory\n"

	.no_dead_strip	_asmparser_texcrd
.subsections_via_symbols
