	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lookup_emem
_lookup_emem:                           ## @lookup_emem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rsi), %ecx
	shll	$8, %ecx
	orl	4(%rsi), %ecx
	movl	8(%rsi), %edx
	shll	$8, %edx
	orl	12(%rsi), %edx
	movl	16(%rsi), %edi
	shll	$8, %edi
	orl	20(%rsi), %edi
	movq	_enametable@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %esi
	xorl	%edx, %esi
	movq	_HASHNAMESIZE@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rbx
	decq	%rbx
	movslq	%esi, %rsi
	andq	%rbx, %rsi
	leaq	(%rsi,%rsi,2), %rsi
	leaq	(%rax,%rsi,8), %rbx
	movq	16(%rax,%rsi,8), %rsi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rsi
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rax
	movq	%rsi, %rbx
	cmpl	%edi, (%rax)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%edx, 4(%rax)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%ecx, 8(%rax)
	jne	LBB0_5
	jmp	LBB0_9
LBB0_6:
	movl	%edi, (%rbx)
	movl	%edx, 4(%rbx)
	movl	%ecx, 8(%rbx)
	movl	$1, %edi
	movl	$24, %esi
	callq	_calloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	*(%r14)
LBB0_8:
	movq	%rbx, %rax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_enametable,8,3                 ## @enametable
	.comm	_HASHNAMESIZE,4,2               ## @HASHNAMESIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lookup_emem: calloc"

	.no_dead_strip	_lookup_emem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lookup_emem
_lookup_emem:                           ; @lookup_emem
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldp	w8, w9, [x1]
	orr	w8, w9, w8, lsl #8
	ldp	w9, w10, [x1, #8]
	orr	w9, w10, w9, lsl #8
	ldp	w10, w11, [x1, #16]
	orr	w10, w11, w10, lsl #8
Lloh0:
	adrp	x11, _enametable@GOTPAGE
Lloh1:
	ldr	x11, [x11, _enametable@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	eor	w12, w10, w9
Lloh3:
	adrp	x13, _HASHNAMESIZE@GOTPAGE
Lloh4:
	ldr	x13, [x13, _HASHNAMESIZE@GOTPAGEOFF]
Lloh5:
	ldr	w13, [x13]
	sub	w13, w13, #1
	and	w12, w13, w12
	mov	w13, #24
	smaddl	x20, w12, w13, x11
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x20, #16]
	cbz	x11, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x20, x11
	ldr	w11, [x0]
	cmp	w11, w10
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w11, [x0, #4]
	cmp	w11, w9
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w11, [x0, #8]
	cmp	w11, w8
	b.ne	LBB0_1
	b	LBB0_8
LBB0_5:
	stp	w10, w9, [x20]
	str	w8, [x20, #8]
	mov	w0, #1
	mov	w1, #24
	bl	_calloc
	str	x0, [x20, #16]
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	blr	x8
LBB0_7:
	mov	x0, x20
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_enametable,8,3                 ; @enametable
	.comm	_HASHNAMESIZE,4,2               ; @HASHNAMESIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lookup_emem: calloc"

	.no_dead_strip	_lookup_emem
.subsections_via_symbols
