	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mep_cgen_rebuild_tables
_mep_cgen_rebuild_tables:               ## @mep_cgen_rebuild_tables
	.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, %r15
	movq	56(%rdi), %r14
	movl	(%rdi), %r12d
	movq	_CGEN_INT_INSN_P@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rdi)
	movq	_CGEN_SIZE_UNKNOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	%rax
	movq	%rax, 8(%rdi)
	movq	%rax, 16(%rdi)
	movl	$65535, 24(%rdi)                ## imm = 0xFFFF
	movq	$0, 32(%rdi)
	movq	_MAX_ISAS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.1:
	movl	$24, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	_MAX_ISAS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$32, %r13
	cmpq	%rax, %rbx
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_cgen_bitset_contains
	testq	%rax, %rax
	je	LBB0_21
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_mep_cgen_isa_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r15), %rdi
	movq	_CGEN_SIZE_UNKNOWN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	1(%rcx), %rdx
	movq	-24(%rax,%r13), %rsi
	cmpq	%rdx, %rdi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, %rsi
	movq	%rcx, %rsi
	je	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, 8(%r15)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rsi
	movq	-16(%rax,%r13), %rdi
	cmpq	%rdx, %rsi
	je	LBB0_7
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rsi, %rdi
	jne	LBB0_16
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdi, %rcx
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, 16(%r15)
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-8(%rax,%r13), %ecx
	cmpl	24(%r15), %ecx
	jge	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, 24(%r15)
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax,%r13), %rax
	cmpq	32(%r15), %rax
	jle	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, 32(%r15)
	jmp	LBB0_21
LBB0_8:
	movq	_MAX_MACHS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_24
## %bb.9:
	movq	_mep_cgen_mach_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	xorl	%edi, %edi
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%rcx, 40(%r15)
LBB0_23:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%rdi
	cmpq	%rdi, %rax
	je	LBB0_24
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	btl	%edi, %r12d
	jae	LBB0_23
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%rsi,%rdi,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_23
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	40(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_22
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%rcx, %rdx
	je	LBB0_22
## %bb.14:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	xorl	%eax, %eax
	callq	_abort
LBB0_24:
	movq	%r15, %rdi
	callq	_build_hw_table
	movq	%r15, %rdi
	callq	_build_ifield_table
	movq	%r15, %rdi
	callq	_build_operand_table
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_build_insn_table               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CGEN_INT_INSN_P,4,2            ## @CGEN_INT_INSN_P
	.comm	_CGEN_SIZE_UNKNOWN,8,3          ## @CGEN_SIZE_UNKNOWN
	.comm	_MAX_ISAS,4,2                   ## @MAX_ISAS
	.comm	_mep_cgen_isa_table,8,3         ## @mep_cgen_isa_table
	.comm	_MAX_MACHS,4,2                  ## @MAX_MACHS
	.comm	_mep_cgen_mach_table,8,3        ## @mep_cgen_mach_table
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mep_cgen_rebuild_tables: conflicting insn-chunk-bitsize values: `%d' vs. `%d'\n"

	.comm	_UNSET,8,3                      ## @UNSET
	.no_dead_strip	_mep_cgen_rebuild_tables
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mep_cgen_rebuild_tables
_mep_cgen_rebuild_tables:               ; @mep_cgen_rebuild_tables
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x20, [x0, #56]
	ldr	w22, [x0]
Lloh0:
	adrp	x8, _CGEN_INT_INSN_P@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CGEN_INT_INSN_P@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x23, _CGEN_SIZE_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _CGEN_SIZE_UNKNOWN@GOTPAGEOFF]
	str	w8, [x0, #48]
	ldr	x8, [x23]
	add	x8, x8, #1
	stp	x8, x8, [x0, #8]
	mov	w8, #65535
	str	w8, [x0, #24]
	str	xzr, [x0, #32]
Lloh5:
	adrp	x24, _MAX_ISAS@GOTPAGE
Lloh6:
	ldr	x24, [x24, _MAX_ISAS@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x25, #0
	mov	x21, #0
Lloh7:
	adrp	x26, _mep_cgen_isa_table@GOTPAGE
Lloh8:
	ldr	x26, [x26, _mep_cgen_isa_table@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x24]
	add	x25, x25, #32
	cmp	x21, x8
	b.ge	LBB0_15
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_cgen_bitset_contains
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x26]
	ldr	x12, [x19, #8]
	ldr	x9, [x23]
	add	x10, x9, #1
	ldr	x11, [x8, x25]
	cmp	x12, x10
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x11, x12
	mov	x11, x9
	b.eq	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x11, [x19, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x12, [x19, #16]
	add	x11, x8, x25
	ldr	x11, [x11, #8]
	cmp	x12, x10
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x11, x12
	b.ne	LBB0_10
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, x11
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x9, [x19, #16]
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, x25
	ldr	w9, [x8, #16]
	ldr	w10, [x19, #24]
	cmp	w9, w10
	b.ge	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	str	w9, [x19, #24]
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #24]
	ldr	x9, [x19, #32]
	cmp	x8, x9
	b.le	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	str	x8, [x19, #32]
	b	LBB0_2
LBB0_15:
Lloh9:
	adrp	x8, _MAX_MACHS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAX_MACHS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.16:
	mov	x9, #0
Lloh12:
	adrp	x10, _mep_cgen_mach_table@GOTPAGE
Lloh13:
	ldr	x10, [x10, _mep_cgen_mach_table@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.eq	LBB0_22
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	lsr	w11, w22, w9
	tbz	w11, #0, LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x3, [x10, x9, lsl #3]
	cbz	x3, LBB0_17
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x2, [x19, #40]
	cmp	x2, #0
	ccmp	x2, x3, #4, ne
	b.ne	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	str	x3, [x19, #40]
	b	LBB0_17
LBB0_22:
	mov	x0, x19
	bl	_build_hw_table
	mov	x0, x19
	bl	_build_ifield_table
	mov	x0, x19
	bl	_build_operand_table
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_build_insn_table
LBB0_23:
Lloh15:
	adrp	x8, _stderr@GOTPAGE
Lloh16:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	bl	_abort
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_CGEN_INT_INSN_P,4,2            ; @CGEN_INT_INSN_P
	.comm	_CGEN_SIZE_UNKNOWN,8,3          ; @CGEN_SIZE_UNKNOWN
	.comm	_MAX_ISAS,4,2                   ; @MAX_ISAS
	.comm	_mep_cgen_isa_table,8,3         ; @mep_cgen_isa_table
	.comm	_MAX_MACHS,4,2                  ; @MAX_MACHS
	.comm	_mep_cgen_mach_table,8,3        ; @mep_cgen_mach_table
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mep_cgen_rebuild_tables: conflicting insn-chunk-bitsize values: `%d' vs. `%d'\n"

	.comm	_UNSET,8,3                      ; @UNSET
	.no_dead_strip	_mep_cgen_rebuild_tables
.subsections_via_symbols
