	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_pres_ins
_parse_pres_ins:                        ## @parse_pres_ins
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$1, %esi
	ja	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_WARN
LBB0_26:
	xorl	%ebx, %ebx
	jmp	LBB0_27
LBB0_2:
	movq	%rdx, %r12
	movl	%esi, %r13d
	movq	%rdi, %r15
	movl	(%rdi), %ebx
	movq	_PRES_OPCODE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	andl	%ebx, %r14d
	movq	_PRES_OPCODE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrl	%cl, %r14d
	movq	_PRES_NCOMP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	%ebx, %esi
	movl	%esi, (%rdx)
	movq	_PRES_SCALAR_FLAG@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	(%rax), %eax
	andl	%ebx, %eax
	setne	%cl
	movl	%ecx, 4(%rdx)
	leal	-5(%rsi), %eax
	cmpl	$-5, %eax
	ja	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_FIXME
	jmp	LBB0_27
LBB0_4:
	movl	4(%r15), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_pres_op_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	je	LBB0_9
## %bb.5:
	movl	$4, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r12
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$40, %rbx
	cmpq	%rax, %r12
	jae	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	_pres_op_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	cmpl	-4(%rdi,%rbx), %r14d
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rdi,%rbx), %eax
	jne	LBB0_6
	jmp	LBB0_10
LBB0_9:
	xorl	%r12d, %r12d
LBB0_10:
	movq	_pres_op_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r12d
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%r14d, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_FIXME
	jmp	LBB0_27
LBB0_12:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%r12d, 8(%rbx)
	movq	56(%rbx), %rdi
	callq	_ARRAY_SIZE
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	cmpl	%eax, %esi
	jbe	LBB0_14
## %bb.13:
	movq	_pres_op_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r12d, %ecx
	leaq	(%rcx,%rcx,4), %rcx
	movl	32(%rax,%rcx,8), %edx
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_FIXME
	jmp	LBB0_27
LBB0_14:
	movq	%rbx, %r12
	addq	$8, %r15
	addl	$-2, %r13d
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.15:
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,4), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%r12), %rdx
	addq	%rbx, %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_parse_pres_arg
	testq	%rax, %rax
	je	LBB0_26
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rax, %rcx
	subq	%r15, %rcx
	shrq	$2, %rcx
	subl	%ecx, %r13d
	addq	$40, %rbx
	movq	%rax, %r15
	cmpq	%rbx, %r14
	jne	LBB0_16
	jmp	LBB0_19
LBB0_18:
	movq	%r15, %rax
LBB0_19:
	leaq	16(%r12), %rdx
	movq	%rax, %rdi
	movl	%r13d, %esi
	callq	_parse_pres_arg
	movq	%rax, %rbx
	movq	40(%r12), %rax
	movq	_PRES_REGTAB_COUNT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_24
## %bb.20:
	movl	28(%r12), %edi
	movl	8(%r12), %ecx
	movl	24(%r12), %eax
	movq	_pres_op_info@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rcx,%rcx,4), %rcx
	xorl	%esi, %esi
	cmpq	$0, 16(%rdx,%rcx,8)
	jne	LBB0_22
## %bb.21:
	movl	(%r12), %esi
	decl	%esi
LBB0_22:
	addl	%eax, %esi
	callq	_get_reg_offset
	movq	%rax, %r14
	movl	24(%r12), %esi
	movl	28(%r12), %edi
	callq	_get_reg_offset
	cmpq	%rax, %r14
	je	LBB0_27
## %bb.23:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_25
LBB0_24:
	leaq	L_.str.4(%rip), %rdi
LBB0_25:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_FIXME
LBB0_27:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Byte code buffer ends unexpectedly.\n"

	.comm	_PRES_OPCODE_MASK,4,2           ## @PRES_OPCODE_MASK
	.comm	_PRES_OPCODE_SHIFT,4,2          ## @PRES_OPCODE_SHIFT
	.comm	_PRES_NCOMP_MASK,4,2            ## @PRES_NCOMP_MASK
	.comm	_PRES_SCALAR_FLAG,4,2           ## @PRES_SCALAR_FLAG
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported number of components %u.\n"

	.comm	_pres_op_info,8,3               ## @pres_op_info
L_.str.2:                               ## @.str.2
	.asciz	"Unknown opcode %#x, input_count %u, raw %#x.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Actual input args count %u exceeds inputs array size, instruction %s.\n"

	.comm	_PRES_REGTAB_COUNT,8,3          ## @PRES_REGTAB_COUNT
L_.str.4:                               ## @.str.4
	.asciz	"Relative addressing in output register not supported.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Instructions outputting multiple registers are not supported.\n"

	.no_dead_strip	_parse_pres_ins
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_pres_ins
_parse_pres_ins:                        ; @parse_pres_ins
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	cmp	w1, #1
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
	b	LBB0_27
LBB0_2:
	mov	x19, x2
	mov	x21, x0
Lloh2:
	adrp	x8, _PRES_OPCODE_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PRES_OPCODE_MASK@GOTPAGEOFF]
	ldr	w24, [x0]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _PRES_OPCODE_SHIFT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PRES_OPCODE_SHIFT@GOTPAGEOFF]
Lloh7:
	adrp	x10, _PRES_NCOMP_MASK@GOTPAGE
Lloh8:
	ldr	x10, [x10, _PRES_NCOMP_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	ldr	w10, [x10]
	and	w10, w10, w24
	str	w10, [x2]
Lloh11:
	adrp	x11, _PRES_SCALAR_FLAG@GOTPAGE
Lloh12:
	ldr	x11, [x11, _PRES_SCALAR_FLAG@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	tst	w11, w24
	cset	w11, ne
	str	w11, [x2, #4]
	sub	w11, w10, #5
	cmn	w11, #5
	b.hi	LBB0_4
; %bb.3:
	str	x10, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_26
LBB0_4:
	mov	x20, x1
	and	w8, w8, w24
	lsr	w25, w8, w9
	ldr	w23, [x21, #4]
Lloh16:
	adrp	x22, _pres_op_info@GOTPAGE
Lloh17:
	ldr	x22, [x22, _pres_op_info@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_9
; %bb.5:
	mov	x27, #0
	mov	x26, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x26, x26, #1
	bl	_ARRAY_SIZE
	add	x27, x27, #40
	cmp	x26, w0, uxtw
	b.hs	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	ldr	w8, [x0, x27]
	cmp	w25, w8
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x0, x27
	ldr	w8, [x8, #4]
	cmp	w23, w8
	b.ne	LBB0_6
	b	LBB0_10
LBB0_9:
	mov	w26, #0
LBB0_10:
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w26, w0
	b.ne	LBB0_12
; %bb.11:
	stp	x23, x24, [sp, #8]
	str	x25, [sp]
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_26
LBB0_12:
	str	w26, [x19, #8]
	ldr	x0, [x19, #56]
	bl	_ARRAY_SIZE
	cmp	w23, w0
	b.ls	LBB0_14
; %bb.13:
	ldr	x8, [x22]
	mov	w9, #40
	umaddl	x8, w26, w9, x8
	ldr	w8, [x8, #32]
	stp	x23, x8, [sp]
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_26
LBB0_14:
	add	x21, x21, #8
	sub	w20, w20, #2
	cbz	w23, LBB0_18
; %bb.15:
	mov	x24, #0
	add	x8, x23, x23, lsl #2
	lsl	x23, x8, #3
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #56]
	add	x2, x8, x24
	mov	x0, x21
	mov	x1, x20
	bl	_parse_pres_arg
	cbz	x0, LBB0_27
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	sub	x8, x0, x21
	lsr	x8, x8, #2
	sub	w20, w20, w8
	add	x24, x24, #40
	mov	x21, x0
	cmp	x23, x24
	b.ne	LBB0_16
	b	LBB0_19
LBB0_18:
	mov	x0, x21
LBB0_19:
	add	x2, x19, #16
	mov	x1, x20
	bl	_parse_pres_arg
	ldr	x8, [x19, #40]
Lloh22:
	adrp	x9, _PRES_REGTAB_COUNT@GOTPAGE
Lloh23:
	ldr	x9, [x9, _PRES_REGTAB_COUNT@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.20:
	mov	x20, x0
	ldp	w8, w0, [x19, #24]
	ldr	x9, [x22]
	ldr	w10, [x19, #8]
	mov	w11, #40
	madd	x9, x10, x11, x9
	ldr	x9, [x9, #16]
	cbz	x9, LBB0_23
; %bb.21:
	mov	w9, #0
	b	LBB0_24
LBB0_22:
Lloh25:
	adrp	x0, l_.str.4@PAGE
Lloh26:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_26
LBB0_23:
	ldr	w9, [x19]
	sub	w9, w9, #1
LBB0_24:
	add	w1, w9, w8
	bl	_get_reg_offset
	mov	x21, x0
	ldp	w1, w0, [x19, #24]
	bl	_get_reg_offset
	cmp	x21, x0
	b.eq	LBB0_28
; %bb.25:
Lloh27:
	adrp	x0, l_.str.5@PAGE
Lloh28:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_26:
	bl	_FIXME
LBB0_27:
	mov	x20, #0
LBB0_28:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Byte code buffer ends unexpectedly.\n"

	.comm	_PRES_OPCODE_MASK,4,2           ; @PRES_OPCODE_MASK
	.comm	_PRES_OPCODE_SHIFT,4,2          ; @PRES_OPCODE_SHIFT
	.comm	_PRES_NCOMP_MASK,4,2            ; @PRES_NCOMP_MASK
	.comm	_PRES_SCALAR_FLAG,4,2           ; @PRES_SCALAR_FLAG
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported number of components %u.\n"

	.comm	_pres_op_info,8,3               ; @pres_op_info
l_.str.2:                               ; @.str.2
	.asciz	"Unknown opcode %#x, input_count %u, raw %#x.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Actual input args count %u exceeds inputs array size, instruction %s.\n"

	.comm	_PRES_REGTAB_COUNT,8,3          ; @PRES_REGTAB_COUNT
l_.str.4:                               ; @.str.4
	.asciz	"Relative addressing in output register not supported.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Instructions outputting multiple registers are not supported.\n"

	.no_dead_strip	_parse_pres_ins
.subsections_via_symbols
