	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_entry_position             ## -- Begin function get_entry_position
	.p2align	4, 0x90
_get_entry_position:                    ## @get_entry_position
	.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
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_metafile_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_prepare_list_metafile
	testq	%rax, %rax
	js	LBB0_2
LBB0_3:
	movl	%ebx, %edi
	movl	$2, %esi
	callq	___get_list_f
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %rdi
	callq	_unpack_metafile_pointers
	movq	_OTree@GOTPCREL(%rip), %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_listree_get_pos_large          ## TAILCALL
LBB0_4:
	movl	$-1, %eax
	jmp	LBB0_5
LBB0_2:
	movl	$-2, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_metafile_mode,8,3              ## @metafile_mode
	.comm	_OTree,4,2                      ## @OTree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_entry_position             ; -- Begin function get_entry_position
	.p2align	2
_get_entry_position:                    ; @get_entry_position
	.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, 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_5
LBB0_2:
	mov	x0, x20
	mov	w1, #2
	bl	___get_list_f
	cbz	x0, LBB0_4
; %bb.3:
	bl	_unpack_metafile_pointers
Lloh3:
	adrp	x0, _OTree@GOTPAGE
Lloh4:
	ldr	x0, [x0, _OTree@GOTPAGEOFF]
	mov	x1, x19
	mov	w2, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_listree_get_pos_large
LBB0_4:
	mov	w0, #-1
	b	LBB0_6
LBB0_5:
	mov	w0, #-2
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_metafile_mode,8,3              ; @metafile_mode
	.comm	_OTree,4,2                      ; @OTree
.subsections_via_symbols
