	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function simple_read_overlay_table
_simple_read_overlay_table:             ## @simple_read_overlay_table
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_simple_free_overlay_table
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_lookup_minimal_symbol
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_lookup_minimal_symbol
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_SYMBOL_VALUE_ADDRESS
	movl	%eax, %edi
	movl	$4, %esi
	callq	_read_memory_integer
	movq	_cache_novlys@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	movl	%eax, %edi
	callq	_xmalloc
	movq	_cache_ovly_table@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_SYMBOL_VALUE_ADDRESS
	movq	_cache_ovly_table_base@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%rbx), %rsi
	movl	(%r15), %edx
	shll	$2, %edx
	movl	%eax, %edi
	callq	_read_target_long_array
	movl	$1, %r15d
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
LBB0_5:
	callq	_error
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_novlys"

L_.str.1:                               ## @.str.1
	.asciz	"Error reading inferior's overlay table: couldn't find `_novlys' variable\nin inferior.  Use `overlay manual' mode."

L_.str.2:                               ## @.str.2
	.asciz	"_ovly_table"

L_.str.3:                               ## @.str.3
	.asciz	"Error reading inferior's overlay table: couldn't find `_ovly_table' array\nin inferior.  Use `overlay manual' mode."

	.comm	_cache_novlys,4,2               ## @cache_novlys
	.comm	_cache_ovly_table,8,3           ## @cache_ovly_table
	.comm	_cache_ovly_table_base,4,2      ## @cache_ovly_table_base
	.no_dead_strip	_simple_read_overlay_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function simple_read_overlay_table
_simple_read_overlay_table:             ; @simple_read_overlay_table
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_simple_free_overlay_table
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, #0
	mov	x2, #0
	bl	_lookup_minimal_symbol
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, #0
	mov	x2, #0
	bl	_lookup_minimal_symbol
	cbz	x0, LBB0_4
; %bb.2:
	mov	x19, x0
	mov	x0, x20
	bl	_SYMBOL_VALUE_ADDRESS
	mov	w1, #4
	bl	_read_memory_integer
Lloh4:
	adrp	x20, _cache_novlys@GOTPAGE
Lloh5:
	ldr	x20, [x20, _cache_novlys@GOTPAGEOFF]
	str	w0, [x20]
	bl	_xmalloc
Lloh6:
	adrp	x21, _cache_ovly_table@GOTPAGE
Lloh7:
	ldr	x21, [x21, _cache_ovly_table@GOTPAGEOFF]
	str	x0, [x21]
	mov	x0, x19
	bl	_SYMBOL_VALUE_ADDRESS
Lloh8:
	adrp	x8, _cache_ovly_table_base@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cache_ovly_table_base@GOTPAGEOFF]
Lloh10:
	str	w0, [x8]
	ldr	x1, [x21]
	ldr	w8, [x20]
	lsl	w2, w8, #2
	bl	_read_target_long_array
	mov	w0, #1
	b	LBB0_6
LBB0_3:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_5:
	bl	_error
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_novlys"

l_.str.1:                               ; @.str.1
	.asciz	"Error reading inferior's overlay table: couldn't find `_novlys' variable\nin inferior.  Use `overlay manual' mode."

l_.str.2:                               ; @.str.2
	.asciz	"_ovly_table"

l_.str.3:                               ; @.str.3
	.asciz	"Error reading inferior's overlay table: couldn't find `_ovly_table' array\nin inferior.  Use `overlay manual' mode."

	.comm	_cache_novlys,4,2               ; @cache_novlys
	.comm	_cache_ovly_table,8,3           ; @cache_ovly_table
	.comm	_cache_ovly_table_base,4,2      ; @cache_ovly_table_base
	.no_dead_strip	_simple_read_overlay_table
.subsections_via_symbols
