	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fetch_list_entry               ## -- Begin function fetch_list_entry
	.p2align	4, 0x90
_fetch_list_entry:                      ## @fetch_list_entry
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r12d
	movl	%edi, %ebx
	movq	_metafile_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_prepare_list_metafile
	testq	%rax, %rax
	js	LBB0_8
LBB0_2:
	movl	%ebx, %edi
	movl	$2, %esi
	callq	___get_list_f
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %rdi
	callq	_unpack_metafile_pointers
	movq	_OTree@GOTPCREL(%rip), %r14
	leaq	-36(%rbp), %rdx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_listree_lookup_large
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rax, %r12
	leaq	24(%r15), %rdi
	xorl	%esi, %esi
	movl	$28, %edx
	callq	_memset
	cmpq	$-1, %r12
	je	LBB0_10
## %bb.5:
	movq	%r12, %rdi
	callq	_PAYLOAD
	movq	%rax, %rbx
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movl	4(%rbx), %eax
	movl	%eax, 4(%r15)
	movdqu	16(%rbx), %xmm0
	pshufd	$78, %xmm0, %xmm0               ## xmm0 = xmm0[2,3,0,1]
	movdqu	%xmm0, 8(%r15)
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.6:
	callq	_get_text_len
	movl	%eax, 48(%r15)
	movq	8(%rbx), %rdi
	callq	_get_text_ptr
	jmp	LBB0_13
LBB0_7:
	movl	$-1, %eax
	jmp	LBB0_14
LBB0_8:
	movl	$-2, %eax
	jmp	LBB0_14
LBB0_10:
	movl	-36(%rbp), %edi
	callq	_metafile_get_flags
	movl	%eax, (%r15)
	movl	-36(%rbp), %edi
	callq	_metafile_get_date
	movl	%eax, 4(%r15)
	movq	_M_global_id_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	-36(%rbp), %rdi
	movq	(%rax,%rdi,8), %rax
	movq	%rax, 8(%r15)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_metafile_get_value
	movq	%rax, 16(%r15)
	movl	-36(%rbp), %edi
	leaq	48(%r15), %rsi
	jmp	LBB0_12
LBB0_11:
	movq	%r12, %rdi
	callq	_NODE_TYPE
	movq	_TF_PLUS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_assert
	movl	(%r14), %ebx
	movq	%r12, %rdi
	callq	_NODE_RPOS
	subl	%eax, %ebx
	leaq	48(%r15), %rsi
	movl	%ebx, %edi
LBB0_12:
	callq	_metafile_get_text
LBB0_13:
	movq	%rax, 40(%r15)
	movl	$6, %eax
LBB0_14:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_metafile_mode,8,3              ## @metafile_mode
	.comm	_OTree,4,2                      ## @OTree
	.comm	_TF_PLUS,8,3                    ## @TF_PLUS
	.comm	_M_global_id_list,8,3           ## @M_global_id_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fetch_list_entry               ; -- Begin function fetch_list_entry
	.p2align	2
_fetch_list_entry:                      ; @fetch_list_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _metafile_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _metafile_mode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #1
	bl	_prepare_list_metafile
	tbnz	x0, #63, LBB0_8
LBB0_2:
	mov	x0, x20
	mov	w1, #2
	bl	___get_list_f
	cbz	x0, LBB0_7
; %bb.3:
	bl	_unpack_metafile_pointers
Lloh3:
	adrp	x20, _OTree@GOTPAGE
Lloh4:
	ldr	x20, [x20, _OTree@GOTPAGEOFF]
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x21
	bl	_listree_lookup_large
	cbz	x0, LBB0_7
; %bb.4:
	mov	x21, x0
	add	x0, x19, #24
	mov	w1, #0
	mov	w2, #28
	bl	_memset
	cmn	x21, #1
	b.eq	LBB0_9
; %bb.5:
	mov	x0, x21
	bl	_PAYLOAD
	mov	x22, x0
	ldr	w8, [x0]
	str	w8, [x19]
	ldr	w8, [x0, #4]
	str	w8, [x19, #4]
	ldr	q0, [x0, #16]
	ext.16b	v0, v0, v0, #8
	stur	q0, [x19, #8]
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_10
; %bb.6:
	bl	_get_text_len
	str	w0, [x19, #48]
	ldr	x0, [x22, #8]
	bl	_get_text_ptr
	b	LBB0_12
LBB0_7:
	mov	w0, #-1
	b	LBB0_13
LBB0_8:
	mov	w0, #-2
	b	LBB0_13
LBB0_9:
	ldr	w0, [sp, #12]
	bl	_metafile_get_flags
	str	w0, [x19]
	ldr	w0, [sp, #12]
	bl	_metafile_get_date
Lloh5:
	adrp	x8, _M_global_id_list@GOTPAGE
Lloh6:
	ldr	x8, [x8, _M_global_id_list@GOTPAGEOFF]
	str	w0, [x19, #4]
Lloh7:
	ldr	x8, [x8]
	ldrsw	x0, [sp, #12]
	ldr	x8, [x8, x0, lsl #3]
	str	x8, [x19, #8]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_metafile_get_value
	str	x0, [x19, #16]
	ldr	w0, [sp, #12]
	b	LBB0_11
LBB0_10:
	mov	x0, x21
	bl	_NODE_TYPE
Lloh8:
	adrp	x8, _TF_PLUS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TF_PLUS@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ne
	bl	_assert
	ldr	w20, [x20]
	mov	x0, x21
	bl	_NODE_RPOS
	sub	w0, w20, w0
LBB0_11:
	add	x1, x19, #48
	bl	_metafile_get_text
LBB0_12:
	str	x0, [x19, #40]
	mov	w0, #6
LBB0_13:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_metafile_mode,8,3              ; @metafile_mode
	.comm	_OTree,4,2                      ; @OTree
	.comm	_TF_PLUS,8,3                    ; @TF_PLUS
	.comm	_M_global_id_list,8,3           ; @M_global_id_list
.subsections_via_symbols
