	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_hw_table
_build_hw_table:                        ## @build_hw_table
	.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
	movl	(%rdi), %r12d
	movq	_mep_cgen_hw_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_MAX_HW@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	shll	$3, %edi
	callq	_xmalloc
	movq	%rax, %r15
	movq	%rbx, 24(%r14)
	movl	$16, 8(%r14)
	movl	(%r13), %edx
	shll	$3, %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.1:
	movq	_CGEN_HW_MACH@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 24(%rbx)
	leaq	16(%rbx), %rbx
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_CGEN_HW_ATTR_VALUE
	testl	%r12d, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	movq	%rbx, (%r15,%rax,8)
	jmp	LBB0_4
LBB0_5:
	movq	%r15, 16(%r14)
	movq	_MAX_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mep_cgen_hw_table,8,3          ## @mep_cgen_hw_table
	.comm	_MAX_HW,4,2                     ## @MAX_HW
	.comm	_CGEN_HW_MACH,4,2               ## @CGEN_HW_MACH
	.no_dead_strip	_build_hw_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_hw_table
_build_hw_table:                        ; @build_hw_table
	.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
Lloh0:
	adrp	x8, _mep_cgen_hw_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mep_cgen_hw_table@GOTPAGEOFF]
	ldr	w23, [x0]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x22, _MAX_HW@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MAX_HW@GOTPAGEOFF]
	ldr	w8, [x22]
	lsl	w0, w8, #3
	bl	_xmalloc
	mov	x21, x0
	str	x20, [x19, #24]
	mov	w8, #16
	str	w8, [x19, #8]
	ldr	w8, [x22]
	lsl	w2, w8, #3
	mov	w1, #0
	bl	_memset
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.1:
Lloh5:
	adrp	x24, _CGEN_HW_MACH@GOTPAGE
Lloh6:
	ldr	x24, [x24, _CGEN_HW_MACH@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #24]
	add	x20, x20, #16
	cbz	x8, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	x0, x20
	bl	_CGEN_HW_ATTR_VALUE
	tst	w0, w23
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	str	x20, [x21, x8, lsl #3]
	b	LBB0_2
LBB0_5:
	str	x21, [x19, #16]
	ldr	w8, [x22]
	str	w8, [x19, #12]
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_mep_cgen_hw_table,8,3          ; @mep_cgen_hw_table
	.comm	_MAX_HW,4,2                     ; @MAX_HW
	.comm	_CGEN_HW_MACH,4,2               ; @CGEN_HW_MACH
	.no_dead_strip	_build_hw_table
.subsections_via_symbols
