	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aarch64_opcode_decode
_aarch64_opcode_decode:                 ## @aarch64_opcode_decode
	.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
	movq	%r8, %r14
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r13
	movl	24(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DEBUG_TRACE
	testq	%r13, %r13
	setne	%al
	testq	%rbx, %rbx
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	4(%r13), %eax
	xorl	%r12d, %eax
	testl	%eax, (%r13)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
LBB0_25:
	xorl	%eax, %eax
	callq	_DEBUG_TRACE
LBB0_26:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_27:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r13, 16(%rbx)
	movl	%r12d, (%rbx)
	movq	_AARCH64_MAX_OPND_NUM@GOTPCREL(%rip), %r9
	cmpl	$0, (%r9)
	jle	LBB0_6
## %bb.3:
	movq	8(%r13), %rax
	movl	$8, %ecx
	xorl	%edx, %edx
	movq	_AARCH64_OPND_NIL@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rdx,8), %rdi
	cmpq	(%r8), %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rsi
	movq	%rdi, -8(%rsi,%rcx)
	movl	%edx, (%rsi,%rcx)
	incq	%rdx
	movslq	(%r9), %rsi
	addq	$16, %rcx
	cmpq	%rsi, %rdx
	jl	LBB0_4
LBB0_6:
	movq	%r13, %rdi
	callq	_opcode_has_special_coder
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_do_special_decoding
	testq	%rax, %rax
	je	LBB0_8
LBB0_9:
	movq	%rbx, %rdi
	callq	_aarch64_decode_variant_using_iclass
	testl	%eax, %eax
	je	LBB0_28
## %bb.10:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	_AARCH64_MAX_OPND_NUM@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_17
## %bb.11:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%r15
	movq	_AARCH64_MAX_OPND_NUM@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$16, %r12
	cmpq	%rax, %r15
	jge	LBB0_17
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	(%rax,%r15,8), %r14d
	movq	_AARCH64_OPND_NIL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	shlq	$2, %r14
	movq	_aarch64_operands@GOTPCREL(%rip), %rax
	addq	(%rax), %r14
	movq	%r14, %rdi
	callq	_operand_has_extractor
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	8(%rbx), %rsi
	addq	%r12, %rsi
	movq	%r14, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%rbx, %rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_aarch64_extract_operand
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:
	leaq	L_.str.4(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_DEBUG_TRACE
	jmp	LBB0_26
LBB0_17:
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_19
LBB0_20:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_aarch64_match_operands_constraint
	cmpl	$1, %eax
	jne	LBB0_24
## %bb.21:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_23
## %bb.22:
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_determine_disassembling_preference
LBB0_23:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_DEBUG_TRACE
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_28:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_25
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_25
LBB0_24:
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_25
LBB0_19:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enter with %s"

L_.str.1:                               ## @.str.1
	.asciz	"base opcode match FAIL"

	.comm	_AARCH64_MAX_OPND_NUM,4,2       ## @AARCH64_MAX_OPND_NUM
	.comm	_AARCH64_OPND_NIL,8,3           ## @AARCH64_OPND_NIL
L_.str.2:                               ## @.str.2
	.asciz	"opcode flag-based decoder FAIL"

L_.str.3:                               ## @.str.3
	.asciz	"iclass-based decoder FAIL"

	.comm	_aarch64_operands,8,3           ## @aarch64_operands
L_.str.4:                               ## @.str.4
	.asciz	"operand decoder FAIL at operand %d"

L_.str.5:                               ## @.str.5
	.asciz	"operand verifier FAIL"

L_.str.6:                               ## @.str.6
	.asciz	"SUCCESS"

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.7:                               ## @.str.7
	.asciz	"constraint matching FAIL"

	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_aarch64_opcode_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aarch64_opcode_decode
_aarch64_opcode_decode:                 ; @aarch64_opcode_decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	ldr	w8, [x0, #24]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DEBUG_TRACE
	cmp	x23, #0
	ccmp	x20, #0, #4, ne
	cset	w0, ne
	bl	_assert
	mov	x0, x20
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldp	w8, w9, [x23]
	eor	w9, w9, w22
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_2:
	bl	_DEBUG_TRACE
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
	str	x23, [x20, #16]
	str	w22, [x20]
Lloh6:
	adrp	x25, _AARCH64_MAX_OPND_NUM@GOTPAGE
Lloh7:
	ldr	x25, [x25, _AARCH64_MAX_OPND_NUM@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x8, #0
	mov	x9, #0
	ldr	x10, [x23, #8]
Lloh8:
	adrp	x11, _AARCH64_OPND_NIL@GOTPAGE
Lloh9:
	ldr	x11, [x11, _AARCH64_OPND_NIL@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10, x9, lsl #3]
	ldr	x13, [x11]
	cmp	x12, x13
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x13, [x20, #8]
	add	x13, x13, x8
	str	x12, [x13]
	str	w9, [x13, #8]
	add	x9, x9, #1
	ldrsw	x12, [x25]
	add	x8, x8, #16
	cmp	x9, x12
	b.lt	LBB0_6
LBB0_8:
	mov	x0, x23
	bl	_opcode_has_special_coder
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_do_special_decoding
	cbz	x0, LBB0_25
LBB0_10:
	mov	x0, x20
	bl	_aarch64_decode_variant_using_iclass
	cbz	w0, LBB0_24
; %bb.11:
	str	w21, [sp, #12]                  ; 4-byte Folded Spill
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.12:
	mov	x27, #0
	mov	x26, #0
Lloh10:
	adrp	x28, _AARCH64_OPND_NIL@GOTPAGE
Lloh11:
	ldr	x28, [x28, _AARCH64_OPND_NIL@GOTPAGEOFF]
Lloh12:
	adrp	x21, _aarch64_operands@GOTPAGE
Lloh13:
	ldr	x21, [x21, _aarch64_operands@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x25]
	add	x27, x27, #16
	cmp	x26, x8
	b.ge	LBB0_18
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	lsl	x9, x26, #3
	ldr	w8, [x8, x9]
	ldr	x9, [x28]
	cmp	x8, x9
	b.eq	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x9, [x21]
	add	x24, x9, x8, lsl #2
	mov	x0, x24
	bl	_operand_has_extractor
	cbz	x0, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x20, #8]
	add	x1, x8, x27
	mov	x0, x24
	mov	x2, x22
	mov	x3, x20
	mov	x4, x19
	bl	_aarch64_extract_operand
	cbnz	w0, LBB0_13
; %bb.17:
	str	x26, [sp]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_2
LBB0_18:
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_20
; %bb.19:
	mov	x0, x23
	mov	x1, x22
	blr	x8
	cbz	w0, LBB0_27
LBB0_20:
	mov	x0, x20
	mov	x1, #0
	bl	_aarch64_match_operands_constraint
	cmp	w0, #1
	b.ne	LBB0_26
; %bb.21:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_23
; %bb.22:
	mov	x0, x20
	mov	x1, x19
	bl	_determine_disassembling_preference
LBB0_23:
Lloh16:
	adrp	x0, l_.str.6@PAGE
Lloh17:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DEBUG_TRACE
Lloh18:
	adrp	x8, _TRUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_3
LBB0_24:
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_2
LBB0_25:
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_26:
Lloh24:
	adrp	x0, l_.str.7@PAGE
Lloh25:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_2
LBB0_27:
Lloh26:
	adrp	x0, l_.str.5@PAGE
Lloh27:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enter with %s"

l_.str.1:                               ; @.str.1
	.asciz	"base opcode match FAIL"

	.comm	_AARCH64_MAX_OPND_NUM,4,2       ; @AARCH64_MAX_OPND_NUM
	.comm	_AARCH64_OPND_NIL,8,3           ; @AARCH64_OPND_NIL
l_.str.2:                               ; @.str.2
	.asciz	"opcode flag-based decoder FAIL"

l_.str.3:                               ; @.str.3
	.asciz	"iclass-based decoder FAIL"

	.comm	_aarch64_operands,8,3           ; @aarch64_operands
l_.str.4:                               ; @.str.4
	.asciz	"operand decoder FAIL at operand %d"

l_.str.5:                               ; @.str.5
	.asciz	"operand verifier FAIL"

l_.str.6:                               ; @.str.6
	.asciz	"SUCCESS"

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.7:                               ; @.str.7
	.asciz	"constraint matching FAIL"

	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_aarch64_opcode_decode
.subsections_via_symbols
