	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_ieot_extension
_read_ieot_extension:                   ## @read_ieot_extension
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.1:
	movq	%rdx, %rbx
	movq	%rsi, %r13
	addq	$-8, %r13
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r13, %rcx
	subq	(%rax), %rcx
	cmpq	%rdx, %rcx
	jb	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %r15
	leaq	(%rax,%rbx), %r14
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_get_be32
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_CACHE_EXT
	movq	_CACHE_EXT_INDEXENTRYOFFSETTABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%r12, %rbx
	addq	$8, %rbx
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r13, %rcx
	subq	(%rax), %rcx
	cmpq	%rcx, %rbx
	jbe	LBB0_3
	jmp	LBB0_6
LBB0_8:
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_get_be32
	movq	_IEOT_VERSION@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_13
## %bb.9:
	movabsq	$68719476728, %rax              ## imm = 0xFFFFFFFF8
	addq	%rax, %r12
	shrq	$4, %r12
	testl	%r12d, %r12d
	je	LBB0_14
## %bb.10:
	leal	16(,%r12,4), %edi
	callq	_xmalloc
	movq	%rax, %r13
	movl	%r12d, (%rax)
	testl	%r12d, %r12d
	jle	LBB0_7
## %bb.11:
	movl	%r12d, %r14d
	shlq	$4, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %r15
	addq	$16, %r15
	leaq	(%rax,%rbx), %r12
	addq	$24, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	leaq	(%r15,%rbx), %rdi
	callq	_get_be32
	movq	8(%r13), %rcx
	movq	%rax, 8(%rcx,%rbx)
	leaq	(%r12,%rbx), %rdi
	callq	_get_be32
	movq	8(%r13), %rcx
	movq	%rax, (%rcx,%rbx)
	addq	$16, %rbx
	cmpq	%rbx, %r14
	jne	LBB0_12
	jmp	LBB0_7
LBB0_13:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_error
LBB0_6:
	xorl	%r13d, %r13d
LBB0_7:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	callq	_error
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.comm	_CACHE_EXT_INDEXENTRYOFFSETTABLE,8,3 ## @CACHE_EXT_INDEXENTRYOFFSETTABLE
	.comm	_IEOT_VERSION,8,3               ## @IEOT_VERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid IEOT version %d"

L_.str.1:                               ## @.str.1
	.asciz	"invalid number of IEOT entries %d"

	.no_dead_strip	_read_ieot_extension
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_ieot_extension
_read_ieot_extension:                   ; @read_ieot_extension
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x2, LBB0_13
; %bb.1:
	mov	x19, x2
	sub	x24, x1, #8
Lloh0:
	adrp	x25, _the_hash_algo@GOTPAGE
Lloh1:
	ldr	x25, [x25, _the_hash_algo@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x8, [x8]
	sub	x8, x24, x8
	cmp	x8, x2
	b.lo	LBB0_13
; %bb.2:
	mov	x20, x0
Lloh2:
	adrp	x26, _CACHE_EXT_INDEXENTRYOFFSETTABLE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _CACHE_EXT_INDEXENTRYOFFSETTABLE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x23, x20, x19
	add	x22, x23, #4
	mov	x0, x22
	bl	_get_be32
	mov	x21, x0
	mov	x0, x23
	bl	_CACHE_EXT
	ldr	x8, [x26]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x19, x21
	add	x19, x8, #8
	ldr	x8, [x25]
	ldr	x8, [x8]
	sub	x8, x24, x8
	cmp	x19, x8
	b.ls	LBB0_3
	b	LBB0_13
LBB0_5:
	add	x0, x22, #4
	bl	_get_be32
Lloh4:
	adrp	x8, _IEOT_VERSION@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IEOT_VERSION@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_10
; %bb.6:
	mov	x8, #68719476728
	add	x23, x21, x8
	lsr	x22, x23, #4
	cbz	w22, LBB0_11
; %bb.7:
	lsl	w8, w22, #2
	add	w0, w8, #16
	bl	_xmalloc
	mov	x21, x0
	str	w22, [x0]
	cmp	w22, #1
	b.lt	LBB0_14
; %bb.8:
	mov	x22, #0
	ubfx	x8, x23, #4, #32
	lsl	x23, x8, #4
	add	x19, x20, x19
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x20, x19, x22
	add	x0, x20, #16
	bl	_get_be32
	ldr	x8, [x21, #8]
	add	x8, x8, x22
	str	x0, [x8, #8]
	add	x0, x20, #24
	bl	_get_be32
	ldr	x8, [x21, #8]
	str	x0, [x8, x22]
	add	x22, x22, #16
	cmp	x23, x22
	b.ne	LBB0_9
	b	LBB0_14
LBB0_10:
	mov	x1, x0
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	b	LBB0_12
LBB0_11:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #0
LBB0_12:
	bl	_error
LBB0_13:
	mov	x21, #0
LBB0_14:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.comm	_CACHE_EXT_INDEXENTRYOFFSETTABLE,8,3 ; @CACHE_EXT_INDEXENTRYOFFSETTABLE
	.comm	_IEOT_VERSION,8,3               ; @IEOT_VERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid IEOT version %d"

l_.str.1:                               ; @.str.1
	.asciz	"invalid number of IEOT entries %d"

	.no_dead_strip	_read_ieot_extension
.subsections_via_symbols
