	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pex_msdos_fdindex
_pex_msdos_fdindex:                     ## @pex_msdos_fdindex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PEX_MSDOS_FD_OFFSET@GOTPCREL(%rip), %rax
	subl	(%rax), %esi
	js	LBB0_4
## %bb.1:
	movq	_PEX_MSDOS_FILE_COUNT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jge	LBB0_4
## %bb.2:
	movq	(%rdi), %rax
	movl	%esi, %ecx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_4
## %bb.3:
	movl	%esi, %eax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_PEX_MSDOS_FD_OFFSET,8,3        ## @PEX_MSDOS_FD_OFFSET
	.comm	_PEX_MSDOS_FILE_COUNT,4,2       ## @PEX_MSDOS_FILE_COUNT
	.no_dead_strip	_pex_msdos_fdindex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pex_msdos_fdindex
_pex_msdos_fdindex:                     ; @pex_msdos_fdindex
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
Lloh0:
	adrp	x9, _PEX_MSDOS_FD_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PEX_MSDOS_FD_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	subs	w0, w1, w9
	b.mi	LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, _PEX_MSDOS_FILE_COUNT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PEX_MSDOS_FILE_COUNT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w0, w9
	b.ge	LBB0_4
; %bb.2:
	ldr	x8, [x8]
	ldr	x8, [x8, w0, uxtw #3]
	cbz	x8, LBB0_4
; %bb.3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	_abort
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PEX_MSDOS_FD_OFFSET,8,3        ; @PEX_MSDOS_FD_OFFSET
	.comm	_PEX_MSDOS_FILE_COUNT,4,2       ; @PEX_MSDOS_FILE_COUNT
	.no_dead_strip	_pex_msdos_fdindex
.subsections_via_symbols
