	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FDI_read_entries
_FDI_read_entries:                      ## @FDI_read_entries
	.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
	subq	$312, %rsp                      ## imm = 0x138
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	movq	%r14, %rcx
	callq	_TRACE
	movq	_cfhead_SIZEOF@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	leaq	-304(%rbp), %rsi
	movl	%r13d, %edi
	callq	*(%r12)
	cmpq	(%rbx), %rax
	jne	LBB0_7
## %bb.1:
	movq	_cfhead_Signature@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	-304(,%rax,4), %rdi
	addq	%rbp, %rdi
	callq	_EndGetI32
	cmpl	$1178817357, %eax               ## imm = 0x4643534D
	jne	LBB0_7
## %bb.2:
	movq	_cfhead_CabinetSize@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	-304(,%rax,4), %rdi
	addq	%rbp, %rdi
	callq	_EndGetI32
	movl	%eax, %ebx
	movq	_cfhead_NumFolders@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	-304(,%rax,4), %rdi
	addq	%rbp, %rdi
	callq	_EndGetI16
	movl	%eax, -328(%rbp)                ## 4-byte Spill
	movq	_cfhead_NumFiles@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	-304(,%rax,4), %rdi
	addq	%rbp, %rdi
	callq	_EndGetI16
	movl	%eax, -324(%rbp)                ## 4-byte Spill
	movq	_cfhead_SetID@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	-304(,%rax,4), %rdi
	addq	%rbp, %rdi
	callq	_EndGetI16
	movl	%eax, -320(%rbp)                ## 4-byte Spill
	movq	_cfhead_CabinetIndex@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	-304(,%rax,4), %rdi
	addq	%rbp, %rdi
	callq	_EndGetI16
	movq	_cfhead_MajorVersion@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$1, -304(%rbp,%rcx,4)
	jg	LBB0_5
## %bb.3:
	jne	LBB0_12
## %bb.4:
	movq	_cfhead_MinorVersion@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$4, -304(%rbp,%rcx,4)
	jl	LBB0_12
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	_WARN
	movq	_FALSE@GOTPCREL(%rip), %rbx
	testq	%r15, %r15
	je	LBB0_10
## %bb.6:
	movq	_FDIERROR_UNKNOWN_CABINET_VERSION@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_FALSE@GOTPCREL(%rip), %rbx
	testq	%r15, %r15
	je	LBB0_10
## %bb.8:
	movq	_FDIERROR_NOT_A_CABINET@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_set_error
LBB0_10:
	movl	(%rbx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_51
## %bb.11:
	addq	$312, %rsp                      ## imm = 0x138
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	%eax, -308(%rbp)                ## 4-byte Spill
	movl	%ebx, -312(%rbp)                ## 4-byte Spill
	movq	_cfhead_Flags@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	-304(,%rax,4), %rdi
	addq	%rbp, %rdi
	callq	_EndGetI16
	movq	_cfheadRESERVE_PRESENT@GOTPCREL(%rip), %rcx
	movl	%eax, -316(%rbp)                ## 4-byte Spill
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.13:
	movq	_cfheadext_SIZEOF@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	leaq	-304(%rbp), %rsi
	movl	%r13d, %edi
	callq	*(%r12)
	cmpq	(%rbx), %rax
	jne	LBB0_18
## %bb.14:
	movq	_cfheadext_HeaderReserved@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	-304(,%rax,4), %rdi
	addq	%rbp, %rdi
	callq	_EndGetI16
	movl	%eax, %ebx
	testq	%r15, %r15
	je	LBB0_16
## %bb.15:
	movl	%ebx, (%r15)
	movq	_cfheadext_FolderReserved@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-304(%rbp,%rax,4), %eax
	movl	%eax, 4(%r15)
	movq	_cfheadext_DataReserved@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-304(%rbp,%rax,4), %eax
	movl	%eax, 8(%r15)
LBB0_16:
	cmpl	$60001, %ebx                    ## imm = 0xEA61
	jl	LBB0_19
## %bb.17:
	leaq	L_.str.3(%rip), %rdi
	callq	_WARN
	jmp	LBB0_20
LBB0_18:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_34
LBB0_19:
	testl	%ebx, %ebx
	je	LBB0_21
LBB0_20:
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	*8(%r12)
	cmpl	$-1, %eax
	je	LBB0_33
LBB0_21:
	movq	_cfheadPREV_CABINET@GOTPCREL(%rip), %rax
	movl	-316(%rbp), %ebx                ## 4-byte Reload
	testl	%ebx, (%rax)
	je	LBB0_26
## %bb.22:
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	-312(%rbp), %edx                ## 4-byte Reload
	callq	_FDI_read_string
	testq	%rax, %rax
	je	LBB0_35
## %bb.23:
	testq	%r15, %r15
	je	LBB0_37
## %bb.24:
	movq	%rax, -344(%rbp)                ## 8-byte Spill
	movq	%rax, 16(%r15)
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	-312(%rbp), %edx                ## 4-byte Reload
	callq	_FDI_read_string
	testq	%rax, %rax
	je	LBB0_27
## %bb.25:
	movq	%rax, 24(%r15)
	jmp	LBB0_28
LBB0_26:
	xorl	%eax, %eax
	movq	%rax, -344(%rbp)                ## 8-byte Spill
LBB0_27:
	xorl	%eax, %eax
LBB0_28:
	movl	-308(%rbp), %ecx                ## 4-byte Reload
	movq	_cfheadNEXT_CABINET@GOTPCREL(%rip), %rdx
	testl	%ebx, (%rdx)
	je	LBB0_43
## %bb.29:
	testq	%r15, %r15
	je	LBB0_40
## %bb.30:
	movq	%rax, -336(%rbp)                ## 8-byte Spill
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	-312(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edx
	callq	_FDI_read_string
	testq	%rax, %rax
	je	LBB0_45
## %bb.31:
	movq	%rax, 32(%r15)
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_FDI_read_string
	testq	%rax, %rax
	movl	-308(%rbp), %ecx                ## 4-byte Reload
	movl	-316(%rbp), %ebx                ## 4-byte Reload
	je	LBB0_43
## %bb.32:
	movq	%rax, 40(%r15)
	jmp	LBB0_43
LBB0_33:
	leaq	L_.str.4(%rip), %rdi
LBB0_34:
	callq	_ERR
LBB0_35:
	movq	_FALSE@GOTPCREL(%rip), %rbx
	testq	%r15, %r15
	je	LBB0_10
## %bb.36:
	movq	_FDIERROR_CORRUPT_CABINET@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_37:
	movq	%rax, %rdi
	callq	*16(%r12)
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	-312(%rbp), %edx                ## 4-byte Reload
	callq	_FDI_read_string
	testq	%rax, %rax
	je	LBB0_39
## %bb.38:
	movq	%rax, %rdi
	callq	*16(%r12)
LBB0_39:
	movq	_cfheadNEXT_CABINET@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	movl	-308(%rbp), %ecx                ## 4-byte Reload
	je	LBB0_43
LBB0_40:
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	-312(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edx
	callq	_FDI_read_string
	testq	%rax, %rax
	je	LBB0_50
## %bb.41:
	movq	%rax, %rdi
	callq	*16(%r12)
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_FDI_read_string
	testq	%rax, %rax
	movl	-308(%rbp), %ecx                ## 4-byte Reload
	movl	-316(%rbp), %ebx                ## 4-byte Reload
	je	LBB0_43
## %bb.42:
	movq	%rax, %rdi
	callq	*16(%r12)
	movl	-308(%rbp), %ecx                ## 4-byte Reload
LBB0_43:
	movl	-312(%rbp), %eax                ## 4-byte Reload
	movl	%eax, (%r14)
	movl	-328(%rbp), %eax                ## 4-byte Reload
	movl	%eax, 4(%r14)
	movl	-324(%rbp), %eax                ## 4-byte Reload
	movl	%eax, 8(%r14)
	movl	-320(%rbp), %eax                ## 4-byte Reload
	movl	%eax, 12(%r14)
	movl	%ecx, 16(%r14)
	xorl	%eax, %eax
	movq	_cfheadRESERVE_PRESENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%ebx, %ecx
	setne	%al
	movl	%eax, 20(%r14)
	xorl	%eax, %eax
	movq	_cfheadPREV_CABINET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%ebx, %ecx
	setne	%al
	movl	%eax, 24(%r14)
	movq	_cfheadNEXT_CABINET@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	andl	(%rax), %ebx
	setne	%cl
	movl	%ecx, 28(%r14)
	movq	_TRUE@GOTPCREL(%rip), %rbx
	jmp	LBB0_10
LBB0_45:
	movl	-316(%rbp), %eax                ## 4-byte Reload
	movq	_cfheadPREV_CABINET@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	-336(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_50
## %bb.46:
	cmpq	$0, 16(%r15)
	je	LBB0_48
## %bb.47:
	movq	-344(%rbp), %rdi                ## 8-byte Reload
	callq	*16(%r12)
	movq	-336(%rbp), %rdi                ## 8-byte Reload
LBB0_48:
	cmpq	$0, 24(%r15)
	je	LBB0_50
## %bb.49:
	callq	*16(%r12)
LBB0_50:
	movq	_FDIERROR_CORRUPT_CABINET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_set_error
	movq	_FALSE@GOTPCREL(%rip), %rbx
	jmp	LBB0_10
LBB0_51:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(fdi == ^%p, hf == %ld, pfdici == ^%p)\n"

	.comm	_cfhead_SIZEOF,8,3              ## @cfhead_SIZEOF
	.comm	_FDIERROR_NOT_A_CABINET,4,2     ## @FDIERROR_NOT_A_CABINET
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_cfhead_Signature,4,2           ## @cfhead_Signature
	.comm	_cfhead_CabinetSize,4,2         ## @cfhead_CabinetSize
	.comm	_cfhead_NumFolders,4,2          ## @cfhead_NumFolders
	.comm	_cfhead_NumFiles,4,2            ## @cfhead_NumFiles
	.comm	_cfhead_SetID,4,2               ## @cfhead_SetID
	.comm	_cfhead_CabinetIndex,4,2        ## @cfhead_CabinetIndex
	.comm	_cfhead_MajorVersion,8,3        ## @cfhead_MajorVersion
	.comm	_cfhead_MinorVersion,8,3        ## @cfhead_MinorVersion
L_.str.1:                               ## @.str.1
	.asciz	"cabinet format version > 1.3\n"

	.comm	_FDIERROR_UNKNOWN_CABINET_VERSION,4,2 ## @FDIERROR_UNKNOWN_CABINET_VERSION
	.comm	_cfhead_Flags,4,2               ## @cfhead_Flags
	.comm	_cfheadRESERVE_PRESENT,4,2      ## @cfheadRESERVE_PRESENT
	.comm	_cfheadext_SIZEOF,8,3           ## @cfheadext_SIZEOF
L_.str.2:                               ## @.str.2
	.asciz	"bunk reserve-sizes?\n"

	.comm	_FDIERROR_CORRUPT_CABINET,4,2   ## @FDIERROR_CORRUPT_CABINET
	.comm	_cfheadext_HeaderReserved,4,2   ## @cfheadext_HeaderReserved
	.comm	_cfheadext_FolderReserved,8,3   ## @cfheadext_FolderReserved
	.comm	_cfheadext_DataReserved,8,3     ## @cfheadext_DataReserved
L_.str.3:                               ## @.str.3
	.asciz	"WARNING; header reserved space > 60000\n"

	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
L_.str.4:                               ## @.str.4
	.asciz	"seek failure: header_resv\n"

	.comm	_cfheadPREV_CABINET,4,2         ## @cfheadPREV_CABINET
	.comm	_cfheadNEXT_CABINET,4,2         ## @cfheadNEXT_CABINET
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_FDI_read_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FDI_read_entries
_FDI_read_entries:                      ; @FDI_read_entries
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #384
	.cfi_def_cfa_offset 384
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #304]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #320]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #336]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #352]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #368]            ; 16-byte Folded Spill
	add	x29, sp, #368
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_TRACE
	ldr	x8, [x19]
Lloh5:
	adrp	x24, _cfhead_SIZEOF@GOTPAGE
Lloh6:
	ldr	x24, [x24, _cfhead_SIZEOF@GOTPAGEOFF]
	ldr	x2, [x24]
	add	x23, sp, #16
	add	x1, sp, #16
	mov	x0, x21
	blr	x8
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.1:
Lloh7:
	adrp	x8, _cfhead_Signature@GOTPAGE
Lloh8:
	ldr	x8, [x8, _cfhead_Signature@GOTPAGEOFF]
Lloh9:
	ldrsw	x8, [x8]
	add	x0, x23, x8, lsl #2
	bl	_EndGetI32
	mov	w8, #21325
	movk	w8, #17987, lsl #16
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.2:
Lloh10:
	adrp	x8, _cfhead_CabinetSize@GOTPAGE
Lloh11:
	ldr	x8, [x8, _cfhead_CabinetSize@GOTPAGEOFF]
Lloh12:
	ldrsw	x8, [x8]
	add	x24, sp, #16
	add	x0, x24, x8, lsl #2
	bl	_EndGetI32
	mov	x23, x0
Lloh13:
	adrp	x8, _cfhead_NumFolders@GOTPAGE
Lloh14:
	ldr	x8, [x8, _cfhead_NumFolders@GOTPAGEOFF]
Lloh15:
	ldrsw	x8, [x8]
	add	x0, x24, x8, lsl #2
	bl	_EndGetI16
	mov	x25, x0
Lloh16:
	adrp	x8, _cfhead_NumFiles@GOTPAGE
Lloh17:
	ldr	x8, [x8, _cfhead_NumFiles@GOTPAGEOFF]
Lloh18:
	ldrsw	x8, [x8]
	add	x0, x24, x8, lsl #2
	bl	_EndGetI16
	mov	x26, x0
Lloh19:
	adrp	x8, _cfhead_SetID@GOTPAGE
Lloh20:
	ldr	x8, [x8, _cfhead_SetID@GOTPAGEOFF]
Lloh21:
	ldrsw	x8, [x8]
	add	x0, x24, x8, lsl #2
	bl	_EndGetI16
	mov	x27, x0
Lloh22:
	adrp	x8, _cfhead_CabinetIndex@GOTPAGE
Lloh23:
	ldr	x8, [x8, _cfhead_CabinetIndex@GOTPAGEOFF]
Lloh24:
	ldrsw	x8, [x8]
	add	x0, x24, x8, lsl #2
	bl	_EndGetI16
Lloh25:
	adrp	x8, _cfhead_MajorVersion@GOTPAGE
Lloh26:
	ldr	x8, [x8, _cfhead_MajorVersion@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	ldr	w8, [x24, x8, lsl #2]
	cmp	w8, #1
	b.gt	LBB0_5
; %bb.3:
	b.ne	LBB0_13
; %bb.4:
Lloh28:
	adrp	x8, _cfhead_MinorVersion@GOTPAGE
Lloh29:
	ldr	x8, [x8, _cfhead_MinorVersion@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	add	x9, sp, #16
	ldr	w8, [x9, x8, lsl #2]
	cmp	w8, #4
	b.lt	LBB0_13
LBB0_5:
Lloh31:
	adrp	x0, l_.str.1@PAGE
Lloh32:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_WARN
	cbz	x22, LBB0_10
; %bb.6:
Lloh33:
	adrp	x8, _FDIERROR_UNKNOWN_CABINET_VERSION@GOTPAGE
Lloh34:
	ldr	x8, [x8, _FDIERROR_UNKNOWN_CABINET_VERSION@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	cbz	x22, LBB0_10
; %bb.8:
Lloh35:
	adrp	x8, _FDIERROR_NOT_A_CABINET@GOTPAGE
Lloh36:
	ldr	x8, [x8, _FDIERROR_NOT_A_CABINET@GOTPAGEOFF]
LBB0_9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_set_error
LBB0_10:
Lloh37:
	adrp	x8, _FALSE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldur	x8, [x29, #-96]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_48
; %bb.12:
	ldp	x29, x30, [sp, #368]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #352]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #336]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #320]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #304]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #384
	ret
LBB0_13:
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
Lloh42:
	adrp	x8, _cfhead_Flags@GOTPAGE
Lloh43:
	ldr	x8, [x8, _cfhead_Flags@GOTPAGEOFF]
Lloh44:
	ldrsw	x8, [x8]
	add	x9, sp, #16
	add	x0, x9, x8, lsl #2
	bl	_EndGetI16
	mov	x28, x0
Lloh45:
	adrp	x8, _cfheadRESERVE_PRESENT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _cfheadRESERVE_PRESENT@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_22
; %bb.14:
	str	w27, [sp]                       ; 4-byte Folded Spill
	mov	x27, x26
	mov	x26, x25
	ldr	x8, [x19]
Lloh48:
	adrp	x25, _cfheadext_SIZEOF@GOTPAGE
Lloh49:
	ldr	x25, [x25, _cfheadext_SIZEOF@GOTPAGEOFF]
	ldr	x2, [x25]
	add	x24, sp, #16
	add	x1, sp, #16
	mov	x0, x21
	blr	x8
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.15:
Lloh50:
	adrp	x8, _cfheadext_HeaderReserved@GOTPAGE
Lloh51:
	ldr	x8, [x8, _cfheadext_HeaderReserved@GOTPAGEOFF]
Lloh52:
	ldrsw	x8, [x8]
	add	x0, x24, x8, lsl #2
	bl	_EndGetI16
	mov	x24, x0
	cbz	x22, LBB0_17
; %bb.16:
Lloh53:
	adrp	x8, _cfheadext_FolderReserved@GOTPAGE
Lloh54:
	ldr	x8, [x8, _cfheadext_FolderReserved@GOTPAGEOFF]
	str	w24, [x22]
Lloh55:
	ldr	x8, [x8]
	add	x9, sp, #16
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [x22, #4]
Lloh56:
	adrp	x8, _cfheadext_DataReserved@GOTPAGE
Lloh57:
	ldr	x8, [x8, _cfheadext_DataReserved@GOTPAGEOFF]
Lloh58:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [x22, #8]
LBB0_17:
	mov	w8, #60001
	cmp	w24, w8
	mov	x25, x26
	b.lt	LBB0_20
; %bb.18:
Lloh59:
	adrp	x0, l_.str.3@PAGE
Lloh60:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_WARN
	mov	x26, x27
	ldr	w27, [sp]                       ; 4-byte Folded Reload
	b	LBB0_21
LBB0_19:
Lloh61:
	adrp	x0, l_.str.2@PAGE
Lloh62:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_ERR
	cbnz	x22, LBB0_47
	b	LBB0_10
LBB0_20:
	mov	x26, x27
	ldr	w27, [sp]                       ; 4-byte Folded Reload
	cbz	w24, LBB0_22
LBB0_21:
	ldr	x8, [x19, #8]
Lloh63:
	adrp	x9, _SEEK_CUR@GOTPAGE
Lloh64:
	ldr	x9, [x9, _SEEK_CUR@GOTPAGEOFF]
Lloh65:
	ldr	w2, [x9]
	mov	x0, x21
	mov	x1, x24
	blr	x8
	cmn	w0, #1
	b.eq	LBB0_34
LBB0_22:
Lloh66:
	adrp	x8, _cfheadPREV_CABINET@GOTPAGE
Lloh67:
	ldr	x8, [x8, _cfheadPREV_CABINET@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	tst	w8, w28
	b.eq	LBB0_27
; %bb.23:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_FDI_read_string
	cbz	x0, LBB0_33
; %bb.24:
	mov	x24, x0
	cbz	x22, LBB0_35
; %bb.25:
	str	x24, [x22, #16]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_FDI_read_string
	cbz	x0, LBB0_28
; %bb.26:
	str	x0, [x22, #24]
	b	LBB0_28
LBB0_27:
	mov	x24, #0
	mov	x0, #0
LBB0_28:
Lloh69:
	adrp	x8, _cfheadNEXT_CABINET@GOTPAGE
Lloh70:
	ldr	x8, [x8, _cfheadNEXT_CABINET@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	tst	w8, w28
	b.eq	LBB0_41
; %bb.29:
	cbz	x22, LBB0_38
; %bb.30:
	str	x0, [sp]                        ; 8-byte Folded Spill
Lloh72:
	adrp	x8, _TRUE@GOTPAGE
Lloh73:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	str	w8, [x22, #48]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_FDI_read_string
	cbz	x0, LBB0_42
; %bb.31:
	str	x0, [x22, #32]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_FDI_read_string
	cbz	x0, LBB0_41
; %bb.32:
	str	x0, [x22, #40]
	b	LBB0_41
LBB0_33:
	cbnz	x22, LBB0_47
	b	LBB0_10
LBB0_34:
Lloh75:
	adrp	x0, l_.str.4@PAGE
Lloh76:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_ERR
	cbnz	x22, LBB0_47
	b	LBB0_10
LBB0_35:
	ldr	x8, [x19, #16]
	mov	x0, x24
	blr	x8
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_FDI_read_string
	cbz	x0, LBB0_37
; %bb.36:
	ldr	x8, [x19, #16]
	blr	x8
LBB0_37:
Lloh77:
	adrp	x8, _cfheadNEXT_CABINET@GOTPAGE
Lloh78:
	ldr	x8, [x8, _cfheadNEXT_CABINET@GOTPAGEOFF]
Lloh79:
	ldr	w8, [x8]
	tst	w8, w28
	b.eq	LBB0_41
LBB0_38:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_FDI_read_string
	cbz	x0, LBB0_47
; %bb.39:
	ldr	x8, [x19, #16]
	blr	x8
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_FDI_read_string
	cbz	x0, LBB0_41
; %bb.40:
	ldr	x8, [x19, #16]
	blr	x8
LBB0_41:
	stp	w23, w25, [x20]
	stp	w26, w27, [x20, #8]
Lloh80:
	adrp	x8, _cfheadRESERVE_PRESENT@GOTPAGE
Lloh81:
	ldr	x8, [x8, _cfheadRESERVE_PRESENT@GOTPAGEOFF]
Lloh82:
	ldr	w8, [x8]
	tst	w8, w28
	cset	w8, ne
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	stp	w9, w8, [x20, #16]
Lloh83:
	adrp	x8, _cfheadPREV_CABINET@GOTPAGE
Lloh84:
	ldr	x8, [x8, _cfheadPREV_CABINET@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	tst	w8, w28
	cset	w8, ne
Lloh86:
	adrp	x9, _cfheadNEXT_CABINET@GOTPAGE
Lloh87:
	ldr	x9, [x9, _cfheadNEXT_CABINET@GOTPAGEOFF]
Lloh88:
	ldr	w9, [x9]
	tst	w9, w28
	cset	w9, ne
	stp	w8, w9, [x20, #24]
Lloh89:
	adrp	x8, _TRUE@GOTPAGE
Lloh90:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_11
LBB0_42:
Lloh91:
	adrp	x8, _cfheadPREV_CABINET@GOTPAGE
Lloh92:
	ldr	x8, [x8, _cfheadPREV_CABINET@GOTPAGEOFF]
Lloh93:
	ldr	w8, [x8]
	tst	w8, w28
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	b.eq	LBB0_47
; %bb.43:
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_45
; %bb.44:
	ldr	x8, [x19, #16]
	mov	x0, x24
	blr	x8
	ldr	x0, [sp]                        ; 8-byte Folded Reload
LBB0_45:
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_47
; %bb.46:
	ldr	x8, [x19, #16]
	blr	x8
LBB0_47:
Lloh94:
	adrp	x8, _FDIERROR_CORRUPT_CABINET@GOTPAGE
Lloh95:
	ldr	x8, [x8, _FDIERROR_CORRUPT_CABINET@GOTPAGEOFF]
	b	LBB0_9
LBB0_48:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh94, Lloh95
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(fdi == ^%p, hf == %ld, pfdici == ^%p)\n"

	.comm	_cfhead_SIZEOF,8,3              ; @cfhead_SIZEOF
	.comm	_FDIERROR_NOT_A_CABINET,4,2     ; @FDIERROR_NOT_A_CABINET
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_cfhead_Signature,4,2           ; @cfhead_Signature
	.comm	_cfhead_CabinetSize,4,2         ; @cfhead_CabinetSize
	.comm	_cfhead_NumFolders,4,2          ; @cfhead_NumFolders
	.comm	_cfhead_NumFiles,4,2            ; @cfhead_NumFiles
	.comm	_cfhead_SetID,4,2               ; @cfhead_SetID
	.comm	_cfhead_CabinetIndex,4,2        ; @cfhead_CabinetIndex
	.comm	_cfhead_MajorVersion,8,3        ; @cfhead_MajorVersion
	.comm	_cfhead_MinorVersion,8,3        ; @cfhead_MinorVersion
l_.str.1:                               ; @.str.1
	.asciz	"cabinet format version > 1.3\n"

	.comm	_FDIERROR_UNKNOWN_CABINET_VERSION,4,2 ; @FDIERROR_UNKNOWN_CABINET_VERSION
	.comm	_cfhead_Flags,4,2               ; @cfhead_Flags
	.comm	_cfheadRESERVE_PRESENT,4,2      ; @cfheadRESERVE_PRESENT
	.comm	_cfheadext_SIZEOF,8,3           ; @cfheadext_SIZEOF
l_.str.2:                               ; @.str.2
	.asciz	"bunk reserve-sizes?\n"

	.comm	_FDIERROR_CORRUPT_CABINET,4,2   ; @FDIERROR_CORRUPT_CABINET
	.comm	_cfheadext_HeaderReserved,4,2   ; @cfheadext_HeaderReserved
	.comm	_cfheadext_FolderReserved,8,3   ; @cfheadext_FolderReserved
	.comm	_cfheadext_DataReserved,8,3     ; @cfheadext_DataReserved
l_.str.3:                               ; @.str.3
	.asciz	"WARNING; header reserved space > 60000\n"

	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
l_.str.4:                               ; @.str.4
	.asciz	"seek failure: header_resv\n"

	.comm	_cfheadPREV_CABINET,4,2         ; @cfheadPREV_CABINET
	.comm	_cfheadNEXT_CABINET,4,2         ; @cfheadNEXT_CABINET
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_FDI_read_entries
.subsections_via_symbols
